CN104582170B - A kind of control method of color temperature LED light source - Google Patents
A kind of control method of color temperature LED light source Download PDFInfo
- Publication number
- CN104582170B CN104582170B CN201410848205.5A CN201410848205A CN104582170B CN 104582170 B CN104582170 B CN 104582170B CN 201410848205 A CN201410848205 A CN 201410848205A CN 104582170 B CN104582170 B CN 104582170B
- Authority
- CN
- China
- Prior art keywords
- light source
- led light
- colour temperature
- microcontroller
- temperature led
- 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
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention relates to a kind of control method of color temperature LED light source, a kind of control method of color temperature LED light source is disclosed, including connecting power supply, setting original state, power-on, close power supply, reclocking, control colour temperature, cool colour temperature state and warm colour temperature state.A kind of control method of color temperature LED light source that the present invention is provided, rational in infrastructure, parameter of the number of times that is opened using on and off switch and disconnected as the LED light source conversion of two kinds of different-colours of control, the use of user is not only greatly facilitated, so that whole control circuit structure is simpler, writing for micro-controller program is more quick, so as to improve the using effect of color temperature LED light source, light-modulating mode is also additionally arranged simultaneously, LED light source is enabled in 10% 100% operated within range of rated power, LED light source is enabled to be applied to multiple occasions, substantially increase the using effect of color temperature LED.
Description
【Technical field】
The present invention relates to a kind of control method of color temperature LED light source.
【Background technology】
At present, LED flat lamp is widely used in various illumination occasions as a kind of lighting, due to different occasions not
There are different requirements, existing light modulation color-temperature regulating to mix using stagewise and two kinds of LED lamp bead colour temperatures to LED illumination colour temperature with client
Close, then add different electric currents to realize light modulation colour temperature by giving two kinds of LED lamp beads.But which still has the disadvantage in that:Complex structure, plus
Work complex steps, production cost are high, and are difficult in flat illuminating lamp.
【Content of the invention】
It is an object of the invention to overcoming above-mentioned the deficiencies in the prior art, there is provided a kind of controlling party of color temperature LED light source
Method, which aims to solve the problem that, and color temperature LED structure of the prior art is complicated, the technical problem that rate-determining steps are loaded down with trivial details.
For achieving the above object, the present invention proposes a kind of control method of color temperature LED light source, using with cool colour temperature
LED light source, warm colour temperature LED light source, alternating current power supply, on and off switch and be capable of the reverse of polarity microcontroller control circuit, its
Comprise the following steps that:
A) connect power supply:Using alternating current power supply as cool colour temperature LED light source and the driving power supply of warm colour temperature LED light source, and lead to
Cross the break-make that on and off switch controls whole control circuit;
B) original state is set:On and off switch is maintained at normally opened 0 state, microcontroller is set by single-chip microcomputer then
Control mode, completes the setting of original state;
C) circuit is assembled:Using alternating current power supply as microcontroller driving power supply, by cool colour temperature LED light source and warm colour temperature
LED light source is connected with the outfan of microcontroller, and on and off switch is connected with the input of microcontroller, and microcontroller starts
The current potential conversion of scan control circuit, and switching signal is calculated, now control circuit is open circuit, and switching signal is 0, and clock is believed
Number be 0, on-off times also be 0;
D) power-on:If on and off switch is closed so that control circuit is path, microcontroller scans current potential conversion
Switching signal is switched to 1 by signal, and on-off times add 1, is started timing, is gone to step G);
E) power supply is closed:If on and off switch disconnects so that control circuit is that open circuit, microcontroller scan current potential conversion
Switching signal is switched to 0 by signal, is retained original on-off times and clock signal, is gone to step G);
F) reclocking:When clock signal reaches T1 times, if switching signal now is 1, by on-off times
Reset with clock signal, and go to step D), if switching signal now is 0, go to step E);
G) colour temperature is controlled:When clock signal reaches T2 times, microcontroller is distinguished according to switching signal and on-off times
Different LED light sources are connected with alternating current power supply, if switching signal be 1, and on-off times be 1 when, go to step I), such as
Fruit switching signal be 1, and on-off times be 2 when, go to step J), if switching signal be 0, go to step E);If
Switching signal is 1, and on-off times are 3, go to step K);If switching signal is 1, and on-off times are 4, go to step
Rapid L);
I) cool colour temperature state:Microcontroller connection cool colour temperature LED light source and the path of alternating current power supply, and block warm colour temperature
LED light source and the path of alternating current power supply;
J) warm colour temperature state:Microcontroller connection warm colour temperature LED light source and the path of alternating current power supply, and block cool colour temperature
LED light source and the path of alternating current power supply;
K) align mode:Microcontroller blocks the path of cool colour temperature LED light source and warm colour temperature LED light source and alternating current power supply,
On-off times and clock signal are reset, calibration mode is entered, and is gone to step D upon completion of the calibration);
L) brightness adjustment:On-off times and clock signal are reset by microcontroller, enter light-modulating mode, control cool colour temperature
LED light source and the output of warm colour temperature LED light source path, and keep that output is former power 10%~30%, go to
Step D).
Preferably, step L) in light-modulating mode also comprise the following specific steps that:
L1) if the dim signal in microcontroller is 0, step L3 is gone to);
L2) if the dim signal in microcontroller is 1, step L4 is gone to);
L3 the dim signal in microcontroller is switched to 1), light-modulating mode is entered;
L4) light-modulating mode is closed, and the output for controlling cool colour temperature LED light source and warm colour temperature LED light source path just switchs to
Dim signal in microcontroller is switched to 0 by normal rated power.
Preferably, step F) in the T1 times be 5s~7s, step G) in the T2 times be 0.5s~1.5s.
Beneficial effects of the present invention:Compared with prior art, the controlling party of a kind of color temperature LED light source that the present invention is provided
Method, rational in infrastructure, using on and off switch open and disconnect number of times as control two kinds of different-colours LED light source conversion ginseng
Number, not only greatly facilitates the use of user, so that whole control circuit structure is simpler, micro-controller program
Write more quick, so as to improve the using effect of color temperature LED light source, while being also additionally arranged light-modulating mode so that LED
Light source can be in the 10%-100% operated within range of rated power so that LED light source can be applied to multiple occasions, carry significantly
The high using effect of color temperature LED.
The feature and advantage of the present invention will combine accompanying drawing by embodiment and be described in detail.
【Description of the drawings】
Fig. 1 is the schematic flow sheet of the embodiment of the present invention;
Fig. 2 is step L in the embodiment of the present invention) schematic flow sheet.
【Specific embodiment】
For making the object, technical solutions and advantages of the present invention of greater clarity, below by accompanying drawing and embodiment, right
The present invention is further elaborated.However, it should be understood that specific embodiment described herein is only in order to explaining this
Bright, it is not limited to the scope of the present invention.Additionally, in the following description, the description to known features and technology is eliminated, with
Avoid unnecessarily obscuring idea of the invention.
Fig. 1 is referred to, the embodiment of the present invention provides a kind of control method of color temperature LED light source, the control of color temperature LED light source
Method processed, adopts and there is cool colour temperature LED light source, warm colour temperature LED light source, alternating current power supply, on and off switch and be capable of the reverse of polarity
The control circuit of microcontroller, which comprises the following steps that:
A) connect power supply:Using alternating current power supply as cool colour temperature LED light source and the driving power supply of warm colour temperature LED light source, and lead to
Cross the break-make that on and off switch controls whole control circuit.
B) original state is set:On and off switch is maintained at normally open, microcontroller is set by single-chip microcomputer then
Control mode, completes the setting of original state.
C) circuit is assembled:Using alternating current power supply as microcontroller driving power supply, by cool colour temperature LED light source and warm colour temperature
LED light source is connected with the outfan of microcontroller, and on and off switch is connected with the input of microcontroller, and microcontroller starts
The current potential conversion of scan control circuit, and switching signal is calculated, now control circuit is open circuit, and switching signal is 0, and clock is believed
Number be 0, on-off times also be 0.
D) power-on:If on and off switch is closed so that control circuit is path, microcontroller scans current potential conversion
Switching signal is switched to 1 by signal, and on-off times add 1, is started timing, is gone to step G).
E) power supply is closed:If on and off switch disconnects so that control circuit is that open circuit, microcontroller scan current potential conversion
Switching signal is switched to 0 by signal, is retained original on-off times and clock signal, is gone to step G).
F) reclocking:When clock signal reaches T1 times, if switching signal now is 1, by on-off times
Reset with clock signal, and go to step D), if switching signal now is 0, go to step E).
G) colour temperature is controlled:When clock signal reaches T2 times, microcontroller is distinguished according to switching signal and on-off times
Different LED light sources are connected with alternating current power supply, if switching signal be 1, and on-off times be 1 when, go to step I);Such as
Fruit switching signal be 1, and on-off times be 2 when, go to step J);If switching signal is 0, step E is gone to);If
Switching signal is 1, and on-off times are 3, go to step K).
I) cool colour temperature state:Microcontroller connection cool colour temperature LED light source and the path of alternating current power supply, and block warm colour temperature
LED light source and the path of alternating current power supply.
J) warm colour temperature state:Microcontroller connection warm colour temperature LED light source and the path of alternating current power supply, and block cool colour temperature
LED light source and the path of alternating current power supply.
K) align mode:Microcontroller blocks the path of cool colour temperature LED light source and warm colour temperature LED light source and alternating current power supply,
On-off times and clock signal are reset, calibration mode is entered, and is gone to step D upon completion of the calibration).
Preferably, also including step L) brightness adjustment:On-off times and clock signal are reset by microcontroller, are entered
Light-modulating mode, controls the output of cool colour temperature LED light source and warm colour temperature LED light source path, and keeps output for former work(
The 10%~30% of rate, goes to step D).
Preferably,:Step L) in light-modulating mode also comprise the following specific steps that:
L1) if the dim signal in microcontroller is 0, step L3 is gone to);
L2) if the dim signal in microcontroller is 1, step L4 is gone to);
L3 the dim signal in microcontroller is switched to 1), light-modulating mode is entered;
L4) light-modulating mode is closed, and the output for controlling cool colour temperature LED light source and warm colour temperature LED light source path just switchs to
Dim signal in microcontroller is switched to 0 by normal rated power.
Specifically, the T1 times are 5s~7s, and the T2 times are 0.5s~1.5s.
Memory function:Under above-mentioned two kinds any one state, switch waits more than 5 seconds single-chip microcomputers to preserve and remember after cutting out
Recall the colour temperature state before last time shutdown.Colour temperature state before voluntarily recovering last time shutdown in start next time.
Colour temperature synchronous correction function:In one on-off control of lamps common, it is possible that several lamp changes in temperature warm colours are not
When consistent, can be corrected with colour temperature synchronous correction function.Method is;After switch open, such as several lamp color temperatures are inconsistent, can be with
Shut down at once, wait and switch within more than 5 seconds three colour temperature synchronizations automatically afterwards afterwards.
Dimming function:4 time on and off switch are continuously pressed in electric power starting, and LED intelligent control methods will export 10% work(
Rate, LED are operated in battery saving mode.
Wherein, the shape of color temperature LED control devices shell can be according to LED down, LED Ceiling lights, LED flat lamp etc. no
Design with requiring.
Presently preferred embodiments of the present invention is the foregoing is only, not in order to limit the present invention, all in essence of the invention
Any modification, equivalent or improvement that is made within god and principle etc., should be included within the scope of the present invention.
Claims (3)
1. a kind of control method of color temperature LED light source, it is characterised in that:Using with cool colour temperature LED light source, warm colour temperature LED
Light source, alternating current power supply, on and off switch and be capable of the reverse of polarity microcontroller control circuit, which comprises the following steps that:
A) connect power supply:Using alternating current power supply as cool colour temperature LED light source and the driving power supply of warm colour temperature LED light source, and by electricity
Source switch controls the break-make of whole control circuit;
B) original state is set:On and off switch is maintained at normally opened 0 state, and the control of microcontroller is then set by single-chip microcomputer
Mode, completes the setting of original state;
C) circuit is assembled:Using alternating current power supply as microcontroller driving power supply, by cool colour temperature LED light source and warm colour temperature LED light
Source is connected with the outfan of microcontroller, and on and off switch is connected with the input of microcontroller, and microcontroller starts to scan
The current potential conversion of control circuit, and switching signal is calculated, now control circuit is open circuit, and switching signal is 0, and clock signal is
0, on-off times are also 0;
D) power-on:If on and off switch is closed so that control circuit is path, microcontroller scans current potential conversion to be believed
Number, switching signal is switched to 1, on-off times add 1, start timing, go to step G);
E) power supply is closed:If on and off switch disconnects so that control circuit is that open circuit, microcontroller scan current potential conversion letter
Number, switching signal is switched to 0, is retained original on-off times and clock signal, is gone to step G);
F) reclocking:When clock signal reaches T1 times, if switching signal now is 1, by on-off times and when
Clock signal resets, and goes to step D), if switching signal now is 0, go to step E);
G) colour temperature is controlled:When clock signal reaches T2 times, microcontroller respectively will not according to switching signal and on-off times
Be connected with alternating current power supply with LED light source, if switching signal be 1, and on-off times be 1 when, go to step I), if opened
OFF signal is 1, and on-off times be 2 when, go to step J), if switching signal be 0, go to step E);If switch
Signal is 1, and on-off times are 3, go to step K);If switching signal is 1, and on-off times are 4, go to step
L);
I) cool colour temperature state:Microcontroller connection cool colour temperature LED light source and the path of alternating current power supply, and block warm colour temperature LED light
Source and the path of alternating current power supply;
J) warm colour temperature state:Microcontroller connection warm colour temperature LED light source and the path of alternating current power supply, and block cool colour temperature LED light
Source and the path of alternating current power supply;
K) align mode:Microcontroller blocks the path of cool colour temperature LED light source and warm colour temperature LED light source and alternating current power supply, will open
Close number of times and clock signal resets, enter calibration mode, and go to step D upon completion of the calibration);
L) brightness adjustment:On-off times and clock signal are reset by microcontroller, enter light-modulating mode, control cool colour temperature LED
Light source and the output of warm colour temperature LED light source path, and keep that output is former power 10%~30%, go to step
D).
2. a kind of control method of color temperature LED light source as claimed in claim 1, it is characterised in that:Step L) in light modulation
Pattern is also comprised the following specific steps that:
L1) if the dim signal in microcontroller is 0, step L3 is gone to);
L2) if the dim signal in microcontroller is 1, step L4 is gone to);
L3 the dim signal in microcontroller is switched to 1), light-modulating mode is entered;
L4) light-modulating mode is closed, and the output for controlling cool colour temperature LED light source and warm colour temperature LED light source path switchs to normally
Dim signal in microcontroller is switched to 0 by rated power.
3. a kind of control method of color temperature LED light source as claimed in claim 1, it is characterised in that:Step F) in T1 when
Between be 5s~7s, step G) in the T2 times be 0.5s~1.5s.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848205.5A CN104582170B (en) | 2014-12-29 | 2014-12-29 | A kind of control method of color temperature LED light source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848205.5A CN104582170B (en) | 2014-12-29 | 2014-12-29 | A kind of control method of color temperature LED light source |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104582170A CN104582170A (en) | 2015-04-29 |
CN104582170B true CN104582170B (en) | 2017-03-15 |
Family
ID=53097083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410848205.5A Active CN104582170B (en) | 2014-12-29 | 2014-12-29 | A kind of control method of color temperature LED light source |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104582170B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107548182A (en) * | 2016-06-23 | 2018-01-05 | 上海北京大学微电子研究院 | The LED colour temperature self-adaptive regulatings being wirelessly transferred based on temperature feedback |
CN108838861A (en) * | 2018-09-06 | 2018-11-20 | 浙江欧易新能源有限公司 | A kind of light guide plate burnishing device |
CN110536511B (en) * | 2019-09-02 | 2021-06-11 | 鹰潭阳光照明有限公司 | Dimmable LED lamp circuit |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6516015B1 (en) * | 1998-11-19 | 2003-02-04 | Matsushita Electric Industrial Co., Ltd. | Laser driver and optical transceiver |
CN202206611U (en) * | 2011-08-15 | 2012-04-25 | 黄钦正 | Driving device of light emitting diode capable of adjusting color temperature |
CN202503698U (en) * | 2012-01-31 | 2012-10-24 | 雷通科技发展有限公司 | Intelligent LED lights |
CN103179735A (en) * | 2011-12-26 | 2013-06-26 | 海洋王照明科技股份有限公司 | Two-sided signal light and drive circuit thereof |
CN103442503A (en) * | 2013-09-16 | 2013-12-11 | 上海无线电设备研究所 | LED (Light Emitting Diode) light source system for adjusting color temperature and color temperature adjusting method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815383B (en) * | 2010-03-31 | 2013-11-06 | 许波 | LED dimming driving device and dimming LED lamp |
TWI441561B (en) * | 2011-12-30 | 2014-06-11 | Radiant Opto Electronics Corp | Led lighting device and driving method thereof |
-
2014
- 2014-12-29 CN CN201410848205.5A patent/CN104582170B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6516015B1 (en) * | 1998-11-19 | 2003-02-04 | Matsushita Electric Industrial Co., Ltd. | Laser driver and optical transceiver |
CN202206611U (en) * | 2011-08-15 | 2012-04-25 | 黄钦正 | Driving device of light emitting diode capable of adjusting color temperature |
CN103179735A (en) * | 2011-12-26 | 2013-06-26 | 海洋王照明科技股份有限公司 | Two-sided signal light and drive circuit thereof |
CN202503698U (en) * | 2012-01-31 | 2012-10-24 | 雷通科技发展有限公司 | Intelligent LED lights |
CN103442503A (en) * | 2013-09-16 | 2013-12-11 | 上海无线电设备研究所 | LED (Light Emitting Diode) light source system for adjusting color temperature and color temperature adjusting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104582170A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104470159A (en) | LED lighting system | |
CN103152916A (en) | Light-emitting diode (LED) lighting lamp with adjustable light and adjustable color temperature and control method thereof | |
CN104582170B (en) | A kind of control method of color temperature LED light source | |
CN204761800U (en) | 2. 4G intelligent LED control system | |
CN206268958U (en) | A kind of intelligent lamp affixed to the ceiling | |
CN203251465U (en) | Independently white-light and color-light adjustable LED intelligent bulb set for desk lamp | |
CN106162991A (en) | 2.4G intelligent light control system | |
CN205946269U (en) | Intelligence lamp light switching LED lamp | |
CN106604454A (en) | Driving circuit and driving method of using switch to set LED luminance | |
CN204408722U (en) | A kind of chicken farm illuminator based on LED light source | |
CN205071389U (en) | Adjustable intelligent lighting system of photochromic gentle luminance of infrared remote control double - circuit changes in temperature | |
CN107567142A (en) | A kind of full-color horse race remote control lamp string control systems of LED | |
US10551045B2 (en) | LED light string control system and method | |
CN202992741U (en) | Light-emitting diode (LED) lamp capable of adjusting light and color synchronously | |
CN203190291U (en) | LED intelligent lamp bulb kit allowing independent adjustment of white light and color modulation | |
CN206743585U (en) | A kind of preceding phase-cut dimming control device | |
US20190226647A1 (en) | On-off dimming and color-fixing lamp | |
CN202587548U (en) | Light emitting diode (LED) infrared remote control type color-changeable and light-adjustable automotive indoor lighting lamp system | |
CN205372475U (en) | Single line regulating switch and adopt this single line regulating switch's adjusted luminance mixing of colors LED lamps and lanterns | |
CN207969012U (en) | Led lamp drive control circuit | |
CN202444651U (en) | Adjustable colorful LED bulb circuit system | |
CN207783217U (en) | Can unrestricted choice light-modulating mode linearity light adjusting mix colours circuit | |
CN207410568U (en) | A kind of multi-protocols Intelligent lamp control system | |
CN206055525U (en) | The fluorescent tube of adjustable color temperature | |
CN202385342U (en) | Wireless light adjustment controller capable of setting minimum driving power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |