TWI653907B - A driver circuit for a light source, and a controller for luminance and color temperature - Google Patents

A driver circuit for a light source, and a controller for luminance and color temperature Download PDF

Info

Publication number
TWI653907B
TWI653907B TW104139427A TW104139427A TWI653907B TW I653907 B TWI653907 B TW I653907B TW 104139427 A TW104139427 A TW 104139427A TW 104139427 A TW104139427 A TW 104139427A TW I653907 B TWI653907 B TW I653907B
Authority
TW
Taiwan
Prior art keywords
color temperature
signal
light source
brightness
switch
Prior art date
Application number
TW104139427A
Other languages
Chinese (zh)
Other versions
TW201633848A (en
Inventor
閻鐵生
郭清泉
蘇英傑
Original Assignee
英屬開曼群島商凹凸科技國際股份有限公司
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 英屬開曼群島商凹凸科技國際股份有限公司 filed Critical 英屬開曼群島商凹凸科技國際股份有限公司
Publication of TW201633848A publication Critical patent/TW201633848A/en
Application granted granted Critical
Publication of TWI653907B publication Critical patent/TWI653907B/en

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本發明公開了一種光源驅動電路及亮度和色溫控制器。光源驅動電路用於調節光源的亮度和色溫,並且包括電力轉換器及耦接於電力轉換器的亮度和色溫控制器。電力轉換器耦接在電源與光源之間,從電源接收電能並且向光源提供調節後的電能。亮度和色溫控制器接收指示耦接於電源與電力轉換器之間的三端矽控調光器的導通狀態的導通檢測信號,並且基於導通檢測信號來調整光源的亮度。亮度和色溫控制器還接收指示耦接於三端矽控調光器的通/斷開關的操作的開關監測信號,並且基於開關監測信號來調整光源的色溫。 The invention discloses a light source driving circuit and a brightness and color temperature controller. The light source driving circuit is configured 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. The power converter is coupled between the power source and the light source, receives power from the power source, and provides the adjusted power to the light source. The brightness and color temperature controller receives a conduction detection signal indicative of an on state of the three-terminally controlled dimmer coupled between the power source and the power converter, and adjusts the brightness of the light source based on the conduction detection signal. The brightness and color temperature controller also receives a switch monitoring signal indicative of the operation of the on/off switch coupled to the three-terminal remote control dimmer, and adjusts the color temperature of the light source based on the switch monitoring signal.

Description

光源驅動電路及亮度和色溫控制器 Light source drive circuit and brightness and color temperature controller

本發明係有關光源控制領域,特別係有關一種光源驅動電路及亮度和色溫控制器。 The invention relates to the field of light source control, in particular to a light source driving circuit and a brightness and color temperature controller.

近年來,發光二極體(light-emitting diode,LED)等新型光源在材料和製造上都取得了進步。LED具有高效率、長壽命、顏色鮮豔等特點,可以應用於汽車、電腦、通信、軍事和日用品等領域。比如,LED燈可以替代傳統的白熾燈作為照明光源。 In recent years, new light sources such as light-emitting diodes (LEDs) have made advances in materials and manufacturing. LEDs are characterized by high efficiency, long life and bright colors, and can be used in automobiles, computers, communications, military and daily necessities. For example, LED lights can replace traditional incandescent lamps as illumination sources.

可以採用不同的方式來調節光源。比如,電力轉換器接收交流電源提供的交流電壓,並產生直流電壓為LED光源供電。控制器根據耦接在交流電源和電力轉換器之間的調光器來調整電力轉換器的輸出,從而調整LED光源的亮度。該調光器可以是三端矽控(TRIAC)調光器或是開/關(ON/OFF)調光器。然而,這種調光器都只能用於調節光源亮度而無法調整光源的色溫。 The light source can be adjusted in different ways. For example, the power converter receives the AC voltage provided by the AC power source and generates a DC voltage to power the LED light source. The controller adjusts the output of the power converter according to a dimmer coupled between the alternating current power source and the power converter to adjust the brightness of the LED light source. The dimmer can be a three-terminal TRIAC dimmer or an on/off dimmer. However, this dimmer can only be used to adjust the brightness of the light source and not to adjust the color temperature of the light source.

本發明要解決的技術問題在於提供一種光源驅動電路及亮度和色溫控制器,能夠以簡單便捷的方式來實現對光源亮度和色溫的調節。 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 adjust the brightness and color temperature of the light source in a simple and convenient manner.

本發明提供了一種光源驅動電路,調節光源的亮度和色溫。包括:電力轉換器,耦接電源與該光源之間,從該電源接收電能並且向該光源提供調節後的電能;以及亮度和色溫控制器,耦接該電力轉換器,接收指示耦接於該電源與該電力轉換器之間的TRIAC調光器的導通狀態的導通檢測信號,並且基於該導通檢測信號來調整該光源的亮度,其中,該亮度和色溫控制器還接收指示耦接於該TRIAC調光器的通/斷(ON/OFF)開關的操作的開關監測信號,並且基於該開關監測信號來調整該光源的色溫。 The present invention provides a light source driving circuit that adjusts the brightness and color temperature of a light source. The method includes: a power converter coupled between the power source and the light source, receiving power from the power source and providing the adjusted power to the light source; and a brightness and color temperature controller coupled to the power converter, the receiving indication coupled to the a conduction detection signal of a conduction state of the TRIAC dimmer between the power source and the power converter, and adjusting a brightness of the light source based on the conduction detection signal, wherein the brightness and color temperature controller further receives an indication coupled to the TRIAC The switch of the operation of the dimmer's ON/OFF switch monitors the signal and adjusts the color temperature of the source based on the switch monitor signal.

本發明還提供了一種亮度和色溫控制器,包括:信號產生器,產生與流經光源的平均電流成比例的監測信號;TRIAC監測器,接收指示耦接於電源與電力轉換器之間的TRIAC調光器的導通狀態的導通檢測信號,並且根據該導通檢測信號來產生指示流經該光源的平均電流的目標值的參考信號;驅動器,耦接該信號產生器和該TRIAC監測器,根據該監測信號和該參考信號來產生驅動信號以控制該電力轉換器提供調節後的電能給該光源;以及色溫控制單元,接收指示耦接於該TRIAC調光器的ON/OFF開關的操作的開關監測信號,並且基於該開關監測信號調整該光源的色溫。 The present invention also provides a brightness and color temperature controller comprising: a signal generator for generating a monitoring signal proportional to an average current flowing through the light source; and a TRIAC monitor for receiving a TRIAC coupled between the power source and the power converter a conduction detection signal of the on state of the dimmer, and generating a reference signal indicating a target value of the average current flowing through the light source according to the conduction detection signal; a driver coupled to the signal generator and the TRIAC monitor, according to the Monitoring a signal and the reference signal to generate a drive signal to control the power converter to provide regulated power to the light source; and a color temperature control unit to receive switch monitoring indicating operation of an ON/OFF switch coupled to the TRIAC dimmer Signaling, 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 adjust the brightness and color temperature of the light source through operation of a power switch (for example, including an ON/OFF switch and a TRIAC dimmer). No need to use additional dedicated components, it is simple and convenient and saves costs.

100‧‧‧光源驅動電路 100‧‧‧Light source drive circuit

101‧‧‧電源開關 101‧‧‧Power switch

102‧‧‧ON/OFF開關 102‧‧‧ON/OFF switch

104‧‧‧調光器 104‧‧‧Dimmer

106‧‧‧整流器 106‧‧‧Rectifier

108‧‧‧電力轉換器 108‧‧‧Power Converter

110‧‧‧變壓器 110‧‧‧Transformers

112‧‧‧亮度和色溫控制器 112‧‧‧Brightness and color temperature controller

120‧‧‧第一LED鏈 120‧‧‧First LED chain

122‧‧‧第一控制開關 122‧‧‧First control switch

130‧‧‧第二LED鏈 130‧‧‧Second LED chain

132‧‧‧第二控制開關 132‧‧‧Second control switch

202‧‧‧TRIAC元件 202‧‧‧TRIAC components

204‧‧‧可變電阻 204‧‧‧Variable resistor

206‧‧‧電容 206‧‧‧ Capacitance

208‧‧‧DIAC元件 208‧‧‧DIAC components

300‧‧‧光源驅動電路 300‧‧‧Light source drive circuit

302‧‧‧濾波器 302‧‧‧ filter

305‧‧‧原邊繞組 305‧‧‧ primary winding

307‧‧‧副邊繞組 307‧‧‧secondary winding

309‧‧‧輔助繞組 309‧‧‧Auxiliary winding

311‧‧‧磁芯 311‧‧‧ magnetic core

402‧‧‧採集電路 402‧‧‧ Acquisition circuit

404‧‧‧狀態檢測器 404‧‧‧State detector

406‧‧‧開關控制信號 406‧‧‧Switch control signal

408‧‧‧多路選擇器 408‧‧‧Multiple selector

410‧‧‧信號產生器 410‧‧‧Signal Generator

412‧‧‧方波信號 412‧‧‧ square wave signal

414‧‧‧運算放大器 414‧‧‧Operational Amplifier

416‧‧‧電容 416‧‧‧ Capacitance

418‧‧‧運算轉導放大器 418‧‧‧Operational Transducer

420‧‧‧鋸齒波產生器 420‧‧‧Sawtooth generator

422‧‧‧誤差信號 422‧‧‧ error signal

426‧‧‧比較器 426‧‧‧ comparator

428‧‧‧緩衝器 428‧‧‧buffer

430‧‧‧驅動器 430‧‧‧ drive

432‧‧‧TRIAC監測器 432‧‧‧TRIAC monitor

434‧‧‧判定單元 434‧‧‧Determining unit

436‧‧‧反相器 436‧‧‧Inverter

438‧‧‧啟動及低壓鎖定電路 438‧‧‧Starting and low voltage locking circuit

440‧‧‧色溫控制單元 440‧‧‧Color temperature control unit

502‧‧‧分壓器 502‧‧ ‧ voltage divider

504‧‧‧分壓信號 504‧‧‧Division signal

506‧‧‧比較器 506‧‧‧ comparator

508‧‧‧方波信號 508‧‧‧ square wave signal

510‧‧‧濾波器 510‧‧‧ filter

602‧‧‧計時器 602‧‧‧Timer

604‧‧‧第一D正反器 604‧‧‧First D flip-flop

606‧‧‧第二D正反器 606‧‧‧Second D forward and reverse

608‧‧‧第一及閘 608‧‧‧First Gate

610‧‧‧第二及閘 610‧‧‧Second Gate

第1A圖係根據本發明實施例的光源驅動電路的方塊圖。 Fig. 1A is a block diagram of a light source driving circuit according to an embodiment of the present invention.

第1B圖係根據本發明實施例的光源驅動電路的方塊圖。 Fig. 1B is a block diagram of a light source driving circuit according to an embodiment of the present invention.

第1C圖係第1B圖中TRIAC調光器產生或接收的信號波形圖。 Figure 1C is a waveform diagram of the signal generated or received by the TRIAC dimmer in Figure 1B.

第2圖係第1A圖和第1B圖中的電源開關的一個實施例的示意圖。 Figure 2 is a schematic illustration of one embodiment of a power switch in Figures 1A and 1B.

第3圖係根據本發明實施例的光源驅動電路的電路示意圖。 Fig. 3 is a circuit diagram of a light source driving circuit according to an embodiment of the present invention.

第4圖係第3圖中的亮度和色溫控制器的結構示意圖。 Fig. 4 is a schematic view showing the structure of the brightness and color temperature controller in Fig. 3.

第5圖係第4圖中的TRIAC監測器的結構示意圖。 Figure 5 is a schematic view showing the structure of the TRIAC monitor in Figure 4.

第6圖係第4圖中的色溫控制模組的結構示意圖。 Figure 6 is a schematic view showing the structure 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.

第9圖係根據本發明實施例的控制光源亮度和色溫的方法流程圖。 Figure 9 is a flow chart of a method of controlling the brightness and color temperature of a light source in accordance with an embodiment of the present invention.

以下將對本發明的實施例給出詳細的說明。儘管本發明透過這些實施方式進行闡述和說明,但需要注意的是本發明並不僅僅只局限於這些實施方式。相反地,本發明涵蓋後附申請專利範圍所定義的發明精神和發明範圍內的所有替代物、變體和等同物。在以下對本發明的詳細描 述中,為了提供一個針對本發明的完全的理解,闡明瞭大量的具體細節。然而,本領域技術人員將理解,沒有這些具體細節,本發明同樣可以實施。在另外的一些實例中,對於大家熟知的方案、流程、元件和電路未作詳細描述,以便於凸顯本發明的主旨。 A detailed description of the embodiments of the present invention will be given below. Although the invention has been illustrated and described with respect to the embodiments, it should be noted that the invention is not limited to the embodiments. Rather, the invention is to cover all modifications, alternatives and equivalents of the scope of the invention as defined by the appended claims. The following detailed description of the invention In the following, a number of specific details are set forth in order to provide a complete understanding of the invention. However, those skilled in the art will appreciate that the present invention may be practiced without these specific details. In other instances, well-known schemes, procedures, components, and circuits have not been described in detail in order to facilitate the 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之前,但是這並非限制性的。例如,ON/OFF開關102可耦接在TRIAC調光器104之後。在一個實施例中,電源開關101可以是置於牆面上的電源開關。如圖2所示,該電源開關101分為上半部分的TRIAC調光器104和下半部分的ON/OFF開關102。在操作中,透過將ON/OFF開關102切換至ON端或OFF端,電源開關101的導電狀態可由使用者控制為閉合或斷開,並且透過對ON/OFF開關102的操作(例如,斷開操作)來調整光源的色溫。同時,用戶還可透過對TRIAC調光器104的操作(例如,旋鈕操作)來調整光源的亮度。 1A is a block diagram of a light source driving circuit 100 in accordance with an embodiment of the present invention. In one embodiment, the light source includes a first illuminating element (eg, a first LED chain 120) and a second illuminating element (eg, a second LED chain 130). The second LED chain 130 can 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. The power switch 101 coupled between the power source VIN and the light source driving circuit 100 includes an ON/OFF switch 102 (for example, a rocker switch) and a TRIAC dimmer 104 to selectively couple the power source VIN to the light source driving circuit 100. It is worth noting that although the ON/OFF switch 102 is coupled before the TRIAC dimmer 104 in FIG. 1A, this is not limiting. For example, the ON/OFF switch 102 can be coupled after the TRIAC dimmer 104. In one embodiment, the power switch 101 can be a power switch placed on a wall. As shown in FIG. 2, the power switch 101 is divided into an upper half TRIAC dimmer 104 and a lower half ON/OFF switch 102. In operation, by switching the ON/OFF switch 102 to the ON or OFF terminal, the conductive state of the power switch 101 can be controlled to be closed or opened by the user and transmitted through the operation of the ON/OFF switch 102 (eg, disconnected) 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 VIN from the power source is converted to an AC voltage VTRIAC via the ON/OFF switch 102 and the TRIAC dimmer 104. The light source driving circuit 100 includes a rectifier 106 for converting an alternating voltage VTRIAC into a rectified voltage VREC, coupled to the rectifier 106 and the light. A power converter 108 between the source (eg, the first LED chain 120 and the second LED chain 130), a brightness and color temperature controller 112, a first control switch 122, and a second control switch 132. Power converter 108 is operative to receive rectified voltage VREC from rectifier 106 and provide regulated output current IOUT to a source (eg, first LED chain 120 and second LED chain 130). 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 source (eg, the first LED chain 120 and the second LED chain 130) for receiving an operation indicative of the ON/OFF switch 102 (eg, off) The switch of the open operation monitors the signal TS and adjusts 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 luminance 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 chain 120 such 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 such 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 ILED1 flows through the first LED chain 120 and the light source The color temperature is adjusted to a 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 ILED2 flows through the second LED chain 130 and the color temperature of the light source is adjusted to a 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 further configured to receive an indicator TRIAC dimmer The conduction detection signal TD of the conduction state of 104 (for example, the conduction angle between 0-180 degrees) is adjusted based on the conduction detection signal TD (for example, the value of the current ILED1 or the current ILED2). Specifically, the operation of adjusting the brightness can be understood in conjunction with FIGS. 1B and 1C, which is a block diagram of a light source driving circuit 100 including an ON/OFF switch 102 and a TRIAC dimmer 104 in accordance with an embodiment of the present invention. As shown in FIG. 1B, the TRIAC dimmer 104 includes a TRIAC element 202 coupled between the ON/OFF switch 102 and the rectifier 106. The TRIAC element 202 has 埠A1, 埠A2, and a gate G. The TRIAC dimmer 104 also includes a variable resistor 204 and a capacitor 206 coupled in series, and a Diode for Alternating Current (DIAC) component 208. One end of the DIAC component 208 is coupled to the capacitor 206 and the other end is coupled to the gate G of the TRIAC component 202. The TRIAC component 202 is a bidirectional switch that, when triggered, conducts current in either direction. The TRIAC element 202 can be triggered by a positive or negative current applied to the gate G. Once triggered, the TRIAC element 202 will remain conductive until the current flowing through 埠A1 and 埠A2 drops to a threshold (eg, hold current IH).

圖1C所示為根據本發明一個實施例的圖1B中TRIAC調光器104產生或接收的信號波形圖。圖1C將結合圖1B進行描述。圖1C示出了交流輸入電壓VIN、TRIAC元件202的埠A1和埠A2間的電壓VA2-A1、流過DIAC元件208的電流IDIAC、交流電壓VTRIAC和整流電壓VREC的波形。 1C is a diagram showing signal waveforms generated or received by the TRIAC dimmer 104 of FIG. 1B, in accordance with one embodiment of the present invention. FIG. 1C will be described in conjunction with FIG. 1B. 1C shows the waveform of the AC input voltage VIN, the voltage VA2-A1 between 埠A1 and 埠A2 of the TRIAC element 202, the current IDIAC flowing through the DIAC element 208, the AC voltage VTRIAC, and the rectified voltage VREC.

在圖1C的例子中,交流輸入電壓VIN具有正弦波波形。在時刻T0至時刻T1間,TRIAC元件202關斷,埠A1和埠A2間的電壓VA2-A1隨著交流輸入電壓VIN的增大而增大。在時刻T1至時刻T2間,TRIAC元件202保持導通。所以,在時刻T1至時刻T2間,交流電壓VTRIAC的波形與交流輸入電壓VIN的波形一致。 In the example of Figure 1C, the AC input voltage VIN has a sinusoidal waveform. Between time T0 and time T1, the TRIAC element 202 is turned off, and the voltage VA2-A1 between 埠A1 and 埠A2 increases as the AC input voltage VIN increases. TRIAC element 202 remains conductive between time T1 and time T2. Therefore, between time T1 and time T2, the waveform of the alternating voltage VTRIAC coincides with the waveform of the alternating current input voltage VIN.

在接近交流輸入電壓VIN的第一半週期結束的時刻T2,由 於流過TRIAC元件202的電流下降至低於TRIAC元件202的保持電流,TRIAC元件202關斷。在交流輸入電壓VIN的第二半週期中,當電容206上的電壓在時刻T3導通DIAC元件208時,TRIAC元件202再次導通。同理,在時刻T3至時刻T4間,交流電壓VTRIAC的波形與交流輸入電壓VIN的波形一致。 At time T2 near the end of the first half cycle of the AC input voltage VIN, The current flowing through the TRIAC element 202 drops below the holding current of the TRIAC element 202, and the TRIAC element 202 is turned off. During the second half of the AC input voltage VIN, when the voltage on capacitor 206 turns on the DIAC component 208 at time T3, the TRIAC component 202 is again turned on. Similarly, between time T3 and time T4, the waveform of the alternating voltage VTRIAC coincides with the waveform of the alternating current input voltage VIN.

在一個實施例中,用戶可調整可變電阻204的阻值(R204),例如,旋轉TRIAC調光器104的旋鈕來調整可變電阻204的阻值。可變電阻204的阻值決定TRIAC元件202在交流輸入電壓VIN的每個半週期中的導通時刻。更具體地說,在一個實施例中,如果可變電阻的阻值增大,在時刻T0後為電容206充電的充電電流的平均值減小。因此,電容206上的電壓需要更多的時間達到與DIAC元件208相關的電壓閾值。所以,TRIAC元件202的導通時刻被延遲,例如,晚於時刻T1。同理,如果可變電阻的阻值減小,TRIAC元件202的導通時刻被提早,例如,早於時刻T1。因此,透過調整可變電阻204的阻值,每個半週期中TRIAC元件202的導通時刻得到相應的調整,例如,導通時刻被延遲或提前。TRIAC調光器104可具有其它結構,且不局限於圖1B和圖1C的實施例。在另一個實施例中,如果可變電阻204的阻值變化,例如,阻值被用戶調整,每個半週期中TRIAC元件202的關斷時刻得到調整。為舉例說明,在以下的描述中,TRIAC調光器104調整TRIAC元件202的導通時刻。然而,本發明並不局限於此,本發明的TRIAC調光器104還適用於調整TRIAC元件202的關斷時刻。 In one embodiment, the user can adjust the resistance of the variable resistor 204 (R204), for example, by rotating the knob of the TRIAC dimmer 104 to adjust the resistance of the variable resistor 204. The resistance of the variable resistor 204 determines the turn-on timing of the TRIAC component 202 during each half cycle of the AC input voltage VIN. More specifically, in one embodiment, if the resistance of the variable resistor is increased, the average value of the charging current for charging the capacitor 206 after time T0 is decreased. Therefore, the voltage on capacitor 206 requires more time to reach the voltage threshold associated with DIAC component 208. Therefore, the turn-on timing of the TRIAC element 202 is delayed, for example, later than the time T1. Similarly, if the resistance of the variable resistor is reduced, the turn-on timing of the TRIAC element 202 is advanced, for example, earlier than the time T1. Therefore, by adjusting the resistance of the variable resistor 204, the turn-on timing of the TRIAC element 202 in each half cycle is adjusted accordingly, for example, the turn-on time is delayed or advanced. The TRIAC dimmer 104 can have other configurations and is not limited to the embodiment of Figures IB and 1C. In another embodiment, if the resistance of the variable resistor 204 changes, for example, the resistance is adjusted by the user, the turn-off instant of the TRIAC component 202 is adjusted during each half cycle. By way of example, in the following description, the TRIAC dimmer 104 adjusts the turn-on timing of the TRIAC element 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 timing of the TRIAC element 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的阻值增大(例如,透過旋轉TRIAC調光器104的旋鈕),每個週期中TRIAC元件202的導通時刻延遲。由此,亮度和色溫控制器112控制開關Q3來降低流過LED光源(例如,第一LED鏈120或第二LED鏈130)的平均電流。同理,如果可變電阻204的阻值減小,亮度和色溫控制器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 FIGS. 1A and 1B, the luminance and color temperature controller 112 receives a turn-on detection signal indicative of the conductive state of the TRIAC element 202 (eg, a conduction angle between 0-180 degrees). TD, and adjusts the brightness of the light source (for example, the value of current ILED1 or current ILED2) based on the conduction detection signal TD. The luminance and color temperature controller 112 generates a drive signal DRV based on the turn-on detection signal TD. The drive signal DRV controls a control switch (eg, control switch Q3 in FIG. 3) in the power converter 108 to alternately operate in a first state (eg, an on state) and a second state (eg, an off state), thereby adjusting the flow The average current through the LED source (eg, current ILED1 or current ILED2). More specifically, in one embodiment, the luminance and color temperature controller 112 detects the turn-on instant of the TRIAC component 202 in each cycle based on the turn-on detection signal TD. If the resistance of the variable resistor 204 is increased (e.g., by rotating the knob of the TRIAC dimmer 104), the turn-on timing of the TRIAC element 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 source (eg, the first LED chain 120 or the second LED chain 130). Similarly, if the resistance of the variable resistor 204 is reduced, the brightness and color temperature controller 112 controls the switch Q3 to increase the average current flowing through the LED source (eg, the first LED chain 120 or the second LED chain 130). As described above, for example, 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 controller The average current ILED1 flowing through the first LED light source 120 is adjusted 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, the brightness and color temperature controller 112 is based on the TRIAC dimmer The operation of 104 adjusts the average current ILED2 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 (eg, the first LED chain 120 and the second LED chain 130) according to the operation of the ON/OFF switch 102, but can also be simultaneously based on the TRIAC dimmer 104. Operation to adjust the LED light source (eg, the first LED The brightness of the chain 120 and the second LED chain 130), without the need for additional dedicated components, is simple and convenient and saves cost. The operation of brightness and color temperature controller 112 will be further described in conjunction with FIG.

圖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 circuit diagram of a light source driving circuit 300 according to an embodiment of the present invention. In Figure 3, the power supply VIN and TRIAC dimmer 104 are not shown for the sake of brevity. The light source driving circuit 300 is powered by the power source VIN (for example, 110/120 V ac, 60 Hz) via the ON/OFF switch 102 and the TRIAC dimmer 104. The AC voltage VTRIAC is converted to a rectified voltage VREC via a filter 302 and a rectifier 106 (eg, a bridge rectifier composed of diodes D1-D4). Power converter 108 receives rectified voltage VREC from rectifier 106 and provides regulated output current IOUT to a source (eg, first LED chain 120 and second LED chain 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, power converter 108 includes transformer 110, control switch Q3, diode D5, and capacitor C8. The transformer 110 includes a primary winding 305 for receiving a rectified voltage VREC from the rectifier 106, a secondary winding 307 for supplying an output current IOUT to the first LED chain 120 and the second LED chain 130, a magnetic core 311, and for luminance The color temperature controller 112 provides an auxiliary winding 309 of voltage. The transformer 110 shown in FIG. 3 includes three windings by way of example and not limitation. In other embodiments, the transformer 110 can include other different numbers of windings. In the embodiment shown in FIG. 3, control switch Q3 coupled to primary winding 305 is external to luminance and color temperature controller 112. In other embodiments, control switch Q3 can also be integrated into the interior of 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 for generating a PWM signal to selectively turn on the control switch Q3 in series with the primary winding 305 and to adjust the duty cycle of the PWM signal. The output current IOUT of the transformer 110 is adjusted. By way of example and not limitation, the luminance and color temperature controller 112 includes 埠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 luminance and color temperature controller 112 receives the conduction detection signal TD of the rectified voltage VIN at 埠HV and adjusts the average current (eg, current ILED1 or current ILED2) flowing through the LED light source according to the conduction detection signal TD. In particular, the turn-on detection signal TD may indicate the on state of the TRIAC element 202 in the TRIAC dimmer 104 (eg, a conduction angle between 0-180 degrees). The luminance and color temperature controller 112 may 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. 4 and 5 below), and generate at the 埠PWM according to the reference signal REF. The signal DRV is driven to adjust the average current flowing through the LED source (eg, current ILED1 or current ILED2).

有利的是,回應於原邊電路中TRIAC調光器104的旋轉操作,副邊電路中的光源(例如,第一LED鏈120和第二LED鏈130)的亮度由亮度和色溫控制器112調整為對應於TRIAC調光器104的導通角度的目標亮度值(例如,25%、50%、75%、90%、100%等)。 Advantageously, in response to the rotational operation of the TRIAC dimmer 104 in the primary circuit, the brightness of the light sources (eg, the first LED chain 120 and the second LED chain 130) in the secondary circuit is adjusted by the luminance and color temperature controller 112. The target brightness value (eg, 25%, 50%, 75%, 90%, 100%, etc.) corresponding to the conduction angle of the TRIAC dimmer 104.

亮度和色溫控制器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 (eg, an on or off state) of the ON/OFF switch 102 at 埠CLK, and generates a first control signal CTR1 according to the switch monitoring signal TS (at埠SW1) and a second control signal CTR2 (at 埠SW2) to control the first LED chain 120 and the second LED chain 130, respectively. More specifically, in one embodiment, if the switch monitor signal TS indicates that the ON/OFF switch 102 is turned "on" for the first time, the luminance and color temperature controller 112 generates a first control signal CTR1 to turn on the first control switch 122 and A second control signal CTR2 is generated to turn off the second control switch 132, so that the current ILED1 flows through the first LED chain 120 without current flowing through the second LED chain 130; if the switch monitoring signal TS indicates The ON/OFF switch 102 is turned off and turned "on" again for a predetermined period of time, and the luminance and color temperature controller 112 generates a first control signal CTR1 to turn off the first control switch 122 and generate a second control signal CTR2 to turn on the second Switch 132 is controlled such that no current flows through first LED chain 120 and current ILED2 flows through second LED chain 130. Because the second LED chain 130 can have a different color temperature than the first LED chain 120, the brightness and color temperature controller 112 can adjust the color temperature of the light source based on 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)的電能。 The 埠FB receives a current monitoring signal SEN indicating a current IS flowing through the secondary winding 307 from a voltage dividing circuit (not shown) coupled to the auxiliary winding 309 of the transformer 110 (eg, the current monitoring signal SEN may indicate flow through the secondary side) When the current IS of the winding 307 drops to 0). The 埠CS receives a monitor signal LPSEN indicating the current IP flowing through the primary winding 305. The brightness and color temperature controller 112 receives the current monitor signal SEN and the monitor signal LPSEN and generates a drive signal DRV at the 埠PWM to control the control switch Q3 to regulate the output current IOUT of the power converter 108. The brightness and color temperature controller 112 controls the conduction state (eg, the on or off state) of the control switch Q3 based on the current monitoring signal SEN and the monitor signal LPSEN generating the drive signal DRV at the 埠PWM. For example, when the current monitoring signal SEN indicates that the current IS flowing through the secondary winding 307 falls to zero, the drive 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 the reference signal indicating the target current value ITARGET flowing through the light source; the voltage of the monitoring signal LPSEN can be made with the voltage of another reference signal indicating the target current value ITARGET Comparison. If any of the comparison results indicate that the transient current value flowing through the light source is greater than the target current value ITARGET, the luminance and color temperature controller 112 reduces the duty cycle of the drive signal DRV and vice versa. In one embodiment, if the drive signal DRV is in a first state (eg, a logic high), the control switch Q3 is turned on, current flows through the primary winding 305, and the core 311 for energy storage. If the drive signal DRV is in the second state (eg, logic low), the control switch Q3 is turned off, and the diode D5 coupled to the secondary winding 307 is forward biased to transmit the energy stored in the magnetic core 311. The secondary winding 307 is released to the capacitor C8 and the light source. Therefore, the power of the light sources (eg, the first LED chain 120 and the second LED chain 130) can be adjusted according to the drive signal DRV.

埠VDD耦接於輔助繞組309。在一個實施例中,耦接於埠VDD和地之間的儲能單元(例如,電容C5)在ON/OFF開關102斷開時為亮度和色溫控制器112供電。埠COMP透過電容與地(埠GND)耦接,用於提供誤差信號。 埠 VDD is coupled to the auxiliary winding 309. In one embodiment, an energy storage unit (eg, capacitor C5) coupled between 埠VDD and ground supplies power to the luminance and color temperature controller 112 when the ON/OFF switch 102 is turned off.埠COMP is coupled to ground (埠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 opening operation of the ON/OFF switch 102 in the primary 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, the secondary circuit is The color temperature of the light source (eg, first LED chain 120 and second LED chain 130) is adjusted by brightness and color temperature controller 112 to a target color temperature value (eg, a first color temperature value or a second color temperature value).

圖4所示為圖3中的亮度和色溫控制器112的結構示意圖。圖4將結合圖3進行描述。在圖4的示例中,亮度和色溫控制器112分為上半部分的亮度控制模組和下半部分的色溫控制模組。 4 is a block diagram showing the structure of the brightness and color temperature controller 112 of FIG. Figure 4 will be described in conjunction with Figure 3. In the example of FIG. 4, the brightness and color temperature controller 112 is divided into a brightness control module of the upper half and a color temperature control module of the lower half.

亮度控制模組的工作原理如下: The brightness control module works 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. Signal generator 410 generates a monitoring signal (e.g., square wave signal 412). The average voltage of the monitoring signal is proportional to the average current IOUT (eg, current ILED1 or ILED2) flowing through the LED source (eg, first LED chain 120 or second LED chain 130). The TRIAC monitor 432 generates the reference signal REF based on the conduction detection signal TD. The reference signal REF indicates the flow through the LED light source (example) For example, the target current value of the average current of the first LED chain 120 or the second LED chain 130) (eg, the target current value ITARGET). Accordingly, the driver 430 generates the drive signal DRV based on the square wave signal 412 and the reference signal REF. Signal generator 410, driver 430 and transformer 110 form a negative feedback loop. The negative feedback loop maintains the average voltage of the square wave signal 412 equal to the reference signal REF, thereby maintaining the average current IOUT flowing through the LED source (eg, the first LED chain 120 or the second LED chain 130) equal to the target current value ITARGET. Please note that the conduction angle of the TRIAC dimmer 104 can be changed as the user rotates, so the reference signal REF also changes accordingly. In this way, the adjustment of the brightness of the LED light source is achieved.

信號產生器410包括採集電路402、狀態檢測器404和多路選擇器408。採集電路402與埠CS相連,以接收指示流經原邊繞組305的電流的監測信號LPSEN。採集電路402根據監測信號LPSEN採樣保持並且產生與流過原邊繞組305的電流的峰值成比例的峰值信號VPK。在一個實施例中,多路選擇器408包括具有第一埠、第二埠和第三埠的開關。多路選擇器408的第一埠與採集電路402的輸出端相連,用於接收峰值信號VPK。多路選擇器408的第二埠與參考地GND相連,用於接收預設電壓信號VPRE(例如,VPRE為零伏特)。多路選擇器408的第三埠與驅動器430的輸入端相連,用於提供方波信號412。在另一個實施例中,多路選擇器408的第二埠也可連接至其它的信號發生器,接收預設恒定參考電壓。 Signal generator 410 includes acquisition circuitry 402, state detector 404, and multiplexer 408. The acquisition circuit 402 is coupled to the 埠CS to receive a monitor signal LPSEN indicative of the current flowing through the primary winding 305. The acquisition circuit 402 samples and holds according to the monitor signal LPSEN and generates a peak signal VPK that is 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 turn, a second turn, and a third turn. The first port of the multiplexer 408 is coupled to the output of the acquisition circuit 402 for receiving the peak signal VPK. The second port of the multiplexer 408 is coupled to the reference ground GND for receiving a preset voltage signal VPRE (eg, VPRE is zero volts). A third port of multiplexer 408 is coupled to the input of driver 430 for providing a square wave signal 412. In another embodiment, the second turn of the multiplexer 408 can also be coupled to other signal generators to receive a predetermined constant reference voltage.

狀態檢測器404與埠FB相連,以接收電流監測信號SEN。狀態檢測器404根據電流監測信號SEN判斷變壓器110是否工作於預設狀態,並產生開關控制信號406以控制多路選擇器408。更具體地說,在一個實施例中,當電流監測信號SEN具有表示變壓器110工作於預設狀態的第一電壓值 時,開關控制信號406具有第一狀態(例如,高電位)。此時,多路選擇器408的第一埠和第三埠導通。由此,方波信號412等於峰值信號VPK。當電流監測信號SEN具有表示變壓器110沒有工作於預設狀態的第二電壓值時,開關控制信號406具有第二狀態(例如,低電位)。此時,多路選擇器408的第二埠和第三埠導通。由此,方波信號412等於預設電壓信號VPRE。 State detector 404 is coupled to 埠FB to receive current monitoring signal SEN. The state detector 404 determines whether the transformer 110 is operating in a preset state based on 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, a high potential). At this time, the first and third turns of the multiplexer 408 are turned on. Thus, the square wave signal 412 is equal to the peak signal VPK. When the current monitoring signal SEN has a second voltage value indicating that the transformer 110 is not operating in a preset state, the switch control signal 406 has a second state (eg, a low potential). At this time, the second and third turns of the multiplexer 408 are turned on. Thus, the square wave signal 412 is equal to the preset voltage signal VPRE.

有利的是,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 in accordance with the TRIAC dimmer 104. More specifically, in one embodiment, if the turn-on detection signal TD indicates that the turn-on instant of the TRIAC element 202 in each cycle is advanced (ie, the turn-on angle is increased), the TRIAC monitor 432 increases the reference signal REF. Thereby, the average current flowing through the LED light source (eg, the first LED chain 120 or the second LED chain 130) increases. Similarly, if the conduction detection signal TD indicates that the conduction time of the TRIAC element 202 in each cycle is delayed (ie, the conduction angle is decreased), the TRIAC monitor 432 reduces the reference signal REF. Thus, the average current flowing through the LED light source (eg, the first LED chain 120 or the second LED chain 130) is reduced. The brightness control module can have other configurations and is not limited to the embodiment of FIG.

圖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 block diagram showing the structure of the TRIAC monitor 432 of FIG. 4 in accordance with one embodiment of the present invention. Figure 5 will be described in conjunction with Figure 4. In the example of FIG. 5, the TRIAC monitor 432 includes a voltage divider 502, a comparator 506, and a filter 510. In one embodiment, voltage divider 502 includes a resistor R7 and a resistor R8 coupled in series. The voltage divider 502 receives the turn-on detection signal TD and provides a divided voltage signal 504 indicative of the rectified voltage VIN. The comparator 506 compares the divided voltage signal 504 with the threshold voltage VTH and generates a square wave signal 508 based on the comparison result. Filter 510 filters square wave signal 508 to produce 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, conduction at time T1 to time T2 Within time TTRI_ON, the divided voltage signal 504 is greater than the threshold voltage VTH (eg, zero volts) and the square wave signal 508 is switched to a high potential. In the off time TTRI_OFF from time T2 to time T3, the divided voltage signal 504 is smaller than the threshold voltage VTH, and the square wave signal 508 is switched to the low potential. When the conduction time of the TRIAC element 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 through the LED light source (eg, the first LED chain 120 or the second LED chain 130) is tunably rectified by adjusting the reference signal REF, thereby implementing the LED light source according to the TRIAC dimmer 104 (eg, the first LED) Dimming control of chain 120 or second LED chain 130). The TRIAC monitor 432 can have other configurations and is not limited to the embodiment of FIG.

驅動器430包括運算放大器414、鋸齒波產生器420、比較器426和緩衝器428。在一個實施例中,運算放大器414包括運算轉導放大器(Operational Transconductance Amplifier,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相連。 The driver 430 includes an operational amplifier 414, a sawtooth generator 420, a comparator 426, and a buffer 428. In one embodiment, operational amplifier 414 includes an Operational Transconductance Amplifier (OTA) 418 and a capacitor 416. The forward input of the operational transconductance amplifier 418 receives the square wave signal 412 and the inverting input receives the reference signal REF. Wherein, the reference signal REF represents the target current value ITARGET of the output current ILED1 or ILED2. The operational transconductance amplifier 418 generates a current I418 at the output based on the difference between the square wave signal 412 and the reference signal REF to charge or discharge the capacitor 416, thereby generating an error signal 422. Since capacitor 416 filters the ripple on error signal 422, error signal 422 is determined by the difference between the average voltage of square wave signal 412 (VSQ_AVG) and reference signal REF. In another embodiment, capacitor 416 is coupled to operational transduction amplifier 418 via a sigma of the controller outside of luminance and color temperature controller 112.

鋸齒波產生器420產生鋸齒波信號SAW。比較器426比較誤差信號422和鋸齒波信號SAW,並產生比較信號。緩衝器428接收比較信號, 並產生驅動信號DRV(例如,脈寬調製信號)。在圖4的實施例中,如果方波信號412的平均電壓增加,誤差信號422隨之增大,鋸齒波信號SAW則需要更多的時間增加到誤差信號422。由此,驅動信號DRV的責任週期減小,從而降低輸出電流ILED1或ILED2的平均電流,直到方波信號412的平均電壓減小到參考信號REF。同理,如果方波信號412的平均電壓減小,驅動信號DRV的責任週期會增加,從而增大輸出電流ILED1或ILED2的平均電流,直到方波信號412的平均電壓增大到參考信號REF。這樣,輸出電流ILED1或ILED2的平均電流能夠被調整到與目標電流值ITARGET相等,即實現對光源(例如,第一LED鏈120和第二LED鏈130)的亮度控制。 The sawtooth generator 420 generates a sawtooth wave signal SAW. Comparator 426 compares error signal 422 and sawtooth signal SAW and produces a comparison signal. Buffer 428 receives the comparison signal, And generating a drive signal DRV (eg, a pulse width modulated signal). In the embodiment of FIG. 4, if the average voltage of the square wave signal 412 increases, the error signal 422 increases, and the sawtooth signal SAW requires more time to increase to the error signal 422. Thereby, the duty cycle of the drive signal DRV is reduced, thereby reducing the average current of the output current ILED1 or ILED2 until the average voltage of the square wave signal 412 is reduced to the reference signal REF. Similarly, if the average voltage of the square wave signal 412 decreases, the duty cycle of the drive signal DRV increases, thereby increasing the average current of the output current ILED1 or ILED2 until the average voltage of the square wave signal 412 increases to the reference signal REF. In this way, the average current of the output current ILED1 or ILED2 can be adjusted to be equal to the target current value ITARGET, ie to achieve brightness control of the light source (eg, the first LED chain 120 and the second LED chain 130).

此外,色溫控制模組的工作原理如下: In addition, the color temperature control module works as follows:

圖6所示為圖4中的色溫控制模組的結構示意圖。結合圖4和圖6來看,色溫控制模組包括判定單元434、反相器436、啟動及低壓鎖定(UVL)電路438、和色溫控制單元440。 FIG. 6 is a schematic structural view of the color temperature control module of FIG. 4. 4 and 6, the color temperature control module includes a determination unit 434, an inverter 436, a start and low voltage lock (UVL) circuit 438, and a color temperature control unit 440.

啟動及低壓鎖定(UVL)電路438與埠VDD相連,用於根據不同的電能情況選擇性地啟動亮度和色溫控制器112內部的一個或多個部件。 A startup and low voltage lock (UVL) circuit 438 is coupled to 埠VDD for selectively activating one or more components within the brightness and color temperature controller 112 based on different electrical conditions.

在一個實施例中,如果埠VDD上的電壓高於第一預設電壓,則啟動及低壓鎖定電路438將啟動亮度和色溫控制器112中所有的部件。當ON/OFF開關102斷開,如果埠VDD上的電壓低於第二預設電壓,啟動及低壓鎖定電路438將關閉亮度和色溫控制器112中部分部件以節省電能。如果埠VDD上的電壓低於第三預設電壓,啟動及低壓鎖定電路438將關閉所有部件。在一個實施例中,第一預設電壓高於第二預設電壓,第二預 設電壓高於第三預設電壓。 In one embodiment, if the voltage on 埠 VDD is higher than the first predetermined voltage, the startup and low voltage lockout circuit 438 will activate all of the components in the luminance and color temperature controller 112. When the ON/OFF switch 102 is turned off, if the voltage on 埠 VDD is lower than the second predetermined voltage, the startup and low voltage lockout circuit 438 will turn off some of the components of the luminance and color temperature controller 112 to conserve power. If the voltage on 埠 VDD is lower than the third predetermined voltage, the startup and low voltage lockout circuit 438 will turn off all components. In one embodiment, the first preset voltage is higher than the second preset voltage, and the second pre- Set the voltage 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 determining 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 luminance 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 埠VDD of the luminance and color temperature controller 112 is less than the reset threshold voltage (eg, 4V), the first decision signal VDD_L has a first state (eg, a logic high); if the luminance and color temperature controller The voltage at 埠VDD of 112 is greater than the reset threshold voltage (eg, 4V), then the first decision signal VDD_L has a second state (eg, a logic low); if the voltage at the 埠VDD of the luminance and color temperature controller 112 is less than When the threshold voltage is enabled (eg, 10V), the second decision signal VDD_H has a first state (eg, a logic low); if the voltage at the 埠VDD of the luminance and color temperature controller 112 is greater than the enable threshold voltage (eg, 10V) Then, the second determination signal VDD_H has a second state (for example, a logic high potential).

色溫控制單元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 configured to generate the first control signal CTR1 and the 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, 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 monitor signal TS and starts timing when the switch monitor 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 埠CLK of the first D flip-flop 604, and the switch monitoring signal TS is coupled to the input 埠CLK of the second D flip-flop 606. The input 埠D1 of the first D flip-flop 604 is coupled to its output埠 And the output 埠Q1 of the first D flip-flop 604 is coupled to the input 埠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 埠R of the first D flip-flop 604 and the second D flip-flop 606 are both coupled to the output 埠 of the inverter 436, and the input 埠 of the inverter 436 is coupled to the determining unit 434. If the voltage at the 埠VDD of the luminance and color temperature controller 112 is less than the reset threshold voltage (eg, 4V), the first decision signal VDD_L is logic high, then the first D flip-flop 604 and the second D flip-flop 606 Both are reset by the inverter 436. Therefore, both the output 埠Q1 of the first D flip-flop 604 and the output 埠Q2 of the second D flip-flop 606 are reset to a logic low level, and the output of the first D flip-flop 604 埠 And the output of the second D flip-flop 606 Both are reset to logic high.

第二判定信號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的斷開操作而調整光源的色溫。 The second determination signal VDD_H and the output 埠Q2 of the second D flip-flop 606 are both coupled to the first AND gate 608, and the first AND gate 608 generates a first control signal CTR1 to control the first control switch 122 and flow through the first Current ILED1 of LED chain 120. The second determination signal VDD_H and the output 埠Q2 of the second D flip-flop 606 are both coupled to the second AND gate 610, and the second AND gate 610 generates a second control signal CTR2 to control the second control switch 132 and flow through the second Current ILED2 of LED chain 130. In this manner, the brightness and color temperature controller 112 can adjust the color temperature of the light source in response to the opening 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. 7 shows the switch monitor signal TS, the pulse signal TS_DE, the first decision signal VDD_L, the second decision signal VDD_H, the voltage at the input 埠D1, the voltage at the output 埠Q1, the voltage at the output 埠Q2, the first control Signal waveforms of the signal CTR1 and the second control signal CTR2. Figure 7 will be described in conjunction with Figures 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 monitor signal TS changes from a first state (eg, a logic low potential) to a second state (eg, a logic high potential), The voltage at VDD increases to a reset threshold voltage (eg, 4V) and the first decision signal VDD_L changes from a first state (eg, a logic high) to a second state (eg, a logic low). At time t2, the voltage at VDD increases to an enable threshold voltage (eg, 10V) and the second decision signal VDD_H changes from a first state (eg, a logic low) to a second state (eg, a logic high) . The output 埠Q1 of the first D flip-flop 604 and the output 埠Q2 of the second D flip-flop 606 are both logic low during the time interval from time t0 to time t2. Since the second determination signal VDD_H received by the first AND gate 608 and the second AND gate 610 is logic low, the first control signal CTR1 and the second control signal CTR2 are also logic low. After the time t2, since the second determination signal VDD_H changes to a logic high level, the first control signal CTR1 also changes to a logic high level. Thus, the first control switch 122 is turned "on" and the current ILED1 begins to flow through the first LED chain 120. At time t3, the ON/OFF switch 102 is turned off, and the voltage at the 埠VDD of the luminance and color temperature controller 112 begins to drop. As described above, once the switching monitor signal TS has a falling edge, the pulse signal TS_DE can be generated after the predefined time interval Δt. At time t4, in response to the rising edge of the pulse signal TS_DE, the input 埠D1 of the first D flip-flop 604 changes from a logic high level to a logic low level, and the output 埠Q1 of the first D flip-flop 604 is logic low. The potential changes to a logic high. At time t5, the voltage at 埠VDD is lowered to an enable threshold voltage (eg, 10V), and the second decision signal VDD_H is changed from the second state (eg, logic high) to the first state (eg, logic low) . Therefore, since the second determination signal VDD_H received by the first AND gate 608 and the second AND gate 610 is logic low, the first control signal CTR1 and the second control signal CTR2 are also logic low.

在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, a rising edge of the switch monitor signal TS indicates that the ON/OFF switch 102 is turned "on" again. The time interval from time t3 to time t6 is less than a predetermined (prescribed) time interval (eg, t6-t3 < 3 seconds) to maintain the voltage at 埠 VDD above a reset threshold voltage (eg, 4V) and the first decision signal VDD_L remains at a logic low. In response to the rising edge of the switch monitor signal TS, the output 埠Q2 of the second D flip-flop 606 changes from a logic low to a logic high, and its output埠 Change from logic high to logic low. Similar to the time interval from time t1 to time t2, the time interval from time t6 to time t7, the first control signal CTR1 and the second control signal CTR2 are both logic low. After time t7, the voltage at 埠VDD increases above the enable threshold voltage, the second decision 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 turned on. And the current ILED2 begins to flow through the second LED chain 130. Then, the ON/OFF switch 102 is turned off again, and at time t8, the voltage at VDD is lowered to an enable threshold voltage (for example, 10 V). 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 ILED1 begins 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 can have a different color temperature than the first LED chain 120, the brightness and color temperature controller 112 can adjust the color temperature of the light source in response to the opening 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. 8 shows the switch monitor signal TS, the pulse signal TS_DE, the first decision signal VDD_L, the second decision signal VDD_H, the voltage at the input 埠D1, the voltage at the output 埠Q1, the voltage at the output 埠Q2, the first control Signal waveforms of the signal CTR1 and the second control signal CTR2. FIG. 8 will be described in conjunction with FIGS. 3, 6, and 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 the time t3 to the time t7' is greater than the predetermined time interval (e.g., t7'-t3 > 3 seconds). Therefore, at time t6', the voltage at 埠VDD is lowered to the reset threshold voltage (for example, 4V), and the first decision signal VDD_L is changed from the logic low level to the logic high level, and both the output 埠Q1 and the output 埠Q2 are emphasized. Set 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, the first control signal CTR1 and the second control signal CTR2 are also logic low.

在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 monitor signal TS changes from a first state (eg, a logic low) to a second state (eg, a logic high), and the voltage at VDD increases to a reset threshold voltage (eg, 4V) And the first determination signal VDD_L is changed from the first state (for example, a logic high potential) to the second state (for example, a logic low potential). At time t9', the voltage at VDD increases to an enable threshold voltage (eg, 10V), and the second decision signal VDD_H changes from a first state (eg, a logic low) to a second state (eg, a logic high) Potential). The signal waveform in the time interval from the time t7' to the time t9' is similar to the signal waveform in the time interval from the time t0 to the time t2. After the time t9', the voltage at 埠VDD increases above the enable threshold voltage, the second decision 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 ILED1 begins to flow 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 light source is responded to the next turn-on operation of the ON/OFF switch 102 (example) For example, the color temperature of the first LED chain 120 and the second LED chain 130) is changed from the first color temperature value to the second color temperature value. More specifically, in the example of FIG. 7, during the first time interval (eg, 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 turned off to adjust the color temperature of the light source to a first color temperature value; during a second time interval different from the first time interval (eg, a time interval from time t7 to time t8), second The control signal CTR2 is at a 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. Accordingly, 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 monitor 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 are performed. The timer 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 a color temperature value of the first LED chain 120, for example, a color temperature value set by the factory; the preset color temperature value is not limited to the color temperature value shown in the example of FIG.

圖9所示為根據本發明實施例的控制光源亮度和色溫的方法流程圖900。圖9將結合圖1A-圖8進行描述。圖9中所涵蓋的具體步驟僅僅作為示例,即,本發明適用於執行各種其它步驟或對圖9中表述的步驟進行改進的步驟。 9 is a flow chart 900 of a method of controlling brightness and color temperature of a light source in accordance with an embodiment of the present invention. Figure 9 will be described in conjunction with Figures 1A-8. The specific steps covered in Figure 9 are merely examples, i.e., the present invention is applicable to steps that perform various other steps or that improve the steps expressed in Figure 9.

在步驟902中,驅動電路(例如,光源驅動電路100或300)從電源接收電能並且由電力轉換器(例如電力轉換器108)向光源(例如,第一LED鏈120和第二LED鏈130)提供調節後的電能。 In step 902, a drive circuit (eg, light source drive circuit 100 or 300) receives electrical energy from a power source and is directed by a power converter (eg, power converter 108) to a light source (eg, first LED chain 120 and second LED chain 130) Provides regulated power.

在步驟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 indication indicating the flow through the light source is adjusted according to the conduction detection signal. The reference signal of the current value is adjusted to adjust the average current flowing through the light source, thereby adjusting the brightness of the light source. In one embodiment, the conduction detection signal TD indicating the conduction state of the TRIAC dimmer 104 coupled between the power source and the power converter is received by the luminance and color temperature controller 112, and the indication flow is adjusted based on the conduction detection signal TD. A reference signal of the target current value through the light source. In particular, the turn-on detection signal TD indicates the on state of the TRIAC element 202 in the TRIAC dimmer 104 (eg, the conduction angle between 0-180 degrees). The brightness and color temperature controller 112 can provide a reference signal REF (as detailed in FIGS. 4 and 5 above) corresponding to the conduction angle of the TRIAC dimmer 104 according to the conduction detection signal TD, and according to the reference signal REF at the 埠PWM A drive signal DRV is generated to adjust the average current flowing through the LED source (eg, current ILED1 or current ILED2).

在步驟906中,接收開關監測信號,開關監測信號(例如,由亮度和色溫控制器112接收的開關監測信號TS)指示耦接在電源與電力轉換器之間的ON/OFF開關(例如,ON/OFF開關102)的操作。 In step 906, a switch monitoring signal is received, the switch monitoring signal (eg, the switch monitoring signal TS received by the brightness and color temperature controller 112) indicating an ON/OFF switch coupled between the power source and the power converter (eg, ON) /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, a time interval from time t2 to time t5 in FIG. 7), brightness and color temperature controller 112 may generate first control signal CTR1 to turn on the first having the first color temperature value. LED chain 120, and generating a second control signal CTR2 to turn off the second LED chain 130 having the second color temperature value such 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 (eg, the time interval from time t7 to time t8 in FIG. 7), the brightness and color temperature controller 112 may generate the first control signal CTR1 to turn off the first LED chain 120 and generate the second control signal CTR2. 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 be opened not only according to ON/OFF. The operation of the backlight 102 adjusts the color temperature of the light source (eg, the first LED chain 120 and the second LED chain 130), and the LED light source can also be adjusted according to the operation of the TRIAC dimmer 104 (eg, the first LED chain 120 and the first The brightness of the two LED chains 130), without the need for additional dedicated components, is simple and convenient and saves costs.

以上描述是基於LED鏈的實施例舉例說明。然而,根據本發明的實施例還可以應用到其他類型的光源。換言之,本發明的實施例不局限於LED光源,同樣適用於其他類型的光源。 The above description is exemplified based on an embodiment of an LED chain. However, embodiments in accordance with the invention may also be applied to other types of light sources. In other words, embodiments of the invention are not limited to LED light sources and are equally applicable to other types of light sources.

在此使用之措辭和表達都是用於說明而非限制,使用這些措辭和表達並不將在此圖示和描述的特性之任何等同物(或部分等同物)排除在發明範圍之外,在權利要求的範圍內可能存在各種修改。其它的修改、變體和替換物也可能存在。因此,權利要求旨在涵蓋所有此類等同物。 The wording and expressions used herein are for the purpose of illustration and description, and are not intended to be Various modifications are possible within the scope of the claims. Other modifications, variations, and alternatives may also be present. Accordingly, the claims are intended to cover all such equivalents.

Claims (20)

一種光源驅動電路,用於調節光源的亮度和色溫,包括:一電力轉換器,耦接在一電源與該光源之間,從該電源接收一電能並且向該光源提供一調節後的電能;以及一亮度和色溫控制器,耦接該電力轉換器,接收指示耦接於該電源與該電力轉換器之間的一三端矽控調光器的一導通角度的一導通檢測信號,並且基於該導通檢測信號來調整該光源的該亮度,其中,該亮度和色溫控制器還用於接收指示耦接該三端矽控調光器的一通/斷開關的一操作的一開關監測信號,並且基於該開關監測信號來調整該光源的該色溫,其中,該亮度和色溫控制器包括:一信號產生器,產生與流經該光源的一平均電流成比例的一監測信號;一三端矽控監測器,接收該導通檢測信號並且根據該導通檢測信號產生指示流經該光源的該平均電流的一目標值的一參考信號;以及一驅動器,耦接該信號產生器和該三端矽控監測器,根據該監測信號和該參考信號來產生一驅動信號以控制該電力轉換器所提供之該調節後的電能給該光源。 A light source driving circuit for adjusting brightness and color temperature of a light source, comprising: a power converter coupled between a power source and the light source, receiving an electric energy from the power source and providing an adjusted electric energy to the light source; a brightness and color temperature controller coupled to the power converter, receiving a conduction detection signal indicating a conduction angle of a three-terminal control dimmer coupled between the power source and the power converter, and based on the Turning on a detection signal to adjust the brightness of the light source, wherein the brightness and color temperature controller is further configured to receive a switch monitoring signal indicating an operation of an on/off switch coupled to the three-terminal control dimmer, and based on The switch monitors a signal to adjust the color temperature of the light source, wherein the brightness and color temperature controller comprises: a signal generator that generates a monitoring signal proportional to an average current flowing through the light source; and a three-terminal monitoring Receiving the conduction detection signal and generating a reference signal indicating a target value of the average current flowing through the light source according to the conduction detection signal; and a driving The signal generator and the three-terminal monitoring monitor are coupled to generate a driving signal according to the monitoring signal and the reference signal to control the adjusted power provided by the power converter to the light source. 根據申請專利範圍第1項之光源驅動電路,其中,該信號產生器、該驅動器和該電力轉換器中的一變壓器組成負反饋迴路,該負反饋迴路保持流經該光源的該平均電流等於該目標值。 The light source driving circuit of claim 1, wherein the signal generator, the driver and a transformer of the power converter form a negative feedback loop, the negative feedback loop maintaining the average current flowing through the light source equal to the Target value. 根據申請專利範圍第1項之光源驅動電路,如果該導通檢測信號指示該導通角度增大,則該三端矽控監測器增大該參考信號並且該驅動器調整該驅動信號以增大流經該光源的該平均電流;並且如果該導通檢 測信號指示該導通角度減小,則該三端矽控監測器減小該參考信號並且該驅動器調整該驅動信號以減小流經該光源的該平均電流。 According to the light source driving circuit of claim 1, if the conduction detecting signal indicates that the conduction angle is increased, the three-terminal monitoring monitor increases the reference signal and the driver adjusts the driving signal to increase the flow rate. The average current of the light source; and if the conduction check The measurement signal indicates that the conduction angle is reduced, and the three-terminal monitoring monitor reduces the reference signal and the driver adjusts the driving signal to reduce the average current flowing through the light source. 據申請專利範圍第1項之光源驅動電路,其中,該光源包括:具有一第一色溫值的一第一發光元件和具有一第二色溫值的一第二發光元件,該亮度和色溫控制器包括:根據該開關監測信號產生一第一控制信號和一第二控制信號的一色溫控制單元,其中,該第一控制信號選擇性地接通耦接在該亮度和色溫控制器與該第一發光元件之間的一第一控制開關以使該光源的該色溫被調整為該第一色溫值;該第二控制信號選擇性地接通耦接在該亮度和色溫控制器與該第二發光元件之間的一第二控制開關以使該光源的該色溫被調整為該第二色溫值。 The light source driving circuit of claim 1, wherein the light source comprises: a first light emitting element having a first color temperature value and a second light emitting element having a second color temperature value, the brightness and color temperature controller The method includes: a color temperature control unit that generates a first control signal and a second control signal according to the switch monitoring signal, wherein the first control signal is selectively coupled to the brightness and color temperature controller and the first a first control switch between the light emitting elements to adjust the color temperature of the light source to the first color temperature value; the second control signal is selectively coupled to the brightness and color temperature controller and the second light emitting A second control switch between the components causes the color temperature of the light source to be adjusted to the second color temperature value. 據申請專利範圍第4項之光源驅動電路,其中,該色溫控制單元包括:一計時器,接收該開關監測信號,在該開關監測信號出現一下降沿時開始計時,並在該下降沿的一預定義時間間隔之後產生一脈衝信號;一第一D正反器,接收該脈衝信號;以及一第二D正反器,耦接該第一D正反器,接收該開關監測信號;其中,該第一控制信號和該第二控制信號基於該第二D正反器的一輸出信號產生。 According to the light source driving circuit of claim 4, the color temperature control unit comprises: a timer, receiving the switch monitoring signal, starting timing when a falling edge of the switch monitoring signal occurs, and one at the falling edge a pulse signal is generated after a predefined time interval; a first D flip-flop receives the pulse signal; and a second D flip-flop is coupled to the first D flip-flop to receive the switch monitoring signal; The first control signal and the second control signal are generated based on an output signal of the second D flip-flop. 根據申請專利範圍第1項之光源驅動電路,其中,該亮度和色溫控制器包括: 一判定單元,偵測該亮度和色溫控制器的一電能狀態,並且基於該亮度和色溫控制器的該電能狀態產生一第一判定信號和一第二判定信號,該亮度和色溫控制器基於該第一判定信號、該第二判定信號以及該開關監測信號來調整該光源的該色溫。 The light source driving circuit of claim 1, wherein the brightness and color temperature controller comprises: a determining unit detects a power state of the brightness and color temperature controller, and generates a first determination signal and a second determination signal based on the brightness and color state of the color temperature controller, the brightness and color temperature controller is based on the The first determination signal, the second determination signal, and the switch monitoring signal adjust the color temperature of the light source. 根據申請專利範圍第1項之光源驅動電路,其中,如果該開關監測信號指示該通/斷開關的一斷開操作與一下一接通操作之間的一時間間隔小於一預定時間間隔,則該亮度和色溫控制器回應於該通/斷開關的該下一接通操作將該光源的該色溫從一第一色溫值調整為一第二色溫值。 The light source driving circuit of claim 1, wherein the switch monitoring signal indicates that a time interval between an off operation and a next on operation of the on/off switch is less than a predetermined time interval, The brightness and color temperature controller adjusts the color temperature of the light source from a first color temperature value to a second color temperature value in response to the next turn-on operation of the on/off switch. 根據申請專利範圍第1項之光源驅動電路,其中,如果該開關監測信號指示該通/斷開關的一斷開操作與一下一接通操作之間的一時間間隔大於一預定時間間隔,則該亮度和色溫控制器回應於該通/斷開關的該下一接通操作將該光源的該色溫重置為預設色溫值。 The light source driving circuit of claim 1, wherein if the switch monitoring signal indicates that a time interval between an off operation of the on/off switch and a next on operation is greater than a predetermined time interval, The brightness and color temperature controller resets the color temperature of the light source to a preset color temperature value in response to the next turn-on operation of the on/off switch. 根據申請專利範圍第1項之光源驅動電路,還包括:一整流器,該電力轉換器包括:一變壓器,該變壓器包括一原邊繞組、一副邊繞組和一輔助繞組,該原邊繞組耦接該整流器並且透過該整流器從該電源接收一電能,該副邊繞組向該光源提供該調節後的電能,該輔助繞組向該亮度和色溫控制器供電,該通/斷開關和該三端矽控調光器耦接在該電源與該整流器之間。 The light source driving circuit of claim 1, further comprising: a rectifier, the power converter comprising: a transformer, the transformer comprising a primary winding, a secondary winding and an auxiliary winding, the primary winding is coupled The rectifier receives an electrical energy from the power source through the rectifier, the secondary winding provides the adjusted electrical energy to the light source, the auxiliary winding supplies power to the brightness and color temperature controller, the on/off switch and the three-terminal control A dimmer is coupled between the power source and the rectifier. 根據申請專利範圍第1項之光源驅動電路,其中,該亮度和色溫控制器用於接收指示流經該光源的一電流的一電流監測信號,並且根據該電流監測信號控制該調節後的電能。 The light source driving circuit of claim 1, wherein the brightness and color temperature controller is configured to receive a current monitoring signal indicative of a current flowing through the light source, and control the adjusted electrical energy based on the current monitoring signal. 一種亮度和色溫控制器,控制光源的亮度和色溫,包括:一信號產生器,產生與流經該光源的一平均電流成比例的一監測信號;一三端矽控監測器,接收指示耦接於一電源與一電力轉換器之間的一三端矽控調光器的一導通角度的一導通檢測信號並且根據該導通檢測信號來產生指示流經該光源的該平均電流的一目標值的一參考信號;一驅動器,耦接該信號產生器和該三端矽控監測器,根據該監測信號和該參考信號來產生一驅動信號以控制該電力轉換器提供一調節後的電能給該光源;以及一色溫控制單元,接收指示耦接該三端矽控調光器的一通/斷開關的一操作的一開關監測信號,並且基於該開關監測信號調整該光源的該色溫。 A brightness and color temperature controller for controlling brightness and color temperature of a light source, comprising: a signal generator for generating a monitoring signal proportional to an average current flowing through the light source; and a three-terminal monitoring monitor for receiving the indication coupling And a three-terminal controllable signal between a power source and a power converter for controlling a conduction angle of the dimmer and generating a target value indicating the average current flowing through the light source according to the conduction detection signal a reference signal; a driver coupled to the signal generator and the three-terminal monitoring monitor, generating a driving signal according to the monitoring signal and the reference signal to control the power converter to provide an adjusted power to the light source And a color temperature control unit receiving a switch monitoring signal indicating an operation of an on/off switch coupled to the three-terminal touch dimmer, and adjusting the color temperature of the light source based on the switch monitoring signal. 根據申請專利範圍第11項之亮度和色溫控制器,其中,該信號產生器、該驅動器和該電力轉換器中的變壓器組成負反饋迴路,該負反饋迴路保持流經該光源的該平均電流等於該目標值。 A brightness and color temperature controller according to claim 11 wherein the signal generator, the driver and the transformer in the power converter form a negative feedback loop that maintains the average current flowing through the source equal to The target value. 根據申請專利範圍第11項之亮度和色溫控制器,如果該導通檢測信號指示該導通角度增大,則該三端矽控監測器增大該參考信號並且該驅動器調整該驅動信號以增大流經該光源的該平均電流;並且如果該導通檢測信號指示該導通角度減小,則該三端矽控監測器減小該參考信號並且該驅動器調整該驅動信號以減小流經該光源的該平均電流。 According to the brightness and color temperature controller of claim 11 , if the conduction detection signal indicates that the conduction angle is increased, the three-terminal monitoring monitor increases the reference signal and the driver adjusts the driving signal to increase the flow. The average current through the light source; and if the conduction detection signal indicates that the conduction angle is decreasing, the three-terminal monitoring monitor reduces the reference signal and the driver adjusts the driving signal to reduce the flow through the light source Average current. 根據申請專利範圍第11項之亮度和色溫控制器,其中,該光源包括:具有一第一色溫值的一第一發光元件和具有一第二色溫值的一第二發光元件,該色溫控制單元根據該開關監測信號產生一第一控制信號和一第二控 制信號,該第一控制信號選擇性地接通耦接在該亮度和色溫控制器與該第一發光元件之間的一第一控制開關以使該光源的該色溫被調整為該第一色溫值;該第二控制信號選擇性地接通耦接在該亮度和色溫控制器與該第二發光元件之間的一第二控制開關以使該光源的該色溫被調整為該第二色溫值。 The brightness and color temperature controller according to claim 11 , wherein the light source comprises: a first light emitting element having a first color temperature value and a second light emitting element having a second color temperature value, the color temperature control unit Generating a first control signal and a second control according to the switch monitoring signal Signaling, the first control signal selectively turning on a first control switch coupled between the brightness and color temperature controller and the first light emitting element to adjust the color temperature of the light source to the first color temperature a second control signal selectively turning on a second control switch coupled between the brightness and color temperature controller and the second light emitting element to adjust the color temperature of the light source to the second color temperature value . 根據申請專利範圍第14項之亮度和色溫控制器,其中,該色溫控制單元包括:一計時器,接收該開關監測信號,並在該開關監測信號出現一下降沿時開始計時,在該下降沿的一預定義時間間隔之後產生一脈衝信號;一第一D正反器,接收該脈衝信號;以及一第二D正反器,耦接該第一D正反器,接收該開關監測信號;其中,該第一控制信號和該第二控制信號基於該第二D正反器的一輸出信號產生。 The brightness and color temperature controller according to claim 14 , wherein the color temperature control unit comprises: a timer that receives the switch monitoring signal and starts timing when a falling edge of the switch monitoring signal occurs, at the falling edge a pulse signal is generated after a predefined time interval; a first D flip-flop receives the pulse signal; and a second D flip-flop is coupled to the first D flip-flop to receive the switch monitoring signal; The first control signal and the second control signal are generated based on an output signal of the second D flip-flop. 根據申請專利範圍第11項之亮度和色溫控制器,其中,該亮度和色溫控制器還包括:一判定單元,偵測該亮度和色溫控制器的一電能狀態並且基於該亮度和色溫控制器的該電能狀態產生一第一判定信號和一第二判定信號,該亮度和色溫控制器基於該第一判定信號、該第二判定信號以及該開關監測信號來調整該光源的該色溫。 The brightness and color temperature controller according to claim 11 , wherein the brightness and color temperature controller further comprises: a determining unit that detects a brightness state and a color temperature controller and based on the brightness and color temperature controller The power state generates a first determination signal and a second determination signal, and the brightness and color temperature controller adjusts the color temperature of the light source based on the first determination signal, the second determination signal, and the switch monitoring signal. 據申請專利範圍第11項之亮度和色溫控制器,其中,如果該開關監測信號指示該通/斷開關的一斷開操作與一下一接通操作之間的一時間間隔小於一預定時間間隔,則該亮度和色溫控制器回應於該通/斷開關 的該下一接通操作將該光源的該色溫從一第一色溫值調整為一第二色溫值。 According to the brightness and color temperature controller of claim 11, wherein if the switch monitoring signal indicates that a time interval between an open operation and a next open operation of the on/off switch is less than a predetermined time interval, The brightness and color temperature controller is responsive to the on/off switch The next turn-on operation adjusts the color temperature of the light source from a first color temperature value to a second color temperature value. 根據申請專利範圍第17項之亮度和色溫控制器,其中,該光源包括:具有該第一色溫值的一第一發光元件和具有該第二色溫值的一第二發光元件,其中,該亮度和色溫控制器產生一第一控制信號和一第二控制信號來調整該光源的該色溫,當該第一控制信號接通耦接在該亮度和色溫控制器與該第一發光元件之間的一第一控制開關時,電流流經該第一發光元件並且該光源的色溫被調整為該第一色溫值;當該第二控制信號接通耦接在該亮度和色溫控制器與該第二發光元件之間的一第二控制開關時,電流流經該第二發光元件並且該光源的色溫被調整為該第二色溫值。 The brightness and color temperature controller according to claim 17, wherein the light source comprises: a first light emitting element having the first color temperature value and a second light emitting element having the second color temperature value, wherein the brightness And the color temperature controller generates a first control signal and a second control signal to adjust the color temperature of the light source, when the first control signal is coupled to be coupled between the brightness and color temperature controller and the first light emitting element a first control switch, a current flows through the first light emitting element and a color temperature of the light source is adjusted to the first color temperature value; when the second control signal is coupled to the brightness and color temperature controller and the second When a second control switch is between the light-emitting elements, a current flows through the second light-emitting element and the color temperature of the light source is adjusted to the second color temperature value. 根據申請專利範圍第11項之亮度和色溫控制器,其中,如果該開關監測信號指示該通/斷開關的一斷開操作與一下一接通操作之間的一時間間隔大於一預定時間間隔,則該亮度和色溫控制器回應於該通/斷開關的該下一接通操作將該光源的該色溫重置為預設色溫值。 The brightness and color temperature controller according to claim 11, wherein if the switch monitoring signal indicates that a time interval between an open operation and a next open operation of the on/off switch is greater than a predetermined time interval, The brightness and color temperature controller then resets the color temperature of the light source to a preset color temperature value in response to the next turn-on operation of the on/off switch. 根據申請專利範圍第11項之亮度和色溫控制器,其中,該三端矽控監測器包括:一比較器,根據該導通檢測信號和一閾值電壓產生一方波信號;以及一濾波器,根據該方波信號產生該參考信號。 The brightness and color temperature controller according to claim 11 , wherein the three-terminal monitoring device comprises: a comparator for generating a square wave signal according to the conduction detection signal and a threshold voltage; and a filter according to the The square wave signal produces the reference signal.
TW104139427A 2014-12-04 2015-11-26 A driver circuit for a light source, and a controller for luminance and color temperature TWI653907B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201410729730.5 2014-12-04
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
TW201633848A TW201633848A (en) 2016-09-16
TWI653907B true TWI653907B (en) 2019-03-11

Family

ID=56480732

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104139427A TWI653907B (en) 2014-12-04 2015-11-26 A driver circuit for a light source, and a controller for luminance and color temperature

Country Status (2)

Country Link
CN (1) CN105657932B (en)
TW (1) TWI653907B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
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
CN114258170B (en) * 2021-11-29 2024-04-19 中山市特新电子科技有限公司 Lamp control device, color temperature-controllable lamp and data transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201414351A (en) 2012-09-26 2014-04-01 Anteya Technology Corp LED device and its color temperature and brightness control method and device
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316648B (en) * 2011-09-15 2014-08-13 四川新力光源股份有限公司 Light-emitting diode (LED) illuminating device
CN202551428U (en) * 2012-03-20 2012-11-21 厦门高贤电子科技有限公司 Regulation and control device for LED (light-emitting diode) lamp

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
TW201414351A (en) 2012-09-26 2014-04-01 Anteya Technology Corp LED device and its color temperature and brightness control method and device

Also Published As

Publication number Publication date
TW201633848A (en) 2016-09-16
CN105657932A (en) 2016-06-08
CN105657932B (en) 2018-05-15

Similar Documents

Publication Publication Date Title
TWI653907B (en) A driver circuit for a light source, and a controller for luminance and color temperature
US9781793B2 (en) Controlling brightness and color temperature of light sources
TWI533746B (en) Controller and method for dimming and light source driving circuit thereof
TWI483647B (en) Dimming controller, system and method thereof
TWI581657B (en) Controller and driving circuit for controlling dimming of light emitting diode light source
TWI568311B (en) Light source driving circuit, color temperature controller and method for controlling color temperature of light source
TWI420972B (en) Circuits for driving light source, methods for controlling dimming of light source, driving systems, and controllers for regulating brightness of light source
TWI461107B (en) Light emitting device power supply circuit, and light emitting device driver circuit and control method thereof
TWI492659B (en) A novel control scheme to achieve low brightness for dimmable led driver
TWI478625B (en) Dimming controllers, driving circuits and driving methods for driving light source
TWI387396B (en) Dimmable led lamp and dimmable led lighting apparatus
US8680775B2 (en) Lighting driver circuit and light fixture
TWI437915B (en) Led drive circuit, led illumination fixture, led illumination device, and led illumination system
TWI501693B (en) Controlling the light output of one or more leds in response to the output of a dimmer
JP5441638B2 (en) Light control device
TWI586211B (en) Light-emitting diode lighting device with synchronized pwm dimming control
KR20140025589A (en) Adaptive dimmer detection and control for led lamp
JP2012209103A (en) Led dimmer circuit
WO2016027060A1 (en) Ballast circuit
TW201325302A (en) LED driving device and method thereof
JP2016111018A (en) Controlling brightness and color temperature of light sources
WO2012156891A2 (en) Led retrofit driver circuit and method of operating the same
US10362659B2 (en) Illumination control system, lighting system, illumination system, non-transitory recording medium, and illumination control method
US10757770B2 (en) Light source driving circuits and light source module
TW202029834A (en) Dimmer circuit for use in light-emitting diode lighting system