TWI556686B - Controller and method for dimming and electronic system thereof - Google Patents

Controller and method for dimming and electronic system thereof Download PDF

Info

Publication number
TWI556686B
TWI556686B TW102110490A TW102110490A TWI556686B TW I556686 B TWI556686 B TW I556686B TW 102110490 A TW102110490 A TW 102110490A TW 102110490 A TW102110490 A TW 102110490A TW I556686 B TWI556686 B TW I556686B
Authority
TW
Taiwan
Prior art keywords
signal
light source
mode
switch
current
Prior art date
Application number
TW102110490A
Other languages
Chinese (zh)
Other versions
TW201406207A (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
Priority claimed from US13/559,451 external-priority patent/US9232591B2/en
Application filed by 凹凸科技國際股份有限公司 filed Critical 凹凸科技國際股份有限公司
Publication of TW201406207A publication Critical patent/TW201406207A/en
Application granted granted Critical
Publication of TWI556686B publication Critical patent/TWI556686B/en

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light

Landscapes

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

Description

光源調光控制器、控制方法及其電子系統 Light source dimming controller, control method and electronic system thereof

本發明係有關一種控制器,特別是一種光源調光控制器、控制方法及其電子系統。 The invention relates to a controller, in particular to a light source dimming controller, a control method and an electronic system thereof.

近年來,發光二極體(LED)等光源經由在材料和製程技術之進步而隨之改良。LED具有高效率、長壽命、顏色鮮豔等特點,可以應汽車、電腦、電信、軍事和日用品等領域。比如,LED燈可以替代習知的白熾燈作為照明光源。 In recent years, light sources such as light-emitting diodes (LEDs) have been improved through advances in materials and process technology. LEDs are characterized by high efficiency, long life, bright colors, etc., and can be used in the fields of automobiles, computers, telecommunications, military and daily necessities. For example, LED lights can be used as an illumination source instead of conventional incandescent lamps.

圖1所示為一種習知的LED驅動電路100的示意圖。LED驅動電路100利用LED鏈(LED string)106作為光源。LED鏈106包含一組串聯的LED。電力轉換器102將直流輸入電壓VIN轉換成期望的直流輸出電壓VOUT,以對LED鏈106供電。與電力轉換器102耦接的開關104能致能或除能給LED鏈106的直流輸入電壓VIN,以導通或關斷LED燈。電力轉換器102接收來自電流偵測電阻RSEN的回授信號並調節直流輸出電壓VOUT以使LED鏈106產生期望的亮度。該習知方案的缺點之一是,該期望亮度是預先設定好的。在操作中,LED鏈106的亮度輸出被設定為一預設值,使用者無法調節。 FIG. 1 shows a schematic diagram of a conventional LED driving circuit 100. The LED drive circuit 100 uses an LED string 106 as a light source. LED chain 106 includes a set of LEDs in series. Power converter 102 converts DC input voltage V IN to a desired DC output voltage V OUT to power LED chain 106. The switch 104 coupled to the power converter 102 can enable or disable the DC input voltage V IN to the LED chain 106 to turn the LED light on or off. Power converter 102 receives the feedback signal from current sense resistor R SEN and adjusts DC output voltage V OUT to cause LED chain 106 to produce the desired brightness. One of the disadvantages of this conventional solution is that the desired brightness is preset. In operation, the brightness output of the LED chain 106 is set to a predetermined value that the user cannot adjust.

圖2所示為另一種習知的LED驅動電路200的示意圖。電力轉換器102將直流輸入電壓VIN轉換成期望的直流輸出電壓VOUT,以對LED鏈106供電。與電力轉換器102耦接的開關104能致能或除能給LED鏈106的直流輸入電壓VIN,以導通或關斷LED燈。LED鏈106與線性LED電流調節器208耦接。線性LED電流調節器 208中的運算放大器210比較參考信號REF和來自電流偵測電阻RSEN的電流監測信號,並產生控制信號,以線性的模式調節電晶體Q1的阻抗。因此,流經LED鏈106的電流可據此調節。在此方案中,為控制LED鏈106的亮度輸出,使用者需要利用某專用裝置,例如一個專門設計之具有調節按鈕或是能接收遙控控制信號的開關,來調節參考信號REF。 FIG. 2 shows a schematic diagram of another conventional LED driving circuit 200. Power converter 102 converts DC input voltage V IN to a desired DC output voltage V OUT to power LED chain 106. The switch 104 coupled to the power converter 102 can enable or disable the DC input voltage V IN to the LED chain 106 to turn the LED light on or off. The LED chain 106 is coupled to a linear LED current regulator 208. The operational amplifier 210 in the linear LED current regulator 208 compares the reference signal REF with the current monitoring signal from the current detecting resistor R SEN and generates a control signal to adjust the impedance of the transistor Q 1 in a linear mode. Therefore, the current flowing through the LED chain 106 can be adjusted accordingly. In this solution, in order to control the brightness output of the LED chain 106, the user needs to adjust the reference signal REF by using a dedicated device such as a specially designed switch having an adjustment button or receiving a remote control signal.

本發明的目的為提供一種光源調光控制器,包括:一電壓控制接腳,當該調光控制器工作在一第一模式時提供一脈衝信號,該脈衝信號控制一控制開關工作於一第一狀態或一第二狀態,當該控制開關工作在該第一狀態時,流經一光源的一第一電流增加,當該控制開關工作在該第二狀態時,該第一電流减小,其中,當該調光控制器工作在一第二模式時,該電壓控制接腳為該控制開關提供一控制信號,切斷該第一電流;以及一電流控制接腳,當該調光控制器工作在該第二模式時產生流過該光源的一第二電流。 An object of the present invention is to provide a light source dimming controller, comprising: a voltage control pin, which provides a pulse signal when the dimming controller operates in a first mode, the pulse signal controls a control switch to operate in a first a state or a second state, when the control switch operates in the first state, a first current flowing through a light source increases, and when the control switch operates in the second state, the first current decreases Wherein, when the dimming controller operates in a second mode, the voltage control pin provides a control signal for the control switch to cut off the first current; and a current control pin, when the dimming controller Working in the second mode produces a second current flowing through the source.

本發明還提供一種電子系統,包括:一功率轉換器,從一整流器接收一輸入電壓,並為一光源提供一輸出電壓,其中,當一電源開關導通時,該電源開關將一電能從一交流電源傳到該整流器;以及一光源調光控制器,耦接該功率轉換器,檢測指示該電源開關之一狀態的一調光請求信號,並根據該調光請求信號選擇工作在一第一模式或一第二模式,當該調光控制器工作在該第一模式時,該光源調光控制器為一電壓控制接腳提供一脈衝信號,以控制流經該光源的一第一電流,當該脈衝信號處於一第一狀態時,該第一電流增加,當該脈衝信號處於一第二狀態時,該第一電流减小,當該光源調光控制器工作在該第二模式時,該光源調光控制器為該電壓控制接腳提供一控制信號,以切斷該第一電流,並接通一個實質恒定的電流流經該光源。 The invention also provides an electronic system comprising: a power converter receiving an input voltage from a rectifier and providing an output voltage to a light source, wherein the power switch switches an electrical energy from an alternating current when the power switch is turned on a power source is transmitted to the rectifier; and a light source dimming controller is coupled to the power converter, detecting a dimming request signal indicating a state of the power switch, and selecting to operate in a first mode according to the dimming request signal Or a second mode, when the dimming controller is operating in the first mode, the light source dimming controller provides a pulse signal to a voltage control pin to control a first current flowing through the light source. When the pulse signal is in a first state, the first current is increased, and when the pulse signal is in a second state, the first current is decreased, when the light source dimming controller is operated in the second mode, The light source dimming controller provides a control signal to the voltage control pin to turn off the first current and turn on a substantially constant current through the light source.

本發明還提供一種調光方法,包括:利用一功率轉換器為一光源提供一調節後電壓;接收指示一電源開關之一導通狀態的一開關監 測信號,該電源開關耦接於一電源和該功率轉換器之間;根據該開關監測信號,選擇一工作模式為一第一模式或一第二模式;當工作在該第一模式時,一控制開關工作在一第一狀態或一第二狀態,其中當該控制開關工作在該第一狀態時,流經該光源的一第一電流增加,當該控制開關工作在該第二狀態時,該第一電流减小;當工作在該第二模式時,切斷該第一電流;以及當工作在該第二模式時,導通實質恒定的一電流流過該光源。 The invention also provides a dimming method, comprising: providing a regulated voltage to a light source by using a power converter; and receiving a switch monitor indicating a conductive state of a power switch Measuring a signal, the power switch is coupled between a power source and the power converter; according to the switch monitoring signal, selecting an operating mode to be a first mode or a second mode; when operating in the first mode, The control switch operates in a first state or a second state, wherein when the control switch operates in the first state, a first current flowing through the light source increases, and when the control switch operates in the second state, The first current decreases; when operating in the second mode, the first current is turned off; and when operating in the second mode, a substantially constant current is passed through the source.

100‧‧‧LED驅動電路 100‧‧‧LED drive circuit

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

104‧‧‧開關 104‧‧‧ switch

106‧‧‧LED鏈 106‧‧‧LED chain

200‧‧‧LED驅動電路 200‧‧‧LED drive circuit

208‧‧‧線性LED電流調節器 208‧‧‧Linear LED Current Regulator

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

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

304‧‧‧電力開關 304‧‧‧Power switch

306‧‧‧交流/直流(AC/DC)轉換器 306‧‧•AC/DC converter

308‧‧‧調光控制器 308‧‧‧ dimming controller

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

312‧‧‧LED鏈 312‧‧‧LED chain

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

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

502‧‧‧調光器 502‧‧‧ dimmer

504‧‧‧脈衝信號產生器 504‧‧‧ pulse signal generator

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

508‧‧‧啟動及欠電壓鎖定(UVL)電路 508‧‧‧Starting and undervoltage lockout (UVL) circuits

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

512、514、515‧‧‧金屬氧化物半導體場效應電晶體(MOSFET) 512, 514, 515‧‧‧Metal Oxide Semiconductor Field Effect Transistor (MOSFET)

516、518‧‧‧比較器 516, 518‧‧‧ comparator

520、522‧‧‧SR正反器 520, 522‧‧‧SR positive and negative

524‧‧‧及閘 524‧‧‧ and gate

526‧‧‧計數器 526‧‧‧ counter

528‧‧‧數位類比(D/A)轉換器 528‧‧‧Digital Analogue (D/A) Converter

530‧‧‧脈波寬度調變(PWM)信號產生器 530‧‧‧ Pulse width modulation (PWM) signal generator

532‧‧‧電流源 532‧‧‧current source

534‧‧‧比較器 534‧‧‧ comparator

536‧‧‧脈衝信號 536‧‧‧ pulse signal

538‧‧‧控制信號 538‧‧‧Control signal

540、541、542‧‧‧開關 540, 541, 542‧ ‧ switch

602‧‧‧LED電流 602‧‧‧LED current

900‧‧‧流程圖 900‧‧‧Flowchart

902、904、906、908‧‧‧步驟 902, 904, 906, 908‧‧ steps

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

1008‧‧‧調光控制器 1008‧‧‧ dimming controller

1102‧‧‧調光器 1102‧‧‧Dimmer

1104‧‧‧時鐘產生器 1104‧‧‧clock generator

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

1126‧‧‧計數器 1126‧‧‧ counter

1204‧‧‧負緣 1204‧‧‧ Negative

1206‧‧‧正緣 1206‧‧‧ 正缘

1208‧‧‧負緣 1208‧‧‧ negative margin

1210‧‧‧正緣 1210‧‧‧ positive edge

1300‧‧‧流程圖 1300‧‧‧flow chart

1302、1304、1306、1308、1310‧‧‧步驟 Steps 1302, 1304, 1306, 1308, 1310‧‧

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

1408‧‧‧調光控制器 1408‧‧‧ dimming controller

1450‧‧‧開關監測信號 1450‧‧‧Switch monitoring signal

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

1454‧‧‧感應信號 1454‧‧‧Induction signal

1480‧‧‧元件 1480‧‧‧ components

1502‧‧‧調光器 1502‧‧‧Dimmer

1504‧‧‧計數器 1504‧‧‧ counter

1506‧‧‧參考信號產生器 1506‧‧‧Reference signal generator

1508‧‧‧PWM信號產生器 1508‧‧‧PWM signal generator

1510‧‧‧致能信號 1510‧‧‧Enable signal

1800‧‧‧流程圖 1800‧‧‧flow chart

1802、1804、1806、1808‧‧‧步驟 1802, 1804, 1806, 1808‧‧‧ steps

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

1908‧‧‧調光控制器 1908‧‧‧ dimming controller

1952‧‧‧脈衝信號 1952‧‧‧ pulse signal

1954‧‧‧控制信號 1954‧‧‧Control signal

2002‧‧‧調光器 2002‧‧‧Dimmer

2004‧‧‧模式選擇模組 2004‧‧‧Mode Selection Module

2006‧‧‧電流源 2006‧‧‧current source

2008‧‧‧開關 2008‧‧‧Switch

2010‧‧‧驅動器 2010‧‧‧ drive

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

2220‧‧‧方法流程圖 2220‧‧‧ Method flow chart

2202~2212‧‧‧步驟 2202~2212‧‧‧Steps

以下結合附圖和具體實施例對本發明的技術方法進行詳細的描述,以使本發明的特徵和優點更為明顯。其中:圖1所示為一種習知的LED驅動電路的電路圖;圖2所示為另一種習知的LED驅動電路的電路圖;圖3所示為根據本發明一實施例的光源驅動電路的例示性方塊圖;圖4所示為根據本發明一實施例的光源驅動電路的例示性電路圖;圖5所示為根據本發明一實施例圖4中的調光控制器的例示性架構圖;圖6所示為根據本發明一實施例類比調光模式下的例示性信號波形圖;圖7所示為根據本發明一實施例驟變調光模式下的例示性信號波形圖;圖8所示為根據本發明一實施例闡釋包含圖5所示之調光控制器的光源驅動電路之操作示意圖;圖9所示為根據本發明一實施例的對光源調節電力的方法流程圖;圖10所示為根據本發明一實施例的光源驅動電路的例示性電 路圖;圖11所示為根據本發明一實施例圖10中的調光控制器的例示性架構圖;圖12所示為根據本發明一實施例闡釋包含圖11所示之調光控制器的光源驅動電路之操作示意圖;圖13所示為根據本發明一實施例的對光源調節電力的方法流程圖。 The technical method of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments to make the features and advantages of the present invention more obvious. 1 is a circuit diagram of a conventional LED driving circuit; FIG. 2 is a circuit diagram of another conventional LED driving circuit; and FIG. 3 is an illustration of a light source driving circuit according to an embodiment of the present invention. FIG. 4 is an exemplary circuit diagram of a light source driving circuit according to an embodiment of the present invention; FIG. 5 is an exemplary structural diagram of the dimming controller of FIG. 4 according to an embodiment of the present invention; 6 is an exemplary signal waveform diagram in analog dimming mode according to an embodiment of the invention; FIG. 7 is an exemplary signal waveform diagram in a dimming dimming mode according to an embodiment of the invention; FIG. 9 is a flow chart showing a method for adjusting power of a light source according to an embodiment of the invention; FIG. An exemplary electric power of a light source driving circuit according to an embodiment of the present invention FIG. 11 is an exemplary architectural diagram of the dimming controller of FIG. 10 according to an embodiment of the invention; FIG. 12 is a diagram illustrating the dimming controller of FIG. 11 according to an embodiment of the invention. FIG. 13 is a flow chart showing a method of adjusting power to a light source according to an embodiment of the invention.

圖14A所示為根據本發明一實施例的光源驅動電路之電路圖。 Figure 14A is a circuit diagram of a light source driving circuit in accordance with an embodiment of the present invention.

圖14B所示圖14A中的電力開關之示意圖。 Figure 14B is a schematic diagram of the power switch of Figure 14A.

圖15所示為圖14A中的調光控制器的電路示意圖。 Figure 15 is a circuit diagram of the dimming controller of Figure 14A.

圖16所示為根據本發明一實施例的光源驅動電路的信號示意圖。 FIG. 16 is a schematic diagram showing signals of a light source driving circuit according to an embodiment of the invention.

圖17所示為根據本發明一實施例的光源驅動電路的信號示意圖。 FIG. 17 is a schematic diagram showing signals of a light source driving circuit according to an embodiment of the invention.

圖18所示為根據本發明一實施例控制LED光源的調光方法流程圖。 FIG. 18 is a flow chart showing a dimming method for controlling an LED light source according to an embodiment of the invention.

圖19所示為根據本發明一實施例的光源驅動電路電路圖。 Figure 19 is a circuit diagram of a light source driving circuit in accordance with an embodiment of the present invention.

圖20所示為根據本發明一實施例的調光控制器的結構示意圖。 FIG. 20 is a schematic structural diagram of a dimming controller according to an embodiment of the invention.

圖21所示為根據本發明一實施例的光源驅動電路的信號示意圖。 21 is a signal diagram of a light source driving circuit in accordance with an embodiment of the present invention.

圖22所示為根據本發明一實施例的由調光控制器(執行的控制LED光源調光的方法流程圖。 Figure 22 is a flow chart showing a method of dimming a controlled LED light source by a dimming controller, in accordance with an embodiment of the present invention.

以下將對本發明的實施例給出詳細的說明。雖然本發明將結合實施例進行闡述,但應理解這並非意指將本發明限定於這些實 施例。相反地,本發明意在涵蓋由後附申請專利範圍所界定的本發明精神和範圍內所定義的各種變化、修改和均等物。 A detailed description of the embodiments of the present invention will be given below. While the invention will be described in connection with the embodiments, it should be understood that this is not intended to limit the invention Example. Rather, the invention is to cover various modifications, equivalents, and equivalents of the invention as defined by the scope of the appended claims.

此外,在以下對本發明的詳細描述中,為了提供針對本發明的完全的理解,提供了大量的具體細節。然而,於本技術領域中具有通常知識者將理解,沒有這些具體細節,本發明同樣可以實施。在另外的一些實例中,對於大家熟知的方法、程序、元件和電路未作詳細描述,以便於凸顯本發明之主旨。 In addition, in the following detailed description of the embodiments of the invention However, it will be understood by those of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail in order to facilitate the invention.

圖3所示為根據本發明一實施例的光源驅動電路300的方塊圖。在一實施例中,光源驅動電路300包括把來自電源的直流輸入電壓VIN轉換為直流輸出電壓VOUT的交流/直流(AC/DC)轉換器306,耦接於電源和交流/直流轉換器306之間選擇性將電源耦接至光源驅動電路300的電力開關304,與交流/直流轉換器306耦接為LED鏈312提供調節後電力的電力轉換器310,與電力轉換器310耦接接收表示電力開關304操作的開關監測信號、並根據開關監測信號調節來自電力轉換器310調節後電力的調光控制器308,以及監測流經LED鏈312的LED電流的電流監測器314。在一實施例中,電力開關304是固接於牆上的導通/關斷(on/off)開關。 3 is a block diagram of a light source driving circuit 300 in accordance with an embodiment of the present invention. In one embodiment, the light source driving circuit 300 includes an alternating current/direct current (AC/DC) converter 306 that converts a direct current input voltage V IN from a power source into a direct current output voltage V OUT , coupled to a power supply and an alternating current/direct current converter. Between the 306, the power switch 304 is selectively coupled to the power switch 304 of the light source driving circuit 300, and the AC/DC converter 306 is coupled to the power converter 310 that provides the adjusted power to the LED chain 312, and is coupled to the power converter 310. A dimming controller 308 representing the switch monitoring signal operated by the power switch 304 and adjusting the post-regulated power from the power converter 310 based on the switch monitoring signal, and a current monitor 314 monitoring the LED current flowing through the LED chain 312. In an embodiment, the power switch 304 is an on/off switch that is secured to the wall.

在操作中,交流/直流轉換器306將直流輸入電壓VIN轉換為直流輸出電壓VOUT。電力轉換器310接收直流輸出電壓VOUT並為LED鏈312提供調節後的電力。電流監測器314產生電流監測信號,其表示流經LED鏈312的LED電流位準。調光控制器308監測電力開關304的操作,接收來自電流監測器314的電流監測信號,並回應電力開關304的操作控制電力轉換器310以調節LED鏈312的電力。在一實施例中,調光控制器308操作於類比(analog)調光模式,透過調節一個表示LED電流峰值的參考信號來調節LED鏈312的電力。在另一實施例中,調光控制器308工作於驟變(burst)調光模式,透過調節一脈波寬度調變(PWM)信號的工作週期來調節LED鏈312的電力。透過調節LED鏈312的電力,LED鏈312的亮度輸出能夠相應地被調節。 In operation, AC/DC converter 306 converts DC input voltage V IN to DC output voltage V OUT . Power converter 310 receives DC output voltage VOUT and provides regulated power to LED chain 312. Current monitor 314 generates a current monitoring signal that represents the LED current level flowing through LED chain 312. The dimming controller 308 monitors the operation of the power switch 304, receives a current monitoring signal from the current monitor 314, and controls the power converter 310 in response to operation of the power switch 304 to regulate the power of the LED chain 312. In one embodiment, dimming controller 308 operates in an analog dimming mode to adjust the power of LED chain 312 by adjusting a reference signal indicative of the peak current of the LED. In another embodiment, the dimming controller 308 operates in a burst dimming mode to adjust the power of the LED chain 312 by adjusting the duty cycle of a pulse width modulation (PWM) signal. By adjusting the power of the LED chain 312, the brightness output of the LED chain 312 can be adjusted accordingly.

圖4所示為根據本發明一實施例的光源驅動電路400的電路圖。圖4將結合圖3進行描述。圖4中與圖3編號相同的元件具有類似功能,為簡明起見在此不重複描述。 4 is a circuit diagram of a light source driving circuit 400 in accordance with an embodiment of the present invention. Figure 4 will be described in conjunction with Figure 3. Elements in Figure 4 that are numbered the same as in Figure 3 have similar functions and will not be repeatedly described herein for the sake of brevity.

光源驅動電路400包括電力轉換器310(如圖3所示),其耦接至電源和LED鏈312,接收來自電源的電力並為LED鏈312提供調節後電力。在圖4的實例中,電力轉換器310可為包括電感L1、二極體D4和控制開關Q16的降壓(buck)轉換器。在圖4中所示的實施例中,控制開關Q16位於調光控制器308之外。在其他的實施例中,控制開關Q16可以整合於調光控制器308之中。 Light source drive circuit 400 includes a power converter 310 (shown in FIG. 3) coupled to power source and LED chain 312 that receives power from the power source and provides regulated power to LED chain 312. In the example of FIG. 4, power converter 310 can be a buck converter that includes inductor L1, diode D4, and control switch Q16. In the embodiment shown in FIG. 4, control switch Q16 is located outside of dimming controller 308. In other embodiments, the control switch Q16 can be integrated into the dimming controller 308.

調光控制器308接收表示電力開關(例如耦接於電源和光源驅動電路之間的電力開關304)的操作的開關監測信號,並根據該開關監測信號控制與LED鏈312串聯耦接的控制開關Q16,以調節來自電力轉換器310(包括電感L1、二極體D4和控制開關Q16)的調節後的電力。光源驅動電路400進一步包括交流/直流轉換器306,將直流輸入電壓VIN轉換成直流輸出電壓VOUT,以及電流監測器314,監測流經LED鏈312的LED電流。在圖4所示的實例中,交流/直流轉換器306可為包括二極體D1、D2、D7、D8、D10和電容C9的橋式整流器。電流監測器314可包括電流監測電阻R5。 The dimming controller 308 receives a switch monitoring signal indicating an operation of a power switch (eg, a power switch 304 coupled between the power source and the light source driving circuit), and controls a control switch coupled in series with the LED chain 312 according to the switch monitoring signal. Q16 to regulate the regulated power from power converter 310 (including inductor L1, diode D4, and control switch Q16). The light source drive circuit 400 further includes an AC/DC converter 306 that converts the DC input voltage V IN to a DC output voltage V OUT and a current monitor 314 that monitors the LED current flowing through the LED chain 312. In the example shown in FIG. 4, the AC/DC converter 306 can be a bridge rectifier including diodes D1, D2, D7, D8, D10 and capacitor C9. Current monitor 314 can include current monitoring resistor R5.

在一實施例中,調光控制器308的端點包括:HV_GATE、SEL、CLK、RT、VDD、CTRL、MON和GND。端點HV_GATE經由電阻R15與開關Q27耦接,控制與LED鏈312耦接的開關Q27的導通狀態(如導通/關斷的狀態)。電容C11耦接於端點HV_GATE和地之間,調節開關Q27的閘極電壓。 In an embodiment, the endpoints of dimming controller 308 include: HV_GATE, SEL, CLK, RT, VDD, CTRL, MON, and GND. The terminal HV_GATE is coupled to the switch Q27 via the resistor R15 to control the conduction state (eg, the on/off state) of the switch Q27 coupled to the LED chain 312. The capacitor C11 is coupled between the terminal HV_GATE and the ground to adjust the gate voltage of the switch Q27.

使用者可以選擇藉由把端點SEL經由電阻R4連接到地(如圖4所示)或者把端點SEL直接連接到地,而選擇一調光模式,例如類比調光模式或驟變調光模式。 The user may choose to select a dimming mode, such as analog dimming mode or sudden dimming mode, by connecting the terminal SEL to ground via resistor R4 (as shown in FIG. 4) or by directly connecting the terminal SEL to ground. .

端點CLK經由電阻R3耦接至交流/直流轉換器306,且經由電阻R6耦接到地。端點CLK接收一個表示電力開關304操作的開關監測信號。在一實施例中,開關監測信號在電阻R3和電阻R6之 間的一個共同節點(common node)上產生。電容C12與電阻R6並聯耦接,過濾不期望的雜訊。端點RT經由電阻R7與地耦接,確定由調光控制器308產生的脈衝信號的頻率。 Endpoint CLK is coupled to AC/DC converter 306 via resistor R3 and to ground via resistor R6. Endpoint CLK receives a switch monitoring signal representative of the operation of power switch 304. In one embodiment, the switch monitor signal is between resistor R3 and resistor R6. Generated on a common node. Capacitor C12 is coupled in parallel with resistor R6 to filter unwanted noise. The terminal RT is coupled to ground via a resistor R7 to determine the frequency of the pulse signal generated by the dimming controller 308.

端點VDD經由二極體D9與開關Q27耦接,為調光控制器308供電。在一實施例中,一個能量單元(如電容C10)耦接於端點VDD和地之間,當電力開關304關斷時為調光控制器308供電。在另一實施例中,能量單元整合於調光控制器308內部。端點GND與地耦接。 The terminal VDD is coupled to the switch Q27 via the diode D9 to supply power to the dimming controller 308. In one embodiment, an energy unit (such as capacitor C10) is coupled between terminal VDD and ground to power dimming controller 308 when power switch 304 is turned off. In another embodiment, the energy unit is integrated inside the dimming controller 308. The terminal GND is coupled to the ground.

端點CTRL與控制開關Q16耦接。控制開關Q16與LED鏈312以及開關Q27串聯耦接,並經由電流監測電阻R5耦接到地。調光控制器308使用經由端點CTRL的控制信號控制控制開關Q16的導通狀態(如導通與斷開狀態),以調節來自電力轉換器310的調節後電力。端點MON與電流監測電阻R5耦接,接收表示流經LED鏈312的LED電流的電流監測信號。當開關Q27導通時,調光控制器308藉由控制控制開關Q16來調節流經LED鏈312的LED電流。 The endpoint CTRL is coupled to the control switch Q16. Control switch Q16 is coupled in series with LED chain 312 and switch Q27 and coupled to ground via current monitoring resistor R5. The dimming controller 308 controls the conduction state (eg, the on and off states) of the control switch Q16 using a control signal via the endpoint CTRL to regulate the regulated power from the power converter 310. The terminal MON is coupled to the current monitoring resistor R5 to receive a current monitoring signal indicative of the LED current flowing through the LED chain 312. When switch Q27 is turned on, dimming controller 308 regulates the LED current flowing through LED chain 312 by controlling control switch Q16.

在操作中,當電力開關304導通時,交流/直流轉換器306將直流輸入電壓VIN轉換為直流輸出電壓VOUT。端點HV_GATE上的預設電壓經由電阻R15施加於開關Q27上,以導通開關Q27。 In operation, when power switch 304 is turned on, AC/DC converter 306 converts DC input voltage V IN to DC output voltage V OUT . The preset voltage on the terminal HV_GATE is applied to the switch Q27 via the resistor R15 to turn on the switch Q27.

如果調光控制器308導通控制開關Q16,直流輸出電壓VOUT會對LED鏈312供電並對電感L1充電。LED電流流經電感L1、LED鏈312、開關Q27、控制開關Q16以及電阻R5到地。如果調光控制器308關斷控制開關Q16,則LED電流流經電感L1、LED鏈312和二極體D4。電感L1放電以對LED鏈312供電。因此,調光控制器308可以藉由控制控制開關Q16而調節來自電力轉換器310的調節後電力。 If the dimming controller 308 turns on the control switch Q16, the DC output voltage V OUT will power the LED chain 312 and charge the inductor L1. The LED current flows through the inductor L1, the LED chain 312, the switch Q27, the control switch Q16, and the resistor R5 to ground. If the dimming controller 308 turns off the control switch Q16, the LED current flows through the inductor L1, the LED chain 312, and the diode D4. Inductor L1 is discharged to power LED chain 312. Accordingly, dimming controller 308 can regulate the regulated power from power converter 310 by controlling control switch Q16.

當電力開關304關斷,電容C10放電以對調光控制器308供電。電阻R6兩端的電壓下降到0,因此一個指示電力開關304關斷操作的開關監測信號可經由端點CLK被調光控制器308監測到。類似的,當電力開關304導通,電阻R6兩端的電壓升至一預設電壓 值,因此一個指示電力開關304導通操作的開關監測信號可經由端點CLK被調光控制器308監測到。如果監測到關斷操作,調光控制器308可以藉由把端點HV_GATE上的電壓下拉到0以關斷開關Q27,進而使得LED鏈312在電感L1完成放電後被斷電。回應關斷操作,調光控制器308調節一個指示LED鏈312的期望亮度輸出的參考信號。因此,當電力開關304下次導通時,LED鏈312能夠根據調節後的期望亮度輸出產生亮度輸出。換言之,LED鏈312的亮度輸出能夠由調光控制器308回應電力開關304的關斷操作而被調節。 When power switch 304 is turned off, capacitor C10 is discharged to power dimming controller 308. The voltage across resistor R6 drops to zero, so a switch monitor signal indicating the power switch 304 shutdown operation can be monitored by dimming controller 308 via endpoint CLK. Similarly, when the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage. Value, therefore a switch monitoring signal indicating that the power switch 304 is conducting operation can be monitored by the dimming controller 308 via the endpoint CLK. If a shutdown operation is detected, the dimming controller 308 can turn off the switch Q27 by pulling the voltage on the terminal HV_GATE to zero, thereby causing the LED chain 312 to be powered down after the inductor L1 has completed discharging. In response to the shutdown operation, dimming controller 308 adjusts a reference signal indicative of the desired brightness output of LED chain 312. Thus, when the power switch 304 is turned on next time, the LED chain 312 can produce a brightness output based on the adjusted desired brightness output. In other words, the brightness output of the LED chain 312 can be adjusted by the dimming controller 308 in response to the turn-off operation of the power switch 304.

圖5所示為根據本發明一實施例圖4中的調光控制器308的例示性架構圖。圖5將結合圖4進行描述。圖5中與圖4編號相同的元件具有類似的功能,為簡明起見在此不重複描述。 FIG. 5 shows an illustrative architectural diagram of the dimming controller 308 of FIG. 4 in accordance with an embodiment of the present invention. Figure 5 will be described in conjunction with Figure 4. Elements in Figure 5 that are numbered the same as in Figure 4 have similar functions and will not be repeatedly described herein for the sake of brevity.

調光控制器308包含觸發監測單元506、調光器502和脈衝信號產生器504。觸發監測單元506經由齊納二極體ZD1連接到地。觸發監測單元506經由端點CLK接收指示外部電力開關304的操作的開關監測信號,且當外部電力開關304的操作在端點CLK被監測到時,產生驅動信號以驅動計數器526。觸發監測單元506還進一步控制開關Q27的導通狀態。調光器502產生參考信號REF,以類比調光的模式調節LED鏈312的電力,或產生控制信號538,調節脈波寬度調變信號PWM1的工作週期以調節LED鏈312的電力。脈衝信號產生器504產生脈衝信號,其可導通控制開關Q16。調光控制器308還包括與端點VDD耦接的啟動及欠電壓鎖定(Under Voltage Lockout,UVL)電路508,根據不同的電力狀況選擇性地導通調光控制器308內部的一個或多個元件。 The dimming controller 308 includes a trigger monitoring unit 506, a dimmer 502, and a pulse signal generator 504. The trigger monitoring unit 506 is connected to ground via a Zener diode ZD1. The trigger monitoring unit 506 receives a switch monitoring signal indicating the operation of the external power switch 304 via the endpoint CLK, and generates a drive signal to drive the counter 526 when the operation of the external power switch 304 is detected at the endpoint CLK. The trigger monitoring unit 506 also further controls the conduction state of the switch Q27. The dimmer 502 generates a reference signal REF, adjusts the power of the LED chain 312 in analog to dimming mode, or generates a control signal 538 that adjusts the duty cycle of the pulse width modulation signal PWM1 to regulate the power of the LED chain 312. The pulse signal generator 504 generates a pulse signal that can turn on the control switch Q16. The dimming controller 308 also includes a start and under voltage lockout (UVL) circuit 508 coupled to the terminal VDD to selectively turn on one or more components within the dimming controller 308 according to different power conditions. .

在一實施例中,當端點VDD上的電壓高於第一預設電壓,則啟動及欠電壓鎖定電路508將導通調光控制器308中所有的元件。當電力開關304關斷,如果端點VDD上的電壓低於第二預設電壓,啟動及欠電壓鎖定電路508將關閉調光控制器308中除了觸發監測單元506和調光器502以外的其他元件以節省能量。當端點VDD上的電壓低於第三預設電壓,啟動及欠電壓鎖定電路508將進一步關 閉觸發監測單元506和調光器502。在一實施例中,第一預設電壓高於第二預設電壓,第二預設電壓高於第三預設電壓。因為調光控制器308能夠經過端點VDD由電容C10供電,所以即使電力開關304關斷後,觸發監測單元506和調光器502還可以工作一段時間。 In an embodiment, the startup and undervoltage lockout circuit 508 will turn on all of the components in the dimming controller 308 when the voltage at the terminal VDD is above the first predetermined voltage. When the power switch 304 is turned off, if the voltage at the terminal VDD is lower than the second predetermined voltage, the startup and undervoltage lockout circuit 508 will turn off the dimming controller 308 other than the trigger monitoring unit 506 and the dimmer 502. Components to save energy. When the voltage at the terminal VDD is lower than the third predetermined voltage, the startup and undervoltage lockout circuit 508 will be further turned off. The monitoring unit 506 and the dimmer 502 are closed. In an embodiment, the first preset voltage is higher than the second preset voltage, and the second preset voltage is higher than the third preset voltage. Because the dimming controller 308 can be powered by the capacitor C10 via the terminal VDD, the trigger monitoring unit 506 and the dimmer 502 can operate for a period of time even after the power switch 304 is turned off.

在調光控制器308中,端點SEL與電流源532耦接。使用者可以藉由配置端點SEL(例如把端點SEL直接與地耦接,或是將端點SEL經由一個電阻與地耦接)來選擇調光模式。在一實施例中,調光模式透過測量端點SEL上的電壓來決定。如果端點SEL直接與地耦接,則端點SEL上的電壓近似於0。一控制電路(圖中未示出)可以導通開關540,關斷開關541和542。因此,調光控制器308可以工作於類比調光模式,並且藉由調節參考信號REF來調節LED鏈312的電力。在一實施例中,如果端點SEL經由具有一個預設阻值的電阻R4耦接到地(如圖4中所示),則端點SEL上的電壓大於0。該控制電路依序關斷開關540、導通開關541和導通開關542。因此,調光控制器308工作於驟變調光模式,並藉由調節脈波寬度調變信號PWM1的工作週期來調節LED鏈312的電力。換言之,經由控制開關540、541、542的導通狀態,可以選擇不同的調光模式。而開關540、541、542的導通狀態由端點SEL上的電壓決定。 In dimming controller 308, terminal SEL is coupled to current source 532. The user can select the dimming mode by configuring the endpoint SEL (eg, coupling the endpoint SEL directly to ground or coupling the endpoint SEL to ground via a resistor). In an embodiment, the dimming mode is determined by measuring the voltage on the terminal SEL. If the terminal SEL is directly coupled to ground, the voltage on the terminal SEL is approximately zero. A control circuit (not shown) can turn on the switch 540 and turn off the switches 541 and 542. Thus, dimming controller 308 can operate in analog dimming mode and adjust the power of LED chain 312 by adjusting reference signal REF. In one embodiment, if the terminal SEL is coupled to ground via a resistor R4 having a predetermined resistance (as shown in FIG. 4), the voltage at the terminal SEL is greater than zero. The control circuit sequentially turns off the switch 540, the conduction switch 541, and the conduction switch 542. Therefore, the dimming controller 308 operates in the sudden dimming mode and adjusts the power of the LED chain 312 by adjusting the duty cycle of the pulse width modulation signal PWM1. In other words, different dimming modes can be selected via the conduction states of the control switches 540, 541, 542. The conduction state of the switches 540, 541, 542 is determined by the voltage at the terminal SEL.

脈衝信號產生器504經由端點RT以及電阻R7耦接到地,產生導通開關Q16的脈衝信號536。脈衝信號產生器504可以有不同的配置,並不限於圖5中所示的配置。 Pulse signal generator 504 is coupled to ground via terminal RT and resistor R7 to produce a pulse signal 536 that turns on switch Q16. The pulse signal generator 504 can have a different configuration and is not limited to the configuration shown in FIG.

在脈衝信號產生器504中,運算放大器510的非反相輸入端接收預設電壓V1。因此運算放大器510的反相輸入端電壓也為V1。電流IRT透過端點RT和電阻R7流到地。流經金屬氧化物半導體場效應電晶體(MOSFET)514和MOSFET 515的電流I1與電流IRT相等。由於MOSFET 514和MOSFET 512構成電流鏡,因此流經MOSFET 512的電流I2也與電流IRT相等。比較器516的輸出和比較器518的輸出分別與SR正反器520的S輸入端和R輸入端耦接。比較器516的反相輸入端接收預設電壓V2。比較器518的非反相輸入端接收預設電 壓V3。在一實施例中,V2大於V3且V3大於0。電容C4耦接於MOSFET 512和地之間,且有一端與比較器516非反相輸入端和比較器518反相輸入端輸入之間的共同節點耦接。SR正反器520的Q輸出端與開關Q15及SR正反器522的S輸入端耦接。開關Q15與電容C4並聯。開關Q15的導通狀態(例如:導通/關斷)由SR正反器520的Q輸出端決定。 In the pulse signal generator 504, the non-inverting input of the operational amplifier 510 receives the preset voltage V1. Therefore, the inverting input voltage of the operational amplifier 510 is also V1. Current I RT flows to ground through terminal RT and resistor R7. The current I 1 flowing through the metal oxide semiconductor field effect transistor (MOSFET) 514 and the MOSFET 515 is equal to the current I RT . Since MOSFET 514 and MOSFET 512 form a current mirror, current I 2 flowing through MOSFET 512 is also equal to current I RT . The output of comparator 516 and the output of comparator 518 are coupled to the S input and R input of SR flip flop 520, respectively. The inverting input of comparator 516 receives a preset voltage V2. The non-inverting input of comparator 518 receives a preset voltage V3. In an embodiment, V2 is greater than V3 and V3 is greater than zero. Capacitor C4 is coupled between MOSFET 512 and ground and has a common node coupled between one end and a non-inverting input of comparator 516 and an inverting input of comparator 518. The Q output of the SR flip-flop 520 is coupled to the S input of the switch Q15 and the SR flip-flop 522. Switch Q15 is connected in parallel with capacitor C4. The on state of switch Q15 (eg, on/off) is determined by the Q output of SR flip-flop 520.

電容C4兩端的初始電壓近似為0,小於V3。因此SR正反器520的R輸入端接收比較器518輸出的數位信號1。SR正反器520的Q輸出端被設置為數位信號0,其關斷開關Q15。當開關Q15關斷,隨著電容C4由電流I2充電,電容C4兩端的電壓升高。當電容C4兩端電壓大於V2,SR正反器520的S輸入端接收比較器516輸出的數位信號1。SR正反器520的Q輸出端被設置為數位信號1,其導通開關Q15。當開關Q15導通,隨著電容C4經由開關Q15放電,電容C4兩端的電壓降低。當電容C4兩端的電壓下降到低於V3,比較器518輸出數位信號1,且SR正反器520的Q輸出端被設置為數位信號0,其關斷開關Q15。接著電容C4又由電流I2充電。如此,經由上述過程,脈衝信號產生器504產生脈衝信號536,其包括在SR正反器520的Q輸出端上一系列的脈衝。脈衝信號536被傳送至SR正反器522的S輸入端。 The initial voltage across capacitor C4 is approximately zero, less than V3. Therefore, the R input of the SR flip-flop 520 receives the digital signal 1 output from the comparator 518. The Q output of SR flip-flop 520 is set to digital signal 0, which turns off switch Q15. When the switch Q15 is turned off, with the capacitor C4 is charged by the current I 2, the voltage across the capacitor C4 rises. When the voltage across the capacitor C4 is greater than V2, the S input of the SR flip-flop 520 receives the digital signal 1 output by the comparator 516. The Q output of the SR flip-flop 520 is set to a digital signal 1, which turns on the switch Q15. When the switch Q15 is turned on, as the capacitor C4 is discharged via the switch Q15, the voltage across the capacitor C4 is lowered. When the voltage across capacitor C4 drops below V3, comparator 518 outputs digital signal 1, and the Q output of SR flip-flop 520 is set to digital signal 0, which turns off switch Q15. And then the capacitor C4 is charged by the current I 2. As such, via the above process, pulse signal generator 504 generates pulse signal 536 that includes a series of pulses at the Q output of SR flip-flop 520. Pulse signal 536 is passed to the S input of SR flip-flop 522.

觸發監測單元506透過端點CLK監測電力開關304的操作,且當電力開關304的操作在端點CLK被監測到,產生一個驅動信號以驅動計數器526。在一實施例中,當電力開關304被導通,端點CLK上的電壓上升至等於電阻R6(圖4所示)兩端電壓的位準。當電力開關304被關斷,端點CLK上的電壓下降到0。因此,指示電力開關304操作的開關監測信號可以在端點CLK被監測到。在一實施例中,當一個關斷操作在端點CLK被監測到時,觸發監測單元506產生驅動信號。 The trigger monitoring unit 506 monitors the operation of the power switch 304 through the endpoint CLK, and when the operation of the power switch 304 is monitored at the endpoint CLK, a drive signal is generated to drive the counter 526. In one embodiment, when power switch 304 is turned "on", the voltage at terminal CLK rises to a level equal to the voltage across resistor R6 (shown in Figure 4). When power switch 304 is turned off, the voltage on terminal CLK drops to zero. Thus, a switch monitoring signal indicating the operation of power switch 304 can be monitored at endpoint CLK. In an embodiment, the trigger monitoring unit 506 generates a drive signal when a shutdown operation is detected at the endpoint CLK.

觸發監測單元506還透過端點HV_GATE控制開關Q27的導通狀態。當電力開關304被導通,齊納二極體ZD1兩端的崩潰電 壓經由電阻R15施加至開關Q27。因此,導通開關Q27。觸發監測單元506可以藉由將端點HV_GATE的電壓下拉到0而關斷開關Q27。在一實施例中,當端點CLK上監測到電力開關304的關斷操作,觸發監測單元506就關斷開關Q27,且當端點CLK上監測到電力開關304的導通操作,觸發監測單元506就導通開關Q27。 The trigger monitoring unit 506 also controls the conduction state of the switch Q27 through the terminal HV_GATE. When the power switch 304 is turned on, the collapse of the Zener diode ZD1 The voltage is applied to the switch Q27 via the resistor R15. Therefore, the switch Q27 is turned on. The trigger monitoring unit 506 can turn off the switch Q27 by pulling down the voltage of the terminal HV_GATE to zero. In an embodiment, when the shutdown operation of the power switch 304 is detected on the endpoint CLK, the trigger monitoring unit 506 turns off the switch Q27, and when the conduction operation of the power switch 304 is monitored on the endpoint CLK, the trigger monitoring unit 506 is triggered. Turn on the switch Q27.

在一實施例中,調光器502包含與觸發監測單元506耦接、對電力開關304的操作進行計數的計數器526,及與計數器526耦接的數位類比(D/A)轉換器528。調光器502還包括與數位類比轉換器528耦接的脈波寬度調變(PWM)信號產生器530。計數器526由觸發監測單元506產生的驅動信號所驅動。具體來講,在一實施例中,當電力開關304關斷,觸發監測單元506在端點CLK上監測到一個負緣(negative edge),並產生一個驅動信號。計數器526的計數值回應該驅動信號被增加(比如加1)。數位類比轉換器528從計數器526中讀取計數值,並根據計數值產生調光信號(例如控制信號538或參考信號REF)。調光信號可以用來調節電力轉換器310的目標電力值,因而調節LED鏈312的亮度輸出。 In one embodiment, dimmer 502 includes a counter 526 coupled to trigger monitoring unit 506, counting the operation of power switch 304, and a digital analog (D/A) converter 528 coupled to counter 526. The dimmer 502 also includes a pulse width modulation (PWM) signal generator 530 coupled to the digital analog converter 528. Counter 526 is driven by a drive signal generated by trigger monitoring unit 506. Specifically, in one embodiment, when power switch 304 is turned off, trigger monitoring unit 506 monitors a negative edge on endpoint CLK and generates a drive signal. The count value of the counter 526 is echoed by the drive signal being incremented (e.g., incremented by one). The digital analog converter 528 reads the count value from the counter 526 and generates a dimming signal (e.g., control signal 538 or reference signal REF) based on the count value. The dimming signal can be used to adjust the target power value of power converter 310, thereby adjusting the brightness output of LED chain 312.

在驟變調光模式下,開關540關斷,開關541和542導通。比較器534的反相輸入端接收參考信號REF1,其為具有預設實質恆定電壓的直流信號。REF1的電壓決定了LED電流峰值,因此也決定了LED鏈312的最大亮度輸出。調光信號可以是施加於脈波寬度調變信號產生器530上的控制信號538,以調節脈波寬度調變信號PWM1的工作週期。透過調節PWM1的工作週期,LED鏈312的亮度可調節為不大於由REF1所決定的最大亮度。比如,如果PWM1的工作週期為100%,則LED鏈312具有最大亮度輸出。如果PWM1的工作週期小於100%,則LED鏈312的亮度輸出低於最大亮度輸出。 In the sudden dimming mode, switch 540 is turned off and switches 541 and 542 are turned on. The inverting input of comparator 534 receives a reference signal REF1, which is a DC signal having a predetermined substantially constant voltage. The voltage of REF1 determines the LED current peak and therefore also the maximum brightness output of LED chain 312. The dimming signal may be a control signal 538 applied to the pulse width modulation signal generator 530 to adjust the duty cycle of the pulse width modulation signal PWM1. By adjusting the duty cycle of PWM1, the brightness of LED chain 312 can be adjusted to be no greater than the maximum brightness determined by REF1. For example, if the duty cycle of PWM1 is 100%, then LED chain 312 has a maximum brightness output. If the duty cycle of PWM1 is less than 100%, the luminance output of LED chain 312 is lower than the maximum luminance output.

在類比調光模式下,開關540導通,開關541和542關斷。調光信號可為具有可調節的電壓的類比參考信號REF。數位類比轉換器528根據計數器526的計數值調節REF的電壓。REF的電壓決定了LED電流峰值,因此也決定了LED電流的平均值。因此,透過 調節REF,LED鏈312的亮度輸出可以得到調節。 In the analog dimming mode, switch 540 is turned on and switches 541 and 542 are turned off. The dimming signal can be an analog reference signal REF having an adjustable voltage. The digital analog converter 528 adjusts the voltage of REF based on the count value of the counter 526. The voltage of REF determines the peak value of the LED current and therefore the average value of the LED current. Therefore, through By adjusting REF, the brightness output of LED chain 312 can be adjusted.

在一實施例中,數位類比轉換器528降低REF的電壓以回應計數值的增加。比如,如果計數值為0,則數位類比轉換器528調節REF的電壓為V4。如果當觸發監測單元506在端點CLK監測到電力開關304的關斷操作,計數值增加到1,則數位類比轉換器528調節REF的電壓為V5,且V5小於V4。在另一實施例中,數位類比轉換器528增加REF的電壓以回應計數值的增加。 In an embodiment, the digital analog converter 528 lowers the voltage of REF in response to an increase in the count value. For example, if the count value is 0, the digital analog converter 528 adjusts the voltage of REF to V4. If the count value increases to 1 when the trigger monitoring unit 506 detects the turn-off operation of the power switch 304 at the terminal CLK, the digital analog converter 528 adjusts the voltage of REF to V5, and V5 is less than V4. In another embodiment, the digital analog converter 528 increases the voltage of REF in response to an increase in the count value.

在一實施例中,當計數器526達到其最大計數值後,計數值被重置為0。例如,如果計數器526是一個2位元計數器,計數值將從0開始依次增加到1、2、3,然後在第四個關斷操作被監測到後回到0。據此,LED鏈312的亮度輸出從第一位準被依次調節到第二位準、第三位準、第四位準,然後又回到第一位準。 In an embodiment, the counter value is reset to zero when the counter 526 reaches its maximum count value. For example, if the counter 526 is a 2-bit counter, the count value will be incremented from 0 to 1, 2, 3, and then returned to 0 after the fourth shutdown operation is monitored. Accordingly, the luminance output of the LED chain 312 is sequentially adjusted from the first level to the second level, the third level, and the fourth level, and then returns to the first level.

比較器534的反相輸入端可以選擇性地接收參考信號REF和參考信號REF1。例如,在類比調光模式下,比較器534的反相輸入端經由開關540接收參考信號REF,而在驟變調光模式下,比較器534的反相輸入端經由開關541接收參考信號REF1。比較器534的非反相輸入端經由端點MON與電阻R5耦接,以接收來自電流監測電阻R5的電流監測信號SEN。電流監測信號SEN的電壓可表示當開關Q27和Q16導通時流經LED鏈312的LED電流。 The inverting input of comparator 534 can selectively receive reference signal REF and reference signal REF1. For example, in analog dimming mode, the inverting input of comparator 534 receives reference signal REF via switch 540, while in the dimming dimming mode, the inverting input of comparator 534 receives reference signal REF1 via switch 541. The non-inverting input of comparator 534 is coupled to resistor R5 via terminal MON to receive current monitoring signal SEN from current monitoring resistor R5. The voltage of the current monitoring signal SEN may represent the LED current flowing through the LED chain 312 when the switches Q27 and Q16 are turned on.

比較器534的輸出端與SR正反器522的R輸入端耦接。SR正反器522的Q輸出端和AND閘524耦接。脈波寬度調變信號產生器530產生的脈波寬度調變信號PWM1施加至AND閘524。AND閘524輸出控制信號,經由端點CTRL控制控制開關Q16。 The output of comparator 534 is coupled to the R input of SR flip-flop 522. The Q output of SR flip-flop 522 is coupled to AND gate 524. The pulse width modulation signal PWM1 generated by the pulse width modulation signal generator 530 is applied to the AND gate 524. The AND gate 524 outputs a control signal that is controlled via the endpoint CTRL to control the switch Q16.

如果選擇了類比調光模式,開關540導通,開關541和542關斷。開關Q16由SR正反器522控制。在操作中,當電力開關304導通,齊納二極體ZD1兩端的崩潰電壓使得開關Q27導通。回應脈衝信號產生器504產生的脈衝信號536,SR正反器522在Q輸出端產生數位信號1以導通控制開關Q16。LED電流流經電感L1、LED鏈312、開關Q27、控制開關Q16、電流監測電阻R5到地。因為電感L1 阻止LED電流的突變(sudden change),LED電流會逐漸增大。因此,電流監測電阻R5兩端的電壓(即電流監測信號SEN的電壓)會隨之增大。當SEN的電壓大於參考信號REF的電壓,比較器534產生數位信號1到SR正反器522的R輸入端,以使SR正反器522產生數位信號0而關斷控制開關Q16。控制開關Q16關斷後,電感L1放電以對LED鏈312供電。流經電感L1、LED鏈312和二極體D4的LED電流逐漸減小。當SR正反器522在S輸入端再度接收到一個脈衝時,控制開關Q16導通,LED電流再度經由電流監測電阻R5流到地。當電流監測信號SEN的電壓大於參考信號REF的電壓,控制開關Q16被SR正反器522關斷。如上述該,參考信號REF決定了流經LED電流的峰值,也決定了LED鏈312的亮度輸出。藉由調節REF,LED鏈312的亮度輸出得以調節。 If the analog dimming mode is selected, switch 540 is turned "on" and switches 541 and 542 are turned "off". Switch Q16 is controlled by SR flip-flop 522. In operation, when the power switch 304 is turned on, the breakdown voltage across the Zener diode ZD1 causes the switch Q27 to conduct. In response to the pulse signal 536 generated by the pulse signal generator 504, the SR flip-flop 522 generates a digital signal 1 at the Q output to turn on the control switch Q16. The LED current flows through the inductor L1, the LED chain 312, the switch Q27, the control switch Q16, and the current monitoring resistor R5 to ground. Because the inductor L1 Blocking the sudden change of LED current, the LED current will gradually increase. Therefore, the voltage across the current monitoring resistor R5 (ie, the voltage of the current monitoring signal SEN) increases. When the voltage of SEN is greater than the voltage of reference signal REF, comparator 534 generates digital signal 1 to the R input of SR flip-flop 522 to cause SR flip-flop 522 to generate digital signal 0 and turn off control switch Q16. After the control switch Q16 is turned off, the inductor L1 is discharged to supply power to the LED chain 312. The LED current flowing through the inductor L1, the LED chain 312, and the diode D4 is gradually reduced. When the SR flip-flop 522 receives a pulse again at the S input, the control switch Q16 is turned on, and the LED current flows again to the ground via the current monitoring resistor R5. When the voltage of the current monitoring signal SEN is greater than the voltage of the reference signal REF, the control switch Q16 is turned off by the SR flip-flop 522. As described above, the reference signal REF determines the peak value of the current flowing through the LED and also determines the luminance output of the LED chain 312. By adjusting REF, the brightness output of LED chain 312 is adjusted.

在類比調光模式下,如果電力開關304被關斷,電容C10(圖4所示)放電以對調光控制器308供電。當觸發監測單元506在端點CLK監測到電力開關304的關斷操作時,計數器526的計數值加1。回應電力開關304的關斷操作,觸發監測單元506關斷開關Q27。回應計數值的改變,數位類比轉換器528把參考信號REF的電壓從第一位準調節到第二位準。因此,當電力開關304導通時,LED鏈312的亮度輸出可根據參考信號REF的調節而調節。 In the analog dimming mode, if power switch 304 is turned off, capacitor C10 (shown in Figure 4) is discharged to power dimming controller 308. When the trigger monitoring unit 506 detects the turn-off operation of the power switch 304 at the terminal CLK, the count value of the counter 526 is incremented by one. In response to the shutdown operation of the power switch 304, the trigger monitoring unit 506 turns off the switch Q27. In response to a change in the count value, the digital analog converter 528 adjusts the voltage of the reference signal REF from the first level to the second level. Therefore, when the power switch 304 is turned on, the luminance output of the LED chain 312 can be adjusted according to the adjustment of the reference signal REF.

如果選擇驟變調光模式,開關540關斷,開關541和524導通。比較器534的反相輸入端接收具有預設電壓的參考信號REF1。控制開關Q16由SR正反器522和脈波寬度調變信號PWM1二者經由AND閘524控制。參考信號REF1決定了LED電流的峰值電流,也決定了LED鏈312的最大亮度輸出。脈波寬度調變信號PWM1的工作週期決定了控制開關Q16的導通/關斷時間。脈波寬度調變信號PWM1為邏輯1時,控制開關Q16的導通狀態由SR正反器522的Q輸出端決定。當脈波寬度調變信號PWM1為邏輯0時,控制開關Q16關斷。藉由調節脈波寬度調變信號PWM1的工作週期,可以據此調節LED鏈312的電力。所以,參考信號REF1和脈波寬度調變信號 PWM1之結合決定LED鏈312的亮度輸出。 If the sudden dimming mode is selected, switch 540 is turned off and switches 541 and 524 are turned on. The inverting input of comparator 534 receives a reference signal REF1 having a predetermined voltage. The control switch Q16 is controlled by both the SR flip-flop 522 and the pulse width modulation signal PWM1 via the AND gate 524. The reference signal REF1 determines the peak current of the LED current and also determines the maximum luminance output of the LED chain 312. The duty cycle of the pulse width modulation signal PWM1 determines the on/off time of the control switch Q16. When the pulse width modulation signal PWM1 is logic 1, the conduction state of the control switch Q16 is determined by the Q output terminal of the SR flip-flop 522. When the pulse width modulation signal PWM1 is logic 0, the control switch Q16 is turned off. By adjusting the duty cycle of the pulse width modulation signal PWM1, the power of the LED chain 312 can be adjusted accordingly. Therefore, the reference signal REF1 and the pulse width modulation signal The combination of PWM1 determines the luminance output of LED chain 312.

在驟變調光模式下,當電力開關304關斷,該關斷操作在端點CLK被觸發監測單元506監測到。觸發監測單元506關斷Q27並產生驅動信號。回應驅動信號,計數器526的計數值增加(比如加1)。數位類比轉換器528產生控制信號538,使得脈波寬度調變信號PWM1的工作週期從第一位準調節為第二位準。因此,當電力開關304下次導通時,LED鏈312的亮度輸出將根據由參考信號REF1和脈波寬度調變信號PWM1所決定的目標亮度輸出進行調節。 In the sudden dimming mode, when the power switch 304 is turned off, the shutdown operation is monitored at the endpoint CLK by the trigger monitoring unit 506. The trigger monitoring unit 506 turns off Q27 and generates a drive signal. In response to the drive signal, the count value of counter 526 is incremented (eg, incremented by one). The digital analog converter 528 generates a control signal 538 that causes the duty cycle of the pulse width modulation signal PWM1 to be adjusted from a first level to a second level. Therefore, when the power switch 304 is turned on next time, the luminance output of the LED chain 312 will be adjusted according to the target luminance output determined by the reference signal REF1 and the pulse width modulation signal PWM1.

圖6所示為類比調光模式下的例示性信號波形圖,其中包括流經LED鏈312的LED電流602、脈衝信號536、表示SR正反器522輸出的V522、表示AND閘524輸出的V524以及開關Q16的導通/關斷狀態。圖6將結合圖4和圖5進行描述。 6 is an exemplary signal waveform diagram in analog dimming mode, including LED current 602 flowing through LED chain 312, pulse signal 536, V 522 indicating SR flip-flop 522 output, indicating AND gate 524 output. V 524 and the on/off state of switch Q16. Figure 6 will be described in conjunction with Figures 4 and 5.

在操作中,脈衝信號產生器504產生脈衝信號536。回應脈衝信號536的每一個,SR正反器522在Q輸出端產生數位信號1。而在SR正反器522的Q輸出端上的數位信號1會使得控制開關Q16導通。當控制開關Q16導通,電感L1電流斜波上升(ramp up),LED電流602增大。當LED電流602達到峰值IMAX,亦即電流監測信號SEN的電壓與參考信號REF的電壓實質相等時,比較器534產生數位信號1至SR正反器522的R輸入端,使得SR正反器522在Q輸出端產生數位信號0。當SR正反器522的Q輸出端上為數位信號0,控制開關Q16關斷。當控制開關Q16關斷,電感L1放電為LED鏈312供電,且LED電流602減小。在類比調光模式下,藉由調節參考信號REF,LED平均電流可據此調節,因此LED鏈312的亮度輸出得以調節。 In operation, pulse signal generator 504 generates pulse signal 536. In response to each of the pulse signals 536, the SR flip-flop 522 produces a digital signal 1 at the Q output. The digital signal 1 at the Q output of the SR flip-flop 522 causes the control switch Q16 to conduct. When the control switch Q16 is turned on, the inductor L1 current ramps up and the LED current 602 increases. When the LED current 602 reaches the peak value I MAX , that is, the voltage of the current monitoring signal SEN is substantially equal to the voltage of the reference signal REF, the comparator 534 generates the digital signal 1 to the R input terminal of the SR flip-flop 522, so that the SR flip-flop 522 produces a digital signal 0 at the Q output. When the Q output of the SR flip-flop 522 is a digital signal 0, the control switch Q16 is turned off. When control switch Q16 is turned off, inductor L1 discharges power to LED chain 312 and LED current 602 decreases. In the analog dimming mode, by adjusting the reference signal REF, the LED average current can be adjusted accordingly, so that the luminance output of the LED chain 312 is adjusted.

圖7所示為驟變調光模式下的例示性信號波形圖,其中包括流經LED鏈312的電流602、脈衝信號536、表示SR正反器522輸出的V522、表示AND閘524輸出的V524、控制開關Q16的導通/關斷狀態以及脈波寬度調變信號PWM1。圖7將結合圖4和圖5進行描述。 Figure 7 shows an exemplary signal waveform diagram in a sudden dimming mode, including current 602 flowing through LED chain 312, pulse signal 536, V 522 representing the output of SR flip-flop 522, and V representing the output of AND gate 524. 524 , the on/off state of the control switch Q16 and the pulse width modulation signal PWM1. Figure 7 will be described in conjunction with Figures 4 and 5.

當PWM1為數位信號1時,LED電流602、脈衝信號536、V522、V524和控制開關Q16的導通/關斷狀態之間的相互關係與圖 6相似。當PWM1為數位信號0時,AND閘524的輸出變為數位信號0。因此,開關Q16關斷而LED電流602減小。如果PWM1保持數位信號0的狀態足夠久,LED電流602會減小到0。在此驟變調光模式下,藉由調節PWM1的工作週期,LED平均電流可據此調節,因此LED鏈312的亮度輸出也得以調節。 When PWM1 is the digital signal 1, the correlation between the LED current 602, the pulse signals 536, V 522 , V 524 and the on/off state of the control switch Q16 is similar to that of FIG. When PWM1 is a digital signal 0, the output of the AND gate 524 becomes a digital signal 0. Therefore, switch Q16 is turned off and LED current 602 is decreased. If PWM1 maintains the state of digital signal 0 long enough, LED current 602 will decrease to zero. In this sudden dimming mode, by adjusting the duty cycle of PWM1, the average LED current can be adjusted accordingly, so the luminance output of LED chain 312 is also adjusted.

圖8所示為根據本發明一實施例闡釋光源驅動電路之操作示意圖。圖8將結合圖5進行描述。 FIG. 8 is a block diagram showing the operation of a light source driving circuit according to an embodiment of the invention. Figure 8 will be described in conjunction with Figure 5.

在圖8所示的實例裡,每當觸發監測單元506監測到電力開關304的關斷操作,計數器526的計數值就會加1。計數器526是一個2位元計數器,最大計數值為3。 In the example shown in FIG. 8, whenever the trigger monitoring unit 506 monitors the shutdown operation of the power switch 304, the count value of the counter 526 is incremented by one. Counter 526 is a 2-bit counter with a maximum count of three.

在類比調光模式下,數位類比轉換器528從計數器526中讀取計數值,並回應計數值的增加而降低參考信號REF的電壓。參考信號REF的電壓決定了LED電流的峰值IMAX,也決定了LED平均電流值。在驟變調光模式下,數位類比轉換器528從計數器526中讀取計數值,並回應計數值的增加而降低脈波寬度調變信號PWM1的工作週期(比如每次調低25%)。計數器526在達到最大計數值(如3)後被重置。 In the analog dimming mode, the digital analog converter 528 reads the count value from the counter 526 and decreases the voltage of the reference signal REF in response to the increase in the count value. The voltage of the reference signal REF determines the peak value I MAX of the LED current, which also determines the average current value of the LED. In the sudden dimming mode, the digital analog converter 528 reads the count value from the counter 526 and reduces the duty cycle of the pulse width modulation signal PWM1 (eg, 25% lower each time) in response to the increase in the count value. Counter 526 is reset after reaching the maximum count value (eg, 3).

圖9所示為根據本發明一實施例的對光源調節電力的方法流程圖。圖9將結合圖4和圖5進行描述。 9 is a flow chart of a method of adjusting power to a light source, in accordance with an embodiment of the present invention. Figure 9 will be described in conjunction with Figures 4 and 5.

在步驟902中,電力轉換器(如電力轉換器310)提供的調節後的電力對光源(如LED鏈312)進行供電。在步驟904中,接收開關監測信號(比如由調光控制器308接收)。該開關監測信號指示耦接於電源和電力轉換器之間的電力開關(如電力開關304)的操作。在步驟906中,根據開關監測信號產生調光信號。在步驟908中,根據該調光信號控制與光源串聯耦接的開關(如控制開關Q16),以調節來自電力轉換器的調節後電力。在一實施例中,在類比調光模式中,藉由比較調光信號和表示光源的光源電流大小的回授電流監測信號來調節來自電力轉換器的調節後電力。在另一實施例中,在驟變調光模式中,藉由以該調光信號控制一個脈波寬度調變信號的工作週 期來調節來自電力轉換器的調節後電力。 In step 902, the regulated power provided by the power converter (eg, power converter 310) powers the light source (eg, LED chain 312). In step 904, a switch monitoring signal is received (such as received by dimming controller 308). The switch monitoring signal indicates operation of a power switch (such as power switch 304) coupled between the power source and the power converter. In step 906, a dimming signal is generated based on the switch monitoring signal. In step 908, a switch (eg, control switch Q16) coupled in series with the light source is controlled in accordance with the dimming signal to adjust the regulated power from the power converter. In an embodiment, in the analog dimming mode, the regulated power from the power converter is adjusted by comparing the dimming signal with a feedback current monitoring signal indicative of the magnitude of the source current of the source. In another embodiment, in the sudden dimming mode, the working week of controlling a pulse width modulation signal by using the dimming signal The regulated power from the power converter is adjusted.

據此,根據本發明的實施例提供了一種光源驅動電路,其可根據指示電力開關(如固定在牆上的電力開關)操作的開關監測信號來調節光源的電力。該光源的電力由電力轉換器提供,並由調光控制器經由控制與光源串聯耦接的開關來進行調節。有利之處在於,如先前所述,使用者可以透過對普通電力開關的操作(如關斷操作)來調節光源的亮度輸出。因此,無須使用額外的裝置(如外接調光器或專門設計的具有調光按鈕的開關),因此降低成本。 Accordingly, embodiments in accordance with the present invention provide a light source driving circuit that can adjust the power of a light source in accordance with a switch monitoring signal that operates a power switch, such as a power switch that is fixed to a wall. The power of the light source is provided by a power converter and is regulated by a dimming controller via a switch that is coupled in series with the light source. Advantageously, as previously described, the user can adjust the brightness output of the light source by operation of a conventional power switch, such as a shutdown operation. Therefore, there is no need to use an additional device (such as an external dimmer or a specially designed switch with a dimming button), thus reducing costs.

圖10所示為根據本發明一實施例的光源驅動電路1000的電路圖。圖10將結合圖3進行描述。圖10中與圖3及圖4編號相同的元件具有類似的功能。 FIG. 10 is a circuit diagram of a light source driving circuit 1000 in accordance with an embodiment of the present invention. Figure 10 will be described in conjunction with Figure 3. Elements in Figure 10 that are numbered the same as Figures 3 and 4 have similar functions.

光源驅動電路1000包括與電源和LED鏈312耦接的電力轉換器310,接收來自電源的電力並為LED鏈312提供調節後的電力。調光控制器1008藉由監測端點CLK上的電壓來監測耦接於電源和光源驅動電路1000之間的電力開關304的操作。調光控制器1008接收指示電力開關304的第一複數個操作之調光請求信號和指示電力開關304的第二複數個操作之調光終止信號。調光控制器1008經由端點CLK接收調光請求信號和調光終止信號。如果接收到調光請求信號,調光控制器1008還可連續調節來自電力轉換器310的調節後電力,且如果接收到調光終止信號,停止調節來自電力轉換器310的調節後電力。換言之,一旦監測到電力開關304的第一複數個操作,調光控制器1008連續調節來自電力轉換器310的調節後電力,直到監測到電力開關304的第二複數個操作。在一實施例中,調光控制器1008藉由控制與LED鏈312串聯耦接的控制開關Q16來調節來自電力轉換器310的調節後電力。 Light source drive circuit 1000 includes a power converter 310 coupled to a power source and LED chain 312 that receives power from a power source and provides regulated power to LED chain 312. The dimming controller 1008 monitors the operation of the power switch 304 coupled between the power source and the light source drive circuit 1000 by monitoring the voltage on the terminal CLK. The dimming controller 1008 receives a dimming request signal indicating a first plurality of operations of the power switch 304 and a dimming termination signal indicating a second plurality of operations of the power switch 304. The dimming controller 1008 receives the dimming request signal and the dimming termination signal via the endpoint CLK. The dimming controller 1008 can also continuously adjust the regulated power from the power converter 310 if a dimming request signal is received, and stop adjusting the regulated power from the power converter 310 if a dimming termination signal is received. In other words, once the first plurality of operations of the power switch 304 are monitored, the dimming controller 1008 continuously adjusts the regulated power from the power converter 310 until the second plurality of operations of the power switch 304 are monitored. In an embodiment, dimming controller 1008 regulates the regulated power from power converter 310 by controlling control switch Q16 coupled in series with LED chain 312.

圖11所示為根據本發明一實施例圖10中的調光控制器1008的例示性架構圖。圖11將結合圖10進行描述。圖11中與圖4、圖5及圖10編號相同的元件具有類似的功能。 FIG. 11 is a diagram showing an exemplary architecture of the dimming controller 1008 of FIG. 10 in accordance with an embodiment of the present invention. Figure 11 will be described in conjunction with Figure 10. Elements in Figure 11 that are numbered the same as Figures 4, 5, and 10 have similar functions.

在圖11的實例中,調光控制器1008的架構與圖5中調 光控制器308的架構類似。不同之處在於調光器1102和觸發監測單元1106。在圖11中,觸發監測單元1106經由端點CLK接收調光請求信號和調光終止信號,並產生信號EN來致能或除能時鐘產生器1104。觸發監測單元1106還控制與LED鏈312耦接的開關Q27的導通狀態。 In the example of FIG. 11, the architecture of the dimming controller 1008 is the same as that of FIG. The architecture of the light controller 308 is similar. The difference is in the dimmer 1102 and the trigger monitoring unit 1106. In FIG. 11, the trigger monitoring unit 1106 receives the dimming request signal and the dimming termination signal via the endpoint CLK and generates a signal EN to enable or disable the clock generator 1104. The trigger monitoring unit 1106 also controls the conduction state of the switch Q27 coupled to the LED chain 312.

在類比調光模式下,調光器1102產生參考信號REF來調節LED鏈312的電力,或在驟變調光模式下,調光器1102產生控制信號538來調節脈波寬度調變信號PWM1的工作週期,以調節LED鏈312的電力。在圖11的實例中,調光器1102包括與觸發監測單元1106耦接的產生時鐘信號的時鐘產生器1104、由時鐘信號驅動的計數器1126,以及與計數器1126耦接的數位類比(D/A)轉換器528。調光器1102還進一步包括與數位類比(D/A)轉換器528耦接的脈波寬度調變(PWM)信號產生器530。 In the analog dimming mode, the dimmer 1102 generates a reference signal REF to adjust the power of the LED chain 312, or in the sudden dimming mode, the dimmer 1102 generates a control signal 538 to adjust the operation of the pulse width modulation signal PWM1. Cycles to regulate the power of the LED chain 312. In the example of FIG. 11, the dimmer 1102 includes a clock generator 1104 that generates a clock signal coupled to the trigger monitoring unit 1106, a counter 1126 that is driven by the clock signal, and a digital analogy (D/A) coupled to the counter 1126. Converter 528. The dimmer 1102 still further includes a pulse width modulation (PWM) signal generator 530 coupled to a digital analog (D/A) converter 528.

在操作中,當電力開關304導通或關斷,觸發監測單元1106能夠在端點CLK分別監測到電壓正緣或負緣。比如,當電力開關304關斷,電容C10放電為調光控制器1008供電。電阻R6兩端的電壓下降到0。因此,觸發監測單元1106可以在端點CLK上監測到一個電壓負緣。類似的,當電力開關304導通,電阻R6兩端的電壓上升至一個預設的電壓。因此,觸發監測單元1106可以在端點CLK上監測到一個電壓正緣。如前所述,藉由監測端點CLK上的電壓,觸發監測單元1106可以監測到電力開關304的操作,如導通操作或關斷操作。 In operation, when power switch 304 is turned "on" or "off", trigger monitoring unit 1106 can monitor the positive or negative edge of the voltage at endpoint CLK, respectively. For example, when the power switch 304 is turned off, the capacitor C10 is discharged to supply power to the dimming controller 1008. The voltage across resistor R6 drops to zero. Therefore, the trigger monitoring unit 1106 can detect a voltage negative edge on the terminal CLK. Similarly, when the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage. Therefore, the trigger monitoring unit 1106 can monitor a positive voltage edge on the terminal CLK. As previously discussed, by monitoring the voltage on the terminal CLK, the trigger monitoring unit 1106 can monitor the operation of the power switch 304, such as a turn-on or turn-off operation.

在一實施例中,當電力開關304的第一複數個操作被監測到時,觸發監測單元1106經由端點CLK接收到調光請求信號。當電力開關304的第二複數個操作被監測到時,觸發監測單元1106經由端點CLK接收到調光終止信號。在一實施例中,電力開關304的第一複數個操作包括第一關斷操作和其後的第一導通操作。在一實施例中,電力開關304的第二複數個操作包括第二關斷操作和其後的第二導通操作。 In an embodiment, when the first plurality of operations of the power switch 304 are monitored, the trigger monitoring unit 1106 receives the dimming request signal via the endpoint CLK. When the second plurality of operations of the power switch 304 are monitored, the trigger monitoring unit 1106 receives the dimming termination signal via the endpoint CLK. In an embodiment, the first plurality of operations of power switch 304 includes a first shutdown operation and a subsequent first conduction operation. In an embodiment, the second plurality of operations of power switch 304 includes a second shutdown operation and a subsequent second conduction operation.

如果觸發監測單元1106接收到調光請求信號,調光控 制器1008開始連續調節來自電力轉換器310的調節後電力。在類比調光模式下,調光控制器1008調節參考信號REF的電壓以調節來自電力轉換器310的調節後電力。在驟變調光模式下,調光控制器1008調節脈波寬度調變信號PWM1的工作週期以調節來自電力轉換器310的調節後電力。 If the trigger monitoring unit 1106 receives the dimming request signal, the dimming control The controller 1008 begins to continuously adjust the regulated power from the power converter 310. In the analog dimming mode, dimming controller 1008 adjusts the voltage of reference signal REF to regulate the regulated power from power converter 310. In the sudden dimming mode, the dimming controller 1008 adjusts the duty cycle of the pulse width modulation signal PWM1 to adjust the regulated power from the power converter 310.

如果觸發監測單元1106接收到調光終止信號,調光控制器1008停止調節來自電力轉換器310的調節後電力。 If the trigger monitoring unit 1106 receives the dimming termination signal, the dimming controller 1008 stops adjusting the regulated power from the power converter 310.

圖12所示為根據本發明一實施例的包括圖11中的調光控制器1008之光源驅動電路的操作示意圖。圖12將結合圖10以及圖11進行描述。 FIG. 12 is a block diagram showing the operation of a light source driving circuit including the dimming controller 1008 of FIG. 11 according to an embodiment of the present invention. FIG. 12 will be described in conjunction with FIG. 10 and FIG.

假設初始時刻電力開關304關斷。在操作中,在一實施例中,當電力開關304被使用者導通,LED鏈312由來自電力轉換器310的調節後電力供電,產生一個初始亮度輸出。在類比調光模式下,該初始亮度輸出由參考信號REF的初始電壓決定。在驟變調光模式下,該初始亮度輸出由脈波寬度調變信號PWM1的初始工作週期(如:100%)決定。在一實施例中,參考信號REF和脈波寬度調變信號PWM1由數位類比(D/A)轉換器528根據計數器1126的計數值產生。因此,REF的初始電壓和PWM1的初始工作週期由計數器1126的初始計數值(如:0)決定。 It is assumed that the power switch 304 is turned off at the initial moment. In operation, in one embodiment, when the power switch 304 is turned on by the user, the LED chain 312 is powered by the regulated power from the power converter 310 to produce an initial brightness output. In the analog dimming mode, the initial luminance output is determined by the initial voltage of the reference signal REF. In the sudden dimming mode, the initial luminance output is determined by the initial duty cycle (eg, 100%) of the pulse width modulation signal PWM1. In one embodiment, the reference signal REF and the pulse width modulation signal PWM1 are generated by a digital analog (D/A) converter 528 based on the count value of the counter 1126. Therefore, the initial voltage of REF and the initial duty cycle of PWM1 are determined by the initial count value of counter 1126 (eg, 0).

為了調節LED鏈312的亮度,使用者可以對電力開關304施加第一複數個操作。一旦偵測到電力開關304的第一複數個操作,產生調光請求信號。在一實施例中,第一複數個操作包括第一關斷操作和其後的第一導通操作。如此一來,觸發監測單元1106在端點CLK監測和接收到包含電壓負緣1204和其後的正緣1206的調光請求信號。回應調光請求信號,觸發監測單元1106產生具有高位準的EN信號。因此,致能時鐘產生器1104以產生時鐘信號。由時鐘信號驅動的計數器1126可回應時鐘信號的每個時鐘脈衝而改變計數值。在圖12的實例中,計數值回應時鐘信號而增加。在一實施例中,當計數器1126達到其預設的最大計數值後,計數值被重置為0。在另一 實施例中,計數值增加直到計數器1126達到預設最大計數值,然後計數值減少直到計數器1126達到預設最小計數值。 To adjust the brightness of the LED chain 312, the user can apply a first plurality of operations to the power switch 304. Once the first plurality of operations of the power switch 304 are detected, a dimming request signal is generated. In an embodiment, the first plurality of operations includes a first shutdown operation and a subsequent first conduction operation. As such, the trigger monitoring unit 1106 monitors and receives the dimming request signal including the voltage negative edge 1204 and the subsequent positive edge 1206 at the endpoint CLK. In response to the dimming request signal, the trigger monitoring unit 1106 generates an EN signal having a high level. Thus, clock generator 1104 is enabled to generate a clock signal. A counter 1126 driven by a clock signal can change the count value in response to each clock pulse of the clock signal. In the example of Figure 12, the count value is incremented in response to the clock signal. In one embodiment, the counter value is reset to zero when the counter 1126 reaches its preset maximum count value. In another In an embodiment, the count value is incremented until the counter 1126 reaches a preset maximum count value, and then the count value is decreased until the counter 1126 reaches the preset minimum count value.

在類比調光模式下,數位類比(D/A)轉換器528從計數器1126中讀取計數值,並回應於計數值的增加而降低參考信號REF的電壓。在驟變調光模式下,數位類比(D/A)轉換器528從計數器1126中讀取計數值,並回應計數值的增加而降低脈波寬度調變信號PWM1的工作週期(例如每次降低10%)。據此,因為來自電力轉換器310的調節後電力是由參考信號REF的電壓決定(在類比調光模式下)或是由脈波寬度調變信號PWM1的工作週期決定(在驟變調光模式下),所以LED鏈312的亮度可以調節。 In analog dimming mode, digital analog (D/A) converter 528 reads the count value from counter 1126 and reduces the voltage of reference signal REF in response to an increase in the count value. In the sudden dimming mode, the digital analog (D/A) converter 528 reads the count value from the counter 1126 and reduces the duty cycle of the pulse width modulation signal PWM1 in response to the increase in the count value (eg, 10 reductions per time). %). Accordingly, since the adjusted power from the power converter 310 is determined by the voltage of the reference signal REF (in the analog dimming mode) or by the duty cycle of the pulse width modulation signal PWM1 (in the sudden dimming mode) ), so the brightness of the LED chain 312 can be adjusted.

一旦達到期望的亮度輸出,使用者藉由對電力開關304施加第二複數個操作來終止亮度。一旦監測到第二複數個操作,產生調光終止信號。在一實施例中,第二複數個操作包括第二關斷操作和其後的第二導通操作。如此一來,觸發監測單元1106在端點CLK監測到包含電壓負緣1208和其後的正緣1210之調光終止信號。一旦偵測到調光終止信號,觸發監測單元1106產生具有低位準的EN信號。因此,除能時鐘產生器1104,以使得計數器1126保持其計數值不變。據此,在類比調光模式下,參考信號REF的電壓將保持在期望的位準。在驟變調光模式下,脈波寬度調變信號PWM1的工作週期將保持為期望值。因此,LED鏈312的亮度輸出將維持為期望的亮度輸出。 Once the desired brightness output is reached, the user terminates the brightness by applying a second plurality of operations to the power switch 304. Once the second plurality of operations are detected, a dimming termination signal is generated. In an embodiment, the second plurality of operations includes a second shutdown operation and a subsequent second conduction operation. As such, the trigger monitoring unit 1106 monitors the dimming termination signal including the voltage negative edge 1208 and the subsequent positive edge 1210 at the endpoint CLK. Upon detecting the dimming termination signal, the trigger monitoring unit 1106 generates an EN signal having a low level. Therefore, the clock generator 1104 is disabled so that the counter 1126 keeps its count value unchanged. Accordingly, in the analog dimming mode, the voltage of the reference signal REF will remain at the desired level. In the sudden dimming mode, the duty cycle of the pulse width modulation signal PWM1 will remain at the desired value. Therefore, the luminance output of LED chain 312 will remain at the desired luminance output.

圖13所示為根據本發明一實施例的調節一光源的電力的方法流程圖1300。圖13將結合圖10以及圖11進行描述。 13 is a flow chart 1300 of a method of adjusting power of a light source, in accordance with an embodiment of the present invention. FIG. 13 will be described in conjunction with FIG. 10 and FIG.

在步驟1302中,以來自電力轉換器(如電力轉換器310)的調節後的電力對光源(如LED鏈312)進行供電。 In step 1302, the light source (eg, LED chain 312) is powered with the regulated power from a power converter (such as power converter 310).

在步驟1304中,接收調光請求信號(如由調光控制器1008接收)。該調光請求信號指示耦接於該電源和該電力轉換器之間的電源開關(如電力開關304)的第一複數個操作。在一實施例中,電源開關的第一複數個操作包括第一關斷操作和其後的第一導通操作。 In step 1304, a dimming request signal is received (as received by dimming controller 1008). The dimming request signal indicates a first plurality of operations coupled to a power switch (eg, power switch 304) between the power source and the power converter. In an embodiment, the first plurality of operations of the power switch includes a first shutdown operation and a subsequent first conduction operation.

在步驟1306中,連續調節來自電力轉換器的調節後的電力(如利用調光控制器1008進行調節)。在一實施例中,致能時鐘產生器1104來驅動計數器1126。根據計數器1126的計數值產生調光信號(如控制信號538或參考信號REF)。在類比調光模式下,藉由比較參考信號REF和指示流經光源的光源電流之回授電流監測信號來調節來自該電力轉換器的調節後電力。REF的電壓由計數值決定。在驟變調光模式下,藉由控制信號538改變脈波寬度調變信號PWM1的工作週期以調節來自該電力轉換器的調節後電力。PWM1的工作週期由計數值決定。 In step 1306, the regulated power from the power converter is continuously adjusted (as adjusted by dimming controller 1008). In an embodiment, clock generator 1104 is enabled to drive counter 1126. A dimming signal (such as control signal 538 or reference signal REF) is generated based on the count value of counter 1126. In the analog dimming mode, the regulated power from the power converter is adjusted by comparing the reference signal REF with a feedback current monitoring signal indicative of the source current flowing through the source. The voltage of REF is determined by the count value. In the sudden dimming mode, the duty cycle of the pulse width modulation signal PWM1 is varied by the control signal 538 to regulate the regulated power from the power converter. The duty cycle of PWM1 is determined by the count value.

在步驟1308中,接收調光終止信號(如由調光控制器1008接收)。該調光終止信號指示耦接於該電源和該電力轉換器之間的電源開關(如電力開關304)的第二複數個操作。在一實施例中,電源開關的第二複數個操作包括第二關斷操作和其後的第二導通操作。 In step 1308, a dimming termination signal is received (as received by dimming controller 1008). The dimming termination signal indicates a second plurality of operations coupled to a power switch (such as power switch 304) between the power source and the power converter. In an embodiment, the second plurality of operations of the power switch includes a second shutdown operation and a second conduction operation thereafter.

在步驟1310中,如果接收到調光終止信號,則停止調節來自該電力轉換器的調節後電力。在一實施例中,除能時鐘產生器1104以使得計數器1126保持其計數值不變。如此一來,在類比調光模式下,參考信號REF的電壓保持在期望的位準。在驟變調光模式下,脈波寬度調變信號PWM1的工作週期將保持為期望值。因此,電源將維持期望的亮度輸出。 In step 1310, if a dimming termination signal is received, then adjusting the regulated power from the power converter is stopped. In an embodiment, clock generator 1104 is disabled to cause counter 1126 to maintain its count value unchanged. As a result, in the analog dimming mode, the voltage of the reference signal REF is maintained at a desired level. In the sudden dimming mode, the duty cycle of the pulse width modulation signal PWM1 will remain at the desired value. Therefore, the power supply will maintain the desired brightness output.

圖14A所示為根據本發明一實施例的光源驅動電路1400的電路圖。圖14A將結合圖4進行描述。圖14中與圖3和圖4編號相同的元件具有類似的功能。光源驅動電路1400透過電力開關304耦接於電源VIN(例如:110/120伏交流電,60赫茲),並耦接至LED鏈312。圖14B所示圖14A中的電力開關304的一個實施例。在一個實施例中,電力開關304是置於牆面上的ON/OFF開關。透過將元件1480切換至ON端和OFF端,電力開關304的狀態可由使用者控制為導通或斷開。 14A is a circuit diagram of a light source driving circuit 1400 in accordance with an embodiment of the present invention. Figure 14A will be described in conjunction with Figure 4. Elements in Figure 14 that are numbered the same as Figures 3 and 4 have similar functions. The light source driving circuit 1400 is coupled to the power source V IN (for example, 110/120 volts AC, 60 Hz) through the power switch 304, and is coupled to the LED chain 312. One embodiment of the power switch 304 of Figure 14A is shown in Figure 14B. In one embodiment, the power switch 304 is an ON/OFF switch placed on the wall. By switching element 1480 to the ON and OFF terminals, the state of power switch 304 can be controlled to be turned "on" or "off" by the user.

如圖14A所示,光源驅動電路1400包括交流/直流轉換 器306、電力轉換器310和調光控制器1408。交流/直流轉換器306將電源VIN轉換為輸出直流電壓VOUT。電力轉換器310耦接於交流/直流轉換器306,接收輸出直流電壓VOUT,並提供輸出電能給LED鏈312。調光控制器1408耦接於交流/直流轉換器306和電力轉換器310,監測電力開關304,並根據電力開關304的動作調節電力轉換器310的輸出電能,進而控制LED鏈312的光亮度。 As shown in FIG. 14A, the light source driving circuit 1400 includes an AC/DC converter 306, a power converter 310, and a dimming controller 1408. The AC/DC converter 306 converts the power supply V IN to an output DC voltage V OUT . The power converter 310 is coupled to the AC/DC converter 306, receives the output DC voltage V OUT , and provides output power to the LED chain 312. The dimming controller 1408 is coupled to the AC/DC converter 306 and the power converter 310, monitors the power switch 304, and adjusts the output power of the power converter 310 according to the action of the power switch 304, thereby controlling the brightness of the LED chain 312.

在一個實施例中,電力轉換器310包括電感L1、二極體D4、控制開關Q16、開關Q27和電流感應器。在一實施例中,電流感應器為一電阻R5。調光控制器1408包括多個端點,例如:端點HV_GATE、端點CLK、端點VDD、端點CTRL、端點MON以及端點GND。調光控制器1408的端點和圖4中描述的調光控制器308的對應端點具有類似的功能。 In one embodiment, power converter 310 includes an inductor L1, a diode D4, a control switch Q16, a switch Q27, and a current inductor. In one embodiment, the current sensor is a resistor R5. The dimming controller 1408 includes a plurality of endpoints, such as: endpoint HV_GATE, endpoint CLK, endpoint VDD, endpoint CTRL, endpoint MON, and endpoint GND. The endpoints of dimming controller 1408 have similar functions as the corresponding endpoints of dimming controller 308 depicted in FIG.

在操作中,調光控制器1408的端點CLK接收開關監測信號1450,以監測電力開關304。開關監測信號1450表示電力開關304的導電狀態(例如,ON/OFF狀態)。因此,調光控制器1408透過端點HV_GATE控制開關Q27,並透過端點CTRL控制開關Q16,進而控制LED鏈312的調光。 In operation, the endpoint CLK of the dimming controller 1408 receives the switch monitor signal 1450 to monitor the power switch 304. Switch monitoring signal 1450 represents the conductive state of power switch 304 (eg, an ON/OFF state). Therefore, the dimming controller 1408 controls the switch Q27 through the terminal HV_GATE and controls the switch Q16 through the terminal CTRL, thereby controlling the dimming of the LED chain 312.

更具體的說,在一個實施例中,當電力開關304導通時,調光控制器1408在端點HV_GATE上產生信號(例如,邏輯高電位)以導通開關Q27,並在端點CTRL產生開關控制信號1452,以導通和斷開控制開關Q16。在一個實施例中,控制開關Q16工作在開關導通狀態和開關斷開狀態。當控制開關Q16處於開關導通狀態時,開關控制信號1452交替地導通和斷開控制開關Q16。此外,調光控制器1408透過端點MON接收表示流經LED鏈312的電流ILED的感應信號1454。當感應信號1454表示電流ILED上漲至電流臨限值ITH時,調光控制器1408斷開控制開關Q16。因此,當控制開關Q16導通時,電流ILED逐漸變大;當控制開關Q16斷開時,電流ILED逐漸變小。以這種方式,調光控制器1408決定電流ILED的峰值,並由藉此控制電流ILED的平均值IAVERAGE。當控制開關Q16處於開關斷開狀態時,開關控制信號 1452維持控制開關Q16斷開,以切斷電流ILED。在一實施例中,調光控制器1408決定開關之導通狀態和開關斷開狀態之間的時間比,以控制電流ILED的平均值IAVERAGEMore specifically, in one embodiment, when power switch 304 is turned on, dimming controller 1408 generates a signal (eg, a logic high) on terminal HV_GATE to turn on switch Q27 and generate a switch control at endpoint CTRL. Signal 1452 to turn on and off control switch Q16. In one embodiment, control switch Q16 operates in a switch on state and a switch off state. When the control switch Q16 is in the switch-on state, the switch control signal 1452 alternately turns the control switch Q16 on and off. In addition, dimming controller 1408 receives an inductive signal 1454 indicative of current I LED flowing through LED chain 312 through endpoint MON. When the sense signal 1454 indicates that the current I LED has risen to the current threshold I TH , the dimming controller 1408 turns off the control switch Q16. Therefore, when the control switch Q16 is turned on, the current I LED gradually becomes larger; when the control switch Q16 is turned off, the current I LED gradually becomes smaller. In this manner, dimming controller 1408 determines the peak value of current I LED and thereby controls the average value I AVERAGE of current I LED . When control switch Q16 is in the switch open state, switch control signal 1452 maintains control switch Q16 open to shut off current I LED . In one embodiment, dimming controller 1408 determines the time ratio between the on state of the switch and the off state of the switch to control the average value I AVERAGE of the current I LED .

在一個實施例中,當電力開關304斷開時,調光控制器1408在端點HV_GATE上產生信號(例如,邏輯低電位)以斷開開關Q27。因此,流經LED鏈312的電流ILED下降到實質為零安培,以熄滅LED鏈312。 In one embodiment, when power switch 304 is turned off, dimming controller 1408 generates a signal (eg, a logic low) on terminal HV_GATE to open switch Q27. Therefore, the current I LED flowing through the LED chain 312 drops to substantially zero amps to extinguish the LED chain 312.

在一個實施例中,調光控制器1408透過端點CLK接收表示電力開關304的導電狀態的開關監測信號1450。據此,調光控制器1408識別電力開關304的動作,並提供表示該動作的調光請求信號。在一個實施例中,調光控制器1408在識別出電力開關304的斷開動作時,提供調光請求信號。或者,調光控制器1408在識別出電力開關304的導通動作時提供調光請求信號。調光控制器1408工作在類比調光模式、突發調光模式(burst dimming mode)或者混合調光模式以回應調光請求信號,透過調整控制開關Q16的導通/斷開來控制LED鏈312的調光。例如,在類比調光模式中,調光控制器1408決定電流ILED的峰值,並保持開關導通狀態和開關斷開狀態之間的時間比不變。在突發調光模式中,調光控制器1408決定開關導通狀態和開關斷開狀態之間的時間比,並維持電流ILED的峰值不變。在混合調光模式中,調光控制器1408決定開關導通狀態和開關斷開狀態之間的時間比,並決定電流ILED的峰值。因此,當開關Q27再次導通時(表示電力開關304再次導通),調光控制器1408調整電流ILED的峰值和/或開關導通狀態及開關斷開狀態的持續時間。結果,調整了流經LED鏈312的平均電流IAVERAGE,以控制LED鏈312的亮度。 In one embodiment, dimming controller 1408 receives switch monitoring signal 1450 indicative of the conductive state of power switch 304 via endpoint CLK. Accordingly, the dimming controller 1408 recognizes the action of the power switch 304 and provides a dimming request signal indicative of the action. In one embodiment, dimming controller 1408 provides a dimming request signal upon identifying an opening action of power switch 304. Alternatively, the dimming controller 1408 provides a dimming request signal when the conduction action of the power switch 304 is recognized. The dimming controller 1408 operates in an analog dimming mode, a burst dimming mode or a mixed dimming mode in response to the dimming request signal, and controls the LED chain 312 by adjusting the on/off of the control switch Q16. Dimming. For example, in analog dimming mode, dimming controller 1408 determines the peak value of current I LED and maintains the time ratio between the switch on state and the switch off state. In the burst dimming mode, the dimming controller 1408 determines the time ratio between the on-state of the switch and the off-state of the switch, and maintains the peak value of the current I LED unchanged. In the hybrid dimming mode, the dimming controller 1408 determines the time ratio between the switch on state and the switch off state and determines the peak value of the current I LED . Therefore, when the switch Q27 is turned on again (indicating that the power switch 304 is turned on again), the dimming controller 1408 adjusts the peak value of the current I LED and/or the duration of the switch on state and the switch off state. As a result, the average current I AVERAGE flowing through the LED chain 312 is adjusted to control the brightness of the LED chain 312.

優點在於,透過調整電流ILED和開關導通狀態和開關斷開狀態之間的持續時間,平均電流IAVERAGE的調整可具有相對較寬的範圍。例如,如果IMAX表示平均電流IAVERAGE的最大值,則根據本發明的實施例,平均電流IAVERAGE可以在IMAX的4%至100%x的範圍內變化。而在現有技術中,平均電流IAVERAGE僅僅能在IMAX的20%至100%變化。因 此,LED鏈312可在更大範圍內實現調光,因此,可應更節能的燈應用中,例如,小夜燈。 The advantage is that the adjustment of the average current I AVERAGE can have a relatively wide range by adjusting the current I LED and the duration between the switch on state and the switch off state. For example, if the average current I MAX represents the maximum value of the I AVERAGE, according to embodiments of the present invention, the average current I AVERAGE may vary within the range of 4% to 100% x I MAX of the. In the prior art, the average current I AVERAGE can only vary from 20% to 100% of I MAX . Thus, the LED chain 312 can achieve dimming over a wider range and, therefore, can be used in more energy efficient lamp applications, such as night light.

圖15所示為圖14A中的調光控制器1408的電路示意圖。圖15將結合圖5、圖6、圖7和圖14A進行描述。圖15中與圖5和圖14A編號相同的元件具有類似的功能。 Figure 15 is a circuit diagram of the dimming controller 1408 of Figure 14A. Figure 15 will be described in conjunction with Figures 5, 6, 7, and 14A. Elements in Figure 15 that are numbered the same as Figures 5 and 14A have similar functions.

在圖15的實施例中,調光控制器1408包括啟動及欠電壓鎖定(UVL)電路508、脈衝信號產生器504,觸發監測單元506、調光器1502、比較器534、SR正反器522和及閘524。調光器1502包括參考信號產生器1506,產生參考信號REF。調光器1502還包括PWM信號產生器1508,產生脈波寬度調變信號PWM1。結合圖5的描述,比較器534比較感應信號1454和參考信號REF,以產生比較信號COMP。脈衝信號產生器504產生具有週期性脈衝波形的脈衝信號536。在一個實施例中,當脈衝信號536是邏輯1時,SR正反器522將脈衝信號PULSE設為邏輯1;當比較信號COMP是邏輯1時(即當感應信號1454上升至參考信號REF時),SR正反器522將脈衝信號PULSE重設為邏輯0。及閘524接收脈衝信號PULSE和脈波寬度調變信號PWM1,並據此產生開關控制信號1452,以控制控制開關Q16。 In the embodiment of FIG. 15, dimming controller 1408 includes a start and under voltage lockout (UVL) circuit 508, a pulse signal generator 504, a trigger monitoring unit 506, a dimmer 1502, a comparator 534, and an SR flip-flop 522. And and 524. The dimmer 1502 includes a reference signal generator 1506 that generates a reference signal REF. The dimmer 1502 also includes a PWM signal generator 1508 that generates a pulse width modulation signal PWM1. In conjunction with the description of FIG. 5, comparator 534 compares sense signal 1454 with reference signal REF to produce comparison signal COMP. Pulse signal generator 504 generates pulse signal 536 having a periodic pulse waveform. In one embodiment, when pulse signal 536 is a logic one, SR flip-flop 522 sets pulse signal PULSE to a logic one; when comparison signal COMP is a logic one (ie, when sense signal 1454 rises to reference signal REF) The SR flip-flop 522 resets the pulse signal PULSE to a logic zero. The AND gate 524 receives the pulse signal PULSE and the pulse width modulation signal PWM1, and accordingly generates a switch control signal 1452 to control the control switch Q16.

假設開關Q27導通,調光控制器1408以類似於圖6和圖7中描述的調光控制器308的工作方式控制電流ILED。在一個實施例中,當脈波寬度調變信號PWM1處於第一狀態時(例如:PWM1為邏輯1),及閘524根據脈衝信號PULSE交替地導通和斷開控制開關Q16。由此,控制開關Q16工作在開關導通狀態。在開關導通時,電流ILED在控制開關Q16導通時逐漸上升,並在控制開關Q16斷開時逐漸下降。由於控制開關Q16在感應信號1454上升至參考信號REF時斷開,參考信號REF決定了電流ILED的峰值。當脈波寬度調變信號PWM1處於第二狀態時(例如:PWM1為邏輯0),及閘524根據保持斷開控制開關Q16。此時,控制開關Q16工作在開關斷開狀態,以切斷電流ILEDAssuming switch Q27 is turned on, dimming controller 1408 controls current I LED in a manner similar to that of dimming controller 308 described in FIGS. 6 and 7. In one embodiment, when the pulse width modulation signal PWM1 is in the first state (eg, PWM1 is a logic 1), the AND gate 524 alternately turns the control switch Q16 on and off in accordance with the pulse signal PULSE. Thereby, the control switch Q16 operates in the on state of the switch. When the switch is turned on, the current I LED gradually rises when the control switch Q16 is turned on, and gradually decreases when the control switch Q16 is turned off. Since the control switch Q16 is turned off when the sense signal 1454 rises to the reference signal REF, the reference signal REF determines the peak value of the current I LED . When the pulse width modulation signal PWM1 is in the second state (for example, PWM1 is logic 0), the AND gate 524 is turned off according to the hold control switch Q16. At this time, the control switch Q16 operates in the switch off state to cut off the current I LED .

因此,參考信號REF決定電流ILED的峰值,且脈波寬度 調變信號PWM1的責任週期決定開關導通狀態和開關斷開狀態之間的時間比。也就是說,流經LED鏈312的平均電流IAVERAGE根據參考信號REF和脈波寬度調變信號PWM1的責任週期發生變化。例如,當參考信號REF的電壓值VREF上升時,IAVERAGE增加;當VREF下降時,IAVERAGE減小。此外,當脈波寬度調變信號PWM1的責任週期DPWM1變大時,IAVERAGE增加;當DPWM1變小時,IAVERAGE減小。 Therefore, the reference signal REF determines the peak value of the current I LED , and the duty cycle of the pulse width modulation signal PWM1 determines the time ratio between the switch on state and the switch off state. That is, the average current I AVERAGE flowing through the LED chain 312 changes according to the duty cycle of the reference signal REF and the pulse width modulation signal PWM1. For example, when the voltage value V REF of the reference signal REF rises, I AVERAGE increases; when V REF decreases, I AVERAGE decreases. Further, when the duty cycle D PWM1 of the pulse width modulation signal PWM1 becomes large, I AVERAGE increases; when D PWM1 becomes small, I AVERAGE decreases.

調光器1502還包括計數器1504,提供計數值VALUE_1504。在一個實施例中,參考信號產生器1506耦接於計數器1504,並根據計數值VALUE_1504決定參考信號REF的電壓值VREF。PWM信號產生器1508耦接於計數器1504,並根據計數值VALUE_1504決定脈波寬度調變信號PWM1的責任週期DPWM1The dimmer 1502 also includes a counter 1504 that provides a count value VALUE_1504. In one embodiment, the reference signal generator 1506 is coupled to the counter 1504 and determines the voltage value V REF of the reference signal REF according to the count value VALUE_1504. The PWM signal generator 1508 is coupled to the counter 1504 and determines the duty cycle D PWM1 of the pulse width modulation signal PWM1 according to the count value VALUE_1504.

表1和表2所示為計數值VALUE_1504、電壓VREF和責任週期DPWM1之間比例的實施例。在一個實施例中,計數器1504是2位元計數器,因此,計數值VALUE_1504為0、1、2或3。VMAX表示參考信號REF的最大值。如表1所示,當計數值VALUE_1504為0、1、2和3時,參考信號REF分別具有電壓值VMAX、50% * VMAX、20% * VMAX和20% * VMAX,且責任週期DPWM1分別為100%、100%、100%和20%。 如表2所示,當計數值VALUE_1504為0、1、2和3時,參考信號REF分別具有電壓值VMAX、50% * VMAX、30% * VMAX和20% * VMAX,且責任週期DPWM1分別為100%、60%、40%和20%。計數值VALUE_1504、電壓VREF和責任週期DPWM1之間的比例關係可具有其他關係,並不局限於表1和表2所示之實施例。 Tables 1 and 2 show an embodiment of the ratio between the count value VALUE_1504, the voltage V REF and the duty cycle D PWM1 . In one embodiment, the counter 1504 is a 2-bit counter, and therefore, the count value VALUE_1504 is 0, 1, 2, or 3. V MAX represents the maximum value of the reference signal REF. As shown in Table 1, when the count value VALUE_1504 is 0, 1, 2, and 3, the reference signal REF has voltage values V MAX , 50% * V MAX , 20% * V MAX , and 20% * V MAX , respectively, and the responsibility The period D PWM1 is 100%, 100%, 100%, and 20%, respectively. As shown in Table 2, when the count value VALUE_1504 is 0, 1, 2, and 3, the reference signal REF has voltage values V MAX , 50% * V MAX , 30% * V MAX , and 20% * V MAX , respectively, and the responsibility The period D PWM1 is 100%, 60%, 40%, and 20%, respectively. The proportional relationship between the count value VALUE_1504, the voltage V REF and the duty cycle D PWM1 may have other relationships and is not limited to the embodiments shown in Tables 1 and 2.

在一個實施例中,如果接收到調光請求信號,例如:表示電力開關304執行了斷開操作,觸發監測單元506產生致能信號1510。計數器1504接收致能信號1510,並據此增加或減小計數值VALUE_1504。因此,參考信號產生器1506決定參考信號REF,例如:根據表1或表2。PWM信號產生器1508決定PWM1的責任週期,例如:根據表1或表2。 In one embodiment, if a dimming request signal is received, for example, indicating that the power switch 304 has performed a disconnect operation, the trigger monitoring unit 506 generates an enable signal 1510. The counter 1504 receives the enable signal 1510 and increments or decrements the count value VALUE_1 504 accordingly. Therefore, the reference signal generator 1506 determines the reference signal REF, for example, according to Table 1 or Table 2. The PWM signal generator 1508 determines the duty cycle of PWM1, for example, according to Table 1 or Table 2.

因此,調光控制器1408有選擇的工作於類比調光模式、突發調光模式和混合調光模式。在類比調光模式中,調光控制器1408根據計數器1504的計數值決定參考信號REF的值,以調整電流ILED的平均值IAVERAGE;此時,PWM1的責任週期保持不變。在突發調光模式中,調光控制器1408根據計數器1504的計數值決定PWM1的責任週期,以調整電流ILED的平均值IAVERAGE;此時,參考信號REF的值保持不變。在混合調光模式中,調光控制器1408根據計數器1504的計數值同時決定PWM1的責任週期和參考信號REF的值,以調整電流ILED的平均值IAVERAGE。由此,調整了LED鏈312的亮度。調光控制器1408的操作將在圖16和圖17進一步描述。調光控制器1408可具有其他結構,且不局限於圖15所示的實施例。 Thus, dimming controller 1408 selectively operates in analog dimming mode, burst dimming mode, and mixed dimming mode. In the analog dimming mode, the dimming controller 1408 determines the value of the reference signal REF according to the count value of the counter 1504 to adjust the average value I AVERAGE of the current I LED ; at this time, the duty cycle of the PWM 1 remains unchanged. In the burst dimming mode, the dimming controller 1408 determines the duty cycle of the PWM1 according to the count value of the counter 1504 to adjust the average value I AVERAGE of the current I LED ; at this time, the value of the reference signal REF remains unchanged. In the mixed dimming mode, the dimming controller 1408 simultaneously determines the duty cycle of the PWM1 and the value of the reference signal REF according to the count value of the counter 1504 to adjust the average value I AVERAGE of the current I LED . Thereby, the brightness of the LED chain 312 is adjusted. The operation of dimming controller 1408 will be further described in Figures 16 and 17. The dimming controller 1408 can have other configurations and is not limited to the embodiment shown in FIG.

圖16所示為包含圖15中的調光控制器1408的光源驅動電路的信號示意圖。圖16將結合圖14A和圖15進行描述。圖16描述了端點CLK上的電壓VCLK、計數器1504計數值VALUE_1504、脈波寬度調變信號PWM1的電壓VPWM1、脈波寬度調變信號PWM1的責任週期DPWM1、參考信號REF的電壓值VREF、感應信號1454的電壓VSENSE、電流ILED的平均值IAVERAGE。在圖16的實施例中,調光控制器1408根據表1中的實施例設置電壓值VREF和責任週期DPWM1FIG. 16 is a signal diagram showing the light source driving circuit including the dimming controller 1408 of FIG. Figure 16 will be described in conjunction with Figures 14A and 15. Figure 16 depicts the voltage V CLK on the terminal CLK , the counter 1504 count value VALUE_1504, the pulse width modulation signal PWM1 voltage V PWM1 , the pulse width modulation signal PWM1 duty cycle D PWM1 , the reference signal REF voltage value V REF , the voltage V SENSE of the sense signal 1454 , and the average value I AVERAGE of the current I LED . In the embodiment of FIG. 16, dimming controller 1408 sets voltage value V REF and duty cycle D PWM1 in accordance with the embodiment in Table 1.

在t0時刻,電力開關304斷開。計數值VALUE_1504為0。根據表1,責任週期DPWM1是100%,且電壓值VREF具有最大值VMAX。由於電力開關304和開關Q27都斷開,則切斷了電流ILED,因此平均電流IAVERAGE為零安培。 At time t0, power switch 304 is turned off. The count value VALUE_1504 is 0. According to Table 1, the duty cycle D PWM1 is 100%, and the voltage value V REF has a maximum value V MAX . Since both power switch 304 and switch Q27 are open, current I LED is turned off, so the average current I AVERAGE is zero amps.

在t1時刻,電壓VCLK的正緣表示電力開關304的導通動作。調光控制器1408導通開關Q27。因此,根據控制開關Q16的導電狀態控制電流ILED。在t1至t2的時間間隔,責任週期DPWM1是100%,且電壓值VREF具有最大值VMAX。控制開關Q16工作在開關導通狀態,以交替地導通和斷開。如圖16所示,當控制開關Q16導通時,電壓VSENSE逐漸上升;當控制開關Q16斷開時,電壓VSENSE逐漸下降。由於電壓VSENSE的峰值等於參考信號REF的最大值VMAX,平均電流IAVERAGE具有最大值IMAXAt time t1, the positive edge of voltage V CLK represents the conduction of power switch 304. The dimming controller 1408 turns on the switch Q27. Therefore, the current I LED is controlled in accordance with the conduction state of the control switch Q16. At the time interval t1 to t2, the duty cycle D PWM1 is 100%, and the voltage value V REF has a maximum value V MAX . The control switch Q16 operates in a switch-on state to alternately turn on and off. As shown in FIG. 16, when the control switch Q16 is turned on, the voltage V SENSE gradually rises; when the control switch Q16 is turned off, the voltage V SENSE gradually decreases. Since the peak value of the voltage V SENSE is equal to the maximum value V MAX of the reference signal REF, the average current I AVERAGE has a maximum value I MAX .

在t2時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t2至t3的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t2, the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval from t2 to t3, the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t2時刻檢測到電力開關304的斷開動作,則產生調光請求信號。計數值VALUE_1504從0增加為1。基於表1的實施例,調光控制器1408切換至類比調光模式,以將電壓VREF調節為50% * VMAX並保持責任週期DPWM1為100%。 In one embodiment, the dimming request signal is generated as the disconnection action of the power switch 304 is detected at time t2. The count value VALUE_1504 is increased from 0 to 1. Based on the embodiment of Table 1, dimming controller 1408 switches to analog dimming mode to adjust voltage V REF to 50% * V MAX and maintain duty cycle D PWM1 to 100%.

在t3時刻,開關Q27再次導通。因此,在t3至t4的時間間隔,調光控制器1408根據參考信號REF和脈波寬度調變信號PWM1控制控制開關Q16的導通和斷開。因此,將平均電流IAVERAGE調節為50% * IMAXAt time t3, switch Q27 is turned on again. Therefore, at the time interval from t3 to t4, the dimming controller 1408 controls the on and off of the control switch Q16 in accordance with the reference signal REF and the pulse width modulation signal PWM1. Therefore, the average current I AVERAGE is adjusted to 50% * I MAX .

在t4時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t4至t5的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t4, the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval from t4 to t5, the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t4時刻檢測到電力開關304 的斷開動作,則產生調光請求信號。計數值VALUE_1504從1增加為2。根據表1,調光控制器1408工作於類比調光模式,以將電壓VREF調節為20% * VMAX並保持責任週期DPWM1為100%。因此,在t5至t6的時間間隔中,平均電流IAVERAGE調節為20% * IMAXIn one embodiment, since the disconnection action of the power switch 304 is detected at time t4, a dimming request signal is generated. The count value VALUE_1504 is increased from 1 to 2. According to Table 1, the dimming controller 1408 operates in analog dimming mode to adjust the voltage V REF to 20% * V MAX and maintain the duty cycle D PWM1 to 100%. Therefore, in the time interval from t5 to t6, the average current I AVERAGE is adjusted to 20% * I MAX .

在t6時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t6至t7的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t6, the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval from t6 to t7, the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t6時刻檢測到電力開關304的斷開動作,則產生調光請求信號。計數值VALUE_1504從2增加為3。根據表1,調光控制器1408工作於突發調光模式,以保持電壓VREF為20% * VMAX並將責任週期DPWM1減小至20%。因此,在t7至t8的時間間隔中,電力開關304導通。此時,當電壓VPWM1具有第一狀態(例如:邏輯高電位)時,電壓VSENSE斜線上升和斜線下降;當電壓VPWM1具有第二狀態(例如:邏輯低電位)時,電壓VSENSE下降至零伏特。因此,在t7至t8的時間間隔中,平均電流IAVERAGE調整為4% * IMAXIn one embodiment, since the disconnection action of the power switch 304 is detected at time t6, a dimming request signal is generated. The count value VALUE_1504 is increased from 2 to 3. According to Table 1, dimming controller 1408 operates in burst dimming mode to maintain voltage V REF at 20% * V MAX and reduce duty cycle D PWM1 to 20%. Therefore, in the time interval from t7 to t8, the power switch 304 is turned on. At this time, when the voltage V PWM1 has the first state (for example, a logic high potential), the voltage V SENSE ramps up and ramps down; when the voltage V PWM1 has the second state (eg, logic low), the voltage V SENSE decreases. To zero volts. Therefore, in the time interval from t7 to t8, the average current I AVERAGE is adjusted to 4% * I MAX .

因此,在圖16的實施例中,調光控制器1408先工作在類比調光模式中將平均電流IAVERAGE從100% * IMAX調整至20% * IMAX,然後工作在突發調光模式中將平均電流IAVERAGE從20% * IMAX調整至4% * IMAX。優點在於,透過調節脈波寬度調變信號PWM1的責任週期DPWM1和參考信號REF的電壓值VREF,實現了平均電流IAVERAGE在100% * IMAX和4% * IMAX的範圍內調整。因此,實現了LED鏈312在更寬範圍內調光。此外,在相對寬的範圍內調光的過程中,電壓VREF保持大於一個電壓臨限值(例如:15% * VMAX),責任週期DPWM1保持大於一個責任週期臨限值(例如:10%)。由此,脈波寬度調變信號PWM1和參考信號REF的精度不會受到如雜訊之類的不利因素的影響,進而提高了光源驅動電路1400的調光精度。 Therefore, in the embodiment of FIG. 16, the dimming controller 1408 first operates to adjust the average current I AVERAGE from 100% * I MAX to 20% * I MAX in the analog dimming mode, and then operates in the burst dimming mode. The average current I AVERAGE is adjusted from 20% * I MAX to 4% * I MAX . The advantage is that the average current I AVERAGE is adjusted within the range of 100% * I MAX and 4% * I MAX by adjusting the duty cycle D PWM1 of the pulse width modulation signal PWM1 and the voltage value V REF of the reference signal REF. Thus, LED chain 312 is dimmed over a wider range. Further, the process of dimming over a relatively wide range, is greater than a holding voltage V REF voltage threshold value (for example: 15% * V MAX), the duty cycle D PWM1 duty cycle remains greater than a threshold value (e.g.: 10 %). Thereby, the accuracy of the pulse width modulation signal PWM1 and the reference signal REF is not affected by adverse factors such as noise, thereby improving the dimming accuracy of the light source driving circuit 1400.

圖17所示為包含圖15中的調光控制器1408的光源驅動電路的信號示意圖。圖17將結合圖14A至圖16進行描述。圖17 描述了端點CLK上的電壓VCLK、計數器1504計數值VALUE_1504、脈波寬度調變信號PWM1的電壓VPWM1、脈波寬度調變信號PWM1的責任週期DPWM1、參考信號REF的電壓值VREF、感應信號1454的電壓VSEMSE、電流ILED的平均值IAVERAGE。在圖17的實施例中,調光控制器1408根據表2中的實施例設置電壓值VREF和責任週期DPWM1Figure 17 is a signal diagram showing the light source driving circuit including the dimming controller 1408 of Figure 15. Figure 17 will be described in conjunction with Figures 14A through 16. Figure 17 depicts the voltage V CLK on the terminal CLK , the counter 1504 count value VALUE_1504, the pulse width modulation signal PWM1 voltage V PWM1 , the pulse width modulation signal PWM1 duty cycle D PWM1 , the reference signal REF voltage value V REF , the voltage of the sense signal 1454 V SEMSE , the average value of the current I LED I AVERAGE . In the embodiment of Figure 17, dimming controller 1408 sets voltage value V REF and duty cycle D PWM1 in accordance with the embodiment in Table 2.

在t0’和t2’之間的時間間隔中,調光控制器1408具有圖16中描述的在t0和t2之間類似的操作。例如,在t0’至t2’的時間間隔中,計數值VALUE_1504為0。根據表2,責任週期DPWM1是100%,且電壓值VREF具有最大值VMAX。因此,在t1’和t2’之間,電壓VSENSE的峰值等於參考信號REF的最大值VMAX,平均電流IAVERAGE具有最大值IMAXIn the time interval between t0' and t2', the dimming controller 1408 has a similar operation between t0 and t2 as described in FIG. For example, in the time interval of t0' to t2', the count value VALUE_1504 is 0. According to Table 2, the duty cycle D PWM1 is 100%, and the voltage value V REF has a maximum value V MAX . Therefore, between t1' and t2', the peak value of the voltage V SENSE is equal to the maximum value V MAX of the reference signal REF, and the average current I AVERAGE has a maximum value I MAX .

在t2’時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t2’至t3’的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t2', the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval from t2' to t3', the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t2’時刻檢測到電力開關304的斷開動作,則產生調光請求信號。計數值VALUE_1504從0增加為1。基於表2的實施例,調光控制器1408切換至混合調光模式,以將電壓VREF調節為50% * VMAX並將責任週期DPWM1調節為60%。因此,在t3’至t4’的時間間隔,當電壓VPWM1具有第一狀態(例如,邏輯高電位)時,控制開關Q16工作在開關導通狀態,以交替地導通和斷開。電壓VSENSE的峰值等於參考信號REF的電壓值VREF(即50% * VMAX)。此外,當電壓VPWM1具有第二狀態(例如,邏輯低電位)時,控制開關Q16工作在開關斷開狀態,以切斷電流ILED。因此,電流ILED的平均值IAVERAGE等於30% * IMAXIn one embodiment, since the disconnection action of the power switch 304 is detected at time t2', a dimming request signal is generated. The count value VALUE_1504 is increased from 0 to 1. Based on the embodiment of Table 2, the dimming controller 1408 switches to the mixed dimming mode to adjust the voltage V REF to 50% * V MAX and adjust the duty cycle D PWM1 to 60%. Therefore, at the time interval t3' to t4', when the voltage VPWM1 has the first state (for example, a logic high potential), the control switch Q16 operates in the switch-on state to alternately turn on and off. The peak value of the voltage V SENSE is equal to the voltage value V REF of the reference signal REF (ie 50% * V MAX ). Further, when the voltage V PWM1 has the second state (for example, a logic low potential), the control switch Q16 operates in the switch off state to cut off the current I LED . Therefore, the average value I AVERAGE of the current I LED is equal to 30% * I MAX .

在t4’時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t4’至t5’的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t4', the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval from t4' to t5', the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t4’時刻檢測到電力開關304的斷開動作,產生了調光請求信號。計數值VALUE_1504從1增加為2。根據表2,調光控制器1408工作於混合調光模式,以將電壓VREF調節為30% * VMAX並調節責任週期DPWM1為40%。因此,在t5’至t6’的時間間隔中,平均電流IAVERAGE調節為12% * IMAXIn one embodiment, the dimming request signal is generated as the disconnection action of the power switch 304 is detected at time t4'. The count value VALUE_1504 is increased from 1 to 2. According to Table 2, the dimming controller 1408 operates in a mixed dimming mode to adjust the voltage V REF to 30% * V MAX and adjust the duty cycle D PWM1 to 40%. Therefore, in the time interval from t5' to t6', the average current I AVERAGE is adjusted to 12% * I MAX .

在t6’時刻,電壓VCLK的負緣表示電力開關304的斷開動作。開關Q27斷開,以切斷電流ILED。因此,在t6’至t7’的時間間隔中,電壓VSENSE下降至實質零伏特,且平均電流IAVERAGE下降至實質零安培。 At time t6', the negative edge of voltage V CLK represents the disconnection of power switch 304. Switch Q27 is turned off to cut off the current I LED . Thus, during the time interval t6' to t7', the voltage V SENSE drops to substantially zero volts and the average current I AVERAGE drops to substantially zero amps.

在一個實施例中,由於在t6’時刻檢測到電力開關304的斷開動作,產生了調光請求信號。計數值VALUE_1504從2增加為3。根據表2,調光控制器1408工作於混合調光模式,以調整電壓VREF為20% * VMAX並將責任週期DPWM1減小至20%。因此,在t7’至t8’的時間間隔中,平均電流IAVERAGE調整為4% * IMAXIn one embodiment, the dimming request signal is generated as the disconnection action of the power switch 304 is detected at time t6'. The count value VALUE_1504 is increased from 2 to 3. According to Table 2, the dimming controller 1408 operates in a mixed dimming mode to adjust the voltage V REF to 20% * V MAX and reduce the duty cycle D PWM1 to 20%. Therefore, in the time interval from t7' to t8', the average current I AVERAGE is adjusted to 4% * I MAX .

因此,在t1’和t7’之間,當計數值VALUE_1504變化時,調光控制器1408工作在混合調光模式。優點在於,透過調節脈波寬度調變信號PWM1的責任週期DPWM1和參考信號REF的電壓值VREF,實現了平均電流IAVERAGE在100% * IMAX和4% * IMAX的範圍內調整。因此,實現了LED鏈312在更寬範圍內調光。此外,在相對寬的範圍內調光的過程中,電壓VREF保持大於一個電壓臨限值(例如,15% * VMAX),責任週期DPWM1保持大於一個責任週期臨限值(例如,10%)。由此,脈波寬度調變信號PWM1和參考信號REF的精度不會受到如雜訊之類的不利因素的影響,進而提高了光源驅動電路1400的調光精度。 Therefore, between t1' and t7', when the count value VALUE_1504 changes, the dimming controller 1408 operates in the mixed dimming mode. The advantage is that the average current I AVERAGE is adjusted within the range of 100% * I MAX and 4% * I MAX by adjusting the duty cycle D PWM1 of the pulse width modulation signal PWM1 and the voltage value V REF of the reference signal REF. Thus, LED chain 312 is dimmed over a wider range. In addition, during dimming over a relatively wide range, voltage V REF remains greater than a voltage threshold (eg, 15% * V MAX ), and duty cycle D PWM1 remains greater than a duty cycle threshold (eg, 10 %). Thereby, the accuracy of the pulse width modulation signal PWM1 and the reference signal REF is not affected by adverse factors such as noise, thereby improving the dimming accuracy of the light source driving circuit 1400.

圖18所示為根據本發明一實施例控制LED光源的調光方法流程圖1800。圖18將結合圖14A至圖17進行描述。圖18所涵蓋的具體步驟僅僅作為示例。也就是說,本發明適其他合理的流程或對圖18進行改進的步驟。 Figure 18 is a flow chart 1800 of a dimming method for controlling an LED light source in accordance with an embodiment of the present invention. FIG. 18 will be described in conjunction with FIGS. 14A through 17. The specific steps covered in Figure 18 are merely examples. That is, the present invention is suitable for other reasonable processes or steps for improving FIG.

在步驟1802中,比較表示流經LED光源的電流的感應 信號(例如,感應信號1454)和參考信號(例如,參考信號REF),以產生一脈衝信號(例如,脈衝信號PULSE)。在步驟1804中,當脈波寬度調變信號(例如,PWM1)處於第一狀態時,根據脈衝信號控制流經LED光源的電流。在步驟1806中,當脈波寬度調變信號處於第二狀態時,切斷流經LED光源的電流。 In step 1802, a comparison is made to sense the current flowing through the LED source. A signal (eg, sense signal 1454) and a reference signal (eg, reference signal REF) are used to generate a pulse signal (eg, pulse signal PULSE). In step 1804, when the pulse width modulation signal (eg, PWM1) is in the first state, the current flowing through the LED light source is controlled according to the pulse signal. In step 1806, when the pulse width modulation signal is in the second state, the current flowing through the LED source is turned off.

在步驟1808中,根據調光請求信號調節參考信號的值和脈波寬度調變信號的責任週期。在一實施例中,根據調光請求信號調節計數器的計數值。根據計數器的計數值決定參考信號的值和脈波寬度調變信號的責任週期。如果計數值從第一數值變為第二數值,則選擇第一模式(例如,類比調光模式)、第二模式(例如,突發調光模式)或第三模式(例如,混合調光模式)。在第一模式中,調節參考信號的值並保持脈波寬度調變信號的責任週期不變。在第二模式中,調節脈波寬度調變信號的責任週期並保持參考信號的值不變。在第三模式中,調節參考信號的值並調節脈波寬度調變信號的責任週期。 In step 1808, the value of the reference signal and the duty cycle of the pulse width modulation signal are adjusted according to the dimming request signal. In an embodiment, the counter value of the counter is adjusted based on the dimming request signal. The duty cycle value and the duty cycle of the pulse width modulation signal are determined according to the count value of the counter. If the count value changes from the first value to the second value, the first mode (eg, analog dimming mode), the second mode (eg, burst dimming mode), or the third mode (eg, mixed dimming mode) is selected ). In the first mode, the value of the reference signal is adjusted and the duty cycle of the pulse width modulation signal is maintained. In the second mode, the duty cycle of the pulse width modulation signal is adjusted and the value of the reference signal is kept constant. In the third mode, the value of the reference signal is adjusted and the duty cycle of the pulse width modulation signal is adjusted.

圖19所示為根據本發明一實施例的光源驅動電路1900電路圖。圖19中與圖3和圖4編號相同的元件具有類似的功能。圖19將結合圖3和圖4進行描述。光源驅動電路1900之一端透過電力開關304耦接至電源VIN,另一端耦接至LED鏈312。如圖14B所述,電力開關304是置於牆面上的ON/OFF開關。電力開關304的導電狀態可由使用者控制為導通或斷開。 Figure 19 is a circuit diagram of a light source driving circuit 1900 in accordance with an embodiment of the present invention. Elements in Figure 19 that are numbered the same as Figures 3 and 4 have similar functions. Figure 19 will be described in conjunction with Figures 3 and 4. One end of the light source driving circuit 1900 is coupled to the power source V IN through the power switch 304 , and the other end is coupled to the LED chain 312 . As shown in Fig. 14B, the power switch 304 is an ON/OFF switch placed on the wall. The conductive state of the power switch 304 can be controlled to be turned on or off by the user.

光源驅動電路1900包含AC/DC轉換器306、電力轉換器310和調光控制器1908。AC/DC轉換器306將電源VIN轉換成輸出直流電壓VOUT。在圖19的例子中,AC/DC轉換器306包含具有二極體D1、D2、D7和D8的橋式整流器、包含具有二極體D10和電容C9的濾波器。電力轉換器310耦接至AC/DC轉換器306,接收輸出直流電壓VOUT,並為LED鏈312提供輸出電力。在一個實施例中,電力轉換器310包含電感L1、二極體D4、開關Q27、控制開關Q16和電流感應器R5。調光控制器1908耦接於AC/DC轉換器306和電力轉換器310之間。 調光控制器1908監測電力開關304的工作狀態,如導通或斷開,並相應的控制輸出到LED鏈312的電壓,以控制LED鏈312的亮度。調光控制器1908包含多個接腳,例如,接腳HV_GATE、接腳CLK、接腳VDD、接腳GND、電壓控制接腳CTRL、接腳RT、接腳MON和電流控制接腳CS。其中接腳VDD、接腳GND、接腳RT和接腳MON與圖14中的調光控制器1408的相應接腳工作原理類似。 The light source driving circuit 1900 includes an AC/DC converter 306, a power converter 310, and a dimming controller 1908. The AC/DC converter 306 converts the power supply V IN into an output DC voltage V OUT . In the example of FIG. 19, the AC/DC converter 306 includes a bridge rectifier having diodes D1, D2, D7, and D8, including a filter having a diode D10 and a capacitor C9. The power converter 310 is coupled to the AC/DC converter 306, receives the output DC voltage V OUT , and provides output power to the LED chain 312. In one embodiment, power converter 310 includes an inductor L1, a diode D4, a switch Q27, a control switch Q16, and a current inductor R5. The dimming controller 1908 is coupled between the AC/DC converter 306 and the power converter 310. The dimming controller 1908 monitors the operational state of the power switch 304, such as on or off, and controls the voltage output to the LED chain 312 accordingly to control the brightness of the LED chain 312. The dimming controller 1908 includes a plurality of pins, for example, a pin HV_GATE, a pin CLK, a pin VDD, a pin GND, a voltage control pin CTRL, a pin RT, a pin MON, and a current control pin CS. The pins VDD, the pins GND, the pins RT and the pins MON are similar to the corresponding pins of the dimming controller 1408 of FIG.

在一個實施例中,調光控制器1908在接腳CLK接收指示電力開關304導通狀態(導通或斷開)的開關監測信號1450。在一個實施例中,調光控制器1908根據開關監測信號1450控制開關Q27。具體來說,當開關監測信號1450指示電力開關304斷開時,調光控制器1908在接腳HV_GATE產生一個信號(例如,邏輯低電位信號),以斷開開關Q27。因此,流經LED鏈312的電流ILED降到實質0安培。當開關監測信號1450指示電力開關304導通,調光控制器1908在接腳HV_GATE產生一個信號(例如,邏輯高電位信號),以導通開關Q27。然後,調光控制器1908根據接腳CTRL和接腳CS的信號控制流經LED鏈312的電流ILEDIn one embodiment, dimming controller 1908 receives a switch monitoring signal 1450 indicating that power switch 304 is conducting (on or off) at pin CLK. In one embodiment, dimming controller 1908 controls switch Q27 based on switch monitoring signal 1450. Specifically, when switch monitor signal 1450 indicates that power switch 304 is open, dimming controller 1908 generates a signal (eg, a logic low signal) at pin HV_GATE to open switch Q27. Therefore, the current I LED flowing through the LED chain 312 is reduced to substantially 0 amps. When the switch monitor signal 1450 indicates that the power switch 304 is turned on, the dimming controller 1908 generates a signal (eg, a logic high signal) at the pin HV_GATE to turn on the switch Q27. Dimming controller 1908 then controls the current I LED flowing through LED chain 312 based on the signals of pin CTRL and pin CS.

在一個實施例中,調光控制器1908根據開關監測信號1450檢測指示電力開關304工作狀態的調光請求信號。在一個實施例中,當開關監測信號1450指示電力開關304斷開時,調光控制器1908接收調光請求信號。當電力開關304被重新導通時,根據調光請求信號,調光控制器1908調節流經LED鏈312的平均電流以調節LED鏈312的亮度。 In one embodiment, dimming controller 1908 detects a dimming request signal indicative of an operational state of power switch 304 based on switch monitoring signal 1450. In one embodiment, when the switch monitoring signal 1450 indicates that the power switch 304 is off, the dimming controller 1908 receives the dimming request signal. When the power switch 304 is turned back on, the dimming controller 1908 adjusts the average current flowing through the LED chain 312 to adjust the brightness of the LED chain 312 according to the dimming request signal.

調光控制器1908能工作在第一模式和第二模式,進而調節LED鏈312的平均電流。如下所述,電流ILED代表流經LED鏈312的電流。在第一模式下,電流ILED由ILED1表示。在第二模式下,電流ILED由ILED2表示。 The dimming controller 1908 can operate in the first mode and the second mode to adjust the average current of the LED chain 312. Current I LED represents the current flowing through LED chain 312, as described below. In the first mode, the current I LED is represented by I LED1 . In the second mode, the current I LED is represented by I LED2 .

當調光控制器1908工作在第一模式下時,調光控制器1908的電壓控制接腳CTRL提供脈衝信號1952,以控制控制開關Q16交替地工作在第一狀態(例如,導通狀態)和第二狀態(例如,斷開狀態)。因此,流經LED鏈312的電流ILED1,根據控制開關Q16的狀態改變。在一個實施例中,在控制開關Q16導通期間,電流ILED1流經LED鏈312、開關Q16、電流感應器R5到地,所以電流ILED1增加。在開關Q16斷開期間,電流ILED1流 經LED鏈312和二極體D4,所以電流ILED1减小。因此,流經LED鏈312的平均電流可以在類比調光模式下、脈衝調光模式下或組合調光模式下透過控制開關Q16調節。具體的調光方法將在圖20中詳細描述。 When the dimming controller 1908 is operating in the first mode, the voltage control pin CTRL of the dimming controller 1908 provides a pulse signal 1952 to control the control switch Q16 to alternately operate in a first state (eg, a conducting state) and a Two states (for example, a disconnected state). Therefore, the current I LED1 flowing through the LED chain 312 changes according to the state of the control switch Q16. In one embodiment, during the conduction of control switch Q16, current I LED1 flows through LED chain 312, switch Q16, current inductor R5 to ground, so current I LED1 increases. During the off period of switch Q16, current I LED1 flows through LED chain 312 and diode D4, so current I LED1 decreases. Therefore, the average current flowing through the LED chain 312 can be adjusted through the control switch Q16 in the analog dimming mode, the pulse dimming mode, or the combined dimming mode. A specific dimming method will be described in detail in FIG.

當調光控制器1908工作在第二模式時,調光控制器1908在接腳CTRL提供控制信號1954(例如,數位0),使控制開關Q16維持在斷開狀態。因此,電流ILED1被切斷。另外,調光控制器1908接通流經LED鏈312和電流控制接腳CS的電流ILED2When dimming controller 1908 is operating in the second mode, dimming controller 1908 provides control signal 1954 (eg, digit 0) at pin CTRL to maintain control switch Q16 in the off state. Therefore, the current I LED1 is cut off. In addition, dimming controller 1908 turns on current I LED2 flowing through LED chain 312 and current control pin CS.

有利的是,透過選擇至少工作在第一模式和第二模式,調光控制器1908達到了相對寬的調光範圍。例如,若IMAX指示平均電流IAVERAGE的最大值,調光控制器1908可以工作在第一模式,以調節電流ILED1的平均電流IAVERAGE在4%*IMAX到100%*IMAX範圍內變化。另外,調光控制器1908也能工作在第二模式下,以將平均電流IAVERAGE調到一個更低的值。例如,調光控制器1908設置電流ILED2為恒定值1%*IMAX。換言之,LED鏈312在第二模式下比第一模式下更暗。因此在節能應用中(例如,夜燈),會更有優勢。另外,第二模式下的電流ILED2是一個實質恒定的值,它不會因為開關Q16的導通或斷開而變化。所以,LED鏈312發出的光不會受到開關Q16開關維訊的影響,從而增强了LED鏈312的穩定性。 Advantageously, the dimming controller 1908 achieves a relatively wide dimming range by selecting to operate in at least the first mode and the second mode. For example, if I MAX indicates the maximum value of the average current I AVERAGE , the dimming controller 1908 can operate in the first mode to adjust the average current I AVERAGE of the current I LED1 in the range of 4%*I MAX to 100%*I MAX Variety. Additionally, dimming controller 1908 can also operate in the second mode to adjust the average current I AVERAGE to a lower value. For example, dimming controller 1908 sets current I LED2 to a constant value of 1%*I MAX . In other words, the LED chain 312 is darker in the second mode than in the first mode. Therefore, in energy-saving applications (for example, night lights), there will be more advantages. In addition, the current I LED2 in the second mode is a substantially constant value which does not change due to the on or off of the switch Q16. Therefore, the light emitted by the LED chain 312 is not affected by the switching of the switch Q16, thereby enhancing the stability of the LED chain 312.

圖20所示為根據本發明一實施例的調光控制器1908的結構示意圖。圖20將結合圖15和圖19進行描述。與圖15和圖19編號相同的元件具有類似的功能。在圖20的例子中,調光控制器1908包含啟動及欠電壓鎖定電路508、脈衝信號產生器504、觸發監測單元506、調光器2002、驅動器2010、開關2008和電流源2006。 FIG. 20 is a block diagram showing the structure of a dimming controller 1908 according to an embodiment of the invention. Figure 20 will be described in conjunction with Figures 15 and 19. Elements numbered the same as in Figures 15 and 19 have similar functions. In the example of FIG. 20, dimming controller 1908 includes a startup and under voltage lockout circuit 508, a pulse signal generator 504, a trigger monitoring unit 506, a dimmer 2002, a driver 2010, a switch 2008, and a current source 2006.

在一個實施例中,觸發監測單元506透過接腳CLK接收到開關監測信號1450。觸發監測單元506根據開關監測信號1450,確定指示電力開關304斷開操作的調光請求信號。若接收到調光請求信號,觸發監測單元506產生致能信號1510。 In one embodiment, the trigger monitoring unit 506 receives the switch monitoring signal 1450 through the pin CLK. The trigger monitoring unit 506 determines a dimming request signal indicating that the power switch 304 is turned off based on the switch monitoring signal 1450. The trigger monitoring unit 506 generates an enable signal 1510 if a dimming request signal is received.

調光器2002包含計數器1504、參考信號產生器1506、脈波寬度調變(PWM)信號產生器1508和模式選擇模組2004。計數器1504提供根據致能信號1510改變的計數值VALUE_1504。在一個實施例中,計數器1504 根據致能信號1510增加計數值VALUE_1504。在一個可替代的實施例中,計數器1504根據致能信號1510减小計數值VALUE_1504。 The dimmer 2002 includes a counter 1504, a reference signal generator 1506, a pulse width modulation (PWM) signal generator 1508, and a mode selection module 2004. The counter 1504 provides a count value VALUE_1 504 that changes according to the enable signal 1510. In one embodiment, the counter 1504 The count value VALUE_1504 is incremented according to the enable signal 1510. In an alternate embodiment, counter 1504 reduces count value VALUE_1 504 based on enable signal 1510.

模式選擇模組2004根據計數值VALUE_1504選擇調光控制器1908的工作在第一模式和第二模式。在一個實施例中,計數值VALUE_1504指示LED鏈312的需求亮度值。需求亮度值對應於LED鏈312的平均電流IAVERAGE的目標電流值ITARGET。參考表3和表4所示,計數器1504的計數值VALUE_1504,目標電流值ITARGET及調光控制器1908的工作模式的對應關係。在表3的例子中,計數值VALUE_1504可以為0、1和2,分別指示目標電流值為100% * IMAX、30% * IMAX和1% * IMAX,其中,IMAX代表平均電流IAVERAGE的最大值。在表4的例子中,計數值VALUE_1504可以為0、1和2,分別指示目標電流值為1% * IMAX、30% * IMAX和100% * IMAXThe mode selection module 2004 selects the operation of the dimming controller 1908 in the first mode and the second mode based on the count value VALUE_1504. In one embodiment, the count value VALUE_1 504 indicates the desired brightness value of the LED chain 312. The required luminance value corresponds to the target current value I TARGET of the average current I AVERAGE of the LED chain 312. Referring to Tables 3 and 4, the counter value VALUE_1504 of the counter 1504, the target current value I TARGET, and the corresponding relationship of the operation modes of the dimming controller 1908. In the example of Table 3, the count value VALUE_1504 may be 0, 1, and 2, indicating that the target current value is 100% * I MAX , 30% * I MAX and 1% * I MAX , respectively, where I MAX represents the average current I The maximum value of AVERAGE . In the example of Table 4, the count value VALUE_1504 may be 0, 1, and 2, indicating that the target current value is 1% * I MAX , 30% * I MAX , and 100% * I MAX , respectively .

模式選擇模組2004比較計數值VALUE_1504和臨限值,以選擇工作模式。例如,根據表3和表4的例子,臨限值設為1。在表3的例子中,當計數值VALUE_1504等於或小於1時,模式選擇模組2004選擇第一模式,當計數值VALUE_1504大於1時,模式選擇模組2004選擇第二模式。在表4的例子中,當計數值VALUE_1504等於或大於1時,模式選擇模組2004選擇第一模式,當計數值VALUE_1504小於1時,模式選擇模組2004選擇第二模式。因此,在表3和表4的實施例中,當平均電流IAVERAGE 的目標電流值ITARGET相對高時(如30% * IMAX和100 * IMAX),選擇第一模式。另外,當平均電流IAVERAGE的目標電流值ITARGET相對低時(如1% * IMAX),選擇第二模式。 The mode selection module 2004 compares the count value VALUE_1504 with a threshold to select an operating mode. For example, according to the examples of Tables 3 and 4, the threshold value is set to 1. In the example of Table 3, when the count value VALUE_1504 is equal to or less than 1, the mode selection module 2004 selects the first mode, and when the count value VALUE_1504 is greater than 1, the mode selection module 2004 selects the second mode. In the example of Table 4, when the count value VALUE_1504 is equal to or greater than 1, the mode selection module 2004 selects the first mode, and when the count value VALUE_1504 is less than 1, the mode selection module 2004 selects the second mode. Therefore, in the embodiments of Tables 3 and 4, when the target current value I TARGET of the average current I AVERAGE is relatively high (e.g., 30% * I MAX and 100 * I MAX ), the first mode is selected. In addition, when the target current value I TARGET of the average current I AVERAGE is relatively low (eg, 1% * I MAX ), the second mode is selected.

根據選中的工作模式,模式選擇模組2004控制開關2008、參考信號產生器1506和脈波寬度調變信號產生器1508,以調節平均電流IAVERAGE。更具體的,在一個實施例中,電流源2006產生一個實質恒定的電流ILED2。工作在第一模式時,模式選擇模組2004斷開開關2008以切斷電流ILED2,控制參考信號產生器1506產生參考信號REF,和控制脈波寬度調變信號產生器1508產生脈波寬度調變信號PWM1。在一個實施例中,參考信號REF和脈波寬度調變信號PWM1經驅動器2010產生脈衝信號1952,以控制開關Q16。 Based on the selected mode of operation, mode selection module 2004 controls switch 2008, reference signal generator 1506, and pulse width modulation signal generator 1508 to adjust the average current I AVERAGE . More specifically, in one embodiment, current source 2006 produces a substantially constant current I LED2 . When operating in the first mode, the mode selection module 2004 turns off the switch 2008 to turn off the current I LED2 , the control reference signal generator 1506 generates the reference signal REF, and the control pulse width modulation signal generator 1508 generates the pulse width modulation. Change signal PWM1. In one embodiment, the reference signal REF and the pulse width modulation signal PWM1 generate a pulse signal 1952 via the driver 2010 to control the switch Q16.

在一個實施例中,驅動器2010包含比較器534、SR正反器522、和及閘524。工作在第一模式時,驅動器2010工作原理與圖15中的調光控制器1408中的相應組件相似。如圖15所述,比較器534比較感應信號1454與參考信號REF,以產生比較信號COMP。脈衝信號產生器504產生具有週期脈衝波形的脈衝信號536。在一個實施例中,當脈衝信號536為數位1時,SR正反器522將脈衝信號V522設為數位1。當比較信號COMP為數位1時(即當感應信號1454達到參考信號REF時),SR正反器將脈衝信號V522設為數位0。及閘524接受脈衝信號V522和脈波寬度調變信號PWM1,並在接腳CTRL上產生脈衝信號1952,以控制開關Q16。因此,當脈波寬度調變信號PWM1在第一狀態(例如,數位1)時,脈衝信號1952與脈衝信號V522相等,即根據比較信號COMP在數位1和數位0之間切換。當脈波寬度調變信號PWM1在第二狀態(例如,數位0)時,脈衝信號1952保持為數位0。根據圖15的相關描述,參考信號REF决定電流ILED1的峰值。脈波寬度調變信號PWM1的責任週期决定了開關Q16導通時間和斷開時間的比率。所以,透過調節參考信號REF和/或脈波寬度調變信號PWM1的責任週期,調光器2002能工作在類比調光模式、脈衝調光模式或組合調光模式,以調節平均電流IAVERAGEIn one embodiment, the driver 2010 includes a comparator 534, an SR flip-flop 522, and a AND gate 524. When operating in the first mode, the driver 2010 operates similarly to the corresponding components in the dimming controller 1408 of FIG. As depicted in Figure 15, comparator 534 compares sense signal 1454 with reference signal REF to produce comparison signal COMP. The pulse signal generator 504 generates a pulse signal 536 having a periodic pulse waveform. In one embodiment, when the pulse signal 536 is a digital one, the SR flip-flop 522 sets the pulse signal V 522 to a digital one. When the comparison signal COMP is a digital one (ie, when the sense signal 1454 reaches the reference signal REF), the SR flip-flop sets the pulse signal V 522 to a digital zero. The gate 524 receives the pulse signal V 522 and the pulse width modulation signal PWM1, and generates a pulse signal 1952 on the pin CTRL to control the switch Q16. Therefore, when the pulse width modulation signal PWM1 is in the first state (for example, the digit 1), the pulse signal 1952 is equal to the pulse signal V 522 , that is, it is switched between the digit 1 and the digit 0 according to the comparison signal COMP. When the pulse width modulation signal PWM1 is in the second state (eg, digit 0), the pulse signal 1952 remains at digit zero. According to the related description of Fig. 15, the reference signal REF determines the peak value of the current I LED1 . The duty cycle of the pulse width modulation signal PWM1 determines the ratio of the on-time and off-time of the switch Q16. Therefore, by adjusting the duty cycle of the reference signal REF and/or the pulse width modulation signal PWM1, the dimmer 2002 can operate in the analog dimming mode, the pulse dimming mode, or the combined dimming mode to adjust the average current I AVERAGE .

根據表3中的例子,當計數值VALUE_1504為0時,調光控 制器1908工作在第一模式,參考信號REF的值為VREF0,脈波寬度調變信號的值為DPWM0。當計數值VALUE_1504從0變為1時,調光控制器1908保持工作在第一模式,平均電流IAVERAGE的目標電流值從100% * IMAX變為30% * IMAX。若調光器2002工作在類比調光模式,則參考信號REF的值調節到30% * VREF0,脈波寬度調變信號PWM1的責任週期保持為DPWM0。若調光器2002工作在脈衝調光模式,則參考信號REF的值保持為VREF0,脈波寬度調變信號PWM1的責任週期調節為30% * DPWM0。若調光器2002工作在組合調光模式,參考信號REF和脈波寬度調變信號PWM1的責任週期都會發生改變,比如,參考信號REF的值調節為50% * VREF0,脈波寬度調變信號PWM1的責任週期調節為60% * DPWM0。在所有的三種情況下,平均電流IAVERAGE從100% * IMAX變為30% * IMAX,以完成第一模式下的調光控制。 According to the example in Table 3, when the count value VALUE_1504 is 0, the dimming controller 1908 operates in the first mode, the value of the reference signal REF is V REF0 , and the value of the pulse width modulation signal is D PWM0 . When the count value VALUE_1504 changes from 0 to 1, the dimming controller 1908 remains operating in the first mode, and the target current value of the average current I AVERAGE changes from 100% * I MAX to 30% * I MAX . If the dimmer 2002 operates in the analog dimming mode, the value of the reference signal REF is adjusted to 30% * V REF0 , and the duty cycle of the pulse width modulation signal PWM1 remains as D PWM0 . If the dimmer 2002 operates in the pulse dimming mode, the value of the reference signal REF is maintained at V REF0 , and the duty cycle of the pulse width modulation signal PWM1 is adjusted to 30% * D PWM0 . If the dimmer 2002 operates in the combined dimming mode, the duty cycle of the reference signal REF and the pulse width modulation signal PWM1 will change. For example, the value of the reference signal REF is adjusted to 50% * V REF0 , and the pulse width modulation The duty cycle of signal PWM1 is adjusted to 60% * D PWM0 . In all three cases, the average current I AVERAGE is changed from 100% * I MAX to 30% * I MAX to complete the dimming control in the first mode.

當調光控制器1908工作在第二模式時,如根據表3所示,當計數值VALUE_1504從1變為2時,調光控制器1908在CTRL接腳產生控制信號1954,以斷開開關Q16。更具體的,模式選擇模組2004控制脈波寬度調變信號產生器1508,使脈波寬度調變信號PWM1保持在第二狀態(例如,數位0)。及閘524保持接腳CTRL的電壓為低電位,以產生控制信號1954(例如,數位0)。因此,流過LED鏈312的電流ILED1被切斷。 When the dimming controller 1908 is operating in the second mode, as shown in Table 3, when the count value VALUE_1504 changes from 1 to 2, the dimming controller 1908 generates a control signal 1954 at the CTRL pin to open the switch Q16. . More specifically, the mode selection module 2004 controls the pulse width modulation signal generator 1508 to maintain the pulse width modulation signal PWM1 in the second state (eg, digit 0). Gate 524 maintains the voltage at pin CTRL low to generate control signal 1954 (e.g., digit 0). Therefore, the current I LED1 flowing through the LED chain 312 is cut off.

另外,在一個實施例中,電流源2006產生實質恒定的電流ILED2。模式選擇模組2004產生開關控制信號2012以導通開關2008。若電力開關304導通後接通了開關Q27,則電流ILED2的回路被接通。因此,電流ILED2流過LED鏈312,電流控制接腳CS,開關2008到地。其中,“實質恒定的電流ILED2”意思是電流ILED2的值可以在一定的範圍內改變,因此由電路組件產生的非理想的電流漣波可以被忽略。有利的是,由於電流ILED2不受一個或多個開關(如電力開關304和/或開關Q16)的影響,能减少或消除LED鏈312的電路干擾。因此,提高了光源驅動電路1900的調光穩定性。調光控制器1908可以有其他的結構而不侷限於圖20的例子。 Additionally, in one embodiment, current source 2006 produces a substantially constant current I LED2 . The mode selection module 2004 generates a switch control signal 2012 to turn on the switch 2008. If the switch Q27 is turned on after the power switch 304 is turned on, the circuit of the current I LED2 is turned on. Therefore, current I LED2 flows through LED chain 312, current control pin CS, and switch 2008 to ground. Among them, "substantially constant current I LED2 " means that the value of the current I LED2 can be varied within a certain range, so that non-ideal current chopping generated by the circuit components can be ignored. Advantageously, circuit currents of LED chain 312 can be reduced or eliminated since current I LED2 is unaffected by one or more switches, such as power switch 304 and/or switch Q16. Therefore, the dimming stability of the light source driving circuit 1900 is improved. The dimming controller 1908 can have other configurations and is not limited to the example of FIG.

圖21所示為根據本發明一實施例的光源驅動電路的信號示意圖。圖21將結合圖19、圖20和圖21進行描述,圖21顯示了接腳CLK的電壓VCLK、計數器1504的計數值VALUE_1504、脈波寬度調變信號PWM1 的電壓VPWM1、脈波寬度調變信號PWM1的責任週期DPWM1、流過LED鏈312的電流ILED、和電流ILED的平均電流IAVERAGE。在圖19的例子中,調光控制器1908根據表3確定工作模式,並控制LED鏈312的平均電流。 21 is a signal diagram of a light source driving circuit in accordance with an embodiment of the present invention. 21 will be described with reference to FIG. 19, FIG. 20 and FIG. 21. FIG. 21 shows the voltage V CLK of the pin CLK , the counter value VALUE_1504 of the counter 1504, the voltage V PWM1 of the pulse width modulation signal PWM1 , and the pulse width modulation. The duty cycle D PWM1 of the variable signal PWM1, the current I LED flowing through the LED chain 312, and the average current I AVERAGE of the current I LED . In the example of FIG. 19, dimming controller 1908 determines the mode of operation according to Table 3 and controls the average current of LED chain 312.

在t0”時刻,電力開關304斷開。調光控制器1908切斷開關Q27。計數值VALUE_1504為0。根據表3,模式選擇模組2004選擇第一模式,平均電流IAVERAGE的目標電流值為100%*IMAX。因此,脈波寬度調變信號產生器1508調節責任週期DPWM1為100%,參考信號產生器1506控制參考信號REF,以調節電流ILED的峰值為IPEAK(峰值電流的最大值)。在t1”時刻,接腳CLK的電壓VCLK具有一個指示電力開關304導通操作的正緣,平均電流IAVERAGE被逐步調節到100%*IMAX。在t1”到t2”期間,平均電流IAVERAGE保持在100%*IMAXAt time t0", the power switch 304 is turned off. The dimming controller 1908 turns off the switch Q27. The count value VALUE_1504 is 0. According to Table 3, the mode selection module 2004 selects the first mode, and the target current value of the average current I AVERAGE is 100%*I MAX . Therefore, the pulse width modulation signal generator 1508 adjusts the duty cycle D PWM1 to 100%, and the reference signal generator 1506 controls the reference signal REF to adjust the peak value of the current I LED to I PEAK (peak current) Maximum value). At time t1", the voltage V CLK of the pin CLK has a positive edge indicating that the power switch 304 is turned on, and the average current I AVERAGE is gradually adjusted to 100% * I MAX . During t1" to t2", the average current I AVERAGE is maintained at 100%*I MAX .

在t2”時刻,電壓VCLK具有一個指示電力開關304斷開操作的負緣。斷開開關Q27以切斷電流ILED。因此,在t2”到t3”期間,電流ILED降到實質0安培,平均電流IAVERAGE降到實質0安培。 At time t2", voltage V CLK has a negative edge indicating the power switch 304 is turned off. Switch Q27 is turned off to cut off current I LED . Therefore, during t2" to t3", current I LED drops to substantially 0 amps The average current I AVERAGE drops to substantially 0 amps.

在一個實施例中,在t2”時刻,電力開關304檢測到斷開操作時,接收到調光請求信號。計數值VALUE_1504從0增加到1。根據表3,在t2”到t4”期間,模式選擇模組2004保持在第一模式,平均電流IAVERAGE的目標電流值調整為30%*IMAX。在圖21的例子中,調光器2002工作在組合模式,脈波寬度調變信號產生器1508調節責任週期DPWM1為60%,參考信號產生器1506控制參考信號REF,以調節電流ILED的峰值為50%*IPEAK。在t3”時刻,接腳CLK的電壓VCLK具有一個指示電力開關304導通操作的正緣,平均電流IAVERAGE調節為30%*IMAX。在t3”到t4”期間,平均電流IAVERAGE保持在30%*IMAXIn one embodiment, at time t2", when the power switch 304 detects a disconnect operation, a dimming request signal is received. The count value VALUE_1504 is increased from 0 to 1. According to Table 3, during t2" to t4", the mode The selection module 2004 remains in the first mode, and the target current value of the average current I AVERAGE is adjusted to 30%*I MAX . In the example of Fig. 21, the dimmer 2002 operates in the combined mode, the pulse width modulation signal generator 1508 adjusts the duty cycle D PWM1 to 60%, and the reference signal generator 1506 controls the reference signal REF to adjust the peak value of the current I LED to 50%*I PEAK . At time t3", the voltage V CLK of the pin CLK has an indication power The positive edge of the switch 304 is turned on, and the average current I AVERAGE is adjusted to 30%*I MAX . During t3" to t4", the average current I AVERAGE is maintained at 30%*I MAX .

在t4”時刻,電壓VCLK具有一個指示電力開關304斷開操作的負緣,接收到調光請求信號。相應的,計數值VALUE_1504從1增加到2。根據表3,平均電流IAVERAGE的目標電流值調整為1%*IMAX,模式選擇模組2004選擇第二模式。因此,模式選擇模組2004產生開關控制信號2012以導通開關2008。在t4”到t5”期間,因為電力開關304和開關Q27都斷開,所以電流ILED和平均電流IAVERAGE都為0安培。 At time t4", the voltage V CLK has a negative edge indicating that the power switch 304 is turned off, and receives the dimming request signal. Accordingly, the count value VALUE_1504 is increased from 1 to 2. According to Table 3, the target of the average current I AVERAGE The current value is adjusted to 1%*I MAX , and the mode selection module 2004 selects the second mode. Therefore, the mode selection module 2004 generates the switch control signal 2012 to turn on the switch 2008. During t4" to t5", because of the power switch 304 and Switch Q27 is open, so both current I LED and average current I AVERAGE are 0 amps.

在t5”時刻,接腳CLK的電壓VCLK具有一個指示電力開關304導通操作的正緣。因為在電力開關304導通之後接通開關Q27,並且開關2008在t4”時刻導通,電流ILED2的通路被接通。在一個實施例中,電流ILED2等於1%*IMAX。因此,在t5”到t6”期間,平均電流IAVERAGE保持在1%*IMAXAt time t5", the voltage V CLK of the pin CLK has a positive edge indicating that the power switch 304 is conducting. Since the switch Q27 is turned on after the power switch 304 is turned on, and the switch 2008 is turned on at time t4", the path of the current I LED2 is turned on. Was connected. In one embodiment, current I LED2 is equal to 1%*I MAX . Therefore, during t5" to t6", the average current I AVERAGE is maintained at 1%*I MAX .

因此,在t1”到t6”期間,調光控制器1908根據計數值VALUE_1504選擇工作模式為第一模式和第二模式。有利的是,調光控制器1908可以獲得一個相對寬的調光範圍,如從100%*IMAX到1%*IMAX。調光控制器1908的工作原理和工作方式不侷限於圖21的例子。在另一個實施例中,在第二模式期間,調光控制器1908能提供另一個電流(例如,一個更小的恒定電流值0.01 * IMAX)流經LED鏈312和接腳CS。因此,LED鏈312的亮度可以更低,以達到更寬的調光範圍。另外,電流ILED2為一個實質恒定的值,不會根據開關Q16的導通和斷開動作而變化。因此,LED鏈312不會受到開關Q16雜訊的影響,增加了LED鏈312的穩定性。 Therefore, during t1" to t6", the dimming controller 1908 selects the operation mode as the first mode and the second mode based on the count value VALUE_1504. Advantageously, dimming controller 1908 can achieve a relatively wide dimming range, such as from 100%*I MAX to 1%*I MAX . The operation and operation of the dimming controller 1908 are not limited to the example of FIG. In another embodiment, during the second mode, the dimming controller 1908 can provide another current (eg, a smaller constant current value of 0.01 * I MAX ) through the LED chain 312 and the pin CS. Therefore, the brightness of the LED chain 312 can be lower to achieve a wider dimming range. In addition, the current I LED2 is a substantially constant value and does not change according to the on and off operations of the switch Q16. Therefore, the LED chain 312 is not affected by the noise of the switch Q16, which increases the stability of the LED chain 312.

圖22所示為根據本發明一實施例的由調光控制器(例如,調光控制器1908)執行的控制LED光源調光的方法流程圖2200。圖22將結合圖19-圖21進行描述。圖22所涵蓋的具體步驟僅僅作為示例。也就是說,本發明適其他合理的流程或對圖22進行改進的步驟。 22 is a flow chart 2200 of a method of controlling dimming of an LED source performed by a dimming controller (eg, dimming controller 1908) in accordance with an embodiment of the present invention. Figure 22 will be described in conjunction with Figures 19-21. The specific steps covered in Figure 22 are merely examples. That is, the present invention is suitable for other reasonable processes or steps for improving FIG.

在步驟2202中,功率轉換器(例如,電力轉換器310),為光源(例如,LED鏈312)提供調節後的電壓。 In step 2202, a power converter (eg, power converter 310) provides a regulated voltage to a light source (eg, LED chain 312).

在步驟2204中,接受開關監測信號。開關監測信號指示連接在電源和功率轉換器之間電源開關(例如,電力開關304)的導通狀態。 In step 2204, the switch monitoring signal is accepted. The switch monitoring signal indicates the conduction state of the power switch (eg, power switch 304) connected between the power source and the power converter.

在步驟2206中,根據開關監測信號選擇工作模式為第一模式或第二模式。在一個實施例中,當接收到指示電源開關斷開的開關監測信號時,計數器的計數值從第一數值變為第二數值。將計數值與臨限值(例如,1)進行比較,並根據比較結果選擇工作模式。 In step 2206, the operating mode is selected to be the first mode or the second mode according to the switch monitoring signal. In one embodiment, the counter value of the counter changes from the first value to the second value upon receiving a switch monitoring signal indicating that the power switch is off. The count value is compared with a threshold value (for example, 1), and the operation mode is selected based on the comparison result.

在步驟2208中,當工作模式選擇為第一模式時,控制開關(例如,開關Q16)根據脈衝信號(例如,脈衝信號1952),工作在第一狀態(例如,導通狀態)和第二狀態(例如,斷開狀態)。在一個實施例中,在控制開關處於第一狀態時,流經光源的第一電流(例如,電流ILED1)增加。 在一個實施例中,當工作模式選擇為第一模式時,接收到參考信號(例如,參考信號REF)和脈波寬度調變信號(例如,脈波寬度調變信號PWM1)。在第一模式下,將指示流經光源的第一電流的感應信號與參考信號進行比較。在脈波寬度調變信號處於第一狀態(例如,數位1)時,控制開關根據比較結果導通和斷開。在脈波寬度調變信號處於第二狀態(例如,數位0)時,斷開控制開關。在一個實施例中,在第一模式下,當計數值從第三數值變為第四數值時,調節參考信號的值和脈波寬度調變信號的責任週期,以調節光源的亮度。 In step 2208, when the operating mode is selected to be the first mode, the control switch (eg, switch Q16) operates in a first state (eg, an on state) and a second state in accordance with a pulse signal (eg, pulse signal 1952) ( For example, disconnected state). In one embodiment, the first current flowing through the light source (eg, current I LED1 ) is increased while the control switch is in the first state. In one embodiment, when the operating mode is selected to be the first mode, a reference signal (eg, reference signal REF) and a pulse width modulation signal (eg, pulse width modulation signal PWM1) are received. In the first mode, an induced signal indicative of a first current flowing through the light source is compared to a reference signal. When the pulse width modulation signal is in the first state (for example, digit 1), the control switch is turned on and off according to the comparison result. The control switch is turned off when the pulse width modulation signal is in the second state (eg, digit 0). In one embodiment, in the first mode, when the count value is changed from the third value to the fourth value, the value of the reference signal and the duty cycle of the pulse width modulation signal are adjusted to adjust the brightness of the light source.

在步驟2210中,當工作模式選擇為第二模式時,根據控制信號(例如,控制信號1954)切斷第一電流(例如,電流ILED1)。在一個實施例中,在第二模式下,脈波寬度調變信號保持在第二狀態(例如,數位0),產生控制信號(例如,數位0)以切斷第一電流。 In step 2210, when the operation mode is selected to the second mode, according to a control signal (e.g., control signal 1954) off a first current (e.g., current I LED1). In one embodiment, in the second mode, the pulse width modulation signal remains in the second state (eg, digit 0), and a control signal (eg, digit 0) is generated to turn off the first current.

在步驟2212中,當工作模式選擇為第二模式時,流過LED鏈312的電流為一個實質恒定的電流(例如,電流ILED2)。在一個實施例中,電流ILED2由電流源(例如,電流源2006)提供。當選擇第二模式時,模式選擇模組2004產生開關控制信號2012,以導通串聯在電流源2006上的開關2008。 In step 2212, when the operating mode is selected to be the second mode, the current flowing through the LED chain 312 is a substantially constant current (eg, current I LED2 ). In one embodiment, current I LED2 is provided by a current source (eg, current source 2006). When the second mode is selected, the mode selection module 2004 generates a switch control signal 2012 to turn on the switch 2008 connected in series with the current source 2006.

因此,本發明的實施例公開了一種控制光源調光的控制器和方法、以及對光源供電的驅動電路。控制器包括電壓控制接腳和電流控制接腳。當調光控制器工作在第一模式時提供脈衝信號,該脈衝信號控制控制開關工作在第一狀態或第二狀態,當控制開關工作在第一狀態時,流經光源的第一電流增加,當控制開關工作在第二狀態時,第一電流减小,其中,當調光控制器工作在第二模式時,電壓控制接腳為控制開關提供控制信號,切斷第一電流;當調光控制器工作在第二模式時產生流過光源的第二電流。本發明優點在於,實現了對光源更寬範圍的調光,以提高能量利用效率,並提高了光源的調光穩定性。 Accordingly, embodiments of the present invention disclose a controller and method for controlling dimming of a light source, and a drive circuit for powering the light source. The controller includes a voltage control pin and a current control pin. Providing a pulse signal when the dimming controller operates in the first mode, the pulse signal controls the control switch to operate in the first state or the second state, and when the control switch operates in the first state, the first current flowing through the light source increases, When the control switch operates in the second state, the first current decreases, wherein when the dimming controller operates in the second mode, the voltage control pin provides a control signal for the control switch to cut off the first current; when dimming The controller operates in the second mode to generate a second current flowing through the source. The invention has the advantages that a wider range of dimming of the light source is realized, the energy utilization efficiency is improved, and the dimming stability of the light source is improved.

上文具體實施方式和附圖僅為本發明之常用實施例。顯然,在不脫離後附申請專利範圍所界定的本發明精神和保護範圍的前提下可以有各種增補、修改和替換。本技術領域中具有通常知識者應 該理解,本發明在實際應用中可根據具體的環境和工作要求在不背離發明準則的前提下在形式、結構、佈局、比例、材料、元素、元件及其它方面有所變化。因此,在此披露之實施例僅說明而非限制,本發明之範圍由後附申請專利範圍及其合法均等物界定,而不限於先前之描述。 The above detailed description and the accompanying drawings are only typical embodiments of the invention. It is apparent that various additions, modifications and substitutions are possible without departing from the spirit and scope of the invention as defined by the appended claims. Those with ordinary knowledge in the technical field should It is to be understood that the present invention may be modified in form, structure, arrangement, ratio, material, element, element, and other aspects in accordance with the specific conditions of the invention. Therefore, the embodiments disclosed herein are to be construed as illustrative and not restricting

304‧‧‧電力開關 304‧‧‧Power switch

306‧‧‧交流/直流(AC/DC)轉換器 306‧‧•AC/DC converter

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

312‧‧‧LED鏈 312‧‧‧LED chain

1450‧‧‧開關監測信號 1450‧‧‧Switch monitoring signal

1454‧‧‧感應信號 1454‧‧‧Induction signal

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

1908‧‧‧調光控制器 1908‧‧‧ dimming controller

1952‧‧‧脈衝信號 1952‧‧‧ pulse signal

1954‧‧‧控制信號 1954‧‧‧Control signal

Claims (24)

一種光源調光控制器,包括:一電壓控制接腳,當該光源調光控制器工作在一第一模式時提供一脈衝信號,該脈衝信號控制一控制開關工作於一第一狀態或一第二狀態,當該控制開關工作在該第一狀態時,流經一光源的一第一電流增加,當該控制開關工作在該第二狀態時,該第一電流减小,其中,當該光源調光控制器工作在一第二模式時,該電壓控制接腳為該控制開關提供一控制信號,切斷該第一電流;以及一電流控制接腳,當該光源調光控制器工作在該第二模式時產生流過該光源的一第二電流,其中,該光源調光控制器,進一步包括:一監測接腳,接收一開關監測信號,該開關監測信號指示連接在一電源和一電力轉換器之間的一電源開關的一導通狀態,其中,該電力轉換器從該電源接收一輸入電壓,並為該光源提供一輸出電壓;以及一調光器,耦接該監測接腳,根據該開關監測信號選擇該光源調光控制器工作於該第一模式或該第二模式,該調光器包括:一計數器,提供根據該開關監測信號變化的一計數值;以及一模式選擇模組,耦接該計數器,根據該計數值選擇該光源調光控制器的一工作模式。 A light source dimming controller includes: a voltage control pin that provides a pulse signal when the light source dimming controller operates in a first mode, the pulse signal controlling a control switch to operate in a first state or a first a second state, when the control switch operates in the first state, a first current flowing through a light source increases, and when the control switch operates in the second state, the first current decreases, wherein, when the light source is When the dimming controller operates in a second mode, the voltage control pin provides a control signal to the control switch to cut off the first current; and a current control pin, when the light source dimming controller operates in the The second mode generates a second current flowing through the light source, wherein the light source dimming controller further comprises: a monitoring pin, receiving a switch monitoring signal, the switch monitoring signal indicating connection to a power source and a power An on state of a power switch between the converters, wherein the power converter receives an input voltage from the power source and provides an output voltage for the light source; and a dimmer, Connecting the monitoring pin, selecting the light source dimming controller to operate in the first mode or the second mode according to the switch monitoring signal, the dimmer comprising: a counter providing a count value according to the switch monitoring signal change And a mode selection module coupled to the counter, and selecting an operating mode of the light source dimming controller according to the count value. 如申請專利範圍第1項的光源調光控制器,其中,該第二電流具有實質恒定的一電流值。 The light source dimming controller of claim 1, wherein the second current has a substantially constant current value. 如申請專利範圍第1項的光源調光控制器,其中,該模式選擇模組比較該計數值和一臨限值,以選擇該工作模式。 The light source dimming controller of claim 1, wherein the mode selection module compares the count value with a threshold to select the working mode. 如申請專利範圍第1項的光源調光控制器,其中,當該開關監 測信號指示該電源開關斷開時,該計數器將該計數值從一第一數值改變到一第二數值。 For example, the light source dimming controller of claim 1 of the patent scope, wherein When the test signal indicates that the power switch is off, the counter changes the count value from a first value to a second value. 如申請專利範圍第1項的光源調光控制器,進一步包括:一驅動器,耦接該調光器,其中,該調光器提供一參考信號和一脈波寬度調變信號,在該第一模式下,該驅動器比較該參考信號和一感應信號,該感應信號指示流過該光源的該第一電流,並根據一比較結果和該脈波寬度調變信號產生該脈衝信號。 The light source dimming controller of claim 1, further comprising: a driver coupled to the dimmer, wherein the dimmer provides a reference signal and a pulse width modulation signal at the first In the mode, the driver compares the reference signal with a sensing signal, the sensing signal indicating the first current flowing through the light source, and generating the pulse signal according to a comparison result and the pulse width modulation signal. 如申請專利範圍第5項的光源調光控制器,其中,該脈波寬度調變信號具有一第一狀態和一第二狀態,當該脈波寬度調變信號處於該第一狀態時,該脈衝信號根據該比較結果導通和斷開該控制開關;當該脈波寬度調變信號處於該第二狀態時,該脈衝信號斷開該控制開關。 The light source dimming controller of claim 5, wherein the pulse width modulation signal has a first state and a second state, when the pulse width modulation signal is in the first state, The pulse signal turns on and off the control switch according to the comparison result; when the pulse width modulation signal is in the second state, the pulse signal turns off the control switch. 如申請專利範圍第5項的光源調光控制器,其中,該脈波寬度調變信號具有一第一狀態和一第二狀態,當該脈波寬度調變信號處於該第二狀態時,該第一電流减小直到達到一預設電流值。 The light source dimming controller of claim 5, wherein the pulse width modulation signal has a first state and a second state, when the pulse width modulation signal is in the second state, The first current is reduced until a predetermined current value is reached. 如申請專利範圍第5項的光源調光控制器,其中,該脈波寬度調變信號具有一第一狀態和一第二狀態,當該光源調光控制器切換到該第二模式時,該調光器保持該脈波寬度調變信號處於該第二狀態,該電壓控制接腳產生該控制信號,以切斷該第一電流。 The light source dimming controller of claim 5, wherein the pulse width modulation signal has a first state and a second state, when the light source dimming controller switches to the second mode, The dimmer keeps the pulse width modulation signal in the second state, and the voltage control pin generates the control signal to cut off the first current. 如申請專利範圍第5項的光源調光控制器,其中,當該光源調光控制器工作在該第一模式時,並當該計數器的該計數值從一第一數值變成一第二數值時,該調光器保持該參考信號的值,並調節該脈波寬度調變信號的一責任週期。 The light source dimming controller of claim 5, wherein when the light source dimming controller operates in the first mode, and when the counter value of the counter changes from a first value to a second value The dimmer maintains the value of the reference signal and adjusts a duty cycle of the pulse width modulation signal. 如申請專利範圍第5項的光源調光控制器,其中,當該光源調 光控制器工作在該第一模式時,並當該計數器的該計數值從一第一數值變成一第二數值時,該調光器調節該參考信號的值,並保持該脈波寬度調變信號的一責任週期。 For example, the light source dimming controller of claim 5, wherein when the light source is adjusted When the light controller operates in the first mode, and when the count value of the counter changes from a first value to a second value, the dimmer adjusts the value of the reference signal and maintains the pulse width modulation A duty cycle of the signal. 如申請專利範圍第5項的光源調光控制器,其中,當該光源調光控制器工作在該第一模式時,並當該計數器的該計數值從一第一數值變成一第二數值時,該調光器調節該參考信號的值和該脈波寬度調變信號的一責任週期。 The light source dimming controller of claim 5, wherein when the light source dimming controller operates in the first mode, and when the counter value of the counter changes from a first value to a second value The dimmer adjusts a value of the reference signal and a duty cycle of the pulse width modulation signal. 如申請專利範圍第1項的光源調光控制器,進一步包括:一電流源,產生該第二電流;一第二開關,耦接該電流源;其中,當該光源調光控制器工作在該第二模式時,該調光器導通該第二開關,使該第二電流經過該電流控制接腳和該光源,當該光源調光控制器工作在該第一模式時,該調光器斷開該第二開關以切斷該第二電流。 The light source dimming controller of claim 1, further comprising: a current source to generate the second current; a second switch coupled to the current source; wherein, when the light source dimming controller operates In the second mode, the dimmer turns on the second switch to pass the second current through the current control pin and the light source. When the light source dimming controller operates in the first mode, the dimmer is off. The second switch is turned on to cut off the second current. 一種電子系統,包括:一功率轉換器,從一整流器接收一輸入電壓,並為一光源提供一輸出電壓,其中,當一電源開關導通時,該電源開關將一電能從一交流電源傳到該整流器;以及一光源調光控制器,耦接該功率轉換器,檢測指示該電源開關之一狀態的一調光請求信號,並根據該調光請求信號選擇工作在一第一模式或一第二模式,當該光源調光控制器工作在該第一模式時,該光源調光控制器為一電壓控制接腳提供一脈衝信號,以控制流經該光源的一第一電流,當該脈衝信號處於一第一狀態時,該第一電流增加,當該脈衝信號處於一第二狀態時,該第一電流减小,當該光源調光控制器工作在該第二模式時,該光源調光控 制器為該電壓控制接腳提供一控制信號,以切斷該第一電流,並接通一個實質恒定的電流流經該光源,其中,該光源調光控制器進一步包括:一觸發監測單元,接收指示該電源開關之一狀態的一開關監測信號,並根據該開關監測信號檢測該調光請求信號;一計數器,提供一計數值,該計數值根據該調光請求信號改變;以及一模式選擇模組,耦接該計數器,根據該計數值選擇該光源調光控制器工作於該第一模式或該第二模式。 An electronic system comprising: a power converter receiving an input voltage from a rectifier and providing an output voltage to a light source, wherein the power switch transmits an electrical energy from an alternating current source to the power source when the power switch is turned on And a light source dimming controller coupled to the power converter, detecting a dimming request signal indicating a state of the power switch, and selecting to operate in a first mode or a second according to the dimming request signal a mode, when the light source dimming controller operates in the first mode, the light source dimming controller provides a pulse signal to a voltage control pin to control a first current flowing through the light source, when the pulse signal When in a first state, the first current increases, and when the pulse signal is in a second state, the first current decreases, and when the light source dimming controller operates in the second mode, the light source is dimmed control The controller provides a control signal for the voltage control pin to cut off the first current and turn on a substantially constant current flowing through the light source, wherein the light source dimming controller further comprises: a trigger monitoring unit, Receiving a switch monitoring signal indicating a state of the power switch, and detecting the dimming request signal according to the switch monitoring signal; a counter providing a count value, the count value is changed according to the dimming request signal; and a mode selection The module is coupled to the counter, and the light source dimming controller is selected to operate in the first mode or the second mode according to the count value. 如申請專利範圍第13項的電子系統,進一步包括:一控制開關,耦接該光源,受控於該脈衝信號和該控制信號控制,其中,當該光源調光控制器工作在該第一模式時,該控制開關根據該脈衝信號導通和斷開;當該光源調光控制器工作在該第二模式時,該控制開關保持斷開狀態。 The electronic system of claim 13, further comprising: a control switch coupled to the light source, controlled by the pulse signal and the control signal, wherein the light source dimming controller operates in the first mode The control switch is turned on and off according to the pulse signal; when the light source dimming controller operates in the second mode, the control switch remains in an off state. 如申請專利範圍第13項的電子系統,其中,該模式選擇模組比較該計數值和一臨限值,選擇該光源調光控制器工作於該第一模式或該第二模式。 The electronic system of claim 13, wherein the mode selection module compares the count value with a threshold value, and selects the light source dimming controller to operate in the first mode or the second mode. 如申請專利範圍第13項的電子系統,其中,當該開關監測信號指示該電源開關斷開時,該觸發監測單元接收該調光請求信號。 The electronic system of claim 13, wherein the trigger monitoring unit receives the dimming request signal when the switch monitoring signal indicates that the power switch is turned off. 如申請專利範圍第13項的電子系統,其中,該光源調光控制器包括:一驅動器,接收一參考信號和一脈波寬度調變信號,比較該參考信號和一感應信號,該脈波寬度調變信號具有一第一狀態和一第二狀態,該感應信號指示流經該光源的該第一電流,其中, 當該光源調光控制器工作在該第一模式,並該脈波寬度調變信號處於該第一狀態時,該驅動器根據一比較結果,切換該脈衝信號的狀態,當該脈波寬度調變信號處於該第二狀態時,該驅動器將該脈衝信號保持在該第二狀態。 The electronic system of claim 13, wherein the light source dimming controller comprises: a driver receiving a reference signal and a pulse width modulation signal, comparing the reference signal and a sensing signal, the pulse width The modulation signal has a first state and a second state, the sensing signal indicating the first current flowing through the light source, wherein When the light source dimming controller operates in the first mode, and the pulse width modulation signal is in the first state, the driver switches the state of the pulse signal according to a comparison result, when the pulse width is modulated When the signal is in the second state, the driver maintains the pulse signal in the second state. 如申請專利範圍第17項的電子系統,其中,當接收到該調光請求信號時,該光源調光控制器保持該參考信號的值,並調節該脈波寬度調變信號的一責任週期。 The electronic system of claim 17, wherein the light source dimming controller maintains the value of the reference signal and adjusts a duty cycle of the pulse width modulation signal when the dimming request signal is received. 如申請專利範圍第17項的電子系統,其中,當接收到該調光請求信號時,該光源調光控制器調節該參考信號的值,並保持該脈波寬度調變信號的一責任週期。 The electronic system of claim 17, wherein the light source dimming controller adjusts the value of the reference signal and maintains a duty cycle of the pulse width modulation signal when the dimming request signal is received. 如申請專利範圍第17項的電子系統,其中,當接收到該調光請求信號時,該光源調光控制器調節該參考信號的值和該脈波寬度調變信號的一責任週期。 The electronic system of claim 17, wherein the light source dimming controller adjusts a value of the reference signal and a duty cycle of the pulse width modulation signal when the dimming request signal is received. 如申請專利範圍第17項的電子系統,其中,當該光源調光控制器切換到該第二模式時,該驅動器終止該脈衝信號,並使該脈波寬度調變信號保持在該第二狀態,以產生該控制信號。 The electronic system of claim 17, wherein when the light source dimming controller switches to the second mode, the driver terminates the pulse signal and maintains the pulse width modulation signal in the second state To generate the control signal. 一種調光方法,包括:利用一功率轉換器為一光源提供一調節後電壓;接收指示一電源開關之一導通狀態的一開關監測信號,該電源開關耦接於一電源和該功率轉換器之間;根據該開關監測信號,選擇一工作模式為一第一模式或一第二模式;當工作在該第一模式時,一控制開關工作在一第一狀態或一第二狀態,其中當該控制開關工作在該第一狀態時,流經該光源的一第一電流增加,當該控制開關工作在該第二狀態時,該第一電流 减小;當工作在該第二模式時,切斷該第一電流;以及當工作在該第二模式時,導通實質恒定的一電流流過該光源,其中,該調光方法進一步包括:提供一計數值,當該開關監測信號指示該電源開關斷開時,該計數值從一第一數值變為一第二數值;比較該計數值和一臨限值,以選擇工作在該第一模式或該第二模式。 A dimming method includes: providing a regulated voltage to a light source by using a power converter; receiving a switch monitoring signal indicating a conductive state of a power switch, the power switch coupled to a power source and the power converter According to the switch monitoring signal, selecting a working mode as a first mode or a second mode; when operating in the first mode, a control switch operates in a first state or a second state, wherein When the control switch operates in the first state, a first current flowing through the light source increases, and when the control switch operates in the second state, the first current Decrease; turning off the first current when operating in the second mode; and turning on a substantially constant current through the light source when operating in the second mode, wherein the dimming method further comprises: providing a count value, when the switch monitor signal indicates that the power switch is turned off, the count value is changed from a first value to a second value; comparing the count value with a threshold value to select to operate in the first mode Or the second mode. 如申請專利範圍第22項的方法,進一步包括:接收一參考信號和一脈波寬度調變信號,該脈波寬度調變信號具有一第一狀態和一第二狀態;當工作在該第一模式時,比較指示該第一電流的一感應信號和該參考信號並產生一比較結果;當工作在該第一模式時,並當該脈波寬度調變信號處於該第一狀態時,根據該比較結果導通或斷開該控制開關;當工作在該第一模式時,並當該脈波寬度調變信號處於該第二狀態時,斷開該控制開關;以及當工作在該第二模式時,保持該脈波寬度調變信號處於該第二狀態,以切斷該第一電流。 The method of claim 22, further comprising: receiving a reference signal and a pulse width modulation signal, the pulse width modulation signal having a first state and a second state; when operating at the first In the mode, comparing a sensing signal indicating the first current with the reference signal and generating a comparison result; when operating in the first mode, and when the pulse width modulation signal is in the first state, according to the The comparison result turns on or off the control switch; when operating in the first mode, and when the pulse width modulation signal is in the second state, the control switch is turned off; and when operating in the second mode And maintaining the pulse width modulation signal in the second state to cut off the first current. 如申請專利範圍第23項的方法,進一步包括:當工作在該第一模式時,並當該計數值從該第一數值變為該第二數值時,調節該參考信號的值和該脈波寬度調變信號的一責任週期。 The method of claim 23, further comprising: adjusting the value of the reference signal and the pulse wave when operating in the first mode and when the count value is changed from the first value to the second value A duty cycle of the width modulation signal.
TW102110490A 2012-07-26 2013-03-25 Controller and method for dimming and electronic system thereof TWI556686B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/559,451 US9232591B2 (en) 2008-12-12 2012-07-26 Circuits and methods for driving light sources

Publications (2)

Publication Number Publication Date
TW201406207A TW201406207A (en) 2014-02-01
TWI556686B true TWI556686B (en) 2016-11-01

Family

ID=47757304

Family Applications (2)

Application Number Title Priority Date Filing Date
TW102110490A TWI556686B (en) 2012-07-26 2013-03-25 Controller and method for dimming and electronic system thereof
TW102121793A TWI533746B (en) 2012-07-26 2013-06-19 Controller and method for dimming and light source driving circuit thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW102121793A TWI533746B (en) 2012-07-26 2013-06-19 Controller and method for dimming and light source driving circuit thereof

Country Status (5)

Country Link
EP (1) EP2690930A1 (en)
JP (1) JP2014026954A (en)
CN (2) CN103582239B (en)
BR (1) BR102013017991A2 (en)
TW (2) TWI556686B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014065389A1 (en) 2012-10-25 2014-05-01 Semiconductor Energy Laboratory Co., Ltd. Central control system
TWI509974B (en) * 2014-02-14 2015-11-21 Elite Semiconductor Esmt Ac voltage adjustment circuit and led brightness adjustment circuit
TWI504313B (en) * 2014-02-21 2015-10-11 High utilization of light emitting diode components
TWI561118B (en) * 2014-08-13 2016-12-01 Ind Tech Res Inst Dimming system and operating method thereof
CN104486860B (en) * 2014-11-12 2018-03-09 肖志军 A kind of LED light adjusting circuit
CN105680842B (en) * 2014-11-18 2018-08-07 台湾半导体股份有限公司 The driving circuit of operation mode can be adjusted by external pin
CN105792471A (en) * 2014-12-26 2016-07-20 凹凸电子(武汉)有限公司 Light source driving circuit, controller and control method
KR20170071307A (en) * 2015-12-15 2017-06-23 엘지이노텍 주식회사 Power apparatus and method for controlling output current of the same
CN105744676B (en) * 2016-01-29 2017-07-14 高玉扬 A kind of LED light-dimming methods based on simple switch
DE102016107578B4 (en) * 2016-04-25 2023-06-01 Vossloh-Schwabe Deutschland Gmbh Operating circuit and method for operating at least one light source
CN109196953B (en) * 2016-05-30 2021-02-09 昕诺飞控股有限公司 Method of lighting driver protection and lighting driver comprising such protection
CN105934040B (en) * 2016-06-15 2018-06-19 陕西亚成微电子股份有限公司 A kind of light adjusting circuit
CN106314013A (en) * 2016-08-19 2017-01-11 李莉 LED light source animation copy table with adjustable brightness
CN109143873A (en) * 2017-06-16 2019-01-04 佛山市顺德区美的电热电器制造有限公司 Function switch control method and device, household electrical appliance, storage medium
CN107613610B (en) * 2017-09-26 2023-10-24 深圳市中科智联科技有限公司 Intelligent lighting controller
US10136488B1 (en) * 2017-10-05 2018-11-20 Linear Technology Holding, LLC LED dimming
JP6988515B2 (en) * 2018-01-25 2022-01-05 セイコーエプソン株式会社 Light source device, projection type display device, and semiconductor device
CN108650738B (en) * 2018-06-06 2024-04-23 深圳率能半导体有限公司 LED control circuit
DE102019103660A1 (en) * 2019-02-13 2020-08-13 Vossloh-Schwabe Deutschland Gmbh Operating circuit for operating several loads
CN110035584B (en) * 2019-04-28 2024-03-19 深圳市晟碟半导体有限公司 LED dimming circuit, dimming device and dimming method for improving dimming precision
CN110572902B (en) * 2019-08-27 2022-05-24 昂宝电子(上海)有限公司 Quasi-resonant dimming control system and method
TWI716152B (en) * 2019-10-16 2021-01-11 東林科技股份有限公司 Dimming circuit, dimmer having the same and controller thereof
CN112788815B (en) * 2019-11-04 2022-11-08 海信视像科技股份有限公司 Display device and power supply circuit
CN110881231B (en) * 2019-11-27 2021-05-18 成都芯源系统有限公司 Dimming circuit and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201002156A (en) * 2008-06-30 2010-01-01 Green Solution Technology Inc LED driving circuit, LED driving controller and transistor switching module thereof
US7759881B1 (en) * 2008-03-31 2010-07-20 Cirrus Logic, Inc. LED lighting system with a multiple mode current control dimming strategy
TWM410424U (en) * 2011-04-07 2011-08-21 Excelliance Mos Corp Driving circuit of light emitting diode and light source apparatus
CN102395230A (en) * 2011-05-04 2012-03-28 凹凸电子(武汉)有限公司 Controller and method for controlling dimming of light sources, and light source driving circuit

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003157986A (en) * 2001-11-26 2003-05-30 Matsushita Electric Works Ltd Lighting device
JP2009123681A (en) * 2007-10-25 2009-06-04 Panasonic Electric Works Co Ltd Led dimming apparatus
US8339067B2 (en) * 2008-12-12 2012-12-25 O2Micro, Inc. Circuits and methods for driving light sources
US8076867B2 (en) * 2008-12-12 2011-12-13 O2Micro, Inc. Driving circuit with continuous dimming function for driving light sources
JP2010198860A (en) * 2009-02-24 2010-09-09 Koito Mfg Co Ltd Discharge lamp-lighting circuit
US8912781B2 (en) * 2010-07-30 2014-12-16 Cirrus Logic, Inc. Integrated circuit switching power supply controller with selectable buck mode operation
KR20160121591A (en) * 2010-08-18 2016-10-19 핀식스 코포레이션 Very high frequency switching cell-based power converter
US8237371B2 (en) * 2010-10-29 2012-08-07 O2 Micro, Inc Differential driving circuit for powering a light source
CN102387639B (en) * 2011-02-16 2013-08-21 凹凸电子(武汉)有限公司 Driving circuit, method and dimming controller for driving light source

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7759881B1 (en) * 2008-03-31 2010-07-20 Cirrus Logic, Inc. LED lighting system with a multiple mode current control dimming strategy
TW201002156A (en) * 2008-06-30 2010-01-01 Green Solution Technology Inc LED driving circuit, LED driving controller and transistor switching module thereof
TWM410424U (en) * 2011-04-07 2011-08-21 Excelliance Mos Corp Driving circuit of light emitting diode and light source apparatus
CN102395230A (en) * 2011-05-04 2012-03-28 凹凸电子(武汉)有限公司 Controller and method for controlling dimming of light sources, and light source driving circuit

Also Published As

Publication number Publication date
JP2014026954A (en) 2014-02-06
TW201406207A (en) 2014-02-01
CN103582239A (en) 2014-02-12
EP2690930A1 (en) 2014-01-29
BR102013017991A2 (en) 2014-12-23
CN103582240B (en) 2015-12-09
CN103582239B (en) 2016-02-03
TW201406196A (en) 2014-02-01
TWI533746B (en) 2016-05-11
CN103582240A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
TWI556686B (en) Controller and method for dimming and electronic system thereof
TWI581657B (en) Controller and driving circuit for controlling dimming of light emitting diode light source
TWI478625B (en) Dimming controllers, driving circuits and driving methods for driving light source
TWI461105B (en) Dimming controllers, driving circuits and methods for controlling power of light source
US8339067B2 (en) Circuits and methods for driving light sources
US9232591B2 (en) Circuits and methods for driving light sources
US8508150B2 (en) Controllers, systems and methods for controlling dimming of light sources
TWI483647B (en) Dimming controller, system and method thereof
US9386653B2 (en) Circuits and methods for driving light sources
US8378588B2 (en) Circuits and methods for driving light sources
TWI568311B (en) Light source driving circuit, color temperature controller and method for controlling color temperature of light source
EP2503845B1 (en) Lighting device for solid-state light source, and illumination apparatus and system including same
US8716949B2 (en) Lighting device for solid-state light source and illumination apparatus using same
US8482219B2 (en) Driving circuit with dimming controller for driving light sources
TWI568309B (en) Driving circuit, dimming controller and control methods for light source
US20130278145A1 (en) Circuits and methods for driving light sources
TW201026148A (en) Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
TWI653907B (en) A driver circuit for a light source, and a controller for luminance and color temperature
US10757770B2 (en) Light source driving circuits and light source module
GB2520425A (en) Circuits and methods for driving light sources
GB2513478A (en) Circuits and methods for driving light sources
TWI612842B (en) Light source driving circuit and light source module

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees