CN110475403B - Color temperature setting method and circuit of intelligent dimmable LED lamp - Google Patents

Color temperature setting method and circuit of intelligent dimmable LED lamp Download PDF

Info

Publication number
CN110475403B
CN110475403B CN201910658546.9A CN201910658546A CN110475403B CN 110475403 B CN110475403 B CN 110475403B CN 201910658546 A CN201910658546 A CN 201910658546A CN 110475403 B CN110475403 B CN 110475403B
Authority
CN
China
Prior art keywords
color temperature
circuit
brightness
led lamp
voltage
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
Application number
CN201910658546.9A
Other languages
Chinese (zh)
Other versions
CN110475403A (en
Inventor
俞贤晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Sunlight Illuminating Lamp Co ltd
Yingtan Yankon Lighting Co ltd
Zhejiang Yankon Group Co Ltd
Original Assignee
Zhejiang Sunlight Illuminating Lamp Co ltd
Yingtan Yankon Lighting Co ltd
Zhejiang Yankon Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Sunlight Illuminating Lamp Co ltd, Yingtan Yankon Lighting Co ltd, Zhejiang Yankon Group Co Ltd filed Critical Zhejiang Sunlight Illuminating Lamp Co ltd
Priority to CN201910658546.9A priority Critical patent/CN110475403B/en
Publication of CN110475403A publication Critical patent/CN110475403A/en
Application granted granted Critical
Publication of CN110475403B publication Critical patent/CN110475403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Abstract

The invention discloses a color temperature setting method and a circuit of an intelligent dimmable LED lamp, wherein an operation mode of a switch of a dimmer is defined, minimum color temperature data S1, maximum color temperature data S2, a color temperature data conversion interval, a color temperature data conversion period, minimum brightness data L1, maximum brightness data L2, maximum times of color temperature conversion circulation and a corresponding relation between the change of the color temperature S and the change of the brightness L are stored in the intelligent dimmable LED lamp, the intelligent dimmable LED lamp circuit detects and judges the duration of a zero-voltage signal input into the intelligent dimmable LED lamp circuit in real time, the operation mode of the switch of the dimmer is judged by combining the operation mode of the switch of the dimmer, and color temperature self-adaption setting or color temperature conversion is carried out according to a judgment result so that a user can select and set the color temperature; the color temperature can be periodically changed in a large color temperature change range, the color temperature is selected more, and the brightness and color temperature change corresponding relation is automatically updated so as to meet the requirement of a user on the comfort level of the illumination environment, and the use is convenient.

Description

Color temperature setting method and circuit of intelligent dimmable LED lamp
Technical Field
The invention relates to an intelligent dimmable LED lamp, in particular to a color temperature setting method and a circuit thereof of the intelligent dimmable LED lamp.
Background
The existing dimming lighting system usually comprises a dimmer and at least one dimmable LED lamp, the dimmer usually comprises a switch and a brightness adjuster, as shown in figure 1, the input end of the brightness adjuster is connected with the live wire of the mains supply through the switch, the dimmable LED lamp is provided with a live wire input end and a zero line input end, the output end of the brightness adjuster is connected with the live wire input end of the dimmable LED lamp, and the zero line input end of the dimmable LED lamp is connected with the zero line of the mains supply. When the switch of the dimmer is in a closed state (a light-on position), the dimmable LED lamp is turned on, the brightness of the dimmable LED lamp can be adjusted by operating the brightness adjuster, when the switch of the dimmer is in an open state (a light-off position), the voltage between two input ends (a zero line input end and a live line input end) of the dimmable LED lamp is zero, and the dimmable LED lamp is not turned on. The dimmer is when adjusting the luminance of LED lamp of can adjusting luminance, through carrying out chopping control to the commercial power sine wave alternating voltage who inserts, makes the alternating voltage of sinusoidal waveform become zero at the moment that is not zero originally to change the effective voltage between two input ends of LED lamp of can adjusting luminance, the effective voltage between two input ends of LED lamp of can adjusting luminance is big more, LED lamp luminous intensity of can adjusting luminance is high more, LED lamp of can adjusting luminance is luminous bright more, otherwise, effective voltage between two input ends of LED lamp of can adjusting luminance is little less, LED lamp's luminous intensity of can adjusting luminance is low more, LED lamp of can adjusting luminance is luminous dark more.
The current research shows that the comfort of human body to the illumination environment is not only related to the brightness (namely the illumination intensity), but also related to the color temperature under the illumination intensity, and when the matching degree of the brightness and the color temperature is higher, the illumination environment has better comfort. Traditional LED lamp of can adjusting luminance under dimmer's control, can only adjust luminance, can't provide more comfortable illumination environment under the different luminance for the user, has more and more can not satisfy current demand. In recent years, a dimmable LED lamp with a color temperature adjusting function has also appeared, in which a comparison table of a switch conversion rule and a color temperature is arranged, when the dimmable LED lamp is used, a switch of a dimmer is firstly operated according to a predetermined switch conversion rule to realize the selection of the color temperature, and after a certain color temperature is selected and determined, the brightness of the color temperature is adjusted by a brightness adjuster. However, the color temperature selection method of the dimmable LED lamp is limited by the switching rule, generally there are only three selectable color temperatures, and the color temperature cannot be continuously adjusted, and sometimes, a proper color temperature can be selected after the switch is operated for many times, and once the color temperature is set, the color temperature remains unchanged in the dimming process, and if the color temperature needs to be changed, resetting is not convenient.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a color temperature setting method for an intelligent dimmable LED lamp, in which a color temperature can be periodically changed in a large color temperature change range, a user can select one of the color temperatures to set in the color temperature change process, and a change corresponding relation between brightness and color temperature stored in the intelligent dimmable LED lamp can be automatically updated according to the set color temperature and brightness when the color temperature is set, so as to generate a latest brightness and color temperature change corresponding relation suitable for the user, so as to meet the requirement of the user on the comfort level of the lighting environment, and when the brightness is subsequently adjusted, the color temperature is generated according to the brightness and color temperature corresponding relation.
The technical scheme adopted by the invention for solving one of the technical problems is as follows: a color temperature setting method of an intelligent dimmable LED lamp comprises the following steps:
(1) when being in the state of turning on light to intelligent LED lamp of can adjusting luminance, the operating mode of the switch of dimmer defines: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is preset according to the switch operation habit of a common user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state after the color temperature is selected by a user during the second continuous switch operation;
(2) the method comprises the steps of storing minimum color temperature data S1 and maximum color temperature data S2 in an intelligent dimmable LED lamp, wherein the color temperature data conversion interval, the color temperature data conversion period, minimum brightness data L1, maximum brightness data L2, the maximum number of color temperature conversion cycles and the change corresponding relation between the color temperature S and the brightness L are as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a — S-L × k, a change correspondence between a color temperature S and a brightness L is updated synchronously with the update of a, wherein S is a color temperature determined at the time of setting, L is a brightness at the time of determining the color temperature, in a subsequent brightness adjustment process after the color temperature is set, when a value of a color temperature S calculated according to a new change correspondence between the color temperature S and the brightness L is less than or equal to S1, a value of S is S1, and if the calculated value of the color temperature S is greater than or equal to S2, S is S2;
(3) the intelligent dimmable LED lamp detects the time length of a zero-voltage signal input into the intelligent dimmable LED lamp in real time, records the time length of the zero-voltage signal input into the intelligent dimmable LED lamp as t, and judges and operates according to the detected time length t of the zero-voltage signal as follows:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lighting-on state, if a brightness adjusting signal sent by a brightness adjuster of the dimmer is not received, the color temperature of the intelligent dimmable LED lamp keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the intelligent dimmable LED lamp changes the current brightness according to the brightness adjusting signal, and according to a corresponding relation between the current color temperature S and the change of the brightness L, the color temperature data when the current brightness data are obtained is calculated to set the current color temperature;
if t is greater than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the intelligent dimmable LED lamp periodically transforms the color temperature from the lowest color temperature data according to the color temperature data transformation interval and the color temperature data transformation period, if the color temperature data is transformed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the continuous switch operation for the second time, the intelligent dimmable LED lamp carries out the next color temperature transformation from the lowest color temperature data again, when the times of the color temperature transformation process reach the maximum times of the color temperature transformation cycle, the intelligent dimmable LED lamp automatically exits from the color temperature transformation mode, and the corresponding relation between the brightness and the color temperature before the color temperature is set is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is more than or equal to t1, the switch of the dimmer is judged to be switched on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, and the color temperature data of the current brightness data is calculated through the corresponding relation between the current color temperature S and the change of the brightness L to set the current color temperature.
Compared with the prior art, the color temperature setting method of the intelligent dimmable LED lamp has the advantages that the operation mode of the switch of the dimmer is defined, the lowest color temperature data S1 and the highest color temperature data S2 are stored in the intelligent dimmable LED lamp, the color temperature data conversion interval, the color temperature data conversion period, the lowest brightness data L1, the highest brightness data L2, the maximum times of color temperature conversion cycles and the corresponding relation of the color temperature S and the brightness L are stored in the intelligent dimmable LED lamp, the corresponding relation of the color temperature S and the brightness L is updated along with the corresponding relation of the color temperature and the brightness set by a user so as to meet the requirement of the user on the comfort level of the lighting environment, the intelligent dimmable LED lamp detects the time length of the zero-voltage signal input into the intelligent dimmable LED lamp in real time, the time length of the zero-voltage signal input into the intelligent dimmable LED lamp is recorded as t, and the operation mode of the switch of the dimmer is combined with the operation mode of the switch The color temperature setting method can periodically change the color temperature within a large color temperature change range, a user can select one color temperature to set in the color temperature change process, the corresponding relation between the brightness and the color temperature change can be automatically updated by taking the set color temperature and the brightness when the color temperature is set as the basis, so as to meet the requirement of the user on the comfort level of the lighting environment, and when the brightness is adjusted by a subsequent user, the color temperature is automatically generated according to the corresponding relation between the current brightness and the color temperature, so that the lighting environment which the user tends to can be automatically adjusted to the greatest extent under different brightness, and the use is convenient.
The second technical problem to be solved by the invention is to provide an intelligent dimmable LED lamp circuit, the color temperature of the intelligent dimmable LED lamp circuit can be periodically changed in a larger color temperature change range, a user can select one color temperature to set in the color temperature change process, and the change corresponding relation between the brightness and the color temperature stored in the intelligent dimmable LED lamp can be automatically updated by taking the set color temperature and the brightness when the color temperature is set as a basis to generate the latest brightness and color temperature change corresponding relation suitable for the user so as to meet the requirement of the user on the comfort level of the lighting environment, and the color temperature can be generated according to the brightness and color temperature corresponding relation when the brightness is subsequently adjusted.
The second technical solution adopted by the present invention to solve the above technical problems is: an intelligent dimmable LED lamp circuit comprises a rectification circuit, a voltage detection circuit, a signal processing circuit, a level conversion circuit, a dimming control module, an LED light emitting module and a voltage stabilizing circuit, wherein the LED light emitting module comprises a first LED light emitting circuit with high color temperature and a second LED light emitting circuit with low color temperature, the rectification circuit is connected with a dimmer, when a switch of the dimmer is switched on, the rectification circuit is connected with mains supply through the dimmer and converts the mains supply alternating voltage input into the mains supply alternating voltage into pulse direct current voltage for output, the dimming control circuit is connected with the rectification circuit and is used for converting the pulse direct current voltage output by the rectification circuit into direct current voltage for output, and the dimming control circuit, the voltage stabilizing circuit, the first LED light emitting circuit and the second LED light emitting circuit are all connected with the rectification circuit, the voltage detection circuit is connected with the dimmer, detects the voltage signal input into the dimmer and generates a detection signal output, when the instantaneous value of the voltage signal input into the dimmer is zero, the detection signal is at a low level, when the instantaneous value of the voltage signal input into the dimmer is not zero, the detection signal is at a high level, the signal processing circuit is connected with the voltage detection circuit and is connected with the detection signal output by the voltage detection circuit, the level conversion circuit is respectively connected with the signal processing circuit and the dimming control circuit, the level conversion circuit is used for converting the color temperature control signal output by the signal processing circuit into a level signal which can be matched with the dimming control circuit, and the dimming control circuit is respectively connected with the first LED light-emitting circuit and the second LED light-emitting circuit, the dimming control circuit converts the level signal output by the level conversion circuit into two paths of direct currents, wherein one path of direct current drives the first LED light-emitting circuit to emit light, the other path of direct current drives the second LED light-emitting circuit to emit light, the sum of the two paths of direct currents is matched with the brightness of the LED light-emitting module, the proportion of the two paths of direct currents is matched with the color temperature of the LED light-emitting module, the voltage stabilizing circuit is connected with the dimming control circuit, and the current flowing through the dimming control circuit is converted into direct current voltage to supply power for the signal processing circuit; the signal processing circuit is internally stored with lowest color temperature data S1 and highest color temperature data S2, a color temperature data conversion interval, a color temperature data conversion period, lowest brightness data L1, highest brightness data L2, maximum times of color temperature conversion circulation and a corresponding relation between the color temperature S and the change of the brightness L, the signal processing circuit obtains the value of the brightness L of the intelligent dimmable LED lamp circuit by detecting the time width of a high-level detection signal output by the voltage detection circuit in real time, the color temperature S of the intelligent dimmable LED lamp circuit corresponds to a color temperature control signal output by the signal processing circuit, and the corresponding relation between the change of the color temperature S and the change of the brightness L is as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a — S-L × k, a change correspondence between a color temperature S and a brightness L is updated synchronously with the update of a, where S is a color temperature value determined at the time of setting, L is a brightness value at the time of setting the color temperature, when a value of a color temperature S calculated according to the change correspondence between the color temperature S and the brightness L is equal to or less than S1, the value of S is S1, and if the calculated value of the color temperature S is equal to or greater than S2, the value of S is S2; when the intelligent dimmable LED lamp is in a light-on state, the operation mode of a switch of the dimmer is defined as follows: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is set according to the switch operation habit of a user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state during the second continuous switch operation; the signal processing circuit analyzes the high level time of the detection signal to obtain brightness data, and judges the operation mode of the switch of the dimmer based on the time length of each low level output by the voltage detection circuit by reading the time length of the zero voltage signal so as to judge whether to enter a color temperature setting state, and records the time length of the low level output by the voltage detection circuit as t; the intelligent dimmable LED lamp is judged and operated as follows according to the detected duration t of the low level output by the voltage detection circuit:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lighting-on state, if a brightness adjusting signal sent by the brightness adjuster of the dimmer is not received, the color temperature control signal output by the signal processing circuit keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the current brightness of the intelligent dimmable LED lamp is changed according to the brightness adjusting signal, the color temperature data when the current brightness data is obtained is calculated according to the corresponding relation between the current color temperature S and the change of the brightness L, and the corresponding color temperature control signal is generated based on the color temperature data;
if t is greater than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the color temperature control signal output by the signal processing circuit starts to change periodically, so that the intelligent dimmable LED lamp starts from the lowest color temperature data, the color temperature is periodically changed according to the color temperature data change interval and the color temperature data change period, if the color temperature data is changed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the second continuous switch operation, the intelligent dimmable LED lamp starts to carry out the next color temperature change from the lowest color temperature data again, when the frequency of the color temperature change process reaches the maximum frequency of the color temperature change circulation, the color temperature change mode is automatically exited, and the corresponding relation formula of the brightness and the color temperature before the color temperature setting is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is more than or equal to t1, the switch of the dimmer is judged to be switched on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, the data processor calculates color temperature data of the current brightness data according to a change corresponding relation between the current color temperature S and the brightness L, and generates a corresponding color temperature control signal to set the current color temperature.
The rectifier circuit is provided with a live wire input end, a zero wire input end, an output end and a grounding end, the voltage detection circuit is provided with a live wire input end, a zero wire input end, an output end and a grounding end, the signal processing circuit is provided with a positive electrode, a signal input end, a color temperature signal output end and a grounding end, the dimming control circuit is provided with a positive electrode, a color temperature control end, a first output end, a second output end and a negative electrode, the first LED light-emitting circuit and the second LED light-emitting circuit are respectively provided with a positive electrode and a negative electrode, the level conversion circuit is provided with an input end, an output end and a grounding end, the stabilized voltage is provided with an input end, an output end and a grounding end, the live wire input end of the rectifier circuit is connected with the live wire input end of the voltage detection circuit, the zero line input end of the rectifying circuit is connected with the zero line input end of the voltage detection circuit, the connecting end of the rectifying circuit is the zero line input end of the intelligent dimmable LED lamp circuit, the output end of the rectifying circuit is respectively connected with the anode of the dimming control circuit, the anode of the first LED light-emitting circuit and the anode of the second LED light-emitting circuit, the output end of the voltage detection circuit is connected with the signal input end of the signal processing circuit, the color temperature signal output end of the signal processing circuit is connected with the input end of the level conversion circuit, the output end of the level conversion circuit is connected with the color temperature control end of the dimming control circuit, the first output end of the dimming control circuit is connected with the cathode of the first LED light-emitting circuit, the second output end of the dimming control circuit is connected with the cathode of the second LED light-emitting circuit, the negative pole of the light-adjusting control circuit is connected with the input end of the voltage stabilizing circuit, the output end of the voltage stabilizing circuit is connected with the positive pole of the signal processing circuit, the grounding end of the rectifying circuit, the grounding end of the voltage detection circuit, the grounding end of the voltage stabilizing circuit and the grounding end of the signal processing circuit are connected with the grounding end of the level conversion circuit, the live wire input end of the circuit of the intelligent light-adjustable LED lamp is connected with the output end of the brightness regulator of the light modulator, the zero line input end of the circuit of the intelligent light-adjustable LED lamp is connected with the zero line of the commercial power, the rectifying circuit converts the accessed alternating current voltage into the pulse direct current voltage and outputs the pulse direct current voltage at the output end, and the light-adjusting control circuit obtains the effective voltage output by the rectifying circuit according to the pulse direct current voltage output by the, the effective voltage output by the rectifying circuit is converted into corresponding total current, and is divided into two paths of direct current according to corresponding current proportion to respectively drive the first LED light-emitting circuit and the second LED light-emitting circuit to emit light under the control of a color temperature control signal connected to a color temperature control end of the rectifying circuit, a reference voltage is set in the voltage detection circuit, when the voltage detection circuit detects that the absolute value of alternating voltage between a live wire input end and a zero line input end of the intelligent dimmable LED lamp circuit is smaller than the internally set reference voltage, the output end of the voltage detection circuit outputs a low-level detection signal, and when the absolute value of the alternating voltage between the live wire input end and the zero line input end of the intelligent dimmable LED lamp circuit is detected to be larger than or equal to the set reference voltage, the output end of the voltage detection circuit outputs a high-level detection signal, the reference voltage of the voltage detection circuit is set according to the voltage at the moment when the dimmer chops the alternating-current voltage.
The voltage detection circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor and a first diode, wherein the first diode is a voltage stabilizing diode, one end of the first resistor is a live wire input end of the voltage detection circuit, one end of the second resistor is a zero line input end of the voltage detection circuit, the other end of the first resistor, the other end of the second resistor and the negative electrode of the first diode are connected, the positive electrode of the first diode, one end of the third resistor and one end of the first capacitor are connected, the connecting end of the first diode and the other end of the third resistor are connected, and the connecting end of the first diode and the other end of the third resistor are connected.
The voltage stabilizing circuit comprises a second capacitor, a third capacitor, a second diode and a first chip, wherein the second capacitor is an electrolytic capacitor, the second diode is a voltage stabilizing diode, the first chip is a three-terminal voltage stabilizing circuit and is provided with an input pin, an output pin and a grounding pin, the cathode of the second diode, the anode of the second capacitor and the input pin of the first chip are connected, the connecting end of the second diode is the input end of the stabilized voltage, the output pin of the first chip and one end of the third capacitor are connected, the connecting end of the first chip is the output end of the voltage stabilizing circuit, the cathode of the second capacitor, the anode of the second diode, the other end of the third capacitor and the grounding pin of the first chip are connected, and the connecting end of the first chip is the grounding end of the voltage stabilizing circuit.
The dimming control circuit comprises a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a third diode, a first NMOS tube, a third chip and a fourth chip, wherein the model of the third chip is SM088, the model of the fourth chip is SM2123, one end of the fourth resistor is connected with one end of the fifth resistor, the connecting end of the fourth resistor is the anode of the dimming control circuit, the other end of the fourth resistor is connected with the 1 st pin of the third chip, the 3 rd pin of the third chip is connected with one end of the sixth resistor, the other end of the sixth resistor, one end of the seventh resistor, the 2 nd pin and the 4 th pin of the fourth chip are connected, the 8 th pin of the fourth chip is connected with the other end of the fifth resistor, and the 6 th pin of the fourth chip is the first output end of the dimming control circuit, the fourth chip the 5 th pin be the dimming control circuit's second output, the fourth chip the 3 rd pin with the eighth resistance one end connect, the eighth resistance the other end, the grid of first NMOS pipe with the negative pole of third diode connect and its link be the dimming control circuit's colour temperature control end, the drain electrode of first NMOS pipe with the fourth chip the 1 st pin connect, the third chip the 2 nd pin, the seventh resistance the other end, fourth chip bottom electrode, the source electrode of first NMOS pipe with the positive pole of third diode connect and its link be the dimming control circuit's negative pole. The circuit adopts a linear dimming control circuit, and is particularly suitable for manufacturing a light source dimming lamp with 110-120V mains voltage.
The level switching circuit comprises a second NMOS tube and a ninth resistor, the grid electrode of the second NMOS tube is the input end of the level switching circuit, the source electrode of the second NMOS tube is the grounding end of the level switching circuit, the drain electrode of the second NMOS tube is connected with one end of the ninth resistor, and the other end of the ninth resistor is the output end of the level switching circuit.
Rectifier circuit be full-bridge rectifier bridge heap, full-bridge rectifier bridge heap the 1 st foot do rectifier circuit's live wire input end, full-bridge rectifier bridge heap the 3 rd foot do rectifier circuit's zero line input end, full-bridge rectifier bridge heap the 2 nd foot do rectifier circuit's output, full-bridge rectifier bridge heap the 4 th foot do rectifier circuit's earthing terminal.
Compared with the prior art, the intelligent dimmable LED lamp circuit has the advantages that the operation mode of the switch of the dimmer is defined, the lowest color temperature data S1, the highest color temperature data S2, the color temperature data conversion interval, the color temperature data conversion period, the lowest brightness data L1, the highest brightness data L2, the maximum number of color temperature conversion cycles and the corresponding relation of the change of the color temperature S and the brightness L are stored in the signal processing circuit, the corresponding relation of the change of the color temperature S and the brightness L is updated along with the corresponding relation of the change of the color temperature and the brightness set by a user to meet the requirement of the user on the comfort level of the lighting environment, the intelligent dimmable LED lamp detects the time length of the zero-voltage signal input into the intelligent dimmable LED lamp in real time, the time length of the zero-voltage signal input into the intelligent dimmable LED lamp is recorded as t, and the operation mode of the switch of the dimmer is judged according to the detected time length t of the zero-voltage signal and, according to the color temperature setting method, the color temperature can be periodically changed in a large color temperature change range, a user can select one color temperature to set in the color temperature change process, the corresponding relation between the brightness and the color temperature change can be automatically updated by taking the set color temperature and the brightness when the color temperature is set as a basis, so that the requirement of the user on the comfort level of the lighting environment is met, when the brightness is adjusted by a subsequent user, the color temperature is automatically generated according to the corresponding relation between the current brightness and the color temperature, so that the lighting environment which the user tends to tend to can be automatically adjusted to the greatest extent under different brightness, and the use is convenient.
Drawings
FIG. 1 is a schematic diagram of a connection of a dimming lighting system;
FIG. 2 is a block diagram of the structure of the intelligent dimmable LED lamp circuit of the present invention;
fig. 3 is a circuit diagram of an intelligent dimmable LED lamp circuit of the present invention.
Detailed Description
The invention discloses a color temperature setting method of an intelligent dimmable LED lamp, which is further described in detail in the embodiment of the attached drawings.
Example (b): a color temperature setting method of an intelligent dimmable LED lamp comprises the following steps:
(1) when being in the state of turning on light to intelligent LED lamp of can adjusting luminance, the operating mode of the switch of dimmer defines: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is preset according to the switch operation habit of a common user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state after the color temperature is selected by a user during the second continuous switch operation;
(2) the method comprises the steps of storing minimum color temperature data S1 and maximum color temperature data S2 in an intelligent dimmable LED lamp, wherein the color temperature data conversion interval, the color temperature data conversion period, minimum brightness data L1, maximum brightness data L2, the maximum number of color temperature conversion cycles and the change corresponding relation between the color temperature S and the brightness L are as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a ═ S-L × k, is a multiplication operation sign,/is a division operation sign, and a change correspondence expression of the color temperature S and the brightness L is updated synchronously with the update of a, wherein S is a color temperature determined at the time of setting, L is brightness at the time of determining the color temperature, and in a subsequent brightness adjustment process after the color temperature is set, when a value of the color temperature S calculated according to a new change correspondence expression of the color temperature S and the brightness L is less than or equal to S1, a value of S is S1, and if the calculated value of the color temperature S is greater than or equal to S2, the value of S is S2;
(3) the intelligent dimmable LED lamp detects the time length of a zero-voltage signal input into the intelligent dimmable LED lamp in real time, records the time length of the zero-voltage signal input into the intelligent dimmable LED lamp as t, and judges and operates according to the detected time length t of the zero-voltage signal as follows:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lighting-on state, if a brightness adjusting signal sent by a brightness adjuster of the dimmer is not received, the color temperature of the intelligent dimmable LED lamp keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the intelligent dimmable LED lamp changes the current brightness according to the brightness adjusting signal, and according to a corresponding relation between the current color temperature S and the change of the brightness L, the color temperature data when the current brightness data are obtained is calculated to set the current color temperature;
if t is greater than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the intelligent dimmable LED lamp periodically transforms the color temperature from the lowest color temperature data according to the color temperature data transformation interval and the color temperature data transformation period, if the color temperature data is transformed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the continuous switch operation for the second time, the intelligent dimmable LED lamp carries out the next color temperature transformation from the lowest color temperature data again, when the times of the color temperature transformation process reach the maximum times of the color temperature transformation cycle, the intelligent dimmable LED lamp automatically exits from the color temperature transformation mode, and the corresponding relation between the brightness and the color temperature before the color temperature is set is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is more than or equal to t1, the switch of the dimmer is judged to be switched on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, and the color temperature data of the current brightness data is calculated through the corresponding relation between the current color temperature S and the change of the brightness L to set the current color temperature.
The invention also discloses an intelligent dimmable LED lamp circuit, which is further described in detail in the embodiment of the attached drawings.
Example (b): as shown in FIG. 2, an intelligent dimmable LED lamp circuit comprises a rectifying circuit, a voltage detection circuit, a signal processing circuit, a level conversion circuit, a dimming control module, an LED light module and a voltage stabilizing circuit, wherein the LED light module comprises a first LED light circuit with high color temperature and a second LED light circuit with low color temperature, the rectifying circuit is connected with a dimmer, when a switch of the dimmer is turned on, the rectifying circuit is connected with mains supply through the dimmer and converts the mains supply alternating voltage input into the mains supply alternating voltage into pulse direct current voltage for output, the dimming control circuit is connected with the rectifying circuit and is used for converting the pulse direct current voltage output by the rectifying circuit into direct current voltage for output, the dimming control circuit, the voltage stabilizing circuit, the first LED light circuit and the second LED light circuit are all connected with the rectifying circuit and are used for connecting the direct current voltage output by the rectifying circuit, the voltage detection circuit is connected with, the dimming control circuit is connected with the first LED light-emitting circuit and the second LED light-emitting circuit respectively, the dimming control circuit converts the level signal output by the level conversion circuit into direct current, wherein one direct current drives the first LED light-emitting circuit to emit light, the other direct current circuit drives the second LED light-emitting circuit to emit light, the sum of the two direct currents is matched with the brightness of the LED light-emitting module, the proportion of the two direct currents is matched with the color temperature of the LED light-emitting module, the voltage stabilizing circuit is connected with the dimming control circuit, and the current flowing through the dimming control circuit is converted into direct current voltage to supply power for the signal processing circuit; the signal processing circuit is internally stored with lowest color temperature data S1 and highest color temperature data S2, a color temperature data conversion interval, a color temperature data conversion period, lowest brightness data L1, highest brightness data L2, maximum times of color temperature conversion circulation and a corresponding relation between the color temperature S and the change of the brightness L, the signal processing circuit obtains the value of the brightness L of the intelligent dimmable LED lamp circuit by detecting the time width of a high-level detection signal output by the voltage detection circuit in real time, the color temperature S of the intelligent dimmable LED lamp circuit corresponds to a color temperature control signal output by the signal processing circuit, and the corresponding relation between the color temperature S and the change of the brightness L is as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a — S-L × k, a change correspondence between a color temperature S and a brightness L is updated synchronously with the update of a, where S is a color temperature value determined at the time of setting, L is a brightness value at the time of setting the color temperature, when a value of a color temperature S calculated according to the change correspondence between the color temperature S and the brightness L is equal to or less than S1, the value of S is S1, and if the calculated value of the color temperature S is equal to or greater than S2, the value of S is S2; when being in the state of turning on light to intelligent LED lamp of can adjusting luminance, the operating mode of the switch of dimmer defines: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is set according to the switch operation habit of a user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state during the second continuous switch operation; the signal processing circuit analyzes the high level time of the detection signal to obtain brightness data, and judges the operation mode of a switch of the dimmer based on the time length of each low level output by the access voltage detection circuit by reading the time length of the zero voltage signal so as to judge whether to enter a color temperature setting state, and records the time length of the low level output by the voltage detection circuit as t; the intelligent dimmable LED lamp is judged and operated as follows according to the detected duration t of the low level output by the voltage detection circuit:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lamp-on state, if a brightness adjusting signal sent by a brightness adjuster of the dimmer is not received, the color temperature control signal output by the signal processing circuit keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the intelligent dimmable LED lamp changes the current brightness according to the brightness adjusting signal, calculates color temperature data when the current brightness data is obtained according to a corresponding relation between the current color temperature S and the change of the brightness L, and generates a corresponding color temperature control signal based on the color temperature data;
if t is more than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the color temperature control signal output by the signal processing circuit starts to change periodically, so that the intelligent dimmable LED lamp starts from the lowest color temperature data, the color temperature is periodically changed according to the color temperature data change interval and the color temperature data change period, if the color temperature data is changed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the continuous switch operation for the second time, the intelligent dimmable LED lamp starts to carry out the next color temperature change from the lowest color temperature data again, when the frequency of the color temperature change process reaches the maximum frequency of the color temperature change circulation, the color temperature change mode is automatically exited, and the corresponding relation of the brightness and the color temperature before the color temperature setting is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is larger than or equal to t1, the switch of the dimmer is judged to be turned on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, the data processor calculates color temperature data of the current brightness data according to a change corresponding relation between the current color temperature S and the brightness L, and generates a corresponding color temperature control signal to set the current color temperature.
In this embodiment, as shown in fig. 2, the rectifying circuit has a live wire input terminal, a null wire input terminal, an output terminal and a ground terminal, the voltage detecting circuit has a live wire input terminal, a null wire input terminal, an output terminal and a ground terminal, the signal processing circuit has a positive electrode, a signal input terminal, a color temperature signal output terminal and a ground terminal, the dimming control circuit has a positive electrode, a color temperature control terminal, a first output terminal, a second output terminal and a negative electrode, the first LED light emitting circuit and the second LED light emitting circuit have a positive electrode and a negative electrode, respectively, the level converting circuit has an input terminal, an output terminal and a ground terminal, the regulated voltage has an input terminal, an output terminal and a ground terminal, the live wire input terminal of the rectifying circuit is connected to the live wire input terminal of the voltage detecting circuit and the connection terminal thereof is the live wire input terminal of the intelligent dimmable LED lamp circuit, the output end of the rectification circuit is respectively connected with the anode of the dimming control circuit, the anode of the first LED light-emitting circuit and the anode of the second LED light-emitting circuit, the output end of the voltage detection circuit is connected with the signal input end of the signal processing circuit, the color temperature signal output end of the signal processing circuit is connected with the input end of the level conversion circuit, the output end of the level conversion circuit is connected with the color temperature control end of the dimming control circuit, the first output end of the dimming control circuit is connected with the cathode of the first LED light-emitting circuit, the second output end of the dimming control circuit is connected with the cathode of the second LED light-emitting circuit, the cathode of the dimming control circuit is connected with the input end of the voltage stabilizing circuit, the output end of the voltage stabilizing circuit is connected with the anode of the signal processing circuit, the grounding end of the rectification circuit, the grounding end of the voltage detection circuit, the grounding, the circuit of the intelligent light-adjustable LED lamp is characterized in that a live wire input end of the circuit of the intelligent light-adjustable LED lamp is connected with an output end of a brightness regulator of the light modulator, a zero line input end of the circuit of the intelligent light-adjustable LED lamp is connected with a zero line of commercial power, a rectifying circuit converts an accessed alternating current into a pulse direct current voltage and outputs the pulse direct current voltage at an output end, a light-adjusting control circuit obtains an effective voltage output by the rectifying circuit according to the pulse direct current voltage output by the rectifying circuit and converts the effective voltage output by the rectifying circuit into a corresponding total current, and under the control of a color temperature control signal accessed at a color temperature control end of the light-adjusting control circuit, the effective voltage is divided into two paths of direct current according to a corresponding current proportion to respectively drive a first LED light-emitting circuit and a second LED light-emitting circuit to emit light, a reference voltage is set in a voltage, the output end of the voltage detection circuit outputs a low-level detection signal, when the absolute value of alternating voltage between the live wire input end and the zero line input end of the intelligent dimmable LED lamp circuit is detected to be larger than or equal to a set reference voltage, the output end of the voltage detection circuit outputs a high-level detection signal, and the reference voltage of the voltage detection circuit is set according to the voltage of the dimmer at the moment when the alternating voltage is chopped.
In this embodiment, as shown in fig. 3, the voltage detection circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1 and a first diode D1, the first diode D1 is a zener diode, one end of the first resistor R1 is a live input end of the voltage detection circuit, one end of the second resistor R2 is a zero input end of the voltage detection circuit, the other end of the first resistor R1 and the other end of the second resistor R2 are connected to a negative electrode of the first diode D1, an anode of the first diode D1, one end of the third resistor R3 and one end of the first capacitor C1 are connected, and a connection end of the first capacitor C1 and the other end of the third resistor R3 are connected, and a connection end of the first capacitor C1 is a ground end of the voltage detection circuit.
In this embodiment, as shown in fig. 3, the voltage regulator circuit includes a second capacitor C2, a third capacitor C3, a second diode D2, and a first chip U1, the second capacitor C2 is an electrolytic capacitor, the second diode D2 is a zener diode, the first chip U1 is a three-terminal voltage regulator circuit, and has an input pin, an output pin, and a negative electrode of the second diode D2, a positive electrode of the second capacitor C2, and an input pin of the first chip U1, and a connection end of the input pin is an input end of the zener voltage, the output pin of the first chip U1 is connected to one end of the third capacitor C3, and the connection end of the output pin is an output end of the voltage regulator circuit, the negative electrode of the second capacitor C2, the positive electrode of the second diode D2, and the other end of the third capacitor C3 are connected to a ground pin of the first chip U1, and a connection end of the voltage regulator circuit.
In this embodiment, the signal processing circuit is implemented by using a microprocessor chip U2 in the prior art, the microprocessor chip U2 has a positive power pin and a ground pin for connecting to a power supply, and is provided with a signal input pin and a signal output pin, the positive power pin of the microprocessor chip U2 is the positive electrode of the signal processing circuit, the ground pin is the ground terminal of the signal processing circuit, the signal input pin is the signal input terminal of the signal processing circuit, and the signal output pin is the color temperature signal output terminal of the signal processing circuit.
In this embodiment, as shown in fig. 3, the dimming control circuit includes a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a third diode D3, a first NMOS transistor N1, a third chip U3, and a fourth chip U4, the model of the third chip U3 is SM088, the model of the fourth chip U4 is SM2123, one end of the fourth resistor R4 is connected to one end of the fifth resistor R5, a connection end of the fourth resistor R465 is an anode of the dimming control circuit, the other end of the fourth resistor R4 is connected to the 1 st pin of the third chip U3, the 3 rd pin of the third chip U3 is connected to one end of the sixth resistor R6, the other end of the sixth resistor R6, one end of the seventh resistor R7, the 2 nd pin and the 4 th pin of the fourth chip U4, the fourth pin U2 and the fifth pin R6958 of the fourth chip U68656 are connected to the fourth pin 8653, and the other end of the fourth pin 8653 is a second pin 8653 of the dimming control circuit, the 3 rd pin of the fourth chip U4 is connected to one end of the eighth resistor R8, the other end of the eighth resistor R8, the gate of the first NMOS transistor N1 and the cathode of the third diode D3 are connected, and the connection end thereof is the color temperature control end of the dimming control circuit, the drain of the first NMOS transistor N1 is connected to the 1 st pin of the fourth chip U4, the 2 nd pin of the third chip U3, the other end of the seventh resistor R7, the bottom electrode of the fourth chip U4, the source of the first NMOS transistor N1 and the anode of the third diode D3 are connected, and the connection end thereof is the cathode of the dimming control circuit.
In this embodiment, as shown in fig. 3, the level shifter circuit includes a second NMOS transistor N2 and a ninth resistor R9, a gate of the second NMOS transistor N2 is an input terminal of the level shifter circuit, a source of the second NMOS transistor N2 is a ground terminal of the level shifter circuit, a drain of the second NMOS transistor N2 is connected to one end of the ninth resistor R9, and another end of the ninth resistor R9 is an output terminal of the level shifter circuit.
In this embodiment, as shown in fig. 3, the rectifying circuit is a full-bridge rectifier Db, the 1 st pin of the full-bridge rectifier Db is the live wire input end of the rectifying circuit, the 3 rd pin of the full-bridge rectifier Db is the zero line input end of the rectifying circuit, the 2 nd pin of the full-bridge rectifier Db is the output end of the rectifying circuit, and the 4 th pin of the full-bridge rectifier Db is the ground end of the rectifying circuit.

Claims (8)

1. A color temperature setting method of an intelligent dimmable LED lamp is characterized by comprising the following steps:
(1) when being in the state of turning on light to intelligent LED lamp of can adjusting luminance, the operating mode of the switch of dimmer defines: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is preset according to the switch operation habit of a common user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state after the color temperature is selected by a user during the second continuous switch operation;
(2) the method comprises the steps of storing minimum color temperature data S1 and maximum color temperature data S2 in an intelligent dimmable LED lamp, wherein the color temperature data conversion interval, the color temperature data conversion period, minimum brightness data L1, maximum brightness data L2, the maximum number of color temperature conversion cycles and the change corresponding relation between the color temperature S and the brightness L are as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a — S-L × k, a change correspondence between a color temperature S and a brightness L is updated synchronously with the update of a, wherein S is a color temperature determined at the time of setting, L is a brightness at the time of determining the color temperature, in a subsequent brightness adjustment process after the color temperature is set, when a value of a color temperature S calculated according to a new change correspondence between the color temperature S and the brightness L is less than or equal to S1, a value of S is S1, and if the calculated value of the color temperature S is greater than or equal to S2, S is S2;
(3) the intelligent dimmable LED lamp detects the time length of a zero-voltage signal input into the intelligent dimmable LED lamp in real time, records the time length of the zero-voltage signal input into the intelligent dimmable LED lamp as t, and judges and operates according to the detected time length t of the zero-voltage signal as follows:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lighting-on state, if a brightness adjusting signal sent by a brightness adjuster of the dimmer is not received, the color temperature of the intelligent dimmable LED lamp keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the intelligent dimmable LED lamp changes the current brightness according to the brightness adjusting signal, and according to a corresponding relation between the current color temperature S and the change of the brightness L, the color temperature data when the current brightness data are obtained is calculated to set the current color temperature;
if t is greater than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the intelligent dimmable LED lamp periodically transforms the color temperature from the lowest color temperature data according to the color temperature data transformation interval and the color temperature data transformation period, if the color temperature data is transformed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the continuous switch operation for the second time, the intelligent dimmable LED lamp carries out the next color temperature transformation from the lowest color temperature data again, when the times of the color temperature transformation process reach the maximum times of the color temperature transformation cycle, the intelligent dimmable LED lamp automatically exits from the color temperature transformation mode, and the corresponding relation between the brightness and the color temperature before the color temperature is set is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is more than or equal to t1, the switch of the dimmer is judged to be switched on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, and the color temperature data of the current brightness data is calculated through the corresponding relation between the current color temperature S and the change of the brightness L to set the current color temperature.
2. An intelligent dimmable LED lamp circuit is characterized by comprising a rectifying circuit, a voltage detection circuit, a signal processing circuit, a level conversion circuit, a dimming control module, an LED light emitting module and a voltage stabilizing circuit, wherein the LED light emitting module comprises a first LED light emitting circuit with high color temperature and a second LED light emitting circuit with low color temperature, the rectifying circuit is connected with a dimmer, when a switch of the dimmer is switched on, the rectifying circuit is connected with mains supply through the dimmer and converts the mains supply alternating voltage input into the mains supply alternating voltage into pulse direct current voltage to be output, the dimming control circuit is connected with the rectifying circuit and is used for converting the pulse direct current voltage output by the rectifying circuit into direct current to be output, and the dimming control circuit, the voltage stabilizing circuit, the first LED light emitting circuit and the second LED light emitting circuit are all connected with the rectifying circuit, the voltage detection circuit is connected with the dimmer, detects the voltage signal input into the dimmer and generates a detection signal output, when the instantaneous value of the voltage signal input into the dimmer is zero, the detection signal is at a low level, when the instantaneous value of the voltage signal input into the dimmer is not zero, the detection signal is at a high level, the signal processing circuit is connected with the voltage detection circuit and is connected with the detection signal output by the voltage detection circuit, the level conversion circuit is respectively connected with the signal processing circuit and the dimming control circuit, the level conversion circuit is used for converting the color temperature control signal output by the signal processing circuit into a level signal which can be matched with the dimming control circuit, and the dimming control circuit is respectively connected with the first LED light-emitting circuit and the second LED light-emitting circuit, the dimming control circuit converts the level signal output by the level conversion circuit into two paths of direct currents, wherein one path of direct current drives the first LED light-emitting circuit to emit light, the other path of direct current drives the second LED light-emitting circuit to emit light, the sum of the two paths of direct currents is matched with the brightness of the LED light-emitting module, the proportion of the two paths of direct currents is matched with the color temperature of the LED light-emitting module, the voltage stabilizing circuit is connected with the dimming control circuit, and the current flowing through the dimming control circuit is converted into direct current voltage to supply power for the signal processing circuit; the signal processing circuit is internally stored with lowest color temperature data S1 and highest color temperature data S2, a color temperature data conversion interval, a color temperature data conversion period, lowest brightness data L1, highest brightness data L2, maximum times of color temperature conversion circulation and a corresponding relation between the color temperature S and the change of the brightness L, the signal processing circuit obtains the value of the brightness L of the intelligent dimmable LED lamp circuit by detecting the time width of a high-level detection signal output by the voltage detection circuit in real time, the color temperature S of the intelligent dimmable LED lamp circuit corresponds to a color temperature control signal output by the signal processing circuit, and the corresponding relation between the change of the color temperature S and the change of the brightness L is as follows: s is L × k + a, k is a color temperature and brightness change coefficient, k is (S2-S1)/(L2-L1), an initial value of a is S1, when a user sets a color temperature, a value of a is updated according to a relation a — S-L × k, a change correspondence between a color temperature S and a brightness L is updated synchronously with the update of a, where S is a color temperature value determined at the time of setting, L is a brightness value at the time of setting the color temperature, when a value of a color temperature S calculated according to the change correspondence between the color temperature S and the brightness L is equal to or less than S1, the value of S is S1, and if the calculated value of the color temperature S is equal to or greater than S2, the value of S is S2; when the intelligent dimmable LED lamp is in a light-on state, the operation mode of a switch of the dimmer is defined as follows: when the switch of the dimmer is turned off and the turn-off time is more than or equal to t1, the operation of the switch of the dimmer is defined as the on operation after the lamp is turned off, when the switch of the dimmer is turned off, the intelligent dimmable LED lamp is switched from the on state to the off state, t1 is set according to the switch operation habit of a user, and the time is generally about 5 seconds; when a switch of the dimmer is firstly disconnected and then connected, and the disconnection time is more than 20 milliseconds and less than t1, the on-off operation of the switch of the dimmer is defined as one continuous switch operation, two continuous switch operations are used as one group, in each group, the intelligent dimmable LED lamp enters a color temperature setting state during the first continuous switch operation, and the intelligent dimmable LED lamp exits the color temperature setting state during the second continuous switch operation; the signal processing circuit analyzes the high level time of the detection signal to obtain brightness data, and judges the operation mode of the switch of the dimmer based on the time length of each low level output by the voltage detection circuit by reading the time length of the zero voltage signal so as to judge whether to enter a color temperature setting state, and records the time length of the low level output by the voltage detection circuit as t; the intelligent dimmable LED lamp is judged and operated as follows according to the detected duration t of the low level output by the voltage detection circuit:
if t is less than 20 milliseconds, the switch of the dimmer is judged to be in a conducting state at the moment, the intelligent dimmable LED lamp is in a lighting-on state, if a brightness adjusting signal sent by the brightness adjuster of the dimmer is not received, the color temperature control signal output by the signal processing circuit keeps the current data unchanged, if the brightness adjusting signal sent by the brightness adjuster of the dimmer is received, the current brightness of the intelligent dimmable LED lamp is changed according to the brightness adjusting signal, the color temperature data when the current brightness data is obtained is calculated according to the corresponding relation between the current color temperature S and the change of the brightness L, and the corresponding color temperature control signal is generated based on the color temperature data;
if t is greater than or equal to 20 milliseconds and less than t1, the switch of the dimmer is judged to perform one continuous switching operation, and the intelligent dimmable LED lamp is in a light-on state; if the continuous switch operation is the first time in a group of continuous switch operations, the color temperature control signal output by the signal processing circuit starts to change periodically, so that the intelligent dimmable LED lamp starts from the lowest color temperature data, the color temperature is periodically changed according to the color temperature data change interval and the color temperature data change period, if the color temperature data is changed to the maximum reference value of the color temperature data, the switch of the dimmer does not carry out the second continuous switch operation, the intelligent dimmable LED lamp starts to carry out the next color temperature change from the lowest color temperature data again, when the frequency of the color temperature change process reaches the maximum frequency of the color temperature change circulation, the color temperature change mode is automatically exited, and the corresponding relation formula of the brightness and the color temperature before the color temperature setting is kept unchanged; if the continuous switch operation is the second time in the group of continuous switch operations, the color temperature setting of the intelligent dimmable LED lamp is finished at the moment, the intelligent dimmable LED lamp exits the color temperature setting state, meanwhile, the intelligent dimmable LED lamp adopts the current color temperature and the current brightness to update A in the corresponding relation between the color temperature S and the brightness L, so that the corresponding relation between the color temperature S and the brightness L is updated, and the updated corresponding relation between the color temperature S and the brightness L is used as the corresponding relation between the current color temperature S and the brightness L;
if t is more than or equal to t1, the switch of the dimmer is judged to be switched on after the light is turned off, and the intelligent dimmable LED lamp is switched from the light-off state to the light-on state; the intelligent dimmable LED lamp acquires current brightness data, the data processor calculates color temperature data of the current brightness data according to a change corresponding relation between the current color temperature S and the brightness L, and generates a corresponding color temperature control signal to set the current color temperature.
3. The intelligent dimmable LED lamp circuit according to claim 2, wherein the rectifying circuit has a live wire input terminal, a null wire input terminal, an output terminal and a ground terminal, the voltage detection circuit has a live wire input terminal, a null wire input terminal, an output terminal and a ground terminal, the signal processing circuit has a positive electrode, a signal input terminal, a color temperature signal output terminal and a ground terminal, the dimming control circuit has a positive electrode, a color temperature control terminal, a first output terminal, a second output terminal and a negative electrode, the first LED light emitting circuit and the second LED light emitting circuit have a positive electrode and a negative electrode, the level shifter circuit has an input terminal, an output terminal and a ground terminal, the regulated voltage has an input terminal, an output terminal and a ground terminal, the live wire input terminal of the rectifying circuit is connected with the live wire input terminal of the voltage detection circuit, and the connection terminal is the live wire input terminal of the intelligent dimmable LED lamp circuit, the zero line input end of the rectifying circuit is connected with the zero line input end of the voltage detection circuit, the connecting end of the rectifying circuit is the zero line input end of the intelligent dimmable LED lamp circuit, the output end of the rectifying circuit is respectively connected with the anode of the dimming control circuit, the anode of the first LED light-emitting circuit and the anode of the second LED light-emitting circuit, the output end of the voltage detection circuit is connected with the signal input end of the signal processing circuit, the color temperature signal output end of the signal processing circuit is connected with the input end of the level conversion circuit, the output end of the level conversion circuit is connected with the color temperature control end of the dimming control circuit, the first output end of the dimming control circuit is connected with the cathode of the first LED light-emitting circuit, the second output end of the dimming control circuit is connected with the cathode of the second LED light-emitting circuit, the negative pole of the light-adjusting control circuit is connected with the input end of the voltage stabilizing circuit, the output end of the voltage stabilizing circuit is connected with the positive pole of the signal processing circuit, the grounding end of the rectifying circuit, the grounding end of the voltage detection circuit, the grounding end of the voltage stabilizing circuit and the grounding end of the signal processing circuit are connected with the grounding end of the level conversion circuit, the live wire input end of the circuit of the intelligent light-adjustable LED lamp is connected with the output end of the brightness regulator of the light modulator, the zero line input end of the circuit of the intelligent light-adjustable LED lamp is connected with the zero line of the commercial power, the rectifying circuit converts the accessed alternating current voltage into the pulse direct current voltage and outputs the pulse direct current voltage at the output end, and the light-adjusting control circuit obtains the effective voltage output by the rectifying circuit according to the pulse direct current voltage output by the, the effective voltage output by the rectifying circuit is converted into corresponding total current, and is divided into two paths of direct current according to corresponding current proportion to respectively drive the first LED light-emitting circuit and the second LED light-emitting circuit to emit light under the control of a color temperature control signal connected to a color temperature control end of the rectifying circuit, a reference voltage is set in the voltage detection circuit, when the voltage detection circuit detects that the absolute value of alternating voltage between a live wire input end and a zero line input end of the intelligent dimmable LED lamp circuit is smaller than the internally set reference voltage, the output end of the voltage detection circuit outputs a low-level detection signal, and when the absolute value of the alternating voltage between the live wire input end and the zero line input end of the intelligent dimmable LED lamp circuit is detected to be larger than or equal to the set reference voltage, the output end of the voltage detection circuit outputs a high-level detection signal, the reference voltage of the voltage detection circuit is set according to the voltage at the moment when the dimmer chops the alternating-current voltage.
4. An intelligent dimmable LED lamp circuit according to claim 3, wherein the voltage detection circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor and a first diode, the first diode is a voltage stabilizing diode, one end of the first resistor is the live wire input end of the voltage detection circuit, one end of the second resistor is the zero line input end of the voltage detection circuit, the other end of the first resistor and the other end of the second resistor are connected with the cathode of the first diode, the anode of the first diode, one end of the third resistor and one end of the first capacitor are connected, and the connection end of the third resistor and one end of the first capacitor is the output end of the voltage detection circuit, the other end of the first capacitor is connected with the other end of the third resistor, and the connecting end of the first capacitor is the grounding end of the voltage detection circuit.
5. An intelligent dimmable LED lamp circuit according to claim 3, wherein the voltage regulator circuit comprises a second capacitor, a third capacitor, a second diode, and the first chip, the second capacitor is an electrolytic capacitor, the second diode is a voltage stabilizing diode, the first chip is a three-terminal voltage stabilizing circuit and is provided with an input pin, an output pin and a voltage stabilizing circuit, the cathode of the second diode, the anode of the second capacitor and the input pin of the first chip are connected, and the connection end of the second diode and the anode of the second capacitor is the input end of the stabilized voltage, the output pin of the first chip is connected with one end of the third capacitor, the connection end of the third capacitor is the output end of the voltage stabilizing circuit, the negative electrode of the second capacitor, the positive electrode of the second diode, the other end of the third capacitor and the grounding pin of the first chip are connected, and the connecting end of the third capacitor is the grounding end of the voltage stabilizing circuit.
6. An intelligent dimmable LED lamp circuit according to claim 3, wherein the dimming control circuit includes a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a third diode, a first NMOS transistor, a third chip and a fourth chip, the model of the third chip is SM088, the model of the fourth chip is SM2123, one end of the fourth resistor is connected to one end of the fifth resistor, and the connection end is the positive electrode of the dimming control circuit, the other end of the fourth resistor is connected to the 1 st pin of the third chip, the 3 rd pin of the third chip is connected to one end of the sixth resistor, the other end of the sixth resistor, one end of the seventh resistor, the 2 nd pin of the fourth chip is connected to the 4 th pin, the 8 th pin of the fourth chip is connected to the other end of the fifth resistor, the fourth chip the 6 th pin be the dimming control circuit's first output, the fourth chip the 5 th pin be the dimming control circuit's second output, the fourth chip the 3 rd pin with the eighth resistance one end connect, the other end of eighth resistance, the grid of first NMOS pipe and the negative pole of third diode connect and its link be the dimming control circuit's colour temperature control end, the drain electrode of first NMOS pipe and the fourth chip the 1 st pin connect, the third chip the 2 nd pin, the other end of seventh resistance, fourth chip bottom electrode, the source electrode of first NMOS pipe and the positive pole of third diode connect and its link be the dimming control circuit's negative pole.
7. An intelligent dimmable LED lamp circuit according to claim 3, wherein the level shifter circuit includes a second NMOS transistor and a ninth resistor, a gate of the second NMOS transistor is an input terminal of the level shifter circuit, a source of the second NMOS transistor is a ground terminal of the level shifter circuit, a drain of the second NMOS transistor is connected to one end of the ninth resistor, and another end of the ninth resistor is an output terminal of the level shifter circuit.
8. An intelligent dimmable LED lamp circuit according to claim 3, wherein the rectifying circuit is a full-bridge rectifier bridge stack, the 1 st pin of the full-bridge rectifier bridge stack is the live wire input terminal of the rectifying circuit, the 3 rd pin of the full-bridge rectifier bridge stack is the neutral wire input terminal of the rectifying circuit, the 2 nd pin of the full-bridge rectifier bridge stack is the output terminal of the rectifying circuit, and the 4 th pin of the full-bridge rectifier bridge stack is the ground terminal of the rectifying circuit.
CN201910658546.9A 2019-07-22 2019-07-22 Color temperature setting method and circuit of intelligent dimmable LED lamp Active CN110475403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910658546.9A CN110475403B (en) 2019-07-22 2019-07-22 Color temperature setting method and circuit of intelligent dimmable LED lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910658546.9A CN110475403B (en) 2019-07-22 2019-07-22 Color temperature setting method and circuit of intelligent dimmable LED lamp

Publications (2)

Publication Number Publication Date
CN110475403A CN110475403A (en) 2019-11-19
CN110475403B true CN110475403B (en) 2021-06-11

Family

ID=68508187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910658546.9A Active CN110475403B (en) 2019-07-22 2019-07-22 Color temperature setting method and circuit of intelligent dimmable LED lamp

Country Status (1)

Country Link
CN (1) CN110475403B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015284A (en) * 2021-03-22 2021-06-22 宁波亚茂光电股份有限公司 LED control circuit and lighting system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3409365B2 (en) * 1993-06-15 2003-05-26 松下電工株式会社 Variable color lighting system
CN201995188U (en) * 2011-03-29 2011-09-28 黄坚 LED (light-emitting diode) film and television lamp with adjustable color temperature and brightness
CN102883498B (en) * 2011-07-13 2015-04-01 光宝电子(广州)有限公司 Storage dimming method, storage type dimming lamp and dimming driving circuit
JP5816074B2 (en) * 2011-12-21 2015-11-17 コイズミ照明株式会社 Lighting device
JP6074703B2 (en) * 2012-12-20 2017-02-08 パナソニックIpマネジメント株式会社 LED lighting device and LED light emitting module
US8947002B2 (en) * 2013-03-15 2015-02-03 Switch Bulb Company, Inc. LED bulb with color-shift dimming
CN103917021B (en) * 2014-03-14 2017-01-04 佛山市方田科技有限公司 A kind of LED lamp based on electronic light modulator light modulation shading process and system
CN205610982U (en) * 2016-03-28 2016-09-28 阿坝师范学院 LED lamp that LED lamp switch was adjusted luminance and is mixed colours and review drive circuit and have it
CN105813269A (en) * 2016-05-06 2016-07-27 施必伟 Intelligent lamp band controller
CN107580387B (en) * 2017-09-06 2020-06-30 深圳市晟碟半导体有限公司 Device and method for simultaneously adjusting brightness and color temperature and LED lamp
CN208337945U (en) * 2018-06-01 2019-01-04 新和(绍兴)绿色照明有限公司 A kind of linear constant current LED lamp circuit with function of emergency illumination

Also Published As

Publication number Publication date
CN110475403A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN109246885B (en) Phase-cut dimming device of LED
CN104349551B (en) Luminaire and lamp device for the luminaire
AU2011310149B2 (en) LED illumination apparatus and LED illumination system
CN105309045B (en) System and method for learning light modulator characteristic
CN111148320A (en) Light control circuit of LED lamp
CN202455601U (en) Intelligent light-controlled LED (Light Emitting Diode) lighting device
CN110475403B (en) Color temperature setting method and circuit of intelligent dimmable LED lamp
CN108012367B (en) A kind of PWM light-dimming method of LED
CN106658832B (en) A kind of LED power dimming controlling method
CN110519889B (en) Intelligent dimming device and method for outdoor indicator lamp
CN200997711Y (en) Self-adaptive energy-saving controllable sub-system for illuminating network
CN106793249A (en) A kind of efficient LED driving power source system
CN109792820A (en) Dimmer switch system and method
CN103096563A (en) Dimming control system based on multiple paths of lighting light-emitting diodes (LEDs)
CN205356745U (en) Light intensity adjustable intelligence lighting control device
CN210579360U (en) Intelligent dimming device for outdoor indicator lamp
CN108882430A (en) Has the LED lamp of automatic dimming function
CN106793248B (en) A kind of LED energy conservation driving method
CN103228083A (en) Intelligent dimming LED driving power supply
CN112969258A (en) Infrared intelligent light modulator is got to single live wire of silicon controlled rectifier
CN207443178U (en) LED touch stepless dimming color-temperature regulating driving power
CN211429597U (en) Light control circuit of LED lamp
CN200947591Y (en) Single input automatic light-tuning electronic switch
CN219577304U (en) LED drive circuit and LED lamp
CN110446295A (en) A kind of remote-controlled dimmer circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant