TW201705813A - Light source driving circuit and light source module - Google Patents

Light source driving circuit and light source module Download PDF

Info

Publication number
TW201705813A
TW201705813A TW105103666A TW105103666A TW201705813A TW 201705813 A TW201705813 A TW 201705813A TW 105103666 A TW105103666 A TW 105103666A TW 105103666 A TW105103666 A TW 105103666A TW 201705813 A TW201705813 A TW 201705813A
Authority
TW
Taiwan
Prior art keywords
light source
signal
current
switch
driving circuit
Prior art date
Application number
TW105103666A
Other languages
Chinese (zh)
Other versions
TWI612842B (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 TW201705813A publication Critical patent/TW201705813A/en
Application granted granted Critical
Publication of TWI612842B publication Critical patent/TWI612842B/en

Links

Landscapes

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

Abstract

The present disclosure describes a light source driving circuit and a light source module. The light source driving circuit includes a rectifier operable for rectifying a voltage from a power source and providing a rectified voltage, a power converter coupled to the rectifier and operable for receiving the rectified voltage and providing an output current to the light source module. The light source module includes a first light source having a first color, a second light source having a second color, and a current allocation unit coupled to the first light source and the second light source. The current allocation unit is operable for adjusting a current through the first light source and a current through the second light source based on the output current. The light source driving circuit disclosed in present invention can cooperate with a conventional power switch to adjust both the brightness and color of the light sources.

Description

光源驅動電路和光源模組 Light source driving circuit and light source module

本發明係有關光源驅動領域,特別係有關一種光源驅動電路和一種光源模組。 The invention relates to the field of light source driving, in particular to a light source driving circuit and a light source module.

眾所周知,發光二極體(LED)光源相較於傳統白熾燈具有節能環保、發光效率高、使用壽命長等優點。因此,用LED光源取代白熾燈是當前發展的必然趨勢。LED燈泡是LED燈具中的一種,它具有與傳統白熾燈相似的外形和大小,燈泡內部包括LED光源和控制晶片。利用現有的電燈開關,如傳統的開/關調光器(on/off switch dimmer),一般只能控制LED燈泡的開或者關,或者控制燈泡的亮度,而無法調節燈光的顏色。如果需要調節燈光的顏色,則需要利用特殊的開關或者遙控器。 As is known, the light-emitting diode (LED) light source has the advantages of energy saving and environmental protection, high luminous efficiency and long service life compared with the conventional incandescent lamp. Therefore, replacing incandescent lamps with LED light sources is an inevitable trend of current development. The LED bulb is one of the LED luminaires, which has a similar shape and size as a conventional incandescent lamp, and the inside of the bulb includes an LED light source and a control wafer. The use of existing light switches, such as the traditional on/off switch dimmer, generally only controls the opening or closing of the LED bulb, or controls the brightness of the bulb, and cannot adjust the color of the light. If you need to adjust the color of the light, you need to use a special switch or remote control.

本發明的目的為提供一種光源驅動電路,包括整流器、電力變換器和光源模組。整流器接收來自電源的電壓並產生整流電壓。電力變換器與該整流器耦接,接收該整流電壓並提供輸出電流給光源模組供電。光源模組包括具有第一顏色的第一光源、具有第二顏色的第二光源以及與該第一光源和該第二光源耦接的電流分配單元,電流分配單元根據該 輸出電流調節流經該第一光源的電流和流經該第二光源的電流。 It is an object of the present invention to provide a light source driving circuit including a rectifier, a power converter, and a light source module. The rectifier receives the voltage from the power supply and produces a rectified voltage. The power converter is coupled to the rectifier, receives the rectified voltage and provides an output current to power the light source module. The light source module includes a first light source having a first color, a second light source having a second color, and a current distribution unit coupled to the first light source and the second light source, according to the current distribution unit The output current regulates a current flowing through the first source and a current flowing through the second source.

本發明還提供了一種光源模組,包括具有第一顏色的第一光源、具有第二顏色的第二光源以及與該第一光源和該第二光源耦接的電流分配單元。電流分配單元根據光源模組的輸入電流調節流經該第一光源的電流和流經該第二光源的電流。 The invention also provides a light source module comprising a first light source having a first color, a second light source having a second color, and a current distribution unit coupled to the first light source and the second light source. The current distribution unit adjusts a current flowing through the first light source and a current flowing through the second light source according to an input current of the light source module.

有利地,透過本發明提供的光源驅動電路和光源模組,利用傳統的電源開關即可同時調節光源的亮度和顏色。 Advantageously, through the light source driving circuit and the light source module provided by the present invention, the brightness and color of the light source can be simultaneously adjusted by using a conventional power switch.

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

118‧‧‧光源模組 118‧‧‧Light source module

121‧‧‧第一光源 121‧‧‧First light source

122‧‧‧第二光源 122‧‧‧second light source

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

201‧‧‧電流分配單元 201‧‧‧current distribution unit

202‧‧‧電源 202‧‧‧Power supply

204‧‧‧整流器 204‧‧‧Rectifier

206‧‧‧電力變換器 206‧‧‧Power Converter

210‧‧‧控制器 210‧‧‧ Controller

214‧‧‧儲能單元 214‧‧‧ Energy storage unit

218‧‧‧電阻 218‧‧‧resistance

221‧‧‧晶片 221‧‧‧ wafer

278‧‧‧電流監測器 278‧‧‧ Current monitor

301‧‧‧調光單元 301‧‧‧ dimming unit

302‧‧‧電感 302‧‧‧Inductance

303‧‧‧濾波器 303‧‧‧ filter

304‧‧‧電感 304‧‧‧Inductance

305‧‧‧觸發監測單元 305‧‧‧Trigger monitoring unit

307‧‧‧計時器 307‧‧‧Timer

308‧‧‧電容 308‧‧‧ Capacitance

309‧‧‧計數器 309‧‧‧ counter

311‧‧‧數/模轉換器 311‧‧‧D/A converter

314‧‧‧二極體 314‧‧‧ diode

316‧‧‧開關 316‧‧‧ switch

318‧‧‧電容 318‧‧‧ Capacitance

324‧‧‧電容 324‧‧‧ Capacitance

333‧‧‧節點 333‧‧‧ nodes

505‧‧‧參考信號產生單元 505‧‧‧reference signal generating unit

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

602‧‧‧誤差放大器 602‧‧‧Error amplifier

604‧‧‧比較器 604‧‧‧ Comparator

606‧‧‧鋸齒波信號產生器 606‧‧‧Sawtooth signal generator

608‧‧‧重設信號產生器 608‧‧‧Reset signal generator

610‧‧‧脈波寬度調變信號產生器 610‧‧‧ Pulse width modulation signal generator

641‧‧‧控制單元 641‧‧‧Control unit

643‧‧‧電流調整單元 643‧‧‧current adjustment unit

645‧‧‧監測單元 645‧‧‧Monitoring unit

801‧‧‧計數器 801‧‧‧ counter

805‧‧‧觸發監測單元 805‧‧‧Trigger monitoring unit

811‧‧‧數/模轉換器 811‧‧‧D/A converter

1002‧‧‧電源開關 1002‧‧‧Power switch

1203‧‧‧電壓上升沿 1203‧‧‧voltage rising edge

1208‧‧‧電壓下降沿 1208‧‧‧ voltage drop

1210‧‧‧電壓上升沿 1210‧‧‧ voltage rising edge

1903‧‧‧電壓下降沿 1903‧‧‧voltage falling edge

1905‧‧‧電壓上升沿 1905‧‧‧ voltage rising edge

1907‧‧‧電壓下降沿 1907‧‧‧ voltage drop

1909‧‧‧電壓上升沿 1909‧‧‧voltage rising edge

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

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

第3圖係第2圖中的控制器的電路示意圖。 Figure 3 is a circuit diagram of the controller in Figure 2.

第4圖係第2圖中的控制器的波形圖。 Fig. 4 is a waveform diagram of the controller in Fig. 2.

第5圖係第2圖中的光源驅動電路的波形圖。 Fig. 5 is a waveform diagram of the light source driving circuit in Fig. 2.

第6圖係第2圖中的電流分配單元的電路示意圖。 Fig. 6 is a circuit diagram of the current distribution unit in Fig. 2.

第7圖係第2圖中第一光源和第二光源的電流波形圖。 Fig. 7 is a current waveform diagram of the first light source and the second light source in Fig. 2.

第8圖係第2圖中的控制器的另一種實施例的電路示意圖。 Figure 8 is a circuit diagram of another embodiment of the controller of Figure 2.

第9圖係第2圖中的光源驅動電路的波形圖。 Fig. 9 is a waveform diagram of the light source driving circuit in Fig. 2.

以下將對本發明的實施例給出詳細的說明。儘管本發明透 過這些實施方式進行闡述和說明,但需要注意的是本發明並不僅僅只局限於這些實施方式。相反地,本發明涵蓋後附申請專利範圍所定義的發明精神和發明範圍內的所有替代物、變體和等同物。在以下對本發明的詳細描述中,為了提供一個針對本發明的完全的理解,闡明瞭大量的具體細節。然而,本領域技術人員將理解,沒有這些具體細節,本發明同樣可以實施。在另外的一些實例中,對於大家熟知的方案、流程、元件和電路未作詳細描述,以便於凸顯本發明的主旨。 A detailed description of the embodiments of the present invention will be given below. Although the invention is transparent These embodiments have been illustrated and described, but it should be noted that the present invention is not limited only to these embodiments. Rather, the invention is to cover all modifications, alternatives and equivalents of the scope of the invention as defined by the appended claims. In the following detailed description of the invention, reference to the claims 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.

第1圖所示為根據本發明一個實施例的光源驅動電路100的電路示意圖。光源驅動電路100包含整流器204。整流器204透過電源開關1002與電源202耦接,用於接收來自電源202的電壓,並為電力變換器206提供整流電壓。電力變換器206接收整流電壓並為負載(比如光源模組118)提供輸出電流。電力變換器206可以是降壓變換器或者升壓變換器。在一個實施例中,電力變換器206包含儲能單元214和用於監測儲能單元214狀況的電流監測器278(比如一個電阻)。電流監測器278為控制器210提供第一信號ISEN,該第一信號ISEN指示流經儲能單元214的暫態電流。控制器210接收第一信號ISEN並利用濾波器(在第3圖中示出)對第一信號ISEN進行濾波以產生指示流經儲能單元214的平均電流的第二信號IAVG,並控制流經儲能單元214的平均電流(即電力變換器206的輸出電流IOUT,該電流也即光源模組118的輸入電流),使得該平均電流與目標電流值相等。光源模組118包括第一光源121和第二光源122。第一光源121可以是具有第一種顏色(如暖光)的第一發光二極體鏈LED1。第二光源122可以是具有第二種顏色(如冷光)的第二發光二極體鏈LED2。光源模組118還包括與第一光源121和第 二光源122耦接的電流分配單元201,用於根據電力變換器206的輸出電流IOUT調節流經第一光源121的電流和流經第二光源122的電流。 1 is a circuit diagram of a light source driving circuit 100 in accordance with one embodiment of the present invention. The light source driving circuit 100 includes a rectifier 204. Rectifier 204 is coupled to power source 202 via power switch 1002 for receiving voltage from power source 202 and providing a rectified voltage to power converter 206. Power converter 206 receives the rectified voltage and provides an output current to a load, such as light source module 118. Power converter 206 can be a buck converter or a boost converter. In one embodiment, power converter 206 includes an energy storage unit 214 and a current monitor 278 (such as a resistor) for monitoring the condition of energy storage unit 214. Current monitor 278 provides controller 210 with a first signal ISEN indicative of the transient current flowing through energy storage unit 214. The controller 210 receives the first signal ISEN and filters the first signal ISEN with a filter (shown in FIG. 3) to generate a second signal IAVG indicative of the average current flowing through the energy storage unit 214, and controls the flow through The average current of the energy storage unit 214 (ie, the output current I OUT of the power converter 206, which is the input current of the light source module 118) is such that the average current is equal to the target current value. The light source module 118 includes a first light source 121 and a second light source 122. The first light source 121 may be a first light emitting diode chain LED1 having a first color such as warm light. The second light source 122 can be a second light emitting diode chain LED 2 having a second color, such as luminescence. The light source module 118 further includes a current distribution unit 201 coupled to the first light source 121 and the second light source 122 for adjusting the current flowing through the first light source 121 and flowing through the second according to the output current I OUT of the power converter 206. The current of the light source 122.

第2圖所示為根據本發明一個實施例的光源驅動電路200的電路示意圖。第2圖中與第1圖編號相同的元件具有類似的功能。在第2圖的例子中,光源驅動電路200包含整流器204、電力變換器206、控制器210和光源模組118。整流器204可以是包含二極體D1-D4的橋式整流器。整流器204透過電源開關1002與電源202耦接,並調整來自電源202的電壓。電力變換器206接收整流器204輸出的調整後的整流電壓並提供輸出電流IOUT為負載(如光源模組118)供電。在一個實施例中,電源開關1002是置於牆面上的傳統電源開關。 2 is a circuit diagram of a light source driving circuit 200 in accordance with one embodiment of the present invention. Elements in Figure 2 that are numbered the same as in Figure 1 have similar functions. In the example of FIG. 2, the light source driving circuit 200 includes a rectifier 204, a power converter 206, a controller 210, and a light source module 118. Rectifier 204 can be a bridge rectifier including diodes D1-D4. The rectifier 204 is coupled to the power source 202 through the power switch 1002 and adjusts the voltage from the power source 202. The power converter 206 receives the adjusted rectified voltage output by the rectifier 204 and provides an output current I OUT to power the load (eg, the light source module 118). In one embodiment, power switch 1002 is a conventional power switch placed on a wall.

在第2圖的例子中,電力變換器206是降壓變換器。該降壓變換器包含電容308、第一開關316、二極體314、電流監測器(比如電阻218)、儲能單元214(包含彼此電磁耦接的電感302和電感304)以及電容324。二極體314位於開關316和光源驅動電路200的地之間。電容324與光源模組118並聯。 In the example of Fig. 2, power converter 206 is a buck converter. The buck converter includes a capacitor 308, a first switch 316, a diode 314, a current monitor (such as resistor 218), an energy storage unit 214 (including an inductor 302 and an inductor 304 that are electromagnetically coupled to each other), and a capacitor 324. The diode 314 is located between the switch 316 and the ground of the light source driving circuit 200. Capacitor 324 is coupled in parallel with light source module 118.

電感302和電感304都連接至一個共同節點333。在第2圖的例子中,節點333位於電阻218和電感302之間。然而本發明並不限於此結構,節點333也可以位於開關316和電阻218之間。節點333為控制器210提供參考地。在一個實施例中,控制器210的參考地和光源驅動電路200的地不同。透過接通和斷開開關316,流經電感302的電流可以得到調整,從而調節電力變換器206的輸出電流IOUT。電感304監測電感302的狀況,比如,監測流經電感302的電流是否減小到預設的電流值。 Both inductor 302 and inductor 304 are coupled to a common node 333. In the example of FIG. 2, node 333 is located between resistor 218 and inductor 302. However, the invention is not limited to this configuration, and node 333 may also be located between switch 316 and resistor 218. Node 333 provides a reference ground for controller 210. In one embodiment, the reference ground of controller 210 is different from the ground of light source drive circuit 200. By turning the switch 316 on and off, the current flowing through the inductor 302 can be adjusted to adjust the output current I OUT of the power converter 206. Inductor 304 monitors the condition of inductor 302, such as monitoring whether the current flowing through inductor 302 is reduced to a predetermined current value.

電阻218的一端與開關316和二極體314陰極之間的節點耦接,另一端與電感302耦接。電阻218提供第一信號ISEN,當開關316接通和斷開時,該第一信號ISEN均能指示流經電感302的暫態電流。換言之,不管開關316接通還是斷開,電阻218均能監測流經電感302的暫態電流。 One end of the resistor 218 is coupled to a node between the switch 316 and the cathode of the diode 314, and the other end is coupled to the inductor 302. Resistor 218 provides a first signal ISEN that is indicative of a transient current flowing through inductor 302 when switch 316 is turned "on" and "off". In other words, the resistor 218 can monitor the transient current flowing through the inductor 302 regardless of whether the switch 316 is turned "on" or "off".

控制器210接收第一信號ISEN,並透過接通或斷開開關316使得流經電感302的平均電流等於目標電流值。電容324濾除輸出電流IOUT的波紋,使得光源模組118的輸入電流相對平穩並等於流經電感302的平均電流,從而使光源模組118的輸入電流與目標電流值相等。此處“與目標電流值相等”是在不考慮電路元件的不理想情況和忽略從電感304傳送至控制器210的電力的情況下。 The controller 210 receives the first signal ISEN and causes the average current flowing through the inductor 302 to be equal to the target current value by turning the switch 316 on or off. The capacitor 324 filters out the ripple of the output current I OUT such that the input current of the light source module 118 is relatively stable and equal to the average current flowing through the inductor 302, so that the input current of the light source module 118 is equal to the target current value. Here, "equal to the target current value" is in the case where the unfavorable condition of the circuit component is not considered and the power transmitted from the inductor 304 to the controller 210 is ignored.

第2圖的例子中,控制器210的埠包括ZCD、GND、DRV、VDD、CS、COMP和CLK。埠ZCD與電感304耦接,用於接收指示電感302狀況(比如,流經電感302的電流是否減小到預設的電流值“0”)的監測信號AUX。埠DRV與開關316耦接,用於產生驅動信號(如脈波寬度調變信號PWM1)以接通或斷開開關316。埠VDD與電感304耦接並接收來自電感304的電力。埠CS與電阻218耦接,用於接收指示流經電感302的暫態電流的第一信號ISEN。埠COMP透過電容318與控制器210的參考地耦接。埠CLK透過電阻R3連接至整流器204並透過電阻R6連接到地(即埠CLK透過包含電阻R3和R6的分壓單元以及整流器204與電源開關1002耦接),用於監測電源開關1002的動作。在一個實施例中,控制器210透過埠CLK接收指示電源開關1002的第一組動作的調光請求信號和指示電源開關1002的第二組動作的調光終止信號,並根據調光請求信號和調光終止信號調整輸出電流IOUT。具體 而言,控制器210在調光請求信號的作用下連續調整輸出電流IOUT,在調光終止信號的作用下停止調整輸出電流IOUT。在第2圖的例子中,埠GND(也即控制器210的參考地)連接至節點333。 In the example of FIG. 2, the controller 210 includes ZCD, GND, DRV, VDD, CS, COMP, and CLK. The 埠ZCD is coupled to the inductor 304 for receiving a monitor signal AUX indicative of the condition of the inductor 302 (eg, whether the current flowing through the inductor 302 is reduced to a preset current value of "0"). The 埠DRV is coupled to the switch 316 for generating a drive signal (such as the pulse width modulation signal PWM1) to turn the switch 316 on or off.埠 VDD is coupled to inductor 304 and receives power from inductor 304. The 埠CS is coupled to the resistor 218 for receiving a first signal ISEN indicative of a transient current flowing through the inductor 302. The 埠COMP is coupled to the reference ground of the controller 210 through the capacitor 318.埠CLK is coupled to rectifier 204 via resistor R3 and to ground via resistor R6 (ie, 埠CLK is coupled to power divider 1002 via voltage divider unit including resistors R3 and R6) and is used to monitor the operation of power switch 1002. In one embodiment, the controller 210 receives a dimming request signal indicating a first set of actions of the power switch 1002 and a dimming termination signal indicating a second set of actions of the power switch 1002 via the 埠CLK, and according to the dimming request signal and The dimming termination signal adjusts the output current I OUT . Specifically, the controller 210 continuously adjusts the output current I OUT under the action of the dimming request signal, and stops adjusting the output current I OUT under the action of the dimming termination signal. In the example of FIG. 2, 埠 GND (that is, the reference ground of the controller 210) is connected to the node 333.

開關316可以是N型金屬氧化物半導體場效應電晶體(N型MOSFET)。開關316的導通狀態由開關316的閘極電壓與埠GND的電壓(即節點333的電壓)之間的電壓差決定。因此,埠DRV輸出的脈波寬度調變信號PWM1決定了開關316的狀態。當開關316接通,控制器210的參考地高於光源驅動電路200的地,使得本發明的電路可以適用於具有較高電壓的電源。 Switch 316 can be an N-type metal oxide semiconductor field effect transistor (N-type MOSFET). The conduction state of switch 316 is determined by the voltage difference between the gate voltage of switch 316 and the voltage of 埠 GND (ie, the voltage at node 333). Therefore, the pulse width modulation signal PWM1 of the 埠DRV output determines the state of the switch 316. When the switch 316 is turned on, the reference ground of the controller 210 is higher than the ground of the light source driving circuit 200, so that the circuit of the present invention can be applied to a power source having a higher voltage.

當開關316接通時,電流流經開關316、電阻218、電感302、光源模組118到光源驅動電路200的地。當開關316斷開,電流流經電阻218、電感302、光源模組118和二極體314。電感304與電感302耦接且能夠監測電感302的狀況,比如,監測流經電感302的電流是否減小到預設電流值。控制器210根據信號AUX和ISEN監測流經電感302的電流,並透過脈波寬度調變信號PWM1控制開關316,使得流經電感302的平均電流等於目標電流值。所以經過電容324濾波後,電力變換器206的輸出電流IOUT也等於目標電流值。 When the switch 316 is turned on, current flows through the switch 316, the resistor 218, the inductor 302, and the light source module 118 to the ground of the light source driving circuit 200. When switch 316 is open, current flows through resistor 218, inductor 302, light source module 118, and diode 314. Inductor 304 is coupled to inductor 302 and is capable of monitoring the condition of inductor 302, such as monitoring whether current flowing through inductor 302 is reduced to a preset current value. The controller 210 monitors the current flowing through the inductor 302 based on the signals AUX and ISEN and controls the switch 316 through the pulse width modulation signal PWM1 such that the average current flowing through the inductor 302 is equal to the target current value. Therefore, after filtering by the capacitor 324, the output current I OUT of the power converter 206 is also equal to the target current value.

第3圖所示為第2圖中控制器210的電路示意圖。第4圖所示為第3圖中控制器210的波形圖。第3圖將結合第2圖和第4圖進行描述。 Fig. 3 is a circuit diagram of the controller 210 in Fig. 2. Fig. 4 is a waveform diagram of the controller 210 in Fig. 3. Fig. 3 will be described in conjunction with Figs. 2 and 4.

在第3圖的例子中,控制器210包含調光單元301、濾波器303、誤差放大器602、比較器604、鋸齒波信號產生器606、重設信號產生器608和脈波寬度調變信號產生器610。調光單元301監測第2圖中電源開關 1002的動作,透過埠CLK接收調光請求信號和調光終止信號並產生調光信號SET,其中,調光請求信號指示電源開關1002的第一組動作,調光終止信號指示電源開關1002的第二組動作,調光信號SET指示流經電感302的平均電流的目標電流值。濾波器303對第一信號ISEN進行濾波並提供指示流經電感302的平均電流的第二信號IAVG。在第3圖的例子中,濾波器303集成於控制器210內部,在其他的實施例中,濾波器303可以位於控制器210的外部。誤差放大器602根據調光信號SET和第二信號IAVG之間的電壓差產生誤差信號VEA,透過誤差信號VEA的作用使得流經電感302的平均電流等於目標電流值。鋸齒波信號產生器606產生鋸齒波信號SAW。比較器604與誤差放大器602以及鋸齒波信號產生器606耦接,並將誤差信號VEA與鋸齒波信號SAW進行比較。重設信號產生器608與埠ZCD耦接,並根據埠ZCD接收到的信號AUX產生重設信號RESET,重設信號RESET作用於鋸齒波信號產生器606和脈波寬度調變信號產生器610。在重設信號RESET的作用下可以使得開關316接通。信號AUX指示流經電感302的電流是否減小到預設電流值(比如減小到0)。脈波寬度調變信號產生器610與比較器604以及重設信號產生器608耦接,並根據比較器604的輸出和重設信號RESET產生脈波寬度調變信號PWM1。脈波寬度調變信號PWM1透過埠DRV控制開關316的導通狀態。 In the example of FIG. 3, the controller 210 includes a dimming unit 301, a filter 303, an error amplifier 602, a comparator 604, a sawtooth signal generator 606, a reset signal generator 608, and a pulse width modulation signal generation. 610. The dimming unit 301 monitors the power switch in FIG. The action of 1002 receives the dimming request signal and the dimming termination signal through 埠CLK and generates a dimming signal SET, wherein the dimming request signal indicates a first group of actions of the power switch 1002, and the dimming termination signal indicates the first of the power switch 1002 For the two sets of actions, the dimming signal SET indicates the target current value of the average current flowing through the inductor 302. Filter 303 filters first signal ISEN and provides a second signal IAVG indicative of the average current flowing through inductor 302. In the example of FIG. 3, filter 303 is integrated within controller 210, and in other embodiments, filter 303 may be external to controller 210. The error amplifier 602 generates an error signal VEA according to the voltage difference between the dimming signal SET and the second signal IAVG, and the average current flowing through the inductor 302 is equal to the target current value by the action of the error signal VEA. The sawtooth signal generator 606 generates a sawtooth wave signal SAW. Comparator 604 is coupled to error amplifier 602 and sawtooth signal generator 606 and compares error signal VEA to sawtooth signal SAW. The reset signal generator 608 is coupled to the 埠ZCD, and generates a reset signal RESET according to the signal AUX received by the 埠ZCD, and the reset signal RESET acts on the sawtooth signal generator 606 and the pulse width modulation signal generator 610. The switch 316 can be turned on by the reset signal RESET. Signal AUX indicates whether the current flowing through inductor 302 is reduced to a preset current value (eg, reduced to zero). The pulse width modulation signal generator 610 is coupled to the comparator 604 and the reset signal generator 608, and generates a pulse width modulation signal PWM1 according to the output of the comparator 604 and the reset signal RESET. The pulse width modulation signal PWM1 controls the conduction state of the switch 316 through the 埠DRV.

當開關316接通時,電流流經開關316、電阻218、電感302、光源模組118到光源驅動電路200的地。在一個實施例中,當開關316接通時,信號AUX的電壓為負值。當開關316斷開,信號AUX的電壓變為正值。當開關316斷開,電流流經電阻218、電感302、光源模組118和二極體314,流經電感302的電流逐漸減小,當流經電感302的電流減小到預設電流值(如 減小到0),信號AUX的電壓會產生一個下降沿。在信號AUX下降沿的作用下,重設信號產生器608輸出的重設信號RESET中產生一個脈衝。在重設信號RESET的脈衝的作用下,脈波寬度調變信號產生器610產生具有第一狀態(如邏輯1)的脈波寬度調變信號PWM1以接通開關316。在重設信號RESET的脈衝的作用下,鋸齒波信號產生器606產生的鋸齒波信號SAW的電壓從初始值INI開始增大。當鋸齒波信號SAW的電壓增大到誤差信號VEA的電壓,脈波寬度調變信號產生器610產生具有第二狀態(如邏輯0)的脈波寬度調變信號PWM1以斷開開關316,並且鋸齒波信號SAW的電壓被重設到初始值INI。直到重設信號RESET的下一個脈衝到來時,鋸齒波信號SAW的電壓才從初始值INI又開始增大。 When the switch 316 is turned on, current flows through the switch 316, the resistor 218, the inductor 302, and the light source module 118 to the ground of the light source driving circuit 200. In one embodiment, the voltage of signal AUX is negative when switch 316 is turned "on". When the switch 316 is turned off, the voltage of the signal AUX becomes a positive value. When the switch 316 is turned off, current flows through the resistor 218, the inductor 302, the light source module 118, and the diode 314, and the current flowing through the inductor 302 gradually decreases, and when the current flowing through the inductor 302 decreases to a preset current value ( Such as Decrease to 0), the voltage of signal AUX will produce a falling edge. Under the action of the falling edge of the signal AUX, a pulse is generated in the reset signal RESET output from the reset signal generator 608. The pulse width modulation signal generator 610 generates a pulse width modulation signal PWM1 having a first state (e.g., logic 1) to turn on the switch 316 under the action of the pulse of the reset signal RESET. Under the action of the pulse of the reset signal RESET, the voltage of the sawtooth wave signal SAW generated by the sawtooth wave signal generator 606 increases from the initial value INI. When the voltage of the sawtooth wave signal SAW increases to the voltage of the error signal VEA, the pulse width modulation signal generator 610 generates a pulse width modulation signal PWM1 having a second state (eg, logic 0) to turn off the switch 316, and The voltage of the sawtooth signal SAW is reset to the initial value INI. Until the next pulse of the reset signal RESET comes, the voltage of the sawtooth wave signal SAW starts to increase again from the initial value INI.

在一個實施例中,脈波寬度調變信號PWM1的責任週期由誤差信號VEA決定。如果第二信號IAVG的電壓小於調光信號SET的電壓,則誤差放大器602增大誤差信號VEA的電壓以增大脈波寬度調變信號PWM1的責任週期,從而使得流經電感302的平均電流增大,直到第二信號IAVG的電壓增大到調光信號SET的電壓。如果第二信號IAVG的電壓大於調光信號SET的電壓,則誤差放大器602減小誤差信號VEA的電壓以減小脈波寬度調變信號PWM1的責任週期,從而使得流經電感302的平均電流減小,直到第二信號IAVG的電壓減小到調光信號SET的電壓。這樣,流經電感302的平均電流能夠被調整到與目標電流值相等。 In one embodiment, the duty cycle of the pulse width modulation signal PWM1 is determined by the error signal VEA. If the voltage of the second signal IAVG is less than the voltage of the dimming signal SET, the error amplifier 602 increases the voltage of the error signal VEA to increase the duty cycle of the pulse width modulation signal PWM1, thereby increasing the average current flowing through the inductor 302. Large until the voltage of the second signal IAVG increases to the voltage of the dimming signal SET. If the voltage of the second signal IAVG is greater than the voltage of the dimming signal SET, the error amplifier 602 reduces the voltage of the error signal VEA to reduce the duty cycle of the pulse width modulation signal PWM1, thereby reducing the average current flowing through the inductor 302. Small until the voltage of the second signal IAVG is reduced to the voltage of the dimming signal SET. Thus, the average current flowing through the inductor 302 can be adjusted to be equal to the target current value.

第5圖所示為第2圖中的光源驅動電路200的波形圖。第3圖中調光單元301的功能將結合第5圖進行描述。調光單元301包括觸發監測單元305、計時器307和數/模轉換器311。在一個實施例中,計時器307包括計 數器309。觸發監測單元305透過埠CLK接收調光請求信號和調光終止信號,並根據調光請求信號和調光終止信號產生致能信號EN來啟動或關閉計時器307。計時器307在該致能信號EN的控制下計時。數/模轉換器311用於根據計時器307的輸出產生調光信號SET以調節電力變換器206的輸出電流IOUT。調光請求信號指示電源開關1002的第一組動作,調光終止信號指示電源開關1002的第二組動作。調光單元301在調光請求信號的作用下連續調整調光信號SET的值,在調光終止信號的作用下停止調整調光信號SET的值。換言之,如果監測到電源開關1002的第一組動作,控制器210連續調整電力轉換器206的輸出電流IOUT;如果監測到電源開關1002的第二組動作,控制器210停止調整電力轉換器206的輸出電流IOUT。在一個實施例中,電源開關1002的第一組動作包括第一個接通動作。在一個實施例中,電源開關1002的第二組動作包括第一個斷開動作和其後的第二個接通動作。 Fig. 5 is a waveform diagram of the light source driving circuit 200 in Fig. 2 . The function of the dimming unit 301 in Fig. 3 will be described in conjunction with Fig. 5. The dimming unit 301 includes a trigger monitoring unit 305, a timer 307, and a digital/analog converter 311. In one embodiment, the timer 307 includes a counter 309. The trigger monitoring unit 305 receives the dimming request signal and the dimming termination signal through the 埠CLK, and starts or turns off the timer 307 according to the dimming request signal and the dimming termination signal generating enable signal EN. The timer 307 is clocked under the control of the enable signal EN. The digital-to-analog converter 311 is operative to generate a dimming signal SET based on the output of the timer 307 to adjust the output current I OUT of the power converter 206. The dimming request signal indicates a first set of actions of the power switch 1002, and the dimming termination signal indicates a second set of actions of the power switch 1002. The dimming unit 301 continuously adjusts the value of the dimming signal SET under the action of the dimming request signal, and stops adjusting the value of the dimming signal SET under the action of the dimming termination signal. In other words, if a first set of actions of the power switch 1002 is detected, the controller 210 continuously adjusts the output current I OUT of the power converter 206; if a second set of actions of the power switch 1002 is detected, the controller 210 stops adjusting the power converter 206 Output current I OUT . In one embodiment, the first set of actions of power switch 1002 includes a first turn-on action. In one embodiment, the second set of actions of power switch 1002 includes a first disconnect action and a second turn-on action thereafter.

假設初始時刻電源開關1002斷開。當電源開關1002被使用者接通,電力變換器206為光源模組118供電,其輸出電流IOUT的值由數/模轉換器311產生的調光信號SET的初始值決定。另一方面,當電源開關1002被使用者接通時,觸發監測單元305在埠CLK接收到調光請求信號。在一個實施例中,觸發監測單元305接收到調光請求信號表現為在埠CLK監測到電壓上升沿1203(第5圖中示出)。回應於調光請求信號,觸發監測單元305產生具有高電位的致能信號EN,從而啟動計時器307開始計時。在第3圖的例子中,計時器307中的計數器309在時鐘信號的驅動下開始計數,計數值從0開始逐漸增加到N(N為大於或等於1的整數)。在一個實施例中,控制器210在接收到調光請求信號之後、調整輸出電流IOUT之前的一預設時間段內保持 輸出電流IOUT不變,例如在計數器309的計數值達到N之前對應的時間段T1之內,數/模轉換器311保持調光信號SET為初始值,保持輸出電流IOUT不變。在計數值從N開始,數/模轉換器311對應計數值的遞增連續增大調光信號SET的值。其結果是,電力變換器206的輸出電流IOUT以及光源模組118的亮度均相應增大。 It is assumed that the power switch 1002 is turned off at the initial time. When the power switch 1002 is turned on by the user, the power converter 206 supplies power to the light source module 118, and the value of the output current I OUT is determined by the initial value of the dimming signal SET generated by the digital-to-analog converter 311. On the other hand, when the power switch 1002 is turned on by the user, the trigger monitoring unit 305 receives the dimming request signal at 埠CLK. In one embodiment, the trigger monitoring unit 305 receives the dimming request signal to appear to monitor the voltage rising edge 1203 (shown in FIG. 5) at 埠CLK. In response to the dimming request signal, the trigger monitoring unit 305 generates an enable signal EN having a high potential, thereby initiating the timer 307 to start timing. In the example of Fig. 3, the counter 309 in the timer 307 starts counting under the driving of the clock signal, and the count value is gradually increased from 0 to N (N is an integer greater than or equal to 1). In one embodiment, the controller 210 keeps the output current I OUT unchanged after receiving the dimming request signal and adjusting the output current I OUT for a predetermined period of time, for example, before the counter value of the counter 309 reaches N. Within the time period T1, the digital-to-analog converter 311 maintains the dimming signal SET as an initial value and keeps the output current I OUT unchanged. When the count value starts from N, the digital/analog converter 311 continuously increases the value of the dimming signal SET in response to the increment of the count value. As a result, the output current I OUT of the power converter 206 and the brightness of the light source module 118 are correspondingly increased.

一旦光源模組118達到期望的亮度,使用者透過對電源開關1002施以第二組動作來終止光源模組118的亮度調整。在第二組動作的作用下產生調光終止信號。在一個實施例中,第二組動作包括第一個斷開動作和其後的第二個接通動作。觸發監測單元305在埠CLK接收到調光終止信號。在一個實施例中,觸發監測單元305接收到調光終止信號表現為在埠CLK監測到電壓下降沿1208和其後的電壓上升沿1210。在調光終止信號的作用下,觸發監測單元305產生具有低電位的致能信號EN,從而關閉計時器307,計數器309保持其此時的計數值M不變,數/模轉換器311也應此保持調光信號SET的值不變。其結果是,電力變換器206的輸出電流IOUT以及光源模組118的亮度均停止變化。 Once the light source module 118 reaches the desired brightness, the user terminates the brightness adjustment of the light source module 118 by applying a second set of actions to the power switch 1002. A dimming termination signal is generated by the action of the second set of actions. In one embodiment, the second set of actions includes a first break action and a second turn-on action thereafter. The trigger monitoring unit 305 receives the dimming termination signal at 埠CLK. In one embodiment, the trigger monitoring unit 305 receives the dimming termination signal as exhibiting a voltage falling edge 1208 and a voltage rising edge 1210 thereafter. Under the action of the dimming termination signal, the trigger monitoring unit 305 generates an enable signal EN having a low potential, thereby turning off the timer 307, the counter 309 keeps its count value M at this time, and the digital-to-analog converter 311 should also This keeps the value of the dimming signal SET unchanged. As a result, the output current I OUT of the power converter 206 and the brightness of the light source module 118 both stop changing.

因此,在計數器309的計數值為0到N-1對應的時間段T1之內,電力變換器206的輸出電流IOUT保持初始值不變。從計數器309的計數值為N到M對應的時間段T2之內,電力變換器206的輸出電流IOUT持續增大,光源模組118的亮度也持續增大。在時間段T2之後,回應於調光終止信號,電力變換器206的輸出電流IOUT以及光源模組118的亮度均被鎖定。在一個實施例中,N為1,時間段T1的長度為0,則控制器210接收到調光請求信號後就開始連續調整輸出電流IOUTTherefore, within the period T1 corresponding to the counter value of the counter 309 being 0 to N-1, the output current I OUT of the power converter 206 remains unchanged from the initial value. From the time period T2 corresponding to the count value of the counter 309 from N to M, the output current I OUT of the power converter 206 continues to increase, and the brightness of the light source module 118 also continues to increase. After the time period T2, in response to the dimming termination signal, the power converter output current I OUT brightness of the light source module 118 and 206 are locked. In one embodiment, N is 1 and the length of the time period T1 is 0. Then, after receiving the dimming request signal, the controller 210 starts to continuously adjust the output current I OUT .

當電源開關1002斷開後的一段時間內,控制器210可以由與埠VDD耦接的電容供電。在一個實施例中,如果電源開關1002的第二組動作中的第一個斷開動作和其後的第二個接通動作之間的間隔時間超過閾值,計數器309的計數值將被重置為0,在第二個接通動作之後的輸出電流IOUT將恢復初始值。 The controller 210 may be powered by a capacitor coupled to 埠VDD during a period of time after the power switch 1002 is turned off. In one embodiment, if the interval between the first one of the second set of actions of the power switch 1002 and the second one of the subsequent turn-on actions exceeds a threshold, the count of the counter 309 will be reset. At 0, the output current I OUT after the second turn-on action will return to the initial value.

第6圖所示為第2圖中的電流分配單元201的電路示意圖。第7圖所示為第2圖中第一發光二極體鏈LED1的電流ILED1和第二發光二極體鏈LED2的電流ILED2與電力變換器206輸出電流IOUT之間的關係。第6圖將結合第7圖進行描述。 Fig. 6 is a circuit diagram showing the current distribution unit 201 in Fig. 2. Fig. 7 is a view showing the relationship between the current I LED1 of the first light-emitting diode chain LED1 and the current I LED2 of the second light-emitting diode chain LED 2 and the output current I OUT of the power converter 206 in Fig. 2. Figure 6 will be described in conjunction with Figure 7.

電流分配單元201包括與發光二極體鏈LED1和發光二極體鏈LED2耦接的監測單元645、與監測單元645耦接的控制單元641以及與發光二極體鏈LED1耦接的電流調整單元643。監測單元645提供指示輸出電流IOUT的監測信號。控制單元641根據指示輸出電流IOUT的監測信號來控制電流調整單元643,以調節流經發光二極體鏈LED1的電流ILED1。在第2圖和第6圖的例子中,監測單元包括與發光二極體鏈LED1和發光二極體鏈LED2耦接的電阻RT,指示輸出電流IOUT的監測信號VT是電阻RT兩端的電壓。控制單元641包括運算放大器507,電流調整單元643包括與發光二極體鏈LED1串聯的第二開關(比如電晶體Q)。運算放大器507的正端從參考信號產生單元505接收參考信號VREF,負端透過電阻RW與電阻RT耦接,輸出端與電晶體Q耦接。運算放大器507透過控制電晶體Q來調節流經發光二極體鏈LED1的電流ILED1。因為流經發光二極體鏈LED2的電流ILED2為輸出電流IOUT與流經發光二極體鏈LED1的電流ILED1的差值,因此調節流經發光二極體鏈LED1 的電流ILED1即可實現發光二極體鏈LED1、LED2的電流分配,從而相應地調節流經發光二極體鏈LED2的電流ILED2。在一個實施例中,參考信號產生單元505、運算放大器507以及電晶體Q被集成於晶片221中。 The current distribution unit 201 includes a monitoring unit 645 coupled to the LED chain 1 and the LED 2, a control unit 641 coupled to the monitoring unit 645, and a current adjustment unit coupled to the LED chain 1 643. Monitoring unit 645 provides a monitoring signal indicative of output current IOUT . The control unit 641 controls the current adjustment unit 643 according to the monitor signal indicating the output current I OUT to adjust the current I LED1 flowing through the LED chain LED1 . In the examples of FIGS. 2 and 6, the monitoring unit includes a resistor RT coupled to the LED chain 1 and the LED chain 2, and the monitoring signal V T indicating the output current I OUT is across the resistor RT. Voltage. The control unit 641 includes an operational amplifier 507 that includes a second switch (such as a transistor Q) in series with the LED chain LED1. The positive terminal of the operational amplifier 507 receives the reference signal VREF from the reference signal generating unit 505, the negative terminal is coupled to the resistor RT through the resistor RW, and the output terminal is coupled to the transistor Q. The operational amplifier 507 adjusts the current I LED1 flowing through the LED chain LED1 by controlling the transistor Q. Since the current I LED2 flowing through the LED chain LED2 is the difference between the output current I OUT and the current I LED1 flowing through the LED chain LED1, the current I LED1 flowing through the LED chain LED1 is adjusted. The current distribution of the LED chain LED1, LED2 can be realized, so that the current I LED2 flowing through the LED chain 2 is adjusted accordingly. In one embodiment, the reference signal generating unit 505, the operational amplifier 507, and the transistor Q are integrated in the wafer 221.

如果電源開關1002接通,電力變換器206的輸出電流IOUT流至光源模組118,晶片221與電阻RW耦接的埠S上的初始電壓小於參考信號產生單元505產生的參考信號VREF,運算放大器507使得電晶體Q完全導通。為便於說明發光二極體鏈LED1的電流ILED1和發光二極體鏈LED2的電流ILED2與輸出電流IOUT的關係,假設輸出電流IOUT從0開始逐漸增大。在一個實施例中,光源驅動電路200被配置使得發光二極體鏈LED1的正向壓降小於發光二極體鏈LED2的正向壓降。當發光二極體鏈LED1兩端的電壓達到其正向壓降,發光二極體鏈LED1導通,此時發光二極體鏈LED2未導通,電流流經發光二極體鏈LED1、電阻RW和電阻RT到地。流經發光二極體鏈LED1的電流ILED1隨著輸出電流IOUT增大而增大,埠S上的電壓VS也隨之增大。另一方面,隨著輸出電流IOUT增大,當發光二極體鏈LED2兩端的電壓達到其正向壓降,發光二極體鏈LED2也導通。當輸出電流IOUT增大到IT1時,埠S上的電壓VS增大到接近參考信號VREF的電壓的一個值,電晶體Q進入放大區,運算放大器507透過控制電晶體Q開始線性地調節流經發光二極體鏈LED1的電流ILED1,從而使運算放大器507兩個輸入端的電壓趨近於相等。 If the power switch 1002 is turned on, the output current I OUT of the power converter 206 flows to the light source module 118, and the initial voltage on the 埠S coupled to the resistor RW is smaller than the reference signal VREF generated by the reference signal generating unit 505. The amplifier 507 causes the transistor Q to be fully turned on. To facilitate the description of the relationship between the current I LED1 of the LED chain LED1 and the current I LED2 of the LED chain LED2 and the output current I OUT , it is assumed that the output current I OUT gradually increases from 0. In one embodiment, the light source driving circuit 200 is configured such that the forward voltage drop of the light emitting diode chain LED1 is less than the forward voltage drop of the light emitting diode chain LED2. When the voltage across the LEDs of the LED chain reaches its forward voltage drop, the LEDs of the LEDs are turned on, and the LEDs of the LEDs are not turned on, and the current flows through the LEDs, the resistors RW and the resistors. RT to the ground. The current I LED1 flowing through the LED chain LED1 increases as the output current I OUT increases, and the voltage V S on the 埠S also increases. On the other hand, as the output current I OUT increases, when the voltage across the LED chain 2 reaches its forward voltage drop, the LED chain 2 is also turned on. When the output current I OUT increases to I T1 , the voltage V S on 埠S increases to a value close to the voltage of the reference signal VREF, the transistor Q enters the amplification region, and the operational amplifier 507 starts linearly by controlling the transistor Q. The current I LED1 flowing through the LED chain LED1 is adjusted such that the voltages at the two inputs of the operational amplifier 507 approach the same.

因此,在理想的狀態下,當電晶體Q工作於線性模式時,埠S上的電壓VS與參考信號VREF的關係為VS=VREF (1) Therefore, in an ideal state, when the transistor Q operates in the linear mode, the relationship between the voltage V S on the 埠S and the reference signal VREF is V S =V REF (1)

其中,VREF是參考信號VREF的電壓值。 Where V REF is the voltage value of the reference signal VREF.

因為流過發光二極體鏈LED1和發光二極體鏈LED2的總的電流(即輸出電流IOUT)都流經電阻RT到地,電阻RT兩端的電壓VT可以表示為V T =I OUT ×R T (2) Since the total current flowing through the LED chain 1 and the LED 2 of the LED (ie, the output current I OUT ) flows through the resistor RT to ground, the voltage V T across the resistor RT can be expressed as V T = I OUT × R T (2)

其中,RT是電阻RT的阻值。 Where R T is the resistance of the resistor RT.

電阻RW與發光二極體鏈LED1串聯,流經發光二極體鏈LED1的電流ILED1可以表示為 The resistor RW is connected in series with the LED chain 1 of the LED, and the current I LED1 flowing through the LED chain 1 of the LED can be expressed as

其中,RW是電阻RW的阻值。 Where R W is the resistance of the resistor RW.

流經發光二極體鏈LED2的電流ILED2可以表示為ILED2=IOUT-ILED1 (4) Chain flowing through the light emitting diode LED2 of the I LED2 current can be expressed as I LED2 = I OUT -I LED1 ( 4)

由等式(3)可以看出,運算放大器507根據監測信號VT控制電晶體Q以調節流經發光二極體鏈LED1的電流ILED1。由等式(1)到(4)可以看出,當電晶體Q工作於線性區時,如果輸出電流IOUT增大,ILED1逐漸減小,而ILED2逐漸增大。當輸出電流IOUT增大到IT2時,運算放大器507使電晶體Q關閉,使得發光二極體鏈LED1關閉,而發光二極體鏈LED2保持接通。 As can be seen from equation (3), the operational amplifier 507 controls the transistor Q in accordance with the monitor signal V T to regulate the current I LED1 flowing through the LED chain LED1 . As can be seen from equations (1) to (4), when the transistor Q operates in the linear region, if the output current I OUT increases, the I LED 1 gradually decreases, and the I LED 2 gradually increases. When the output current I OUT is increased to I T2 , the operational amplifier 507 turns off the transistor Q such that the LED chain LED1 is turned off and the LED chain LED 2 remains turned on.

回顧第5圖,當電源開關1002接通後,在T2時間段,調光單元301輸出的調光信號SET的值隨時間增大,從而使得輸出電流IOUT隨時間增大。若發光二極體鏈LED1為暖光,發光二極體鏈LED2為冷光,則T2時間段內光源模組118總體亮度增大,其顏色從暖光向冷光逐漸過渡。 Referring back to FIG. 5, when the power switch 1002 is turned on, the value of the dimming signal SET outputted by the dimming unit 301 increases with time during the T2 period, so that the output current I OUT increases with time. If the LEDs of the LEDs are warm, and the LEDs of the LEDs are cold, the overall brightness of the light source module 118 increases during the T2 period, and the color gradually transitions from warm to cold.

第8圖所示為第2圖中的控制器210的另一種實施例的電路 示意圖。第8圖與第3圖類似,區別在於調光單元301的配置。在第8圖的例子中,調光單元301包括觸發監測單元805、計數器801和數/模轉換器811。觸發監測單元805透過埠CLK接收指示電源開關1002的動作的開關監測信號,並根據電源開關1002的動作產生驅動信號。電源開關1002的動作包括接通動作和斷開動作。計數器801在驅動信號的驅動下產生計數值。數/模轉換器811根據計數器801的計數值產生調光信號SET,控制器210根據調光信號SET調整輸出電流IOUTFig. 8 is a circuit diagram showing another embodiment of the controller 210 in Fig. 2. Fig. 8 is similar to Fig. 3 except that the configuration of the dimming unit 301 is different. In the example of FIG. 8, the dimming unit 301 includes a trigger monitoring unit 805, a counter 801, and a digital/analog converter 811. The trigger monitoring unit 805 receives a switch monitoring signal indicating the action of the power switch 1002 through the 埠CLK, and generates a drive signal according to the action of the power switch 1002. The action of the power switch 1002 includes a turn-on action and a turn-off action. The counter 801 generates a count value driven by a drive signal. The digital-to-analog converter 811 generates a dimming signal SET based on the count value of the counter 801, and the controller 210 adjusts the output current I OUT according to the dimming signal SET.

圖9所示為採用了第8圖中控制器210的配置的光源驅動電路200的波形圖。圖9將結合第8圖進行描述。假設初始時刻電源開關1002斷開。當電源開關1002被使用者接通,電力變換器206為光源模組118供電,其輸出電流IOUT的值由數/模轉換器811產生的調光信號SET的初始值決定。如果使用者想改變光源的亮度和/或顏色,可以對電源開關1002施以一組動作。觸發監測單元805透過埠CLK接收開關監測信號。在一個實施例中,電源開關1002的一組動作包括第一個斷開動作和其後的第一個接通動作,與此對應,觸發監測單元805接收到開關監測信號表現為在埠CLK監測到電壓下降沿1903和其後的電壓上升沿1905。在這組動作的作用下,觸發監測單元805產生驅動信號CNT使得計數器801的計數值加1(比如從0變為1),數/模轉換器811輸出的調光信號SET的值也相應的改變(比如從初始值增大到第二值)。其結果是,電力變換器206的輸出電流IOUT相應改變。從第7圖可以看出,光源模組118的亮度和顏色也會隨輸出電流IOUT以發生改變。類似的,如果使用者對電源開關1002再次施以一組動作,比如第二個斷開動作和其後的第二個接通動作,觸發監測單元805接收到開關監測信號表現為在 埠CLK監測到電壓下降沿1907和其後的電壓上升沿1909。在這組動作的作用下,觸發監測單元805產生驅動信號CNT使得計數器801的計數值加1(比如從1變為2),數/模轉換器811輸出的調光信號SET的值也相應的改變(比如從第二值增大到第三值)。光源模組118的顏色和亮度也會相應的再次改變。 Fig. 9 is a waveform diagram of the light source driving circuit 200 employing the configuration of the controller 210 in Fig. 8. Figure 9 will be described in conjunction with Figure 8. It is assumed that the power switch 1002 is turned off at the initial time. When the power switch 1002 is turned on by the user, the power converter 206 supplies power to the light source module 118, and the value of the output current I OUT is determined by the initial value of the dimming signal SET generated by the digital-to-analog converter 811. If the user wants to change the brightness and/or color of the light source, a set of actions can be applied to the power switch 1002. The trigger monitoring unit 805 receives the switch monitoring signal through the 埠CLK. In one embodiment, a set of actions of the power switch 1002 includes a first disconnect action and a subsequent first turn-on action, and in response thereto, the trigger monitoring unit 805 receives the switch monitor signal to appear as a 埠CLK monitor. The voltage falling edge 1903 and the subsequent voltage rising edge 1905. Under the action of the set of actions, the trigger monitoring unit 805 generates the drive signal CNT such that the count value of the counter 801 is incremented by one (for example, from 0 to 1), and the value of the dimming signal SET output by the digital-to-analog converter 811 is also corresponding. Change (such as increasing from the initial value to the second value). As a result, the output current I OUT of the power converter 206 changes accordingly. As can be seen from Figure 7, the brightness and color of the light source module 118 will also vary with the output current I OUT . Similarly, if the user applies a set of actions to the power switch 1002 again, such as a second disconnect action and a second turn-on action thereafter, the trigger monitoring unit 805 receives the switch monitoring signal and exhibits a 埠CLK monitoring. The voltage falling edge 1907 and the subsequent voltage rising edge 1909. Under the action of the set of actions, the trigger monitoring unit 805 generates the drive signal CNT such that the count value of the counter 801 is incremented by one (for example, from 1 to 2), and the value of the dimming signal SET output by the digital-to-analog converter 811 is also corresponding. Change (such as increasing from the second value to the third value). The color and brightness of the light source module 118 will also change accordingly.

如前所述,本發明提供了一種光源驅動電路。本發明披露的光源驅動電路可以與傳統的電源開關配合使用。使用者可以利用傳統的牆面電源開關同時調節光源的亮度和顏色,而不需要使用特殊的調光器或遙控器。 As described above, the present invention provides a light source driving circuit. The light source driving circuit disclosed in the present invention can be used in combination with a conventional power switch. Users can use the traditional wall power switch to simultaneously adjust the brightness and color of the light source without the need for a special dimmer or remote control.

在此使用之措辭和表達都是用於說明而非限制,使用這些措辭和表達並不將在此圖示和描述的特性之任何等同物(或部分等同物)排除在發明範圍之外,在權利要求的範圍內可能存在各種修改。其它的修改、變體和替換物也可能存在。因此,權利要求旨在涵蓋所有此類等同物。 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.

118‧‧‧光源模組 118‧‧‧Light source module

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

201‧‧‧電流分配單元 201‧‧‧current distribution unit

202‧‧‧電源 202‧‧‧Power supply

204‧‧‧整流器 204‧‧‧Rectifier

206‧‧‧電力變換器 206‧‧‧Power Converter

210‧‧‧控制器 210‧‧‧ Controller

214‧‧‧儲能單元 214‧‧‧ Energy storage unit

218‧‧‧電阻 218‧‧‧resistance

221‧‧‧晶片 221‧‧‧ wafer

302‧‧‧電感 302‧‧‧Inductance

304‧‧‧電感 304‧‧‧Inductance

308‧‧‧電容 308‧‧‧ Capacitance

314‧‧‧二極體 314‧‧‧ diode

316‧‧‧開關 316‧‧‧ switch

318‧‧‧電容 318‧‧‧ Capacitance

324‧‧‧電容 324‧‧‧ Capacitance

333‧‧‧節點 333‧‧‧ nodes

1002‧‧‧電源開關 1002‧‧‧Power switch

Claims (22)

一種光源驅動電路,包括:一整流器,接收來自一電源的一電壓並產生一整流電壓;一電力變換器,耦接該整流器,接收該整流電壓並提供一輸出電流;以及一光源模組,耦接該電力變換器並由該輸出電流供電,其中,該光源模組包括:一第一光源,具有一第一顏色;一第二光源,具有一第二顏色;以及一電流分配單元,耦接該第一光源和該第二光源,根據該輸出電流調節流經該第一光源的一電流和流經該第二光源的一電流。 A light source driving circuit comprising: a rectifier for receiving a voltage from a power source and generating a rectified voltage; a power converter coupled to the rectifier, receiving the rectified voltage and providing an output current; and a light source module coupled Connected to the power converter and powered by the output current, wherein the light source module comprises: a first light source having a first color; a second light source having a second color; and a current distribution unit coupled The first light source and the second light source adjust a current flowing through the first light source and a current flowing through the second light source according to the output current. 根據申請專利範圍第1項之光源驅動電路,還包括:一控制器,耦接該電力變換器,監測連接於該電源和該光源驅動電路之間的一電源開關,接收指示該電源開關的一第一組動作的一調光請求信號和指示該電源開關的一第二組動作的一調光終止信號,在該調光請求信號的作用下調整該輸出電流,在該調光終止信號的作用下停止調整該輸出電流。 The light source driving circuit of claim 1, further comprising: a controller coupled to the power converter, monitoring a power switch connected between the power source and the light source driving circuit, and receiving a signal indicating the power switch a dimming request signal of the first group of actions and a dimming termination signal indicating a second group of actions of the power switch, adjusting the output current under the action of the dimming request signal, and functioning at the dimming termination signal Stop adjusting the output current. 根據申請專利範圍第2項之光源驅動電路,其中,該控制器調整該輸出電流之前在一預設時間段內保持該輸出電流不變。 The light source driving circuit of claim 2, wherein the controller maintains the output current unchanged for a predetermined period of time before adjusting the output current. 根據申請專利範圍第2項之光源驅動電路,其中,該電源開關的該第一組動作包括一第一個接通動作,該電源開關的該第二組動作包括一第一個斷開動作和其後的一第二個接通動作。 The light source driving circuit of claim 2, wherein the first group of actions of the power switch includes a first turn-on action, the second set of actions of the power switch includes a first turn-off action and A second turn-on action follows. 根據申請專利範圍第2項之光源驅動電路,其中,該控制器包括: 一調光單元,根據該調光請求信號和該調光終止信號產生一調光信號,該控制器根據該調光信號調整該輸出電流。 According to the light source driving circuit of claim 2, wherein the controller comprises: a dimming unit generates a dimming signal according to the dimming request signal and the dimming termination signal, and the controller adjusts the output current according to the dimming signal. 根據申請專利範圍第5項之光源驅動電路,其中,該調光單元包括:一觸發監測單元,接收該調光請求信號和該調光終止信號並產生一致能信號;一計時器,在該致能信號的控制下計時;以及一數/模轉換器,根據該計時器的一輸出產生該調光信號。 The light source driving circuit of claim 5, wherein the dimming unit comprises: a trigger monitoring unit, receiving the dimming request signal and the dimming termination signal and generating a uniform energy signal; a timer, The timing of the control of the signal; and a digital-to-analog converter that generates the dimming signal based on an output of the timer. 根據申請專利範圍第1項之光源驅動電路,其中,該光源驅動電路還包括:一控制器,耦接該電力變換器,接收開關監測信號並根據該開關監測信號調整該輸出電流,其中,該開關監測信號指示連接於該電源和該光源驅動電路之間的電源開關的一組動作。 The light source driving circuit of the first aspect of the invention, wherein the light source driving circuit further comprises: a controller coupled to the power converter, receiving the switch monitoring signal, and adjusting the output current according to the switch monitoring signal, wherein The switch monitoring signal indicates a set of actions of a power switch connected between the power source and the light source drive circuit. 根據申請專利範圍第7項之光源驅動電路,其中,該電源開關的該第一次接通後,該輸出電流為一第一值,如果該控制器接收到的該開關監測信號指示該電源開關的動作包括該第一個斷開動作和其後的該第二個接通動作,則該控制器將該輸出電流從該第一值調整為一第二值。 According to the light source driving circuit of claim 7, wherein the output current is a first value after the first turn-on of the power switch, and if the switch monitoring signal received by the controller indicates the power switch The action includes the first disconnection action and the subsequent second turn-on action, and the controller adjusts the output current from the first value to a second value. 根據申請專利範圍第7項之光源驅動電路,其中,該控制器包括:一調光單元,根據該開關監測信號產生一調光信號,該控制器根據該調光信號調整該輸出電流。 The light source driving circuit of claim 7, wherein the controller comprises: a dimming unit, generating a dimming signal according to the switch monitoring signal, the controller adjusting the output current according to the dimming signal. 根據申請專利範圍第9項之光源驅動電路,其中,該調光單元包括:一觸發監測單元,接收該開關監測信號並產生一驅動信號;一計數器,在該驅動信號的驅動下計數;以及一數/模轉換器,根據該計數器的一計數值產生該調光信號。 The light source driving circuit of claim 9, wherein the dimming unit comprises: a trigger monitoring unit that receives the switch monitoring signal and generates a driving signal; a counter that is driven by the driving signal; and a The digital-to-analog converter generates the dimming signal based on a count value of the counter. 根據申請專利範圍第5項或第9項之光源驅動電路,其中,該光源驅動電路還包括:一儲能單元,耦接於該整流器和該光源模組之間;一電流監測器,耦接該儲能單元,提供指示流經該儲能單元的一暫態電流的一第一信號;以及一濾波器,耦接該電流監測器,根據該第一信號提供指示流經該儲能單元的一平均電流的一第二信號,其中,該控制器透過控制耦接於該整流器和該儲能單元的一第一開關來調整該輸出電流。 The light source driving circuit of the fifth or the ninth aspect of the invention, wherein the light source driving circuit further comprises: an energy storage unit coupled between the rectifier and the light source module; and a current monitor coupled The energy storage unit provides a first signal indicating a transient current flowing through the energy storage unit; and a filter coupled to the current monitor to provide an indication according to the first signal flowing through the energy storage unit a second signal of an average current, wherein the controller adjusts the output current by controlling a first switch coupled to the rectifier and the energy storage unit. 根據申請專利範圍第11之光源驅動電路,其中,該控制器還包括:一信號產生器,產生一鋸齒波信號;以及一誤差放大器,根據該第二信號和該調光信號產生一誤差信號,其中,如果指示該鋸齒波信號的一電壓增大到指示該誤差信號的一電壓,則該控制器斷開該第一開關。 The light source driving circuit of claim 11, wherein the controller further comprises: a signal generator for generating a sawtooth wave signal; and an error amplifier for generating an error signal according to the second signal and the dimming signal, Wherein, if a voltage indicating the sawtooth signal is increased to a voltage indicating the error signal, the controller turns off the first switch. 根據申請專利範圍第12之光源驅動電路,其中,該控制器還包括:一重設信號產生器,產生一重設信號,該控制器在該重設信號的作用下接通該第一開關。 The light source driving circuit of claim 12, wherein the controller further comprises: a reset signal generator for generating a reset signal, the controller turning on the first switch by the reset signal. 根據申請專利範圍第1之光源驅動電路,其中,該第一光源是一第一發光二極體鏈,該第二光源是一第二發光二極體鏈,且該第一發光二極體鏈的一正向壓降小於該第二發光二極體鏈的一正向壓降。 The light source driving circuit of claim 1, wherein the first light source is a first light emitting diode chain, the second light source is a second light emitting diode chain, and the first light emitting diode chain A forward voltage drop is less than a forward voltage drop of the second illuminating diode chain. 根據申請專利範圍第1之光源驅動電路,其中,該電流分配單元包括: 一監測單元,耦接該第一光源和該第二光源,提供指示該輸出電流的一監測信號;一控制單元,耦接該監測單元;以及一電流調整單元,耦接該第一光源,其中該控制單元根據該監測信號控制該電流調整單元以調節流經該第一光源的該電流。 The light source driving circuit of claim 1, wherein the current distribution unit comprises: a monitoring unit, coupled to the first light source and the second light source, to provide a monitoring signal indicating the output current; a control unit coupled to the monitoring unit; and a current adjusting unit coupled to the first light source, wherein The control unit controls the current adjustment unit to adjust the current flowing through the first light source according to the monitoring signal. 根據申請專利範圍第15項之光源驅動電路,其中,該監測單元包括:一第一電阻,其中,流經該第一光源的該電流和流經該第二光源的該電流均流經該第一電阻。 The light source driving circuit of claim 15, wherein the monitoring unit comprises: a first resistor, wherein the current flowing through the first light source and the current flowing through the second light source flow through the first A resistor. 根據申請專利範圍第15項之光源驅動電路,其中,該控制單元包括一運算放大器,該電流調整單元包括一第二開關,該第二開關與該第一光源串聯,其中,該運算放大器的一第一輸入端接收一參考信號,該運算放大器的一第二輸入端透過一第二電阻與該監測單元耦接以接收該監測信號,該運算放大器的一輸出端與該第二開關耦接,該運算放大器透過控制該第二開關來調節流經該第一光源的該電流。 The light source driving circuit of claim 15, wherein the control unit comprises an operational amplifier, the current adjusting unit comprises a second switch, and the second switch is connected in series with the first light source, wherein one of the operational amplifiers The first input end receives a reference signal, and a second input end of the operational amplifier is coupled to the monitoring unit via a second resistor to receive the monitoring signal, and an output end of the operational amplifier is coupled to the second switch, The operational amplifier adjusts the current flowing through the first source by controlling the second switch. 一種光源模組,包括:一第一光源,具有一第一顏色;一第二光源,具有一第二顏色;以及一電流分配單元,耦接該第一光源和該第二光源,根據該光源模組的一輸入電流來調節流經該第一光源的一電流和流經該第二光源的一電流。 A light source module includes: a first light source having a first color; a second light source having a second color; and a current distribution unit coupled to the first light source and the second light source, according to the light source An input current of the module regulates a current flowing through the first source and a current flowing through the second source. 根據申請專利範圍第18項之光源模組,其中,該第一光源是一第一發光二極體鏈,該第二光源是一第二發光二極體鏈,且該第一發光二極體鏈的一正向壓降小於該第二發光二極體鏈的一正向壓降。 The light source module of claim 18, wherein the first light source is a first light emitting diode chain, the second light source is a second light emitting diode chain, and the first light emitting diode A forward voltage drop of the chain is less than a forward voltage drop of the second illuminating diode chain. 根據申請專利範圍第18項之光源模組,其中,該電流分配單元包括:一監測單元,耦接該第一光源和該第二光源,提供指示該輸入電流的一監測信號;一控制單元,耦接該監測單元;以及一電流調整單元,耦接該第一光源,其中該控制單元根據該監測信號控制該電流調整單元以調節流經該第一光源的該電流。 The light source module of claim 18, wherein the current distribution unit comprises: a monitoring unit coupled to the first light source and the second light source to provide a monitoring signal indicating the input current; a control unit, The current monitoring unit is coupled to the first light source, wherein the control unit controls the current adjustment unit to adjust the current flowing through the first light source according to the monitoring signal. 根據申請專利範圍第20項之光源模組,其中,該監測單元包括:一第一電阻,其中,流經該第一光源的該電流和流經該第二光源的該電流均流經該第一電阻。 The light source module of claim 20, wherein the monitoring unit comprises: a first resistor, wherein the current flowing through the first light source and the current flowing through the second light source flow through the first A resistor. 根據申請專利範圍第20項之光源模組,其中,該控制單元包括一運算放大器,該電流調整單元包括一第二開關,該第二開關與該第一光源串聯,其中,該運算放大器的一第一輸入端接收一參考信號,該運算放大器的一第二輸入端透過一第二電阻與該監測單元耦接以接收該監測信號,該運算放大器的一輸出端與該第二開關耦接,該運算放大器透過控制該第二開關來調節流經該第一光源的該電流。 The light source module of claim 20, wherein the control unit comprises an operational amplifier, the current adjustment unit comprises a second switch, the second switch is connected in series with the first light source, wherein one of the operational amplifiers The first input end receives a reference signal, and a second input end of the operational amplifier is coupled to the monitoring unit via a second resistor to receive the monitoring signal, and an output end of the operational amplifier is coupled to the second switch, The operational amplifier adjusts the current flowing through the first source by controlling the second switch.
TW105103666A 2015-02-13 2016-02-04 Light source driving circuit and light source module TWI612842B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510082437.9A CN105992437A (en) 2015-02-13 2015-02-13 Light source drive circuit and light source module
??201510082437.9 2015-02-13

Publications (2)

Publication Number Publication Date
TW201705813A true TW201705813A (en) 2017-02-01
TWI612842B TWI612842B (en) 2018-01-21

Family

ID=57042383

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105103666A TWI612842B (en) 2015-02-13 2016-02-04 Light source driving circuit and light source module

Country Status (2)

Country Link
CN (1) CN105992437A (en)
TW (1) TWI612842B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419329B (en) * 2018-01-31 2020-09-29 佛山冠今光电科技有限公司 LED lamp dimming method, dimming module and lamp
CN111885764B (en) * 2020-07-15 2022-05-17 宁波公牛光电科技有限公司 Power supply circuit and lamp

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4797886B2 (en) * 2006-01-25 2011-10-19 パナソニック電工株式会社 Load control circuit
CN102014540B (en) * 2010-03-04 2011-12-28 凹凸电子(武汉)有限公司 Drive circuit and controller for controlling electric power of light source
CN101854759B (en) * 2009-03-31 2011-07-06 凹凸电子(武汉)有限公司 Drive circuit for controlling electric energy of light source, method and system
US20120268027A1 (en) * 2009-11-26 2012-10-25 Hyun Min Shin Energy saving led having dimming function and mood-lighting control function
TW201306659A (en) * 2011-07-20 2013-02-01 Yu-Sheng Suo Method for manual and automatic dimming and device thereof
US8742671B2 (en) * 2011-07-28 2014-06-03 Cree, Inc. Solid state lighting apparatus and methods using integrated driver circuitry
JP5822670B2 (en) * 2011-11-17 2015-11-24 日立アプライアンス株式会社 LED lighting device
EP2683220A1 (en) * 2012-07-04 2014-01-08 Zentrum Mikroelektronik Dresden AG Assembly and method for controlling light emitting diodes dependent on supply voltage amplitude, using shunting switch
US9844113B2 (en) * 2013-01-25 2017-12-12 Dialog Semiconductor Inc. Adjusting color temperature in a dimmable LED lighting system
CN103347334A (en) * 2013-06-27 2013-10-09 浙江生辉照明有限公司 Drive circuit and drive method of LED illuminating device
CN103415111B (en) * 2013-07-30 2016-06-22 浙江生辉照明有限公司 The drive circuit of LED light device and driving method

Also Published As

Publication number Publication date
CN105992437A (en) 2016-10-05
TWI612842B (en) 2018-01-21

Similar Documents

Publication Publication Date Title
TWI533746B (en) Controller and method for dimming and light source driving circuit thereof
US8716949B2 (en) Lighting device for solid-state light source and illumination apparatus using same
US9713206B2 (en) LED (light-emitting diode) string derived controller power supply
TWI666970B (en) Analog and digital dimming control for led driver
TWI581657B (en) Controller and driving circuit for controlling dimming of light emitting diode light source
CN102740555B (en) Lighting device for solid-state light source and illumination apparatus including same
US8698409B2 (en) Lighting device and lighting fixture using the same
TWI483647B (en) Dimming controller, system and method thereof
TWI568311B (en) Light source driving circuit, color temperature controller and method for controlling color temperature of light source
TWI458387B (en) Illumination driver circuit
JP6048943B2 (en) Drive circuit, illumination light source, and illumination device
TW201328432A (en) Active bleeder circuit triggering TRIAC in all phase and light emitting device power supply circuit and TRIAC control method using the active bleeder circuit
TW201410067A (en) Dimmable LED (Light-Emitting Diode) driving circuit and driving method
TWM503722U (en) Light emitting device power supply circuit with dimming function and control circuit thereof
US8922130B2 (en) Solid-state light-emitting element drive device, lighting system and lighting fixture
TW201336344A (en) Controller and method for powering light emitting diode light source and portable lighting device
Chung et al. Low-cost drive circuit for AC-direct LED lamps
US10757770B2 (en) Light source driving circuits and light source module
Shin et al. Sine-reference band (SRB)-controlled average current technique for phase-cut dimmable AC–DC buck LED lighting driver without electrolytic capacitor
TWI612842B (en) Light source driving circuit and light source module
JP2015170534A (en) Lighting device and luminaire
JP6840997B2 (en) Lighting equipment and lighting equipment
GB2520425A (en) Circuits and methods for driving light sources
GB2513478A (en) Circuits and methods for driving light sources
TWI836571B (en) Constant current switching power supply system and its control chip and control method