A kind of control device that is used for lighting device
Technical field
The utility model has related to a kind of control device that is used for lighting device.
Background technology
In the lighting technology in modern times, often use the method for the many groups of parallel connection light fixture to improve illumination efficiency.Another advantage of this method is that even one group of light fixture in the lighting device breaks down, other light fixtures in the lighting device also still can work on, thereby guarantee certain illuminating effect.Yet under the situation that at least one group of light fixture can't be worked, will inevitably cause the efficient of entire lighting device to reduce, that is to say that lighting device can't satisfy normal lighting requirement.This situation does not hope to take place in the higher applied environment of for example medical illumination or other illumination effect requirements very much.
The utility model content
Therefore the purpose of the utility model is, proposes a kind of novel control device.Discern when this control device can one group of light fixture therein breaks down and guarantee to obtain constant illuminating effect.
The control device that is used for lighting device according to the utility model comprises a plurality of load group that are connected in parallel with each other; Wherein control device comprises: microcontroller and driver; Driver is supplied with drive current according to first control signal of microcontroller to load group; Wherein control device also comprises on off operating mode that detects each load group and the detector that produces a plurality of detection signals that are respectively applied for corresponding load group, and microcontroller receives a plurality of detection signals respectively and exports with respect to first control signal, second control signal constant or that change according to a plurality of detection signals.
The design of the utility model is; Constant for the output illuminating effect that guarantees entire lighting device, promptly the power output of throwing light on is constant; Operating state to each load group detects; Confirm the break-make situation of each load group, offer the drive current of lighting device according to detection case adjustment, so that compensate owing to load group is broken off the brightness reduction that causes through microcontroller.
In the preferred design according to of the utility model, second control signal is based on a plurality of detection signals and unique control signal of drawing.The control signal that calculates according to each detection signal can be used for entire lighting device is driven.
Preferably, driver comprises a plurality of driver elements corresponding respectively with each load group.Except utilizing a total driver to drive each respectively the load group, also can design by a plurality of and form driver with the corresponding respectively driver element of each load group.
According to a preferred embodiment of the utility model, first control signal is sequentially exported to each driver element.First control signal is transferred to first, second successively until N driver element, is used for realizing each load group is detected successively.And microcontroller for example can receive the detection signal of the operating state that depends on each load group respectively.
According to another preferred embodiment of the utility model, first control signal is exported to each driver element simultaneously.First control signal is transferred to first, second simultaneously until N driver element, is used for realizing each load group is detected simultaneously.And microcontroller for example can receive the detection signal of the operating state that depends on each load group simultaneously.
In a preferred design according to the utility model, microcontroller is the second fixing control signal of output duty cycle when all load group all is in on-state; Second control signal that output duty cycle increased when microcontroller was in disconnection at least one load group.Wherein " duty ratio increase " " duty ratio is fixed " is for first control signal.A plurality of detection signals from each load group that microcontroller receives, these detection signals possibly be that high level also possibly be low level signal.Adjust and control for illumination apparatus, these detection signals are handled, finally to second unique control signal of each driver output in microcontroller inside.Microcontroller detects the operating state of each load group thus, and can the illuminating effect of entire lighting device be compensated.When for example the one or more load group in lighting device break down, realize this compensation through improving all the other drive currents that are in the load group of on-state.
In a preferred design based on the utility model, load group serial connection sampling resistor separately produces sampled signal separately.
In preferably designing according to another of the utility model; Detector comprises a plurality of comparing units; The forward end of each comparing unit is connected between sampling resistor and the load group with the input sample signal; The backward end input reference voltage of each comparing unit, each comparing unit is exported the conduct output signal of detection signal separately according to sampled signal and reference voltage.Can select the reference voltage that is fit to according to different application environments.
In preferably designing according to another of the utility model; When the respective load group is in on-state; Comparing unit output high level signal is as detection signal, and when the respective load group was in off-state, comparing unit output low level signal was as detection signal.Like this can be simply and judge the on off operating mode of respective load group exactly, control thereby be convenient to the microcontroller illumination apparatus.
In preferably designing according to another of the utility model, detector is the OR circuit unit.According to the function that can realize, also can introduce " OR circuit unit " and replace comparing unit.
Preferably; An input of low level reference voltage input OR circuit unit; Another input of each OR circuit unit is connected between sampling resistor and the load group with the input sample signal, each OR circuit unit according to sampled signal and the output of low level reference voltage as the output signal of detection signal separately.
In preferably designing according to another of the utility model, detector is the AND circuit unit.
Preferably; An input of high level reference voltage input AND circuit unit; Another input of each AND circuit unit is connected between sampling resistor and the load group with the input sample signal, each AND circuit unit according to sampled signal and the output of high level reference voltage as the output signal of detection signal separately.
In preferably designing according to another of the utility model, load group is to be one another in series together LED lamp.Through regulating the current strength of driving LED lamp, can change the brightness of LED lamp.
Should be appreciated that above generality is described and following detailed description is all enumerated and illustrative, purpose is in order to the utility model that requires to protect further explanation to be provided.
Description of drawings
Accompanying drawing constitutes the part of this specification, is used to help further understand the utility model.These accompanying drawing diagrams the embodiment of the utility model, and be used for explaining the principle of the utility model with specification.Identical in the accompanying drawings parts are represented with identical label.Shown in the figure:
Fig. 1 is first embodiment according to the control device of the utility model;
Fig. 2 is second embodiment according to the control device of the utility model;
Fig. 3 is the 3rd embodiment according to the control device of the utility model;
Fig. 4 a and Fig. 4 b are according to first control signal of the control device of the utility model and the relation between the detection signal.
Embodiment
Control device according to the utility model comprises microcontroller 1, driver 2, lighting device 3, sampling resistor R and detector 4.Wherein lighting device 3 comprises the identical load group R_led1 of a plurality of power that are connected in parallel to each other ... R_ledN, for example R_led1, R_led2.Driver 2 can be designed as total driver that can drive whole load group, also can by with each load group R_led1 ... a plurality of one to one driver elements 2 of R_ledN
1... 2
NForm, for example be used for first driver element 2 of the first load group R_led1
1, be used for second driver element 2 of the second load group R_led2
2By means of after be connected to each load group R_led1 ... the sampling resistor R_1 of R_ledN ... it is voltage signal that R_N carries out sample conversion to electric current, be used for load group R_led1 ... the operating state of R_ledN detects.A plurality of mutually the same sampling resistor R_1 ... R_N and a plurality of mutually the same detecting unit 4 of forming detector 4
1... 4
NOr 4 '
1... 4 '
N(referring to Fig. 2) is designed to and each load group R_led1 equally ... R_ledN is respectively corresponding, i.e. the first sampling load R_1 and first comparing unit 4 for example
1Between be corresponding, and N sampling load R_N and N comparing unit 4
NBetween be corresponding.
First embodiment according to the control device of the utility model has been shown among Fig. 1.In this embodiment, microcontroller 1 sequentially detects each load group R_led1 successively ... The operating state of R_ledN.In this embodiment, detecting unit is a comparator 4
1... 4
N, each comparator 4 wherein
1... 4
NAn end be connected to corresponding load group R_led1 ... R_ledN and sampling resistor R_1 ... between the R_N, so that obtain sampled signal S5
1... S5
NThis comparing unit 4
1... 4
NForward end pin+ input sample signal S5
1... S5
N, backward end pin-input is the reference voltage Vref of value as a reference.Detection signal S6 is by comparing unit 4
1... 4
NOutput export to microcontroller 1.
For example, first driver element 2 of microcontroller 1 in driver 2 at first
1, send the first control signal S1.First driver element 2
1According to the first control signal S1 is that the first load group R_led1 in the lighting device 3 provides the first drive current I_1.Obtain sampled signal S5 from the first sampling resistor R_1 that connects with the first load group R_led1
1, be sampled voltage.This sampled signal S5
1Be transferred to comparing unit 4
1, and compare with reference voltage Vref.
(this figure is applicable to each detection signal S6 in conjunction with the graph of a relation of first control signal S1 shown in Fig. 4 a and Fig. 4 b and detection signal S6
1... S6
N) can find out, for example, if the first load group R_led1 is in on-state, is operate as normal that comparing unit 4 so
1The first detection signal S6 to microcontroller 1 output high level
1If the first load group R_led1 is in off-state, promptly breaks down, comparing unit 4 so
1Detection signal S6 to microcontroller 1 output low level.Subsequently in an identical manner respectively to each load group R_led1 ... R_ledN detects successively.Microcontroller 1 is obtaining whole detection signal S6
1... S6
NAfterwards it is handled.If whole detection signal S6
1... S6
NBe high level, be each load group R_led1 ... the equal operate as normal of R_ledN, microcontroller 1 is to each driver element 2 so
1... 2
NOutput duty cycle is with respect to the constant second control signal S2 of the first control signal S1.On the contrary, if detection signal S6
1... S6
NIn have at least one for low level, be load group R_led1 ... at least one among the R_ledN breaks down, and microcontroller 1 is to each driver element 2 so
1... 2
NThe second control signal S2 that output duty cycle increases with respect to the first control signal S1.The degree that duty ratio increases depends on the load group R_led1 that is in malfunction in the lighting device 3 ... the number of R_ledN.
Put it briefly; At one or more load group R_led1 ... when R_ledN broke down, microcontroller 1 sent the load group R_led1 that the second drive signal S2 makes operate as normal; ... the corresponding rising of the power of R_ledN, so that keep the illuminating effect of entire lighting device 3 constant.For example the rated output power of lighting device 3 is 600 watts, and this lighting device 3 comprises six groups of identical load group R_led1 ... R_ledN (at this N=6).If wherein one group of load group R_led1 breaks down; Microcontroller 1 should be controlled remaining five load group R_led2 so; ... R_ledN carries out work with 120 watts power respectively, can guarantee that thus entire lighting device 3 always carries out work with 600 watts power.
Second embodiment according to the control device of the utility model has been shown in Fig. 2.Be with the embodiment difference shown in Fig. 1; In this embodiment, microcontroller 1 adopts parallel mode to detect each load group R_led1 simultaneously ... the operating state of R_ledN; Then simultaneously to each load group R_led1; ... R_ledN sends the second control signal S2 constant or that change, so that keep or increase the load group R_led1 of ability operate as normal ... the power output of R_ledN.And in this embodiment, with OR circuit unit 4 '
1... 4 '
NReplaced the comparing unit 4 among Fig. 1
1... 4
N
Microcontroller 1 each driver element 2 in driver 2 simultaneously at first
1... 2
NSend the first control signal S1.Each driver element 2
1... 2
NAccording to the first control signal S1 be in the lighting device 3 with its load group R_led1 one to one ... R_ledN provides identical drive current I_1 ... I_N.At this, respectively from each sampling resistor R_1 ... the last identical or different S5 of sampled signal that obtains of R_N
1... S5
N, be sampled voltage.These sampled signals S5
1... S5
NBe transferred to simultaneously each OR circuit unit 4 corresponding with it '
1... 4 '
NEach OR circuit unit 4 '
1... 4 '
NAn input be connected corresponding sampling resistor R_1 ... obtain corresponding sampled signal S5 between R N and the load group R_led1...R_ledN
1... S5
N, its other end input has low level reference voltage L.Each OR circuit unit 4 '
1... 4 '
NAccording to sampled signal S5
1... S5
NExport the conduct output signal S6 of detection signal separately with low level reference voltage L simultaneously to microcontroller 1
1... S6
N
Be similar to first embodiment, can find out, if whole detection signal S6 in conjunction with the signal relation figure of the first control signal S1 and detection signal S6 among Fig. 4 a and Fig. 4 b
1... S6
NBe high level, be each load group R_led1 ... the equal operate as normal of R_ledN, microcontroller 1 is to each driver element 2 so
1... 2
NOutput duty cycle is with respect to the constant second control signal S2 of the first control signal S1.On the contrary, if detection signal S6
1... S6
NIn have at least one for low level, be load group R_led1 ... at least one among the R_ledN breaks down, and microcontroller 1 is to each driver element 2 so
1... 2
NThe second control signal S2 that output duty cycle increases with respect to the first control signal S1.Can keep or increase the load group R_led1 of ability operate as normal in the ability lighting device 3 thus ... the power output of R_ledN.
The 3rd embodiment according to the control device of the utility model has been shown in Fig. 3.Be with the embodiment difference shown in Fig. 2, in this embodiment, with AND circuit unit 4 "
1... 4 "
NReplaced the OR circuit unit 4 among Fig. 2 '
1... 4 '
N
High level reference voltage H input AND circuit unit 4 "
1... 4 "
NAn input, each AND circuit unit 4 "
1... 4 "
NAnother input be connected sampling resistor R_1 ... R_N and load group R_led1 ... between the R_ledN with input sample signal S5
1... S5
N, each AND circuit unit 4 "
1... 4 "
NAccording to sampled signal S5
1... S5
NExport the conduct output signal S6 of detection signal separately with high level reference voltage H
1... S6
N
According in this specification, related control signal all can occur with the PWM waveshape.And at the comparing unit 4 shown in Fig. 1, Fig. 2 and Fig. 3
1... 4
N, OR circuit unit 4 '
1... 4 '
NWith AND circuit unit 4 "
1... 4 "
NCan replace each other.
More than be merely the preferred embodiment of the utility model, be not limited to the utility model, for a person skilled in the art, the utility model can have various changes and variation.Any modification of being done within all spirit and principles at the utility model, be equal to replacement, improvement etc., all should be included within the protection range of the utility model.
Label list
1 microcontroller
2 drivers
21 first driver elements
22 second driver elements
2N N driver element
3 lighting devices
4 detectors
41 first comparing units
4N N comparing unit
4 ' 1 first OR circuit unit
4 ' N N OR circuit unit
4 " 1 first AND circuit unit
4 " N N AND circuit unit
The high level reference voltage of H AND circuit unit
I_1 first drive current
I_N N drive current
The low level reference voltage of L OR circuit unit
The forward end of pin+ comparing unit
The backward end of pin-comparing unit
R_led1 first load group
R_led2 second load group
R_ledN N load group
R_1 first sampling resistor
R_N N sampling resistor
S1 first control signal
S2 second control signal
S51 first sampled signal
S5N N sampled signal
The S6 detection signal
S61 first detection signal
S62 second detection signal
S6N N detection signal
The reference voltage of Vref comparing unit