[go: up one dir, main page]

TWI483647B - Dimming controller, system and method thereof - Google Patents

Dimming controller, system and method thereof Download PDF

Info

Publication number
TWI483647B
TWI483647B TW101107567A TW101107567A TWI483647B TW I483647 B TWI483647 B TW I483647B TW 101107567 A TW101107567 A TW 101107567A TW 101107567 A TW101107567 A TW 101107567A TW I483647 B TWI483647 B TW I483647B
Authority
TW
Taiwan
Prior art keywords
signal
dimming
switch
power switch
power
Prior art date
Application number
TW101107567A
Other languages
Chinese (zh)
Other versions
TW201238397A (en
Inventor
Ching Chuan Kuo
Yung-Lin Lin
Original Assignee
O2Micro Int Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/042,349 external-priority patent/US8508150B2/en
Application filed by O2Micro Int Ltd filed Critical O2Micro Int Ltd
Publication of TW201238397A publication Critical patent/TW201238397A/en
Application granted granted Critical
Publication of TWI483647B publication Critical patent/TWI483647B/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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/185Controlling the light source by remote control via power line carrier transmission

Landscapes

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

Description

調光控制器、系統及其方法Dimming controller, system and method thereof

本發明係關於一種電子技術領域,特別是關於一種對光源的調光進行控制的控制器、系統及方法。The present invention relates to the field of electronic technology, and more particularly to a controller, system and method for controlling dimming of a light source.

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

圖1所示為一種傳統的LED驅動電路100的示意圖。LED驅動電路100利用LED串106作為光源。LED串106包含多個串聯的LED。電力轉換器102用於將直流輸入電壓VIN 轉換成期望的直流輸出電壓VOUT 用於給LED串106供電。與電力轉換器102耦接的開關104能將LED串106與輸入電壓VIN 接通或斷開進而開啟或關閉LED燈。電力轉換器102接收來自電流偵測電阻RSEN 的回饋信號並調整輸出電壓VOUT 以使LED串106產生期望的亮度。該傳統方案的缺點之一是,該期望亮度是預先設定好的,在使用過程中,使用者無法調整亮度。FIG. 1 is a schematic diagram of a conventional LED driving circuit 100. The LED drive circuit 100 utilizes the LED string 106 as a light source. LED string 106 includes a plurality of LEDs in series. The power converter 102 is operative to convert the DC input voltage V IN to a desired DC output voltage V OUT for powering the LED string 106. A switch 104 coupled to the power converter 102 can turn the LED string 106 on or off with the input voltage V IN to turn the LED lamp on or off. Power converter 102 receives the feedback signal from current sense resistor R SEN and adjusts output voltage V OUT to cause LED string 106 to produce the desired brightness. One of the disadvantages of this conventional solution is that the desired brightness is preset, and the user cannot adjust the brightness during use.

圖2所示為另一種傳統的LED驅動電路200的示意圖。電力轉換器102用於將直流輸入電壓VIN 轉換成期望的直流輸出電壓VOUT 用於給LED串106供電。與電力轉換器102耦接的開關104能將LED串106與輸入電壓VIN 連通或斷開進而開啟或關閉LED燈。LED串106與線性電流調整器208耦接。線性電流調整器208中的運算放大器210比較參考信號REF和來自電流偵測電阻RSEN 的電流監測信號,並產生控制信號,以線性的方式調整電晶體Q1 的阻值,進而流經LED串106的電流可以得到相應的調整。應用該傳統方案,為控制LED串106的光輸出,使用者需要利用某種專用器件,例如一個專門設計的具有調整按鈕的開關或是能接收遙控信號的開關,來調整參考信號REF。FIG. 2 shows a schematic diagram of another conventional LED drive circuit 200. The power converter 102 is operative to convert the DC input voltage V IN to a desired DC output voltage V OUT for powering the LED string 106. A switch 104 coupled to the power converter 102 can connect or disconnect the LED string 106 to the input voltage V IN to turn the LED lamp on or off. LED string 106 is coupled to linear current regulator 208. The operational amplifier 210 in the linear 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 linearly adjust the resistance of the transistor Q 1 to flow through the LED string. The current of 106 can be adjusted accordingly. Applying this conventional scheme, in order to control the light output of the LED string 106, the user needs to adjust the reference signal REF by using a special device such as a specially designed switch with an adjustment button or a switch capable of receiving a remote control signal.

本發明要解決的技術問題在於提供一種控制發光二極體(LED)光源的調光的控制器、系統及方法,能夠使多個LED光源的光輸出的調整過程彼此同步,也即使多個LED光源的光輸出的變化基本相同,進而使得多個LED光源發出基本相同的光強/亮度。The technical problem to be solved by the present invention is to provide a controller, system and method for controlling dimming of a light-emitting diode (LED) light source, which can synchronize the adjustment processes of light outputs of a plurality of LED light sources with each other, even if a plurality of LEDs The change in light output of the light source is substantially the same, thereby causing the plurality of LED light sources to emit substantially the same light intensity/brightness.

為解決上述技術問題,本發明提供了一種調光控制器,包含:一控制端,提供一驅動信號,該驅動信號控制與一光源耦接的一控制開關,;以及一調光控制電路,與該控制端耦接並根據一電源開關的多個操作產生該驅動信號,該電源開關傳送一交流信號,其中,該調光控制電路透過對該交流信號的多個波形進行計數,以調整該驅動信號進而控制該光源的一調光。本發明還提供了一種調光方法,包含:透過一電源開關傳送一交流信號;根據該電源開關的多個操作,產生一驅動信號;透過對該交流信號的多個波形的計數,調整該驅動信號以控制一光源;以及透過該驅動信號控制與該光源耦接的一控制開關。In order to solve the above technical problem, the present invention provides a dimming controller, comprising: a control terminal, providing a driving signal, the driving signal controlling a control switch coupled to a light source; and a dimming control circuit, and The control end is coupled to and generates the driving signal according to a plurality of operations of a power switch, wherein the power switch transmits an AC signal, wherein the dimming control circuit counts the plurality of waveforms of the AC signal to adjust the driving The signal in turn controls a dimming of the light source. The invention also provides a dimming method, comprising: transmitting an AC signal through a power switch; generating a driving signal according to a plurality of operations of the power switch; adjusting the driving by counting a plurality of waveforms of the AC signal a signal to control a light source; and a control switch coupled to the light source through the drive signal.

本發明還提供了一種調光系統,驅動一光源,該調光系統包含:一轉換電路,透過一電源開關接收一交流信號並向該光源提供調製後的一電能;以及一調光控制電路,與該轉換電路耦接,根據該電源開關的多個操作產生一調光信號,並透過對該交流信號的多個波形的計數,進而調整該調光信號,其中,該光源的一調光受該調光信號所控制。與現有技術相比,透過採用本發明的控制器、系統及方法,可以減小電路中的電磁干擾效應。The present invention also provides a dimming system for driving a light source, the dimming system comprising: a conversion circuit that receives an AC signal through a power switch and provides a modulated power to the light source; and a dimming control circuit, Coupling with the conversion circuit, generating a dimming signal according to the plurality of operations of the power switch, and adjusting the dimming signal by counting a plurality of waveforms of the AC signal, wherein a dimming of the light source is The dimming signal is controlled. By using the controller, system and method of the present invention, the electromagnetic interference effect in the circuit can be reduced as compared with the prior art.

以下將對本發明的實施例給出詳細的說明。雖然本發明將結合實施例進行闡述,但應理解這並非意指將本發明限定於這些實施例。相反地,本發明意在涵蓋由後附申請專利範圍所界定的本發明精神和範圍內所定義的各種變化、修改和均等物。A detailed description of the embodiments of the present invention will be given below. While the invention will be described in conjunction with the embodiments, it is understood that the invention is not limited to the embodiments. 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 的交流/直流轉換器306,耦接於電源和交流/直流轉換器306之間的用於選擇性耦接電源和光源驅動電路300的電源開關304,與交流/直流轉換器306耦接的用於為LED串312提供調整後電能的電力轉換器310,與電力轉換器310耦接的用於接收指示電源開關304動作的開關監測信號並根據開關監測信號控制電力轉換器310輸出的調光控制器308,以及用於監測流經LED串312的電流的電流監測器314。在一個實施例中,電源開關304是置於牆面上的電源開關。3 is a block diagram of a light source driving circuit 300 in accordance with one embodiment of the present invention. In one embodiment, the light source driving circuit 300 includes an AC/DC converter 306 for converting an AC input voltage V IN from a power source into a DC output voltage V OUT , coupled between the power source and the AC/DC converter 306. A power switch 304 for selectively coupling the power and light source driving circuit 300, and a power converter 310 coupled to the AC/DC converter 306 for providing the adjusted power to the LED string 312, coupled to the power converter 310 A dimming controller 308 for receiving a switch monitoring signal indicative of the action of the power switch 304 and controlling the output of the power converter 310 based on the switch monitoring signal, and a current monitor 314 for monitoring the current flowing through the LED string 312. In one embodiment, the power switch 304 is a power switch placed on the wall.

在操作中,交流/直流轉換器306將輸入交流電壓VIN 轉換為直流輸出電壓VOUT 。電力轉換器310接收直流電壓VOUT 並為LED串312提供調整後的電壓。電流監測器314產生電流監測信號,該電流監測信號指示流經LED串312的電流的大小。調光控制器308監測電源開關304的動作、接收來自電流監測器314的電流監測信號並根據電源開關304的動作控制電力轉換器310以調整LED串312的電能。在一個實施例中,調光控制器308工作於類比調光模式,透過調整一個決定LED電流峰值的參考信號來調整LED串312的電能。在另一個實施例中,調光控制器308工作於脈衝調光(burst dimming)模式,透過調整一脈衝寬度調變信號(PWM信號)的責任週期來調整LED串312的電能。透過調整LED串312的電能,LED串312的亮度能夠得到對應地調整。In operation, AC/DC converter 306 converts input AC voltage V IN to DC output voltage V OUT . Power converter 310 receives DC voltage V OUT and provides an adjusted voltage to LED string 312. Current monitor 314 generates a current monitoring signal that indicates the magnitude of the current flowing through LED string 312. The dimming controller 308 monitors the action of the power switch 304, receives the current monitoring signal from the current monitor 314, and controls the power converter 310 to adjust the power of the LED string 312 in accordance with the action of the power switch 304. In one embodiment, dimming controller 308 operates in analog dimming mode to adjust the power of LED string 312 by adjusting a reference signal that determines the peak value of the LED current. In another embodiment, the dimming controller 308 operates in a burst dimming mode to adjust the power of the LED string 312 by adjusting the duty cycle of a pulse width modulated signal (PWM signal). By adjusting the power of the LED string 312, the brightness of the LED string 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 one embodiment of the present invention. Figure 4 will be described in conjunction with Figure 3. The components in FIG. 4 that are numbered the same as those in FIG. 3 have similar functions, and will not be repeatedly described herein for the sake of brevity.

光源驅動電路400包含耦接於電源和LED串312之間的電力轉換器310,用於接收來自電源的電能並為LED串312提供調整後的電能。在圖4的例子中,電力轉換器310是包含電感L1,二極體D4 和控制開關Q16 的降壓轉換器。圖4中的實施例中,控制開關Q16 位於調光控制器308的外部。在其他的實施例中,控制開關Q16 也可以整合於調光控制器308的內部。The light source driving circuit 400 includes a power converter 310 coupled between the power source and the LED string 312 for receiving power from the power source and providing the adjusted power to the LED string 312. In the example of Figure 4, the power converter 310 comprising an inductor L1, diode D 4 and a control switch 16 of the buck converter Q. In the embodiment of FIG. 4, control switch Q 16 is external to dimming controller 308. In other embodiments, the control switch Q 16 can also be integrated into the interior of the dimming controller 308.

調光控制器308接收開關監測信號並根據該開關監測信號控制與LED串312串聯的開關Q16 ,以調整電力轉換器310(包含電感L1,二極體D4 和控制開關Q16 )輸出的調整後的電能。該開關監測信號指示電源開關(如耦接於電源和光源驅動電路之間的電源開關304)的動作。光源驅動電路400進一步包含交流/直流轉換器306,用於將交流輸入電壓VIN 轉換成直流輸出電壓VOUT 。光源驅動電路400還包含電流監測器314,用於監測流經LED串312的電流。在圖4所示的例子中,交流/直流轉換器306是包含二極體D1 、D2 、D7 、D8 、D10 和電容C9 的橋式整流器。電流監測器314包含電流偵測電阻R5。The dimming controller 308 receives the switch monitoring signal and controls the switch Q 16 in series with the LED string 312 according to the switch monitoring signal to adjust the output of the power converter 310 (including the inductor L1, the diode D 4 and the control switch Q 16 ) Adjusted power. The switch monitor signal indicates the action of a power switch, such as power switch 304 coupled between the power source and the light source drive circuit. The light source driving circuit 400 further includes an AC/DC converter 306 for converting the AC input voltage V IN into a DC output voltage V OUT . Light source drive circuit 400 also includes a current monitor 314 for monitoring current flow through LED string 312. In the example shown in FIG. 4, the AC/DC converter 306 is a bridge rectifier including diodes D 1 , D 2 , D 7 , D 8 , D 10 and a capacitor C 9 . The current monitor 314 includes a current detecting resistor R5.

在一個實施例中,調光控制器308的埠包含:HV_GATE,SEL,CLK,RT,VDD,CTRL,MON和GND。埠HV_GATE透過電阻R3與開關Q27耦接,用於控制與LED串312耦接的開關Q27的導通狀態(如接通/斷開的狀態)。電容C11 耦接於埠HV_GATE和地之間,用於調整開關Q27的閘極電壓。In one embodiment, the 埠 of the dimming controller 308 includes: HV_GATE, SEL, CLK, RT, VDD, CTRL, MON, and GND. The 埠HV_GATE is coupled to the switch Q27 through the resistor R3 for controlling the conduction state (such as the on/off state) of the switch Q27 coupled to the LED string 312. Capacitor C 11 is coupled between 埠HV_GATE and ground for adjusting the gate voltage of switch Q27.

使用者可以選擇把埠SEL透過電阻R4耦接到地(如圖4所示)或者把埠SEL直接耦接到地,可以相應地選擇類比調光模式或是脈衝調光模式。The user can choose to couple the 埠SEL through the resistor R4 to ground (as shown in Figure 4) or directly connect the 埠SEL to ground. The analog dimming mode or the pulse dimming mode can be selected accordingly.

埠CLK透過電阻R3耦接至交流/直流轉換器306,同時透過電阻R6耦接到地。埠CLK接收一個開關監測信號,該開關監測信號指示電源開關304的動作。在一個實施例中,開關監測信號在電阻R3和電阻R6之間的一個節點上產生。電容C12與電阻R6並聯,用於濾除不必要的雜訊。埠RT透過電阻R7與地耦接,用於確定由調光控制器308產生的脈衝信號的頻率。埠CLK is coupled to AC/DC converter 306 through resistor R3 and coupled to ground through resistor R6.埠CLK receives a switch monitoring signal that indicates the action of power switch 304. In one embodiment, the switch monitor signal is generated at a node between resistor R3 and resistor R6. Capacitor C12 is connected in parallel with resistor R6 to filter out unwanted noise.埠RT is coupled to ground through resistor R7 for determining the frequency of the pulse signal generated by dimming controller 308.

埠VDD透過二極體D9 與開關Q27耦接,用於對調光控制器308供電。在一個實施例中,一個儲能單元(如電容C10 )耦接於埠VDD和地之間,在電源開關304斷開時為調光控制器308供電。在另一個實施例中,儲能單元整合於調光控制器308內部。埠GND與地耦接。Port VDD through diode D 9 and the switch Q27 is coupled to the dimmer controller 308 powered. In one embodiment, an energy storage unit (such as capacitor C 10 ) is coupled between 埠 VDD and ground to power dimming controller 308 when power switch 304 is turned off. In another embodiment, the energy storage unit is integrated within the dimming controller 308.埠 GND is coupled to ground.

埠CTRL與開關Q16 耦接。開關Q16 與LED串312以及開關Q27串聯,並透過電流監測電阻R5耦接到地。調光控制器308透過在埠CTRL上輸出的控制信號控制開關Q16 的導通狀態,以調整電力轉換器310輸出的調整後的電能。埠MON與電流監測電阻R5耦接,接收指示流經LED串312的電流的電流監測信號。當開關Q27 接通時,調光控制器308透過控制開關Q16 來調整流經LED串312的電流。埠 CTRL is coupled to switch Q 16 . Switch Q 16 is coupled in series with LED string 312 and switch Q27 and coupled to ground through current monitoring resistor R5. The dimming controller 308 controls the conduction state of the switch Q 16 through a control signal outputted on the 埠CTRL to adjust the adjusted electric energy output from the power converter 310.埠MON is coupled to current monitoring resistor R5 to receive a current monitoring signal indicative of the current flowing through LED string 312. Q when the switch 27 is turned on, the dimming controller 308 through a control switch 16 to adjust the Q of the current through the LED string 312.

在操作中,當電源開關304接通時,交流/直流轉換器306將輸入的交流電壓VIN 轉換為直流輸出電壓VOUT 。埠HV_GATE上具有預設電壓值的電壓透過電阻R3施加於開關Q27上,進而接通開關Q27。In operation, when power switch 304 is turned "on", AC/DC converter 306 converts the input AC voltage V IN to a DC output voltage V OUT . A voltage having a preset voltage value on 埠HV_GATE is applied to the switch Q27 through the resistor R3, thereby turning on the switch Q27.

如果調光控制器308接通開關Q16 ,直流電壓VOUT 會對LED串312供電並對電感L1充電。電流流經電感L1,LED串312,開關Q27,開關Q16 以及電阻R5到地。如果調光控制器308斷開開關Q16 ,則電流流經電感L1,LED串312和二極體D4 。電感L1放電以給LED串312供電。因此,調光控制器308可以透過控制開關Q16 ,可以調整電力轉換器310輸出的調整後的電能。If the dimming controller 308 turns on the switch Q 16, the DC voltage V OUT will power the LED string 312 and the inductor L1 charge. Current flows through inductor L1, LED string 312, switch Q27, switch Q 16 and resistor R5 to ground. If the dimming controller 308 turns off the switch Q 16, current flows through the inductor L1, LED string 312 and the diode D 4. Inductor L1 is discharged to power LED string 312. Therefore, the dimming controller 308 can adjust the adjusted electric energy output by the power converter 310 through the control switch Q 16 .

當電源開關304斷開,電容C10放電以為調光控制器308供電。電阻R6兩端的電壓下降到0,進而調光控制器308可以在埠CLK上監測到一個指示電源開關304斷開操作的開關監測信號。類似的,當電源開關304接通,電阻R6兩端的電壓升至一預設電壓值,進而調光控制器308可以在埠CLK上監測到一個指示電源開關304接通操作的開關監測信號。如果監測到斷開操作,調光控制器308可以把埠HV_GATE上的電壓下拉到0以斷開開關Q27,進而使得電感L1徹底放電後LED串312被斷電。監測到電源開關304的斷開操作後,調光控制器308調整一個參考信號,該參考信號指示LED串312的期望亮度。當電源開關304下次接通時,LED串312的亮度能夠根據調整後的期望亮度進行調整。換言之,LED串312的輸出亮度能夠由調光控制器308根據電源開關304的斷開操作進行調整。When the power switch 304 is turned off, the capacitor C10 is discharged to supply power to the dimming controller 308. The voltage across resistor R6 drops to zero, and dimming controller 308 can monitor a switch monitor signal indicating that power switch 304 is open on 埠CLK. Similarly, when the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage value, and the dimming controller 308 can monitor a switch monitor signal indicating that the power switch 304 is turned on on the 埠CLK. If a disconnect operation is detected, the dimming controller 308 can pull the voltage on 埠HV_GATE to 0 to turn off the switch Q27, thereby causing the LED string 312 to be powered down after the inductor L1 is completely discharged. After monitoring the disconnect operation of the power switch 304, the dimming controller 308 adjusts a reference signal that indicates the desired brightness of the LED string 312. When the power switch 304 is turned on next time, the brightness of the LED string 312 can be adjusted according to the adjusted desired brightness. In other words, the output brightness of the LED string 312 can be adjusted by the dimming controller 308 in accordance with the off operation of the power switch 304.

圖5所示為圖4中的調光控制器308的結構示意圖。圖5將結合圖4進行描述。圖5中與圖4編號相同的部件具有類似的功能,為簡明起見在此不做重複描述。FIG. 5 is a schematic structural view of the dimming controller 308 of FIG. Figure 5 will be described in conjunction with Figure 4. The components 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的動作被監測到時,觸發監測單元506產生驅動信號以驅動計數器526。觸發監測單元506還進一步控制開關Q27的導通狀態。調光器502產生參考信號REF,以類比調光的方式調整LED串312的電能。調光器502也可以產生控制信號538,透過調整脈衝寬度調變信號PWM1的責任週期來調整LED串312的電能。脈衝信號產生器504產生脈衝信號用於接通開關Q16 。調光控制器308還包含與埠VDD耦接的低壓鎖定(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 coupled to ground through the Zener diode ZD1. The trigger monitoring unit 506 receives a switch monitoring signal through the 埠CLK, the switch monitoring signal indicating the action of the external power switch 304. When the action of the external power switch 304 is monitored, the trigger monitoring unit 506 generates a drive signal to drive the counter 526. The trigger monitoring unit 506 also further controls the conduction state of the switch Q27. The dimmer 502 generates a reference signal REF that adjusts the power of the LED string 312 in an analog to dimming manner. The dimmer 502 can also generate a control signal 538 that adjusts the power of the LED string 312 by adjusting the duty cycle of the pulse width modulation signal PWM1. The pulse signal generator 504 generates a pulse signal for turning on the switch Q 16 . The dimming controller 308 also includes a low voltage lock (UVL) circuit 508 coupled to 埠 VDD for selectively activating one or more components within the dimming controller 308 based on different electrical conditions.

在一個實施例中,如果埠VDD上的電壓高於第一預設電壓,則低壓鎖定電路508將啟動調光控制器308中所有的部件。當電源開關304斷開,如果埠VDD上的電壓低於第二預設電壓,低壓鎖定電路508將關閉調光控制器308中除了觸發監測單元506和調光器502以外的其他部件以節省電能。如果埠VDD上的電壓低於第三預設電壓,低壓鎖定電路508將關閉觸發監測單元506和調光器502。在一個實施例中,第一預設電壓高於第二預設電壓,第二預設電壓高於第三預設電壓。因為調光控制器308能夠由電容C10經過埠VDD供電,所以即便是電源開關304斷開後,觸發監測單元506和調光器502還可以工作一段時間。In one embodiment, if the voltage on 埠 VDD is higher than the first predetermined voltage, low voltage lockout circuit 508 will activate all of the components in dimming controller 308. When the power switch 304 is turned off, if the voltage on 埠 VDD is lower than the second predetermined voltage, the low voltage lockout circuit 508 will turn off other components of the dimming controller 308 other than the trigger monitoring unit 506 and the dimmer 502 to save power. . If the voltage on 埠 VDD is lower than the third predetermined voltage, the low voltage lockout circuit 508 will turn off the trigger monitoring unit 506 and the dimmer 502. In one embodiment, the first preset voltage is higher than the second preset voltage, and the second preset voltage is higher than the third preset voltage. Since the dimming controller 308 can be powered by the capacitor C10 via 埠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中所示),且R4具有一個預設的阻值,那麼埠SEL上的電壓大於0。該控制電路斷開開關540,接通開關541和542。進而調光控制器308工作於脈衝調光模式,並透過調整脈衝寬度調變信號PWM1的責任週期來調整LED串312的電能。換言之,透過控制開關540,541,542的導通狀態,可以選擇不同的調光模式。而開關540,541,542的導通狀態由埠SEL上的電壓決定。In dimming controller 308, 埠SEL is coupled to current source 532. The user can select the dimming mode by configuring 埠SEL, for example, coupling 埠SEL directly to ground or coupling 埠SEL to ground through a resistor. In one embodiment, the dimming mode is determined by measuring the voltage on the 埠SEL. If 埠SEL is directly coupled to ground, the voltage on 埠SEL is approximately zero. A control circuit (not shown) can turn on the switch 540, turn off the switches 541 and 542, and the dimming controller 308 can operate in the analog dimming mode, and adjust the power of the LED string 312 by adjusting the reference signal REF. . In one embodiment, if 埠SEL is coupled to ground through resistor R4 (shown in Figure 4) and R4 has a predetermined resistance, then the voltage on 埠SEL is greater than zero. The control circuit opens switch 540 and turns on switches 541 and 542. Further, the dimming controller 308 operates in the pulse dimming mode, and adjusts the power of the LED string 312 by adjusting the duty cycle of the pulse width modulation signal PWM1. In other words, different dimming modes can be selected by controlling the on states of the switches 540, 541, 542. The conduction state of the switches 540, 541, 542 is determined by the voltage on the 埠SEL.

脈衝信號產生器504透過埠RT以及電阻R7耦接到地,產生接通開關Q16 的脈衝信號536。脈衝信號產生器504可以有不同的結構,並不限於圖5中所示的結構。The pulse signal generator 504 and through port RT resistor R7 is coupled to ground, generating a pulse signal Q 16 turns on the switch 536. The pulse signal generator 504 can have a different structure and is not limited to the structure shown in FIG.

在脈衝信號產生器504中,運算放大器510的同相端接收預設電壓V1 ,因此運算放大器510的反相端電壓也為V1 。電流IRT 透過埠RT和電阻R7流到地。流經金屬氧化物半導體場效應電晶體(MOSFET)514和金屬氧化物半導體場效應電晶體515的電流I1 與電流IRT 具有同樣的大小。金屬氧化物半導體場效應電晶體514和金屬氧化物半導體場效應電晶體512構成電流鏡,因此流經金屬氧化物半導體場效應電晶體512的電流I2 也與電流IRT 具有相同的大小。比較器516的輸出和比較器518的輸出分別與SR觸發器520的S輸入端和R輸入端耦接。比較器516的反相端接收預設電壓V2 。比較器518的同相端接收預設電壓V3 。在一個實施例中,V2 大於V3 且V3 大於0。電容C4耦接於金屬氧化物半導體場效應電晶體512和地之間,一端與比較器516同相端和比較器518反相端之間的節點耦接。SR觸發器520的Q輸出端與開關Q15 耦接,同時也與SR觸發器522的S輸入端耦接。開關Q15 與電容C4 並聯。開關Q15 的導通狀態由SR觸發器520的Q輸出端決定。The pulse signal generator 504, the noninverting terminal of the operational amplifier 510 receives a predetermined voltage V 1, so the terminal voltage of the inverting operational amplifier 510 also is V 1. Current I RT flows to ground through 埠RT and resistor R7. The current I 1 flowing through the metal oxide semiconductor field effect transistor (MOSFET) 514 and the metal oxide semiconductor field effect transistor 515 has the same magnitude as the current I RT . The metal oxide semiconductor field effect transistor 514 and the metal oxide semiconductor field effect transistor 512 constitute a current mirror, so the current I 2 flowing through the metal oxide semiconductor field effect transistor 512 is also the same size as the 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 terminal of the comparator 516 receives the preset voltage V 2 . Noninverting terminal of the comparator 518 receives a predetermined voltage V 3. In one embodiment, V 2 is greater than V 3 and V 3 is greater than zero. The capacitor C4 is coupled between the MOSFET 512 and the ground, and is coupled at one end to a node between the non-inverting terminal of the comparator 516 and the inverting terminal of the comparator 518. The Q output of SR flip flop 520 is coupled to switch Q 15 and also to the S input of SR flip flop 522. Switch Q 15 is connected in parallel with capacitor C 4 . The on state of switch Q 15 is determined by the Q output of SR flip flop 520.

電容C4 兩端的初始電壓近似為0,小於V3 。因此SR觸發器520的R輸入端接收比較器518輸出的邏輯高信號。SR觸發器520的Q輸出端被置為邏輯低信號,進而斷開開關Q15 。當開關Q15 斷開,電容C4 在電流I2 的作用下充電,因此電容C4 兩端的電壓升高。當C4 兩端電壓大於V2 ,SR觸發器520的S輸入端接收比較器516輸出的邏輯高信號。SR觸發器520的Q輸出端被置為邏輯高信號,進而接通開關Q15 。當開關Q15 接通,電容C4透過開關Q15 放電,進而兩端的電壓降低。當電容C4兩端的電壓下降到V3 ,比較器518輸出邏輯高信號,SR觸發器520的Q輸出端被置為邏輯低信號,進而斷開開關Q15 。此後電容C4在電流I2 的作用下又進行充電。如前所述,脈衝信號產生器脈衝信號產生器504在SR觸發器520的Q輸出端產生脈衝信號536,該脈衝信號536包含有一系列的脈衝。脈衝信號536被傳送至SR觸發器522的S輸入端。The initial voltage across capacitor C 4 is approximately zero, less than V 3 . Therefore, the R input of the SR flip-flop 520 receives the logic high signal output by the comparator 518. Q output of the SR flip-flop 520 is set to a logic low signal, and then turns off the switch Q 15. When the switch Q 15 is turned off, the capacitor C 4 is charged by the current I 2 , so the voltage across the capacitor C 4 rises. When the voltage across C 4 is greater than V 2, S input of the SR flip-flop 520 receives the output from the comparator 516 a logic high signal. Q output of the SR flip-flop 520 is set to a logic high signal, and further turns on the switch Q 15. When the switch Q 15 is turned on, the capacitor C4 is discharged through the switch Q 15 , and the voltage across the terminal is lowered. When the voltage drop across the capacitor C4 to 3, comparator 518 outputs a logic high signal, Q output of the SR flip-flop 520 V is set to a logic low signal, and then turns off the switch Q 15. After the capacitor C4 is charged and at a current I 2 in action. As previously described, pulse signal generator pulse signal generator 504 produces a pulse signal 536 at the Q output of SR flip flop 520, which includes a series of pulses. Pulse signal 536 is passed to the S input of SR flip flop 522.

觸發監測單元506透過埠CLK監測電源開關304的動作。如果電源開關304的動作在埠CLK被監測到,觸發監測單元506產生一個驅動信號以驅動計數器526。在一個實施例中,當電源開關304被接通,埠CLK上的電壓上升,該電壓等於電阻R6(圖4所示)兩端的電壓。當電源開關304被斷開,埠CLK上的電壓下降到0。因此,指示電源開關304動作的開關監測信號可以在埠CLK被監測到。在一個實施例中,當一個斷開動作在埠CLK被監測到時,觸發監測單元506產生驅動信號。The trigger monitoring unit 506 monitors the action of the power switch 304 via 埠CLK. If the action of the power switch 304 is detected at 埠CLK, the trigger monitoring unit 506 generates a drive signal to drive the counter 526. In one embodiment, when power switch 304 is turned "on", the voltage on 埠CLK rises, which is equal to the voltage across resistor R6 (shown in Figure 4). When the power switch 304 is turned off, the voltage on 埠CLK drops to zero. Therefore, the switch monitoring signal indicating the action of the power switch 304 can be monitored at 埠CLK. In one embodiment, the trigger monitoring unit 506 generates a drive signal when a disconnect action is detected at 埠CLK.

觸發監測單元506還透過埠HV_GATE控制開關Q27的導通狀態。當電源開關304被接通,齊納二極體ZD1兩端的擊穿電壓透過電阻R3施加至開關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 via 埠HV_GATE. When the power switch 304 is turned on, the breakdown voltage across the Zener diode ZD1 is applied to the switch Q27 through the resistor R3, thereby turning on the switch Q27. The trigger monitoring unit 506 can pull down the voltage of 埠HV_GATE to 0 and turn off the switch Q27. In one embodiment, when the disconnection of power switch 304 is detected on 埠CLK, trigger monitoring unit 506 turns off switch Q27. When the turn-on action of the power switch 304 is detected on the 埠CLK, the trigger monitoring unit 506 turns on the switch Q27.

在一個實施例中,調光器502包含與觸發監測單元506耦接的計數器526,對電源開關304的動作進行計數。調光器502還包含與計數器526耦接的數位類比轉換器528,以及與數位類比轉換器528耦接的脈衝寬度調變信號產生器530。計數器526由觸發監測單元506產生的驅動信號所驅動。具體來講,當電源開關304斷開,觸發監測單元506在埠CLK上監測到一個下降沿,進而產生一個驅動信號。計數器526的計數值在該驅動信號的作用下遞增(例如加1)。數位類比轉換器528從計數器526中讀取計數值,並根據計數值產生調光信號(該調光信號可以是控制信號538或參考信號REF)。調光信號可以用來調整電力轉換器310的目標電能值,進而調整LED串312的亮度。In one embodiment, the dimmer 502 includes a counter 526 coupled to the trigger monitoring unit 506 to count the action of the power switch 304. The dimmer 502 also includes a digital analog converter 528 coupled to the counter 526 and a pulse width modulated 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, when the power switch 304 is turned off, the trigger monitoring unit 506 detects a falling edge on the 埠CLK, thereby generating a drive signal. The count value of counter 526 is incremented (e.g., incremented by one) by the drive signal. The digital analog converter 528 reads the count value from the counter 526 and generates a dimming signal based on the count value (the dimming signal can be the control signal 538 or the reference signal REF). The dimming signal can be used to adjust the target power value of power converter 310 to adjust the brightness of LED string 312.

在脈衝調光模式下,開關540斷開,開關541和542接通。比較器534的反相端接收參考信號REF1。REF1是具有預設電壓值的直流信號。REF1的電壓決定了LED串312的電流峰值,進而也決定了LED串312的最大亮度。在脈衝調光模式下,調光信號即施加於脈衝寬度調變信號產生器530上的控制信號538,該控制信號538可以調整脈衝寬度調變信號PWM1的責任週期。透過調整PWM1的責任週期,使得LED串312的亮度等於或低於REF1決定的最大亮度。例如,如果PWM1的責任週期為100%,則LED串312具有最大亮度。如果PWM1的責任週期小於100%,則LED串312的亮度低於最大亮度。In the pulse dimming mode, switch 540 is open and switches 541 and 542 are turned "on". The inverting terminal of comparator 534 receives reference signal REF1. REF1 is a DC signal with a preset voltage value. The voltage of REF1 determines the current peak of LED string 312, which in turn determines the maximum brightness of LED string 312. In the pulse dimming mode, the dimming signal is applied to a control signal 538 on the pulse width modulation signal generator 530, which can adjust the duty cycle of the pulse width modulation signal PWM1. By adjusting the duty cycle of PWM1, the brightness of LED string 312 is equal to or lower than the maximum brightness determined by REF1. For example, if the duty cycle of PWM1 is 100%, then LED string 312 has the maximum brightness. If the duty cycle of PWM1 is less than 100%, the brightness of LED string 312 is lower than the maximum brightness.

在類比調光模式下,開關540接通,開關541和542斷開。在類比調光模式下,調光信號即參考信號REF。該參考信號REF是一個類比信號,具有可調整的電壓。數位類比轉換器528根據計數器526的計數值調整REF的電壓。REF的電壓決定了LED串312的電流峰值,進而也決定了LED串312的最大亮度。因此,透過調整REF,LED串312的亮度可以得到相應地調整。In the analog dimming mode, switch 540 is turned "on" and switches 541 and 542 are turned "off". In the analog dimming mode, the dimming signal is the reference signal REF. The reference signal REF is an analog signal with 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 current peak of LED string 312, which in turn determines the maximum brightness of LED string 312. Therefore, by adjusting REF, the brightness of the LED string 312 can be adjusted accordingly.

在一個實施例中,計數器的計數值增加使得數位類比轉換器528調低REF的電壓。例如,如果計數值為0,則數位類比轉換器528調整REF的電壓為V4。如果觸發監測單元506在埠CLK監測到電源開關304的斷開動作進而使得計數值增加到1,則數位類比轉換器528調整REF的電壓為V5,且V5小於V4。在另一個實施例中,計數器的計數值增加使得數位類比轉換器528調高REF的電壓。In one embodiment, the count value of the counter is increased such that the digital analog converter 528 lowers the voltage of REF. For example, if the count value is 0, the digital analog converter 528 adjusts the voltage of REF to V4. If the trigger monitoring unit 506 detects the disconnection of the power switch 304 and causes the count value to increase to 1, the digital analog converter 528 adjusts the voltage of REF to V5 and V5 to be less than V4. In another embodiment, the count value of the counter is increased such that the digital analog converter 528 boosts the voltage of REF.

在一個實施例中,當計數器526的計數值達到最大值時,計數值被重新置為0。如果計數器526是一個2位計數器,計數值將從0開始依次增加到1,2,3,然後在第四個斷開操作後回到0。對應地,LED串312的亮度從第一級被依次調整到第二級,第三級,第四級,然後又回到第一級。In one embodiment, when the count value of counter 526 reaches a maximum value, the count value is reset to zero. 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 disconnect operation. Correspondingly, the brightness of the LED string 312 is sequentially adjusted from the first stage to the second level, the third level, the fourth level, and then back to the first level.

比較器534的反相端可以選擇性的接收參考信號REF或是參考信號REF1。在類比調光模式下,比較器534的反相端透過開關540接收參考信號REF。在脈衝調光模式下,比較器534的反相端透過開關541接收參考信號REF1。比較器534的同相端透過埠MON與電流監測電阻R5耦接,以接收來自電流監測電阻R5的電流監測信號SEN。電流監測信號SEN的電壓代表當開關Q27 和Q16 開啟時流經LED串312的電流大小。The inverting terminal of the comparator 534 can selectively receive the reference signal REF or the reference signal REF1. In analog dimming mode, the inverting terminal of comparator 534 receives reference signal REF through switch 540. In the pulse dimming mode, the inverting terminal of the comparator 534 receives the reference signal REF1 through the switch 541. The non-inverting terminal of the comparator 534 is coupled to the current monitoring resistor R5 via 埠MON to receive the current monitoring signal SEN from the current monitoring resistor R5. The voltage of current monitoring signal SEN represents the amount of current flowing through LED string 312 when switches Q 27 and Q 16 are on.

比較器534的輸出端與SR觸發器522的R輸入端耦接。SR觸發器522的Q輸出端和及閘524耦接。脈衝寬度調變信號產生器530產生的脈衝寬度調變信號PWM1施加至及閘524。及閘524輸出控制信號,透過埠CTRL控制Q16The 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. Gate 524 outputs a control signal that is controlled by 埠CTRL to Q 16 .

如果選擇了類比調光模式,開關540接通,開關541和542斷開。開關Q16 由SR觸發器522控制。當電源開關304接通,齊納二極體ZD1兩端的擊穿電壓使得開關Q27接通。在脈衝信號產生器504產生的脈衝信號536的作用下,SR觸發器522在Q輸出端產生邏輯高信號,使得開關Q16 接通。電流流經電感L1,LED串312,開關Q27 ,開關Q16 ,電流監測電阻R5到地。因為電感L1阻止電流的跳變,該電流會逐漸增大。電流監測電阻R5兩端的電壓(即電流監測信號SEN的電壓)會隨之增大。當SEN的電壓大於參考信號REF的電壓,比較器534輸出邏輯高信號到SR觸發器522的R輸入端,進而SR觸發器522輸出邏輯低信號,使得開關Q16 斷開。開關Q16 斷開後,電感L1放電以對LED串312供電。流經電感L1,LED串312和二極體D4 的電流逐漸減小。當SR觸發器522在S輸入端接收到一個脈衝時,開關Q16 接通,LED串312的電流透過電流監測電阻R5流到地。當電流監測信號SEN的電壓大於參考信號REF的電壓,開關Q16 再次被SR觸發器522斷開。如上所述,參考信號REF決定了流經LED串312電流的峰值,也即決定了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 Q 16 is controlled by SR flip flop 522. When the power switch 304 is turned on, the breakdown voltage across the Zener diode ZD1 causes the switch Q27 to be turned on. Under the action of the pulse signal 536 generated by the pulse signal generator 504, the SR flip-flop 522 generates a logic high signal at the Q output, causing the switch Q 16 to turn "on". Current flows through inductor L1, LED string 312, switch Q 27 , switch Q 16 , and current monitoring resistor R5 to ground. Since the inductor L1 blocks the jump of the current, the current gradually increases. The voltage across the current monitoring resistor R5 (ie, the voltage of the current monitoring signal SEN) will increase. When the voltage of SEN is greater than the voltage of the reference signal REF, the comparator 534 outputs a logic high signal to the R input of the SR flip-flop 522, and the SR flip-flop 522 outputs a logic low signal, causing the switch Q 16 to open. After switch Q 16 is turned off, inductor L1 is discharged to power LED string 312. The current flowing through the inductor L1, the LED string 312 and the diode D 4 is gradually reduced. When the SR flip-flop 522 receives a pulse at the S input, the switch Q 16 is turned "on" and the current of the LED string 312 flows through the current monitoring resistor R5 to ground. When the voltage of the current monitoring signal SEN is greater than the voltage of the reference signal REF, the switch Q 16 is again 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 string 312, that is, determines the brightness of the LED string 312. By adjusting REF, the brightness of LED string 312 is adjusted accordingly.

在類比調光模式下,如果電源開關304被斷開,電容C10(圖4所示)放電以對調光控制器308供電。當觸發監測單元506在埠CLK監測到電源開關304的斷開動作時,計數器526的計數值加1。電源開關304的斷開動作使得觸發監測單元506斷開開關Q27。計數值的改變使得數位類比轉換器528把參考信號REF的電壓從第一電壓值調整到第二電壓值。因此,當電源開關304再次接通時,LED串312的亮度因為參考信號REF的調整而得以調整。In 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 disconnection action of the power switch 304 at 埠CLK, the count value of the counter 526 is incremented by one. The opening action of the power switch 304 causes the trigger monitoring unit 506 to open the switch Q27. The change in the count value causes the digital analog converter 528 to adjust the voltage of the reference signal REF from the first voltage value to the second voltage value. Therefore, when the power switch 304 is turned on again, the brightness of the LED string 312 is adjusted due to the adjustment of the reference signal REF.

如果選擇脈衝調光模式,開關540斷開,開關541和524接通。比較器534的反相端接收具有預設電壓值的參考信號REF1。開關Q16 由SR觸發器522和脈衝寬度調變信號PWM1透過及閘524共同控制。參考信號REF1決定了LED串312的峰值電流,也即決定了LED串312的最大亮度。脈衝寬度調變信號PWM1的責任週期決定了開關Q16 的接通/斷開時間。脈衝寬度調變信號PWM1為邏輯高信號時,開關Q16 的導通狀態由SR觸發器522的Q輸出端的輸出決定。當脈衝寬度調變信號PWM1為邏輯低信號時,開關Q16 斷開。透過調整脈衝寬度調變信號PWM1的責任週期,可以相應的調整LED串312的電能。所以,參考信號REF1和脈衝寬度調變信號PWM1共同決定LED串312的亮度。If pulse dimming mode is selected, switch 540 is open and switches 541 and 524 are turned "on". The inverting terminal of the comparator 534 receives the reference signal REF1 having a preset voltage value. The switch Q 16 is commonly controlled by the SR flip-flop 522 and the pulse width modulation signal PWM1 and the gate 524. The reference signal REF1 determines the peak current of the LED string 312, which determines the maximum brightness of the LED string 312. The duty cycle of the pulse width modulation signal PWM1 determine the Q switch 16 is turned on / off time. A pulse width modulation signal PWM1 is logic high signal, the switch 16 is turned on state is determined by the Q output of the Q output of the SR flip-flop 522. When the pulse width modulation signal PWM1 signal is a logic low, the switch Q 16 OFF. By adjusting the duty cycle of the pulse width modulation signal PWM1, the power of the LED string 312 can be adjusted accordingly. Therefore, the reference signal REF1 and the pulse width modulation signal PWM1 together determine the brightness of the LED string 312.

在脈衝調光模式下,當電源開關304斷開,該斷開操作在埠CLK被觸發監測單元506監測到。觸發監測單元506斷開Q27並產生驅動信號。在驅動信號的作用下,計數器526的計數值增加(例如加1)。數位類比轉換器528產生控制信號538,使得脈衝寬度調變信號PWM1的責任週期從第一級變為第二級。因此,當電源開關304再次接通,LED串312的亮度將以目標亮度值為目標進行調整。而該目標亮度值由參考信號REF1和脈衝寬度調變信號PWM1共同決定。In the pulse dimming mode, when the power switch 304 is turned off, the turn-off operation is monitored by the trigger monitoring unit 506 at 埠CLK. The trigger monitoring unit 506 turns off Q27 and generates a drive signal. The count value of the counter 526 is increased (e.g., incremented by 1) by the drive signal. The digital analog converter 528 generates a control signal 538 such that the duty cycle of the pulse width modulated signal PWM1 changes from the first stage to the second stage. Therefore, when the power switch 304 is turned "on" again, the brightness of the LED string 312 will be adjusted with the target brightness value as a target. The target luminance value is determined by the reference signal REF1 and the pulse width modulation signal PWM1.

圖6所示為類比調光模式下的信號波形示意圖。其中包含流經LED串312的電流602,脈衝信號536,SR觸發器522的輸出V522 ,及閘524的輸出V524 ,以及開關Q16 的接通/斷開狀態。圖6將結合圖4和圖5進行描述。Figure 6 shows a schematic diagram of the signal waveform in the analog dimming mode. Wherein a current flowing through the LED string 312 comprises 602, the pulse signal 536, SR flip-flop 522 output 522 V, and 524 V Gate output 524, and a switch Q ON / OFF state 16. Figure 6 will be described in conjunction with Figures 4 and 5.

脈衝信號產生器504產生脈衝信號536。在脈衝信號536每個脈衝的作用下,SR觸發器522在Q輸出端產生邏輯高信號。而SR觸發器522在Q輸出端產生邏輯高信號會使得開關Q16 接通。當開關Q16 接通,電感L1充電,電流602增大。當電流602達到峰值IMAX ,也即電流監測信號SEN的電壓與參考信號REF的電壓相等時,比較器534輸出邏輯高信號至SR觸發器522的R輸入端,使得SR觸發器522在Q輸出端輸出邏輯低信號。SR觸發器522在Q輸出端輸出邏輯低信號會使得開關Q16 斷開,而電感L1放電為LED串312供電,且電流602減小。在類比調光模式下,透過調整參考信號REF,流經LED串312的平均電流值得到相應地調整,進而LED串312的亮度也得到調整。Pulse signal generator 504 generates pulse signal 536. Under the action of each pulse of pulse signal 536, SR flip flop 522 produces a logic high signal at the Q output. The SR flip-flop 522 generates a logic high signal at the Q output which causes the switch Q 16 to turn "on". When switch Q 16 is turned on, inductor L1 is charged and current 602 is increased. When the current 602 reaches the peak value I MAX , that is, the voltage of the current monitoring signal SEN is equal to the voltage of the reference signal REF, the comparator 534 outputs a logic high signal to the R input of the SR flip-flop 522 such that the SR flip-flop 522 is at the Q output. The terminal outputs a logic low signal. Outputting a logic low signal at the Q output of SR flip-flop 522 causes switch Q 16 to open, while inductor L1 discharge supplies power to LED string 312 and current 602 decreases. In the analog dimming mode, by adjusting the reference signal REF, the average current value flowing through the LED string 312 is adjusted accordingly, and the brightness of the LED string 312 is also adjusted.

圖7所示為脈衝調光模式下的信號波形示意圖。其中包含流經LED串312的電流602,脈衝信號536,SR觸發器522的輸出V522 ,及閘524的輸出V524 ,開關Q16 的接通/斷開狀態以及脈衝寬度調變信號PWM1。圖7將結合圖4和圖5進行描述。Figure 7 shows a schematic diagram of the signal waveform in pulse dimming mode. It includes current 602 flowing through LED string 312, pulse signal 536, output V 522 of SR flip flop 522, and output V 524 of gate 524 , on/off state of switch Q 16 and pulse width modulation signal PWM1. Figure 7 will be described in conjunction with Figures 4 and 5.

當PWM1為邏輯高信號時,流經LED串312的電流602,脈衝信號536,V522 ,V524 和開關Q16 的接通/斷開狀態之間的相互關係與圖6相似。當PWM1為邏輯低信號時,及閘524的輸出變為邏輯低信號。進而使得開關Q16 斷開而電流602減小。如果PWM1保持邏輯低信號的狀態足夠久,電流602會減小到0。在脈衝調光模式下,透過調整PWM1的責任週期,流經LED串312的平均電流值得到相應的調整,進而LED串312的亮度也得到調整。When PWM1 is a logic high signal, the relationship between the current 602 flowing through the LED string 312, the on/off states of the pulse signals 536, V 522 , V 524 and the switch Q 16 is similar to that of FIG. When PWM1 is a logic low signal, the output of AND gate 524 becomes a logic low signal. This in turn causes switch Q 16 to open and current 602 to decrease. If PWM1 remains in the state of the logic low signal long enough, current 602 will decrease to zero. In the pulse dimming mode, by adjusting the duty cycle of PWM1, the average current value flowing through the LED string 312 is adjusted accordingly, and the brightness of the LED string 312 is also adjusted.

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

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

在類比調光模式下,數位類比轉換器528從計數器526中讀取計數值。計數值的增加使得數位類比轉換器528調低參考信號REF的電壓。參考信號REF的電壓決定了LED串312電流的峰值IMAX ,也即決定了LED串312電流的平均值。在脈衝調光模式下,數位類比轉換器528從計數器526中讀取計數值。計數值的增加使得數位類比轉換器528調低脈衝寬度調變信號PWM1的責任週期(例如每次調低25%)。計數器526在達到最大計數值(如3)後被重置。In the analog dimming mode, the digital analog converter 528 reads the count value from the counter 526. The increase in the count value causes the digital analog converter 528 to turn down the voltage of the reference signal REF. The voltage of the reference signal REF determines the peak value IMAX of the LED string 312 current, which is the average of the current of the LED string 312. In the pulse dimming mode, the digital analog converter 528 reads the count value from the counter 526. The increase in the count value causes the digital analog converter 528 to turn down the duty cycle of the pulse width modulation signal PWM1 (eg, 25% lower each time). Counter 526 is reset after reaching the maximum count value (eg, 3).

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

在步驟902中,由電力轉換器(如電力轉換器310)提供的調整後的電能對光源(如LED串312)進行供電。In step 902, the adjusted electrical energy provided by the power converter (e.g., power converter 310) supplies power to the light source (e.g., LED string 312).

在步驟904中,接收指示開關電源動作的開關監測信號(例如由調光控制器308接收)。該開關監測信號指示位於電源和電力轉換器之間的電源開關(如電源開關304)的動作。In step 904, a switch monitoring signal indicative of the switching power supply action is received (eg, received by dimming controller 308). The switch monitoring signal indicates the action of a power switch (such as power switch 304) located between the power source and the power converter.

在步驟906中,根據開關監測信號產生調光信號。In step 906, a dimming signal is generated based on the switch monitoring signal.

在步驟908中,根據該調光信號控制與光源串聯的開關(如開關Q16 ),以調整電力轉換器提供的調整後的電能。在一個採用類比調光模式的實施例中,透過比較調光信號和代表光源電流大小的電流監測信號來調整電力轉換器。在另一個採用脈衝調光模式的實施例中,透過用該調光信號控制一個脈衝寬度調變信號的責任週期來調整電力轉換器。In step 908, based on the dimming signal controls a switch in series with the light source (e.g., switch Q 16), the electric energy adjusted to adjust the power provided by the converter. In an embodiment employing an analog dimming mode, the power converter is adjusted by comparing the dimming signal with a current monitoring signal representative of the magnitude of the source current. In another embodiment employing a pulse dimming mode, the power converter is adjusted by controlling the duty cycle of a pulse width modulated signal with the dimming signal.

如前所述,本發明揭露了一種光源驅動電路,該光源驅動電路根據指示電源開關(如固定在牆上的電源開關)動作的開關監測信號來調整光源的電能。該光源的電能由電力轉換器提供,並由調光控制器透過控制與光源串聯的開關來進行調整。As described above, the present invention discloses a light source driving circuit that adjusts the power of a light source according to a switch monitoring signal indicating a power switch (such as a power switch fixed to a wall). The power of the source is provided by a power converter and is adjusted by a dimming controller by controlling a switch in series with the source.

使用者可以透過對普通電源開關的動作(如斷開動作)來調整光源的亮度,而不必使用額外的器件(如專門設計的具有調光按鈕的開關),進而節省成本。The user can adjust the brightness of the light source by acting on the normal power switch (such as the disconnection action) without using additional components (such as specially designed switches with dimming buttons) to save costs.

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

光源驅動電路1000包含與電源和LED串312耦接的電力轉換器310,接收來自電源的電能並為LED串312提供調整後的電能。調光控制器1008透過監測埠CLK上的電壓來監測位於電源和光源驅動電路1000之間的電源開關304的動作。調光控制器1008透過埠CLK接收調光請求信號和調光終止信號。該調光請求信號指示電源開關304的第一組動作,該調光終止信號指示電源開關304的第二組動作。如果接收到調光請求信號,調光控制器1008連續調整電力轉換器310輸出的調整後的電能。如果接收到調光終止信號,調光控制器1008停止調整電力轉換器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 string 312 that receives power from a power source and provides adjusted power to LED string 312. The dimming controller 1008 monitors the action of the power switch 304 between the power source and the light source driving circuit 1000 by monitoring the voltage on the 埠CLK. The dimming controller 1008 receives the dimming request signal and the dimming termination signal through the 埠CLK. The dimming request signal indicates a first set of actions of the power switch 304, the dimming termination signal indicating a second set of actions of the power switch 304. If the dimming request signal is received, the dimming controller 1008 continuously adjusts the adjusted electrical energy output by the power converter 310. If the dimming termination signal is received, the dimming controller 1008 stops adjusting the adjusted electrical energy output by the power converter 310. In other words, if a first set of actions of the power switch 304 is detected, the dimming controller 1008 begins to continuously adjust the adjusted power output by the power converter 310 until a second set of actions of the power switch 304 is detected. In one embodiment, dimming controller 1008 adjusts the adjusted electrical energy output by power converter 310 by controlling control switch Q 16 in series with LED string 312.

圖11所示為圖10中調光控制器1008的結構示意圖,圖11將結合圖10進行描述。圖11中與圖4、圖5及圖10編號相同的部件具有類似的功能FIG. 11 is a schematic structural view of the dimming controller 1008 of FIG. 10, which will be described in conjunction with FIG. Parts 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 structure of the dimming controller 1008 is similar to that of the dimming controller 308 of FIG. 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 through the 埠CLK, and generates a signal EN to turn the clock generator 1104 on or off. The trigger monitoring unit 1106 also controls the conduction state of the switch Q27 coupled to the LED string 312.

類比調光模式下,調光器1102產生參考信號REF來調整LED串312的電能。脈衝調光模式下,調光器1102產生控制信號538來調整脈衝寬度調變信號PWM1的責任週期,進而調整LED串312的電能。在圖11的例子中,調光器1102包含與觸發監測單元1106耦接的產生時脈信號的時脈產生器1104,由時脈信號驅動的計數器1126,以及與計數器1126耦接的數位類比轉換器528。調光器1102還進一步包含與數位類比轉換器528耦接的脈衝寬度調變信號產生器530。In analog dimming mode, dimmer 1102 generates reference signal REF to adjust the power of LED string 312. In the pulse dimming mode, the dimmer 1102 generates a control signal 538 to adjust the duty cycle of the pulse width modulation signal PWM1, thereby adjusting the power of the LED string 312. In the example of FIG. 11 , the dimmer 1102 includes a clock generator 1104 coupled to the trigger monitoring unit 1106 for generating a clock signal, a counter 1126 driven by the clock signal, and a digital analog conversion coupled to the counter 1126. 528. The dimmer 1102 further includes a pulse width modulation signal generator 530 coupled to the digital analog converter 528.

當電源開關304接通或斷開,觸發監測單元1106能夠在埠CLK分別監測到電壓上升沿或者下降沿。例如,當電源開關304斷開,電容C10放電為調光控制器1108供電。電阻R6兩端的電壓下降到0,進而觸發監測單元1106可以在埠CLK上監測到一個電壓下降沿。類似的,當電源開關304接通,電阻R6兩端的電壓上升至一個預設的電壓,進而觸發監測單元1106可以在埠CLK上監測到一個電壓上升沿。如前所述,透過監測埠CLK上的電壓,106可以監測到電源開關304的動作,如接通動作或斷開動作。When the power switch 304 is turned "on" or "off", the trigger monitoring unit 1106 can detect a voltage rising edge or a falling edge at 埠CLK, respectively. For example, when the power switch 304 is turned off, the capacitor C10 is discharged to power the dimming controller 1108. The voltage across resistor R6 drops to zero, which in turn triggers monitoring unit 1106 to detect a voltage falling edge on 埠CLK. Similarly, when the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage, and the trigger monitoring unit 1106 can detect a rising voltage edge on the 埠CLK. As previously discussed, by monitoring the voltage on 埠CLK, 106 can monitor the action of power switch 304, such as a turn-on or turn-off action.

在一個實施例中,當電源開關304的第一組動作被監測到時,也就是觸發監測單元1106透過埠CLK接收到調光請求信號。當電源開關304的第二組動作被監測到時,也就是觸發監測單元1106透過埠CLK接收到調光終止信號。在一個實施例中,電源開關304的第一組動作包含第一個斷開動作和其後的第一個接通動作。在一個實施例中,電源開關304的第二組動作包含第二個斷開動作和其後的第二個接通動作。In one embodiment, when the first set of actions of the power switch 304 is monitored, that is, the trigger monitoring unit 1106 receives the dimming request signal through the 埠CLK. When the second set of actions of the power switch 304 is monitored, that is, the trigger monitoring unit 1106 receives the dimming termination signal through the 埠CLK. In one embodiment, the first set of actions of the power switch 304 includes a first open action and a subsequent first turn-on action. In one embodiment, the second set of actions of the power switch 304 includes a second disconnect action and a second turn-on action thereafter.

如果觸發監測單元1106接收到調光請求信號,調光控制器1108開始連續調整電力轉換器310輸出的調整後的電能。在類比調光模式下,調光控制器1108透過調整參考信號REF的電壓來調整電力轉換器310輸出的調整後的電能。在脈衝調光模式下,調光控制器1108透過調整脈衝寬度調變信號PWM1的責任週期來調整電力轉換器310輸出的調整後的電能。If the trigger monitoring unit 1106 receives the dimming request signal, the dimming controller 1108 begins to continuously adjust the adjusted power output by the power converter 310. In the analog dimming mode, the dimming controller 1108 adjusts the adjusted electrical energy output by the power converter 310 by adjusting the voltage of the reference signal REF. In the pulse dimming mode, the dimming controller 1108 adjusts the adjusted power output by the power converter 310 by adjusting the duty cycle of the pulse width modulation signal PWM1.

如果觸發監測單元1106接收到調光終止信號,調光控制器1108停止調整電力轉換器310輸出的調整後的電能。If the trigger monitoring unit 1106 receives the dimming termination signal, the dimming controller 1108 stops adjusting the adjusted power output by the power converter 310.

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

假設初始時刻電源開關304斷開。當電源開關304被使用者接通,電力轉換器310為LED串312供電,LED串312具有一個初始亮度。在類比調光模式下,該初始亮度由參考信號REF的初始電壓決定。在脈衝調光模式下,該初始亮度由脈衝寬度調變信號PWM1的初始責任週期(例如100%的責任週期)決定。參考信號REF和脈衝寬度調變信號PWM1由數位類比轉換器528根據計數器1126的計數值產生。因此,REF的初始電壓和PWM1的初始責任週期由計數器1126的初始計數值(例如0)決定。It is assumed that the power switch 304 is turned off at the initial time. When the power switch 304 is turned "on" by the user, the power converter 310 supplies power to the LED string 312, which has an initial brightness. In the analog dimming mode, the initial brightness is determined by the initial voltage of the reference signal REF. In the pulse dimming mode, the initial brightness is determined by the initial duty cycle of the pulse width modulation signal PWM1 (eg, 100% duty cycle). The reference signal REF and the pulse width modulation signal PWM1 are generated by the digital analog 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施以第一組動作。在第一組動作的作用下產生調光請求信號。在一個實施例中,第一組動作包含第一個斷開動作和其後的第一個接通動作。其產生的結果是,觸發監測單元1106在埠CLK監測到電壓下降沿1204和其後的電壓上升沿1206。回應於調光請求信號,觸發監測單元1106產生具有高電平的EN信號,進而啟動時脈產生器1104以產生時脈信號。由時脈信號驅動的計數器1126回應於時脈信號的每個時脈脈衝改變其計數值。在圖12的例子中,計數值在時脈信號的作用下遞增。在一個實施例中,當計數器1126達到其預設的最大計數值後,計數值被重置為0。在另一個實施例中,計數值遞增直到計數器1126達到預設最大計數值,然後計數值遞減直到計數器1126達到預設最小計數值。To adjust the brightness of the LED string 312, the user can apply a first set of actions to the power switch 304. A dimming request signal is generated under the action of the first set of actions. In one embodiment, the first set of actions includes a first disconnect action and a subsequent first turn-on action. As a result of this, the trigger monitoring unit 1106 monitors the voltage falling edge 1204 and the subsequent voltage rising edge 1206 at 埠CLK. In response to the dimming request signal, the trigger monitoring unit 1106 generates an EN signal having a high level, thereby activating the clock generator 1104 to generate a clock signal. The counter 1126, driven by the clock signal, changes its count value in response to each clock pulse of the clock signal. In the example of Figure 12, the count value is incremented by 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 embodiment, the count value is incremented until the counter 1126 reaches the preset maximum count value, and then the count value is decremented until the counter 1126 reaches the preset minimum count value.

在類比調光模式下,數位類比轉換器528從計數器1126中讀取計數值,並回應於計數值的遞增調低參考信號REF的電壓。在脈衝調光模式下,數位類比轉換器528從計數器1126中讀取計數值,並隨著計數值的遞增逐漸調低脈衝寬度調變信號PWM1的責任週期(例如每次調低10%)。因為電力轉換器310輸出的調整後的電能由參考信號REF的電壓決定(類比調光模式下)或是由脈衝寬度調變信號PWM1的責任週期決定(脈衝調光模式下),所以LED串312的亮度可以得到相應的調整。In the analog dimming mode, the digital analog converter 528 reads the count value from the counter 1126 and lowers the voltage of the reference signal REF in response to the increment of the count value. In the pulse dimming mode, the digital analog converter 528 reads the count value from the counter 1126 and gradually decreases the duty cycle of the pulse width modulation signal PWM1 as the count value increases (eg, 10% down each time). Since the adjusted power output by 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 pulse dimming mode), the LED string 312 The brightness can be adjusted accordingly.

一旦LED串312達到期望的亮度,使用者透過對電源開關304施以第二組動作來終止亮度調整。在第二組動作的作用下產生調光終止信號。在一個實施例中,第二組動作包含第二個斷開動作和其後的第二個接通動作。其產生的結果是,觸發監測單元1106在埠CLK監測到電壓下降沿1208和其後的電壓上升沿1210。在調光終止信號的作用下,觸發監測單元1106產生具有低電平的EN信號,進而關閉時脈產生器1104。由時脈信號驅動的計數器1126保持其計數值不變。在類比調光模式下,參考信號REF的電壓將保持不變。在脈衝調光模式下,脈衝寬度調變信號PWM1的責任週期將保持不變。因此,LED串312將保持該期望的亮度不變。Once the LED string 312 reaches the desired brightness, the user terminates the brightness adjustment by applying a second set of actions to the power switch 304. A dimming termination signal is generated by the action of the second set of actions. In one embodiment, the second set of actions includes a second disconnect action and a second turn-on action thereafter. As a result of this, the trigger monitoring unit 1106 monitors the voltage falling edge 1208 and the subsequent voltage rising edge 1210 at 埠CLK. Under the action of the dimming termination signal, the trigger monitoring unit 1106 generates an EN signal having a low level, thereby turning off the clock generator 1104. The counter 1126 driven by the clock signal keeps its count value unchanged. In the analog dimming mode, the voltage of the reference signal REF will remain unchanged. In the pulse dimming mode, the duty cycle of the pulse width modulation signal PWM1 will remain unchanged. Therefore, the LED string 312 will maintain the desired brightness unchanged.

圖13所示為根據本發明一個實施例的對光源進行電能控制的方法1300流程圖。圖13將結合圖10以及圖11進行描述。13 is a flow diagram of a method 1300 of power control of a light source, in accordance with one 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 adjusted electrical energy output by the power converter (eg, power converter 310) supplies power to the light source (eg, LED string 312).

在步驟1304中,接收調光請求信號(例如由調光控制器1108接收)。調光請求信號指示耦接於電源和電力轉換器之間的電源開關(如電源開關304)的第一組動作。在一個實施例中,電源開關的第一組動作包含第一個斷開動作和其後的第一個接通動作。In step 1304, a dimming request signal is received (eg, received by dimming controller 1108). The dimming request signal indicates a first set of actions of a power switch (eg, power switch 304) coupled between the power source and the power converter. In one embodiment, the first set of actions of the power switch includes a first disconnect action and a subsequent first turn-on action.

在步驟1306中,連續調整電力轉換器輸出的調整後的電能(例如利用調光控制器1108進行調整)。在一個實施例中,啟動時脈產生器1104來驅動計數器1126。根據計數器1126的計數值產生調光信號(如控制信號538或參考信號REF)。在類比調光模式下,透過比較參考信號REF和指示流經光源的電流監測信號來調整電力轉換器輸出的調整後的電能。REF的電壓由計數值決定。在脈衝調光模式下,透過控制信號538調整脈衝寬度調變信號PWM1的責任週期來電力轉換器輸出的調整後的電能。PWM1的責任週期由計數值決定。In step 1306, the adjusted electrical energy output by the power converter is continuously adjusted (eg, adjusted by dimming controller 1108). In one 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 adjusted electrical energy output by the power converter is adjusted by comparing the reference signal REF with a current monitoring signal indicative of a flow through the source. The voltage of REF is determined by the count value. In the pulse dimming mode, the duty cycle of the pulse width modulation signal PWM1 is adjusted by the control signal 538 to the adjusted power output by the power converter. The duty cycle of PWM1 is determined by the count value.

在步驟1308中,接收調光終止信號(例如由調光控制器1108接收)。該調光終止信號指示耦接於電源和電力轉換器之間的電源開關(如電源開關304)的第二組動作。在一個實施例中,電源開關的第二組動作包含第二個斷開動作和其後的第二個接通動作。In step 1308, a dimming termination signal is received (eg, received by dimming controller 1108). The dimming termination signal indicates a second set of actions coupled to a power switch (such as power switch 304) between the power source and the power converter. In one embodiment, the second set of actions of the power switch includes a second disconnect action and a second turn-on action thereafter.

在步驟1310中,如果接收到調光終止信號,則停止調整電力轉換器輸出的調整後的電能。在一個實施例中,關閉時脈產生器1104以使得計數器1126保持其計數值不變。其產生的結果是,在類比調光模式下,參考信號REF的電壓保持不變;在脈衝調光模式下,脈衝寬度調變信號PWM1的責任週期保持不變。因此,光源能夠保持期望的亮度。In step 1310, if the dimming termination signal is received, the adjustment of the adjusted electrical energy output by the power converter is stopped. In one embodiment, clock generator 1104 is turned off such that counter 1126 maintains its count value unchanged. As a result, in the analog dimming mode, the voltage of the reference signal REF remains unchanged; in the pulse dimming mode, the duty cycle of the pulse width modulation signal PWM1 remains unchanged. Therefore, the light source can maintain the desired brightness.

如前所述,本發明揭露了一種光源驅動電路。如果接收到調光請求信號,該光源驅動電路將自動且連續地調整光源的電能。如果接收到調光終止信號,該光源驅動電路將停止調整光源的電能。使用者可以透過對電源開關(如固定在牆上的電源開關)施以第一組動作來開始亮度調整過程。在亮度調整過程中,光源的亮度逐步遞增或遞減。如果獲得了期望的亮度,使用者透過對電源開關施以第二組動作來終止亮度調整過程。使用者不必使用額外的器件(如外置的調光器或是專門設計的具有調光按鈕的開關)來進行亮度調整,進而節省成本。As described above, the present invention discloses a light source driving circuit. If a dimming request signal is received, the light source drive circuit will automatically and continuously adjust the power of the light source. If a dimming termination signal is received, the light source driving circuit will stop adjusting the power of the light source. The user can initiate the brightness adjustment process by applying a first set of actions to a power switch, such as a power switch mounted to the wall. During the brightness adjustment process, the brightness of the light source is gradually increased or decreased. If the desired brightness is obtained, the user terminates the brightness adjustment process by applying a second set of actions to the power switch. Users do not have to use additional devices (such as external dimmers or specially designed switches with dimming buttons) for brightness adjustment, which saves costs.

圖14A所示為根據本發明一個實施例的光源驅動系統1400的電路圖。圖14A將結合圖10進行描述。圖14A中與圖10中編號相同的部件具有類似的功能,為簡明起見在此不做重複描述。Figure 14A is a circuit diagram of a light source driving system 1400 in accordance with one embodiment of the present invention. FIG. 14A will be described in conjunction with FIG. The components in FIG. 14A having the same reference numerals as those in FIG. 10 have similar functions, and the description thereof will not be repeated here for the sake of brevity.

在一個實施例中,驅動系統1400透過電源開關304接收AC電源,並為LED光源產生調製後的電能。電源開關304可為固定在牆上的電源開關。圖14B所示為電源開關304的一個實施例。透過將元件1480置於“開”位置或“關”位置,可控制電源開關304接通或斷開。元件1480可由用戶控制。如圖14A所示,驅動系統1400包含電源轉換電路,如交流/直流轉換器306、直流/直流轉換器1410及調光控制電路,如調光控制器1408。電源轉換電路透過電源開關304接收交流信號,如由交流電源提供的交流輸入電壓VIN ,並為LED光源1412提供調製後的電能,如調製後的電流Ireg。如圖14A所示,LED光源1412包含LED串。更詳細地說,電源轉換電路中的交流/直流轉換器306接收交流電源(如交流輸入電壓VIN ),並將交流電能轉換成直流電能(如直流輸出電壓VOUT )。電源轉換電路中的直流/直流轉換器1410透過根據調光信號(圖14A未示出)控制控制開關Q16 ,進而將直流電能(如直流輸出電壓VOUT )轉換成調製後的電能(如調製後的電流Ireg)。控制開關Q16 可透過直流/直流轉換器1410與LED光源串聯耦接。調光控制器1408產生調光信號並根據該調光信號控制LED光源1412的調光。調光控制器1408根據電源開關304的一組操作產生調光信號,並透過對波形(如正弦全波,正弦半波或交流信號VIN 的週期)計數來調整調光信號。在本文中,交流信號VIN 作為正弦信號進行說明,但本發明並不限於正弦交流信號。In one embodiment, drive system 1400 receives AC power through power switch 304 and produces modulated power for the LED source. The power switch 304 can be a wall-mounted power switch. One embodiment of a power switch 304 is shown in FIG. 14B. Power switch 304 can be controlled to be turned "on" or "off" by placing component 1480 in the "on" or "off" position. Element 1480 can be controlled by a user. As shown in FIG. 14A, the drive system 1400 includes power conversion circuits such as an AC/DC converter 306, a DC/DC converter 1410, and a dimming control circuit such as a dimming controller 1408. The power conversion circuit receives an AC signal through the power switch 304, such as an AC input voltage V IN provided by the AC power source, and provides modulated energy to the LED light source 1412, such as the modulated current Ireg. As shown in Figure 14A, LED light source 1412 includes a string of LEDs. In more detail, the AC/DC converter 306 in the power conversion circuit receives an AC power source (such as an AC input voltage V IN ) and converts the AC power into DC power (such as a DC output voltage V OUT ). The DC/DC converter 1410 in the power conversion circuit controls the control switch Q 16 according to the dimming signal (not shown in FIG. 14A), thereby converting the DC power (such as the DC output voltage V OUT ) into the modulated power (eg, modulation). After the current Ireg). Control switch Q 16 can be coupled in series with the LED light source via DC/DC converter 1410. The dimming controller 1408 generates a dimming signal and controls dimming of the LED light source 1412 in accordance with the dimming signal. The dimming controller 1408 generates a dimming signal based on a set of operations of the power switch 304 and adjusts the dimming signal by counting a waveform such as a period of a sine full wave, a sine half wave, or an alternating current signal V IN . Herein, the AC signal V IN is illustrated as a sinusoidal signal, but the invention is not limited to a sinusoidal AC signal.

例如,交流/直流轉換器306的全橋電路(如包含二極體D1 、D2 、D7 和D8 )接收來自交流電源的交流輸入電壓VIN ,並在濾波電容C9 上產生正弦半波(如只有一種極性),進而濾波電容C9 可向直流/直流轉換器1410提供直流輸出電壓VOUT 。包含電阻R3及R6的電阻分壓器提供調光請求或調光終止信號,調光請求或調光終止信號代表電源開關304的一系列操作。與圖10中描述的電源開關304的操作相似,圖14A中電源開關304的操作包含斷開電源開關304,並在關斷後的預定時間段ΔT內(如2秒內)接通電源開關304。回應於調光請求信號,調光控制器1408可致能LED光源1412的調光過程。回應於調光終止信號,調光控制器1408可終止LED光源1412的調光過程。此外,電源開關304接通時,電阻分壓器向調光控制器1408提供週期信號1454,該週期信號1454代表交流信號VIN 的正弦半波。For example, the full bridge circuit of the AC/DC converter 306 (eg, including diodes D 1 , D 2 , D 7 , and D 8 ) receives the AC input voltage V IN from the AC power source and produces a sine on the filter capacitor C 9 half-wave (e.g., only one polarity), the filter capacitor C 9 further provides a DC output voltage V OUT to the DC / DC converter 1410. A resistor divider comprising resistors R3 and R6 provides a dimming request or dimming termination signal, and the dimming request or dimming termination signal represents a series of operations of the power switch 304. Similar to the operation of the power switch 304 depicted in FIG. 10, the operation of the power switch 304 of FIG. 14A includes turning off the power switch 304 and turning the power switch 304 on within a predetermined time period ΔT after the turn-off (eg, within 2 seconds). . In response to the dimming request signal, dimming controller 1408 can enable the dimming process of LED light source 1412. In response to the dimming termination signal, the dimming controller 1408 can terminate the dimming process of the LED light source 1412. Additionally, when the power switch 304 is turned "on", the resistive voltage divider provides a dimming controller 1408 with a periodic signal 1454 representative of the sinusoidal half-wave of the alternating current signal V IN .

如圖14A所示,電力轉換器1410為降壓轉換器,且包含控制開關Q16 ,二極體1414,電流監測器1428(如電阻),互相耦接的電感L1及L2,及電容1424。在一個實施例中,控制開關Q16 可整合於調光控制器1408內。電感L1及L2電磁耦接,如透過公共節點1433。儘管圖14A所示公共節點1433位於電阻1428及電感L1間,但在另一實施例中,公共節點1433也可位於控制開關Q16 及電阻1428間。公共節點1433為調光控制器1408提供參考地電位。在一個實施例中,調光控制器1408的參考地電位不同於驅動系統1400的地電位。透過接通和斷開控制開關Q16 ,可調整流經電感L1的調製後的電流Ireg,進而調整提供給LED光源1412的電能。電容1424吸收調製後的電流Ireg上的紋波,以使流經LED光源1412的電流平穩且大體等於調製後的電流Ireg的平均值。此外,電感L2檢測電感L1的電狀態,例如,流經電感L1的電流是否降至一個預設最低位準。電感L2還產生代表電感L1電狀態的檢測信號AUX。電阻1428提供電流監控信號SEN,該電流監控信號SEN代表流經電感L1的調製後的電流Ireg。As shown in FIG. 14A, the power converter 1410 is a buck converter and includes a control switch Q 16 , a diode 1414 , a current monitor 1428 (such as a resistor), inductors L1 and L2 coupled to each other, and a capacitor 1424 . In one embodiment, control switch Q 16 can be integrated into dimming controller 1408. Inductors L1 and L2 are electromagnetically coupled, such as through common node 1433. Although the common node 1433 shown in FIG. 14A is located between the resistor 1428 and the inductor L1, in another embodiment, the common node 1433 may also be located between the control switch Q 16 and the resistor 1428. The common node 1433 provides a reference ground potential for the dimming controller 1408. In one embodiment, the reference ground potential of the dimming controller 1408 is different than the ground potential of the drive system 1400. On and off through the control switch Q 16, adjust the current Ireg modulated through inductor L1, and then adjust the power supplied to the LED light source 1412. Capacitor 1424 absorbs the ripple on modulated current Ireg such that the current flowing through LED source 1412 is smooth and substantially equal to the average of the modulated current Ireg. In addition, the inductor L2 detects the electrical state of the inductor L1, for example, whether the current flowing through the inductor L1 falls to a predetermined minimum level. Inductor L2 also produces a detection signal AUX representative of the electrical state of inductor L1. Resistor 1428 provides a current monitoring signal SEN representative of the modulated current Ireg flowing through inductor L1.

如圖14A所示,調光控制器1408有埠CLK,ZCD,GND,CTRL,VDD,MON,COMP及FB。埠ZCD與電感L2耦接且接收檢測信號AUX。埠MON透過電容與調光控制器1408的參考地電位耦接且向調光控制器1408提供補償電壓REF2。埠FB接收監控信號AVG,該監控信號MG代表流經電感L1的電流Ireg的平均值。埠CLK監控電源開關304,如監控電源開關304的狀態是導通還是斷開。當電源開關304接通時,如圖14A所示,電源開關304還接收代表交流信號VIN 的正弦波的週期信號1454。在另一實施例中,調光控制器1408包含不同的埠分別監控開關電源304和接收週期信號1454。控制埠CTRL與控制開關Q16 耦接,並產生驅動信號CTRL,如PWM信號,以控制控制開關Q16 ,進而控制LED光源1412的調光。驅動信號CTRL基於開關電源304的操作、週期信號1454、檢測信號AUX及監控信號SEN及AVG產生。此外,埠VDD可接收來自交流/直流轉換器306或電感L2的電能。埠GND與調光控制器1408的參考地電位耦接。As shown in FIG. 14A, the dimming controller 1408 has 埠CLK, ZCD, GND, CTRL, VDD, MON, COMP, and FB. The 埠ZCD is coupled to the inductor L2 and receives the detection signal AUX. The 埠MON is coupled to the reference ground potential of the dimming controller 1408 via a capacitor and provides a compensation voltage REF2 to the dimming controller 1408. The 埠FB receives the monitor signal AVG, which represents the average value of the current Ireg flowing through the inductor L1. The CLK monitors the power switch 304, such as whether the state of the power switch 304 is on or off. When the power switch 304 is turned "on", as shown in FIG. 14A, the power switch 304 also receives a periodic signal 1454 representative of the sine wave of the AC signal V IN . In another embodiment, dimming controller 1408 includes different chirps to monitor switching power supply 304 and receive periodic signal 1454, respectively. Control 埠CTRL is coupled to control switch Q 16 and generates a drive signal CTRL, such as a PWM signal, to control control switch Q 16 to control dimming of LED light source 1412. The drive signal CTRL is generated based on the operation of the switching power supply 304, the periodic signal 1454, the detection signal AUX, and the monitoring signals SEN and AVG. In addition, 埠 VDD can receive power from AC/DC converter 306 or inductor L2.埠GND is coupled to the reference ground potential of the dimming controller 1408.

更詳細地,在一個實施例中,電源開關304處於導通狀態。在操作中,當開關Q16 導通時,電流Ireg流經開關Q16、電阻1428、電感L1及LED光源1412,流向驅動系統1400的地,且電流Ireg增加。當開關Q16 斷開時,電流Ireg繼續流經電阻1428、電感L1、LED光源1412及二極體1414,且電流Ireg減小。在一個實施例中,若監控信號SEN顯示電流Ireg增至最高位準IMAX ,則調光控制器1408關斷開關Q16 以減小電流Ireg。若檢測信號AUX顯示電流Ireg降至預設最低位準,則調光控制器1408接通開關Q16 以增大電流Ireg。因此,電流Ireg的調整範圍為預設最低位準至最高位準IMAX 。在一個實施例中,最高位準IMAX 可調整。例如,若監控信號AVG顯示電流Ireg的平均值低於預設位準,則調光控制器1408增大最高位準IMAX 以增大電流Ireg的平均值。若監控信號AVG顯示電流Ireg的平均值高於預設位準,則調光控制器1408減小最高位準IMAX 以減小電流Ireg的平均值。因此,可調整流經LED光源1412的電流至預設位準。即,可調整LED光源1412的光輸出至相應的預設位準。In more detail, in one embodiment, the power switch 304 is in an on state. In operation, when switch Q 16 is turned on, current Ireg flows through switch Q16, resistor 1428, inductor L1, and LED source 1412, to the ground of drive system 1400, and current Ireg increases. When switch Q 16 is open, current Ireg continues to flow through resistor 1428, inductor L1, LED source 1412, and diode 1414, and current Ireg decreases. In one embodiment, if the monitor signal SEN indicates that the current Ireg has increased to the highest level I MAX , the dimming controller 1408 turns off the switch Q 16 to reduce the current Ireg. If the detection signal AUX indicates that the current Ireg falls to a preset minimum level, the dimming controller 1408 turns on the switch Q 16 to increase the current Ireg. Therefore, the adjustment range of the current Ireg is the preset lowest level to the highest level I MAX . In one embodiment, the highest level I MAX is adjustable. For example, if the average value of the monitor signal AVG display current Ireg is lower than the preset level, the dimming controller 1408 increases the highest level I MAX to increase the average value of the current Ireg. If the average value of the monitor signal AVG display current Ireg is higher than the preset level, the dimming controller 1408 reduces the highest level I MAX to reduce the average value of the current Ireg. Therefore, the current through the LED light source 1412 can be rectified to a preset level. That is, the light output of the LED light source 1412 can be adjusted to a corresponding preset level.

更進一步地,在一個實施例中,用戶可控制電源開關304以控制LED光源1412的調光,如控制光輸出的預設位準。更詳細地,用戶可在電源開關304上進行一系列操作。調光控制器1408根據電源開關304的操作產生驅動信號CTRL。例如,當用戶先接通電源開關304時,調光控制器1408產生獨立於調光信號(如參考信號REF或PWM信號PWM1)的驅動信號CTRL,並控制LED光源1412的光輸出至預設位準,如最高位準。之後,若用戶斷開電源開關304並在斷開後的預定時間段ΔT內再次接通電源開關304,調光控制器1408產生調光信號以控制驅動信號CTRL。調光控制器1408還透過對交流信號VIN 的波形進行計數,調整調光信號及驅動信號CTRL,進而控制LED光源1412的調光,例如調整調製後的電流Ireg。在一個實施例中,調光控制器1408透過對週期信號1454的週期計數,進而實現對交流信號VIN 的半波進行計數。在另一實施例中,調光控制器1408直接或間接接收交流信號VIN ,並對交流信號VIN 的半波或全波進行計數。Still further, in one embodiment, the user can control the power switch 304 to control dimming of the LED light source 1412, such as controlling a preset level of light output. In more detail, the user can perform a series of operations on the power switch 304. The dimming controller 1408 generates a drive signal CTRL according to the operation of the power switch 304. For example, when the user first turns on the power switch 304, the dimming controller 1408 generates a driving signal CTRL that is independent of the dimming signal (such as the reference signal REF or the PWM signal PWM1), and controls the light output of the LED light source 1412 to a preset position. Standard, such as the highest level. Thereafter, if the user turns off the power switch 304 and turns the power switch 304 on again within the predetermined time period ΔT after the disconnection, the dimming controller 1408 generates a dimming signal to control the drive signal CTRL. The dimming controller 1408 also adjusts the dimming signal and the driving signal CTRL by counting the waveform of the AC signal V IN , thereby controlling the dimming of the LED light source 1412, for example, adjusting the modulated current Ireg. In one embodiment, the dimming controller 1408 counts the period of the periodic signal 1454 to achieve a count of the half wave of the alternating signal V IN . In another embodiment, the dimming controller 1408 receives the AC signal V IN directly or indirectly and counts the half or full wave of the AC signal V IN .

圖15所示為本發明一實施例的圖14A中的調光控制電路1408的結構示例圖。圖15將結合圖10及圖14A進行描述。圖15與圖10及圖14A中編號相同的部件具有相似功能,為簡明起見在此不做重複描述。如圖15所示,調光控制電路1408包含觸發監測單元1506,調光器1502,及驅動信號產生電路。該驅動信號產生電路包含誤差放大器1550,比較器534,SR觸發器522,及閘524以及觸發電路1504。FIG. 15 is a diagram showing an example of the configuration of the dimming control circuit 1408 of FIG. 14A according to an embodiment of the present invention. Figure 15 will be described in conjunction with Figures 10 and 14A. The components of the same reference numerals in Fig. 15 and Figs. 10 and 14A have similar functions, and will not be repeatedly described herein for the sake of brevity. As shown in FIG. 15, the dimming control circuit 1408 includes a trigger monitoring unit 1506, a dimmer 1502, and a drive signal generating circuit. The drive signal generating circuit includes an error amplifier 1550, a comparator 534, an SR flip-flop 522, and a gate 524 and a trigger circuit 1504.

觸發監測單元1506可透過埠CLK監控電源開關304的操作,並回應於檢測到的電源開關304的一系列操作產生脈衝TRIG。在一實施例中,該系列操作包含斷開電源開關304並在斷開後的預定時間段ΔT內接通電源開關304。若執行該系列操作,觸發監測單元1506可在埠CLK檢測到電壓負邊及電壓正邊,該電壓正邊跟隨在該電壓負邊之後。調光器1502可根據脈衝TRIG對交流信號VIN 的波形進行計數,如調光器1502透過對週期信號1454進行計數進而對交流信號VIN 的波形進行計數。例如,除非監控單元1506可產生脈衝TRIG,以致能或去能週期信號1454的計數。The trigger monitoring unit 1506 can monitor the operation of the power switch 304 via 埠CLK and generate a pulse TRIG in response to a series of operations of the detected power switch 304. In an embodiment, the series of operations includes disconnecting the power switch 304 and turning the power switch 304 on for a predetermined period of time ΔT after the disconnection. If the series of operations is performed, the trigger monitoring unit 1506 can detect the negative side of the voltage and the positive side of the voltage at 埠CLK, which follows the negative side of the voltage. Dimmer 1502 may count the AC signal V IN is a pulse waveform from TRIG, 1502 Further dimmer signal V IN AC waveform is counted through periodic signal 1454 counts. For example, unless the monitoring unit 1506 can generate a pulse TRIG, the count of the periodic signal 1454 can be enabled or disabled.

調光器1502包含數位類比轉換器528及PWM產生器530,還包含調光指示器1526及時脈產生器1504。在一實施例中,時脈產生器1504接收週期信號1454並產生代表週期信號1454的時脈信號1544。例如,時脈產生器1504可在週期信號1454的每個週期內產生一個脈衝。調光指示器1526透過對時脈信號1544的脈衝計數進而對交流信號VIN 的波形計數。在一實施例中,調光指示器1526還根據計數結果產生代表調光值的數值數位輸出1548。例如,若計數結果超過預設數值,則調光指示器1526將代表調光值的數值數位輸出1548增加1並重新計數。若數位輸出1548增加,數位類比轉換器528可增加調光信號,如基準信號REF或PWM信號PWM1的責任週期;若數位輸出1548減小,數位類比轉換器528可減小調光信號。因此,調光器1502可透過對交流信號VIN 的波形計數調整調光信號以調整驅動信號CTRL。The dimmer 1502 includes a digital analog converter 528 and a PWM generator 530, and also includes a dimming indicator 1526 and a pulse generator 1504. In an embodiment, the clock generator 1504 receives the periodic signal 1454 and generates a clock signal 1544 representative of the periodic signal 1454. For example, clock generator 1504 can generate a pulse during each cycle of periodic signal 1454. The dimming indicator 1526 counts the waveform of the AC signal V IN by counting the pulses of the clock signal 1544. In one embodiment, the dimming indicator 1526 also produces a numerical digit output 1548 representative of the dimming value based on the result of the counting. For example, if the count result exceeds a preset value, dimming indicator 1526 increments the value digit output 1548 representing the dimming value by one and recounts. If the digital output 1548 is increased, the digital analog converter 528 can increase the duty cycle of the dimming signal, such as the reference signal REF or the PWM signal PWM1; if the digital output 1548 is reduced, the digital analog converter 528 can reduce the dimming signal. Therefore, the dimmer 1502 can adjust the dimming signal by adjusting the waveform of the AC signal V IN to adjust the driving signal CTRL.

觸發電路504與調光控制電路1408的埠ZCD耦接。在一實施例中,若埠ZCD檢測到調製後的電流Ireg減小至預設最低位準,如0A,則觸發電路504產生脈衝信號1536,如邏輯高信號,進而將觸發器522的輸出Q設置為邏輯高並接通開關Q16 。此外,若調光控制電路1408的埠MON接收到的電流監控信號SEN增至可調整的最高位準,如補償電壓REF2,則比較器534輸出邏輯高信號以重置觸發器522的輸出Q至邏輯低,進而斷開開關Q16 。因此,調製後的電流Ireg可在範圍--預設最低位準(如0A)至取決於補償電壓REF2的最高位準內進行調整。The trigger circuit 504 is coupled to the 埠ZCD of the dimming control circuit 1408. In an embodiment, if the 埠ZCD detects that the modulated current Ireg is reduced to a preset minimum level, such as 0A, the trigger circuit 504 generates a pulse signal 1536, such as a logic high signal, and then outputs the output Q of the flip flop 522. Set to logic high and turn on switch Q 16 . In addition, if the current monitoring signal SEN received by 埠MON of the dimming control circuit 1408 is increased to an adjustable highest level, such as the compensation voltage REF2, the comparator 534 outputs a logic high signal to reset the output Q of the flip-flop 522 to The logic is low and the switch Q 16 is turned off. Therefore, the modulated current Ireg can be adjusted within a range from a preset minimum level (eg, 0A) to a highest level depending on the compensation voltage REF2.

在類比調光模式中,調光控制器1408透過比較基準信號REF與監控信號AVG控制LED光源1412的調光。監控信號AVG代表流經LED光源1412的電流。更詳細地,誤差放大器1550比較基準信號REF與監控信號AVG。若監控信號AVG小於基準信號REF,誤差放大器增大補償電壓REF2;若監控信號AVG大於基準信號REF,誤差放大器減小補償電壓REF2。因此,流經LED光源1412的電流可調整至取決於基準信號REF的位準。相應地,基準信號REF可調整LED光源1412的光輸出。在脈衝調光模式中,調光控制器1408根據輸出Q(如觸發器522的PWM信號)和PWM信號PWM1控制LED光源1412的調光。更詳細地,當PWM信號PWM1為邏輯高時,輸出Q調整調製後的電流Ireg且調製後的電流Ireg的平均值取決於基準信號REF1。當PWM信號PWM1為邏輯低時,沒有調製後的電流流經LED光源1412。因此,若PWM信號PWM1的週期增大,LED光源1412的光輸出可增大;若PWM信號PWM1的週期減小,LED光源1412的光輸出可減小。In the analog dimming mode, the dimming controller 1408 controls dimming of the LED light source 1412 by comparing the reference signal REF with the monitor signal AVG. The monitor signal AVG represents the current flowing through the LED light source 1412. In more detail, the error amplifier 1550 compares the reference signal REF with the monitor signal AVG. If the monitor signal AVG is smaller than the reference signal REF, the error amplifier increases the compensation voltage REF2; if the monitor signal AVG is greater than the reference signal REF, the error amplifier reduces the compensation voltage REF2. Therefore, the current flowing through the LED light source 1412 can be adjusted to depend on the level of the reference signal REF. Accordingly, the reference signal REF can adjust the light output of the LED light source 1412. In the pulse dimming mode, dimming controller 1408 controls dimming of LED light source 1412 based on output Q (such as the PWM signal of flip flop 522) and PWM signal PWM1. In more detail, when the PWM signal PWM1 is logic high, the output Q adjusts the modulated current Ireg and the average value of the modulated current Ireg depends on the reference signal REF1. When the PWM signal PWM1 is logic low, no modulated current flows through the LED light source 1412. Therefore, if the period of the PWM signal PWM1 is increased, the light output of the LED light source 1412 can be increased; if the period of the PWM signal PWM1 is decreased, the light output of the LED light source 1412 can be decreased.

圖16所示為本發明一實施例的圖15中調光器1502的結構示例圖。圖16將結合圖15進行描述。如圖16所示,時脈產生器1504包含比較器,調光指示器1526包含始終計數器。PWM產生器530包含鋸齒波產生器及比較器。時脈產生器1504比較代表交流信號VIN 的週期信號1454與電壓基準VREF 以產生時脈信號1544。在一個實施例中,時脈信號1544的每個脈衝回應於週期信號1454的一個週期。例如,若交流信號VIN 的頻率為50Hz,則週期信號1454的頻率為100Hz,且時脈信號1544的頻率也為100Hz。在一個實施例中,若交流信號VIN 的波形的計數結果超過預設數值(如100),則調光指示器1526將調光值的數值數位輸出增加一個預設量(如1)並重新計數。因此,數位類比轉換器528可將調光信號(如基準信號REF或PWM信號PWM1的責任週期)控制在第一預設位準至第二預設位準間。在此實施例中,調光值可每秒增加1,因此LED光源1412的光輸出也可每秒增加一個預設量。Figure 16 is a diagram showing an example of the structure of the dimmer 1502 of Figure 15 in accordance with an embodiment of the present invention. Figure 16 will be described in conjunction with Figure 15. As shown in FIG. 16, clock generator 1504 includes a comparator, and dimming indicator 1526 includes an always counter. The PWM generator 530 includes a sawtooth generator and a comparator. The clock generator 1504 compares the periodic signal 1454 representing the AC signal V IN with the voltage reference V REF to generate a clock signal 1544. In one embodiment, each pulse of the clock signal 1544 is responsive to one cycle of the periodic signal 1454. For example, if the frequency of the AC signal V IN is 50 Hz, the frequency of the periodic signal 1454 is 100 Hz, and the frequency of the clock signal 1544 is also 100 Hz. In one embodiment, if the count result of the waveform of the AC signal V IN exceeds a preset value (eg, 100), the dimming indicator 1526 increases the numerical value output of the dimming value by a preset amount (eg, 1) and re count. Therefore, the digital analog converter 528 can control the dimming signal (such as the duty cycle of the reference signal REF or the PWM signal PWM1) between the first preset level and the second preset level. In this embodiment, the dimming value can be increased by one per second, so the light output of the LED light source 1412 can also be increased by a predetermined amount per second.

回至圖15,結合圖16描述圖15。在操作中,當用戶先接通電源開關304時,調光指示器1526可將數位輸出1548設為預設調光值,如最大調光值。例如,在類比調光模式中,預設基準信號REF為最大值,如等於基準信號REF1。在另一個例子中,在脈衝調光模式中,預設PWM信號PWM1的週期為100%。因此,圖14A中的LED光源1412可發出最大光強/亮度。Returning to Figure 15, Figure 15 is described in conjunction with Figure 16. In operation, when the user first turns on the power switch 304, the dimming indicator 1526 can set the digital output 1548 to a preset dimming value, such as a maximum dimming value. For example, in the analog dimming mode, the preset reference signal REF is at a maximum value, such as equal to the reference signal REF1. In another example, in the pulse dimming mode, the period of the preset PWM signal PWM1 is 100%. Thus, the LED light source 1412 of Figure 14A can emit maximum light intensity/brightness.

若用戶斷開電源開關304並在斷開後的預定時間段△T內再次接通電源開關304,則觸發監測單元1506在埠CLK檢測到電壓負邊及電壓正邊,該電壓正邊跟隨在該電壓負邊之後。因此,觸發監測單元1506基於電源開關304的操作產生第一脈衝。第一脈衝可致能交流信號VIN 的波形的計數,進而調整調光信號,如基準信號REF或PWM信號PWM1。在一個實施例中,回應於第一脈衝,調光指示器1526可使數值數位輸出1548從最低調光值開始增加,且LED光源1412的光輸出從相應的最低光強/亮度開始增加。當調光信號調整到期望位準(如LED光源1412的光輸出調整到期望的光強/亮度)時,用戶可斷開電源開關304並在斷開後的預定時間△T內再次接通電源開關304。相應地,觸發監測單元1506基於電源開關304的操作產生第二脈衝。第二脈衝可去能對交流信號VIN 的波形進行計數。因此,調光指示器1526使調光信號保持在期望位準,進而使LED光源1412的光輸出保持在期望光強/亮度。If the user turns off the power switch 304 and turns on the power switch 304 again within the predetermined time period ΔT after the disconnection, the trigger monitoring unit 1506 detects the negative side of the voltage and the positive side of the voltage at 埠CLK, and the positive side of the voltage follows After the negative side of the voltage. Therefore, the trigger monitoring unit 1506 generates a first pulse based on the operation of the power switch 304. The first pulse enables the counting of the waveform of the alternating current signal V IN , which in turn adjusts the dimming signal, such as the reference signal REF or the PWM signal PWM1. In one embodiment, in response to the first pulse, dimming indicator 1526 can cause digital digit output 1548 to increase from the lowest dimming value, and the light output of LED source 1412 increases from the corresponding minimum intensity/brightness. When the dimming signal is adjusted to the desired level (eg, the light output of the LED light source 1412 is adjusted to the desired light intensity/brightness), the user can turn off the power switch 304 and turn the power on again within a predetermined time ΔT after the disconnection. Switch 304. Accordingly, the trigger monitoring unit 1506 generates a second pulse based on the operation of the power switch 304. The second pulse can be used to count the waveform of the AC signal V IN . Thus, dimming indicator 1526 maintains the dimming signal at a desired level, thereby maintaining the light output of LED source 1412 at a desired intensity/brightness.

更進一步地,若用戶斷開電源開關304並在斷開後的預定時間段△T內再次接通電源開關304,調光指示器1526可重新對時脈信號1544進行計數,並使數位輸出1548再次從最低調光值開始增加。然而,在一個實施例中,若數值數位輸出1548到達最大調光值,調光指示器1526可停止對時脈信號1544進行計數,並使數位輸出1548保持為最大調光值,進而,LED光源1412的光輸出也保持在最大光強/亮度。之後,若用戶斷開電源開關304並在斷開後的預定時間段△T內再次接通電源開關304,觸發監測單 元1506可使調光指示器1526對時脈信號1544重新進行計數。調光指示器1526可使數位輸出再次從最低調光值開始增加。Further, if the user turns off the power switch 304 and turns on the power switch 304 again within a predetermined time period ΔT after the disconnection, the dimming indicator 1526 can re-count the clock signal 1544 and output the digital position 1548. Increase again from the lowest dimming value. However, in one embodiment, if the digital digit output 1548 reaches the maximum dimming value, the dimming indicator 1526 can stop counting the clock signal 1544 and maintain the digital output 1548 at the maximum dimming value. The light output of the 1412 is also maintained at maximum light intensity/brightness. Thereafter, if the user turns off the power switch 304 and turns on the power switch 304 again within a predetermined time period ΔT after the disconnection, the monitoring list is triggered. Element 1506 can cause dimming indicator 1526 to recount clock signal 1544. The dimming indicator 1526 causes the digital output to again increase from the lowest dimming value.

圖17所示為本發明一實施例的圖14A中的光源驅動系統1400的操作示例圖。圖17將結合圖14A,圖15及圖16進行描述。Figure 17 is a diagram showing an operation example of the light source driving system 1400 of Figure 14A according to an embodiment of the present invention. Figure 17 will be described in conjunction with Figures 14A, 15 and 16.

假設電源開關304的初始狀態為斷開。在操作中,初次接通電源開關304(可由用戶接通)時,在一個實施例中,LED光源1412由自電力轉換器1410輸出的調製後的電能供電,並產生初始光輸出。在類比調光模式下,初始光輸出可取決於基準信號REF的初始電壓。在脈衝調光模式下,初始光輸出可取決於PWM信號PWM1的初始責任週期(如100%)。基準信號REF及PWM信號PWM1可根據調光指示器1526的調光值產生。因此,基準信號REF的初始電壓及PWM信號PWM1的初始責任週期可取決於有調光指示器1526提供的初始調光值(如10)。It is assumed that the initial state of the power switch 304 is off. In operation, when the power switch 304 is turned on for the first time (which can be turned on by the user), in one embodiment, the LED light source 1412 is powered by the modulated electrical energy output from the power converter 1410 and produces an initial light output. In the analog dimming mode, the initial light output may depend on the initial voltage of the reference signal REF. In pulse dimming mode, the initial light output may depend on the initial duty cycle (eg, 100%) of the PWM signal PWM1. The reference signal REF and the PWM signal PWM1 may be generated based on the dimming value of the dimming indicator 1526. Thus, the initial voltage of the reference signal REF and the initial duty cycle of the PWM signal PWM1 may depend on the initial dimming value (eg, 10) provided by the dimming indicator 1526.

為調整LED光源1412的光輸出,用戶可執行電源開關304的第一組操作。調光請求信號根據檢測到的電源開關304的第一斷開操作及第一接通操作產生。第一接通操作在第一斷開操作完成後的預定時間△T內完成。因此,可檢測到調光請求信號產生,且調光請求信號包含埠CLK的電壓負邊1704及正邊1706,其中,正邊1706跟隨在負邊1704之後。回應於調光請求信號,觸發監測單元1506產生脈衝TRIG。因此,調光指示器1526可開始對時脈信號1544計數。如圖17所示,調光指示器1526可使調光值從最低值(如1)開始增加,且回應於時脈信號1544的三個脈衝,觸發監測單元1506使調光值增加1。但本發明並不限於此。在另一實施例中,回應於時脈信號1544的N個脈衝(N為預定數值),調光指示器1526可使調光值增加2、3或其他數目。在又一實施例中,調光指示器1526可使調光值從預設值(如10)開始減小,且回應於時脈信號1544的M個脈衝(M為預定數值),調光指示器1526可使調光值減小2、3或其他數目。To adjust the light output of the LED light source 1412, the user can perform a first set of operations of the power switch 304. The dimming request signal is generated according to the detected first off operation and the first on operation of the power switch 304. The first turn-on operation is completed within a predetermined time ΔT after the completion of the first disconnection operation. Thus, dimming request signal generation can be detected, and the dimming request signal includes a voltage negative side 1704 and a positive side 1706 of 埠CLK, wherein the positive side 1706 follows the negative side 1704. In response to the dimming request signal, the trigger monitoring unit 1506 generates a pulse TRIG. Thus, the dimming indicator 1526 can begin counting the clock signal 1544. As shown in FIG. 17, dimming indicator 1526 can increase the dimming value from the lowest value (eg, 1), and in response to three pulses of clock signal 1544, trigger monitoring unit 1506 increments the dimming value by one. However, the invention is not limited to this. In another embodiment, in response to N pulses of the clock signal 1544 (N is a predetermined value), the dimming indicator 1526 can increase the dimming value by two, three or other numbers. In yet another embodiment, the dimming indicator 1526 can decrease the dimming value from a preset value (eg, 10) and respond to the M pulses of the clock signal 1544 (M is a predetermined value), the dimming indication The 1526 can reduce the dimming value by two, three or other numbers.

在類比調光模式下,在一個實施例中,數位類比轉換器528讀取自調光指示器1526接收的調光值,且若調光值的增加,則數位類比轉換器528使基準信號REF的電壓增大。在脈衝調光模式下,在一個實施例中,數位類比轉換器528讀取自調光指示器1526接收的調光值,且若調光值的增加,則數位類比轉換器528使PWM信號PWM1的責任週期增大。In the analog dimming mode, in one embodiment, the digital analog converter 528 reads the dimming value received from the dimming indicator 1526, and if the dimming value increases, the digital analog converter 528 causes the reference signal REF. The voltage increases. In the pulse dimming mode, in one embodiment, the digital analog converter 528 reads the dimming value received from the dimming indicator 1526, and if the dimming value increases, the digital analog converter 528 causes the PWM signal PWM1. The duty cycle has increased.

若在調光值到達最大值(如10)前,已經得到期望的光輸出,則用戶可執行電源開關304的第二組操作,進而終止調整過程。調光終止信號根據檢測到的電源開關304的第二斷開操作及第二接通操作產生。第二接通操作在第二斷開操作完成後的預定時間ΔT內完成。因此,可檢測到調光終止信號產生,且調光終止信號包含埠CLK的電壓負邊1708及正邊1710,其中,正邊1710跟隨在負邊1708之後。回應於調光終止信號,觸發監測單元1506產生脈衝TRIG使調光指示器1526禁用並使調光指示器1526保持調光值。相應地,在類比調光模式下,基準信號REF的電壓可保持為期望位準。在脈衝調光模式下,PWM信號PWM1的責任週期可保持為期望值。因此,LED光源1412的光輸出可保持為期望位準。If the desired light output has been obtained before the dimming value reaches a maximum value (e.g., 10), the user can perform a second set of operations of the power switch 304 to terminate the adjustment process. The dimming termination signal is generated in accordance with the detected second off operation and the second on operation of the power switch 304. The second on operation is completed within a predetermined time ΔT after the completion of the second disconnection operation. Thus, dimming termination signal generation can be detected, and the dimming termination signal includes a voltage negative side 1708 and a positive side 1710 of 埠CLK, wherein the positive side 1710 follows the negative side 1708. In response to the dimming termination signal, the trigger monitoring unit 1506 generates a pulse TRIG that disables the dimming indicator 1526 and causes the dimming indicator 1526 to maintain the dimming value. Accordingly, in the analog dimming mode, the voltage of the reference signal REF can be maintained at a desired level. In the pulse dimming mode, the duty cycle of the PWM signal PWM1 can be maintained at a desired value. Thus, the light output of LED light source 1412 can be maintained at a desired level.

為進一步調整LED光源1412的光輸出,用戶可執行電源開關304的第三組操作。調光請求信號根據檢測到的電源開關304的第三斷開操作及第三接通操作產生。第三接通操作在第三斷開操作完成後的預定時間ΔT內完成。因此,可檢測到調光請求信號產生,且調光請求信號包含埠CLK的電壓負邊1712及正邊1714,其中,正邊1714跟隨在負邊1712之後。相應地,調光控制電路1408透過對時脈信號1544進行計數進而調整調光位準,並透過調整調光位準,進而調整LED光源1412的光輸出。To further adjust the light output of the LED light source 1412, the user can perform a third set of operations of the power switch 304. The dimming request signal is generated according to the detected third off operation and the third on operation of the power switch 304. The third turn-on operation is completed within a predetermined time ΔT after the completion of the third disconnection operation. Thus, dimming request signal generation can be detected, and the dimming request signal includes a voltage negative side 1712 and a positive side 1714 of 埠CLK, wherein the positive side 1714 follows the negative side 1712. Correspondingly, the dimming control circuit 1408 adjusts the dimming level by counting the clock signal 1544, and adjusts the dimming level to adjust the light output of the LED light source 1412.

圖18所示為本發明一實施例的圖14A中的光源驅動系統1400的操作示例圖。圖18將結合圖14A、圖15、圖16及圖17進行描述。FIG. 18 is a diagram showing an operation example of the light source driving system 1400 of FIG. 14A according to an embodiment of the present invention. FIG. 18 will be described with reference to FIGS. 14A, 15, 16, and 17.

與圖17相似,如圖18所示,假設電源開關304的開關為斷開。在操作中,當初次接通電源開關304(可由用戶接通)時,在一個實施例中,LED光源1412由自電力轉換器1410輸出的調製後的電能供電,並產生初始光輸出。Similar to Fig. 17, as shown in Fig. 18, it is assumed that the switch of the power switch 304 is off. In operation, when the power switch 304 is turned on for the first time (which can be turned on by the user), in one embodiment, the LED light source 1412 is powered by the modulated electrical energy output from the power converter 1410 and produces an initial light output.

為調整LED光源1412的光輸出,用戶可執行電源開關304的第一組操作。調光請求信號根據檢測到的電源開關304的第一斷開操作及第一接通操作產生。第一接通操作在第一斷開操作完成後的預定時間ΔT內完成。因此,可檢測到調光請求信號產生,且調光請求信號包含埠CLK的電壓負邊1804及正邊1806,其中,正邊1806跟隨在負邊1804之後。調光控制電路1408透過對時脈信號1544進行計數進而調整調光位準,並透過調整調光位準,進而調整供給LED光源1412的調製後的電能。To adjust the light output of the LED light source 1412, the user can perform a first set of operations of the power switch 304. The dimming request signal is generated according to the detected first off operation and the first on operation of the power switch 304. The first turn-on operation is completed within a predetermined time ΔT after the completion of the first disconnect operation. Thus, dimming request signal generation can be detected, and the dimming request signal includes a voltage negative side 1804 and a positive side 1806 of 埠CLK, wherein the positive side 1806 follows the negative side 1804. The dimming control circuit 1408 adjusts the dimming level by counting the clock signal 1544, and adjusts the dimming level to adjust the modulated electric energy supplied to the LED light source 1412.

如圖18所示,若調光值增至最大值(如10),則調光指示器1526可使調光值保持等於最大值。在另一實施例中,調光值從最大值(如10)開始下降。若調光值降至最小值(如1),調光指示器1526可使調光值保持等於最小值。因此,在類比調光模式下,基準信號REF的電壓保持在最高位準或最低位準;在脈衝調光模式下,PWM信號PWM1的責任週期保持為最大責任週期(如100%)或最小責任週期(如10%)。相應地,LED光源1412的光輸出保持為最高位準或最低位準。As shown in Figure 18, if the dimming value is increased to a maximum value (e.g., 10), the dimming indicator 1526 can maintain the dimming value equal to the maximum value. In another embodiment, the dimming value begins to decrease from a maximum value (eg, 10). If the dimming value is reduced to a minimum value (e.g., 1), the dimming indicator 1526 maintains the dimming value equal to the minimum value. Therefore, in the analog dimming mode, the voltage of the reference signal REF is kept at the highest level or the lowest level; in the pulse dimming mode, the duty cycle of the PWM signal PWM1 is maintained as the maximum duty cycle (eg, 100%) or minimum responsibility. Cycle (eg 10%). Accordingly, the light output of LED light source 1412 remains at the highest or lowest level.

用戶可透過執行電源開關304的第二組操作重啟調整過程。調光請求信號根據檢測到的電源開關304的第二斷開操作及第二接通操作產生。第二接通操作在第二斷開操作完成後的預定時間ΔT內完成。因此,可檢測到調光請求信號產生,且調光請求信號包含埠CLK的電壓負邊1808及正邊1810,其中,正邊1810跟隨在負邊1808之後。調光控制電路1408透過對時脈信號1544進行計數進而調整調光位準,並透過調整調光位準,進而調整供給LED光源1412的調製後的電能。The user can restart the adjustment process by performing a second set of operations of the power switch 304. The dimming request signal is generated according to the detected second off operation and the second on operation of the power switch 304. The second on operation is completed within a predetermined time ΔT after the completion of the second disconnection operation. Thus, dimming request signal generation can be detected, and the dimming request signal includes a voltage negative side 1808 and a positive side 1810 of 埠CLK, wherein the positive side 1810 follows the negative side 1808. The dimming control circuit 1408 adjusts the dimming level by counting the clock signal 1544, and adjusts the dimming level to adjust the modulated electric energy supplied to the LED light source 1412.

圖19所示為本發明一實施例的LED光源驅動系統1900的電路示例圖。圖19將結合圖10及圖14A進行描述。圖19中與圖10及圖14A中標號相同的部件具有相似功能。與圖14A所示的驅動系統1400類似,驅動系統1900包含電源轉換電路,如交流/直流轉換器306及直流/直流轉換器1910,及調光控制電路,如調光控制器1908。如圖19所示,直流/直流轉換器1910及調光控制器1908與圖10中的直流/直流轉換器310及調光控制器1008具有相似功能。此外,調光控制器1908接收週期信號1454,例如調光控制器1908透過埠CLK接收週期信號1454,且調光控制器1908透過對週期信號1454的週期進行計數進而實現對交流信號VIN 的正弦波進行計數。調光控制器1908可透過對交流信號VIN 的正弦波計數調整供給LED光源1412的調製後的電能Ireg。調製後的電能Ireg的調整過程與結合圖14A進行的描述中的調整過程相似。在一個實施例中,控制開關Q16 可整合於調光控制器1908內。FIG. 19 is a circuit diagram showing an example of an LED light source driving system 1900 according to an embodiment of the present invention. Figure 19 will be described in conjunction with Figures 10 and 14A. Components in Figure 19 that have the same reference numerals as in Figures 10 and 14A have similar functions. Similar to the drive system 1400 shown in FIG. 14A, the drive system 1900 includes power conversion circuits such as an AC/DC converter 306 and a DC/DC converter 1910, and a dimming control circuit such as a dimming controller 1908. As shown in FIG. 19, the DC/DC converter 1910 and the dimming controller 1908 have similar functions to the DC/DC converter 310 and the dimming controller 1008 of FIG. In addition, the dimming controller 1908 receives the periodic signal 1454. For example, the dimming controller 1908 receives the periodic signal 1454 through the 埠CLK, and the dimming controller 1908 performs the sine of the alternating signal V IN by counting the period of the periodic signal 1454. Waves are counted. The dimming controller 1908 can adjust the modulated electrical energy Ireg supplied to the LED light source 1412 by counting the sine wave of the alternating current signal V IN . The adjustment process of the modulated electric energy Ireg is similar to the adjustment process in the description made in connection with Fig. 14A. In one embodiment, control switch Q 16 can be integrated into dimming controller 1908.

圖20所示為本發明一實施例的圖19中的調光控制電路1908的結構示例圖。圖20將結合圖11、圖15及圖19進行描述。圖20中與圖11、圖15及圖19中具有相同標號的部件具有相似功能。FIG. 20 is a diagram showing an example of the configuration of the dimming control circuit 1908 of FIG. 19 according to an embodiment of the present invention. 20 will be described in conjunction with FIG. 11, FIG. 15, and FIG. Components in Fig. 20 having the same reference numerals as in Figs. 11, 15, and 19 have similar functions.

如圖20所示,除觸發監測單元1506及調光器1502的結構外,調光控制電路1908的結構與圖11中的調光控制電路1108的結構相似。圖20中的觸發監測單元1506及調光器1502與圖15中的調光控制電路1408中的觸發監測單元1506及調光器1502具有相似功能。As shown in FIG. 20, the configuration of the dimming control circuit 1908 is similar to that of the dimming control circuit 1108 of FIG. 11 except for the configuration of the trigger monitoring unit 1506 and the dimmer 1502. Trigger monitoring unit 1506 and dimmer 1502 in FIG. 20 have similar functions as trigger monitoring unit 1506 and dimmer 1502 in dimming control circuit 1408 of FIG.

圖21所示為本發明一實施例的LED光源驅動系統2100的電路示例圖。圖21將結合圖14A、圖15、圖19及圖20進行描述。圖21中與圖14A、及圖19中標號相同的部件具有相似功能。Fig. 21 is a circuit diagram showing an example of an LED light source driving system 2100 according to an embodiment of the present invention. 21 will be described in conjunction with FIGS. 14A, 15, 19, and 20. The components in Fig. 21 which are the same as those in Figs. 14A and 19 have similar functions.

在一個實施例中,驅動系統2100包含多個電力轉換器2110以為多個LED光源(如LED串2112及2118)供電。驅動系統2100還包含多個調光控制器2108,透過對交流信號VIN 的波形計數(如對週期信號1454的週期計數),進而控制供給LED光源的調製後的電能(如調製後的電流Ireg1及Ireg2)。電力轉換器2110可與圖14A中的電力轉換器1410及圖19中的電力轉換器1910具有相似功能或結構。調光控制器2108可與圖14A及圖15中的調光控制器1408及圖19及圖20中的調光控制器1908具有相似功能或結構。In one embodiment, drive system 2100 includes a plurality of power converters 2110 to power a plurality of LED light sources, such as LED strings 2112 and 2118. The driving system 2100 further includes a plurality of dimming controllers 2108 that control the modulated electric energy supplied to the LED light source by counting the waveform of the alternating current signal V IN (eg, counting the period of the periodic signal 1454) (eg, the modulated current Ireg1) And Ireg2). The power converter 2110 can have similar functions or structures to the power converter 1410 of FIG. 14A and the power converter 1910 of FIG. The dimming controller 2108 can have similar functions or structures to the dimming controller 1408 of FIGS. 14A and 15 and the dimming controller 1908 of FIGS. 19 and 20.

圖21中所示兩個LED串僅為示例說明,驅動系統2100可驅動其他數目的LED或LED串。相應地,驅動系統2100包含相應數目的直流/直流轉換器及調光控制器。有利地,透過對交流信號VIN 的波形進行計數進而調整多個LED光源的光輸出,多個LED光源的光輸出的調整過程可彼此同步。即,多個LED光源的光輸出的變化可基本相同。因此,多個LED光源可發出基本相同的光強/亮度。此外,調光控制器2108中的內部振盪器電路可省略。The two LED strings shown in Figure 21 are merely illustrative and the drive system 2100 can drive other numbers of LEDs or LED strings. Accordingly, drive system 2100 includes a corresponding number of DC/DC converters and dimming controllers. Advantageously, the adjustment of the light output of the plurality of LED light sources can be synchronized with each other by counting the waveform of the alternating current signal V IN to adjust the light output of the plurality of LED light sources. That is, the changes in the light output of the plurality of LED light sources can be substantially the same. Thus, multiple LED light sources can emit substantially the same light intensity/brightness. Further, the internal oscillator circuit in the dimming controller 2108 can be omitted.

圖22所示為本發明一實施例的控制LED光源調光的方法的流程圖。圖22將結合圖14A、圖15、圖16、圖17、圖18、圖19、圖20及圖21進行描述。FIG. 22 is a flow chart showing a method of controlling dimming of an LED light source according to an embodiment of the present invention. 22 will be described with reference to FIGS. 14A, 15, 16, 17, 18, 19, 20, and 21.

在第2202步驟,交流信號VIN 透過電源開關304得以傳送。在第2204步驟,調光控制器根據電源開關304的一系列操作產生驅動信號CTRL。在第2206步驟,調光控制器透過對交流信號VIN 的波形計數進而調整驅動信號CTRL,以實現對LED光源1412的調光的控制。在第2208步驟,驅動信號CTRL控制與LED光源1412耦接的控制開關Q16At step 2202, the AC signal V IN is transmitted through the power switch 304. At step 2204, the dimming controller generates a drive signal CTRL based on a series of operations of the power switch 304. In step 2206, the dimming controller adjusts the waveform of the alternating current signal V IN to adjust the drive signal CTRL to achieve control of dimming of the LED light source 1412. At step 2208, the drive control signal CTRL controls the switch 1412 and the LED light source coupled to Q 16.

相應地,本發明的實施例提供控制LED光源調光的控制器,系統及方法。在一個實施例中,驅動系統可包含多個調光控制器以分別調整多個LED光源的光輸出。每個調光控制器可對波形(如來自交流電源的交流輸入電壓的正弦波形)計數,且回應於交流輸入電壓的預定個數的波形,每個調光控制器可使對應LED光源的光輸出增大或減小預定量。有利地,多個LED光源的調光可彼此同步,且多個LED光源可發出基本相同的光強/亮度。Accordingly, embodiments of the present invention provide controllers, systems, and methods for controlling dimming of LED light sources. In one embodiment, the drive system can include a plurality of dimming controllers to individually adjust the light output of the plurality of LED light sources. Each dimming controller can count a waveform (such as a sinusoidal waveform of an AC input voltage from an AC power source) and respond to a predetermined number of waveforms of the AC input voltage, each dimming controller enabling light corresponding to the LED source The output increases or decreases by a predetermined amount. Advantageously, the dimming of the plurality of LED light sources can be synchronized with each other, and the plurality of LED light sources can emit substantially the same light intensity/brightness.

上文具體實施方式和附圖僅為本發明之常用實施例。顯然,在不脫離申請專利範圍所界定的本發明精神和發明範圍的前提下可以有各種增補、修改和替換。本領域技術人員應該理解,本發明在實際應用中可根據具體的環境和工作要求在不背離發明準則的前提下在形式、結構、佈局、比例、材料、元素、元件及其它方面有所變化。因此,在此揭露之實施例僅用於說明而非限制,本發明之範圍由後附申請專利範圍及其合法等同物界定,而不限於此前之描述。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. It should be understood by those skilled in the art that the present invention may be changed in form, structure, arrangement, ratio, material, element, element, and other aspects without departing from the scope of the invention. Therefore, the embodiments disclosed herein are intended to be illustrative and not restrictive, and the scope of the invention is defined by the appended claims

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

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

104‧‧‧開關104‧‧‧ switch

106‧‧‧LED串106‧‧‧LED string

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

208‧‧‧線性電流調整器208‧‧‧Linear current regulator

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

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

304‧‧‧電源開關304‧‧‧Power switch

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

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

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

312‧‧‧LED串312‧‧‧LED string

314‧‧‧電源開關314‧‧‧Power switch

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

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

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

508‧‧‧低壓鎖定電路508‧‧‧Low voltage lockout circuit

510‧‧‧金屬氧化物半導體場效應電晶體510‧‧‧Metal Oxide Semiconductor Field Effect Transistor

512‧‧‧金屬氧化物半導體場效應電晶體512‧‧‧Metal Oxide Semiconductor Field Effect Transistor

514‧‧‧金屬氧化物半導體場效應電晶體514‧‧‧Metal Oxide Semiconductor Field Effect Transistor

515‧‧‧金屬氧化物半導體場效應電晶體515‧‧‧Metal Oxide Semiconductor Field Effect Transistor

516‧‧‧比較器516‧‧‧ comparator

518‧‧‧比較器518‧‧‧ comparator

520‧‧‧觸發器520‧‧‧ Trigger

522‧‧‧觸發器522‧‧‧ Trigger

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

526‧‧‧驅動計數器526‧‧‧Drive Counter

528‧‧‧數位類比轉換器528‧‧‧Digital Analog Converter

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

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

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

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

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

540‧‧‧開關540‧‧‧ switch

541‧‧‧開關541‧‧‧ switch

541‧‧‧開關541‧‧‧ switch

542‧‧‧開關542‧‧‧Switch

602‧‧‧電流602‧‧‧ Current

900‧‧‧對光源進行電能控制的方法900900‧‧‧Method 900 for power control of light sources

902~908‧‧‧步驟902~908‧‧‧Steps

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

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

1104‧‧‧時脈產生器1104‧‧‧ Clock Generator

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

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

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

1300‧‧‧對光源進行電能控制的方法1300‧‧‧Methods for power control of light sources

1302~1310‧‧‧步驟1302~1310‧‧‧Steps

1400‧‧‧光源驅動系統1400‧‧‧Light source drive system

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

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

1412‧‧‧LED光源1412‧‧‧LED light source

1414‧‧‧二極體1414‧‧‧ diode

1424‧‧‧電容1424‧‧‧ Capacitance

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

1433‧‧‧公共節點1433‧‧‧ public node

1454‧‧‧週期信號1454‧‧‧cycle signal

1480‧‧‧元件1480‧‧‧ components

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

1504‧‧‧觸發電路1504‧‧‧ trigger circuit

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

1526‧‧‧調光指示器1526‧‧‧ dimming indicator

1536‧‧‧脈衝信號1536‧‧‧ pulse signal

1544‧‧‧時脈信號1544‧‧‧ clock signal

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

1704‧‧‧負邊1704‧‧‧ negative side

1706‧‧‧正邊1706‧‧‧正正

1708‧‧‧負邊1708‧‧‧ negative side

1710‧‧‧正邊1710‧‧‧正正

1712‧‧‧負邊1712‧‧‧ negative side

1714‧‧‧正邊1714‧‧‧正正

1804‧‧‧負邊1804‧‧‧ negative side

1806‧‧‧正邊1806‧‧‧正正

1808‧‧‧負邊1808‧‧‧ negative side

1810‧‧‧正邊1810‧‧‧正正

1900‧‧‧驅動系統1900‧‧‧ drive system

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

1910‧‧‧直流/直流轉換器1910‧‧‧DC/DC Converter

2100‧‧‧驅動系統2100‧‧‧Drive system

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

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

2112‧‧‧LED串2112‧‧‧LED string

2118‧‧‧LED串2118‧‧‧LED string

2202~2208‧‧‧步驟2202~2208‧‧‧Steps

AUX‧‧‧檢測信號AUX‧‧‧ detection signal

AVG‧‧‧埠AVG‧‧‧埠

C1 ~C10 ‧‧‧電容C 1 ~ C 10 ‧‧‧ capacitor

CLK‧‧‧埠CLK‧‧‧埠

CTRL‧‧‧埠CTRL‧‧‧埠

CTRL‧‧‧驅動信號CTRL‧‧‧ drive signal

COMP‧‧‧埠COMP‧‧‧埠

CLK‧‧‧埠CLK‧‧‧埠

D1 ~D10 ‧‧‧二極體D 1 ~D 10 ‧‧‧Dipole

R1~R7‧‧‧電阻R1~R7‧‧‧ resistance

Q16 ‧‧‧開關Q 16 ‧‧‧Switch

Q27 ‧‧‧開關Q 27 ‧‧‧Switch

L1‧‧‧電感L1‧‧‧Inductance

L2‧‧‧電感L2‧‧‧Inductance

HV_GATE‧‧‧埠HV_GATE‧‧‧埠

VDD‧‧‧埠VDD‧‧‧埠

SEL‧‧‧埠SEL‧‧‧埠

RT‧‧‧埠RT‧‧‧埠

MON‧‧‧埠MON‧‧‧埠

GND‧‧‧埠GND‧‧‧埠

I1 ~I2 ‧‧‧電流I 1 ~I 2 ‧‧‧ Current

IRT ‧‧‧電流I RT ‧‧‧current

RT‧‧‧埠RT‧‧‧埠

PWM1‧‧‧脈衝寬度調變信號PWM1‧‧‧ pulse width modulation signal

GND‧‧‧埠GND‧‧‧埠

SEL‧‧‧埠SEL‧‧‧埠

VDD‧‧‧埠VDD‧‧‧埠

HV_GATE‧‧‧埠HV_GATE‧‧‧埠

CLK‧‧‧埠CLK‧‧‧埠

ZD1‧‧‧齊納二極體ZD1‧‧‧Zina diode

V1 ~V3 ‧‧‧電壓V 1 ~V 3 ‧‧‧ voltage

IMAX ‧‧‧電流的峰值I MAX ‧‧‧ peak current

V522 ‧‧‧輸出V 522 ‧‧‧ output

V524 ‧‧‧輸出V 524 ‧‧‧ output

EN‧‧‧信號EN‧‧‧ signal

SEN‧‧‧電流監控信號SEN‧‧‧ current monitoring signal

VIN ‧‧‧輸入電壓V IN ‧‧‧ input voltage

VOUT ‧‧‧輸出電壓V OUT ‧‧‧ output voltage

RSEN ‧‧‧電阻R SEN ‧‧‧resistance

REF‧‧‧參考信號REF‧‧‧ reference signal

Q1 ‧‧‧電晶體Q 1 ‧‧‧Optoelectronics

ZCD‧‧‧埠ZCD‧‧‧埠

VDD‧‧‧埠VDD‧‧‧埠

FB‧‧‧埠FB‧‧‧埠

VREF ‧‧‧電壓基準V REF ‧‧‧Voltage Reference

TRIG‧‧‧脈衝TRIG‧‧‧ pulse

SEN‧‧‧電流監測信號SEN‧‧‧ current monitoring signal

IREG ‧‧‧電流I REG ‧‧‧current

以下結合附圖和具體實施例對本發明的技術方法進行詳細的描述,以使本發明的特徵和優點更為明顯。其中: 圖1一種傳統的LED驅動電路100的示意圖。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. among them: 1 is a schematic diagram of a conventional LED drive circuit 100.

圖2另一種傳統的LED驅動電路200的示意圖。2 is a schematic diagram of another conventional LED drive circuit 200.

圖3根據本發明一個實施例的光源驅動電路300的方框圖。Figure 3 is a block diagram of a light source driving circuit 300 in accordance with one embodiment of the present invention.

圖4根據本發明一個實施例的光源驅動電路400的電路圖。4 is a circuit diagram of a light source driving circuit 400 in accordance with one embodiment of the present invention.

圖5圖4中的調光控制器308的結構示意圖。FIG. 5 is a schematic structural diagram of the dimming controller 308 in FIG.

圖6類比調光模式下的信號波形示意圖。Figure 6 is a schematic diagram of signal waveforms in analog-to-dimmer mode.

圖7脈衝調光模式下的信號波形示意圖。Figure 7 is a schematic diagram of signal waveforms in pulse dimming mode.

圖8根據本發明一個實施例的光源驅動電路的運作方式示意圖。FIG. 8 is a schematic diagram showing the operation mode of a light source driving circuit according to an embodiment of the present invention.

圖9根據本發明一個實施例的對光源進行電能控制的方法流程圖。9 is a flow chart of a method of power control of a light source, in accordance with one embodiment of the present invention.

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

圖11圖10中調光控制器的結構示意圖,圖12根據本發明一個實施例的光源驅動電路的運作方式示意圖,該光源驅動電路包含有圖11中所示的調光控制器。11 is a schematic structural view of a dimming controller in FIG. 10, and FIG. 12 is a schematic diagram showing the operation of a light source driving circuit according to an embodiment of the present invention, the light source driving circuit including the dimming controller shown in FIG.

圖13根據本發明一個實施例的對光源進行電能控制的方法流程圖。Figure 13 is a flow chart of a method of power control of a light source, in accordance with one embodiment of the present invention.

圖14A根據本發明一個實施例的光源驅動系統的電路圖。Figure 14A is a circuit diagram of a light source driving system in accordance with one embodiment of the present invention.

圖14B本發明的電源開關的一個實施例。Figure 14B shows an embodiment of the power switch of the present invention.

圖15本發明一實施例的圖14A中的調光控制電路的結構示例圖。Figure 15 is a diagram showing an example of the structure of the dimming control circuit of Figure 14A according to an embodiment of the present invention.

圖16本發明一實施例的圖15中調光器的結構示例圖。Figure 16 is a diagram showing an example of the structure of the dimmer of Figure 15 in accordance with an embodiment of the present invention.

圖17本發明一實施例的圖14A中的光源驅動系統的操作示例圖。Figure 17 is a diagram showing an operation example of the light source driving system of Figure 14A according to an embodiment of the present invention.

圖18本發明一實施例的圖14A中的光源驅動系統的操作示例圖。Figure 18 is a diagram showing an example of the operation of the light source driving system of Figure 14A in accordance with an embodiment of the present invention.

圖19本發明一實施例的LED光源驅動系統的電路示例 圖。19 is a circuit example of an LED light source driving system according to an embodiment of the present invention Figure.

圖20本發明一實施例的圖19中的調光控制電路的結構示例圖。Figure 20 is a diagram showing an example of the structure of the dimming control circuit of Figure 19 in accordance with an embodiment of the present invention.

圖21本發明一實施例的LED光源驅動系統的電路示例圖。Fig. 21 is a circuit diagram showing an example of an LED light source driving system according to an embodiment of the present invention.

圖22本發明一實施例的控制LED光源調光的方法的流程圖。Figure 22 is a flow chart of a method of controlling dimming of an LED light source in accordance with an embodiment of the present invention.

304...電源開關304. . . switch

306...交流/直流轉換器306. . . AC/DC converter

1400...光源驅動系統1400. . . Light source drive system

1408...調光控制器1408. . . Dimming controller

1410...電力轉換器1410. . . Power converter

1412...LED光源1412. . . LED light source

1414...二極體1414. . . Dipole

1424...電容1424. . . capacitance

1428...電流監測器1428. . . Current monitor

1433...公共節點1433. . . Common node

1454...週期信號1454. . . Periodic signal

1480...元件1480. . . element

VIN ...輸入電壓V IN . . . Input voltage

VOUT ...輸出電壓V OUT . . . The output voltage

SEN...電流監測信號SEN. . . Current monitoring signal

D1 ~D10 ...二極體D 1 ~ D 10 . . . Dipole

C1 ~C10 ...電容C 1 ~ C 10 . . . capacitance

R1~R7...電阻R1~R7. . . resistance

Q16 ...開關Q 16 . . . switch

L1...電感L1. . . inductance

L2...電感L2. . . inductance

ZCD...埠ZCD. . . port

GND...埠GND. . . port

CTRL...埠CTRL. . . port

VDD...埠VDD. . . port

CLK...埠CLK. . . port

MON...埠MON. . . port

COMP...埠COMP. . . port

FB...埠FB. . . port

AVG...埠AVG. . . port

AUX...檢測信號AUX. . . Detection signal

CTRL...驅動信號CTRL. . . Drive signal

IREG ...電流I REG . . . Current

Claims (16)

一種調光控制器,包含:一控制端,提供一驅動信號,該驅動信號控制與一光源耦接的一控制開關;以及一調光控制電路,與該控制端耦接並根據一電源開關的多個操作產生該驅動信號,該電源開關傳送一交流信號,其中,該調光控制電路透過對該交流信號的多個波形進行一計數,以調整該驅動信號進而控制該光源的一調光,其中,該調光控制電路透過對一時脈信號的多個脈衝的一計數,以對該交流信號的該多個波形進行該計數,其中,該調光控制電路比較代表該交流信號的一週期信號與一電壓基準信號,以產生該時脈信號。 A dimming controller comprising: a control end, providing a driving signal, the driving signal controlling a control switch coupled to a light source; and a dimming control circuit coupled to the control end and according to a power switch The plurality of operations generate the driving signal, and the power switch transmits an AC signal, wherein the dimming control circuit performs a counting on the plurality of waveforms of the AC signal to adjust the driving signal to control a dimming of the light source. The dimming control circuit performs counting on the plurality of waveforms of the AC signal by counting one of a plurality of pulses of a clock signal, wherein the dimming control circuit compares a periodic signal representing the AC signal. And a voltage reference signal to generate the clock signal. 如申請專利範圍第1項的調光控制器,其中,該交流信號包含一交流電源提供的一交流電壓。 The dimming controller of claim 1, wherein the AC signal comprises an AC voltage provided by an AC power source. 如申請專利範圍第1項的調光控制器,其中,該調光控制電路透過對該交流信號的該多個波形進行該計數,調整一調光信號以調整該驅動信號。 The dimming controller of claim 1, wherein the dimming control circuit adjusts the dimming signal to adjust the driving signal by performing the counting on the plurality of waveforms of the alternating current signal. 如申請專利範圍第3項的調光控制器,其中,當對該多個波形進行該計數的一結果超過一預定數值時,該調光控制電路將該調光信號控制在一第一預設位準至一第二預設位準間。 The dimming controller of claim 3, wherein the dimming control circuit controls the dimming signal to a first preset when a result of the counting of the plurality of waveforms exceeds a predetermined value The level is between a second preset level. 如申請專利範圍第3項的調光控制器,其中,該調光控制電路包含:一觸發監測單元,監控該電源開關並產生一脈衝以回應 該電源開關的多個操作的一結果;以及一調光器,與該觸發監測單元耦接,並對該多個波形進行該計數以基於該多個脈衝調整該調光信號。 The dimming controller of claim 3, wherein the dimming control circuit comprises: a trigger monitoring unit that monitors the power switch and generates a pulse in response a result of a plurality of operations of the power switch; and a dimmer coupled to the trigger monitoring unit and performing the counting on the plurality of waveforms to adjust the dimming signal based on the plurality of pulses. 如申請專利範圍第5項的調光控制器,其中,若該觸發控制單元基於該多個操作產生一第一脈衝,該第一脈衝致能該多個波形進行該計數,以調整該調光信號至一位準;若該觸發控制單元基於該多個操作產生一第二脈衝,該第二脈衝去能該多個波形進行該計數,以使該調光信號保持在該位準。 The dimming controller of claim 5, wherein if the trigger control unit generates a first pulse based on the plurality of operations, the first pulse enables the plurality of waveforms to perform the counting to adjust the dimming The signal is up to one level; if the trigger control unit generates a second pulse based on the plurality of operations, the second pulse can perform the counting on the plurality of waveforms to maintain the dimming signal at the level. 如申請專利範圍第3項的調光控制器,其中,該調光信號包含一基準信號,且該調光控制器透過比較該基準信號與代表流經該光源的一電流的一監控信號,進而控制該光源的該調光。 The dimming controller of claim 3, wherein the dimming signal comprises a reference signal, and the dimming controller compares the reference signal with a monitoring signal representative of a current flowing through the light source, The dimming of the light source is controlled. 如申請專利範圍第3項的調光控制器,其中,該調光信號包含一脈衝寬度調變(PWM)信號,且該調光控制器根據該PWM信號和一脈衝信號控制該光源的該調光。 The dimming controller of claim 3, wherein the dimming signal comprises a pulse width modulation (PWM) signal, and the dimming controller controls the adjustment of the light source according to the PWM signal and a pulse signal. Light. 如申請專利範圍第1項的調光控制器,其中,該電源開關的多個操作包含斷開該電源開關並在斷開該電源開關的一預設時間段內再次接通該電源開關。 The dimming controller of claim 1, wherein the plurality of operations of the power switch comprises disconnecting the power switch and turning the power switch on again within a predetermined period of time after the power switch is turned off. 一種調光方法,包含:透過一電源開關傳送一交流信號;根據該電源開關的多個操作,產生一驅動信號;透過對該交流信號的多個波形的一計數,調整該驅動信號以控制一光源;以及透過該驅動信號控制與該光源耦接的一控制開關, 其中,調整該驅動信號的該步驟包含:比較代表該交流信號的一週期信號與一電壓基準信號,以產生一時脈信號;以及透過對該時脈信號的多個脈衝的一計數,進而對該交流信號的該多個波形進行該計數。 A dimming method includes: transmitting an AC signal through a power switch; generating a driving signal according to the plurality of operations of the power switch; and adjusting the driving signal to control one by counting a plurality of waveforms of the AC signal a light source; and a control switch coupled to the light source through the driving signal, The step of adjusting the driving signal includes: comparing a one-cycle signal representing the AC signal with a voltage reference signal to generate a clock signal; and transmitting a count of the plurality of pulses of the clock signal, thereby The plurality of waveforms of the alternating signal perform the counting. 如申請專利範圍第10項的調光方法,其中,調整該驅動信號的該步驟包含:透過對該交流信號的該多個波形進行該計數,調整一調光信號以調整該驅動信號。 The dimming method of claim 10, wherein the step of adjusting the driving signal comprises: adjusting the dimming signal to adjust the driving signal by performing the counting on the plurality of waveforms of the alternating current signal. 如申請專利範圍第11項的調光方法,其中,該調整該驅動信號的該步驟包含:當對該多個波形進行該計數的一結果超過一預定數值時,將該調光信號控制在一第一預設位準至一第二預設位準間。 The dimming method of claim 11, wherein the step of adjusting the driving signal comprises: controlling a dimming signal when a result of the counting of the plurality of waveforms exceeds a predetermined value The first preset level is between a second preset level. 如申請專利範圍第10項的調光方法,其中,產生該驅動信號的該步驟包含:若一第一脈衝基於多個操作產生,則致能該多個波形進行該計數,進而調整該調光信號至一位準;以及若一第二脈衝基於該多個操作產生,則去能該波形進行該計數,進而使該調光信號保持在該位準。 The dimming method of claim 10, wherein the step of generating the driving signal comprises: if a first pulse is generated based on a plurality of operations, enabling the plurality of waveforms to perform the counting, thereby adjusting the dimming The signal is aligned to a level; and if a second pulse is generated based on the plurality of operations, the waveform can be de-asserted to maintain the dimming signal at the level. 一種調光系統,驅動一光源,該調光系統包含:一轉換電路,透過一電源開關接收一交流信號並向該光源提供調製後的一電能;以及一調光控制電路,與該轉換電路耦接,根據該電源開關的多個操作產生一調光信號,並透過對該交流信號的多 個波形的一計數,進而調整該調光信號,其中,該光源的一調光受該調光信號所控制,其中,該調光控制電路比較代表該交流信號的一週期信號與一電壓基準信號,進而產生一時脈信號,且該調光控制電路透過對該時脈信號的多個脈衝的一計數,進而對該交流信號的該多個波形進行該計數。 A dimming system for driving a light source, the dimming system comprising: a conversion circuit for receiving an alternating current signal through a power switch and providing a modulated electrical energy to the light source; and a dimming control circuit coupled to the conversion circuit Connecting, generating a dimming signal according to multiple operations of the power switch, and transmitting through the AC signal a dimming of the waveform, wherein the dimming signal is further controlled by the dimming signal, wherein the dimming control circuit compares the one-cycle signal representing the AC signal with a voltage reference signal And generating a clock signal, and the dimming control circuit performs counting on the plurality of waveforms of the AC signal by counting one of the plurality of pulses of the clock signal. 如申請專利範圍第14項的調光系統,其中,該轉換電路包含:一交流/直流轉換器,將一交流電能轉換成一直流電能;以及一直流/直流轉換器,與該交流/直流轉換器耦接,根據該調光信號控制與該光源串聯耦接的一控制開關,以將該直流電能轉換成調製後的一電能。 The dimming system of claim 14, wherein the conversion circuit comprises: an AC/DC converter that converts an AC power into a DC power; and a DC/DC converter, and the AC/DC converter Coupling, controlling a control switch coupled in series with the light source according to the dimming signal to convert the DC power into a modulated electrical energy. 如申請專利範圍第14項的調光系統,其中,當對該交流信號的該多個波形進行該計數的一結果超過一預定數值時,該調光控制電路將該調光信號控制在一第一預設位準至一第二預設位準間。 The dimming system of claim 14, wherein the dimming control circuit controls the dimming signal when a result of the counting of the plurality of waveforms of the alternating signal exceeds a predetermined value A preset level is between a second preset level.
TW101107567A 2011-03-07 2012-03-07 Dimming controller, system and method thereof TWI483647B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/042,349 US8508150B2 (en) 2008-12-12 2011-03-07 Controllers, systems and methods for controlling dimming of light sources

Publications (2)

Publication Number Publication Date
TW201238397A TW201238397A (en) 2012-09-16
TWI483647B true TWI483647B (en) 2015-05-01

Family

ID=45656565

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101107567A TWI483647B (en) 2011-03-07 2012-03-07 Dimming controller, system and method thereof

Country Status (6)

Country Link
EP (1) EP2498579A3 (en)
JP (1) JP6104511B2 (en)
CN (1) CN102685975B (en)
BR (1) BR102012005134A2 (en)
IN (1) IN2012DE00358A (en)
TW (1) TWI483647B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020170A (en) * 2019-05-28 2020-12-01 聚众联合科技股份有限公司 Light source adjustment system

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201306659A (en) * 2011-07-20 2013-02-01 Yu-Sheng Suo Method for manual and automatic dimming and device thereof
US9118249B2 (en) 2012-07-27 2015-08-25 Excelliance Mos Corporation Power conversion apparatus
TWM452547U (en) * 2012-07-27 2013-05-01 Excelliance Mos Corp Voltage converting apparatus
WO2014065389A1 (en) 2012-10-25 2014-05-01 Semiconductor Energy Laboratory Co., Ltd. Central control system
TW201419934A (en) * 2012-11-02 2014-05-16 Unity Opto Technology Co Ltd LED driving circuit
TWI492660B (en) * 2013-01-10 2015-07-11 碩頡科技股份有限公司 Light emitting diode load driving apparatus
TWI504310B (en) * 2013-02-07 2015-10-11 Hep Tech Co Ltd Dimming light emitting diode lighting system and its driving device and driving method
CN103987148A (en) * 2013-02-08 2014-08-13 东林科技股份有限公司 Dimmable light-emitting-diode illumination system, and driving device and driving method thereof
TWM477112U (en) * 2013-06-19 2014-04-21 Wintek Corp Illumination device power control module
JP6176567B2 (en) * 2013-07-09 2017-08-09 パナソニックIpマネジメント株式会社 Lighting device
EP2830395B1 (en) * 2013-07-24 2017-09-13 Dialog Semiconductor GmbH Mains switch event detection for LED assemblies
CN105025615B (en) * 2014-04-29 2017-11-10 杨金新 Light-emitting diode drive system for controlling switch dimming and dimming method using same
ES2834633T3 (en) * 2014-10-10 2021-06-18 Xiaohua Luo Counting device and LED drive unit activated by power cable edge signal
CN104717802B (en) * 2015-01-12 2017-09-26 上海阿卡得电子有限公司 Multistage dimming control signal formation circuit
CN104780688B (en) * 2015-04-20 2017-11-17 无锡硅动力微电子股份有限公司 The LED light adjusting circuits and LED light adjusting circuit chips of switch dimming
TWI578846B (en) * 2015-08-31 2017-04-11 Chih Min Liu Control system of light emitting device
GB2546623A (en) * 2016-01-25 2017-07-26 O2Micro Inc System and method for driving light source
CN107306464A (en) * 2016-04-21 2017-10-31 上海俪德照明科技股份有限公司 A kind of light-dimming method of LED, light adjusting system and a kind of LED
JP6805808B2 (en) * 2016-12-26 2020-12-23 セイコーエプソン株式会社 Light emission control circuit, light source device, and electronic equipment
JP6851567B2 (en) 2017-05-27 2021-03-31 李玉麟 Drive system
CN107690837B (en) * 2017-09-08 2021-07-23 刘远芳 Direct-adjustment dimming device and corresponding direct-adjustment dimming lighting system and direct-adjustment dimming method
CN110446292B (en) * 2018-05-03 2022-07-08 李玉麟 drive
CN109413794B (en) * 2018-09-20 2021-07-02 佛山贝玛照明科技有限公司 A remote control device with replaceable functions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201026148A (en) * 2008-12-12 2010-07-01 O2Micro Inc Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
TW201028043A (en) * 2008-12-12 2010-07-16 O2Micro Inc Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
US7759881B1 (en) * 2008-03-31 2010-07-20 Cirrus Logic, Inc. LED lighting system with a multiple mode current control dimming strategy
TW201044915A (en) * 2009-06-03 2010-12-16 Richtek Technology Corp AC power line controlled light emitting device dimming circuit and method thereof

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3508175B2 (en) * 1993-09-14 2004-03-22 松下電工株式会社 Lighting equipment
JP3150252B2 (en) * 1994-07-19 2001-03-26 三菱電機株式会社 Light control device
CN1719963A (en) * 2004-07-08 2006-01-11 皇家飞利浦电子股份有限公司 Light modulating device
JP5231030B2 (en) * 2007-08-20 2013-07-10 三菱電機株式会社 Lighting device, lighting state display device, and lighting fixture
CN101378207B (en) * 2007-08-28 2011-04-13 佶益投资股份有限公司 Load control module
CN101621878A (en) * 2008-07-03 2010-01-06 林焕博 Dimming driving device and method
CN101657050B (en) * 2008-08-22 2012-10-03 晶宏半导体股份有限公司 Light-emitting diode brightening driving device
JP5190390B2 (en) * 2009-01-27 2013-04-24 三菱電機株式会社 Light-emitting element lighting control device
CN101854759B (en) * 2009-03-31 2011-07-06 凹凸电子(武汉)有限公司 Drive circuit for controlling electric energy of light source, method and system
CN101707836B (en) * 2009-11-12 2013-05-01 英飞特电子(杭州)股份有限公司 Circuit for dimming through power switch
US20110133665A1 (en) * 2009-12-09 2011-06-09 Mei-Yueh Huang Luminance adjusting device
CN201611973U (en) * 2010-03-26 2010-10-20 浙江亚宝光电科技有限公司 Stepless dimmer for LED lamp bar module
CN101902861B (en) * 2010-08-10 2013-09-11 友达光电股份有限公司 Light-emitting diode driving method and driving circuit

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
TW201026148A (en) * 2008-12-12 2010-07-01 O2Micro Inc Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
TW201028043A (en) * 2008-12-12 2010-07-16 O2Micro Inc Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
TW201044915A (en) * 2009-06-03 2010-12-16 Richtek Technology Corp AC power line controlled light emitting device dimming circuit and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020170A (en) * 2019-05-28 2020-12-01 聚众联合科技股份有限公司 Light source adjustment system
TWI734324B (en) * 2019-05-28 2021-07-21 聚眾聯合科技股份有限公司 Light source adjustment system

Also Published As

Publication number Publication date
EP2498579A3 (en) 2013-11-13
CN102685975B (en) 2014-11-12
CN102685975A (en) 2012-09-19
JP6104511B2 (en) 2017-03-29
IN2012DE00358A (en) 2015-04-10
TW201238397A (en) 2012-09-16
BR102012005134A2 (en) 2016-07-19
JP2012186165A (en) 2012-09-27
EP2498579A2 (en) 2012-09-12

Similar Documents

Publication Publication Date Title
TWI483647B (en) Dimming controller, system and method thereof
TWI556686B (en) Controller and method for dimming and electronic system thereof
US8508150B2 (en) Controllers, systems and methods for controlling dimming of light sources
TWI461105B (en) Dimming controllers, driving circuits and methods for controlling power of light source
TWI581657B (en) Dimming controller for controlling light-emitting diode light source and driving circuit thereof
TWI478625B (en) Dimming controllers, driving circuits and driving methods for driving light source
TWI568309B (en) Driving circuit, dimming controller and control methods for light source
US8482219B2 (en) Driving circuit with dimming controller for driving light sources
US8294379B2 (en) Dimmable LED lamp and dimmable LED lighting apparatus
US8339067B2 (en) Circuits and methods for driving light sources
TWI420972B (en) Circuits for driving light source, methods for controlling dimming of light source, driving systems, and controllers for regulating brightness of light source
US8659237B2 (en) Hybrid power control system
CN103139987B (en) Lighting apparatus and illuminating fixture with the same
TWI568311B (en) Light source driving circuit, color temperature controller and method for controlling color temperature of light source
TWI468068B (en) Light source driving circuit, controller and method for controlling brightness of light source
TW201026148A (en) Driving circuit and system for controlling power of a light source, and method for adjusting power of a light source
CN103139955B (en) Apparatus for lighting and the ligthing paraphernalia with this apparatus for lighting
TWI653907B (en) Light source drive circuit and brightness and color temperature controller
CN111345117A (en) Solid State Lighting Circuit and Control Method
TWI593313B (en) Dimming controller, drive circuit and control method
TW201320813A (en) Light source apparatus and driving apparatus thereof
GB2520425A (en) Circuits and methods for driving light sources
GB2513478A (en) Circuits and methods for driving light sources
TW201705813A (en) Light source driving circuit and light source module
CN104620677B (en) For operating method, circuit and the module of active clock power factor correction circuit

Legal Events

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