CN105682295B - Led control circuit - Google Patents
Led control circuit Download PDFInfo
- Publication number
- CN105682295B CN105682295B CN201610159996.XA CN201610159996A CN105682295B CN 105682295 B CN105682295 B CN 105682295B CN 201610159996 A CN201610159996 A CN 201610159996A CN 105682295 B CN105682295 B CN 105682295B
- Authority
- CN
- China
- Prior art keywords
- pwm signal
- signal
- output end
- switch circuit
- timing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
A kind of LED control circuit, including:Controller, first switch circuit and second switch circuit, wherein:The controller, suitable for when receiving colour temperature Regulate signal, corresponding target color temperature value is calculated according to the colour temperature Regulate signal, the first pwm signal with the target color temperature value duty ratio corresponding is exported by the first pwm signal output end, second pwm signal is exported by the second pwm signal output end, and first pwm signal and second pwm signal are complementary;The first switch circuit, is coupled with the first pwm signal output end and the control end of cold light LED array;The second switch circuit, is coupled with the second pwm signal output end and the control end of warm light LED array.Using the LED control circuit, it is possible to achieve the simplicity to LED colour temperatures is adjusted.
Description
Technical field
The present invention relates to field of LED illumination, more particularly to a kind of LED control circuit.
Background technology
Light emitting diode (Light Emitting Diode, LED) is excellent because of its energy-saving and environmental protection, light efficiency height, long lifespan etc.
Point, has " green energy resource " laudatory title, just progressively replaces conventional light source, the light source as a new generation.
With the progress and the raising of quality of the life of science, there are different demands to LED illumination effect in user.To realize
Secondary energy-saving, brightness of the user to LED is adjusted, and freely adjusts the bright-dark degree of light.To build different atmosphere, user
Colour temperature to LED is adjusted, personal settings light environment.
In the existing circuit for realizing the regulation of LED colour temperatures, the LED of two-way different-colour is generally included, passes through two differences
Pulse width modulation (Pulse Width Modulation, PWM) signal generating circuit produce two-way independence pwm signal,
And it is separately input to corresponding LED., it is necessary to the pwm signal of two-way independence be synchronized, synchronous mistake during colour temperature regulation
Need to be controlled using more complicated algorithm in journey.
The content of the invention
What the present invention was solved is how to realize the simplicity adjustment to LED colour temperatures.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of LED control circuit, including:Controller, first open
Powered-down road and second switch circuit, wherein:
The controller, suitable for when receiving colour temperature Regulate signal, calculating corresponding according to the colour temperature Regulate signal
Target color temperature value, the first pwm signal with the target color temperature value duty ratio corresponding is exported by the first pwm signal output end,
Second pwm signal is exported by the second pwm signal output end, and first pwm signal and second pwm signal are complementary;
The first switch circuit, is coupled with the first pwm signal output end and the control end of cold light LED array,
Suitable for the level according to first pwm signal, the first pwm signal output end and the company of the cold light LED array are controlled
Connect and be opened or closed;
The second switch circuit, is coupled with the second pwm signal output end and the control end of warm light LED array,
Suitable for the level according to second pwm signal, the second pwm signal output end and the company of the warm light LED array are controlled
Connect and be opened or closed.
Optionally, the LED control circuit also includes:
Timing switch circuit, be coupled in the controller and the first switch circuit and the second switch circuit it
Between, suitable for starting timing when receiving the timing signal that the controller is sent;And sent when receiving the controller
Switch controlling signal when, control between the first switch circuit and the first pwm signal output end, the second switch
Switch connection status between circuit and the second pwm signal output end, wherein, the switch controlling signal is cut-off signal
Or closure signal;
The controller is further adapted for:When receiving brightness regulated signal, the corresponding mesh of the brightness regulated signal is calculated
Brightness percentage is marked, the first duration and the second duration are calculated according to the object brightness percentage;When receiving interrupt signal
When, send the timing signal to the timing switch circuit;When detecting timing duration and reaching first duration, to institute
State timing switch circuit and send the cut-off signal, and send timing signal to the timing switch circuit again;When detecting
When reclocking duration reaches second duration, the closure signal is sent to the timing switch circuit.
Optionally, the timing switch circuit includes timer and two-way electronic switch, wherein:
The timer, is coupled with the timing signal output end of the controller, suitable for receiving during the timing signal
Start from scratch timing;
The two-way electronic switch, the first signal input part is coupled with the first pwm signal output end, and the first signal is defeated
Go out end to couple with the first switch circuit;Secondary signal input is coupled with the second pwm signal output end, secondary signal
Output end is coupled with the second switch circuit;The switch controlling signal of switch controlling signal input and the controller is exported
End coupling.
Optionally, the controller includes interrupt signal input, is inputted with the first signal of the two-way electronic switch
End coupling, the interrupt signal is the rising edge of first pwm signal.
Optionally, the controller is suitable to calculate the first duration T1 by formula T1=T × L/2, passes through formula T2
=T-2 × T1 calculates the second duration T2, wherein:T is the cycle of first pwm signal, and L is the object brightness percentage
Than.
Optionally, the first switch circuit is NMOS tube structure, and first pwm signal of its grid and the controller is defeated
Go out end coupling, source electrode is coupled with ground, the control end of grid and the cold light LED array is coupled, suitable for when first pwm signal
Level be high level when turn on.
Optionally, the second switch circuit is NMOS tube structure, and second pwm signal of its grid and the controller is defeated
Go out end coupling, source electrode is coupled with ground, the control end of grid and the warm light LED array is coupled, suitable for when second pwm signal
Level be high level when turn on.
Compared with prior art, the technical scheme of the embodiment of the present invention has the advantages that:
When controller receives colour temperature Regulate signal, calculate the corresponding target color temperature value of colour temperature Regulate signal, and export with
Corresponding first pwm signal of target color temperature value and the second pwm signal, and the first pwm signal and the second pwm signal are complementary.By
In under any circumstance, the first pwm signal is complementary with the second pwm signal, and saltus step occurs for the level of pwm signal all the way wherein
When, saltus step can also occur for the level of another road pwm signal, i.e., the two level jumping moment it is identical, therefore without again by first
Pwm signal is synchronous with the second pwm signal, therefore can realize the simplicity adjustment to LED colour temperatures.
Further, controlled by two-way electronic switch between the first pwm signal output end and first switch circuit, second
Connection between pwm signal output end and second switch circuit is opened or closed, can be to being input to the of first switch circuit
The high level pulse time of second pwm signal of one pwm signal and second switch circuit is adjusted, so as to cold light
The fluorescent lifetime of LED array and warm light LED array is adjusted, and realizes the brightness regulation to LED.
In addition, within a pwm signal cycle, when a length of first duration T1 that two-way electronic switch is first closed breaks afterwards
In the when a length of second duration T2 opened, remaining duration T3, two-way electronic switch be in closure state, T3=T-T1-T2=T ×
L/2=T1, namely within a pwm signal cycle, the duration that two-way electronic switch is closed twice is equal.That is, one
In the individual pwm signal cycle, the dutycycle of the first pwm signal is equal with the dutycycle of the second pwm signal, so may be implemented in color
In the case that temperature is constant, LED brightness regulation is realized.
Brief description of the drawings
Fig. 1 is a kind of structural representation of LED control circuit in the embodiment of the present invention;
Fig. 2 is the ripple of corresponding first pwm signal of a kind of different-colour in the embodiment of the present invention and the second pwm signal
Shape figure;
Fig. 3 is the structural representation of another LED control circuit in the embodiment of the present invention;
Fig. 4 is the waveform of the first pwm signal and the second pwm signal before the carry out brightness regulation in one embodiment of the invention
Figure;
Fig. 5 is the waveform of the first pwm signal and the second pwm signal after the carry out brightness regulation in one embodiment of the invention
Figure.
Embodiment
In existing LED colour temperature adjusts circuis, the LED of two-way different-colour is controlled by the pwm signal of two-way independence.Entering
, it is necessary to calculate each self-corresponding target duty ratio of two-way pwm signal respectively when row colour temperature is adjusted.Accounted in generation two-way correspondence target
After the pwm signal of empty ratio, two-way pwm signal is synchronized, so as to realize that colour temperature is adjusted.However, existing synchronizing process is needed
Two-way pwm signal is controlled using the algorithm more loaded.
In embodiments of the present invention, when controller receives colour temperature Regulate signal, the corresponding mesh of colour temperature Regulate signal is calculated
Mark color temperature value, and export corresponding with target color temperature value the first pwm signal and the second pwm signal, and the first pwm signal and the
Two pwm signals are complementary.Because under any circumstance, the first pwm signal is complementary with the second pwm signal, PWM believes all the way wherein
Number level when occurring saltus step, saltus step can also occur for the level of another road pwm signal, i.e., the two level jumping moment it is identical,
Therefore without again adjusting can realize synchronous with the second pwm signal of the first pwm signal to the simplicity of LED colour temperatures.
It is understandable to enable above-mentioned purpose, feature and beneficial effect of the invention to become apparent, below in conjunction with the accompanying drawings to this
The specific embodiment of invention is described in detail.
Reference picture 1, the embodiments of the invention provide a kind of LED control circuit, including:Controller 101, first switch circuit
102 and second switch circuit 103.
In specific implementation, controller 101, suitable for when receiving the colour temperature Regulate signal of input, being adjusted according to colour temperature
Signal of change obtains corresponding target color temperature value., can be according to target color temperature value, respectively after calculating obtains aim colour temperature value
Obtain the dutycycle of corresponding first pwm signal of target color temperature value and the dutycycle of the second pwm signal, the first pwm signal with
Second pwm signal is complementary.
In embodiments of the present invention, can be generated using complementary PWM signals generator complementation the first pwm signal and
Second pwm signal, wherein, complementary PWM signals generator can be built in controller 101.First pwm signal and the 2nd PWM
Signal complementation refers to:When first pwm signal is high level, the second pwm signal is low level;Conversely, the first pwm signal is low electricity
Usually, the second pwm signal is high level.
Controller 101 can include the first pwm signal output end P1 and the second pwm signal output end P2, pass through first
Pwm signal output end P1 exports the first pwm signal of target color temperature value duty ratio corresponding, passes through the second pwm signal output end P2
Export the second pwm signal of target color temperature value duty ratio corresponding.
In embodiments of the present invention, controller 101 can export the microcontroller of two-way pwm signal for single-chip microcomputer etc.
(Micro Controller Unit, MCU).
In actual applications, colour temperature Regulate signal can be triggered by user.Colour temperature regulation rotation is provided with LED lamp panel
Button, realizes that colour temperature is adjusted by rotating colour temperature adjusting knob.When user rotates colour temperature adjusting knob, you can triggering generation color
Warm Regulate signal is simultaneously input in controller 101.Controller 101 can include the input for receiving colour temperature Regulate signal (in Fig. 1
It is not shown).
For example, being shown on the colour temperature adjusting knob on user's rotating LED light fixture, the corresponding dial of colour temperature adjusting knob
" warm light ", " neutral light " and " cold light " three colour temperature options.User rotates colour temperature adjusting knob to " warm light " option, then gives birth to
Into colour temperature Regulate signal it is corresponding with " warm light " option.
In specific implementation, colour temperature Regulate signal can also be triggered by other control devices.
In embodiments of the present invention, first switch circuit 102 is arranged on the first pwm signal output end P1 and cold light LED
Between the control end of array 104, one end is coupled with the first pwm signal output end P1, the control of the other end and cold light LED array 104
End coupling processed.First switch circuit 102 can according to the level of the first pwm signal, the first pwm signal output end P1 of control with it is cold
Connection between the control end of light LED array 104 is opened or closed.
Analogously, second switch circuit 103 is arranged on the second pwm signal output end P2 and warm light LED array 105
Between control end, one end is coupled with the second pwm signal output end P2, and the control end of the other end and warm light LED array 105 is coupled.
Second switch circuit 103 can be according to the level of the second pwm signal, the second pwm signal output end P2 of control and warm light LED array
Connection between 105 control end is opened or closed.
In embodiments of the present invention, first switch circuit 102 can be NMOS tube structure.Correspondingly, second switch circuit
103 can also be NMOS tube structure.
Reference picture 1, in an embodiment of the present invention, first switch circuit 102 be NMOS tube N1, NMOS tube N1 grid with
First pwm signal output end P1 is coupled, and drain electrode and the control end of cold light LED array 104 are coupled, and source electrode is coupled with ground.When first
The level of pwm signal is turned on when being high level, is ended when the level of the first pwm signal is low level.When NMOS tube N1 conductings
When, the connection closure between the first pwm signal output end P1 and the control end of cold light LED array 104;Conversely, as NMOS tube N1
During cut-off, the connection between the first pwm signal output end P1 and the control end of cold light LED array 104 disconnects.
Second switch circuit 103 is NMOS tube N2, and its grid and the second pwm signal output end P2 are coupled, drain electrode and warm light
The control end coupling of LED array 105, source electrode is coupled with ground.Turned on when the level of the second pwm signal is high level, when second
The level of pwm signal ends when being low level.When NMOS tube N2 is turned on, the second pwm signal output end P2 and warm light LED array
Connection closure between 105 control end;Conversely, when NMOS tube N2 ends, the second pwm signal output end P2 and warm light LED
Connection between the control end of array 105 disconnects.
In other embodiments of the present invention, first switch circuit 102 and second switch circuit 103 can also use other
Circuit structure, as long as the company between the first pwm signal output end P1 and the control end of cold light LED array 104 can be controlled respectively
Connect, the connection between the control end of the second pwm signal output end P2 and warm light LED array 105 is opened or closed.
In embodiments of the present invention, LED control circuit can also be coupled with LED drive power 106.LED drive power 106
Electric current of the driving current output end respectively with the current input terminal of cold light LED array 104 and warm light LED array 105 input
End coupling, is suitable for cold light LED array 104 and warm light LED array 105 provides driving current.
In actual applications, cold light LED refers to that the colour temperature LED between 6000K~6500K, warm light LED refer to that colour temperature exists
LED between 3000K~4000K, wherein, K (Kelvin) is the unit of colour temperature.
The colour temperature Principles of Regulation of the LED control circuit to being provided in the above embodiment of the present invention are illustrated below.
First, the principle that colour temperature is adjusted is illustrated.Understand in actual applications, adjust the colour temperature of LED lamp, essence
Upper is exactly the dutycycle D1 for adjusting the pwm signal for being input to cold light LED array and the pwm signal for being input to warm light LED array
Dutycycle D2 proportionate relationship.Ratio between D1 and D2 is smaller, and the light that LED lamp is sent is warmed up more partially.On the contrary, D1 and D2
Between ratio it is bigger, the light that LED lamp is sent is more colder.
In embodiments of the present invention, the pwm signal for being input to cold light LED array 104 is the first pwm signal, is input to warm
The pwm signal of light LED array 105 is the second pwm signal.Because the first pwm signal and the second pwm signal are believed by complementary PWM
The generation of number generator, therefore only need to adjust the output duty cycle of complementary PWM signals generator, you can change the first PWM letters
Number dutycycle and the second pwm signal dutycycle between proportionate relationship.
Different colour temperatures can be directed to, the dutycycle of corresponding first pwm signal and the dutycycle of the second pwm signal are set
Between proportionate relationship.
In an embodiment is invented, the ratio for setting the dutycycle of the first pwm signal and the dutycycle of the second pwm signal is closed
It is for 1:When 3, namely the dutycycle of the first pwm signal is when being that the dutycycle of the 25%, second pwm signal is 75%, LED lamp hair
Go out warm light, corresponding color temperature value is 3500K;Set the ratio of the dutycycle of the first pwm signal and the dutycycle of the second pwm signal
Relation is 1:When 1, namely the dutycycle of the first pwm signal is when being that the dutycycle of the 50%, second pwm signal is 50%, LED lamp
Neutral light is sent, corresponding color temperature value is 5000K;Set the dutycycle of the first pwm signal and the dutycycle of the second pwm signal
Proportionate relationship is 3:When 1, namely the dutycycle of the first pwm signal is when being that the dutycycle of the 75%, second pwm signal is 25%, LED
Light fixture sends cold light, and corresponding color temperature value is 6500K.
Reference picture 2, gives in one embodiment of the invention, when LED lamp sends warm light, neutral light and cold light, and first
Pwm signal oscillogram and the second pwm signal oscillogram.
The mapping relations of the colour temperature of above-mentioned LED lamp and the ratio of pwm signal dutycycle can be stored in advance in controller
In 101.
Setting LED lamp currently sends neutral light.Colour temperature adjusting knob on user's rotating LED light fitting panel, by colour temperature
Adjusting knob rotates to " warm light " option, now, and colour temperature adjusting knob is triggered, and generates colour temperature Regulate signal.Controller 101 exists
Receive after colour temperature Regulate signal, calculating obtains the corresponding color temperature value of colour temperature Regulate signal for 3500K.
From above-mentioned default proportionate relationship, when color temperature value is 3500K, the dutycycle of the first pwm signal is 25%,
The dutycycle of second pwm signal is 75%.The pwm signal that dutycycle all the way is 25% is generated by complementary PWM signals generator
As the first pwm signal, exported by the first pwm signal output end P1 of controller 101;Complementary PWM signals generator is generated
Another road dutycycle for 75% pwm signal as the second pwm signal, pass through the second pwm signal output end of controller 101
P2 is exported.
It is that cold light LED array 104 and warm light LED array 105 provide driving current by LED drive power 106.
When the level of the first pwm signal is high level, the level of the second pwm signal is low level.Now, first switch
Circuit 102 is turned on, and the driving cold light LED of LED drive power 106 array 104 lights;Second switch circuit 103 ends, warm light LED
Array 105 does not light.
Correspondingly, when the level of the second pwm signal is high level, the level of the first pwm signal is low level.Now,
Second switch circuit 103 is turned on, and the driving warm light of LED drive power 106 LED array 105 lights;First switch circuit 102 ends,
Cold light LED array 104 does not light.
As can be seen here, in the embodiment of the present invention, color is carried out by using complementary the first pwm signal and the second pwm signal
Temperature regulation, because in any case, the first pwm signal is complementary with the second pwm signal, therefore need not be by the first pwm signal
Synchronized with the second pwm signal, so as to save synchronizing process, realize and the simplicity of LED colour temperatures is adjusted.
In actual applications, LED lamp send color temperature value it is constant in the case of, it is also possible to there is user to LED lamp
The demand that brightness is adjusted.For the demand, the embodiment of the present invention gives another LED control circuit, reference picture 3.
In embodiments of the present invention, can be in controller 101 and first switch circuit 102 and second switch circuit 103
Between, it is provided with timing switch circuit 107.
In actual applications, brightness regulated signal can be triggered by user.Brightness tune can be provided with LED lamp panel
Knob is saved, brightness regulation is realized by rotating brightness regulation knob.When user rotates brightness regulation knob, you can generation is bright
Degree Regulate signal is simultaneously input in controller 101.
In specific implementation, brightness regulated signal can also be triggered by other control devices or software.For example, in intelligence
APP (application) software of control LED lamp working condition is installed, user operates the APP softwares, choosing in mobile phone
Select the object brightness of the LED lamp.The APP Software Creates brightness regulated signal, and send to LED lamp, so as to realize
Brightness to LED lamp is adjusted.
Controller 101 can calculate the corresponding object brightness of brightness regulated signal when receiving brightness regulated signal
Percentage, and detect whether there is interrupt signal input in real time in interrupt signal input., can be with according to object brightness percentage
Calculate the first duration and the second duration.When having detected interrupt signal input, timing is sent to timing switch circuit 107
Signal.
Timing switch circuit 107 starts timing when receiving the timing signal of the transmission of controller 101.
When the timing duration that controller 101 detects timing switch circuit 107 reaches the first duration, to timing switch circuit
107 send cut-off signal, and send timing signal to timing switch circuit again.
When timing switch circuit 107 receives cut-off signal, control first switch circuit 102 and the first pwm signal are exported
Between the P1 of end, the connection between the pwm signal output end P2 of second switch circuit 103 and second disconnects.Timing switch circuit 107
Restart timing after the timing signal for receiving the transmission of controller 101.
When the timing duration that controller 101 detects the reclocking of timing switch circuit 107 reaches the second duration, to timing
On-off circuit 107 sends closure signal.
Timing switch circuit 107 is received after closure signal, by the pwm signal output end of first switch circuit 102 and first
Connection closure between P1, between the pwm signal output end P2 of second switch circuit 103 and second.
In an embodiment of the present invention, controller 101 calculates the first duration T1 and the second duration T2 according to equation below:
T1=T × L/2 (1)
T2=T-2 × T1 (2)
Wherein, T is the cycle of the first pwm signal, and L is object brightness percentage.
In an embodiment of the present invention, reference picture 3, timing switch circuit 107 can include timer 1071 and two-way
Electronic switch 1072.
The timing signal output end P3 of timer 1071 and controller 101 is coupled, when the meter for receiving the transmission of controller 101
When signal when start timing.It should be noted that being meter of starting from scratch when timer 1071 often receives a timing signal
When, rather than the cumulative timing of progress on the basis of upper once timing time.
Two-way electronic switch 1072, including the first signal input part 1, secondary signal input 2, the first signal output part 3,
Secondary signal output end 4 and switch controlling signal input 5, wherein:First signal input part 1 and the first of controller 101
Pwm signal output end P1 is coupled, and the first signal output part 3 is coupled with first switch circuit 102;Secondary signal input 2 and control
The second pwm signal output end P2 couplings of device 101 processed, secondary signal output end 4 is coupled with second switch circuit 103;Switch control
The switch controlling signal output end P4 of signal input part 5 processed and controller 101 is coupled.
Controller 101 controls two-way electronic switch by switch controlling signal output end P4 output switch control signals
1072, switch controlling signal includes cut-off signal and closure signal.
In embodiments of the present invention, the interrupt signal input P5 of controller 101 can be with two-way electronic switch 1072
First signal input part 1 is coupled, and interrupt signal input P5 inputs the first pwm signal.When the rising for detecting the first pwm signal
Along when, controller 101 judge detected interrupt signal input, to timer 1071 send timing signal.
The brightness regulation process of LED control circuit below by citing to being provided in Fig. 3 is illustrated.
First, the principle to brightness regulation is illustrated.
Understand in actual applications, adjust the brightness of LED lamp, be exactly substantially that regulation is input to cold light LED array 104
Pwm signal dutycycle and be input to warm light LED array 105 pwm signal dutycycle.The percentage of LED lamp brightness
Than the dutycycle sum that can regard two-way pwm signal as, that is to say, that the dutycycle sum of two-way pwm signal is bigger, LED
The brightness of light fixture is higher.
The frequency of the first pwm signal is set as 1KHz, i.e., a cycle of the first pwm signal when a length of 1ms, t0~t3 is
The a cycle of one the first pwm signal.Before brightness regulation is carried out, LED lamp sends neutral light, and object brightness percentage is
100%, the dutycycle of the first pwm signal is 50%, and the dutycycle of the second pwm signal is 50%, the first pwm signal and second
The oscillogram reference picture 4 of pwm signal.After the object brightness percentage of LED lamp is adjusted into 60%, the first pwm signal with
And second pwm signal oscillogram reference picture 5.
Brightness regulation knob on user's rotating LED light fixture, " 60% brightness " option is rotated to by brightness regulation knob, this
When, controller 101 receives brightness regulated signal, and it is 60% to know corresponding object brightness percentage.According to formula (1) and public affairs
Formula (2), calculating obtains a length of 0.3ms when first, a length of 0.4ms when second, and the first duration T1 is t0~t1, and the second duration T2 is
T1~t2.
Step 1, when controller 101 detects the rising edge of the first pwm signal, there is interrupt signal input in judgement, lead to
Cross timing signal output end P3 and export timing signal to timer 1071.Timer 1071 starts meter after timing signal is received
When.When timing duration not yet reaches 0.3ms, i.e., when not yet reaching moment t1, two-way electronic switch 1072 is in closure state,
I.e. between the first pwm signal output end P1 and first switch circuit 102, the second pwm signal output end P2 and second switch circuit
Closed between 103.
Step 2, controller 101 is when detecting timing duration and reaching 0.3ms, by switch controlling signal output end P4 to
Two-way electronic switch 1072 sends cut-off signal, and sends timing signal to timer 1071.Two-way electronic switch 1072 is connecing
Receive after cut-off signal, control the first pwm signal output end P1 and first switch circuit 102 between, the second pwm signal output end
Disconnected between P2 and second switch circuit 103.Timer 1071 is after timing signal is received, timing of starting from scratch again.
Step 3, controller 101 reaches the moment when the reclocking duration for detecting timer 1071 reaches 0.4ms
During t2, closure signal is sent to two-way electronic switch 1072.Two-way electronic switch 1072 is after closure signal is received, control the
Between one pwm signal output end P1 and first switch circuit 102, the second pwm signal output end P2 and second switch circuit 103 it
Between connection close.
Afterwards, controller 101 has detected whether interrupt signal input again again, when detecting interrupt signal, holds again
Row above-mentioned steps 1~3.
In Fig. 5, the dutycycle of the first pwm signal is 30%, and the high level pulse time is t0~t1;Second pwm signal
Dutycycle is 30%, and the high level pulse time is t2~t3, and proportionate relationship therebetween is still 1:1, therefore the color of LED lamp
Temperature does not change.Sum of the two is 60%, as object brightness percentage.
It is 50% in the dutycycle of the first pwm signal output end P1 the first pwm signals exported with reference to Fig. 4 and Fig. 5,
I.e. preceding 0.5ms is high level, is low level in rear 0.5ms;Correspondingly, the 2nd PWM letters of the second pwm signal output end P2 outputs
Number preceding 0.5ms be low level, rear 0.5ms be high level.
Disconnected in t1 moment two-ways electronic switch 1072, now the first pwm signal output end P1 and first switch circuit 102
Between connection disconnect, the high level pulse time for being substantially input to the first pwm signal of first switch circuit 102 is
0.3ms, namely the dutycycle of substantial the first pwm signal for being input to first switch circuit 102 is 30%, cold light LED array
104 fluorescent lifetime is 0.3ms rather than 0.5ms.
In t1~t2, two-way electronic switch 1072 is off.
Closed in t2 moment two-ways electronic switch 1072, now the second pwm signal output end P2 and second switch circuit 103
Between connection closure, the high level pulse time for being substantially input to the second pwm signal of second switch circuit 103 is
0.3ms, namely the dutycycle of substantial the second pwm signal for being input to second switch circuit 103 is 30%, warm light LED array
105 fluorescent lifetime is 0.3ms rather than 0.5ms.
That is, in embodiments of the present invention, the first pwm signal not generated to controller 101 actually with
And second the dutycycle of pwm signal be adjusted, but disconnection and closure by two-way electronic switch 1072, to adjust first
The high level pulse time being an actually-received on on-off circuit 102 and second switch circuit 103.
When carrying out brightness regulation, the first pwm signal and the second pwm signal of the first pwm signal output end P1 outputs
The dutycycle of second pwm signal of output end P2 outputs does not change all the time.What is changed is enter into first switch
The dutycycle of first pwm signal of circuit 102, and it is input to the dutycycle of the second pwm signal of second switch circuit 103.
The reason for changing is that the control two-way of controller 101 electronic switch 1072 disconnects so that be input to first switch circuit 102
The dutycycle of first pwm signal is less than the dutycycle for the first pwm signal that the first pwm signal output end P1 is exported, and is input to the
The dutycycle of second pwm signal of two on-off circuits 103 is less than the second pwm signal that the second pwm signal output end P2 is exported
Dutycycle.
As can be seen here, the first pwm signal output end P1 and first switch circuit 102 are controlled by two-way electronic switch 1072
Between, the connection between the second pwm signal output end P2 and second switch circuit 103 be opened or closed, can be to being input to
First pwm signal of one on-off circuit 102 and the high level pulse time of the pwm signal of second switch circuit 103 second are carried out
Adjustment, so as to be adjusted to the fluorescent lifetime of cold light LED array 104 and warm light LED array 105, so as to realize that brightness is adjusted
Section.
Within a pwm signal cycle, at the t1 moment, controller control two-way electronic switch disconnects;At t2 moment, control
Device control two-way electronic switch closure.First duration T1=T × L/2, the second duration T2=T-2 × T1, the first pwm signal cycle
In interior remaining duration T3, two-way electronic switch is in closure state, T3=T-T1-T2=T × L/2=T1, namely at one
In the pwm signal cycle, the duration that two-way electronic switch is closed twice is equal.That is, within a pwm signal cycle, the
The dutycycle of one pwm signal is equal with the dutycycle of the second pwm signal, so may be implemented in colour temperature it is constant in the case of, it is real
Existing brightness regulation.
It is understood that in actual applications, two-way electronic switch 1072 can also using controller internal circuit come
Realize, for example, being realized by the digital circuit inside controller chip.In other embodiments of the present invention, two-way electronic cutting
Closing 1072 can also be realized using other modes, as long as the first pwm signal output end P1 and first switch circuit 102 can be controlled
Between, between the second pwm signal output end P2 and second switch circuit 103 simultaneously switch off and close.
Although present disclosure is as above, the present invention is not limited to this.Any those skilled in the art, are not departing from this
In the spirit and scope of invention, it can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
The scope of restriction is defined.
Claims (6)
1. a kind of LED control circuit, it is characterised in that including:Controller, timing switch circuit, first switch circuit and
Two on-off circuits, wherein:
The controller, suitable for when receiving colour temperature Regulate signal, corresponding target is calculated according to the colour temperature Regulate signal
Color temperature value, exports the first pwm signal with the target color temperature value duty ratio corresponding by the first pwm signal output end, passes through
Second pwm signal output end exports the second pwm signal, and first pwm signal and second pwm signal are complementary;When connecing
When receiving brightness regulated signal, the corresponding object brightness percentage of the brightness regulated signal is calculated, according to the object brightness
Percentage calculates the first duration and the second duration;Upon receiving an interrupt signal, timing is sent to the timing switch circuit
Signal;When detecting timing duration and reaching first duration, cut-off signal is sent to the timing switch circuit, and again
Timing signal is sent to the timing switch circuit;When detecting reclocking duration and reaching second duration, to described
Timing switch circuit sends closure signal;
The timing switch circuit, be coupled in the controller and the first switch circuit and the second switch circuit it
Between, suitable for starting timing when receiving the timing signal that the controller is sent;And sent when receiving the controller
Switch controlling signal when, control between the first switch circuit and the first pwm signal output end, the second switch
Switch connection status between circuit and the second pwm signal output end, wherein, the switch controlling signal is cut-off signal
Or closure signal;
The first switch circuit, couples with the first pwm signal output end and the control end of cold light LED array, is suitable to
According to the level of first pwm signal, the first pwm signal output end and the connection of the cold light LED array is controlled to break
Open or close;
The second switch circuit, couples with the second pwm signal output end and the control end of warm light LED array, is suitable to
According to the level of second pwm signal, the second pwm signal output end and the connection of the warm light LED array is controlled to break
Open or close.
2. LED control circuit as claimed in claim 1, it is characterised in that the timing switch circuit include timer and
Two-way electronic switch, wherein:
The timer, is coupled with the timing signal output end of the controller, suitable for receiving during the timing signal from zero
Start timing;
The two-way electronic switch, the first signal input part is coupled with the first pwm signal output end, the first signal output part
Coupled with the first switch circuit;Secondary signal input is coupled with the second pwm signal output end, secondary signal output
End is coupled with the second switch circuit;The switch controlling signal output end coupling of switch controlling signal input and the controller
Connect.
3. LED control circuit as claimed in claim 2, it is characterised in that the controller includes interrupt signal input, with
The first signal input part coupling of the two-way electronic switch, the interrupt signal is the rising edge of first pwm signal.
4. the LED control circuit as described in any one of claims 1 to 3, it is characterised in that the controller is suitable to pass through formula
T1=T × L/2 calculates the first duration T1, and the second duration T2 is calculated by formula T2=T-2 × T1, wherein:T is institute
The cycle of the first pwm signal is stated, L is the object brightness percentage.
5. LED control circuit as claimed in claim 1, it is characterised in that the first switch circuit is NMOS tube structure, its
First pwm signal output end of grid and the controller is coupled, and source electrode is coupled with ground, grid and the cold light LED array
Control end is coupled, suitable for being turned on when the level of first pwm signal is high level.
6. LED control circuit as claimed in claim 1, it is characterised in that the second switch circuit is NMOS tube structure, its
Second pwm signal output end of grid and the controller is coupled, and source electrode is coupled with ground, grid and the warm light LED array
Control end is coupled, suitable for being turned on when the level of second pwm signal is high level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610159996.XA CN105682295B (en) | 2016-03-21 | 2016-03-21 | Led control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610159996.XA CN105682295B (en) | 2016-03-21 | 2016-03-21 | Led control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105682295A CN105682295A (en) | 2016-06-15 |
CN105682295B true CN105682295B (en) | 2017-07-28 |
Family
ID=56311124
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610159996.XA Active CN105682295B (en) | 2016-03-21 | 2016-03-21 | Led control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105682295B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106604448B (en) * | 2016-11-24 | 2018-11-30 | 江西美的贵雅照明有限公司 | A kind of light modulation toning control circuit and LED illumination product |
CN106658871A (en) * | 2017-02-28 | 2017-05-10 | 漳州立达信光电子科技有限公司 | Light emitting diode circuit with color temperature adjustment capability |
CN111770604B (en) * | 2019-03-29 | 2022-11-25 | 隆达电子股份有限公司 | Light emitting device and control method thereof |
CN110191549B (en) * | 2019-07-04 | 2021-03-09 | 浙江阳光美加照明有限公司 | LED (light emitting diode) accurate timing switch lamp and accurate timing drive circuit thereof |
CN110996454A (en) * | 2019-12-31 | 2020-04-10 | 珠海雷特科技股份有限公司 | Complementary PWM dimming method |
TWI754478B (en) * | 2020-06-10 | 2022-02-01 | 友達光電股份有限公司 | Pixel circuit |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583224A (en) * | 2009-06-10 | 2009-11-18 | 中兴通讯股份有限公司 | LCD back light modulation device and method thereof |
EP2555589A1 (en) * | 2011-08-02 | 2013-02-06 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling led driving circuit and apparatus and method for driving led |
CN104582189A (en) * | 2015-01-15 | 2015-04-29 | 魏泽科 | Intelligent light dimming and color adjusting LED isolation drive circuit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1782660B1 (en) * | 2004-08-12 | 2011-10-12 | Koninklijke Philips Electronics N.V. | Method and apparatus for scaling the average current supply to light-emitting elements |
-
2016
- 2016-03-21 CN CN201610159996.XA patent/CN105682295B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583224A (en) * | 2009-06-10 | 2009-11-18 | 中兴通讯股份有限公司 | LCD back light modulation device and method thereof |
EP2555589A1 (en) * | 2011-08-02 | 2013-02-06 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling led driving circuit and apparatus and method for driving led |
CN104582189A (en) * | 2015-01-15 | 2015-04-29 | 魏泽科 | Intelligent light dimming and color adjusting LED isolation drive circuit |
Also Published As
Publication number | Publication date |
---|---|
CN105682295A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105682295B (en) | Led control circuit | |
CN104812146B (en) | It is parallel to the radio controllable LED multi-path light modulation toning control method of current source | |
CN105025635B (en) | A kind of LED light modulations toning circuit temperature | |
WO2012055324A1 (en) | Switch dimmable led lamp | |
CN104470159A (en) | LED lighting system | |
CN205232499U (en) | LED lamp convenient to adjust luminance | |
CN103152916A (en) | Light-emitting diode (LED) lighting lamp with adjustable light and adjustable color temperature and control method thereof | |
CN106941740B (en) | A kind of method and apparatus of power switch control LED non-pole light regulating color-temperature regulating | |
CN104066237B (en) | A kind of LED driving method | |
CN105592587B (en) | The control method of LED | |
CN104159377A (en) | Wireless intelligent LED lighting system based on 2.4 GHz | |
CN106604454A (en) | Driving circuit and driving method of using switch to set LED luminance | |
CN104717806A (en) | Method for adjusting light and colors of LED lamp and light and color adjustable LED lamp system | |
CN110572895B (en) | Primary and secondary lighting device, control method of primary and secondary lighting device and intelligent lighting system | |
CN106211498B (en) | Light color control method of lighting device | |
CN104968102B (en) | A kind of light modulation color-temperature regulating LED lamp circuit and LED lamp | |
CN204836707U (en) | LED drive device that wireless control can adjust luminance and mix colours | |
CN203181289U (en) | Brightness-adjustable and color-temperature-adjustable LED illumination lamp | |
CN203240334U (en) | Intelligent light-adjusting LED (light-emitting diode) lamp | |
CN104411072B (en) | Led dimming system | |
CN206629305U (en) | Light modulation toning controller based on infrared induction and by key control | |
CN103634986A (en) | Multipath dimming device and dimming method thereof | |
CN209627746U (en) | The light modulation toning lamps and lanterns of intelligent control | |
CN203761617U (en) | Multipath light modulation apparatus | |
CN110493920A (en) | A kind of automatic control intelligent LED lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |