CN105657932B - Light source driving circuit and brightness and color-temperature controller - Google Patents
Light source driving circuit and brightness and color-temperature controller Download PDFInfo
- Publication number
- CN105657932B CN105657932B CN201410729730.5A CN201410729730A CN105657932B CN 105657932 B CN105657932 B CN 105657932B CN 201410729730 A CN201410729730 A CN 201410729730A CN 105657932 B CN105657932 B CN 105657932B
- Authority
- CN
- China
- Prior art keywords
- color temperature
- light source
- signal
- brightness
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/20—Controlling the colour of the light
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/31—Phase-control circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/32—Pulse-control circuits
- H05B45/325—Pulse-width modulation [PWM]
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/37—Converter circuits
- H05B45/3725—Switched mode power supply [SMPS]
- H05B45/385—Switched mode power supply [SMPS] using flyback topology
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/40—Details of LED load circuits
- H05B45/44—Details of LED load circuits with an active control inside an LED matrix
- H05B45/46—Details of LED load circuits with an active control inside an LED matrix having LEDs disposed in parallel lines
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
本发明公开了一种光源驱动电路及亮度和色温控制器。光源驱动电路用于调节光源的亮度和色温,并且包括电力转换器及耦合于电力转换器的亮度和色温控制器。电力转换器耦合在电源与光源之间,用于从电源接收电能并且向光源提供调节后的电能。亮度和色温控制器用于接收指示耦合于电源与电力转换器之间的三端可控硅调光器的导通状态的导通检测信号,并且基于导通检测信号来调整光源的亮度。亮度和色温控制器还用于接收指示耦合于三端可控硅调光器的通/断开关的操作的开关监测信号,并且基于开关监测信号来调整光源的色温。本发明通过对电源开关的操作来同时实现对光源亮度和色温的调节,无需使用额外的专用器件,简单便捷且节省了成本。
The invention discloses a light source drive circuit and a brightness and color temperature controller. The light source driving circuit is used to adjust the brightness and color temperature of the light source, and includes a power converter and a brightness and color temperature controller coupled to the power converter. A power converter is coupled between the power source and the light source for receiving power from the power source and providing conditioned power to the light source. The brightness and color temperature controller is configured to receive a conduction detection signal indicative of a conduction state of a triac dimmer coupled between the power supply and the power converter, and adjust the brightness of the light source based on the conduction detection signal. The brightness and color temperature controller is also configured to receive a switch monitor signal indicative of operation of an on/off switch coupled to the triac dimmer and to adjust the color temperature of the light source based on the switch monitor signal. The invention realizes the adjustment of the brightness and color temperature of the light source at the same time through the operation of the power switch, without using additional special devices, which is simple, convenient and cost-saving.
Description
技术领域technical field
本发明涉及光源领域,尤其涉及一种光源驱动电路及亮度和色温控制器。The invention relates to the field of light sources, in particular to a light source driving circuit and a brightness and color temperature controller.
背景技术Background technique
近年来,发光二极管(light-emitting diode,LED)等新型光源在材料和制造上都取得了进步。LED具有高效率、长寿命、颜色鲜艳等特点,可以应用于汽车、电脑、通信、军事和日用品等领域。比如,LED灯可以替代传统的白炽灯作为照明光源。In recent years, new light sources such as light-emitting diodes (light-emitting diodes, LEDs) have made progress in materials and manufacturing. LED has the characteristics of high efficiency, long life, bright colors, etc., and can be used in the fields of automobiles, computers, communications, military and daily necessities. For example, LED lamps can replace traditional incandescent lamps as lighting sources.
可以采用不同的方式来调节光源。比如,电力转换器接收交流电源提供的交流电压,并产生直流电压为LED光源供电。控制器根据耦合在交流电源和电力转换器之间的调光器来调整电力转换器的输出,从而调整LED光源的亮度。该调光器可以是三端可控硅(TRIAC)调光器或是开/关(ON/OFF)调光器。然而,这种调光器都只能用于调节光源亮度而无法调整光源的色温。The light source can be adjusted in different ways. For example, a power converter receives an AC voltage from an AC power source and generates a DC voltage to power an LED light source. The controller adjusts the output of the power converter according to the dimmer coupled between the AC power source and the power converter, thereby adjusting the brightness of the LED light source. The dimmer may be a triac thyristor (TRIAC) dimmer or an ON/OFF dimmer. However, such dimmers can only be used to adjust the brightness of the light source but cannot adjust the color temperature of the light source.
发明内容Contents of the invention
本发明要解决的技术问题在于提供一种光源驱动电路及亮度和色温控制器,能够以简单便捷的方式来实现对光源亮度和色温的调节。The technical problem to be solved by the present invention is to provide a light source driving circuit and a brightness and color temperature controller, which can realize the adjustment of the brightness and color temperature of the light source in a simple and convenient manner.
为解决上述技术问题,本发明提供了一种光源驱动电路,用于调节光源的亮度和色温。光源驱动电路包括:电力转换器,耦合在电源与所述光源之间,用于从所述电源接收电能并且向所述光源提供调节后的电能;以及亮度和色温控制器,耦合于所述电力转换器,用于接收指示耦合于所述电源与所述电力转换器之间的TRIAC调光器的导通状态的导通检测信号,并且基于所述导通检测信号来调整所述光源的亮度,其中所述亮度和色温控制器还用于接收指示耦合于所述TRIAC调光器的通/断(ON/OFF)开关的操作的开关监测信号,并且基于所述开关监测信号来调整所述光源的色温。In order to solve the above technical problems, the present invention provides a light source driving circuit for adjusting the brightness and color temperature of the light source. The light source drive circuit includes: a power converter coupled between a power source and the light source for receiving power from the power source and providing regulated power to the light source; and a brightness and color temperature controller coupled to the power source a converter for receiving a conduction detection signal indicative of a conduction state of a TRIAC dimmer coupled between the power source and the power converter, and adjusting brightness of the light source based on the conduction detection signal , wherein the brightness and color temperature controller is further configured to receive a switch monitor signal indicative of operation of an ON/OFF switch coupled to the TRIAC dimmer, and adjust the The color temperature of the light source.
本发明还提供了一种亮度和色温控制器,所述亮度和色温控制器包括:信号产生器,用于产生与流经光源的平均电流成比例的监测信号;TRIAC监测器,用于接收指示耦合于电源与电力转换器之间的TRIAC调光器的导通状态的导通检测信号并且根据所述导通检测信号来产生指示流经所述光源的平均电流的目标值的参考信号;驱动器,耦合于所述信号产生器和所述TRIAC监测器,用于根据所述监测信号和所述参考信号来产生驱动信号以控制所述电力转换器提供调节后的电能给所述光源;以及色温控制单元,用于接收指示耦合于所述TRIAC调光器的ON/OFF开关的操作的开关监测信号,并且基于所述开关监测信号调整所述光源的色温。The present invention also provides a brightness and color temperature controller, which includes: a signal generator for generating a monitoring signal proportional to the average current flowing through the light source; a TRIAC monitor for receiving indication a conduction detection signal of a conduction state of a TRIAC dimmer coupled between a power supply and a power converter and generating a reference signal indicative of a target value of an average current flowing through said light source based on said conduction detection signal; a driver , coupled to the signal generator and the TRIAC monitor, for generating a driving signal according to the monitoring signal and the reference signal to control the power converter to provide regulated power to the light source; and color temperature A control unit for receiving a switch monitoring signal indicative of operation of an ON/OFF switch coupled to the TRIAC dimmer, and adjusting the color temperature of the light source based on the switch monitoring signal.
与现有技术相比,本发明的光源驱动电路及亮度和色温控制器能够通过对电源开关(例如,包括ON/OFF开关和TRIAC调光器)的操作来同时实现对光源亮度和色温的调节,无需使用额外的专用器件,简单便捷且节省了成本。Compared with the prior art, the light source driving circuit and the brightness and color temperature controller of the present invention can simultaneously realize the adjustment of the brightness and color temperature of the light source by operating the power switch (for example, including an ON/OFF switch and a TRIAC dimmer) , no need to use additional special devices, simple, convenient and cost-saving.
附图说明Description of drawings
以下通过对本发明的一些实施例结合其附图的描述,可以进一步理解本发明的目的、具体结构特征和优点。The purpose, specific structural features and advantages of the present invention can be further understood through the description of some embodiments of the present invention in conjunction with the accompanying drawings.
图1A所示为根据本发明实施例的光源驱动电路的方框图;FIG. 1A is a block diagram of a light source driving circuit according to an embodiment of the present invention;
图1B所示为根据本发明实施例的包含ON/OFF开关和TRIAC调光器的光源驱动电路的方框图;FIG. 1B is a block diagram of a light source driving circuit including an ON/OFF switch and a TRIAC dimmer according to an embodiment of the present invention;
图1C所示为图1B中TRIAC调光器生成或接收的信号波形图;Fig. 1C is a waveform diagram of signals generated or received by the TRIAC dimmer in Fig. 1B;
图2所示为图1A和图1B中的电源开关的一个实施例的示意图;Figure 2 is a schematic diagram of an embodiment of the power switch in Figure 1A and Figure 1B;
图3所示为根据本发明实施例的光源驱动电路的电路示意图;FIG. 3 is a schematic circuit diagram of a light source driving circuit according to an embodiment of the present invention;
图4所示为图3中的亮度和色温控制器的结构示意图;FIG. 4 is a schematic structural diagram of the brightness and color temperature controller in FIG. 3;
图5所示为图4中的TRIAC监测器的结构示意图;Figure 5 shows a schematic structural view of the TRIAC monitor in Figure 4;
图6所示为图4中的色温控制模块的结构示意图;FIG. 6 is a schematic structural diagram of the color temperature control module in FIG. 4;
图7所示为根据本发明实施例的包含图6所示的色温控制模块的光源驱动电路的信号波形图;FIG. 7 is a signal waveform diagram of a light source driving circuit including the color temperature control module shown in FIG. 6 according to an embodiment of the present invention;
图8所示为根据本发明另一实施例的包含图6所示的色温控制模块的光源驱动电路的信号波形图;以及FIG. 8 is a signal waveform diagram of a light source driving circuit including the color temperature control module shown in FIG. 6 according to another embodiment of the present invention; and
图9所示为根据本发明实施例的控制光源亮度和色温的方法流程图。Fig. 9 is a flowchart of a method for controlling the brightness and color temperature of a light source according to an embodiment of the present invention.
具体实施方式Detailed ways
以下将对本发明的实施例给出详细的参考。尽管本发明通过这些实施方式进行阐述和说明,但需要注意的是本发明并不仅仅只局限于这些实施方式。相反,本发明涵盖所附权利要求所定义的发明精神和发明范围内的所有替代物、变体和等同物。Detailed reference will be given below to examples of the present invention. Although the present invention has been illustrated and illustrated by these embodiments, it should be noted that the present invention is not limited to these embodiments. On the contrary, the invention covers all alternatives, modifications and equivalents which are within the spirit and scope of the invention as defined by the appended claims.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员将理解,没有这些具体细节,本发明同样可以实施。在另外一些实例中,对于大家熟知的方法、手续、元件和电路未作详细描述,以便于凸显本发明的主旨。In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the gist of the present invention.
图1A所示为根据本发明实施例的光源驱动电路100的方框图。在一个实施例中,光源包含第一发光元件(例如,第一LED链120)和第二发光元件(例如,第二LED链130)。第二LED链130可以具有与第一LED链120不同的色温值,例如,第一LED链120具有第一色温值,而第二LED链130具有第二色温值。耦合在电源VIN与光源驱动电路100之间的电源开关101包含ON/OFF开关102(例如,翘板开关)和TRIAC调光器104,将电源VIN选择性地耦合于光源驱动电路100。值得注意的是,虽然在图1A中ON/OFF开关102耦合在TRIAC调光器104之前,但是这并非限制性的。例如,如图3所示,ON/OFF开关102可耦合在TRIAC调光器104之后。在一个实施例中,电源开关101可以是置于墙面上的电源开关。如图2所示,该电源开关101分为上半部分的TRIAC调光器104和下半部分的ON/OFF开关102。在操作中,通过将ON/OFF开关102切换至ON端或OFF端,电源开关101的导电状态可由用户控制为闭合或断开,并且通过对ON/OFF开关102的操作(例如,断开操作)来调整光源的色温。同时,用户还可通过对TRIAC调光器104的操作(例如,旋钮操作)来调整光源的亮度。FIG. 1A is a block diagram of a light source driving circuit 100 according to an embodiment of the present invention. In one embodiment, the light source includes a first light emitting element (eg, first LED chain 120 ) and a second light emitting element (eg, second LED chain 130 ). The second LED chain 130 may have a different color temperature value than the first LED chain 120, for example, the first LED chain 120 has a first color temperature value and the second LED chain 130 has a second color temperature value. A power switch 101 coupled between the power V IN and the light source driving circuit 100 includes an ON/OFF switch 102 (eg, a rocker switch) and a TRIAC dimmer 104 to selectively couple the power V IN to the light source driving circuit 100 . It is worth noting that although ON/OFF switch 102 is coupled before TRIAC dimmer 104 in FIG. 1A , this is not limiting. For example, ON/OFF switch 102 may be coupled after TRIAC dimmer 104 as shown in FIG. 3 . In one embodiment, the power switch 101 may be a power switch placed on a wall. As shown in FIG. 2 , the power switch 101 is divided into a TRIAC dimmer 104 in the upper part and an ON/OFF switch 102 in the lower part. In operation, by switching the ON/OFF switch 102 to the ON terminal or the OFF terminal, the conduction state of the power switch 101 can be controlled by the user to be closed or open, and through the operation of the ON/OFF switch 102 (for example, an open operation ) to adjust the color temperature of the light source. At the same time, the user can also adjust the brightness of the light source by operating the TRIAC dimmer 104 (eg, knob operation).
来自电源的交流输入电压VIN经由ON/OFF开关102和TRIAC调光器104转换成交流电压VTRIAC。光源驱动电路100包括用于将交流电压VTRIAC转换成整流电压VREC的整流器106、耦合在整流器106与光源(例如,第一LED链120和第二LED链130)之间的电力转换器108、亮度和色温控制器112、第一控制开关122和第二控制开关132。电力转换器108用于从整流器106接收整流电压VREC并且向光源(例如,第一LED链120和第二LED链130)提供调节后的输出电流IOUT。电力转换器108包括具有原边绕组和副边绕组的变压器110。The AC input voltage V IN from the power source is converted into an AC voltage V TRIAC via the ON/OFF switch 102 and the TRIAC dimmer 104 . The light source driver circuit 100 includes a rectifier 106 for converting an alternating voltage V TRIAC to a rectified voltage V REC , a power converter 108 coupled between the rectifier 106 and the light sources (e.g., first LED string 120 and second LED string 130 ). , a brightness and color temperature controller 112 , a first control switch 122 and a second control switch 132 . The power converter 108 is configured to receive the rectified voltage V REC from the rectifier 106 and provide a regulated output current I OUT to the light sources (eg, the first LED string 120 and the second LED string 130 ). The power converter 108 includes a transformer 110 having a primary winding and a secondary winding.
亮度和色温控制器112耦合在变压器110的原边绕组与光源(例如,第一LED链120和第二LED链130)之间,用于接收指示ON/OFF开关102的操作(例如,断开操作)的开关监测信号TS,并基于开关监测信号TS来调整光源(例如,第一LED链120和第二LED链130)的色温。如图1A所示,亮度和色温控制器112根据开关监测信号TS产生第一控制信号CTR1和第二控制信号CTR2来分别控制第一LED链120和第二LED链130。The brightness and color temperature controller 112 is coupled between the primary winding of the transformer 110 and the light sources (e.g., the first LED string 120 and the second LED string 130) for receiving instructions indicating the operation of the ON/OFF switch 102 (e.g., turning off operation) switch monitor signal TS, and adjust the color temperature of the light source (eg, the first LED chain 120 and the second LED chain 130 ) based on the switch monitor signal TS. As shown in FIG. 1A , the brightness and color temperature controller 112 generates a first control signal CTR1 and a second control signal CTR2 according to the switch monitoring signal TS to control the first LED chain 120 and the second LED chain 130 respectively.
第一控制信号CTR1选择性地接通耦合在亮度和色温控制器112与第一LED链120之间的第一控制开关122,以使光源的色温被调整为第一色温值。第二控制信号CTR2选择性地接通耦合在亮度和色温控制器112与第二LED链130之间的第二控制开关132,以使光源的色温被调整为第二色温值。更具体地说,如果第一控制信号CTR1接通耦合在亮度和色温控制器112与第一LED链120之间的第一控制开关122,则电流ILED1流经第一LED链120并且光源的色温被调整为第一色温值;如果第二控制信号CTR2接通耦合在亮度和色温控制器112与第二LED链130之间的第二控制开关132,则电流ILED2流经第二LED链130并且光源的色温被调整为第二色温值。The first control signal CTR1 selectively turns on the first control switch 122 coupled between the brightness and color temperature controller 112 and the first LED string 120 so that the color temperature of the light source is adjusted to a first color temperature value. The second control signal CTR2 selectively turns on the second control switch 132 coupled between the brightness and color temperature controller 112 and the second LED chain 130 so that the color temperature of the light source is adjusted to a second color temperature value. More specifically, if the first control signal CTR1 turns on the first control switch 122 coupled between the brightness and color temperature controller 112 and the first LED chain 120, the current I LED1 flows through the first LED chain 120 and the light source's The color temperature is adjusted to the first color temperature value; if the second control signal CTR2 turns on the second control switch 132 coupled between the brightness and color temperature controller 112 and the second LED chain 130, the current I LED2 flows through the second LED chain 130 and the color temperature of the light source is adjusted to the second color temperature value.
此外,亮度和色温控制器112还用于接收指示TRIAC调光器104的导通状态(例如,在0-180度之间的导通角度)的导通检测信号TD,并基于导通检测信号TD来调整光源的亮度(例如,电流ILED1或电流ILED2的值)。具体地,可结合图1B和图1C来理解该调整亮度的操作,图1B所示为根据本发明实施例的包含ON/OFF开关102和TRIAC调光器104的光源驱动电路100的方框图。如图1B所示,TRIAC调光器104包括耦合在ON/OFF开关102与整流器106之间的TRIAC器件202。TRIAC器件202具有端口A1、端口A2和栅极G。TRIAC调光器104还包括串联耦合的可变电阻204和电容206,以及二端交流(Diode for Alternating Current,DIAC)器件208。DIAC器件208的一端耦合至电容206,另一端耦合至TRIAC器件202的栅极G。TRIAC器件202为双向开关,一旦被触发可在任一方向导通电流。TRIAC器件202可由施加至栅极G的正电流或负电流触发。一旦被触发,TRIAC器件202将在流过端口A1和端口A2的电流下降至阈值(例如,保持电流IH)之前保持导通。In addition, the brightness and color temperature controller 112 is also configured to receive a conduction detection signal TD indicating the conduction state of the TRIAC dimmer 104 (for example, a conduction angle between 0-180 degrees), and based on the conduction detection signal TD to adjust the brightness of the light source (for example, the value of current I LED1 or current I LED2 ). Specifically, the operation of adjusting brightness can be understood in conjunction with FIG. 1B and FIG. 1C , and FIG. 1B shows a block diagram of a light source driving circuit 100 including an ON/OFF switch 102 and a TRIAC dimmer 104 according to an embodiment of the present invention. As shown in FIG. 1B , TRIAC dimmer 104 includes TRIAC device 202 coupled between ON/OFF switch 102 and rectifier 106 . TRIAC device 202 has port A1 , port A2 and gate G . The TRIAC dimmer 104 further includes a variable resistor 204 and a capacitor 206 coupled in series, and a Diode for Alternating Current (DIAC) device 208 . One end of the DIAC device 208 is coupled to the capacitor 206 and the other end is coupled to the gate G of the TRIAC device 202 . TRIAC device 202 is a bi-directional switch that can conduct current in either direction once triggered. TRIAC device 202 can be triggered by positive or negative current applied to gate G. Once triggered, TRIAC device 202 will remain on until the current flowing through port A1 and port A2 falls below a threshold (eg, holding current I H ).
图1C所示为根据本发明一个实施例的图1B中TRIAC调光器104生成或接收的信号波形图。图1C将结合图1B进行描述。图1C示出了交流输入电压VIN、TRIAC器件202的端口A1和端口A2间的电压VA2-A1、流过DIAC器件208的电流IDIAC、交流电压VTRIAC和整流电压VREC的波形。FIG. 1C is a waveform diagram of signals generated or received by the TRIAC dimmer 104 in FIG. 1B according to an embodiment of the present invention. FIG. 1C will be described in conjunction with FIG. 1B. 1C shows the waveforms of the AC input voltage V IN , the voltage V A2-A1 between the ports A1 and A2 of the TRIAC device 202 , the current I DIAC flowing through the DIAC device 208 , the AC voltage V TRIAC and the rectified voltage V REC .
在图1C的例子中,交流输入电压VIN具有正弦波波形。在时刻T0至时刻T1间,TRIAC器件202关断,端口A1和端口A2间的电压VA2-A1随着交流输入电压VIN的增大而增大。在时刻T1至时刻T2间,TRIAC器件202保持导通。所以,在时刻T1至时刻T2间,交流电压VTRIAC的波形与交流输入电压VIN的波形一致。In the example of FIG. 1C , the AC input voltage V IN has a sinusoidal waveform. Between time T 0 and time T 1 , the TRIAC device 202 is turned off, and the voltage V A2 - A1 between the port A1 and the port A2 increases with the increase of the AC input voltage V IN . From time T1 to time T2 , the TRIAC device 202 remains on. Therefore, between the time T1 and the time T2 , the waveform of the AC voltage V TRIAC is consistent with the waveform of the AC input voltage V IN .
在接近交流输入电压VIN的第一半周期结束的时刻T2,由于流过TRIAC器件202的电流下降至低于TRIAC器件202的保持电流,TRIAC器件202关断。在交流输入电压VIN的第二半周期中,当电容206上的电压在时刻T3导通DIAC器件208时,TRIAC器件202再次导通。同理,在时刻T3至时刻T4间,交流电压VTRIAC的波形与交流输入电压VIN的波形一致。At time T 2 near the end of the first half cycle of the AC input voltage V IN , the TRIAC device 202 turns off because the current through the TRIAC device 202 drops below the holding current of the TRIAC device 202 . During the second half cycle of the AC input voltage V IN , when the voltage on the capacitor 206 turns on the DIAC device 208 at time T 3 , the TRIAC device 202 turns on again. Similarly, between time T3 and time T4 , the waveform of the AC voltage V TRIAC is consistent with the waveform of the AC input voltage V IN .
在一个实施例中,用户可调整可变电阻204的阻值R204,例如,旋转TRIAC调光器104的旋钮来调整可变电阻204的阻值R204。可变电阻204的阻值R204决定TRIAC器件202在交流输入电压VIN的每个半周期中的导通时刻。更具体地说,在一个实施例中,如果可变电阻的阻值R204增大,在时刻T0后为电容206充电的充电电流的平均值减小。因此,电容206上的电压需要更多的时间达到与DIAC器件208相关的电压阈值。所以,TRIAC器件202的导通时刻被延迟,例如,晚于时刻T1。同理,如果可变电阻的阻值R204减小,TRIAC器件202的导通时刻被提早,例如,早于时刻T1。因此,通过调整可变电阻204的阻值R204,每个半周期中TRIAC器件202的导通时刻得到相应的调整,例如,导通时刻被延迟或提前。TRIAC调光器104可具有其它结构,且不局限于图1B和图1C的实施例。在另一个实施例中,如果可变电阻204的阻值R204变化,例如,阻值R204被用户调整,每个半周期中TRIAC器件202的关断时刻得到调整。为举例说明,在以下的描述中,TRIAC调光器104调整TRIAC器件202的导通时刻。然而,本发明并不局限于此,本发明的TRIAC调光器104还适用于调整TRIAC器件202的关断时刻。In one embodiment, the user can adjust the resistance R 204 of the variable resistor 204 , for example, by turning the knob of the TRIAC dimmer 104 to adjust the resistance R 204 of the variable resistor 204 . The resistance R 204 of the variable resistor 204 determines the conduction moment of the TRIAC device 202 in each half cycle of the AC input voltage V IN . More specifically, in one embodiment, if the resistance value R 204 of the variable resistor increases, the average value of the charging current for charging the capacitor 206 after time T 0 decreases. Therefore, the voltage on capacitor 206 takes more time to reach the voltage threshold associated with DIAC device 208 . Therefore, the turn-on moment of the TRIAC device 202 is delayed, eg, later than time T 1 . Similarly, if the resistance value R 204 of the variable resistor decreases, the turn-on moment of the TRIAC device 202 is advanced, for example, earlier than the time T 1 . Therefore, by adjusting the resistance R 204 of the variable resistor 204 , the conduction moment of the TRIAC device 202 in each half cycle is adjusted accordingly, for example, the conduction moment is delayed or advanced. The TRIAC dimmer 104 may have other structures, and is not limited to the embodiments shown in FIG. 1B and FIG. 1C . In another embodiment, if the resistance R 204 of the variable resistor 204 is changed, for example, the resistance R 204 is adjusted by the user, the turn-off time of the TRIAC device 202 in each half cycle is adjusted. For illustration, in the following description, the TRIAC dimmer 104 adjusts the turn-on moment of the TRIAC device 202 . However, the present invention is not limited thereto, and the TRIAC dimmer 104 of the present invention is also suitable for adjusting the turn-off time of the TRIAC device 202 .
回到图1A和图1B,亮度和色温控制器112接收指示TRIAC器件202的导通状态(例如,在0-180度之间的导通角度)的导通检测信号TD,并基于导通检测信号TD来调整光源的亮度(例如,电流ILED1或电流ILED2的值)。亮度和色温控制器112根据导通检测信号TD产生驱动信号DRV。驱动信号DRV控制电力转换器108中的控制开关(例如,图3中的控制开关Q3)交替工作于第一状态(例如,导通状态)和第二状态(例如,关断状态),从而调整流过LED光源的平均电流(例如,电流ILED1或电流ILED2)。更具体地说,在一个实施例中,亮度和色温控制器112基于导通检测信号TD来检测每个周期中TRIAC器件202的导通时刻。如果可变电阻204的阻值R204增大(例如,通过旋转TRIAC调光器104的旋钮),每个周期中TRIAC器件202的导通时刻延迟。由此,亮度和色温控制器112控制开关Q3来降低流过LED光源(例如,第一LED链120或第二LED链130)的平均电流。同理,如果可变电阻204的阻值R204减小,亮度和色温控制器112控制开关Q3以提高流过LED光源(例如,第一LED链120或第二LED链130)的平均电流。例如,若如以上描述的,如果亮度和色温控制器112根据开关监测信号TS产生第一控制信号CTR1来接通第一控制开关122并且将光源的色温调整为第一色温值,则亮度和色温控制器112根据TRIAC调光器104的操作来调整流过第一LED光源120的平均电流ILED1。如果亮度和色温控制器112根据开关监测信号TS产生第二控制信号CTR2来接通第二控制开关132并且将光源的色温调整为第二色温值,则亮度和色温控制器112根据TRIAC调光器104的操作来调整流过第二LED光源130的平均电流ILED2。Returning to FIG. 1A and FIG. 1B, the brightness and color temperature controller 112 receives a conduction detection signal TD indicating the conduction state of the TRIAC device 202 (for example, a conduction angle between 0-180 degrees), and based on the conduction detection Signal TD to adjust the brightness of the light source (for example, the value of current I LED1 or current I LED2 ). The brightness and color temperature controller 112 generates a driving signal DRV according to the conduction detection signal TD. The driving signal DRV controls the control switch in the power converter 108 (for example, the control switch Q3 in FIG. The average current flowing through the LED light source (eg, current I LED1 or current I LED2 ). More specifically, in one embodiment, the brightness and color temperature controller 112 detects the conduction moment of the TRIAC device 202 in each cycle based on the conduction detection signal TD. If the resistance value R 204 of the variable resistor 204 is increased (eg, by turning the knob of the TRIAC dimmer 104 ), the turn-on moment of the TRIAC device 202 is delayed in each cycle. Thus, the brightness and color temperature controller 112 controls the switch Q3 to reduce the average current flowing through the LED light source (eg, the first LED string 120 or the second LED string 130 ). Similarly, if the resistance R 204 of the variable resistor 204 decreases, the brightness and color temperature controller 112 controls the switch Q3 to increase the average current flowing through the LED light source (eg, the first LED chain 120 or the second LED chain 130 ). For example, if as described above, if the brightness and color temperature controller 112 generates the first control signal CTR1 according to the switch monitoring signal TS to turn on the first control switch 122 and adjust the color temperature of the light source to the first color temperature value, the brightness and color temperature The controller 112 adjusts the average current I LED1 flowing through the first LED light source 120 according to the operation of the TRIAC dimmer 104 . If the brightness and color temperature controller 112 generates the second control signal CTR2 according to the switch monitoring signal TS to turn on the second control switch 132 and adjust the color temperature of the light source to the second color temperature value, then the brightness and color temperature controller 112 according to the TRIAC dimmer 104 to adjust the average current I LED2 flowing through the second LED light source 130 .
有利的是,亮度和色温控制器112不仅可以根据ON/OFF开关102的操作来调整光源(例如,第一LED链120和第二LED链130)的色温,还可以同时根据TRIAC调光器104的操作来调整LED光源(例如,第一LED链120和第二LED链130)的亮度,而无需使用额外的专用器件,简单便捷且节省了成本。亮度和色温控制器112的操作将结合图3做进一步描述。Advantageously, the brightness and color temperature controller 112 can not only adjust the color temperature of the light source (e.g., the first LED chain 120 and the second LED chain 130) according to the operation of the ON/OFF switch 102, but also can adjust the color temperature according to the TRIAC dimmer 104 at the same time. Adjust the brightness of the LED light source (for example, the first LED chain 120 and the second LED chain 130 ) without using additional special devices, which is simple, convenient and cost-saving. The operation of the brightness and color temperature controller 112 will be further described in conjunction with FIG. 3 .
图3所示为根据本发明实施例的光源驱动电路300的电路示意图。在图3中,为简洁起见,未示出电源VIN和TRIAC调光器104。光源驱动电路300由电源VIN(例如,110/120V交流,60Hz)经由ON/OFF开关102和TRIAC调光器104供电。交流电压VTRIAC经由滤波器302和整流器106(例如,由二极管D1-D4组成的桥式整流器)转换成整流电压VREC。电力转换器108从整流器106接收整流电压VREC并且向光源(例如,第一LED链120和第二LED链130)提供调节后的输出电流IOUT。FIG. 3 is a schematic circuit diagram of a light source driving circuit 300 according to an embodiment of the present invention. In FIG. 3 , the power supply V IN and the TRIAC dimmer 104 are not shown for simplicity. The light source driving circuit 300 is powered by a power source V IN (for example, 110/120V AC, 60Hz) via the ON/OFF switch 102 and the TRIAC dimmer 104 . The AC voltage V TRIAC is converted to a rectified voltage V REC via a filter 302 and a rectifier 106 (eg, a bridge rectifier composed of diodes D1 - D4 ). The power converter 108 receives the rectified voltage V REC from the rectifier 106 and provides a regulated output current I OUT to the light sources (eg, the first LED string 120 and the second LED string 130 ).
在图3的示例中,电力转换器108包括变压器110、控制开关Q3、二极管D5和电容C8。变压器110包括用于从整流器106接收整流电压VREC的原边绕组305、用于向第一LED链120和第二LED链130提供输出电流IOUT的副边绕组307、磁芯311及用于向亮度和色温控制器112提供电压的辅助绕组309。图3中所示的变压器110包括三个绕组只是举例而并非限制,在其它实施例中,变压器110可包括其它不同数量的绕组。在图3所示的实施例中,耦合于原边绕组305的控制开关Q3位于亮度和色温控制器112的外部。在其它实施例中,控制开关Q3也可以集成于亮度和色温控制器112的内部。In the example of FIG. 3 , the power converter 108 includes a transformer 110 , a control switch Q3 , a diode D5 and a capacitor C8 . Transformer 110 includes primary winding 305 for receiving rectified voltage V REC from rectifier 106, secondary winding 307 for providing output current I OUT to first LED chain 120 and second LED chain 130, magnetic core 311 and for Auxiliary winding 309 that supplies voltage to brightness and color temperature controller 112 . The transformer 110 shown in FIG. 3 including three windings is for example and not limiting. In other embodiments, the transformer 110 may include other different numbers of windings. In the embodiment shown in FIG. 3 , the control switch Q3 coupled to the primary winding 305 is external to the brightness and color temperature controller 112 . In other embodiments, the control switch Q3 can also be integrated inside the brightness and color temperature controller 112 .
亮度和色温控制器112耦合于变压器110的原边绕组305和辅助绕组309。亮度和色温控制器112可为反激脉冲宽度调制(PWM)控制器,用于产生PWM信号来选择性地接通与原边绕组305串联的控制开关Q3,并通过调整PWM信号的占空比来调整变压器110的输出电流IOUT。举例但并非限制,亮度和色温控制器112的端口包括端口HV、CLK、PWM、VDD、GND、COMP、CS、FB、SW1和SW2。The brightness and color temperature controller 112 is coupled to the primary winding 305 and the auxiliary winding 309 of the transformer 110 . The brightness and color temperature controller 112 can be a flyback pulse width modulation (PWM) controller, which is used to generate a PWM signal to selectively turn on the control switch Q3 connected in series with the primary winding 305, and adjust the duty cycle of the PWM signal to adjust the output current I OUT of the transformer 110 . By way of example but not limitation, the ports of the brightness and color temperature controller 112 include ports HV, CLK, PWM, VDD, GND, COMP, CS, FB, SW1 and SW2.
亮度和色温控制器112在端口HV处接收整流电压VIN的导通检测信号TD并根据导通检测信号TD来调整流过LED光源的平均电流(例如,电流ILED1或电流ILED2)。具体地,导通检测信号TD可以指示TRIAC调光器104中的TRIAC器件202的导通状态(例如,在0-180度之间的导通角度)。亮度和色温控制器112可以基于导通检测信号TD提供对应于TRIAC调光器104的导通角度的参考信号REF(如以下图4和图5中详述),并且根据参考信号REF在端口PWM处产生驱动信号DRV以调整流过LED光源的平均电流(例如,电流ILED1或电流ILED2)。The brightness and color temperature controller 112 receives the conduction detection signal TD of the rectified voltage V IN at the port HV and adjusts the average current (eg, current I LED1 or current I LED2 ) flowing through the LED light source according to the conduction detection signal TD. Specifically, the conduction detection signal TD may indicate the conduction state (eg, conduction angle between 0-180 degrees) of the TRIAC device 202 in the TRIAC dimmer 104 . The brightness and color temperature controller 112 can provide a reference signal REF corresponding to the conduction angle of the TRIAC dimmer 104 based on the conduction detection signal TD (as detailed in FIGS. A driving signal DRV is generated to adjust the average current (eg, current I LED1 or current I LED2 ) flowing through the LED light source.
有利的是,响应于原边电路中TRIAC调光器104的旋转操作,副边电路中的光源(例如,第一LED链120和第二LED链130)的亮度由亮度和色温控制器112调整为对应于TRIAC调光器104的导通角度的目标亮度值(例如,25%、50%、75%、90%、100%等)。Advantageously, the brightness of the light sources (e.g., first LED chain 120 and second LED chain 130) in the secondary circuit is adjusted by brightness and color temperature controller 112 in response to rotational operation of TRIAC dimmer 104 in the primary circuit is the target brightness value corresponding to the conduction angle of the TRIAC dimmer 104 (eg, 25%, 50%, 75%, 90%, 100%, etc.).
亮度和色温控制器112在端口CLK处接收指示ON/OFF开关102的导通状态(例如,接通或断开状态)的开关监测信号TS,并根据开关监测信号TS产生第一控制信号CTR1(在端口SW1处)和第二控制信号CTR2(在端口SW2处)来分别控制第一LED链120和第二LED链130。更具体地说,在一个实施例中,如果开关监测信号TS指示第一次接通ON/OFF开关102,则亮度和色温控制器112产生第一控制信号CTR1来接通第一控制开关122并且产生第二控制信号CTR2来断开第二控制开关132,因此,电流ILED1流经第一LED链120而没有电流流经第二LED链130;如果开关监测信号TS指示ON/OFF开关102断开并且在预定时间段内再次接通,则亮度和色温控制器112产生第一控制信号CTR1来断开第一控制开关122并且产生第二控制信号CTR2来接通第二控制开关132,因此,没有电流流经第一LED链120,电流ILED2流经第二LED链130。因为第二LED链130可以具有与第一LED链120不同的色温,所以亮度和色温控制器112可以根据开关监测信号TS来调整光源的色温。The brightness and color temperature controller 112 receives a switch monitoring signal TS indicating a conduction state (for example, an on or off state) of the ON/OFF switch 102 at a port CLK, and generates a first control signal CTR1( at port SW1 ) and a second control signal CTR2 (at port SW2 ) to control the first LED chain 120 and the second LED chain 130 , respectively. More specifically, in one embodiment, if the switch monitoring signal TS indicates that the ON/OFF switch 102 is turned on for the first time, the brightness and color temperature controller 112 generates the first control signal CTR1 to turn on the first control switch 122 and The second control signal CTR2 is generated to turn off the second control switch 132, so that the current I LED1 flows through the first LED chain 120 and no current flows through the second LED chain 130; if the switch monitoring signal TS indicates that the ON/OFF switch 102 is off is turned on and turned on again within a predetermined period of time, the brightness and color temperature controller 112 generates a first control signal CTR1 to turn off the first control switch 122 and generates a second control signal CTR2 to turn on the second control switch 132, therefore, No current flows through the first LED chain 120 , and the current I LED2 flows through the second LED chain 130 . Since the second LED chain 130 may have a different color temperature from the first LED chain 120, the brightness and color temperature controller 112 may adjust the color temperature of the light source according to the switch monitoring signal TS.
端口FB从耦合于变压器110的辅助绕组309的分压电路(未标示)接收指示流经副边绕组307的电流IS的电流监测信号SEN(例如,电流监测信号SEN可指示流经副边绕组307的电流IS何时下降至0)。端口CS接收指示流经原边绕组305的电流IP的监测信号LPSEN。亮度和色温控制器112接收电流监测信号SEN和监测信号LPSEN,并且在端口PWM处产生驱动信号DRV来控制控制开关Q3以调节电力转换器108的输出电流IOUT。亮度和色温控制器112根据电流监测信号SEN和监测信号LPSEN在端口PWM处产生驱动信号DRV来控制控制开关Q3的导通状态(例如,接通或断开状态)。例如,当电流监测信号SEN指示流经副边绕组307的电流IS下降至0时,驱动信号DRV可将控制开关Q3从断开状态转换成接通状态。更具体地说,电流监测信号SEN的电压可与指示流经光源的目标电流值ITARGET的参考信号的电压进行比较,监测信号LPSEN的电压可以与指示目标电流值ITARGET的另一参考信号的电压进行比较,如果任一比较结果指示流经光源的瞬时电流值大于目标电流值ITARGET,则亮度和色温控制器112减少驱动信号DRV的占空比,反之亦然。在一个实施例中,如果驱动信号DRV为第一状态(例如,逻辑高电平),则控制开关Q3接通,电流流经原边绕组305,并且磁芯311进行储能。如果驱动信号DRV为第二状态(例如,逻辑低电平),控制开关Q3断开,并且耦合于副边绕组307的二极管D5正向偏压以使存储在磁芯311中的能量透过副边绕组307释放至电容C8和光源。因此,可以根据驱动信号DRV来调整光源(例如,第一LED链120和第二LED链130)的电能。Port FB receives a current monitoring signal SEN indicating the current IS flowing through the secondary winding 307 from a voltage divider circuit ( not shown) coupled to the auxiliary winding 309 of the transformer 110 (for example, the current monitoring signal SEN may indicate the current IS flowing through the secondary winding 307). When the current IS of 307 drops to 0). The port CS receives a monitoring signal LPSEN indicating the current IP flowing through the primary winding 305 . The brightness and color temperature controller 112 receives the current monitoring signal SEN and the monitoring signal LPSEN, and generates a driving signal DRV at the port PWM to control the control switch Q3 to adjust the output current I OUT of the power converter 108 . The brightness and color temperature controller 112 generates a driving signal DRV at the port PWM according to the current monitoring signal SEN and the monitoring signal LPSEN to control the conduction state (eg, on or off state) of the control switch Q3. For example, when the current monitoring signal SEN indicates that the current IS flowing through the secondary winding 307 drops to 0, the driving signal DRV can switch the control switch Q3 from the off state to the on state. More specifically, the voltage of the current monitoring signal SEN can be compared with the voltage of a reference signal indicating the target current value ITARGET flowing through the light source, and the voltage of the monitoring signal LPSEN can be compared with that of another reference signal indicating the target current value ITARGET . The voltages are compared, and if any comparison result indicates that the instantaneous current value flowing through the light source is greater than the target current value I TARGET , the brightness and color temperature controller 112 reduces the duty cycle of the driving signal DRV, and vice versa. In one embodiment, if the driving signal DRV is in the first state (for example, logic high level), the control switch Q3 is turned on, the current flows through the primary winding 305 , and the magnetic core 311 stores energy. If the driving signal DRV is in the second state (for example, logic low level), the control switch Q3 is turned off, and the diode D5 coupled to the secondary winding 307 is forward biased so that the energy stored in the magnetic core 311 can pass through the secondary Side winding 307 discharges to capacitor C8 and the light source. Therefore, the power of the light sources (for example, the first LED chain 120 and the second LED chain 130 ) can be adjusted according to the driving signal DRV.
端口VDD耦合于辅助绕组309。在一个实施例中,耦合于端口VDD和地之间的储能单元(例如,电容C5)在ON/OFF开关102断开时为亮度和色温控制器112供电。端口COMP通过电容与地(端口GND)耦合,用于提供误差信号。Port VDD is coupled to auxiliary winding 309 . In one embodiment, an energy storage unit (eg, capacitor C5 ) coupled between the port VDD and ground provides power to the brightness and color temperature controller 112 when the ON/OFF switch 102 is open. Port COMP is coupled to ground (port GND) through a capacitor to provide an error signal.
有利的是,响应于原边电路中ON/OFF开关102的断开操作,在ON/OFF开关102的断开操作后的预定时间段内再次接通ON/OFF开关102之后,副边电路中的光源(例如,第一LED链120和第二LED链130)的色温由亮度和色温控制器112调整为目标色温值(例如,第一色温值或第二色温值)。Advantageously, in response to the OFF operation of the ON/OFF switch 102 in the primary side circuit, after the ON/OFF switch 102 is turned on again within a predetermined period of time after the OFF operation of the ON/OFF switch 102, in the secondary side circuit The color temperature of the light sources (for example, the first LED chain 120 and the second LED chain 130) is adjusted by the brightness and color temperature controller 112 to a target color temperature value (for example, the first color temperature value or the second color temperature value).
图4所示为图3中的亮度和色温控制器112的结构示意图。图4将结合图3进行描述。在图4的示例中,亮度和色温控制器112分为上半部分的亮度控制模块和下半部分的色温控制模块。FIG. 4 is a schematic structural diagram of the brightness and color temperature controller 112 in FIG. 3 . FIG. 4 will be described in conjunction with FIG. 3 . In the example of FIG. 4 , the brightness and color temperature controller 112 is divided into a brightness control module in the upper part and a color temperature control module in the lower part.
亮度控制模块的工作原理如下:The working principle of the brightness control module is as follows:
亮度控制模块包括信号产生器410、TRIAC监测器432和驱动器430。信号产生器410产生监测信号(例如,方波信号412)。监测信号的平均电压与流过LED光源(例如,第一LED链120或第二LED链130)的平均电流IOUT(例如,电流ILED1或ILED2)成比例。TRIAC监测器432根据导通检测信号TD来产生参考信号REF。参考信号REF指示流经LED光源(例如,第一LED链120或第二LED链130)的平均电流的目标电流值(例如,目标电流值ITARGET)。相应地,驱动器430基于方波信号412和参考信号REF产生驱动信号DRV。信号产生器410、驱动器430和变压器110组成负反馈环。该负反馈环保持方波信号412的平均电压等于参考信号REF,从而保持流经LED光源(例如,第一LED链120或第二LED链130)的平均电流IOUT等于目标电流值ITARGET。请注意,TRIAC调光器104的导通角度可随着用户的旋转操作而改变,因此参考信号REF也相应改变。以此方式,实现了对LED光源的亮度的调整。The brightness control module includes a signal generator 410 , a TRIAC monitor 432 and a driver 430 . The signal generator 410 generates a monitoring signal (eg, a square wave signal 412 ). The average voltage of the monitor signal is proportional to the average current I OUT (eg, current I LED1 or I LED2 ) flowing through the LED light source (eg, the first LED string 120 or the second LED string 130 ). The TRIAC monitor 432 generates a reference signal REF according to the conduction detection signal TD. The reference signal REF indicates a target current value (eg, target current value I TARGET ) of the average current flowing through the LED light source (eg, the first LED string 120 or the second LED string 130 ). Accordingly, the driver 430 generates the driving signal DRV based on the square wave signal 412 and the reference signal REF. The signal generator 410, the driver 430 and the transformer 110 form a negative feedback loop. The negative feedback loop keeps the average voltage of the square wave signal 412 equal to the reference signal REF, thereby keeping the average current I OUT flowing through the LED light source (eg, the first LED string 120 or the second LED string 130 ) equal to the target current value I TARGET . Please note that the conduction angle of the TRIAC dimmer 104 can change with the user's rotation operation, so the reference signal REF also changes accordingly. In this way, the adjustment of the brightness of the LED light source is realized.
信号产生器410包括采集电路402、状态检测器404和多路选择器408。采集电路402与端口CS相连,以接收指示流经原边绕组305的电流的监测信号LPSEN。采集电路402根据监测信号LPSEN采样保持并且产生与流过原边绕组305的电流的峰值成比例的峰值信号VPK。在一个实施例中,多路选择器408包括具有第一端口、第二端口和第三端口的开关。多路选择器408的第一端口与采集电路402的输出端相连,用于接收峰值信号VPK。多路选择器408的第二端口与参考地GND相连,用于接收预设电压信号VPRE(例如,VPRE为零伏特)。多路选择器408的第三端口与驱动器430的输入端相连,用于提供方波信号412。在另一个实施例中,多路选择器408的第二端口也可连接至其它的信号发生器,接收预设恒定参考电压。The signal generator 410 includes an acquisition circuit 402 , a state detector 404 and a multiplexer 408 . The acquisition circuit 402 is connected to the port CS to receive the monitoring signal LPSEN indicating the current flowing through the primary winding 305 . The acquisition circuit 402 samples and holds the monitoring signal LPSEN and generates a peak signal V PK proportional to the peak value of the current flowing through the primary winding 305 . In one embodiment, multiplexer 408 includes a switch having a first port, a second port, and a third port. The first port of the multiplexer 408 is connected to the output terminal of the acquisition circuit 402 for receiving the peak signal V PK . The second port of the multiplexer 408 is connected to the reference ground GND for receiving the preset voltage signal V PRE (for example, V PRE is zero volts). The third port of the multiplexer 408 is connected to the input terminal of the driver 430 for providing the square wave signal 412 . In another embodiment, the second port of the multiplexer 408 may also be connected to other signal generators to receive a preset constant reference voltage.
状态检测器404与端口FB相连,以接收电流监测信号SEN。状态检测器404根据电流监测信号SEN判断变压器110是否工作于预设状态,并产生开关控制信号406以控制多路选择器408。更具体地说,在一个实施例中,当电流监测信号SEN具有表示变压器110工作于预设状态的第一电压值时,开关控制信号406具有第一状态(例如,高电平)。此时,多路选择器408的第一端口和第三端口导通。由此,方波信号412等于峰值信号VPK。当电流监测信号SEN具有表示变压器110没有工作于预设状态的第二电压值时,开关控制信号406具有第二状态(例如,低电平)。此时,多路选择器408的第二端口和第三端口导通。由此,方波信号412等于预设电压信号VPRE。The state detector 404 is connected to the port FB to receive the current monitoring signal SEN. The state detector 404 determines whether the transformer 110 is working in a preset state according to the current monitoring signal SEN, and generates a switch control signal 406 to control the multiplexer 408 . More specifically, in one embodiment, when the current monitoring signal SEN has a first voltage value indicating that the transformer 110 is operating in a preset state, the switch control signal 406 has a first state (eg, high level). At this time, the first port and the third port of the multiplexer 408 are turned on. Thus, the square wave signal 412 is equal to the peak signal V PK . When the current monitoring signal SEN has the second voltage value indicating that the transformer 110 is not working in the preset state, the switch control signal 406 has the second state (eg, low level). At this time, the second port and the third port of the multiplexer 408 are turned on. Thus, the square wave signal 412 is equal to the preset voltage signal V PRE .
有利的是,TRIAC监测器432能够根据TRIAC调光器104来调整参考信号REF。更具体地说,在一个实施例中,如果导通检测信号TD指示TRIAC器件202在每个周期中的导通时刻被提前(即,导通角度增大),则TRIAC监测器432增大参考信号REF。由此,流过LED光源(例如,第一LED链120或第二LED链130)的平均电流增大。同理,如果导通检测信号TD指示TRIAC器件202在每个周期中的导通时刻被延迟(即,导通角度减小),则TRIAC监测器432减小参考信号REF。由此,流过LED光源(例如,第一LED链120或第二LED链130)的平均电流减小。亮度控制模块可具有其它结构,且不局限于图4的实施例。Advantageously, the TRIAC monitor 432 is capable of adjusting the reference signal REF according to the TRIAC dimmer 104 . More specifically, in one embodiment, TRIAC monitor 432 increases reference Signal REF. As a result, the average current flowing through the LED light sources (eg, the first LED string 120 or the second LED string 130 ) increases. Similarly, if the conduction detection signal TD indicates that the conduction moment of the TRIAC device 202 in each cycle is delayed (ie, the conduction angle decreases), the TRIAC monitor 432 decreases the reference signal REF. As a result, the average current flowing through the LED light source (eg, the first LED string 120 or the second LED string 130 ) is reduced. The brightness control module may have other structures, and is not limited to the embodiment shown in FIG. 4 .
图5所示为根据本发明一个实施例的图4中的TRIAC监测器432的结构示意图。图5将结合图4进行描述。在图5的例子中,TRIAC监测器432包括分压器502、比较器506和滤波器510。在一个实施例中,分压器502包括串联耦合的电阻R7和电阻R8。分压器502接收导通检测信号TD,并提供指示整流电压VIN的分压信号504。比较器506将分压信号504和阈值电压VTH进行比较,并根据比较结果产生方波信号508。滤波器510过滤方波信号508,以产生参考信号REF。FIG. 5 is a schematic structural diagram of the TRIAC monitor 432 in FIG. 4 according to an embodiment of the present invention. FIG. 5 will be described in conjunction with FIG. 4 . In the example of FIG. 5 , TRIAC monitor 432 includes voltage divider 502 , comparator 506 and filter 510 . In one embodiment, the voltage divider 502 includes a resistor R7 and a resistor R8 coupled in series. The voltage divider 502 receives the conduction detection signal TD and provides a divided voltage signal 504 indicating the rectified voltage V IN . The comparator 506 compares the divided voltage signal 504 with the threshold voltage V TH and generates a square wave signal 508 according to the comparison result. The filter 510 filters the square wave signal 508 to generate a reference signal REF.
更具体地说,在一个实施例中,在时刻T1至时刻T2的导通时间TTRI_ON内,分压信号504大于阈值电压VTH(例如,零伏特),方波信号508被切换至高电平。在时刻T2至时刻T3的关断时间TTRI_OFF内,分压信号504小于阈值电压VTH,方波信号508被切换至低电平。当TRIAC器件202的导通时刻发生变化时,方波信号508的平均电压相应变化。滤波器510过滤方波信号508,从而提供与方波信号508的平均电压成比例的参考信号REF。因此,通过调节参考信号REF可调整流经LED光源(例如,第一LED链120或第二LED链130)的平均电流,从而实现了根据TRIAC调光器104对LED光源(例如,第一LED链120或第二LED链130)的调光控制。TRIAC监测器432可具有其它结构,且不局限于图5的实施例。More specifically, in one embodiment, during the on-time T TRI_ON from time T 1 to time T 2 , the divided voltage signal 504 is greater than the threshold voltage V TH (eg, zero volts), and the square wave signal 508 is switched to high level. During the off-time T TRI_OFF from time T 2 to time T 3 , the divided voltage signal 504 is lower than the threshold voltage V TH , and the square wave signal 508 is switched to a low level. When the conduction moment of the TRIAC device 202 changes, the average voltage of the square wave signal 508 changes accordingly. Filter 510 filters square wave signal 508 to provide a reference signal REF that is proportional to the average voltage of square wave signal 508 . Therefore, the average current flowing through the LED light source (for example, the first LED chain 120 or the second LED chain 130) can be adjusted by adjusting the reference signal REF, thereby realizing the adjustment of the LED light source (for example, the first LED chain 130) according to the TRIAC dimmer 104 chain 120 or second LED chain 130) dimming control. The TRIAC monitor 432 may have other structures and is not limited to the embodiment of FIG. 5 .
驱动器430包括运算放大器414、锯齿波生成器420、比较器426和缓冲器428。在一个实施例中,运算放大器414包括运算跨导放大器(Operational TransconductanceAmplifier,OTA)418和电容416。运算跨导放大器418的正向输入端接收方波信号412,反向输入端接收参考信号REF。其中,参考信号REF表示输出电流ILED1或ILED2的目标电流值ITARGET。运算跨导放大器418根据方波信号412和参考信号REF之间的差值在输出端产生电流I418给电容416充电或放电,从而产生误差信号422。由于电容416过滤误差信号422上的纹波,误差信号422由方波信号412的平均电压VSQ_AVG和参考信号REF之间的差值决定。在另一个实施例中,电容416在亮度和色温控制器112之外,通过控制器的一个端口与运算跨导放大器418相连。Driver 430 includes operational amplifier 414 , sawtooth generator 420 , comparator 426 and buffer 428 . In one embodiment, the operational amplifier 414 includes an operational transconductance amplifier (Operational Transconductance Amplifier, OTA) 418 and a capacitor 416 . The positive input terminal of the operational transconductance amplifier 418 receives the square wave signal 412 , and the negative input terminal receives the reference signal REF. Wherein, the reference signal REF represents the target current value I TARGET of the output current I LED1 or I LED2 . The operational transconductance amplifier 418 generates a current I 418 at the output terminal to charge or discharge the capacitor 416 according to the difference between the square wave signal 412 and the reference signal REF, thereby generating an error signal 422 . Since the capacitor 416 filters the ripple on the error signal 422 , the error signal 422 is determined by the difference between the average voltage V SQ_AVG of the square wave signal 412 and the reference signal REF. In another embodiment, the capacitor 416 is outside the brightness and color temperature controller 112 and connected to the operational transconductance amplifier 418 through a port of the controller.
锯齿波生成器420产生锯齿波信号SAW。比较器426比较误差信号422和锯齿波信号SAW,并产生比较信号。缓冲器428接收比较信号,并产生驱动信号DRV(例如,脉宽调制信号)。在图4的实施例中,如果方波信号412的平均电压VSQ_AVG增加,误差信号422随之增大,锯齿波信号SAW则需要更多的时间增加到误差信号422。由此,驱动信号DRV的占空比减小,从而降低输出电流ILED1或ILED2的平均电流,直到方波信号412的平均电压VSQ_AVG减小到参考信号REF。同理,如果方波信号412的平均电压VSQ_AVG减小,驱动信号DRV的占空比会增加,从而增大输出电流ILED1或ILED2的平均电流,直到方波信号412的平均电压VSQ_AVG增大到参考信号REF。这样,输出电流ILED1或ILED2的平均电流能够被调整到与目标电流值ITARGET相等,即实现对光源(例如,第一LED链120和第二LED链130)的亮度控制。The sawtooth generator 420 generates a sawtooth signal SAW. The comparator 426 compares the error signal 422 with the sawtooth signal SAW and generates a comparison signal. The buffer 428 receives the comparison signal and generates a driving signal DRV (eg, a PWM signal). In the embodiment of FIG. 4 , if the average voltage V SQ_AVG of the square wave signal 412 increases, the error signal 422 increases accordingly, and the sawtooth signal SAW needs more time to increase to the error signal 422 . Thus, the duty cycle of the driving signal DRV decreases, thereby reducing the average current of the output current I LED1 or I LED2 until the average voltage V SQ_AVG of the square wave signal 412 decreases to the reference signal REF. Similarly, if the average voltage V SQ_AVG of the square wave signal 412 decreases, the duty cycle of the drive signal DRV will increase, thereby increasing the average current of the output current I LED1 or I LED2 until the average voltage V SQ_AVG of the square wave signal 412 Increase to reference signal REF. In this way, the average current of the output current I LED1 or I LED2 can be adjusted to be equal to the target current value I TARGET , that is, the brightness control of the light source (eg, the first LED chain 120 and the second LED chain 130 ) can be realized.
此外,色温控制模块的工作原理如下:In addition, the working principle of the color temperature control module is as follows:
图6所示为图4中的色温控制模块的结构示意图。结合图4和图6来看,色温控制模块包括判定单元434、非门436、启动及低压锁定(UVL)电路438、和色温控制单元440。FIG. 6 is a schematic structural diagram of the color temperature control module in FIG. 4 . Referring to FIG. 4 and FIG. 6 , the color temperature control module includes a decision unit 434 , a NOT gate 436 , a start-up and low voltage lockout (UVL) circuit 438 , and a color temperature control unit 440 .
启动及低压锁定(UVL)电路438与端口VDD相连,用于根据不同的电能情况选择性地启动亮度和色温控制器112内部的一个或多个部件。The activation and low voltage lockout (UVL) circuit 438 is connected to the port VDD, and is used to selectively activate one or more components inside the brightness and color temperature controller 112 according to different power conditions.
在一个实施例中,如果端口VDD上的电压高于第一预设电压,则启动及低压锁定电路438将启动亮度和色温控制器112中所有的部件。当ON/OFF开关102断开,如果端口VDD上的电压低于第二预设电压,启动及低压锁定电路438将关闭亮度和色温控制器112中部分部件以节省电能。如果端口VDD上的电压低于第三预设电压,启动及低压锁定电路438将关闭所有部件。在一个实施例中,第一预设电压高于第二预设电压,第二预设电压高于第三预设电压。In one embodiment, the enable and low voltage lockout circuit 438 activates all components in the brightness and color temperature controller 112 if the voltage on the port VDD is higher than the first preset voltage. When the ON/OFF switch 102 is turned off, if the voltage on the terminal VDD is lower than the second predetermined voltage, the start-up and low-voltage lockout circuit 438 will turn off some components in the brightness and color temperature controller 112 to save power. If the voltage on the port VDD is lower than the third preset voltage, the startup and low voltage lockout circuit 438 will shut down all components. In one embodiment, the first preset voltage is higher than the second preset voltage, and the second preset voltage is higher than the third preset voltage.
判定单元434侦测亮度和色温控制器112的电能状态并且基于亮度和色温控制器112的电能状态而产生第一判定信号VDD_L和第二判定信号VDD_H。亮度和色温控制器112基于第一判定信号VDD_L、第二判定信号VDD_H以及开关监测信号TS来调整光源的色温。例如,如果亮度和色温控制器112的端口VDD处的电压小于重置阈值电压(例如,4V),则第一判定信号VDD_L具有第一状态(例如,逻辑高电平);如果亮度和色温控制器112的端口VDD处的电压大于重置阈值电压(例如,4V),则第一判定信号VDD_L具有第二状态(例如,逻辑低电平);如果亮度和色温控制器112的端口VDD处的电压小于使能阈值电压(例如,10V),则第二判定信号VDD_H具有第一状态(例如,逻辑低电平);如果亮度和色温控制器112的端口VDD处的电压大于使能阈值电压(例如,10V),则第二判定信号VDD_H具有第二状态(例如,逻辑高电平)。The determination unit 434 detects the power state of the brightness and color temperature controller 112 and generates a first determination signal VDD_L and a second determination signal VDD_H based on the power state of the brightness and color temperature controller 112 . The brightness and color temperature controller 112 adjusts the color temperature of the light source based on the first determination signal VDD_L, the second determination signal VDD_H and the switch monitoring signal TS. For example, if the voltage at the port VDD of the brightness and color temperature controller 112 is less than the reset threshold voltage (for example, 4V), the first decision signal VDD_L has a first state (for example, a logic high level); if the brightness and color temperature control If the voltage at the port VDD of the controller 112 is greater than the reset threshold voltage (for example, 4V), the first determination signal VDD_L has a second state (for example, a logic low level); if the voltage at the port VDD of the brightness and color temperature controller 112 If the voltage is less than the enable threshold voltage (for example, 10V), the second determination signal VDD_H has a first state (for example, logic low level); if the voltage at the port VDD of the brightness and color temperature controller 112 is greater than the enable threshold voltage ( For example, 10V), the second determination signal VDD_H has a second state (for example, logic high level).
色温控制单元440用于根据开关监测信号TS、第一判定信号VDD_L和第二判定信号VDD_H产生第一控制信号CTR1和第二控制信号CTR2来分别控制第一LED链120和第二LED链130。在一个实施例中,色温控制单元440包括计时器602、第一D触发器604、第二D触发器606、第一与门608及第二与门610。计时器602接收开关监测信号TS并且在开关监测信号TS出现下降沿时开始计时,计时器602还在开关监测信号TS的每个下降沿的预定义时间间隔Δt之后产生脉冲信号TS_DE。脉冲信号TS_DE耦合于第一D触发器604的输入端口CLK,并且开关监测信号TS耦合于第二D触发器606的输入端口CLK。第一D触发器604的输入端口D1耦合于它的输出端口并且第一D触发器604的输出端口Q1耦合于第二D触发器606的输入端口D2。The color temperature control unit 440 is used to generate a first control signal CTR1 and a second control signal CTR2 according to the switch monitoring signal TS, the first determination signal VDD_L and the second determination signal VDD_H to control the first LED chain 120 and the second LED chain 130 respectively. In one embodiment, the color temperature control unit 440 includes a timer 602 , a first D flip-flop 604 , a second D flip-flop 606 , a first AND gate 608 and a second AND gate 610 . The timer 602 receives the switch monitoring signal TS and starts timing when the switch monitoring signal TS has a falling edge. The timer 602 also generates a pulse signal TS_DE after a predefined time interval Δt of each falling edge of the switch monitoring signal TS. The pulse signal TS_DE is coupled to the input port CLK of the first D flip-flop 604 , and the switch monitoring signal TS is coupled to the input port CLK of the second D flip-flop 606 . The input port D1 of the first D flip-flop 604 is coupled to its output port And the output port Q1 of the first D flip-flop 604 is coupled to the input port D2 of the second D flip-flop 606 .
第一D触发器604和第二D触发器606的输入端口R均耦合于非门436的输出端口,并且非门436的输入端口耦合于判定单元434。如果亮度和色温控制器112的端口VDD处的电压小于重置阈值电压(例如,4V),第一判定信号VDD_L为逻辑高电平,则第一D触发器604和第二D触发器606都经过非门436而被重置,因此,第一D触发器604的输出端口Q1和第二D触发器606的输出端口Q2都被重置为逻辑低电平,并且第一D触发器604的输出端口和第二D触发器606的输出端口都被重置为逻辑高电平。The input ports R of the first D flip-flop 604 and the second D flip-flop 606 are both coupled to the output port of the NOT gate 436 , and the input port of the NOT gate 436 is coupled to the decision unit 434 . If the voltage at the terminal VDD of the brightness and color temperature controller 112 is less than the reset threshold voltage (for example, 4V), the first decision signal VDD_L is logic high level, and the first D flip-flop 604 and the second D flip-flop 606 are both It is reset through the NOT gate 436, therefore, the output port Q1 of the first D flip-flop 604 and the output port Q2 of the second D flip-flop 606 are both reset to a logic low level, and the output port Q2 of the first D flip-flop 604 output port and the output port of the second D flip-flop 606 are reset to a logic high level.
第二判定信号VDD_H和第二D触发器606的输出端口Q2均耦合于第一与门608,第一与门608产生第一控制信号CTR1来控制第一控制开关122和流经第一LED链120的电流ILED1。第二判定信号VDD_H和第二D触发器606的输出端口Q2均耦合于第二与门610,第二与门610产生第二控制信号CTR2来控制第二控制开关132和流经第二LED链130的电流ILED2。以此方式,亮度和色温控制器112可以响应于ON/OFF开关102的断开操作而调整光源的色温。Both the second determination signal VDD_H and the output port Q2 of the second D flip-flop 606 are coupled to the first AND gate 608, and the first AND gate 608 generates the first control signal CTR1 to control the first control switch 122 and flow through the first LED The current I LED1 of the chain 120 . Both the second determination signal VDD_H and the output port Q2 of the second D flip-flop 606 are coupled to the second AND gate 610, and the second AND gate 610 generates the second control signal CTR2 to control the second control switch 132 and flow through the second LED chain 130 current I LED2 . In this way, the brightness and color temperature controller 112 can adjust the color temperature of the light source in response to the OFF operation of the ON/OFF switch 102 .
图7所示为包含图6所示的色温控制模块的光源驱动电路的信号波形图。图7示出了开关监测信号TS、脉冲信号TS_DE、第一判定信号VDD_L、第二判定信号VDD_H、输入端口D1处的电压、输出端口Q1处的电压、输出端口Q2处的电压、第一控制信号CTR1和第二控制信号CTR2的信号波形。图7将结合图3和图6进行描述。FIG. 7 is a signal waveform diagram of a light source driving circuit including the color temperature control module shown in FIG. 6 . Fig. 7 shows the switch monitoring signal TS, the pulse signal TS_DE, the first judgment signal VDD_L, the second judgment signal VDD_H, the voltage at the input port D1, the voltage at the output port Q1, the voltage at the output port Q2, the first control Signal waveforms of the signal CTR1 and the second control signal CTR2. FIG. 7 will be described in conjunction with FIGS. 3 and 6 .
在t0时刻,ON/OFF开关102接通。在t1时刻,开关监测信号TS从第一状态(例如,逻辑低电平)改变为第二状态(例如,逻辑高电平),端口VDD处的电压增大至重置阈值电压(例如,4V)并且第一判定信号VDD_L从第一状态(例如,逻辑高电平)改变为第二状态(例如,逻辑低电平)。在t2时刻,端口VDD处的电压增大至使能阈值电压(例如,10V)并且第二判定信号VDD_H从第一状态(例如,逻辑低电平)改变为第二状态(例如,逻辑高电平)。在t0时刻到t2时刻的时间间隔内,第一D触发器604的输出端口Q1和第二D触发器606的输出端口Q2都是逻辑低电平。由于第一与门608和第二与门610接收的第二判定信号VDD_H为逻辑低电平,第一控制信号CTR1和第二控制信号CTR2也都是逻辑低电平。在t2时刻之后,由于第二判定信号VDD_H改变为逻辑高电平,第一控制信号CTR1也改变为逻辑高电平,因此,第一控制开关122接通并且电流ILED1开始流经第一LED链120。在t3时刻,ON/OFF开关102断开,并且亮度和色温控制器112的端口VDD处的电压开始下降。如上所述,一旦开关监测信号TS出现下降沿,在预定义时间间隔Δt之后可以产生脉冲信号TS_DE。在t4时刻,响应于脉冲信号TS_DE出现的上升沿,第一D触发器604的输入端口D1从逻辑高电平改变为逻辑低电平,并且第一D触发器604的输出端口Q1从逻辑低电平改变为逻辑高电平。在t5时刻,端口VDD处的电压降低至使能阈值电压(例如,10V),并且第二判定信号VDD_H从第二状态(例如,逻辑高电平)改变为第一状态(例如,逻辑低电平)。因此,由于第一与门608和第二与门610接收的第二判定信号VDD_H为逻辑低电平,第一控制信号CTR1和第二控制信号CTR2也都是逻辑低电平。At time t0, the ON/OFF switch 102 is turned on. At time t1, the switch monitoring signal TS changes from the first state (for example, logic low level) to the second state (for example, logic high level), and the voltage at the port VDD increases to the reset threshold voltage (for example, 4V ) and the first determination signal VDD_L changes from a first state (eg, logic high level) to a second state (eg, logic low level). At time t2, the voltage at the port VDD increases to the enable threshold voltage (for example, 10V) and the second decision signal VDD_H changes from the first state (for example, logic low level) to the second state (for example, logic high level flat). During the time interval from time t0 to time t2, the output port Q1 of the first D flip-flop 604 and the output port Q2 of the second D flip-flop 606 are logic low. Since the second determination signal VDD_H received by the first AND gate 608 and the second AND gate 610 is logic low level, both the first control signal CTR1 and the second control signal CTR2 are also logic low level. After time t2, since the second decision signal VDD_H changes to a logic high level, the first control signal CTR1 also changes to a logic high level, therefore, the first control switch 122 is turned on and the current I LED1 starts to flow through the first LED Chain 120. At time t3, the ON/OFF switch 102 is turned off, and the voltage at the terminal VDD of the brightness and color temperature controller 112 starts to drop. As mentioned above, once the switch monitor signal TS has a falling edge, the pulse signal TS_DE may be generated after a predefined time interval Δt. At time t4, in response to the rising edge of the pulse signal TS_DE, the input port D1 of the first D flip-flop 604 changes from a logic high level to a logic low level, and the output port Q1 of the first D flip-flop 604 changes from a logic low level level changes to a logic high level. At time t5, the voltage at the port VDD drops to the enable threshold voltage (for example, 10V), and the second decision signal VDD_H changes from the second state (for example, logic high level) to the first state (for example, logic low level) flat). Therefore, since the second determination signal VDD_H received by the first AND gate 608 and the second AND gate 610 is logic low level, both the first control signal CTR1 and the second control signal CTR2 are also logic low level.
在t6时刻,开关监测信号TS出现上升沿,指示ON/OFF开关102再次接通。t3时刻到t6时刻的时间间隔小于预定(规定)时间间隔(例如,t6-t3<3秒),以使端口VDD处的电压保持在重置阈值电压(例如,4V)以上并且第一判定信号VDD_L保持为逻辑低电平。响应于开关监测信号TS出现的上升沿,第二D触发器606的输出端口Q2从逻辑低电平改变为逻辑高电平,并且它的输出端口从逻辑高电平改变为逻辑低电平。类似于t1时刻到t2时刻的时间间隔,从t6时刻到t7时刻的时间间隔,第一控制信号CTR1和第二控制信号CTR2都是逻辑低电平。在t7时刻之后,端口VDD处的电压增大至使能阈值电压以上,第二判定信号VDD_H改变为逻辑高电平,并且第二控制信号CTR2也改变为逻辑高电平,第二控制开关132接通并且电流ILED2开始流经第二LED链130。然后,ON/OFF开关102再次断开,并且在t8时刻端口VDD处的电压降低至使能阈值电压(例如,10V)。从t8时刻到t10时刻的时间间隔中的信号波形类似于从t0时刻到t5时刻的时间间隔中的信号波形。在t9时刻,第一控制开关122接通并且电流ILED1开始流经第一LED链120。At time t6, the switch monitoring signal TS has a rising edge, indicating that the ON/OFF switch 102 is turned on again. The time interval from time t3 to time t6 is less than a predetermined (regulation) time interval (for example, t6-t3<3 seconds), so that the voltage at the port VDD remains above the reset threshold voltage (for example, 4V) and the first determination signal VDD_L remains logic low. In response to the rising edge of the switch monitoring signal TS, the output port Q2 of the second D flip-flop 606 changes from a logic low level to a logic high level, and its output port change from logic high to logic low. Similar to the time interval from time t1 to time t2, and the time interval from time t6 to time t7, both the first control signal CTR1 and the second control signal CTR2 are logic low level. After time t7, the voltage at the port VDD increases above the enabling threshold voltage, the second determination signal VDD_H changes to a logic high level, and the second control signal CTR2 also changes to a logic high level, and the second control switch 132 is switched on and the current I LED2 starts to flow through the second LED chain 130 . Then, the ON/OFF switch 102 is turned off again, and the voltage at the port VDD drops to the enable threshold voltage (eg, 10V) at time t8. The signal waveform in the time interval from time t8 to time t10 is similar to the signal waveform in the time interval from time t0 to time t5. At time t9, the first control switch 122 is turned on and the current I LED1 starts to flow through the first LED chain 120 .
因此,亮度和色温控制器112响应于ON/OFF开关102的断开操作交替地接通第一控制开关122和第二控制开关132,由于第二LED链130可以具有与第一LED链120不同的色温,因此,亮度和色温控制器112可以响应于ON/OFF开关102的断开操作来调整光源的色温。Therefore, the brightness and color temperature controller 112 alternately turns on the first control switch 122 and the second control switch 132 in response to the OFF operation of the ON/OFF switch 102, since the second LED chain 130 may have a different color than the first LED chain 120 Therefore, the brightness and color temperature controller 112 can adjust the color temperature of the light source in response to the OFF operation of the ON/OFF switch 102 .
图8所示为根据本发明的另一个实施例的包含图6所示的色温控制模块的光源驱动电路的信号波形图。图8示出了开关监测信号TS、脉冲信号TS_DE、第一判定信号VDD_L、第二判定信号VDD_H、输入端口D1处的电压、输出端口Q1处的电压、输出端口Q2处的电压、第一控制信号CTR1和第二控制信号CTR2的信号波形。图8将结合图3、图6和图7进行描述。FIG. 8 is a signal waveform diagram of a light source driving circuit including the color temperature control module shown in FIG. 6 according to another embodiment of the present invention. Fig. 8 shows the switch monitoring signal TS, the pulse signal TS_DE, the first determination signal VDD_L, the second determination signal VDD_H, the voltage at the input port D1, the voltage at the output port Q1, the voltage at the output port Q2, the first control Signal waveforms of the signal CTR1 and the second control signal CTR2. FIG. 8 will be described in conjunction with FIG. 3 , FIG. 6 and FIG. 7 .
从t0时刻到t6’时刻的时间间隔中的波形类似于图7中的从t0时刻到t6时刻的时间间隔中的波形。在t7’时刻,ON/OFF开关102再次接通。t3时刻到t7’时刻的时间间隔大于预定时间间隔(例如,t7’-t3>3秒)。因此,在t6’时刻,端口VDD处的电压降低至重置阈值电压(例如,4V),并且第一判定信号VDD_L从逻辑低电平改变为逻辑高电平,输出端口Q1和输出端口Q2都被重置为逻辑低电平。由于第一与门608和第二与门610接收的第二判定信号VDD_H为逻辑低电平,第一控制信号CTR1和第二控制信号CTR2也都为逻辑低电平。The waveform in the time interval from the time t0 to the time t6' is similar to the waveform in the time interval from the time t0 to the time t6 in Fig. 7 . At time t7', the ON/OFF switch 102 is turned on again. The time interval from time t3 to time t7' is greater than a predetermined time interval (for example, t7'-t3>3 seconds). Therefore, at time t6', the voltage at the port VDD drops to the reset threshold voltage (for example, 4V), and the first determination signal VDD_L changes from a logic low level to a logic high level, and both the output port Q1 and the output port Q2 is reset to logic low. Since the second determination signal VDD_H received by the first AND gate 608 and the second AND gate 610 is logic low level, the first control signal CTR1 and the second control signal CTR2 are both logic low level.
在t8’时刻,开关监测信号TS从第一状态(例如,逻辑低电平)改变为第二状态(例如,逻辑高电平),端口VDD处的电压增大至重置阈值电压(例如,4V),并且第一判定信号VDD_L从第一状态(例如,逻辑高电平)改变为第二状态(例如,逻辑低电平)。在t9’时刻,端口VDD处的电压增大至使能阈值电压(例如,10V),并且第二判定信号VDD_H从第一状态(例如,逻辑低电平)改变为第二状态(例如,逻辑高电平)。t7’时刻到t9’时刻的时间间隔中的信号波形类似于t0时刻到t2时刻的时间间隔中的信号波形。在t9’时刻之后,端口VDD处的电压增大至使能阈值电压以上,第二判定信号VDD_H改变为逻辑高电平,并且第一控制信号CTR1也改变为逻辑高电平。然后,第一控制开关122接通并且电流ILED1开始流经第一LED链120。At time t8', the switch monitoring signal TS changes from the first state (for example, logic low level) to the second state (for example, logic high level), and the voltage at the port VDD increases to the reset threshold voltage (for example, 4V), and the first decision signal VDD_L changes from a first state (eg, logic high level) to a second state (eg, logic low level). At time t9', the voltage at the port VDD increases to the enable threshold voltage (for example, 10V), and the second decision signal VDD_H changes from the first state (for example, logic low level) to the second state (for example, logic high level). The signal waveform in the time interval from time t7' to time t9' is similar to the signal waveform in the time interval from time t0 to time t2. After time t9', the voltage at the port VDD increases above the enable threshold voltage, the second determination signal VDD_H changes to a logic high level, and the first control signal CTR1 also changes to a logic high level. Then, the first control switch 122 is turned on and the current I LED1 starts flowing through the first LED chain 120 .
如图7所示,如果开关监测信号TS指示ON/OFF开关102的断开操作与下一接通操作之间的时间间隔小于预定时间间隔(例如,3秒),则亮度和色温控制器112响应于ON/OFF开关102的下一接通操作将光源(例如,第一LED链120和第二LED链130)的色温从第一色温值改变为第二色温值。更具体地说,在图7的示例中,在第一时间间隔期间(例如,从t2时刻到t5时刻的时间间隔),第一控制信号CTR1为逻辑高电平,第一LED链120接通,第二LED链130断开,以使光源的色温被调整为第一色温值;在不同于第一时间间隔的第二时间间隔期间(例如,从t7时刻到t8时刻的时间间隔),第二控制信号CTR2为逻辑高电平,第一LED链120断开,第二LED链130接通,以使光源的色温被调整为第二色温值。因此,亮度和色温控制器112通过交替地接通第一控制开关122和第二控制开关132而将光源的色温从第一LED链120的色温改变为第二LED链130的色温。然而,如图8所示,如果开关监测信号TS指示ON/OFF开关102的断开操作与下一接通操作之间的时间间隔大于预定时间间隔(例如,3秒),则亮度和色温控制器112响应于ON/OFF开关102的下一接通操作将光源的色温重置为预设色温值。在图8的示例中,预设色温值可以为第一LED链120的色温值,例如,由出厂时设置的色温值;预设色温值不限于图8的示例中所示的色温值。As shown in FIG. 7, if the switch monitoring signal TS indicates that the time interval between the OFF operation of the ON/OFF switch 102 and the next ON operation is less than a predetermined time interval (for example, 3 seconds), the brightness and color temperature controller 112 The color temperature of the light source (eg, the first LED string 120 and the second LED string 130 ) is changed from the first color temperature value to the second color temperature value in response to the next ON operation of the ON/OFF switch 102 . More specifically, in the example of FIG. 7, during a first time interval (for example, the time interval from time t2 to time t5), the first control signal CTR1 is at a logic high level, and the first LED chain 120 is turned on. , the second LED chain 130 is disconnected, so that the color temperature of the light source is adjusted to the first color temperature value; The second control signal CTR2 is logic high level, the first LED chain 120 is turned off, and the second LED chain 130 is turned on, so that the color temperature of the light source is adjusted to the second color temperature value. Thus, the brightness and color temperature controller 112 changes the color temperature of the light source from the color temperature of the first LED chain 120 to the color temperature of the second LED chain 130 by alternately turning on the first control switch 122 and the second control switch 132 . However, as shown in FIG. 8, if the switch monitoring signal TS indicates that the time interval between the OFF operation of the ON/OFF switch 102 and the next ON operation is greater than a predetermined time interval (for example, 3 seconds), the brightness and color temperature control The controller 112 resets the color temperature of the light source to a preset color temperature value in response to the next ON operation of the ON/OFF switch 102. In the example of FIG. 8 , the preset color temperature value may be the color temperature value of the first LED chain 120 , for example, the color temperature value set by factory; the preset color temperature value is not limited to the color temperature value shown in the example of FIG. 8 .
图9所示为根据本发明实施例的控制光源亮度和色温的方法流程图900。图9将结合图1A-图8进行描述。图9中所涵盖的具体步骤仅仅作为示例,即,本发明适用于执行各种其它步骤或对图9中表述的步骤进行改进的步骤。FIG. 9 shows a flowchart 900 of a method for controlling the brightness and color temperature of a light source according to an embodiment of the present invention. FIG. 9 will be described in conjunction with FIGS. 1A-8 . The specific steps covered in FIG. 9 are examples only, ie, the invention is applicable to steps that perform various other steps or modifications to the steps represented in FIG. 9 .
在步骤902中,驱动电路(例如,光源驱动电路100或300)从电源接收电能并且由电力转换器(例如电力转换器108)向光源(例如,第一LED链120和第二LED链130)提供调节后的电能。In step 902, a driver circuit (eg, light source driver circuit 100 or 300) receives power from a power source and is supplied by a power converter (eg, power converter 108) to the light sources (eg, first LED chain 120 and second LED chain 130) Provides regulated electrical energy.
在步骤904中,根据导通检测信号来调整指示流经光源的目标电流值的参考信号,从而相应调整流经光源的平均电流,进而调节光源的亮度。在一个实施例中,由亮度和色温控制器112接收指示耦合在电源与电力转换器之间的TRIAC调光器104的导通状态的导通检测信号TD,并基于导通检测信号TD来调整指示流经光源的目标电流值的参考信号。具体地,导通检测信号TD指示TRIAC调光器104中的TRIAC器件202的导通状态(例如,在0-180度之间的导通角度)。亮度和色温控制器112可以根据导通检测信号TD提供对应于TRIAC调光器104的导通角度的参考信号REF(如上述图4和图5中所详述的),并且根据参考信号REF在端口PWM处产生驱动信号DRV以调整流过LED光源的平均电流(例如,电流ILED1或电流ILED2)。In step 904, the reference signal indicating the target current value flowing through the light source is adjusted according to the conduction detection signal, so as to adjust the average current flowing through the light source accordingly, thereby adjusting the brightness of the light source. In one embodiment, the conduction detection signal TD indicative of the conduction state of the TRIAC dimmer 104 coupled between the power supply and the power converter is received by the brightness and color temperature controller 112 and adjusted based on the conduction detection signal TD. A reference signal indicating the target current value flowing through the light source. Specifically, the conduction detection signal TD indicates the conduction state (eg, conduction angle between 0-180 degrees) of the TRIAC device 202 in the TRIAC dimmer 104 . The brightness and color temperature controller 112 can provide a reference signal REF corresponding to the conduction angle of the TRIAC dimmer 104 according to the conduction detection signal TD (as described in detail in FIGS. 4 and 5 above), and according to the reference signal REF at The drive signal DRV is generated at the port PWM to adjust the average current (for example, the current I LED1 or the current I LED2 ) flowing through the LED light source.
在步骤906中,接收开关监测信号,开关监测信号(例如,由亮度和色温控制器112接收的开关监测信号TS)指示耦合在电源与电力转换器之间的ON/OFF开关(例如,ON/OFF开关102)的操作。In step 906, a switch monitor signal is received (eg, switch monitor signal TS received by brightness and color temperature controller 112) indicative of an ON/OFF switch (eg, ON/OFF switch) coupled between the power supply and the power converter. OFF switch 102) operation.
在步骤908中,基于开关监测信号TS调整光源的色温。例如,在第一时间间隔期间(例如,在图7中的t2时刻到t5时刻的时间间隔),亮度和色温控制器112可以产生第一控制信号CTR1来接通具有第一色温值的第一LED链120,并且产生第二控制信号CTR2来断开具有第二色温值的第二LED链130,以使光源的色温被调整为第一色温值;在不同于第一时间间隔的第二时间间隔期间(例如,在图7中的t7时刻到t8时刻的时间间隔),亮度和色温控制器112可以产生第一控制信号CTR1来断开第一LED链120,并且产生第二控制信号CTR2来接通第二LED链130,以使光源的色温被调整为第二色温值。In step 908, the color temperature of the light source is adjusted based on the switch monitoring signal TS. For example, during a first time interval (eg, the time interval from time t2 to time t5 in FIG. 7 ), brightness and color temperature controller 112 may generate a first control signal CTR1 to turn on the first LED chain 120, and generate a second control signal CTR2 to disconnect the second LED chain 130 with a second color temperature value, so that the color temperature of the light source is adjusted to the first color temperature value; at a second time different from the first time interval During the interval (for example, the time interval from time t7 to time t8 in FIG. 7 ), the brightness and color temperature controller 112 may generate a first control signal CTR1 to disconnect the first LED chain 120, and generate a second control signal CTR2 to The second LED chain 130 is turned on, so that the color temperature of the light source is adjusted to the second color temperature value.
以此方式,亮度和色温控制器112不仅可以根据ON/OFF开关102的操作来调整光源(例如,第一LED链120和第二LED链130)的色温,还可以同时根据TRIAC调光器104的操作来调整LED光源(例如,第一LED链120和第二LED链130)的亮度,而无需使用额外的专用器件,简单便捷且节省了成本。In this way, the brightness and color temperature controller 112 can not only adjust the color temperature of the light source (e.g., the first LED chain 120 and the second LED chain 130) according to the operation of the ON/OFF switch 102, but also simultaneously according to the TRIAC dimmer 104 Adjust the brightness of the LED light source (for example, the first LED chain 120 and the second LED chain 130 ) without using additional special devices, which is simple, convenient and cost-saving.
以上描述是基于LED链的实施例举例说明。然而,根据本发明的实施例还可以应用到其它类型的光源。换言之,本发明的实施例不局限于LED光源,同样适用于其它类型的光源。The above description is based on an example of an embodiment of an LED chain. However, embodiments according to the present invention may also be applied to other types of light sources. In other words, the embodiments of the present invention are not limited to LED light sources, and are also applicable to other types of light sources.
在此使用之措辞和表达都是用于说明而非限制,使用这些措辞和表达并不将在此图示和描述的特性之任何等同物(或部分等同物)排除在发明范围之外,在权利要求的范围内可能存在各种修改。其它的修改、变体和替换物也可能存在。因此,权利要求旨在涵盖所有此类等同物。The words and expressions used herein are for the purpose of description and not limitation, and the use of these words and expressions does not exclude from the scope of the invention any equivalent (or partial equivalent) of the characteristics shown and described herein. Various modifications are possible within the scope of the claims. Other modifications, variations and alternatives are also possible. Accordingly, the claims are intended to cover all such equivalents.
Claims (9)
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410729730.5A CN105657932B (en) | 2014-12-04 | 2014-12-04 | Light source driving circuit and brightness and color-temperature controller |
| TW104139427A TWI653907B (en) | 2014-12-04 | 2015-11-26 | Light source drive circuit and brightness and color temperature controller |
| US14/954,613 US9781793B2 (en) | 2008-12-12 | 2015-11-30 | Controlling brightness and color temperature of light sources |
| JP2015235511A JP2016111018A (en) | 2014-12-04 | 2015-12-02 | Controlling brightness and color temperature of light sources |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410729730.5A CN105657932B (en) | 2014-12-04 | 2014-12-04 | Light source driving circuit and brightness and color-temperature controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105657932A CN105657932A (en) | 2016-06-08 |
| CN105657932B true CN105657932B (en) | 2018-05-15 |
Family
ID=56480732
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410729730.5A Active CN105657932B (en) | 2008-12-12 | 2014-12-04 | Light source driving circuit and brightness and color-temperature controller |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105657932B (en) |
| TW (1) | TWI653907B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106211486B (en) * | 2016-08-31 | 2018-09-28 | 深圳市明微电子股份有限公司 | A kind of LED lamp and its light modulation toning circuit |
| CN106793317B (en) * | 2016-12-30 | 2018-12-14 | 杰华特微电子(杭州)有限公司 | Light adjusting circuit, light-dimming method and LED drive circuit |
| CN106973468B (en) * | 2017-05-26 | 2018-09-14 | 深圳市安吉丽光电科技有限公司 | A kind of LED light modulation toning circuits based on DOB designs |
| CN107172745B (en) * | 2017-06-05 | 2019-04-30 | 广州视源电子科技股份有限公司 | Color temperature automatic adjusting method and device and lamp mirror |
| WO2019126584A1 (en) * | 2017-12-20 | 2019-06-27 | Lumileds Llc | Dimmer interface having reduced power consumption |
| CN110392461A (en) * | 2018-04-18 | 2019-10-29 | 凹凸电子(武汉)有限公司 | Controller, light source driving circuit and the method for controlling light source module |
| CN112672460A (en) * | 2019-10-15 | 2021-04-16 | 凹凸电子(成都)有限公司 | Controller and method for controlling light source module |
| CN112512159A (en) * | 2020-12-01 | 2021-03-16 | 怡迅(珠海)光电科技有限公司 | Lamp control system and control method thereof |
| CN114258170B (en) * | 2021-11-29 | 2024-04-19 | 中山市特新电子科技有限公司 | Lamp control device, controllable color temperature lamp and data transmission method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102316648A (en) * | 2011-09-15 | 2012-01-11 | 四川新力光源有限公司 | Light-emitting diode (LED) illuminating device |
| CN202551428U (en) * | 2012-03-20 | 2012-11-21 | 厦门高贤电子科技有限公司 | Regulation and control device for LED (light-emitting diode) lamp |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI436689B (en) | 2010-10-22 | 2014-05-01 | Delta Electronics Inc | Lighting apparatus and control method thereof |
| TWI448191B (en) | 2012-01-10 | 2014-08-01 | Univ Nat Taipei Technology | Feedback control to reduce power consumption light-emitting diode driving device |
| TWI452928B (en) | 2012-09-26 | 2014-09-11 | Anteya Technology Corp | LED device and its color temperature and brightness control method and device |
-
2014
- 2014-12-04 CN CN201410729730.5A patent/CN105657932B/en active Active
-
2015
- 2015-11-26 TW TW104139427A patent/TWI653907B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102316648A (en) * | 2011-09-15 | 2012-01-11 | 四川新力光源有限公司 | Light-emitting diode (LED) illuminating device |
| CN202551428U (en) * | 2012-03-20 | 2012-11-21 | 厦门高贤电子科技有限公司 | Regulation and control device for LED (light-emitting diode) lamp |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201633848A (en) | 2016-09-16 |
| TWI653907B (en) | 2019-03-11 |
| CN105657932A (en) | 2016-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9781793B2 (en) | Controlling brightness and color temperature of light sources | |
| CN105657932B (en) | Light source driving circuit and brightness and color-temperature controller | |
| CN102099621B (en) | LED lights | |
| TWI533746B (en) | Controller and method for dimming and light source driving circuit thereof | |
| CN104994625B (en) | More string LED current control systems and method | |
| CN102740545B (en) | Constant voltage dimmable led driver | |
| CN102395230B (en) | Controller and method for controlling dimming of light sources, and light source driving circuit | |
| TWI568311B (en) | Light source driving circuit, color temperature controller and method for controlling color temperature of light source | |
| RU2638958C2 (en) | Circuit device and led lamp, containing this circuit device | |
| US9949324B2 (en) | Powerless bleeder | |
| CN103298201B (en) | For avoiding the method and system glimmered in SSL device | |
| CN103975650A (en) | Systems and methods for LED dimmer compatibility | |
| US10299331B2 (en) | LED retrofit driver circuit and method of operating the same | |
| JP2013105729A (en) | Led lighting device | |
| JP2016111018A (en) | Controlling brightness and color temperature of light sources | |
| EP2534928B1 (en) | Dimmer circuit for electronic loads | |
| EP2713676A1 (en) | Luminaire | |
| US20190098730A1 (en) | Illumination control system, lighting system, illumination system, non-transitory recording medium, and illumination control method | |
| KR101376152B1 (en) | Led lighting apparatus | |
| CN210124030U (en) | Circuit arrangement for operating a lamp and dimming circuit for a light-emitting diode | |
| CN210246606U (en) | Switch, wall switch and wall switch for supplying power to load | |
| CN111246619B (en) | LED driver for phase-cut dimmer | |
| CN102510621B (en) | Bias voltage establishing device of controller used for light-emitting diode lighting system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |