EP2690930A1 - Circuits and methods for driving light sources - Google Patents
Circuits and methods for driving light sources Download PDFInfo
- Publication number
- EP2690930A1 EP2690930A1 EP13150915.0A EP13150915A EP2690930A1 EP 2690930 A1 EP2690930 A1 EP 2690930A1 EP 13150915 A EP13150915 A EP 13150915A EP 2690930 A1 EP2690930 A1 EP 2690930A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- switch
- mode
- signal
- current
- dimming controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
Definitions
- LEDs light-emitting diodes
- An LED possesses relatively high efficiency, long life, and vivid colors, and can be used in a variety of industries including the automotive, computer, telecom, military and consumer goods, etc.
- An LED lamp which uses LEDs to replace traditional light sources such as electrical filament.
- FIG. 1 shows a schematic diagram of a conventional LED driving circuit 100.
- the LED driving circuit 100 utilizes an LED string 106 as a light source.
- the LED string 106 includes a group of LEDs connected in series.
- a power converter 102 converts an input voltage Vin to a desired output DC voltage Vout for powering the LED string 106.
- a switch 104 coupled to the LED driving circuit 100 can enable or disable the input voltage Vin to the LED string 106, and therefore can turn on or turn off the LED lamp.
- the power converter 102 receives a feedback signal from a current sensing resistor Rsen and adjusts the output voltage Vout to make the LED string 106 generate a desired light output.
- a desired light output is predetermined. In operation, the light output of the LED string 106 is set to a predetermined level and may not be adjusted by users.
- FIG. 2 illustrates a schematic diagram of another conventional LED driving circuit 200.
- a power converter 102 converts an input voltage Vin to a desired output DC voltage Vout for powering the LED string 106.
- a switch 104 coupled to LED driving circuit 100 can enable or disable the input voltage Vin to the LED string 106, and therefore can turn on or turn off the LED lamp.
- the LED string 106 is coupled to a linear LED current regulator 208.
- Operational amplifiers 210 in the linear LED current regulator 208 compares a reference signal REF and a current monitoring signal from current sensing resistor Rsen, and generates a control signal to adjust the resistance of transistor Q1 in a linear mode. Therefore, the LED current flowing through the LED string 106 can be adjusted accordingly.
- a dedicated apparatus such as a specially designed switch with adjusting buttons or a switch that can receive a remote control signal, to adjust the reference signal REF.
- a dimming controller can operate in either a first mode or a second mode to control dimming of a light-emitting diode (LED) light source.
- the dimming controller includes a voltage control terminal and a current control terminal.
- the voltage control terminal provides a pulse signal when the dimming controller operates in the first mode to operate a control switch in either a first state or a second state.
- a first current flowing through the LED light source increases when the control switch is in the first state, and decreases when the control switch is in the second state.
- the voltage control terminal provides a control signal to the control switch to cut off the first current when the dimming controller operates in the second mode.
- the current control terminal conducts a second current through the LED light source when the dimming controller operates in the second mode.
- an electronic system comprises a power converter configured to receive an input voltage from a rectifier and provide an output voltage to a light-emitting diode (LED) light source, wherein a power switch transfers power from an AC power source to said rectifier when said power switch is on; and a dimming controller coupled to said power converter and configured to detect a dimming request signal indicative of an operation of said power switch, said dimming controller operable in a mode selected from a first mode and a second mode to control dimming of said LED light source in response to said dimming request signal, wherein during operation in said first mode, said dimming controller provides a pulse signal on a voltage control terminal to control a first current flowing through said LED light source, wherein said first current increases during a first state of said pulse signal and decreases during a second state of said pulse signal, wherein during operation in said second mode, said dimming controller provides a control signal on said voltage control terminal to cut off said first current and conducts a substantially constant current through said LED light source.
- said electronic system may comprise a control switch coupled to said LED light source and controlled by said pulse signal and said control signal, wherein said control switch is turned on and off according to said pulse signal during operation in said first mode, and wherein said control switch is maintained off according to said control signal during operation in said second mode.
- said dimming controller may further comprise: a trigger monitoring unit configured to receive a switch monitoring signal indicative of a conductance status of a power switch and further configured to detect said dimming request signal according to said switch monitoring signal; a counter configured to provide a count value that varies in response to said dimming request signal; and a mode selection module coupled to said counter and configured to select said operation mode from said first mode and said second mode according to said counter value.
- said trigger monitoring unit may receive said dimming request signal if said switch monitoring signal indicates that said power switch performs a turn-off operation.
- said mode selection module may compare said count value with a threshold to select said operation mode.
- said dimming controller may further comprise: a driver configured to receive a reference signal and a pulse-width modulation signal, and further configured to compare said reference signal and a sensing signal indicating said first current flowing through said LED light source, wherein during operation in said first mode and with said pulse-width modulation signal in a first state, said driver switches said pulse signal between said pulse signal's first state and said pulse signal's second state according to a result of said comparing, and maintains said pulse signal in its second state with said pulse-width modulation signal in a second state.
- said dimming controller may further comprise a dimmer coupled to said driver and configured to maintain the level of said reference signal and adjust the duty cycle of said pulse-width modulation signal if said dimming request signal is received.
- said dimming controller may further comprise a dimmer coupled to said driver and configured to adjust the level of said reference signal and maintain the duty cycle of said pulse-width modulation signal if said dimming request signal is received.
- said dimming controller may further comprise a dimmer coupled to said driver and configured to adjust both the level of said reference signal and the duty cycle of said pulse-width modulation signal if said dimming request signal is received.
- said driver may terminate said pulse signal and generate said control signal by keeping said pulse-width modulation signal in its second state if said dimming controller is switched to said second mode.
- a method for adjusting power for a light-emitting diode (LED) light source comprises: powering said light source by a regulated voltage from a power converter; receiving a switch monitoring signal indicative of a conductance status of a power switch coupled between a power source and said power converter; selecting an operation mode from at least a first mode and a second mode according to said switch monitoring signal; operating a control switch at one of a first state and a second state if said first mode is selected, wherein a first current flowing through said LED light source increases during operation at said first state and decreases during operation at said second state; cutting off said first current if said second mode is selected; and conducting a substantially constant current through said LED light source if said second mode is selected.
- FIG. 1 shows a schematic diagram of a conventional LED driving circuit.
- FIG. 2 shows a schematic diagram of another conventional LED driving circuit.
- FIG. 3 shows a block diagram of a light source driving circuit, in accordance with one embodiment of the present invention.
- FIG. 4 shows a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention.
- FIG. 5 shows a structure of a dimming controller in FIG. 4 , in accordance with one embodiment of the present invention.
- FIG. 6 illustrates signal waveforms in the analog dimming mode, in accordance with one embodiment of the present invention.
- FIG. 7 illustrates signal waveforms in the burst dimming mode, in accordance with one embodiment of the present invention.
- FIG. 8 illustrates a diagram illustrating an operation of a light source driving circuit which includes the dimming controller in FIG. 5 , in accordance with one embodiment of the present invention.
- FIG. 9 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.
- FIG. 10 shows a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention.
- FIG. 11 shows a structure of a dimming controller in FIG. 10 , in accordance with one embodiment of the present invention.
- FIG. 12 illustrates a diagram illustrating an operation of a light source driving circuit which includes the dimming controller in FIG. 11 , in accordance with one embodiment of the present invention.
- FIG. 13 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.
- FIG. 14A shows an example of a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention.
- FIG. 14B shows an example of a power switch in FIG. 14A , in accordance with one embodiment of the present invention.
- FIG. 15 shows an example of a structure of a dimming controller in FIG. 14 , in accordance with one embodiment of the present invention.
- FIG. 16 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller in FIG. 15 , in accordance with one embodiment of the present invention.
- FIG. 17 illustrates another example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller in FIG. 15 , in accordance with one embodiment of the present invention.
- FIG. 18 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.
- FIG. 19 shows an example of a schematic diagram of a light source driving circuit, in an embodiment according to the present invention.
- FIG. 20 shows an example of a structure of a dimming controller in FIG. 19 , in an embodiment according to the present invention.
- FIG. 21 illustrates an example of a diagram illustrating operation of a light source driving circuit including a dimming controller, in an embodiment according to the present invention.
- FIG. 22 shows a flowchart of a method for adjusting power for a light source, in an embodiment according to the present invention.
- FIG. 3 shows an example of a block diagram of a light source driving circuit 300, in accordance with one embodiment of the present invention.
- a power switch 304 coupled between a power source Vin and the light source driving circuit 300 is operable for selectively coupling the power source to the light source driving circuit 300.
- the light source driving circuit 300 includes an AC/DC converter 306 for converting an AC input voltage Vin from the power source to a DC voltage Vout, a power converter 310 coupled to the AC/DC converter 306 for providing an LED string 312 with a regulated power, a dimming controller 308 coupled to the power converter 310 for receiving a switch monitoring signal indicative of an operation of the power switch 304 and for adjusting the regulated power from the power converter 310 according to the switch monitoring signal, and a current sensor 314 for sensing an LED current flowing through the LED string 312.
- the power switch 304 can be an on/off switch mounted on the wall.
- the AC/DC converter 306 converts the input AC voltage Vin to the output DC voltage Vout.
- the power converter 310 receives the DC voltage Vout and provides the LED string 312 with a regulated power.
- the current sensor 314 generates a current monitoring signal indicating a level of an LED current flowing through the LED string 312.
- the dimming controller 308 monitors the operation of the power switch 304, receives the current monitoring signal from the current sensor 314, and is operable for controlling the power converter 310 to adjust power of the LED string 312 in response to the operation of the power switch 304.
- the dimming controller 308 operates in an analog dimming mode and adjusts the power of the LED string 312 by adjusting a reference signal indicating a peak value of the LED current.
- the dimming controller 308 operates in a burst dimming mode and adjusts the power of the LED string 312 by adjusting a duty cycle of a pulse width modulation (PWM) signal.
- PWM pulse width modulation
- FIG. 4 shows an example of a schematic diagram of a light source driving circuit 400, in accordance with one embodiment of the present invention.
- FIG. 4 is described in combination with FIG. 3 .
- Elements labeled the same as in FIG. 3 have similar functions and will not be detailed described herein.
- the light source driving circuit 400 includes a power converter 310 (shown in FIG. 3 ) coupled to a power source and coupled to an LED string 312 for receiving power from the power source and for providing a regulated power to the LED string 312.
- the power converter 310 can be a buck converter including an inductor L1, a diode D4 and a control switch Q16.
- the control switch Q16 is implemented outside the dimming controller 308. In another embodiment, the control switch Q16 can be integrated in the dimming controller 308.
- a dimming controller 308 is operable for receiving a switch monitoring signal indicative of an operation of a power switch, e.g., a power switch 304 coupled between the power source Vin and the light source driving circuit 400, and for adjusting the regulated power from the power converter 310 (including the inductor L1, the diode D4 and the control switch Q16) by controlling the control switch Q16 coupled in series with the LED string 312 according to the switch monitoring signal.
- the light source driving circuit 400 can further include an AC/DC converter 306 for converting an AC input voltage Vin to a DC output voltage Vout, and a current sensor 314 for sensing an LED current flowing through the LED string 312.
- the AC/DC converter 306 can include a bridge rectifier including diodes D1, D2, D7 and D8.
- the current sensor 314 can include a current sensing resistor R5.
- terminals of the dimming controller 308 can include HV_GATE, SEL, CLK, RT, VDD, CTRL, MON and GND.
- the terminal HV_GATE is coupled to a switch Q27 through a resistor R15 for controlling a conductance status, e.g., ON/OFF status, of the switch Q27 coupled to the LED string 312.
- a capacitor C11 is coupled between the terminal HV_GATE and ground for regulating a gate voltage of the switch Q27.
- a user can select a dimming mode, e.g., an analog dimming mode or a burst dimming mode, by coupling the terminal SEL to ground through a resistor R4 (as shown in FIG. 4 ), or coupling the terminal SEL to ground directly.
- a dimming mode e.g., an analog dimming mode or a burst dimming mode
- the terminal CLK is coupled to the AC/DC converter 306 through a resistor R3, and is coupled to ground through a resistor R6.
- the terminal CLK can receive a switch monitoring signal indicating an operation of the power switch 304.
- the switch monitoring signal can be generated at a common node between the resistor R3 and the resistor R6.
- a capacitor C12 is coupled to the resistor R6 in parallel for filtering undesired noises.
- the terminal RT is coupled to ground through a resistor R7 for determining a frequency of a pulse signal generated by the dimming controller 308.
- the terminal VDD is coupled to the switch Q27 through a diode D9 for supplying power to the dimming controller 308.
- an energy storage unit e.g., a capacitor C10, coupled between the terminal VDD and ground can power the dimming controller 308 when the power switch 304 is turned off.
- the energy storage unit can be integrated in the dimming controller 308.
- the terminal GND is coupled to ground.
- the terminal CTRL is coupled to the control switch Q16.
- the control switch Q16 is coupled in series with the LED string 312 and the switch Q27, and is coupled to ground through the current sensing resistor R5.
- the dimming controller 308 is operable for adjusting the regulated power from the power converter 310 by controlling a conductance status, e.g., ON and OFF status, of the control switch Q16 using a control signal via the terminal CTRL.
- the terminal MON is coupled to the current sensing resistor R5 for receiving a current monitoring signal indicating an LED current flowing through the LED string 312. When the switch Q27 is turned on, the dimming controller 308 can adjust the LED current flowing through the LED string 312 to ground by controlling the control switch Q16.
- the AC/DC converter 306 converts an input AC voltage Vin to a DC voltage Vout.
- a predetermined voltage at the terminal HV_GATE is supplied to the switch Q27 through the resistor R15 so that the switch Q27 is turned on.
- the dimming controller 308 If the dimming controller 308 turns on the control switch Q16, the DC voltage Vout powers the LED string 312 and charges the inductor L1. An LED current flows through the inductor L1, the LED string 312, the switch Q27, the control switch Q16, the current sensing resistor R5 to ground. If the dimming controller 308 turns off the control switch Q16, an LED current flows through the inductor L1, the LED string 312 and the diode D4. The inductor L1 is discharged to power the LED string 312. As such, the dimming controller 308 can adjust the regulated power from the power converter 310 by controlling the control switch Q16.
- the capacitor C10 is discharged to power the dimming controller 308.
- a voltage across the resistor R6 drops to zero, therefore a switch monitoring signal indicating a turn-off operation of the power switch 304 can be detected by the dimming controller 308 through the terminal CLK.
- the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage, therefore a switch monitoring signal indicating a turn-on operation of the power switch 304 can be detected by the dimming controller 308 through the terminal CLK.
- the dimming controller 308 can turn off the switch Q27 by pulling the voltage at the terminal HV_GATE to zero such that the LED string 312 can be turned off after the inductor L1 completes discharging.
- the dimming controller 308 can adjust a reference signal indicating a target light output of the LED string 312. Therefore, when the power switch 304 is turned on next time, the LED string 312 can generate a light output according to the adjusted target light output. In other words, the light output of the LED string 312 can be adjusted by the dimming controller 308 in response to the turn-off operation of the power switch 304.
- FIG. 5 shows an example of a structure of the dimming controller 308 in FIG. 4 , in accordance with one embodiment of the present invention.
- FIG. 5 is described in combination with FIG. 4 .
- Elements labeled the same as in FIG. 4 have similar functions and will not be detailed described herein.
- 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 a Zener diode ZD1.
- the trigger monitoring unit 506 can receive a switch monitoring signal indicating an operation of the external power switch 304 through the terminal CLK and can generate a driving signal for driving a counter 526 when an operation of the external power switch 304 is detected at the terminal CLK.
- the trigger monitoring unit 506 is further operable for controlling a conductance status of the switch Q27.
- the dimmer 502 is operable for generating a reference signal REF to adjust power of the LED string 312 in an analog dimming mode, or generating a control signal 538 for adjusting a duty cycle of a PWM signal PWM1 to adjust the power of the LED string 312.
- the pulse signal generator 504 is operable for generating a pulse signal which can turn on a control switch Q16.
- the dimming controller 308 can further include a start up and under voltage lockout (UVL) circuit 508 coupled to the terminal VDD for selectively turning on one or more components of the dimming controller 308 according to different power condition.
- UVL start up and under voltage lockout
- the start up and under voltage lockout circuit 508 is operable for turning on all the components of the dimming controller 308 when the voltage at the terminal VDD is greater than a first predetermined voltage.
- the start up and under voltage lockout circuit 508 is operable for turning off other components of the dimming controller 308 except the trigger monitoring unit 506 and the dimmer 502 when the voltage at the terminal VDD is less than a second predetermined voltage, in order to save energy.
- the start up and under voltage lockout circuit 508 is further operable for turning off the trigger monitoring unit 506 and the dimmer 502 when the voltage at the terminal VDD is less than a third predetermined voltage.
- the first predetermined voltage is greater than the second predetermined voltage and the second predetermined voltage is greater than the third predetermined voltage. Because the dimming controller 308 can be powered by the capacitor C10 through the terminal VDD, the trigger monitoring unit 506 and the dimmer 502 can still operate for a time period after the power switch 304 is turned off.
- the terminal SEL is coupled to a current source 532. Users can choose a dimming mode by configuring the terminal SEL, e.g., by coupling the terminal SEL directly to ground or coupling the terminal SEL to ground via a resistor. In one embodiment, the dimming mode can be determined by measuring a voltage at the terminal SEL. If the terminal SEL is directly coupled to ground, the voltage at the terminal SEL is approximately equal to zero. A control circuit can in turn switch on a switch 540, switch off a switch 541 and switch off a switch 542. Therefore, the dimming controller 308 can work in an analog dimming mode and can adjust the power of the LED string 312 (shown in FIG.
- the dimming controller 308 can work in a burst dimming mode and can adjust the power of the LED string 312 (shown in FIG. 4 ) by adjusting a duty cycle of a PWM signal PWM1.
- different dimming modes can be selected by controlling the ON/OFF status of the switch 540, switch 541 and switch 542.
- the ON/OFF status of the switch 540, switch 541 and switch 542 can be determined by the voltage at the terminal SEL.
- the pulse signal generator 504 is coupled to ground through the terminal RT and the resistor R7 for generating a pulse signal 536 which can turn on the control switch Q16.
- the pulse signal generator 504 can have different configurations and is not limited to the configuration as shown in the example of FIG. 5 .
- the non-inverting input of an operational amplifier 510 receives a predetermined voltage V1.
- V1 the voltage of the inverting input of the operational amplifier 510 can be forced to V1.
- a current IRT flows through the terminal RT and the resistor R7 to ground.
- a current I1 flowing through a MOSFET 514 and a MOSFET 515 is equal to IRT.
- a current I2 flowing through the MOSFET 512 is also substantially equal to IRT.
- the output of a comparator 516 and the output of a comparator 518 are respectively coupled to the S input and the R input of an SR flip-flop 520.
- the inverting input of the comparator 516 receives a predetermined voltage V2.
- the non-inverting input of the comparator 518 receives a predetermined voltage V3.
- V2 is greater than V3, and V3 is greater than zero, in one embodiment.
- a capacitor C4 is coupled between the MOSFET 512 and ground, and has one end coupled to a common node between the non-inverting input of the comparator 516 and the inverting input of the comparator 518.
- the Q output of the SR flip-flop 520 is coupled to the switch Q15 and the S input of an SR flip-flop 522.
- the switch Q15 is coupled in parallel with the capacitor C4.
- a conductance status, e.g., ON/OFF status, of the switch Q15 can be determined by the Q output of the SR flip-flop 520.
- the voltage across the capacitor C4 is approximately equal to zero which is less than V3. Therefore, the R input of the SR flip-flop 520 receives a digital 1 from the output of the comparator 518.
- the Q output of the SR flip-flop 520 is set to digital 0, which turns off the switch Q15.
- the switch Q15 is turned off, the voltage across the capacitor C4 increases as the capacitor C4 is charged by I2.
- the S input of the SR flip-flop 520 receives a digital 1 from the output of the comparator 516.
- the Q output of the SR flip-flop 520 is set to digital 1, which turns on the switch Q15.
- the pulse signal generator 504 can generate a pulse signal 536 which includes a series of pulses at the Q output of the SR flip-flop 520.
- the pulse signal 536 is sent to the S input of the SR flip-flop 522.
- the trigger monitoring unit 506 is operable for monitoring an operation of the power switch 304 through the terminal CLK, and is operable for generating a driving signal for driving the counter 526 when an operation of the power switch 304 is detected at the terminal CLK.
- the voltage at the terminal CLK rises to a level that is equal to a voltage across the resistor R6 (shown in FIG. 4 ).
- the trigger monitoring unit 506 generates a driving signal when a turn-off operation is detected at the terminal CLK.
- the trigger monitoring unit 506 is further operable for controlling a conductance status of the switch Q27 through the terminal HV_GATE.
- a breakdown voltage across the Zener diode ZD1 is applied to the switch Q27 through the resistor R3. Therefore, the switch Q27 can be turned on.
- the trigger monitoring unit 506 can turn off the switch Q27 by pulling the voltage at the terminal HV_GATE to zero.
- the trigger monitoring unit 506 turns off the switch Q27 when a turn-off operation of the power switch 304 is detected at the terminal CLK and turns on the switch Q27 when a turn-on operation of the power switch 304 is detected at the terminal CLK.
- the dimmer 502 includes a counter 526 coupled to the trigger monitoring unit 506 for counting operations of the power switch 304, a digital-to-analog converter (D/A converter) 528 coupled to the counter 526.
- the dimmer 502 can further include a PWM generator 530 coupled to the D/A converter 528.
- the counter 526 can be driven by the driving signal generated by the trigger monitoring unit 506. More specifically, when the power switch 304 is turned off, the trigger monitoring unit 506 detects a negative edge of the voltage at the terminal CLK and generates a driving signal, in one embodiment.
- the counter value of the counter 526 can be increased, e.g., by 1, in response to the driving signal.
- the D/A converter 528 reads the counter value from the counter 526 and generates a dimming signal (e.g., control signal 538 or reference signal REF) based on the counter value.
- the dimming signal can be used to adjust a target power level of the power converter 310, which can in turn adjust the light output of the LED string 312.
- the switch 540 In the burst dimming mode, the switch 540 is off, the switch 541 and the switch 542 are on.
- the inverting input of the comparator 534 receives a reference signal REF1 which can be a DC signal having a predetermined substantially constant voltage.
- REF1 can determine a peak value of the LED current, which can in turn determine the maximum light output of the LED string 312.
- the dimming signal can be a control signal 538 which is applied to the PWM generator 530 for adjusting a duty cycle of the PWM signal PWM1.
- the light output of the LED string 312 can be adjusted no greater than the maximum light output determined by REF1. For example, if PWM1 has a duty cycle of 100%, the LED string 312 can have the maximum light output. If the duty cycle of PWM1 is less than 100%, the LED string 312 can have a light output that is lower than the maximum light output.
- the switch 540 In the analog dimming mode, the switch 540 is on, the switch 541 and the switch 542 are off, and the dimming signal can be an analog reference signal REF having an adjustable voltage.
- the D/A converter 528 can adjust the voltage of the reference signal REF according to the counter value of the counter 526.
- the voltage of REF can determine a peak value of the LED current, which can in turn determine an average value of the LED current. As such, the light output of the LED string 312 can be adjusted by adjusting the reference signal REF.
- the D/A converter 528 can decrease the voltage of REF in response to an increase of the counter value. For example, if the counter value is 0, the D/A converter 528 adjusts the reference signal REF to have a voltage V4. If the counter value is increased to 1 when a turn-off operation of the power switch 304 is detected at the terminal CLK by the trigger monitoring unit 506, the D/A converter 528 adjusts the reference signal REF to have a voltage V5 that is less than V4. Yet in another embodiment, the D/A converter 528 can increase the voltage of REF in response to an increase of the counter value.
- the counter value will be reset to zero after the counter 526 reaches its maximum counter value.
- the counter value will increase from 0 to 1, 2, 3 and then return to zero after four turn-off operations have been detected. Accordingly, the light output of the LED string 312 can be adjusted from a first level to a second level, then to a third level, then to a fourth level, and then back to the first level.
- the inverting input of a comparator 534 can selectively receive the reference signal REF and the reference signal REF1.
- the inverting input of the comparator 534 receives the reference signal REF through the switch 540 in the analog dimming mode, and receives the reference signal REF1 through the switch 541 in the burst dimming mode.
- the non-inverting input of the comparator 534 is coupled to the resistor R5 through the terminal MON for receiving a current monitoring signal SEN from the current sensing resistor R5.
- the voltage of the current monitoring signal SEN can indicate an LED current flowing through the LED string 312 when the switch Q27 and the control switch Q16 are turned on.
- the output of the comparator 534 is coupled to the R input of the SR flip-flop 522.
- the Q output of the SR flip-flop 522 is coupled to an AND gate 524.
- the PWM signal PWM1 generated by the PWM generator 530 is applied to the AND gate 524.
- the AND gate 524 outputs a control signal to control the control switch Q16 through the terminal CTRL.
- the switch 540 is turned on and the switches 541 and 542 are turned off.
- the control switch Q16 is controlled by the SR flip-flop 522.
- the SR flip-flop 522 In operation, when the power switch 304 is turned on, the breakdown voltage across the Zener diode ZD1 turns on the switch Q27.
- the SR flip-flop 522 generates a digital 1 at the Q output to turn on the control switch Q16 in response to the pulse signal 536 generated by the pulse generator 504.
- the voltage across the current sensing resistor R5, that is, the voltage of the current monitoring signal SEN can be increased.
- the comparator 534 When the voltage of SEN is greater than that of the reference signal REF, the comparator 534 generates a digital 1 at the R input of the SR flip-flop 522 so that the SR flip-flop 522 generates a digital 0 to turn off the control switch Q16.
- the inductor L1 After the control switch Q16 is turned off, the inductor L1 is discharged to power the LED string 312. An LED current which flows through the inductor L1, the LED string 312 and the diode D4 gradually decreases.
- the control switch Q16 is turned on when the SR flip-flop 522 receives a pulse at the S input again, and then the LED current flows through the current sensing resistor R5 to ground again.
- the control switch Q16 is turned off by the SR flip-flop 522.
- the reference signal REF determines a peak value of the LED current, which can in turn determine the light output of the LED string 312. By adjusting the reference signal REF, the light output of the LED string 312 can be adjusted.
- the capacitor C10 (shown in FIG. 4 ) is discharged to power the dimming controller 308.
- the counter value of the counter 526 can be increased by 1 when the trigger monitoring unit 506 detects a turn-off operation of the power switch 304 at the terminal CLK.
- the trigger monitoring unit 506 can turn off the switch Q27 in response to the turn-off operation of the power switch 304.
- the D/A converter 528 can adjust the voltage of the reference signal REF from a first level to a second level in response to the change of the counter value. Therefore, the light output of the LED string 312 can be adjusted in accordance with the adjusted reference signal REF when the power switch 304 is turned on.
- the switch 540 is turned off and the switches 541 and 542 are turned on.
- the inverting input of the comparator 534 receives a reference signal REF1 having a predetermined voltage.
- the control switch Q16 is controlled by both of the SR flip-flop 522 and the PWM signal PWM1 through the AND gate 524.
- the reference signal REF1 can determine a peak value of the LED current, which can in turn determine a maximum light output of the LED string 312.
- the duty cycle of the PWM signal PWM1 can determine the on/off time of the control switch Q16. When the PWM signal PWM1 is logic 1, the conductance status of the control switch Q16 is determined by the Q output of the SR flip-flop 522.
- the control switch Q16 is turned off.
- the duty cycle of the PWM signal PWM1 the power of the LED string 312 can be adjusted accordingly.
- the combination of the reference signal REF1 and the PWM signal PWM1 can determine the light output of the LED string 312.
- a turn-off operation of the power switch 304 can be detected by the trigger monitoring unit 506 at the terminal CLK.
- the trigger monitoring unit 506 turns off the switch Q27 and generates a driving signal.
- the counter value of the counter 526 can be increased, e.g., by 1, in response of the driving signal.
- the D/A converter 528 can generate the control signal 538 to adjust the duty cycle of the PWM signal PWM1 from a first level to a second level. Therefore, when the power switch 304 is turned on next time, the light output of the LED string 312 can be adjusted to follow a target light output which is determined by the reference signal REF1 and the PWM signal PWM1.
- FIG. 6 illustrates examples of signal waveforms of an LED current 602 flowing through the LED string 312, the pulse signal 536, V522 which indicates the output of the SR flip-flop 522, V524 which indicates the output of the AND gate 524, and the ON/OFF status of the control switch Q16 in the analog dimming mode.
- FIG. 6 is described in combination with FIG. 4 and FIG. 5 .
- the pulse signal generator 504 generates pulse signal 536.
- the SR flip-flop 522 generates a digital 1 at the Q output in response to each pulse of the pulse signal 536.
- the control switch Q16 is turned on when the Q output of the SR flip-flop 522 is digital 1.
- the control switch Q16 is turned on, the inductor L1 ramps up and the LED current 602 increases.
- the comparator 534 generates a digital 1 at the R input of the SR flip-flop 522 so that the SR flip-flop 522 generates a digital 0 at the Q output.
- the control switch Q16 is turned off when the Q output of the SR flip-flop 522 is digital 0.
- the control switch Q16 is turned off, the inductor L1 is discharged to power the LED string 312 and the LED current 602 decreases.
- the reference signal REF by adjusting the reference signal REF, the average LED current can be adjusted accordingly and therefore the light output of the LED string 312 can be adjusted.
- FIG. 7 illustrates examples of signal waveforms of the LED current 602 flowing through the LED string 312, the pulse signal 536, V522 which indicates the output of the SR flip-flop 522, V524 which indicates the output of the AND gate 524, and the ON/OFF status of the control switch Q16, and the PMW signal PWM1 in the burst dimming mode.
- FIG. 7 is described in combination with FIG. 4 and FIG. 5 .
- PWM1 When PWM1 is digital 1, the relationship among the LED current 602, the pulse signal 536, V522, V524, and the ON/OFF status of the switch Q1 is similar to that is illustrated in FIG. 6 .
- PWM1 When PWM1 is digital 0, the output of the AND gate 524 turns to digital 0. Therefore, the control switch Q16 is turned off and the LED current 602 decreases. If the PWM1 holds digital 0 long enough, the LED current 602 can falls to zero. In this burst dimming mode, by adjusting the duty cycle of PWM1, the average LED current can be adjusted accordingly and therefore the light output of the LED string 312 can be adjusted.
- FIG. 8 shows an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller in FIG. 5 , in accordance with one embodiment of the present invention.
- FIG. 8 is described in combination with FIG. 5 .
- the counter 526 can be a 2-bit counter which has a maximum counter value of 3.
- the D/A converter 528 reads the counter value from the counter 526 and decreases the voltage of the reference signal REF in response to an increase of the counter value.
- the voltage of REF can determine a peak value Imax of the LED current, which can in turn determine an average value of the LED current.
- the D/A converter 528 reads the counter value from the counter 526 and decreases the duty cycle of the PWM signal PWM1 (e.g., decreases 25% each time) in response to an increase of the counter value.
- the counter 526 is reset after it reaches its maximum counter value (e.g., 3).
- FIG. 9 shows a flowchart 900 of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.
- FIG. 9 is described in combination with FIG. 4 and FIG. 5 .
- a light source e.g., the LED string 312 is powered by a regulated power from a power converter, e.g., the power converter 310.
- a switch monitoring signal can be received, e.g., by the dimming controller 308.
- the switch monitoring signal can indicate an operation of a power switch, e.g., the power switch 304 coupled between a power source and the power converter.
- a dimming signal is generated according to the switch monitoring signal.
- a switch coupled in series with the light source e.g., the control switch Q16, is controlled according to the dimming signal so as to adjust the regulated power from the power converter.
- the regulated power from the power converter in an analog dimming mode, can be adjusted by comparing the dimming signal with a feedback current monitoring signal which indicates a light source current of the light source. In another embodiment, in a burst dimming mode, the regulated power from the power converter can be adjusted by controlling a duty cycle of a PWM signal by the dimming signal.
- embodiments in accordance with the present invention provide a light source driving circuit that can adjust power of a light source according to a switch monitoring signal indicative of an operation of a power switch, e.g., an on/off switch mounted on the wall.
- the power of the light source which is provided by a power converter, can be adjusted by a dimming controller by controlling a switch coupled in series with the light source.
- users can adjust the light output of the light source through an operation (e.g., a turn-off operation) of a common on/off power switch. Therefore, extra apparatus for dimming, such as an external dimmer or a specially designed switch with adjusting buttons, can be avoided and the cost can be reduced.
- FIG. 10 shows an example of a schematic diagram of a light source driving circuit 1000, in accordance with one embodiment of the present invention.
- FIG. 10 is described in combination with FIG. 3 .
- Elements labeled the same as in FIG. 3 and FIG. 4 have similar functions.
- the light source driving circuit 1000 includes a power converter 310 coupled to a power source and an LED string 312 for receiving power from the power source and for providing a regulated power to the LED string 312.
- a dimming controller 1008 is operable for monitoring a power switch 304 coupled between the power source and the light source driving circuit 1000 by monitoring the voltage at a terminal CLK.
- the dimming controller 1008 is operable for receiving a dimming request signal indicative of a first set of operations of the power switch 304 and for receiving a dimming termination signal indicative of a second set of operations of the power switch 304.
- the dimming controller 1008 can receive the dimming request signal and the dimming termination signal via the terminal CLK.
- the dimming controller 1008 is further operable for continuously adjusting the regulated power from the power converter 310 if the dimming request signal is received, and for stopping adjusting the regulated power from the power converter 310 if the dimming termination signal is received. In other words, the dimming controller 1008 can continuously adjust the power from the power converter 310 upon detection of the first set of operations of the power switch 304 until the second set of operations of the power switch 304 are detected. In one embodiment, the dimming controller 1008 can adjust the regulated power from the power converter 310 by controlling a control switch Q16 coupled in series with the LED string 312.
- FIG. 11 shows an example of a structure of the dimming controller 1008 in FIG. 10 , in accordance with one embodiment of the present invention.
- FIG. 11 is described in combination with FIG. 10 .
- Elements labeled the same as in FIG. 4 , FIG. 5 and FIG. 10 have similar functions.
- the structure of the dimming controller 1008 in FIG. 11 is similar to the structure of the dimming controller 308 in FIG. 5 except for the configuration of the dimmer 1102 and the trigger monitoring unit 1106.
- the trigger monitoring unit 1106 is operable for receiving the dimming request signal and the dimming termination signal via the terminal CLK, and for generating a signal EN to enable or disable a clock generator 1104.
- the trigger monitoring unit 1106 is further operable for controlling a conductance status of the switch Q27 coupled to the LED string 312.
- the dimmer 1102 is operable for generating a reference signal REF to adjust power of the LED string 312 in an analog dimming mode, or generating a control signal 538 for adjusting a duty cycle of a PWM signal PWM1 to adjust the power of the LED string 312 in a burst dimming mode.
- the dimmer 1102 can include the clock generator 1104 coupled to the trigger monitoring unit 1106 for generating a clock signal, a counter 1126 driven by the clock signal, an digital-to-analog (D/A) converter 528 coupled to the counter 1126.
- the dimmer 1102 can further include a PWM generator 530 coupled to the D/A converter 528.
- the trigger monitoring unit 1106 can detect a positive edge or a negative edge of the voltage at the terminal CLK.
- the capacitor C10 is discharged to power the dimming controller 1108.
- a voltage across the resistor R6 drops to zero. Therefore, a negative edge of the voltage at the terminal CLK can be detected by the trigger monitoring unit 1106.
- the power switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage. Therefore, a positive edge of the voltage at the terminal CLK can be detected by the trigger monitoring unit 1106.
- operations, e.g., turn-on operations or turn-off operations, of the power switch 304 can be detected by the trigger monitoring unit 1106 by monitoring the voltage at the terminal CLK.
- a dimming request signal can be received by the trigger monitoring unit 1106 via the terminal CLK when a first set of operations of the power switch 304 are detected.
- a dimming termination signal can be received by the trigger monitoring unit 1106 via the terminal CLK when a second set of operations of the power switch 304 are detected.
- the first set of operations of the power switch 304 includes a first turn-off operation followed by a first turn-on operation.
- the second set of operations of the power switch 304 includes a second turn-off operation followed by a second turn-on operation.
- the dimming controller 1108 begins to continuously adjust the regulated power from the power converter 310.
- the dimming controller 1108 adjusts a voltage of a reference signal REF to adjust the regulated power from the power converter 310.
- the dimming controller 1108 adjusts a duty cycle of a PWM signal PWM1 to adjust the regulated power from the power converter 310.
- the dimming controller 1008 can stop adjusting the regulated power from the power converter 310.
- FIG. 12 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller 1008 in FIG. 11 , in accordance with one embodiment of the present invention.
- FIG. 12 is described in combination with FIG. 10 and FIG. 11 .
- the initial light output can be determined by an initial voltage of the reference signal REF.
- the initial light output can be determined by an initial duty cycle (e.g., 100%) of the PWM signal PWM1.
- the reference signal REF and the PWM signal PWM1 can be generated by the D/A converter 528 according to a counter value of the counter 1126, in one embodiment. Therefore, the initial voltage of REF and the initial duty cycle of PWM1 can be determined by an initial counter value (e.g., zero) provided by the counter 1126.
- the user can apply a first set of operations to the power switch 304.
- a dimming request signal is generated upon detection of the first set of operations of the power switch 304.
- the first set of operations can include a first turn-off operation followed by a first turn-on operation.
- a dimming request signal including a negative edge 1204 followed by a positive edge 1206 of the voltage at the terminal CLK can be detected and received by the trigger monitoring unit 1106.
- the trigger monitoring unit 1106 can generate a signal EN having a high level.
- the clock generator 1104 is enabled to generate a clock signal.
- the counter 1126 driven by the clock signal can change the counter value in response to each clock pulse of the clock signal.
- the counter value increases in response to the clock signal.
- the counter value can be reset to zero after the counter 1126 reaches its predetermined maximum counter value.
- the counter value increases until the counter 1126 reaches its predetermined maximum counter value, and then decreases until the counter 1126 reaches its predetermined minimum counter value.
- the D/A converter 528 reads the counter value from the counter 1126 and decreases the voltage of the reference signal REF in response to an increase of the counter value, in one embodiment.
- the D/A converter 528 reads the counter value from the counter 1126 and decreases the duty cycle of the PWM signal PWM1 (e.g., decreases 10% each time) in response to an increase of the counter value, in one embodiment. Accordingly, the light output of the LED string 312 can be adjusted because the regulated power from the power converter 310 can be determined by the voltage of the reference signal REF (in the analog dimming mode) or by the duty cycle of the PWM signal PWM1 (in the burst dimming mode).
- the user can terminate the adjustment process by applying a second set of operations to the power switch 304.
- a dimming termination signal is generated upon detection of the second set of operations of the power switch 304.
- the second set of operations can include a second turn-off operation followed by a second turn-on operation.
- the dimming termination signal including a negative edge 1208 followed by a positive edge 1210 of the voltage at the terminal CLK can be detected and received by the trigger monitoring unit 1106.
- the trigger monitoring unit 1106 can generate the signal EN having a low level.
- the clock generator 1104 is disabled, such that the counter 1126 can hold its counter value.
- the voltage of the reference signal REF can be held at a desired level.
- the duty cycle of the PWM signal PWM1 can be held at a desired value. Therefore, the light output of the LED string 312 can be maintained at a desired light output.
- FIG. 13 shows a flowchart 1300 of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.
- FIG. 13 is described in combination with FIG. 10 and FIG. 11 .
- a light source e.g., the LED string 312 is powered by a regulated power from a power converter, e.g., the power converter 310.
- a dimming request signal can be received, e.g., by the dimming controller 1108.
- the dimming request signal can indicate a first set of operations of a power switch, e.g., the power switch 304 coupled between a power source and the power converter.
- the first set of operations of the power switch includes a first turn-off operation followed by a first turn-on operation.
- the regulated power from the power converter is continuously adjusted, e.g., by the dimming controller 1108.
- a clock generator 1104 can be enabled to drive a counter 1126.
- a dimming signal (e.g., control signal 538 or reference signal REF) can be generated according to the counter value of the counter 1126.
- the regulated power from the power converter can be adjusted by comparing the reference signal REF with a feedback current monitoring signal which indicates a light source current of the light source. The voltage of REF can be determined by the counter value.
- the regulated power from the power converter can be adjusted by varying a duty cycle of a PWM signal PWM1 by the control signal 538. The duty cycle of PWM1 can be also determined by the counter value.
- a dimming termination signal can be received, e.g., by the dimming controller 1108.
- the dimming termination signal can indicate a second set of operations of a power switch, e.g., the power switch 304 coupled between a power source and the power converter.
- the second set of operations of the power switch includes a second turn-off operation followed by a second turn-on operation.
- the adjustment of the regulated power from the power converter is terminated if the dimming termination signal is received.
- the clock generator 1104 is disabled such that the counter 1126 can hold its counter value.
- the voltage of REF can be held at a desired level.
- the duty cycle of the PWM signal PWM1 can be held at a desired value. Consequently, the light source can maintain a desired light output.
- FIG. 14A shows an example of a schematic diagram of a light source driving circuit 1400, in accordance with one embodiment of the present invention. Elements labeled the same as in FIG. 3 and FIG. 4 have similar functions.
- FIG. 14A is described in combination with FIG. 4 .
- the light source driving circuit 1400 is coupled to a power source V IN (e.g., 110/120 Volt AC, 60Hz) via a power switch 304 and is coupled to an LED light source 312.
- V IN e.g., 110/120 Volt AC, 60Hz
- FIG. 14B an example of the power switch 304 in FIG. 14A is illustrated according to one embodiment of the present invention.
- the power switch 304 is an on/off switch mounted on the wall. By switching an element 1480 to an ON place or an OFF place, the conductance status of the power switch 304 is controlled on or off, e.g., by a user.
- the light source driving circuit 1400 includes an AC/DC converter 306, a power converter 310, and a dimming controller 1408.
- the AC/DC converter 306 converts an input AC voltage V IN to an output DC voltage V OUT .
- the AC/DC converter 306 includes a bridge rectifier including diodes D1, D2, D7 and D8.
- the power converter 310 coupled to the AC/DC converter 306 receives the output DC voltage V OUT and provides output power to the LED light source 312.
- the dimming controller 1408 coupled to the AC/DC converter 306 and coupled to the power converter 310 is operable for monitoring the power switch 304, and for regulating the output power of the power converter 310 according to operations of the power switch 304 so as to control brightness of light emitted from the LED light source 312.
- the power converter 310 includes an inductor L1, a diode D4, a switch Q27, a control switch Q16, and a current sensor R5.
- the dimming controller 1408 includes multiple terminals, such as a terminal HV_GATE, a terminal CLK, a terminal VDD, a terminal GND, a terminal CTRL, a terminal RT and a terminal MON.
- the terminals of the dimming controller 1408 operate similarly as the corresponding terminals of the dimming controller 308 described in relation to FIG. 4 .
- the dimming controller 1408 monitors the power switch 304 by receiving a switch monitoring signal 1450 at the terminal CLK.
- the switch monitoring signal 1450 indicates a conductance status, e.g., ON/OFF status, of the power switch 304. Accordingly, the dimming controller 1408 controls the switch Q27 through the terminal HV_GATE and controls the control switch Q16 through the terminal CTRL, so as to control the dimming of the LED light source 312.
- the dimming controller 1408 when the power switch 304 is turned on, the dimming controller 1408 generates a signal, e.g., logic high, at the terminal HV_GATE to turn the switch Q27 on, and generates a switch control signal 1452 at the terminal CTRL to turn the control switch Q16 on and off.
- the control switch Q16 operates in a switch-on state and a switch-off state. During the switch-on state of the control switch Q16, the switch control signal 1452 alternately turns the control switch Q16 on and off. For example, the dimming controller 1408 periodically turns on the control switch Q16.
- the dimming controller 1408 receives a sensing signal 1454 via the terminal MON indicating the current I LED through the LED light source 312, and turns off the control switch Q16 if the sensing signal 1454 indicates that the current I LED reaches a current threshold I TH .
- the current I LED ramps up when the control switch Q16 is turned on and ramps down when the control switch Q16 is turned off.
- the dimming controller 1408 determines a peak level of the current I LED , such that an average level I AVERAGE of the current I LED is controlled.
- the switch control signal 1452 maintains the control switch Q16 off to cut off the current I LED .
- the dimming controller 1408 determines a time ratio of the switch-on state to the switch-off state to control the average level I AVERAGE of the current I LED .
- the dimming controller 1408 When the power switch 304 is turned off, the dimming controller 1408 generates a signal, e.g., logic low, at the terminal HV_GATE to turn off the switch Q27, in one embodiment. As such, the current I LED flowing through the LED light source 312 drops to substantially zero ampere to cut off the LED light source 312.
- the dimming controller 1408 receives the switch monitoring signal 1450 indicating a conductance status of the power switch 304 at the terminal CLK. Accordingly, the dimming controller 1408 is able to identify an operation of the power switch 304 and provide a dimming request signal indicating the operation of the power switch 304. In one embodiment, the dimming controller 1408 provides a dimming request signal if a turn-off operation of the power switch 304 is identified. Alternatively, the dimming controller 1408 provides a dimming request signal if a turn-on operation of the power switch 304 is identified.
- the dimming controller 1408 operates in an analog dimming mode, a burst dimming mode, or a combination mode to adjust the on/off state of the control switch Q16 to control the dimming of the LED light source 312, in one embodiment.
- the peak level of the current I LED is determined by the dimming controller 1408 while the time ratio of the switch-on state to the switch-off state remains at the same level.
- the burst dimming mode the time ratio of the switch-on state to the switch-off state is determined by the dimming controller 1408 while the peak level of the current I LED remains at the same level.
- both the peak level of the current I LED and the time ratio of the switch-on state to the switch-off state are determined by the dimming controller 1408.
- the switch Q27 is turned on again (indicating the power switch 304 is turned on again)
- the peak level of the current I LED and/or the time durations of the switch-on state and the switch-off state are adjusted.
- the average current I AVERACE flowing through the LED light source 312 is adjusted to control the brightness of the LED light source 312.
- the dimming controller 1408 is able to adjust the average current I AVERACE in a relatively wide range.
- I MAX is a maximum level of the average current I AVERAGE
- I AVERAGE can vary in a range of 4% *I MAX to 100%*I MAX in accordance with one embodiment, compared to a range of 20%*I MAX to 100%*I MAX in conventional art. Consequently, a wider range dimming for the LED light source 312 is achieved, which is beneficial for energy-efficient light applications, for example, night lighting.
- FIG. 15 shows an example of a structure of the dimming controller 1408 in FIG. 14A , in accordance with one embodiment of the present invention.
- FIG. 15 is described in combination with FIG. 5-FIG. 7 and FIG. 14A . Elements labeled the same as in FIG. 5 and FIG. 14A have similar functions.
- the dimming controller 1408 includes a start-up and UVL circuit 508, a pulse signal generator 504, a trigger monitoring unit 506, a dimmer 1502, a comparator 534, an SR flip-flop 522, and an AND gate 524.
- the dimmer 1502 includes a reference signal generator 1506 for generating a reference signal REF and further includes a PWM generator 1508 for generating a pulse-width modulation signal PWM1.
- the comparator 534 compares the sensing signal 1454 with the reference signal REF to generate a comparing signal COMP.
- the pulse signal generator 504 generates a pulse signal 536 having a waveform of periodical pulses.
- the SR flip-flop 522 sets the pulse signal V 522 to digital one when the pulse signal 536 is digital one and resets the pulse signal V 522 to digital zero when the comparing signal COMP is digital one (e.g., when the sensing signal 1454 reaches the reference signal REF).
- the AND gate 524 receives the pulse signal V 522 and the pulse-width modulation signal PWM1, and generates the switch control signal 1452 accordingly to control the control switch Q16.
- the dimming controller 1408 controls the current I LED in a similar way as the dimming controller 308 described in relation to FIG. 6 and FIG. 7 .
- the AND gate 524 alternately turns on and off the control switch Q16 according to the pulse signal V 522 , in one embodiment.
- the control switch Q16 operates in the switch-on state, in which the current I LED ramps up when the control switch Q16 is turned on and ramps down when the control switch Q16 is turned off.
- the reference signal REF determines a peak level of the current I LED by turning off the control switch Q16 when the sensing signal 1454 reaches the reference signal REF.
- PWM1 pulse-width modulation signal
- the AND gate 524 maintains the control switch Q16 to be off. As such, the control switch Q16 operates in the switch-off state to cut off the current I LED .
- the reference signal REF is used to determine the peak level of the current I LED
- the duty cycle of the pulse-width modulation signal PWM1 is used to determine the time ratio of the switch-on state to the switch-off state of the control switch Q16.
- the average current I AVERAGE through the LED light source 312 varies according to the reference signal REF and the duty cycle of the PWM1. For example, I AVERACE is increased if the voltage V REF of the reference signal REF is increased and is decreased If V REF is decreased.
- I AVERACE is increased if the duty cycle D PWM1 of PWM1 is increased and is decreased if D PWM1 is decreased.
- the dimmer 1502 further includes a counter 1504 for providing a counter value.
- the reference signal generator 1506 coupled to the counter 1504 determines the voltage level V REF based upon the counter value VALUE_1504 of the counter 1504.
- the PWM generator 1508 coupled to the counter 1504 determines the duty cycle D PWM1 based upon the counter value VALUE_1504. TABLE 1 VALUE_1504 0 1 2 3 V REF V MAX 50% * V MAX 20% * V MAX 20% * V MAX Dp WM1 100% 100% 100% 20% TABLE 2 VALUE_1504 0 1 2 3 V REF V MAX 50% * V MAX 30% * V MAX 20% * V MAX D PWM1 100% 60% 40% 20%
- Table 1 and Table 2 show examples of the counter value VALUE_1504 of the counter 1504 versus the voltage V REF and the duty cycle D PWM1 .
- the counter 1504 is a 2-bit counter, and thus the counter value can be 0, 1, 2 or 3.
- V MAX represents a maximum voltage level of the reference signal REF. According to Table 1, when the counter value VALUE_1504 is 0, 1, 2 and 3, the reference signal REF has levels V MAX , 50% * V MAX , 20% V MAX and 20% V MAX , respectively, and the duty cycle D PWM1 has values 100%, 100%, 100% and 20%, respectively.
- the reference signal REF has levels V MAX , 50% V MAX , 30% V MAX and 20% V MAX , respectively, and the duty cycle D PWM1 has values 100%, 60%, 40% and 20%, respectively.
- the counter value, the reference signal REF and the duty cycle of PWM1 can have other relationships, and are not limited to the examples in Table 1 and Table 2.
- the trigger monitoring unit 506 If a dimming request signal, e.g., indicating a turn-off operation of the power switch 304, is received, the trigger monitoring unit 506 generates an enable signal 1510, in one embodiment.
- the counter 1504 receives the enable signal 1510 and increases or decreases the counter value accordingly.
- the reference signal generator 1506 determines the reference signal REF, e.g., according to Table 1 or Table 2.
- the PWM generator 1508 determines the duty cycle of PWM1, e.g., according to Table 1 or Table 2.
- the dimming controller 1408 selectively operates in an analog dimming mode, a burst dimming mode, and a combination mode.
- the level of the reference signal REF is determined by the counter value of the counter 1504 to adjust the average current I AVERAGE while the duty cycle D PWM1 of PWM1 remains at the same level, in one embodiment.
- the duty cycle D PMV1 of PWM1 is determined by the counter value of the counter 1504 to adjust the average current I AVERACE while the reference signal REF remains at the same level, in one embodiment.
- both the level of the reference signal REF and the duty cycle D PWM1 are determined according to the counter value of the counter 1504.
- the dimming controller 1408 can have other configurations and is not limited to the example shown in FIG. 15 .
- FIG. 16 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller 1408 in FIG. 15 , in accordance with one embodiment of the present invention.
- FIG. 16 is described in combination with FIG. 14A and FIG. 15 .
- FIG. 16 shows the voltage V CLK at the terminal CLK, the counter value VALUE_1504 of the counter 1504, the voltage V PWM1 of the pulse-width modulation signal PWM1, the duty cycle D PWM1 of the pulse-width modulation signal PWM1, the voltage V REF of the reference signal REF, the voltage V SENSE of the sensing signal 1454, and the average level I AVERAGE of the current I LED .
- the dimming controller 1408 sets the voltage V REF and the duty cycle D PWM1 according to the example presented in Table 1.
- the power switch 304 is off.
- the counter value VALUE_1504 is 0. Based upon Table 1, the duty cycle D PWM1 is 100% and the voltage V REF has the maximum level V MAX . Since the power switch 304 and the switch Q27 are both turned off, the current I LED is cut off and thus the average current I AVERACE is zero.
- the voltage V CLK has a rising edge indicating a turn-on operation of the power switch 304.
- the dimming controller 1408 turns on the switch Q27, and thus the current I LED is controlled according to the conductance status of the control switch Q16.
- the duty cycle D PWM1 is 100% and the voltage V REF has the maximum level V MAX .
- the control switch Q16 operates in the switch-on state to be alternately on and off. As shown in FIG. 16 , the voltage V SENSE ramps up when the control switch Q16 is on and ramps down when the control switch Q16 is off. Since the peak level of the voltage V SENSE is equal to the maximum level V MAX of the reference signal REF, the average current I AVERACE has a maximum level I MAX .
- the voltage V CLK has a falling edge indicating a turn-off operation of the power switch 304.
- the switch Q27 is turned off to cut off the current I LED .
- the voltage V SENSE drops to substantially zero volt and the average current I AVERACE drops to substantially zero ampere.
- a dimming request signal is generated upon detection of a turn-off operation of the power switch 304 at time t2.
- the counter value VALUE_1504 is increased from 0 to 1.
- the dimming controller 1408 is switched to an analog dimming mode to adjust the voltage V REF to 50%*V MAx and maintains the duty cycle D PMV1 at 100%.
- the switch Q27 is turned on again.
- the dimming controller 1408 switches the control switch Q16 on and off according to the reference signal REF and the pulse-width modulation signal PWM1.
- the average current I AVERACE is adjusted to 50%*I MAX .
- the voltage V CLK has a falling edge indicating a turn-off operation of the power switch 304.
- the counter value VALUE_1504 is increased from 1 to 2.
- the dimming controller 1408 is in the analog dimming mode to adjust the voltage V REF to 20%*V MAx and maintain the duty cycle D PWM1 at 100%.
- the average current I AVERAGE is adjusted to 20%*I MAx between t5 and t6.
- a falling edge of the voltage V CLK indicates a turn-off operation of the power switch 304.
- the counter value is increased from 2 to 3.
- the dimming controller 1408 is switched to a burst dimming mode to maintain the voltage V REF at 20%*V MAx and decrease the duty cycle D PWM1 to 20%.
- the voltage V SENSE ramps up and down when the voltage V PWM1 has a first state, e.g., logic high, and drops to substantially zero volt when the voltage V PWM1 has a second state, e.g., logic low.
- the average current I AVERACE is adjusted to 4%*I MAx between t7 and t8.
- the dimming controller 1408 initially operates in the analog dimming mode to adjust the average current I AVERAGE from 100% * I MAX to 20% I MAX and then operates in the burst dimming mode to adjust the average current I AVERACE from 20% I MAX to 4% I MAX .
- both the duty cycle D PWM1 and the voltage V REF are adjusted to achieve the average current I AVERACE in a range of 100% *I MAX to 4%*I MAX .
- the dimming of the LED light source 312 is achieved in a wider range.
- the voltage V REF is maintained greater than a voltage threshold (e.g., 15%*V MAX ) and the duty cycle D PWM1 is maintained greater than a duty cycle threshold (e.g., 10%).
- a voltage threshold e.g. 15%*V MAX
- a duty cycle threshold e.g. 10%
- FIG. 17 illustrates another example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller 1408 in FIG. 15 , in accordance with one embodiment of the present invention.
- FIG. 17 is described in combination with FIG. 14A - FIG. 16 .
- FIG. 17 shows the voltage V CLK at the terminal CLK, the counter value VALUE_1504 of the counter 1504, the voltage V PWM1 of the pulse-width modulation signal PWM1, the duty cycle D PWM1 of the pulse-width modulation signal PWM1, the voltage V REF of the reference signal REF, the voltage V SENSE of the sensing signal 1454, and the average level I AVERAGE of the current I LED .
- the dimming controller 1408 sets the voltage V REF and the duty cycle D PWM1 according to the example presented in Table 2.
- the dimming controller 1408 operates similarly to the operation between t0 and t2 as described in relation to FIG. 16 .
- the counter value VALUE_1504 is 0 between t0' and t2'.
- the duty cycle D PWM1 is 100% and the voltage V REF has the maximum level V MAX .
- the peak level of the voltage V SENSE is equal to the maximum level V MAX of the reference signal REF and the average current I AVERACE has a maximum level I MAX .
- a falling edge of the voltage V CLK indicates a turn-off operation of the power switch 304.
- the switch Q27 is turned off to cut off the current I LED .
- the voltage V SENSE drops to substantially zero volt and the average current I AVERACE drops to substantially zero ampere.
- a dimming request signal is generated upon detection the turn-off operation of the power switch 304 at time t2'.
- the counter value VALUE_1504 is increased from 0 to 1.
- the dimming controller 1408 operates in the combination mode to adjust the voltage V REF to 50%*V MAx and adjust the duty cycle D PMV1 to 60%. Therefore, between t3' and t4', the control switch Q16 operates in the switch-on state to alternately on and off according to the pulse signal V 522 when the voltage V PWM1 has a first state, e.g., logic high.
- the peak level of the voltage V SENSE is equal to the voltage V REF , that is, 50%*V MAX .
- control switch Q16 operates in the switch-off state to cut off the current I LED when the voltage V PWM1 has a second state, e.g., logic low.
- the average level of the current I LED is equal to 30%*I MAX .
- a falling edge of the voltage V CLK indicates a turn-off operation of the power switch 304, and thus a dimming request signal is generated.
- the counter value VALUE_1504 is increased from 1 to 2.
- the dimming controller 1408 operates in the combination mode to adjust the voltage V REF to 30%*V MAX and adjust the duty cycle D PWM1 to 40%. Consequently, the average level of the current I LED is equal to 12%*I MAX between t5' and t6'.
- a falling edge of the voltage V CLK indicates a turn-off operation of the power switch 304 and thus a dimming request signal is generated.
- the counter value VALUE_1504 is increased from 2 to 3.
- the dimming controller 1408 operates in the combination mode to adjust the voltage V REF to 20%*V MAx and adjust the duty cycle D PWM1 to 20%. Consequently, the average level of the current I LED is equal to 4%*I MAX between t7' and t8'.
- the dimming controller operates in the combination mode when the counter value VALUE_1504 is changed.
- both the duty cycle D PWM1 and the voltage V REF are adjusted to achieve the average current I AVERACE in a range of 100%*I MAX to 4%*I MAX .
- the dimming of the LED light source 302 are achieved in a wider dimming range.
- the voltage V REF is maintained greater than a voltage threshold (e.g., 15%*VMAX) and the duty cycle D PWM1 is maintained greater than a duty cycle threshold (e.g., 10%).
- a voltage threshold e.g. 15%*VMAX
- a duty cycle threshold e.g. 10%
- FIG. 18 shows a flowchart 1800 of a method for controlling dimming of an LED light source, in accordance with one embodiment of the present invention.
- FIG. 18 is described in combination with FIG. 14A-FIG. 17 .
- specific steps are disclosed in FIG. 18 , such steps are examples. That is, the present invention is well suited to performing various other steps or variations of the steps recited in FIG. 18 .
- a sensing signal e.g., the sensing signal 1454
- a reference signal e.g., the reference signal REF
- the current through the LED light source is controlled according to the pulse signal during a first state of a pulse-width modulation signal, e.g., PWM1.
- the current through the LED light source is cut off during a second state of a pulse-width modulation signal.
- both a level of the reference signal and the duty cycle of the pulse-width modulation signal are adjusted based upon a dimming request signal.
- a counter value of a counter is adjusted according to the dimming request signal.
- the level of the reference signal and the duty cycle of the pulse-width modulation signal are determined according to the counter value. If the counter value is changed from a first value to a second value, a first mode (e.g., an analog dimming mode), a second mode (e.g., a burst dimming mode), or a third mode (e.g., a combination mode) is selected.
- the first mode the level of the reference signal is adjusted and the duty cycle of the pulse-width modulation signal is maintained.
- the second mode the level of the reference signal is maintained and the duty cycle of the pulse-width modulation signal is adjusted.
- both the level of the reference signal and the duty cycle of the pulse-width modulation signal are adjusted.
- FIG. 19 shows an example of a schematic diagram of a light source driving circuit 1900, in an embodiment according to the present invention. Elements labeled the same as in FIG. 3 and FIG. 4 have similar functions. FIG. 19 is described in combination with FIG. 3 and FIG. 4 .
- the light source driving circuit 1900 is coupled to a power source V IN (e.g., 110/120 Volt AC, 60Hz) via a power switch 304 and is coupled to an LED light source 312.
- V IN e.g., 110/120 Volt AC, 60Hz
- the power switch 304 is an on/off switch mounted on the wall, and the power switch 304 is controlled on or off, e.g., by a user, in one embodiment.
- the light source driving circuit 1900 includes an AC/DC converter 306, a power converter 310, and a dimming controller 1908.
- the AC/DC converter 306 converts an input AC voltage V IN to an output DC voltage V OUT .
- the AC/DC converter 306 includes a bridge rectifier having diodes D1, D2, D7 and D8, and includes a filter having a diode D10 and a capacitor C9.
- the power converter 310 is coupled to the AC/DC converter 306, receives the output DC voltage V OUT , and provides output power to the LED light source 312.
- the power converter 310 includes an inductor L1, a diode D4, a switch Q27, a control switch Q16, and a current sensor R5.
- the dimming controller 1908 is coupled to the AC/DC converter 306 and the power converter 310.
- the dimming controller 1908 is operable for monitoring operations of the power switch 304, e.g., a turn-on operation and/or a turn-off operation, and for controlling the output power delivered to the LED light source 312 accordingly, to control the dimming of the LED light source 312.
- the dimming controller 1908 includes multiple terminals, such as a terminal HV_GATE, a terminal CLK, a terminal VDD, a terminal GND, a voltage control terminal CTRL, a terminal RT, a terminal MON and a current control terminal CS.
- the terminals VDD, GND, RT and MON operate similar to the corresponding terminals of the dimming controller 1408 shown in FIG. 14 .
- the dimming controller 1908 receives a switch monitoring signal 1450 indicative of a conductance status, e.g., an ON/OFF status, of the power switch 304 at the terminal CLK. In one embodiment, the dimming controller 1908 controls the switch Q27 according to the switch monitoring signal 1450. More specifically, if the switch monitoring signal 1450 indicates that the power switch 304 is turned off, then the dimming controller 1908 generates a signal, e.g., logic low, at the terminal HV_GATE to turn off the switch Q27. As such, the current I LED flowing through the LED light source 312 drops to substantially zero amperes to cut off the LED light source 312.
- a switch monitoring signal 1450 indicative of a conductance status, e.g., an ON/OFF status
- the dimming controller 1908 If the switch monitoring signal 1450 indicates that the power switch 304 is turned on, then the dimming controller 1908 generates a signal, e.g., logic high, at the terminal HV_GATE to turn the switch Q27 on. Then, the dimming controller 1908 controls the current I LED flowing through the LED light source 312 according to signals on the terminal CTRL and the terminal CS.
- a signal e.g., logic high
- the dimming controller 1908 detects a dimming request signal indicating an operation of the power switch 304 according to the switch monitoring signal 1450. In one embodiment, the dimming controller 1908 receives the dimming request signal if the switch monitoring signal 1450 indicates that the power switch 304 performs a turn-off operation. When the power switch 304 is turned on again, the dimming controller 1908 adjusts an average current flowing though the LED light source 312 in response to the dimming request signal, to adjust the brightness of the LED light source 312.
- the dimming controller 1908 is capable of operating in a first mode and a second mode to adjust an average current of the LED light source 312.
- the current I LED represents the current flowing through the LED light source 302.
- the current I LED1 During operation in the first mode, the current I LED is represented as the current I LED1 .
- the current I LED is represented as the current I LED2 .
- the voltage control terminal CTRL of the dimming controller 1908 provides a pulse signal 1952 to alternately operate the control switch Q16 in a first state, e.g., a switch-on state, and a second state, e.g., a switch-off state.
- the current I LED1 flows through the LED light source 312, and varies according to the status of the control switch Q16.
- the current I LED1 flows through the LED light source 312, the switch Q16, the resistor R5, and ground.
- the current I LED1 increases.
- the current I LED1 flows through the LED light source 312 and the diode D4, and thereby decreases.
- the average current flowing through the LED light source 312 can be adjusted by controlling the control switch Q16 in an analog dimming mode, a burst dimming mode, and/or a combination dimming mode, in one embodiment, which is further described in relation to FIG. 20 .
- the dimming controller 1908 When the dimming controller 1908 operates in the second mode, the dimming controller 1908 provides a control signal 1954 at the voltage control terminal CTRL, e.g., a digital zero signal, which maintains the control switch Q16 in the switch-off state. Thus, the current I LED1 is cut off. Moreover, the dimming controller 1908 conducts the current I LED2 through the LED light source 312 and the current control terminal CS.
- a control signal 1954 at the voltage control terminal CTRL, e.g., a digital zero signal
- the dimming controller 1908 achieves a relatively wide range of dimming by selecting an operation mode from at least the first mode and the second mode. For example, if I MAX indicates a maximum level of the average current I AVERACE , then the dimming controller 1908 can operate in the first mode to adjust the average level I AVERAGE of the current I LED1 ranging from 4%*I MAX to 100%*I MAX (by way of example). Moreover, the dimming controller 1908 is capable of operating in the second mode to adjust the average current I AVERACE to a lower level. For example, the dimming controller 1908 sets the current I LED2 to a constant level 1%*I MAX .
- the LED light source 312 in the second mode is adjusted to be darker than that in the first mode, which is beneficial for energy-efficient light applications such as, for example, night lighting.
- the current I LED2 in the second mode is at a substantially constant level, which does not vary according to turn-on and turn-off operations of the switch Q16. As such, the light emitted by the LED light source 312 is not interfered with by switching noise of the switch Q16, which enhances the lighting stability of the LED light source 312.
- FIG. 20 shows an example of a structure of the dimming controller 1908 in FIG. 19 , in an embodiment according to the present invention.
- FIG. 20 is described in combination with FIG. 15 and FIG. 19 . Elements labeled the same as in FIG. 15 and FIG. 19 have similar functions.
- the dimming controller 1908 includes a start-up and UVL circuit 508, a pulse signal generator 504, a trigger monitoring unit 506, a dimmer 2002, a driver 2010, a switch 2008 and a current source 2006.
- the switch monitoring signal 1450 can be received by the trigger monitoring unit 506 via the terminal CLK.
- the trigger monitoring unit 506 identifies the dimming request signal indicating a turn-off operation according to the switch monitoring signal 1450. If a dimming request signal is received, the trigger monitoring unit 506 generates an enable signal 1510.
- the dimmer 2002 includes a counter 1504, a reference signal generator 1506, a PWM generator 1508, and a mode selection module 2004.
- the counter 1504 provides a counter value VALUE_1504 that varies in response to the enable signal 1510. In one embodiment, the counter 1504 increases the counter value VALUE_1504 in response to the enable signal 1510. Alternatively, the counter 1504 decreases the counter value VALUE_1504 in response to the enable signal 1510.
- the mode selection module 2004 selects an operation mode for the dimming controller 1908 from the first mode and the second mode according to the counter value VALUE_1504.
- the counter value VALUE_1504 indicates a required brightness level of the LED light source 312. The required brightness level corresponds to a target level I TARGET of the average current I AVERACE of the LED light source 312. Referring to Table 3 and Table 4, examples of the counter value VALUE_1504 of the counter 1504 versus the target level I TARCET and the operation mode of the dimming controller 1908 are shown.
- the counter value VALUE_1504 can be 0, 1 and 2, respectively indicating the target levels 100% * I MAX , 30% * I MAX and 1% * I MAX , where I MAX represents a maximum level of the average current I AVERAGE .
- the counter value VALUE_1504 can be 0, 1 and 2, respectively indicating the target levels 1% * I MAX , 30% * I MAX , 100% * I MAX .
- the mode selection module 2004 compares the counter value VALUE_1504 to a threshold to determine the selection of the operation modes.
- the threshold is set to 1 according to the examples of Table 3 and Table 4.
- the mode selection module 2004 selects the first mode if the counter value VALUE_1504 is equal to or less than 1, and selects the second mode if the counter value VALUE_1504 is greater than 1.
- the mode selection module 2004 selects the first mode if the counter value VALUE_1504 is equal to or greater than 1, and selects the second mode if the counter value VALUE_1504 is less than 1.
- the first mode is selected if the target level of the average current I AVERAGE is relatively high, e.g., I TARGET is 30% * I MAX and 100 * I MAX .
- the second mode is selected if the target level of the average current I AVERAGE is relatively low, e.g., I TARGET is 1% * I MAX ,
- the mode selection module 2004 controls the switch 2008, the reference signal generator 1506, and the PWM generator 1508 to adjust the average current I AVERAGE . More specifically, in one embodiment, the current source 2006 generates a substantially constant current I LED2 .
- the mode selection module 2004 turns off the switch 2008 to cut off the current I LED2 , controls the reference signal generator 1506 to generate a reference signal REF, and controls the PWM generator 1508 to generate a pulse width modulation signal PWM1.
- the reference signal REF and the pulse width modulation signal PWM1 are used by the driver 2010 to generate the pulse signal 1952 to control the switch Q16, in one embodiment.
- the driver 2010 includes a comparator 534, a SR flip-flop 522, and an AND gate 524. If the first mode is selected, the driver 2010 operates similar to the corresponding components in the dimming controller 1408 in FIG. 15 . As described in relation to FIG. 15 , the comparator 534 compares the sensing signal 1454 with the reference signal REF to generate a comparing signal COMP. The pulse signal generator 504 generates a pulse signal 536 having a waveform of periodical pulses.
- the SR flip-flop 522 sets the pulse signal V 522 to digital one when the pulse signal 536 is digital one, and resets the pulse signal V 522 to digital zero when the comparing signal COMP is digital one (e.g., when the sensing signal 1454 reaches the reference signal REF).
- the AND gate 524 receives the pulse signal V 522 and the pulse-width modulation signal PWM1, and generates the pulse signal 1952 at terminal CTRL accordingly to control the control switch Q16.
- the pulse-width modulation signal PWM1 is at the first state, e.g., digital one
- the pulse signal 1952 is equal to the pulse signal V 522 , which is switched between digital one and digital zero according to a result of the comparing signal COMP.
- the pulse-width modulation signal PWM1 When the pulse-width modulation signal PWM1 is at the second state, e.g., digital zero, the pulse signal 1952 remains at digital zero.
- the reference signal REF determines a peak level of the current I LED1 .
- the duty cycle of the pulse width modulation signal PWM1 determines a ratio of a time when the switch Q16 is turned on to a time when the switch Q16 is turned off. Therefore, by adjusting the reference signal REF and/or the duty cycle of the pulse width modulation signal PWM1, the dimmer 2002 is capable of operating in an analog dimming mode, a burst dimming mode, and a combination dimming mode to adjust the average current I AVERAGE .
- the dimming controller 1908 when the counter value VALUE_1504 is 0, the dimming controller 1908 operates in the first mode, the reference signal REF has a level V REF0 , and the duty cycle of the pulse width modulation signal PWM1 has a value D PWM0 . If the counter value VALUE_1504 is changed from 0 to 1, the dimming controller 1908 remains in the first mode, and the target level of the average current I AVERACE is changed from 100% * I MAX to 30% I MAX . If the dimmer 2002 operates in an analog dimming mode, the level of the reference signal REF is adjusted to be 30% * V REF0 , and the duty cycle of PWM1 remains at the same value D PWM0 .
- the level of the reference signal REF remains at the same level V REF0 , while the duty cycle of PWM1 is adjusted to be 30% * D PWM0 .
- both the level of the reference signal REF and the duty cycle of PWM1 are changed, for example, the level of the reference signal REF is 50% * V REF0 , and the duty cycle of PWM1 is 60% * D PWM0 .
- the average current I AVERAGE can be adjusted from 100% * I MAX to 30% * I MAX to achieve the dimming control for the LED light source 312 in the first mode.
- the dimming controller 1908 When the dimming controller 1908 operates in the second mode, e.g., if the counter value VALUE_1504 is changed from 1 to 2 according to Table 3, then the dimming controller 1908 generates the control signal 1954 at the voltage control terminal CTRL to turn off the switch Q16. More specifically, the mode selection module 2004 controls the PWM generator 1508 to maintain the pulse width modulation signal PWM1 at the second state, e.g., digital zero.
- the AND gate 524 maintains the voltage at the terminal CTRL at a low electrical level to generate the control signal 1954, e.g., a digital zero signal. Thus, the current I LED1 flowing through the LED light source 312 is cut off.
- the current source 2006 generates a substantially constant current I LED2 , in one embodiment.
- the mode selection module 2004 generates a switch control signal 2012 to turn on the switch 2008.
- a current path for the current I LED2 is conducted, e.g., when the switch Q27 is turned on after a turn-on operation of the power switch 304.
- the current I LED2 flows through the LED light source 312, the current control terminal CS, the switch 2008, and ground.
- a substantially constant current I LED2 means that the current I LED2 may vary but is within a range such that the current ripple caused by non-ideality of the circuit components can be neglected.
- the line interface of the light source 312 can be reduced or eliminated.
- the dimming controller 1908 can have other configurations and is not limited to the example shown in FIG. 20 .
- FIG. 21 shows an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller 1908 in FIG. 19 , in an embodiment according to the present invention.
- FIG. 21 is described in combination with FIG. 19 and FIG. 20 .
- FIG. 21 shows the voltage V CLK at the terminal CLK, the counter value VALUE_1504 of the counter 1504, the voltage V PWM1 of the pulse-width modulation signal PWM1, the duty cycle D PWM1 of the pulse-width modulation signal PWM1, the current I LED flowing through the LED light source 312, and the average level I AVERAGE of the current I LED .
- the dimming controller 1908 determines the operation mode and controls the average current of the LED light source 312 according to Table 3.
- the power switch 304 is off.
- the dimming controller 1908 turns off the switch Q27.
- the counter value VALUE_1504 is 0.
- the mode selection module 2004 selects the first mode, and the target level of the average current I AVERACE is 100% I MAX .
- the PWM generator 1508 adjusts the duty cycle D PWM1 to 100%
- the reference signal generator 1506 controls the reference signal REF to adjust the peak value of the current I LED to I PEAK , e.g., a maximum level of the peak value.
- the average current I AVERACE is consequently adjusted to 100% I MAX .
- the average current I AVERAGE is maintained at 100% * I MAX ,
- the voltage V CLK has a falling edge indicating a turn-off operation of the power switch 304.
- the switch Q27 is turned off to cut off the current I LED .
- the current I LED drops to substantially zero amperes and the average current I AVERACE drops to substantially zero amperes.
- a dimming request signal is received upon detection of a turn-off operation of the power switch 304 at time t2".
- the counter value VALUE_1504 is increased from 0 to 1.
- the mode selection module 2004 remains in the first mode from time t2" to time t4", and the target level of the average current I AVERACE is adjusted to 30% I MAX .
- the dimmer 2002 operates in the combination mode, in which the PWM generator 1508 adjusts the duty cycle D PWM1 to 60%, and the reference signal generator 1506 controls the reference signal REF to adjust the peak value of the current I LED to be equal to 50% * I PEAK .
- the average current I AVERACE is adjusted to 30% * I MAX .
- the average current I AVERAGE is maintained at 30% * I MAX .
- a falling edge of the voltage V CLK indicates a turn-off operation of the power switch 304, and thus a dimming request signal is received.
- the counter value VALUE_1504 is increased from 1 to 2.
- the target level of the average current I AVERACE is adjusted to 1% * I MAX , and the mode selection module 2004 selects the second mode. As such, the mode selection module 2004 generates the switch control signal 2012 to turn on the switch 2008.
- both the current I LED and the average current I AVERACE are at zero amperes since the power switch 304 and the switch Q27 are turned off.
- the voltage V CLK has a rising edge indicating a turn-on operation of the power switch 304. Since the switch Q27 is turned on after a turn-on operation of the power switch 304, and since the switch 2008 is also turned on at time t4", the current path for the current I LED2 is conducted.
- the current I LED2 is equal to 1% * I MAX in one embodiment.
- the average current I AVERACE is maintained at 1% * I MAX ,
- the dimming controller 1908 selects an operation mode from the first mode and the second mode according to the counter value VALUE_1504.
- the dimming controller 1908 achieves a relatively wide dimming range, e.g., a range of 100% * I MAX to 1% I MAX .
- the operations of the dimming controller 1908 are not limited to the example shown in FIG. 21 .
- the dimming controller 1908 is capable of providing another current, e.g., having a smaller constant current level 0.01 * I MAX , to flow through the LED light source 312 and the terminal CS.
- the brightness of the LED light source 312 can be lower to achieve a wider dimming range.
- the current I LED2 is at a substantially constant level, which does not vary according to turn-on and turn-off operations of the switch Q16. As such, the light emitted by the LED light source 312 is not interfered with by switching noises of the switch Q16, which increases the lighting stability of the LED light source 312.
- FIG. 22 shows a flowchart 2200 of operations performed by source dimming controller, e.g., the dimming controller 1908, in an embodiment according to the present invention.
- FIG. 22 is described in combination with FIG. 19-FIG. 21 .
- specific steps are disclosed in FIG. 22 , such steps are examples. That is, the present invention is well suited to performing various other steps or variations of the steps recited in FIG. 22 .
- a light source e.g., the LED light source 312 is powered by a regulated voltage from a power converter, e.g., the power converter 310.
- a switch monitoring signal is received.
- the switch monitoring signal indicates a conductance status of a power switch, e.g., the power switch 304, coupled between a power source and the power converter.
- an operation mode is selected from at least a first mode and a second mode according to the switch monitoring signal.
- the switch monitoring signal indicating a turn-off operation of the power switch is received, the counter value of counter is changed from a first value to a second value accordingly.
- the counter value is compared with a threshold, e.g., 1, and the operation mode is selected according to a result of the comparison.
- a control switch e.g., the switch Q16
- a first state e.g., a switch-on state
- a second state e.g., a switch-off state according to a pulse signal, e.g., the pulse signal 1952, if the first mode is selected.
- the first current, e.g., I LED1 flowing through the LED light source is increased during the first state of the control switch, and is decreased during the second state of the control switch.
- a reference signal e.g., the reference signal REF
- a pulse-width modulation signal e.g., the pulse-width modulation signal PWM1
- a sensing signal indicating the first current flowing through the LED light source is compared with the reference signal.
- the control switch is turned on and off according to a result of the comparing during a first state, e.g., digital one, of the pulse-width modulation signal, and is turned off during a second state, e.g., digital zero, of the pulse-width modulation signal.
- the level of the reference signal and the duty cycle of the pulse-width signal are adjusted to adjust the brightness of the LED light source.
- the first current e.g., the current I LED1
- a control signal e.g., the control signal 1954
- the pulse-width modulation signal is maintained in the second state, e.g., digital zero, to generate the control signal, e.g., a digital zero signal, to cut off the first current.
- a substantially constant current flows through the LED light source 312 if the second mode is selected.
- the current I LED2 is provided by a current source, e.g., current source 2006.
- the mode selection module 2004 When the second mode is selected, the mode selection module 2004 generates a switch control signal 2012 to turn on the switch 2008 coupled with the current source 2006 in series.
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
A dimming controller can operate in a first mode or a second mode to control dimming of a light-emitting diode (LED) light source. The dimming controller can include a voltage control terminal and a current control terminal. The voltage control terminal provides a pulse signal when the dimming controller operates in the first mode to operate a control switch in either a first state or a second state. A first current flowing through the LED light source increases when the control switch is in the first state and decreases when the control switch is in the second state. The voltage control terminal provides a control signal to the control switch to cut off the first current when the dimming controller operates in the second mode. The current control terminal conducts a second current through the LED light source when the dimming controller operates in the second mode.
Description
- This application is a continuation-in-part of the co-pending
U.S. Patent Application, Application Number 13/100,434 U.S. Patent Application, Application No. 12/415,028, filed on March 31,2009 U.S. Patent No. 8,076,867 ), which itself is a continuation-in-part of theU.S. Patent Application, Application No. 12/316,480, filed on December 12, 2008 U.S. Patent No. 8,044,608 ), and all of which are fully incorporated herein by reference. - In recent years, light sources such as light-emitting diodes (LEDs) have been improved through technological advances in material and manufacturing processes. An LED possesses relatively high efficiency, long life, and vivid colors, and can be used in a variety of industries including the automotive, computer, telecom, military and consumer goods, etc. One example is an LED lamp which uses LEDs to replace traditional light sources such as electrical filament.
-
FIG. 1 shows a schematic diagram of a conventionalLED driving circuit 100. TheLED driving circuit 100 utilizes anLED string 106 as a light source. TheLED string 106 includes a group of LEDs connected in series. Apower converter 102 converts an input voltage Vin to a desired output DC voltage Vout for powering theLED string 106. Aswitch 104 coupled to theLED driving circuit 100 can enable or disable the input voltage Vin to theLED string 106, and therefore can turn on or turn off the LED lamp. Thepower converter 102 receives a feedback signal from a current sensing resistor Rsen and adjusts the output voltage Vout to make theLED string 106 generate a desired light output. One of the drawbacks of this solution is that a desired light output is predetermined. In operation, the light output of theLED string 106 is set to a predetermined level and may not be adjusted by users. -
FIG. 2 illustrates a schematic diagram of another conventionalLED driving circuit 200. Apower converter 102 converts an input voltage Vin to a desired output DC voltage Vout for powering theLED string 106. Aswitch 104 coupled toLED driving circuit 100 can enable or disable the input voltage Vin to theLED string 106, and therefore can turn on or turn off the LED lamp. TheLED string 106 is coupled to a linearLED current regulator 208.Operational amplifiers 210 in the linearLED current regulator 208 compares a reference signal REF and a current monitoring signal from current sensing resistor Rsen, and generates a control signal to adjust the resistance of transistor Q1 in a linear mode. Therefore, the LED current flowing through theLED string 106 can be adjusted accordingly. In this solution, in order to control the light output of theLED string 106, users may need to use a dedicated apparatus, such as a specially designed switch with adjusting buttons or a switch that can receive a remote control signal, to adjust the reference signal REF. - In one embodiment, a dimming controller can operate in either a first mode or a second mode to control dimming of a light-emitting diode (LED) light source. In one such embodiment, the dimming controller includes a voltage control terminal and a current control terminal. The voltage control terminal provides a pulse signal when the dimming controller operates in the first mode to operate a control switch in either a first state or a second state. A first current flowing through the LED light source increases when the control switch is in the first state, and decreases when the control switch is in the second state. The voltage control terminal provides a control signal to the control switch to cut off the first current when the dimming controller operates in the second mode. The current control terminal conducts a second current through the LED light source when the dimming controller operates in the second mode.
- In another embodiment, an electronic system comprises a power converter configured to receive an input voltage from a rectifier and provide an output voltage to a light-emitting diode (LED) light source, wherein a power switch transfers power from an AC power source to said rectifier when said power switch is on; and a dimming controller coupled to said power converter and configured to detect a dimming request signal indicative of an operation of said power switch, said dimming controller operable in a mode selected from a first mode and a second mode to control dimming of said LED light source in response to said dimming request signal, wherein during operation in said first mode, said dimming controller provides a pulse signal on a voltage control terminal to control a first current flowing through said LED light source, wherein said first current increases during a first state of said pulse signal and decreases during a second state of said pulse signal, wherein during operation in said second mode, said dimming controller provides a control signal on said voltage control terminal to cut off said first current and conducts a substantially constant current through said LED light source.
- Further, said electronic system may comprise a control switch coupled to said LED light source and controlled by said pulse signal and said control signal, wherein said control switch is turned on and off according to said pulse signal during operation in said first mode, and wherein said control switch is maintained off according to said control signal during operation in said second mode.
- In addition, in said electronic system, said dimming controller may further comprise: a trigger monitoring unit configured to receive a switch monitoring signal indicative of a conductance status of a power switch and further configured to detect said dimming request signal according to said switch monitoring signal; a counter configured to provide a count value that varies in response to said dimming request signal; and a mode selection module coupled to said counter and configured to select said operation mode from said first mode and said second mode according to said counter value. Further, said trigger monitoring unit may receive said dimming request signal if said switch monitoring signal indicates that said power switch performs a turn-off operation. Further, said mode selection module may compare said count value with a threshold to select said operation mode.
- In addition, in said electronic system, said dimming controller may further comprise: a driver configured to receive a reference signal and a pulse-width modulation signal, and further configured to compare said reference signal and a sensing signal indicating said first current flowing through said LED light source, wherein during operation in said first mode and with said pulse-width modulation signal in a first state, said driver switches said pulse signal between said pulse signal's first state and said pulse signal's second state according to a result of said comparing, and maintains said pulse signal in its second state with said pulse-width modulation signal in a second state. In addition, said dimming controller may further comprise a dimmer coupled to said driver and configured to maintain the level of said reference signal and adjust the duty cycle of said pulse-width modulation signal if said dimming request signal is received. In addition, said dimming controller may further comprise a dimmer coupled to said driver and configured to adjust the level of said reference signal and maintain the duty cycle of said pulse-width modulation signal if said dimming request signal is received. In addition, said dimming controller may further comprise a dimmer coupled to said driver and configured to adjust both the level of said reference signal and the duty cycle of said pulse-width modulation signal if said dimming request signal is received. Further, said driver may terminate said pulse signal and generate said control signal by keeping said pulse-width modulation signal in its second state if said dimming controller is switched to said second mode.
- In another embodiment, a method for adjusting power for a light-emitting diode (LED) light source comprises: powering said light source by a regulated voltage from a power converter; receiving a switch monitoring signal indicative of a conductance status of a power switch coupled between a power source and said power converter; selecting an operation mode from at least a first mode and a second mode according to said switch monitoring signal; operating a control switch at one of a first state and a second state if said first mode is selected, wherein a first current flowing through said LED light source increases during operation at said first state and decreases during operation at said second state; cutting off said first current if said second mode is selected; and conducting a substantially constant current through said LED light source if said second mode is selected.
- Features and advantages of embodiments of the claimed subject matter will become apparent as the following detailed description proceeds, and upon reference to the drawings, wherein like numerals depict like parts, and in which:
-
FIG. 1 shows a schematic diagram of a conventional LED driving circuit. -
FIG. 2 shows a schematic diagram of another conventional LED driving circuit. -
FIG. 3 shows a block diagram of a light source driving circuit, in accordance with one embodiment of the present invention. -
FIG. 4 shows a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention. -
FIG. 5 shows a structure of a dimming controller inFIG. 4 , in accordance with one embodiment of the present invention. -
FIG. 6 illustrates signal waveforms in the analog dimming mode, in accordance with one embodiment of the present invention. -
FIG. 7 illustrates signal waveforms in the burst dimming mode, in accordance with one embodiment of the present invention. -
FIG. 8 illustrates a diagram illustrating an operation of a light source driving circuit which includes the dimming controller inFIG. 5 , in accordance with one embodiment of the present invention. -
FIG. 9 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention. -
FIG. 10 shows a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention. -
FIG. 11 shows a structure of a dimming controller inFIG. 10 , in accordance with one embodiment of the present invention. -
FIG. 12 illustrates a diagram illustrating an operation of a light source driving circuit which includes the dimming controller inFIG. 11 , in accordance with one embodiment of the present invention. -
FIG. 13 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention. -
FIG. 14A shows an example of a schematic diagram of a light source driving circuit, in accordance with one embodiment of the present invention. -
FIG. 14B shows an example of a power switch inFIG. 14A , in accordance with one embodiment of the present invention. -
FIG. 15 shows an example of a structure of a dimming controller inFIG. 14 , in accordance with one embodiment of the present invention. -
FIG. 16 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller inFIG. 15 , in accordance with one embodiment of the present invention. -
FIG. 17 illustrates another example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller inFIG. 15 , in accordance with one embodiment of the present invention. -
FIG. 18 shows a flowchart of a method for adjusting power of a light source, in accordance with one embodiment of the present invention. -
FIG. 19 shows an example of a schematic diagram of a light source driving circuit, in an embodiment according to the present invention. -
FIG. 20 shows an example of a structure of a dimming controller inFIG. 19 , in an embodiment according to the present invention. -
FIG. 21 illustrates an example of a diagram illustrating operation of a light source driving circuit including a dimming controller, in an embodiment according to the present invention. -
FIG. 22 shows a flowchart of a method for adjusting power for a light source, in an embodiment according to the present invention. - Reference will now be made in detail to the embodiments of the present invention. While the invention will be described in conjunction with these embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.
- Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one 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 as not to unnecessarily obscure aspects of the present invention.
-
FIG. 3 shows an example of a block diagram of a lightsource driving circuit 300, in accordance with one embodiment of the present invention. In one embodiment, apower switch 304 coupled between a power source Vin and the lightsource driving circuit 300 is operable for selectively coupling the power source to the lightsource driving circuit 300. The lightsource driving circuit 300 includes an AC/DC converter 306 for converting an AC input voltage Vin from the power source to a DC voltage Vout, apower converter 310 coupled to the AC/DC converter 306 for providing anLED string 312 with a regulated power, a dimmingcontroller 308 coupled to thepower converter 310 for receiving a switch monitoring signal indicative of an operation of thepower switch 304 and for adjusting the regulated power from thepower converter 310 according to the switch monitoring signal, and acurrent sensor 314 for sensing an LED current flowing through theLED string 312. In one embodiment, thepower switch 304 can be an on/off switch mounted on the wall. - In operation, the AC/
DC converter 306 converts the input AC voltage Vin to the output DC voltage Vout. Thepower converter 310 receives the DC voltage Vout and provides theLED string 312 with a regulated power. Thecurrent sensor 314 generates a current monitoring signal indicating a level of an LED current flowing through theLED string 312. The dimmingcontroller 308 monitors the operation of thepower switch 304, receives the current monitoring signal from thecurrent sensor 314, and is operable for controlling thepower converter 310 to adjust power of theLED string 312 in response to the operation of thepower switch 304. In one embodiment, the dimmingcontroller 308 operates in an analog dimming mode and adjusts the power of theLED string 312 by adjusting a reference signal indicating a peak value of the LED current. In another embodiment, the dimmingcontroller 308 operates in a burst dimming mode and adjusts the power of theLED string 312 by adjusting a duty cycle of a pulse width modulation (PWM) signal. By adjusting the power of theLED string 312, the light output of theLED string 312 can be adjusted accordingly. -
FIG. 4 shows an example of a schematic diagram of a lightsource driving circuit 400, in accordance with one embodiment of the present invention.FIG. 4 is described in combination withFIG. 3 . Elements labeled the same as inFIG. 3 have similar functions and will not be detailed described herein. - The light
source driving circuit 400 includes a power converter 310 (shown inFIG. 3 ) coupled to a power source and coupled to anLED string 312 for receiving power from the power source and for providing a regulated power to theLED string 312. In the example ofFIG. 4 , thepower converter 310 can be a buck converter including an inductor L1, a diode D4 and a control switch Q16. In the embodiment shown inFIG. 4 , the control switch Q16 is implemented outside the dimmingcontroller 308. In another embodiment, the control switch Q16 can be integrated in the dimmingcontroller 308. - A dimming
controller 308 is operable for receiving a switch monitoring signal indicative of an operation of a power switch, e.g., apower switch 304 coupled between the power source Vin and the lightsource driving circuit 400, and for adjusting the regulated power from the power converter 310 (including the inductor L1, the diode D4 and the control switch Q16) by controlling the control switch Q16 coupled in series with theLED string 312 according to the switch monitoring signal. The lightsource driving circuit 400 can further include an AC/DC converter 306 for converting an AC input voltage Vin to a DC output voltage Vout, and acurrent sensor 314 for sensing an LED current flowing through theLED string 312. In the example ofFIG. 4 , the AC/DC converter 306 can include a bridge rectifier including diodes D1, D2, D7 and D8. Thecurrent sensor 314 can include a current sensing resistor R5. - In one embodiment, terminals of the dimming
controller 308 can include HV_GATE, SEL, CLK, RT, VDD, CTRL, MON and GND. The terminal HV_GATE is coupled to a switch Q27 through a resistor R15 for controlling a conductance status, e.g., ON/OFF status, of the switch Q27 coupled to theLED string 312. A capacitor C11 is coupled between the terminal HV_GATE and ground for regulating a gate voltage of the switch Q27. - A user can select a dimming mode, e.g., an analog dimming mode or a burst dimming mode, by coupling the terminal SEL to ground through a resistor R4 (as shown in
FIG. 4 ), or coupling the terminal SEL to ground directly. - The terminal CLK is coupled to the AC/
DC converter 306 through a resistor R3, and is coupled to ground through a resistor R6. The terminal CLK can receive a switch monitoring signal indicating an operation of thepower switch 304. In one embodiment, the switch monitoring signal can be generated at a common node between the resistor R3 and the resistor R6. A capacitor C12 is coupled to the resistor R6 in parallel for filtering undesired noises. The terminal RT is coupled to ground through a resistor R7 for determining a frequency of a pulse signal generated by the dimmingcontroller 308. - The terminal VDD is coupled to the switch Q27 through a diode D9 for supplying power to the dimming
controller 308. In one embodiment, an energy storage unit, e.g., a capacitor C10, coupled between the terminal VDD and ground can power the dimmingcontroller 308 when thepower switch 304 is turned off. In an alternate embodiment, the energy storage unit can be integrated in the dimmingcontroller 308. The terminal GND is coupled to ground. - The terminal CTRL is coupled to the control switch Q16. The control switch Q16 is coupled in series with the
LED string 312 and the switch Q27, and is coupled to ground through the current sensing resistor R5. The dimmingcontroller 308 is operable for adjusting the regulated power from thepower converter 310 by controlling a conductance status, e.g., ON and OFF status, of the control switch Q16 using a control signal via the terminal CTRL. The terminal MON is coupled to the current sensing resistor R5 for receiving a current monitoring signal indicating an LED current flowing through theLED string 312. When the switch Q27 is turned on, the dimmingcontroller 308 can adjust the LED current flowing through theLED string 312 to ground by controlling the control switch Q16. - In operation, when the
power switch 304 is turned on, the AC/DC converter 306 converts an input AC voltage Vin to a DC voltage Vout. A predetermined voltage at the terminal HV_GATE is supplied to the switch Q27 through the resistor R15 so that the switch Q27 is turned on. - If the dimming
controller 308 turns on the control switch Q16, the DC voltage Vout powers theLED string 312 and charges the inductor L1. An LED current flows through the inductor L1, theLED string 312, the switch Q27, the control switch Q16, the current sensing resistor R5 to ground. If the dimmingcontroller 308 turns off the control switch Q16, an LED current flows through the inductor L1, theLED string 312 and the diode D4. The inductor L1 is discharged to power theLED string 312. As such, the dimmingcontroller 308 can adjust the regulated power from thepower converter 310 by controlling the control switch Q16. - When the
power switch 304 is turned off, the capacitor C10 is discharged to power the dimmingcontroller 308. A voltage across the resistor R6 drops to zero, therefore a switch monitoring signal indicating a turn-off operation of thepower switch 304 can be detected by the dimmingcontroller 308 through the terminal CLK. Similarly, when thepower switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage, therefore a switch monitoring signal indicating a turn-on operation of thepower switch 304 can be detected by the dimmingcontroller 308 through the terminal CLK. If a turn-off operation is detected, the dimmingcontroller 308 can turn off the switch Q27 by pulling the voltage at the terminal HV_GATE to zero such that theLED string 312 can be turned off after the inductor L1 completes discharging. In response to the turn-off operation, the dimmingcontroller 308 can adjust a reference signal indicating a target light output of theLED string 312. Therefore, when thepower switch 304 is turned on next time, theLED string 312 can generate a light output according to the adjusted target light output. In other words, the light output of theLED string 312 can be adjusted by the dimmingcontroller 308 in response to the turn-off operation of thepower switch 304. -
FIG. 5 shows an example of a structure of the dimmingcontroller 308 inFIG. 4 , in accordance with one embodiment of the present invention.FIG. 5 is described in combination withFIG. 4 . Elements labeled the same as inFIG. 4 have similar functions and will not be detailed described herein. - The dimming
controller 308 includes atrigger monitoring unit 506, a dimmer 502 and apulse signal generator 504. Thetrigger monitoring unit 506 is coupled to ground through a Zener diode ZD1. Thetrigger monitoring unit 506 can receive a switch monitoring signal indicating an operation of theexternal power switch 304 through the terminal CLK and can generate a driving signal for driving acounter 526 when an operation of theexternal power switch 304 is detected at the terminal CLK. Thetrigger monitoring unit 506 is further operable for controlling a conductance status of the switch Q27. The dimmer 502 is operable for generating a reference signal REF to adjust power of theLED string 312 in an analog dimming mode, or generating acontrol signal 538 for adjusting a duty cycle of a PWM signal PWM1 to adjust the power of theLED string 312. Thepulse signal generator 504 is operable for generating a pulse signal which can turn on a control switch Q16. The dimmingcontroller 308 can further include a start up and under voltage lockout (UVL)circuit 508 coupled to the terminal VDD for selectively turning on one or more components of the dimmingcontroller 308 according to different power condition. - In one embodiment, the start up and under
voltage lockout circuit 508 is operable for turning on all the components of the dimmingcontroller 308 when the voltage at the terminal VDD is greater than a first predetermined voltage. When thepower switch 304 is turned off, the start up and undervoltage lockout circuit 508 is operable for turning off other components of the dimmingcontroller 308 except thetrigger monitoring unit 506 and the dimmer 502 when the voltage at the terminal VDD is less than a second predetermined voltage, in order to save energy. The start up and undervoltage lockout circuit 508 is further operable for turning off thetrigger monitoring unit 506 and the dimmer 502 when the voltage at the terminal VDD is less than a third predetermined voltage. In one embodiment, the first predetermined voltage is greater than the second predetermined voltage and the second predetermined voltage is greater than the third predetermined voltage. Because the dimmingcontroller 308 can be powered by the capacitor C10 through the terminal VDD, thetrigger monitoring unit 506 and the dimmer 502 can still operate for a time period after thepower switch 304 is turned off. - In the dimming
controller 308, the terminal SEL is coupled to acurrent source 532. Users can choose a dimming mode by configuring the terminal SEL, e.g., by coupling the terminal SEL directly to ground or coupling the terminal SEL to ground via a resistor. In one embodiment, the dimming mode can be determined by measuring a voltage at the terminal SEL. If the terminal SEL is directly coupled to ground, the voltage at the terminal SEL is approximately equal to zero. A control circuit can in turn switch on aswitch 540, switch off aswitch 541 and switch off aswitch 542. Therefore, the dimmingcontroller 308 can work in an analog dimming mode and can adjust the power of the LED string 312 (shown inFIG. 4 ) by adjusting a reference signal REF. In one embodiment, if the terminal SEL is coupled to ground via a resistor R4 having a predetermined resistance (as shown inFIG. 4 ), the voltage at the terminal SEL can be greater than zero. The control circuit can in turn switch off theswitch 540, switch on theswitch 541 and switch on theswitch 542. Therefore, the dimmingcontroller 308 can work in a burst dimming mode and can adjust the power of the LED string 312 (shown inFIG. 4 ) by adjusting a duty cycle of a PWM signal PWM1. In other words, different dimming modes can be selected by controlling the ON/OFF status of theswitch 540,switch 541 andswitch 542. The ON/OFF status of theswitch 540,switch 541 and switch 542 can be determined by the voltage at the terminal SEL. - The
pulse signal generator 504 is coupled to ground through the terminal RT and the resistor R7 for generating apulse signal 536 which can turn on the control switch Q16. Thepulse signal generator 504 can have different configurations and is not limited to the configuration as shown in the example ofFIG. 5 . - In the
pulse signal generator 504, the non-inverting input of anoperational amplifier 510 receives a predetermined voltage V1. Thus, the voltage of the inverting input of theoperational amplifier 510 can be forced to V1. A current IRT flows through the terminal RT and the resistor R7 to ground. A current I1 flowing through aMOSFET 514 and aMOSFET 515 is equal to IRT. Because theMOSFET 514 and aMOSFET 512 constitute a current mirror, a current I2 flowing through theMOSFET 512 is also substantially equal to IRT. The output of acomparator 516 and the output of acomparator 518 are respectively coupled to the S input and the R input of an SR flip-flop 520. The inverting input of thecomparator 516 receives a predetermined voltage V2. The non-inverting input of thecomparator 518 receives a predetermined voltage V3. V2 is greater than V3, and V3 is greater than zero, in one embodiment. A capacitor C4 is coupled between theMOSFET 512 and ground, and has one end coupled to a common node between the non-inverting input of thecomparator 516 and the inverting input of thecomparator 518. The Q output of the SR flip-flop 520 is coupled to the switch Q15 and the S input of an SR flip-flop 522. The switch Q15 is coupled in parallel with the capacitor C4. A conductance status, e.g., ON/OFF status, of the switch Q15 can be determined by the Q output of the SR flip-flop 520. - Initially, the voltage across the capacitor C4 is approximately equal to zero which is less than V3. Therefore, the R input of the SR flip-
flop 520 receives a digital 1 from the output of thecomparator 518. The Q output of the SR flip-flop 520 is set to digital 0, which turns off the switch Q15. When the switch Q15 is turned off, the voltage across the capacitor C4 increases as the capacitor C4 is charged by I2. When the voltage across C4 is greater than V2, the S input of the SR flip-flop 520 receives a digital 1 from the output of thecomparator 516. The Q output of the SR flip-flop 520 is set to digital 1, which turns on the switch Q15. When the switch Q15 is turned on, the voltage across the capacitor C4 decreases as the capacitor C4 discharges through the switch Q15. When the voltage across the capacitor C4 drops below V3, thecomparator 518 outputs a digital 1, and the Q output of the SR flip-flop 520 is set to digital 0, which turns off the switch Q15. Then the capacitor C4 is charged by I2 again. As such, through the process described above, thepulse signal generator 504 can generate apulse signal 536 which includes a series of pulses at the Q output of the SR flip-flop 520. Thepulse signal 536 is sent to the S input of the SR flip-flop 522. - The
trigger monitoring unit 506 is operable for monitoring an operation of thepower switch 304 through the terminal CLK, and is operable for generating a driving signal for driving thecounter 526 when an operation of thepower switch 304 is detected at the terminal CLK. In one embodiment, when thepower switch 304 is turned on, the voltage at the terminal CLK rises to a level that is equal to a voltage across the resistor R6 (shown inFIG. 4 ). When thepower switch 304 is turned off, the voltage at the terminal CLK drops to zero. Therefore, a switch monitoring signal indicating the operation of thepower switch 304 can be detected at the terminal CLK. In one embodiment, thetrigger monitoring unit 506 generates a driving signal when a turn-off operation is detected at the terminal CLK. - The
trigger monitoring unit 506 is further operable for controlling a conductance status of the switch Q27 through the terminal HV_GATE. When thepower switch 304 is turned on, a breakdown voltage across the Zener diode ZD1 is applied to the switch Q27 through the resistor R3. Therefore, the switch Q27 can be turned on. Thetrigger monitoring unit 506 can turn off the switch Q27 by pulling the voltage at the terminal HV_GATE to zero. In one embodiment, thetrigger monitoring unit 506 turns off the switch Q27 when a turn-off operation of thepower switch 304 is detected at the terminal CLK and turns on the switch Q27 when a turn-on operation of thepower switch 304 is detected at the terminal CLK. - In one embodiment, the dimmer 502 includes a
counter 526 coupled to thetrigger monitoring unit 506 for counting operations of thepower switch 304, a digital-to-analog converter (D/A converter) 528 coupled to thecounter 526. The dimmer 502 can further include aPWM generator 530 coupled to the D/A converter 528. Thecounter 526 can be driven by the driving signal generated by thetrigger monitoring unit 506. More specifically, when thepower switch 304 is turned off, thetrigger monitoring unit 506 detects a negative edge of the voltage at the terminal CLK and generates a driving signal, in one embodiment. The counter value of thecounter 526 can be increased, e.g., by 1, in response to the driving signal. The D/A converter 528 reads the counter value from thecounter 526 and generates a dimming signal (e.g., control signal 538 or reference signal REF) based on the counter value. The dimming signal can be used to adjust a target power level of thepower converter 310, which can in turn adjust the light output of theLED string 312. - In the burst dimming mode, the
switch 540 is off, theswitch 541 and theswitch 542 are on. The inverting input of thecomparator 534 receives a reference signal REF1 which can be a DC signal having a predetermined substantially constant voltage. The voltage of REF1 can determine a peak value of the LED current, which can in turn determine the maximum light output of theLED string 312. The dimming signal can be acontrol signal 538 which is applied to thePWM generator 530 for adjusting a duty cycle of the PWM signal PWM1. By adjusting the duty cycle of PWM1, the light output of theLED string 312 can be adjusted no greater than the maximum light output determined by REF1. For example, if PWM1 has a duty cycle of 100%, theLED string 312 can have the maximum light output. If the duty cycle of PWM1 is less than 100%, theLED string 312 can have a light output that is lower than the maximum light output. - In the analog dimming mode, the
switch 540 is on, theswitch 541 and theswitch 542 are off, and the dimming signal can be an analog reference signal REF having an adjustable voltage. The D/A converter 528 can adjust the voltage of the reference signal REF according to the counter value of thecounter 526. The voltage of REF can determine a peak value of the LED current, which can in turn determine an average value of the LED current. As such, the light output of theLED string 312 can be adjusted by adjusting the reference signal REF. - In one embodiment, the D/
A converter 528 can decrease the voltage of REF in response to an increase of the counter value. For example, if the counter value is 0, the D/A converter 528 adjusts the reference signal REF to have a voltage V4. If the counter value is increased to 1 when a turn-off operation of thepower switch 304 is detected at the terminal CLK by thetrigger monitoring unit 506, the D/A converter 528 adjusts the reference signal REF to have a voltage V5 that is less than V4. Yet in another embodiment, the D/A converter 528 can increase the voltage of REF in response to an increase of the counter value. - In one embodiment, the counter value will be reset to zero after the
counter 526 reaches its maximum counter value. For example, if thecounter 526 is a 2-bit counter, the counter value will increase from 0 to 1, 2, 3 and then return to zero after four turn-off operations have been detected. Accordingly, the light output of theLED string 312 can be adjusted from a first level to a second level, then to a third level, then to a fourth level, and then back to the first level. - The inverting input of a
comparator 534 can selectively receive the reference signal REF and the reference signal REF1. For example, the inverting input of thecomparator 534 receives the reference signal REF through theswitch 540 in the analog dimming mode, and receives the reference signal REF1 through theswitch 541 in the burst dimming mode. The non-inverting input of thecomparator 534 is coupled to the resistor R5 through the terminal MON for receiving a current monitoring signal SEN from the current sensing resistor R5. The voltage of the current monitoring signal SEN can indicate an LED current flowing through theLED string 312 when the switch Q27 and the control switch Q16 are turned on. - The output of the
comparator 534 is coupled to the R input of the SR flip-flop 522. The Q output of the SR flip-flop 522 is coupled to an ANDgate 524. The PWM signal PWM1 generated by thePWM generator 530 is applied to the ANDgate 524. The ANDgate 524 outputs a control signal to control the control switch Q16 through the terminal CTRL. - If the analog dimming mode is selected, the
switch 540 is turned on and theswitches flop 522. In operation, when thepower switch 304 is turned on, the breakdown voltage across the Zener diode ZD1 turns on the switch Q27. The SR flip-flop 522 generates a digital 1 at the Q output to turn on the control switch Q16 in response to thepulse signal 536 generated by thepulse generator 504. An LED current flowing through the inductor L1, theLED string 312, the switch Q27, the control switch Q16, the current sensing resistor R5 to ground. The LED current gradually increases because the inductor resists a sudden change of the LED current. As a result, the voltage across the current sensing resistor R5, that is, the voltage of the current monitoring signal SEN can be increased. When the voltage of SEN is greater than that of the reference signal REF, thecomparator 534 generates a digital 1 at the R input of the SR flip-flop 522 so that the SR flip-flop 522 generates a digital 0 to turn off the control switch Q16. After the control switch Q16 is turned off, the inductor L1 is discharged to power theLED string 312. An LED current which flows through the inductor L1, theLED string 312 and the diode D4 gradually decreases. The control switch Q16 is turned on when the SR flip-flop 522 receives a pulse at the S input again, and then the LED current flows through the current sensing resistor R5 to ground again. When the voltage of the current monitoring signal SEN is greater than that of the reference signal REF, the control switch Q16 is turned off by the SR flip-flop 522. As described above, the reference signal REF determines a peak value of the LED current, which can in turn determine the light output of theLED string 312. By adjusting the reference signal REF, the light output of theLED string 312 can be adjusted. - In the analog dimming mode, when the
power switch 304 is turned off, the capacitor C10 (shown inFIG. 4 ) is discharged to power the dimmingcontroller 308. The counter value of thecounter 526 can be increased by 1 when thetrigger monitoring unit 506 detects a turn-off operation of thepower switch 304 at the terminal CLK. Thetrigger monitoring unit 506 can turn off the switch Q27 in response to the turn-off operation of thepower switch 304. The D/A converter 528 can adjust the voltage of the reference signal REF from a first level to a second level in response to the change of the counter value. Therefore, the light output of theLED string 312 can be adjusted in accordance with the adjusted reference signal REF when thepower switch 304 is turned on. - If the burst dimming mode is selected, the
switch 540 is turned off and theswitches comparator 534 receives a reference signal REF1 having a predetermined voltage. The control switch Q16 is controlled by both of the SR flip-flop 522 and the PWM signal PWM1 through the ANDgate 524. The reference signal REF1 can determine a peak value of the LED current, which can in turn determine a maximum light output of theLED string 312. The duty cycle of the PWM signal PWM1 can determine the on/off time of the control switch Q16. When the PWM signal PWM1 islogic 1, the conductance status of the control switch Q16 is determined by the Q output of the SR flip-flop 522. When the PWM signal PWM1 islogic 0, the control switch Q16 is turned off. By adjusting the duty cycle of the PWM signal PWM1, the power of theLED string 312 can be adjusted accordingly. As such, the combination of the reference signal REF1 and the PWM signal PWM1 can determine the light output of theLED string 312. - In the burst dimming mode, when the
power switch 304 is turned off, a turn-off operation of thepower switch 304 can be detected by thetrigger monitoring unit 506 at the terminal CLK. Thetrigger monitoring unit 506 turns off the switch Q27 and generates a driving signal. The counter value of thecounter 526 can be increased, e.g., by 1, in response of the driving signal. The D/A converter 528 can generate thecontrol signal 538 to adjust the duty cycle of the PWM signal PWM1 from a first level to a second level. Therefore, when thepower switch 304 is turned on next time, the light output of theLED string 312 can be adjusted to follow a target light output which is determined by the reference signal REF1 and the PWM signal PWM1. -
FIG. 6 illustrates examples of signal waveforms of an LED current 602 flowing through theLED string 312, thepulse signal 536, V522 which indicates the output of the SR flip-flop 522, V524 which indicates the output of the ANDgate 524, and the ON/OFF status of the control switch Q16 in the analog dimming mode.FIG. 6 is described in combination withFIG. 4 andFIG. 5 . - In operation, the
pulse signal generator 504 generatespulse signal 536. The SR flip-flop 522 generates a digital 1 at the Q output in response to each pulse of thepulse signal 536. The control switch Q16 is turned on when the Q output of the SR flip-flop 522 is digital 1. When the control switch Q16 is turned on, the inductor L1 ramps up and the LED current 602 increases. When the LED current 602 reaches the peak value Imax, which means the voltage of the current monitoring signal SEN is substantially equal to the voltage of the reference signal REF, thecomparator 534 generates a digital 1 at the R input of the SR flip-flop 522 so that the SR flip-flop 522 generates a digital 0 at the Q output. The control switch Q16 is turned off when the Q output of the SR flip-flop 522 is digital 0. When the control switch Q16 is turned off, the inductor L1 is discharged to power theLED string 312 and the LED current 602 decreases. In this analog dimming mode, by adjusting the reference signal REF, the average LED current can be adjusted accordingly and therefore the light output of theLED string 312 can be adjusted. -
FIG. 7 illustrates examples of signal waveforms of the LED current 602 flowing through theLED string 312, thepulse signal 536, V522 which indicates the output of the SR flip-flop 522, V524 which indicates the output of the ANDgate 524, and the ON/OFF status of the control switch Q16, and the PMW signal PWM1 in the burst dimming mode.FIG. 7 is described in combination withFIG. 4 andFIG. 5 . - When PWM1 is digital 1, the relationship among the LED current 602, the
pulse signal 536, V522, V524, and the ON/OFF status of the switch Q1 is similar to that is illustrated inFIG. 6 . When PWM1 is digital 0, the output of the ANDgate 524 turns to digital 0. Therefore, the control switch Q16 is turned off and the LED current 602 decreases. If the PWM1 holds digital 0 long enough, the LED current 602 can falls to zero. In this burst dimming mode, by adjusting the duty cycle of PWM1, the average LED current can be adjusted accordingly and therefore the light output of theLED string 312 can be adjusted. -
FIG. 8 shows an example of a diagram illustrating an operation of a light source driving circuit which includes the dimming controller inFIG. 5 , in accordance with one embodiment of the present invention.FIG. 8 is described in combination withFIG. 5 . - In the example shown in
FIG. 8 , each time when a turn-off operation of thepower switch 304 is detected by thetrigger monitoring unit 506, the counter value of thecounter 526 is increases by 1. Thecounter 526 can be a 2-bit counter which has a maximum counter value of 3. - In the analog dimming mode, the D/
A converter 528 reads the counter value from thecounter 526 and decreases the voltage of the reference signal REF in response to an increase of the counter value. The voltage of REF can determine a peak value Imax of the LED current, which can in turn determine an average value of the LED current. In the burst dimming mode, the D/A converter 528 reads the counter value from thecounter 526 and decreases the duty cycle of the PWM signal PWM1 (e.g., decreases 25% each time) in response to an increase of the counter value. Thecounter 526 is reset after it reaches its maximum counter value (e.g., 3). -
FIG. 9 shows aflowchart 900 of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.FIG. 9 is described in combination withFIG. 4 andFIG. 5 . - In
block 902, a light source, e.g., theLED string 312, is powered by a regulated power from a power converter, e.g., thepower converter 310. Inblock 904, a switch monitoring signal can be received, e.g., by the dimmingcontroller 308. The switch monitoring signal can indicate an operation of a power switch, e.g., thepower switch 304 coupled between a power source and the power converter. Inblock 906, a dimming signal is generated according to the switch monitoring signal. Inblock 908, a switch coupled in series with the light source, e.g., the control switch Q16, is controlled according to the dimming signal so as to adjust the regulated power from the power converter. In one embodiment, in an analog dimming mode, the regulated power from the power converter can be adjusted by comparing the dimming signal with a feedback current monitoring signal which indicates a light source current of the light source. In another embodiment, in a burst dimming mode, the regulated power from the power converter can be adjusted by controlling a duty cycle of a PWM signal by the dimming signal. - Accordingly, embodiments in accordance with the present invention provide a light source driving circuit that can adjust power of a light source according to a switch monitoring signal indicative of an operation of a power switch, e.g., an on/off switch mounted on the wall. The power of the light source, which is provided by a power converter, can be adjusted by a dimming controller by controlling a switch coupled in series with the light source. Advantageously, as described above, users can adjust the light output of the light source through an operation (e.g., a turn-off operation) of a common on/off power switch. Therefore, extra apparatus for dimming, such as an external dimmer or a specially designed switch with adjusting buttons, can be avoided and the cost can be reduced.
-
FIG. 10 shows an example of a schematic diagram of a lightsource driving circuit 1000, in accordance with one embodiment of the present invention.FIG. 10 is described in combination withFIG. 3 . Elements labeled the same as inFIG. 3 andFIG. 4 have similar functions. - The light
source driving circuit 1000 includes apower converter 310 coupled to a power source and anLED string 312 for receiving power from the power source and for providing a regulated power to theLED string 312. A dimmingcontroller 1008 is operable for monitoring apower switch 304 coupled between the power source and the lightsource driving circuit 1000 by monitoring the voltage at a terminal CLK. The dimmingcontroller 1008 is operable for receiving a dimming request signal indicative of a first set of operations of thepower switch 304 and for receiving a dimming termination signal indicative of a second set of operations of thepower switch 304. The dimmingcontroller 1008 can receive the dimming request signal and the dimming termination signal via the terminal CLK. The dimmingcontroller 1008 is further operable for continuously adjusting the regulated power from thepower converter 310 if the dimming request signal is received, and for stopping adjusting the regulated power from thepower converter 310 if the dimming termination signal is received. In other words, the dimmingcontroller 1008 can continuously adjust the power from thepower converter 310 upon detection of the first set of operations of thepower switch 304 until the second set of operations of thepower switch 304 are detected. In one embodiment, the dimmingcontroller 1008 can adjust the regulated power from thepower converter 310 by controlling a control switch Q16 coupled in series with theLED string 312. -
FIG. 11 shows an example of a structure of thedimming controller 1008 inFIG. 10 , in accordance with one embodiment of the present invention.FIG. 11 is described in combination withFIG. 10 . Elements labeled the same as inFIG. 4 ,FIG. 5 andFIG. 10 have similar functions. - In the example of
FIG. 11 , the structure of thedimming controller 1008 inFIG. 11 is similar to the structure of the dimmingcontroller 308 inFIG. 5 except for the configuration of the dimmer 1102 and thetrigger monitoring unit 1106. InFIG. 11 , thetrigger monitoring unit 1106 is operable for receiving the dimming request signal and the dimming termination signal via the terminal CLK, and for generating a signal EN to enable or disable aclock generator 1104. Thetrigger monitoring unit 1106 is further operable for controlling a conductance status of the switch Q27 coupled to theLED string 312. - The dimmer 1102 is operable for generating a reference signal REF to adjust power of the
LED string 312 in an analog dimming mode, or generating acontrol signal 538 for adjusting a duty cycle of a PWM signal PWM1 to adjust the power of theLED string 312 in a burst dimming mode. In the example shown inFIG. 11 , the dimmer 1102 can include theclock generator 1104 coupled to thetrigger monitoring unit 1106 for generating a clock signal, acounter 1126 driven by the clock signal, an digital-to-analog (D/A)converter 528 coupled to thecounter 1126. The dimmer 1102 can further include aPWM generator 530 coupled to the D/A converter 528. - In operation, when the
power switch 304 is turned on or turned off, thetrigger monitoring unit 1106 can detect a positive edge or a negative edge of the voltage at the terminal CLK. For example, when thepower switch 304 is turned off, the capacitor C10 is discharged to power the dimming controller 1108. A voltage across the resistor R6 drops to zero. Therefore, a negative edge of the voltage at the terminal CLK can be detected by thetrigger monitoring unit 1106. Similarly, when thepower switch 304 is turned on, the voltage across the resistor R6 rises to a predetermined voltage. Therefore, a positive edge of the voltage at the terminal CLK can be detected by thetrigger monitoring unit 1106. As such, operations, e.g., turn-on operations or turn-off operations, of thepower switch 304 can be detected by thetrigger monitoring unit 1106 by monitoring the voltage at the terminal CLK. - In one embodiment, a dimming request signal can be received by the
trigger monitoring unit 1106 via the terminal CLK when a first set of operations of thepower switch 304 are detected. A dimming termination signal can be received by thetrigger monitoring unit 1106 via the terminal CLK when a second set of operations of thepower switch 304 are detected. In one embodiment, the first set of operations of thepower switch 304 includes a first turn-off operation followed by a first turn-on operation. In one embodiment, the second set of operations of thepower switch 304 includes a second turn-off operation followed by a second turn-on operation. - If the dimming request signal is received by the
trigger monitoring unit 1106, the dimming controller 1108 begins to continuously adjust the regulated power from thepower converter 310. In an analog dimming mode, the dimming controller 1108 adjusts a voltage of a reference signal REF to adjust the regulated power from thepower converter 310. In a burst dimming mode, the dimming controller 1108 adjusts a duty cycle of a PWM signal PWM1 to adjust the regulated power from thepower converter 310. - If the dimming termination signal is received by the
trigger monitoring unit 1106, the dimmingcontroller 1008 can stop adjusting the regulated power from thepower converter 310. -
FIG. 12 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes thedimming controller 1008 inFIG. 11 , in accordance with one embodiment of the present invention.FIG. 12 is described in combination withFIG. 10 andFIG. 11 . - Assume that initially the
power switch 304 is off. In operation, when thepower switch 304 is turned on, e.g., by a user, theLED string 312 is powered by a regulated power from thepower converter 310 to generate an initial light output, in one embodiment. In the analog dimming mode, the initial light output can be determined by an initial voltage of the reference signal REF. In the burst dimming mode, the initial light output can be determined by an initial duty cycle (e.g., 100%) of the PWM signal PWM1. The reference signal REF and the PWM signal PWM1 can be generated by the D/A converter 528 according to a counter value of thecounter 1126, in one embodiment. Therefore, the initial voltage of REF and the initial duty cycle of PWM1 can be determined by an initial counter value (e.g., zero) provided by thecounter 1126. - In order to adjust the light output of the
LED string 312, the user can apply a first set of operations to thepower switch 304. A dimming request signal is generated upon detection of the first set of operations of thepower switch 304. In one embodiment, the first set of operations can include a first turn-off operation followed by a first turn-on operation. As a result, a dimming request signal including anegative edge 1204 followed by apositive edge 1206 of the voltage at the terminal CLK can be detected and received by thetrigger monitoring unit 1106. In response to the dimming request signal, thetrigger monitoring unit 1106 can generate a signal EN having a high level. Thus, theclock generator 1104 is enabled to generate a clock signal. Thecounter 1126 driven by the clock signal can change the counter value in response to each clock pulse of the clock signal. In the example ofFIG. 12 , the counter value increases in response to the clock signal. In one embodiment, the counter value can be reset to zero after thecounter 1126 reaches its predetermined maximum counter value. In another embodiment, the counter value increases until thecounter 1126 reaches its predetermined maximum counter value, and then decreases until thecounter 1126 reaches its predetermined minimum counter value. - In the analog dimming mode, the D/
A converter 528 reads the counter value from thecounter 1126 and decreases the voltage of the reference signal REF in response to an increase of the counter value, in one embodiment. In the burst dimming mode, the D/A converter 528 reads the counter value from thecounter 1126 and decreases the duty cycle of the PWM signal PWM1 (e.g., decreases 10% each time) in response to an increase of the counter value, in one embodiment. Accordingly, the light output of theLED string 312 can be adjusted because the regulated power from thepower converter 310 can be determined by the voltage of the reference signal REF (in the analog dimming mode) or by the duty cycle of the PWM signal PWM1 (in the burst dimming mode). - Once a desired light output has been achieved, the user can terminate the adjustment process by applying a second set of operations to the
power switch 304. A dimming termination signal is generated upon detection of the second set of operations of thepower switch 304. In one embodiment, the second set of operations can include a second turn-off operation followed by a second turn-on operation. As a result, the dimming termination signal including anegative edge 1208 followed by apositive edge 1210 of the voltage at the terminal CLK can be detected and received by thetrigger monitoring unit 1106. Upon detection of the dimming termination signal, thetrigger monitoring unit 1106 can generate the signal EN having a low level. Thus, theclock generator 1104 is disabled, such that thecounter 1126 can hold its counter value. Accordingly, in the analog dimming mode, the voltage of the reference signal REF can be held at a desired level. In the burst dimming mode, the duty cycle of the PWM signal PWM1 can be held at a desired value. Therefore, the light output of theLED string 312 can be maintained at a desired light output. -
FIG. 13 shows aflowchart 1300 of a method for adjusting power of a light source, in accordance with one embodiment of the present invention.FIG. 13 is described in combination withFIG. 10 andFIG. 11 . - In
block 1302, a light source, e.g., theLED string 312, is powered by a regulated power from a power converter, e.g., thepower converter 310. - In
block 1304, a dimming request signal can be received, e.g., by the dimming controller 1108. The dimming request signal can indicate a first set of operations of a power switch, e.g., thepower switch 304 coupled between a power source and the power converter. In one embodiment, the first set of operations of the power switch includes a first turn-off operation followed by a first turn-on operation. - In
block 1306, the regulated power from the power converter is continuously adjusted, e.g., by the dimming controller 1108. In one embodiment, aclock generator 1104 can be enabled to drive acounter 1126. A dimming signal (e.g., control signal 538 or reference signal REF) can be generated according to the counter value of thecounter 1126. In an analog dimming mode, the regulated power from the power converter can be adjusted by comparing the reference signal REF with a feedback current monitoring signal which indicates a light source current of the light source. The voltage of REF can be determined by the counter value. In a burst dimming mode, the regulated power from the power converter can be adjusted by varying a duty cycle of a PWM signal PWM1 by thecontrol signal 538. The duty cycle of PWM1 can be also determined by the counter value. - In
block 1308, a dimming termination signal can be received, e.g., by the dimming controller 1108. The dimming termination signal can indicate a second set of operations of a power switch, e.g., thepower switch 304 coupled between a power source and the power converter. In one embodiment, the second set of operations of the power switch includes a second turn-off operation followed by a second turn-on operation. - In
block 1310, the adjustment of the regulated power from the power converter is terminated if the dimming termination signal is received. In one embodiment, theclock generator 1104 is disabled such that thecounter 1126 can hold its counter value. As a result, in the analog dimming mode, the voltage of REF can be held at a desired level. In the burst dimming mode, the duty cycle of the PWM signal PWM1 can be held at a desired value. Consequently, the light source can maintain a desired light output. -
FIG. 14A shows an example of a schematic diagram of a lightsource driving circuit 1400, in accordance with one embodiment of the present invention. Elements labeled the same as inFIG. 3 andFIG. 4 have similar functions.FIG. 14A is described in combination withFIG. 4 . The lightsource driving circuit 1400 is coupled to a power source VIN (e.g., 110/120 Volt AC, 60Hz) via apower switch 304 and is coupled to anLED light source 312. Referring toFIG. 14B , an example of thepower switch 304 inFIG. 14A is illustrated according to one embodiment of the present invention. In one embodiment, thepower switch 304 is an on/off switch mounted on the wall. By switching anelement 1480 to an ON place or an OFF place, the conductance status of thepower switch 304 is controlled on or off, e.g., by a user. - Referring back to
FIG. 14A , the lightsource driving circuit 1400 includes an AC/DC converter 306, apower converter 310, and adimming controller 1408. The AC/DC converter 306 converts an input AC voltage VIN to an output DC voltage VOUT. In the example ofFIG. 14A , the AC/DC converter 306 includes a bridge rectifier including diodes D1, D2, D7 and D8. Thepower converter 310 coupled to the AC/DC converter 306 receives the output DC voltage VOUT and provides output power to the LEDlight source 312. The dimmingcontroller 1408 coupled to the AC/DC converter 306 and coupled to thepower converter 310 is operable for monitoring thepower switch 304, and for regulating the output power of thepower converter 310 according to operations of thepower switch 304 so as to control brightness of light emitted from the LEDlight source 312. - In one embodiment, the
power converter 310 includes an inductor L1, a diode D4, a switch Q27, a control switch Q16, and a current sensor R5. The dimmingcontroller 1408 includes multiple terminals, such as a terminal HV_GATE, a terminal CLK, a terminal VDD, a terminal GND, a terminal CTRL, a terminal RT and a terminal MON. The terminals of thedimming controller 1408 operate similarly as the corresponding terminals of the dimmingcontroller 308 described in relation toFIG. 4 . - During operation, the dimming
controller 1408 monitors thepower switch 304 by receiving aswitch monitoring signal 1450 at the terminal CLK. Theswitch monitoring signal 1450 indicates a conductance status, e.g., ON/OFF status, of thepower switch 304. Accordingly, the dimmingcontroller 1408 controls the switch Q27 through the terminal HV_GATE and controls the control switch Q16 through the terminal CTRL, so as to control the dimming of the LEDlight source 312. - More specifically, in one embodiment, when the
power switch 304 is turned on, the dimmingcontroller 1408 generates a signal, e.g., logic high, at the terminal HV_GATE to turn the switch Q27 on, and generates aswitch control signal 1452 at the terminal CTRL to turn the control switch Q16 on and off. In one embodiment, the control switch Q16 operates in a switch-on state and a switch-off state. During the switch-on state of the control switch Q16, theswitch control signal 1452 alternately turns the control switch Q16 on and off. For example, the dimmingcontroller 1408 periodically turns on the control switch Q16. In addition, the dimmingcontroller 1408 receives asensing signal 1454 via the terminal MON indicating the current ILED through the LEDlight source 312, and turns off the control switch Q16 if thesensing signal 1454 indicates that the current ILED reaches a current threshold ITH. Thus, the current ILED ramps up when the control switch Q16 is turned on and ramps down when the control switch Q16 is turned off. In this way, the dimmingcontroller 1408 determines a peak level of the current ILED, such that an average level IAVERAGE of the current ILED is controlled. During the switch-off state of the control switch Q16, theswitch control signal 1452 maintains the control switch Q16 off to cut off the current ILED. In one embodiment, the dimmingcontroller 1408 determines a time ratio of the switch-on state to the switch-off state to control the average level IAVERAGE of the current ILED. - When the
power switch 304 is turned off, the dimmingcontroller 1408 generates a signal, e.g., logic low, at the terminal HV_GATE to turn off the switch Q27, in one embodiment. As such, the current ILED flowing through the LEDlight source 312 drops to substantially zero ampere to cut off theLED light source 312. - In one embodiment, the dimming
controller 1408 receives theswitch monitoring signal 1450 indicating a conductance status of thepower switch 304 at the terminal CLK. Accordingly, the dimmingcontroller 1408 is able to identify an operation of thepower switch 304 and provide a dimming request signal indicating the operation of thepower switch 304. In one embodiment, the dimmingcontroller 1408 provides a dimming request signal if a turn-off operation of thepower switch 304 is identified. Alternatively, the dimmingcontroller 1408 provides a dimming request signal if a turn-on operation of thepower switch 304 is identified. In response, the dimmingcontroller 1408 operates in an analog dimming mode, a burst dimming mode, or a combination mode to adjust the on/off state of the control switch Q16 to control the dimming of the LEDlight source 312, in one embodiment. For example, in the analog dimming mode, the peak level of the current ILED is determined by the dimmingcontroller 1408 while the time ratio of the switch-on state to the switch-off state remains at the same level. In the burst dimming mode, the time ratio of the switch-on state to the switch-off state is determined by the dimmingcontroller 1408 while the peak level of the current ILED remains at the same level. In the combination mode, both the peak level of the current ILED and the time ratio of the switch-on state to the switch-off state are determined by the dimmingcontroller 1408. Thus, when the switch Q27 is turned on again (indicating thepower switch 304 is turned on again), the peak level of the current ILED and/or the time durations of the switch-on state and the switch-off state are adjusted. As a result, the average current IAVERACE flowing through the LEDlight source 312 is adjusted to control the brightness of the LEDlight source 312. - Advantageously, by adjusting both the peak level of the current ILED and the durations of the switch-on state and the switch-off state, the dimming
controller 1408 is able to adjust the average current IAVERACE in a relatively wide range. For example, if IMAX is a maximum level of the average current IAVERAGE, IAVERAGE can vary in a range of 4% *IMAX to 100%*IMAX in accordance with one embodiment, compared to a range of 20%*IMAX to 100%*IMAX in conventional art. Consequently, a wider range dimming for the LEDlight source 312 is achieved, which is beneficial for energy-efficient light applications, for example, night lighting. -
FIG. 15 shows an example of a structure of thedimming controller 1408 inFIG. 14A , in accordance with one embodiment of the present invention.FIG. 15 is described in combination withFIG. 5-FIG. 7 andFIG. 14A . Elements labeled the same as inFIG. 5 andFIG. 14A have similar functions. - In the example of
FIG. 15 , the dimmingcontroller 1408 includes a start-up andUVL circuit 508, apulse signal generator 504, atrigger monitoring unit 506, a dimmer 1502, acomparator 534, an SR flip-flop 522, and an ANDgate 524. The dimmer 1502 includes areference signal generator 1506 for generating a reference signal REF and further includes aPWM generator 1508 for generating a pulse-width modulation signal PWM1. As described in relation toFIG. 5 , thecomparator 534 compares thesensing signal 1454 with the reference signal REF to generate a comparing signal COMP. Thepulse signal generator 504 generates apulse signal 536 having a waveform of periodical pulses. In one embodiment, the SR flip-flop 522 sets the pulse signal V522 to digital one when thepulse signal 536 is digital one and resets the pulse signal V522 to digital zero when the comparing signal COMP is digital one (e.g., when thesensing signal 1454 reaches the reference signal REF). The ANDgate 524 receives the pulse signal V522 and the pulse-width modulation signal PWM1, and generates theswitch control signal 1452 accordingly to control the control switch Q16. - Assuming that the switch Q27 is turned on, the dimming
controller 1408 controls the current ILED in a similar way as the dimmingcontroller 308 described in relation toFIG. 6 andFIG. 7 . During a first state of the pulse-width modulation signal PWM1 (e.g., PWM1 is digital one), the ANDgate 524 alternately turns on and off the control switch Q16 according to the pulse signal V522, in one embodiment. As such, the control switch Q16 operates in the switch-on state, in which the current ILED ramps up when the control switch Q16 is turned on and ramps down when the control switch Q16 is turned off. The reference signal REF determines a peak level of the current ILED by turning off the control switch Q16 when thesensing signal 1454 reaches the reference signal REF. During a second state of the pulse-width modulation signal PWM1 (e.g., PWM1 is digital zero), the ANDgate 524 maintains the control switch Q16 to be off. As such, the control switch Q16 operates in the switch-off state to cut off the current ILED. - Therefore, the reference signal REF is used to determine the peak level of the current ILED, and the duty cycle of the pulse-width modulation signal PWM1 is used to determine the time ratio of the switch-on state to the switch-off state of the control switch Q16. In other words, the average current IAVERAGE through the LED
light source 312 varies according to the reference signal REF and the duty cycle of the PWM1. For example, IAVERACE is increased if the voltage VREF of the reference signal REF is increased and is decreased If VREF is decreased. Moreover, IAVERACE is increased if the duty cycle DPWM1 of PWM1 is increased and is decreased if DPWM1 is decreased. - The dimmer 1502 further includes a
counter 1504 for providing a counter value. In one embodiment, thereference signal generator 1506 coupled to thecounter 1504 determines the voltage level VREF based upon the counter value VALUE_1504 of thecounter 1504. ThePWM generator 1508 coupled to thecounter 1504 determines the duty cycle DPWM1 based upon the counter value VALUE_1504.TABLE 1 VALUE_1504 0 1 2 3 VREF VMAX 50% * V MAX20% * V MAX20% * VMAX DpWM1 100% 100% 100% 20% TABLE 2 VALUE_1504 0 1 2 3 VREF VMAX 50% * V MAX30% * V MAX20% * VMAX DPWM1 100% 60% 40% 20% - Table 1 and Table 2 show examples of the counter value VALUE_1504 of the
counter 1504 versus the voltage VREF and the duty cycle DPWM1. In one embodiment, thecounter 1504 is a 2-bit counter, and thus the counter value can be 0, 1, 2 or 3. VMAX represents a maximum voltage level of the reference signal REF. According to Table 1, when the counter value VALUE_1504 is 0, 1, 2 and 3, the reference signal REF has levels VMAX, 50% * VMAX, 20% VMAX and 20% VMAX, respectively, and the duty cycle DPWM1 hasvalues 100%, 100%, 100% and 20%, respectively. According to Table 2, when the counter value VALUE_1504 is 0, 1, 2 and 3, the reference signal REF has levels VMAX, 50% VMAX, 30% VMAX and 20% VMAX, respectively, and the duty cycle DPWM1 hasvalues 100%, 60%, 40% and 20%, respectively. The counter value, the reference signal REF and the duty cycle of PWM1 can have other relationships, and are not limited to the examples in Table 1 and Table 2. - If a dimming request signal, e.g., indicating a turn-off operation of the
power switch 304, is received, thetrigger monitoring unit 506 generates an enablesignal 1510, in one embodiment. Thecounter 1504 receives the enablesignal 1510 and increases or decreases the counter value accordingly. As such, thereference signal generator 1506 determines the reference signal REF, e.g., according to Table 1 or Table 2. ThePWM generator 1508 determines the duty cycle of PWM1, e.g., according to Table 1 or Table 2. - As a result, the dimming
controller 1408 selectively operates in an analog dimming mode, a burst dimming mode, and a combination mode. In the analog dimming mode, the level of the reference signal REF is determined by the counter value of thecounter 1504 to adjust the average current IAVERAGE while the duty cycle DPWM1 of PWM1 remains at the same level, in one embodiment. In the bust dimming mode, the duty cycle DPMV1 of PWM1 is determined by the counter value of thecounter 1504 to adjust the average current IAVERACE while the reference signal REF remains at the same level, in one embodiment. In the combination mode, both the level of the reference signal REF and the duty cycle DPWM1 are determined according to the counter value of thecounter 1504. Therefore, the brightness of the LED light source 302 is adjusted. The operations of thedimming controller 1408 are further described in relation toFIG. 16 andFIG. 17 . The dimmingcontroller 1408 can have other configurations and is not limited to the example shown inFIG. 15 . -
FIG. 16 illustrates an example of a diagram illustrating an operation of a light source driving circuit which includes thedimming controller 1408 inFIG. 15 , in accordance with one embodiment of the present invention.FIG. 16 is described in combination withFIG. 14A andFIG. 15 .FIG. 16 shows the voltage VCLK at the terminal CLK, the counter value VALUE_1504 of thecounter 1504, the voltage VPWM1 of the pulse-width modulation signal PWM1, the duty cycle DPWM1 of the pulse-width modulation signal PWM1, the voltage VREF of the reference signal REF, the voltage VSENSE of thesensing signal 1454, and the average level IAVERAGE of the current ILED. In the example ofFIG. 16 , the dimmingcontroller 1408 sets the voltage VREF and the duty cycle DPWM1 according to the example presented in Table 1. - At time t0, the
power switch 304 is off. The counter value VALUE_1504 is 0. Based upon Table 1, the duty cycle DPWM1 is 100% and the voltage VREF has the maximum level VMAX. Since thepower switch 304 and the switch Q27 are both turned off, the current ILED is cut off and thus the average current IAVERACE is zero. - At time t1, the voltage VCLK has a rising edge indicating a turn-on operation of the
power switch 304. The dimmingcontroller 1408 turns on the switch Q27, and thus the current ILED is controlled according to the conductance status of the control switch Q16. Between t1 and t2, the duty cycle DPWM1 is 100% and the voltage VREF has the maximum level VMAX. The control switch Q16 operates in the switch-on state to be alternately on and off. As shown inFIG. 16 , the voltage VSENSE ramps up when the control switch Q16 is on and ramps down when the control switch Q16 is off. Since the peak level of the voltage VSENSE is equal to the maximum level VMAX of the reference signal REF, the average current IAVERACE has a maximum level IMAX. - At time t2, the voltage VCLK has a falling edge indicating a turn-off operation of the
power switch 304. The switch Q27 is turned off to cut off the current ILED. Thus, between t2 and t3, the voltage VSENSE drops to substantially zero volt and the average current IAVERACE drops to substantially zero ampere. - In one embodiment, upon detection of a turn-off operation of the
power switch 304 at time t2, a dimming request signal is generated. The counter value VALUE_1504 is increased from 0 to 1. Based upon the example in Table 1, the dimmingcontroller 1408 is switched to an analog dimming mode to adjust the voltage VREF to 50%*VMAx and maintains the duty cycle DPMV1 at 100%. - At time t3, the switch Q27 is turned on again. Thus, during the time interval between t3 and t4, the dimming
controller 1408 switches the control switch Q16 on and off according to the reference signal REF and the pulse-width modulation signal PWM1. Thus, the average current IAVERACE is adjusted to 50%*IMAX. - At time t4, the voltage VCLK has a falling edge indicating a turn-off operation of the
power switch 304. The counter value VALUE_1504 is increased from 1 to 2. Based upon Table 1, the dimmingcontroller 1408 is in the analog dimming mode to adjust the voltage VREF to 20%*VMAx and maintain the duty cycle DPWM1 at 100%. Thus, the average current IAVERAGE is adjusted to 20%*IMAx between t5 and t6. - At time t6, a falling edge of the voltage VCLK indicates a turn-off operation of the
power switch 304. In response, the counter value is increased from 2 to 3. Based upon Table 1, the dimmingcontroller 1408 is switched to a burst dimming mode to maintain the voltage VREF at 20%*VMAx and decrease the duty cycle DPWM1 to 20%. As such, when thepower switch 304 is turned on during a time interval between t7 and t8, the voltage VSENSE ramps up and down when the voltage VPWM1 has a first state, e.g., logic high, and drops to substantially zero volt when the voltage VPWM1 has a second state, e.g., logic low. As such, the average current IAVERACE is adjusted to 4%*IMAx between t7 and t8. - Therefore, in the example of
FIG. 16 , the dimmingcontroller 1408 initially operates in the analog dimming mode to adjust the average current IAVERAGE from 100% * IMAX to 20% IMAX and then operates in the burst dimming mode to adjust the average current IAVERACE from 20% IMAX to 4% IMAX. Advantageously, both the duty cycle DPWM1 and the voltage VREF are adjusted to achieve the average current IAVERACE in a range of 100% *IMAX to 4%*IMAX. Thus, the dimming of the LEDlight source 312 is achieved in a wider range. Moreover, during the relatively wide range of dimming, the voltage VREF is maintained greater than a voltage threshold (e.g., 15%*VMAX) and the duty cycle DPWM1 is maintained greater than a duty cycle threshold (e.g., 10%). As such, the accuracy of the reference signal REF and the pulse-width modulation signal PWM1 is not affected by undesirable conditions such as noises, which improves the dimming accuracy of the lightsource driving circuit 1400. -
FIG. 17 illustrates another example of a diagram illustrating an operation of a light source driving circuit which includes thedimming controller 1408 inFIG. 15 , in accordance with one embodiment of the present invention.FIG. 17 is described in combination withFIG. 14A - FIG. 16 .FIG. 17 shows the voltage VCLK at the terminal CLK, the counter value VALUE_1504 of thecounter 1504, the voltage VPWM1 of the pulse-width modulation signal PWM1, the duty cycle DPWM1 of the pulse-width modulation signal PWM1, the voltage VREF of the reference signal REF, the voltage VSENSE of thesensing signal 1454, and the average level IAVERAGE of the current ILED. In the example ofFIG. 17 , the dimmingcontroller 1408 sets the voltage VREF and the duty cycle DPWM1 according to the example presented in Table 2. - Between t0' and t2', the dimming
controller 1408 operates similarly to the operation between t0 and t2 as described in relation toFIG. 16 . For example, the counter value VALUE_1504 is 0 between t0' and t2'. Based upon Table 2, the duty cycle DPWM1 is 100% and the voltage VREF has the maximum level VMAX. Thus, between t1' and t2', the peak level of the voltage VSENSE is equal to the maximum level VMAX of the reference signal REF and the average current IAVERACE has a maximum level IMAX. - At time t2', a falling edge of the voltage VCLK indicates a turn-off operation of the
power switch 304. The switch Q27 is turned off to cut off the current ILED. Thus, between t2' and t3', the voltage VSENSE drops to substantially zero volt and the average current IAVERACE drops to substantially zero ampere. - In one embodiment, upon detection the turn-off operation of the
power switch 304 at time t2', a dimming request signal is generated. The counter value VALUE_1504 is increased from 0 to 1. Based upon the example in Table 2, the dimmingcontroller 1408 operates in the combination mode to adjust the voltage VREF to 50%*VMAx and adjust the duty cycle DPMV1 to 60%. Therefore, between t3' and t4', the control switch Q16 operates in the switch-on state to alternately on and off according to the pulse signal V522 when the voltage VPWM1 has a first state, e.g., logic high. The peak level of the voltage VSENSE is equal to the voltage VREF, that is, 50%*VMAX. Moreover, the control switch Q16 operates in the switch-off state to cut off the current ILED when the voltage VPWM1 has a second state, e.g., logic low. Thus, the average level of the current ILED is equal to 30%*IMAX. - At time t4', a falling edge of the voltage VCLK indicates a turn-off operation of the
power switch 304, and thus a dimming request signal is generated. In response, the counter value VALUE_1504 is increased from 1 to 2. Based upon the example in Table 2, the dimmingcontroller 1408 operates in the combination mode to adjust the voltage VREF to 30%*VMAX and adjust the duty cycle DPWM1 to 40%. Consequently, the average level of the current ILED is equal to 12%*IMAX between t5' and t6'. - At time t6', a falling edge of the voltage VCLK indicates a turn-off operation of the
power switch 304 and thus a dimming request signal is generated. In response, the counter value VALUE_1504 is increased from 2 to 3. Based upon the example in Table 2, the dimmingcontroller 1408 operates in the combination mode to adjust the voltage VREF to 20%*VMAx and adjust the duty cycle DPWM1 to 20%. Consequently, the average level of the current ILED is equal to 4%*IMAX between t7' and t8'. - Therefore, between t1' and t7', the dimming controller operates in the combination mode when the counter value VALUE_1504 is changed. Advantageously, both the duty cycle DPWM1 and the voltage VREF are adjusted to achieve the average current IAVERACE in a range of 100%*IMAX to 4%*IMAX. The dimming of the LED light source 302 are achieved in a wider dimming range. Moreover, during the relatively wide range of dimming, the voltage VREF is maintained greater than a voltage threshold (e.g., 15%*VMAX) and the duty cycle DPWM1 is maintained greater than a duty cycle threshold (e.g., 10%). As such, the accuracy of the reference signal REF and the pulse-width modulation signal PWM1 is not affected by undesirable conditions such as noises, which improves the dimming accuracy of the light
source driving circuit 1400. -
FIG. 18 shows aflowchart 1800 of a method for controlling dimming of an LED light source, in accordance with one embodiment of the present invention.FIG. 18 is described in combination withFIG. 14A-FIG. 17 . Although specific steps are disclosed inFIG. 18 , such steps are examples. That is, the present invention is well suited to performing various other steps or variations of the steps recited inFIG. 18 . - In
block 1802, a sensing signal, e.g., thesensing signal 1454, indicative of a current flowing through the LED light source, e.g., ILED, is compared to a reference signal, e.g., the reference signal REF, to provide a pulse signal, e.g., the pulse signal V522. Inblock 1804, the current through the LED light source is controlled according to the pulse signal during a first state of a pulse-width modulation signal, e.g., PWM1. Inblock 1806, the current through the LED light source is cut off during a second state of a pulse-width modulation signal. - In
block 1808, both a level of the reference signal and the duty cycle of the pulse-width modulation signal are adjusted based upon a dimming request signal. In one embodiment, a counter value of a counter is adjusted according to the dimming request signal. The level of the reference signal and the duty cycle of the pulse-width modulation signal are determined according to the counter value. If the counter value is changed from a first value to a second value, a first mode (e.g., an analog dimming mode), a second mode (e.g., a burst dimming mode), or a third mode (e.g., a combination mode) is selected.
In the first mode, the level of the reference signal is adjusted and the duty cycle of the pulse-width modulation signal is maintained. In the second mode, the level of the reference signal is maintained and the duty cycle of the pulse-width modulation signal is adjusted. In the third mode, both the level of the reference signal and the duty cycle of the pulse-width modulation signal are adjusted. -
FIG. 19 shows an example of a schematic diagram of a lightsource driving circuit 1900, in an embodiment according to the present invention. Elements labeled the same as inFIG. 3 andFIG. 4 have similar functions.FIG. 19 is described in combination withFIG. 3 andFIG. 4 . The lightsource driving circuit 1900 is coupled to a power source VIN (e.g., 110/120 Volt AC, 60Hz) via apower switch 304 and is coupled to anLED light source 312. As described in relation toFIG. 14B , thepower switch 304 is an on/off switch mounted on the wall, and thepower switch 304 is controlled on or off, e.g., by a user, in one embodiment. - The light
source driving circuit 1900 includes an AC/DC converter 306, apower converter 310, and adimming controller 1908. The AC/DC converter 306 converts an input AC voltage VIN to an output DC voltage VOUT. In the example ofFIG. 19 , the AC/DC converter 306 includes a bridge rectifier having diodes D1, D2, D7 and D8, and includes a filter having a diode D10 and a capacitor C9. Thepower converter 310 is coupled to the AC/DC converter 306, receives the output DC voltage VOUT, and provides output power to the LEDlight source 312. In one embodiment, thepower converter 310 includes an inductor L1, a diode D4, a switch Q27, a control switch Q16, and a current sensor R5. The dimmingcontroller 1908 is coupled to the AC/DC converter 306 and thepower converter 310. The dimmingcontroller 1908 is operable for monitoring operations of thepower switch 304, e.g., a turn-on operation and/or a turn-off operation, and for controlling the output power delivered to the LEDlight source 312 accordingly, to control the dimming of the LEDlight source 312. The dimmingcontroller 1908 includes multiple terminals, such as a terminal HV_GATE, a terminal CLK, a terminal VDD, a terminal GND, a voltage control terminal CTRL, a terminal RT, a terminal MON and a current control terminal CS. The terminals VDD, GND, RT and MON operate similar to the corresponding terminals of thedimming controller 1408 shown inFIG. 14 . - In one embodiment, the dimming
controller 1908 receives aswitch monitoring signal 1450 indicative of a conductance status, e.g., an ON/OFF status, of thepower switch 304 at the terminal CLK. In one embodiment, the dimmingcontroller 1908 controls the switch Q27 according to theswitch monitoring signal 1450. More specifically, if theswitch monitoring signal 1450 indicates that thepower switch 304 is turned off, then thedimming controller 1908 generates a signal, e.g., logic low, at the terminal HV_GATE to turn off the switch Q27. As such, the current ILED flowing through the LEDlight source 312 drops to substantially zero amperes to cut off theLED light source 312. If theswitch monitoring signal 1450 indicates that thepower switch 304 is turned on, then thedimming controller 1908 generates a signal, e.g., logic high, at the terminal HV_GATE to turn the switch Q27 on. Then, the dimmingcontroller 1908 controls the current ILED flowing through the LEDlight source 312 according to signals on the terminal CTRL and the terminal CS. - In one embodiment, the dimming
controller 1908 detects a dimming request signal indicating an operation of thepower switch 304 according to theswitch monitoring signal 1450. In one embodiment, the dimmingcontroller 1908 receives the dimming request signal if theswitch monitoring signal 1450 indicates that thepower switch 304 performs a turn-off operation. When thepower switch 304 is turned on again, the dimmingcontroller 1908 adjusts an average current flowing though theLED light source 312 in response to the dimming request signal, to adjust the brightness of the LEDlight source 312. - The dimming
controller 1908 is capable of operating in a first mode and a second mode to adjust an average current of the LEDlight source 312. As described below, the current ILED represents the current flowing through the LED light source 302. During operation in the first mode, the current ILED is represented as the current ILED1. During operation in the second mode, the current ILED is represented as the current ILED2. - When the
dimming controller 1908 operates in the first mode, the voltage control terminal CTRL of thedimming controller 1908 provides apulse signal 1952 to alternately operate the control switch Q16 in a first state, e.g., a switch-on state, and a second state, e.g., a switch-off state. Thus, the current ILED1 flows through the LEDlight source 312, and varies according to the status of the control switch Q16. In one embodiment, during the switch-on state of the switch Q16, the current ILED1 flows through the LEDlight source 312, the switch Q16, the resistor R5, and ground. Thus, the current ILED1 increases. During the switch-off state of the switch Q16, the current ILED1 flows through the LEDlight source 312 and the diode D4, and thereby decreases. Thus, the average current flowing through the LEDlight source 312 can be adjusted by controlling the control switch Q16 in an analog dimming mode, a burst dimming mode, and/or a combination dimming mode, in one embodiment, which is further described in relation toFIG. 20 . - When the
dimming controller 1908 operates in the second mode, the dimmingcontroller 1908 provides acontrol signal 1954 at the voltage control terminal CTRL, e.g., a digital zero signal, which maintains the control switch Q16 in the switch-off state. Thus, the current ILED1 is cut off. Moreover, the dimmingcontroller 1908 conducts the current ILED2 through the LEDlight source 312 and the current control terminal CS. - Advantageously, the dimming
controller 1908 achieves a relatively wide range of dimming by selecting an operation mode from at least the first mode and the second mode. For example, if IMAX indicates a maximum level of the average current IAVERACE, then thedimming controller 1908 can operate in the first mode to adjust the average level IAVERAGE of the current ILED1 ranging from 4%*IMAX to 100%*IMAX (by way of example). Moreover, the dimmingcontroller 1908 is capable of operating in the second mode to adjust the average current IAVERACE to a lower level. For example, the dimmingcontroller 1908 sets the current ILED2 to aconstant level 1%*IMAX. In other words, the LEDlight source 312 in the second mode is adjusted to be darker than that in the first mode, which is beneficial for energy-efficient light applications such as, for example, night lighting. In addition, the current ILED2 in the second mode is at a substantially constant level, which does not vary according to turn-on and turn-off operations of the switch Q16. As such, the light emitted by the LEDlight source 312 is not interfered with by switching noise of the switch Q16, which enhances the lighting stability of the LEDlight source 312. -
FIG. 20 shows an example of a structure of thedimming controller 1908 inFIG. 19 , in an embodiment according to the present invention.FIG. 20 is described in combination withFIG. 15 andFIG. 19 . Elements labeled the same as inFIG. 15 andFIG. 19 have similar functions. In the example ofFIG. 20 , the dimmingcontroller 1908 includes a start-up andUVL circuit 508, apulse signal generator 504, atrigger monitoring unit 506, a dimmer 2002, adriver 2010, aswitch 2008 and acurrent source 2006. - In one embodiment, the
switch monitoring signal 1450 can be received by thetrigger monitoring unit 506 via the terminal CLK. Thetrigger monitoring unit 506 identifies the dimming request signal indicating a turn-off operation according to theswitch monitoring signal 1450. If a dimming request signal is received, thetrigger monitoring unit 506 generates an enablesignal 1510. - The dimmer 2002 includes a
counter 1504, areference signal generator 1506, aPWM generator 1508, and amode selection module 2004. Thecounter 1504 provides a counter value VALUE_1504 that varies in response to the enablesignal 1510. In one embodiment, thecounter 1504 increases the counter value VALUE_1504 in response to the enablesignal 1510. Alternatively, thecounter 1504 decreases the counter value VALUE_1504 in response to the enablesignal 1510.TABLE 3 VALUE_1504 0 1 2 ITARGET 100% * IMAX 30% * IMAX 1% * IMAX OPERATION MODE FIRST MODE SECOND MODE TABLE 4 VALUE_1504 0 1 2 ITARGET 1% * IMAX 30% * IMAX 100% * IMAX OPERATION MODE SECOND MODE FIRST MODE - The
mode selection module 2004 selects an operation mode for thedimming controller 1908 from the first mode and the second mode according to the counter value VALUE_1504. In one embodiment, the counter value VALUE_1504 indicates a required brightness level of the LEDlight source 312. The required brightness level corresponds to a target level ITARGET of the average current IAVERACE of the LEDlight source 312. Referring to Table 3 and Table 4, examples of the counter value VALUE_1504 of thecounter 1504 versus the target level ITARCET and the operation mode of thedimming controller 1908 are shown. In the example of Table 3, the counter value VALUE_1504 can be 0, 1 and 2, respectively indicating thetarget levels 100% * IMAX, 30% * IMAX and 1% * IMAX, where IMAX represents a maximum level of the average current IAVERAGE. In the example of Table 4, the counter value VALUE_1504 can be 0, 1 and 2, respectively indicating thetarget levels 1% * IMAX, 30% * IMAX, 100% * IMAX. - The
mode selection module 2004 compares the counter value VALUE_1504 to a threshold to determine the selection of the operation modes. By way of example, the threshold is set to 1 according to the examples of Table 3 and Table 4. In Table 3, themode selection module 2004 selects the first mode if the counter value VALUE_1504 is equal to or less than 1, and selects the second mode if the counter value VALUE_1504 is greater than 1. In Table 4, themode selection module 2004 selects the first mode if the counter value VALUE_1504 is equal to or greater than 1, and selects the second mode if the counter value VALUE_1504 is less than 1. Therefore, in the embodiments shown in Table 3 and Table 4, the first mode is selected if the target level of the average current IAVERAGE is relatively high, e.g., ITARGET is 30% * IMAX and 100 * IMAX. Moreover, the second mode is selected if the target level of the average current IAVERAGE is relatively low, e.g., ITARGET is 1% * IMAX, - Upon the selection of the operation mode, the
mode selection module 2004 controls theswitch 2008, thereference signal generator 1506, and thePWM generator 1508 to adjust the average current IAVERAGE. More specifically, in one embodiment, thecurrent source 2006 generates a substantially constant current ILED2. During operation in the first mode, themode selection module 2004 turns off theswitch 2008 to cut off the current ILED2, controls thereference signal generator 1506 to generate a reference signal REF, and controls thePWM generator 1508 to generate a pulse width modulation signal PWM1. The reference signal REF and the pulse width modulation signal PWM1 are used by thedriver 2010 to generate thepulse signal 1952 to control the switch Q16, in one embodiment. - In one embodiment, the
driver 2010 includes acomparator 534, a SR flip-flop 522, and an ANDgate 524. If the first mode is selected, thedriver 2010 operates similar to the corresponding components in thedimming controller 1408 inFIG. 15 . As described in relation toFIG. 15 , thecomparator 534 compares thesensing signal 1454 with the reference signal REF to generate a comparing signal COMP. Thepulse signal generator 504 generates apulse signal 536 having a waveform of periodical pulses. In one embodiment, the SR flip-flop 522 sets the pulse signal V522 to digital one when thepulse signal 536 is digital one, and resets the pulse signal V522 to digital zero when the comparing signal COMP is digital one (e.g., when thesensing signal 1454 reaches the reference signal REF). The ANDgate 524 receives the pulse signal V522 and the pulse-width modulation signal PWM1, and generates thepulse signal 1952 at terminal CTRL accordingly to control the control switch Q16. As such, when the pulse-width modulation signal PWM1 is at the first state, e.g., digital one, thepulse signal 1952 is equal to the pulse signal V522, which is switched between digital one and digital zero according to a result of the comparing signal COMP. When the pulse-width modulation signal PWM1 is at the second state, e.g., digital zero, thepulse signal 1952 remains at digital zero. As described in relation toFIG. 15 , the reference signal REF determines a peak level of the current ILED1. The duty cycle of the pulse width modulation signal PWM1 determines a ratio of a time when the switch Q16 is turned on to a time when the switch Q16 is turned off. Therefore, by adjusting the reference signal REF and/or the duty cycle of the pulse width modulation signal PWM1, the dimmer 2002 is capable of operating in an analog dimming mode, a burst dimming mode, and a combination dimming mode to adjust the average current IAVERAGE. - According to the example in Table 3, when the counter value VALUE_1504 is 0, the dimming
controller 1908 operates in the first mode, the reference signal REF has a level VREF0, and the duty cycle of the pulse width modulation signal PWM1 has a value DPWM0. If the counter value VALUE_1504 is changed from 0 to 1, the dimmingcontroller 1908 remains in the first mode, and the target level of the average current IAVERACE is changed from 100% * IMAX to 30% IMAX. If the dimmer 2002 operates in an analog dimming mode, the level of the reference signal REF is adjusted to be 30% * VREF0, and the duty cycle of PWM1 remains at the same value DPWM0. If the dimmer 2002 operates in a burst dimming mode, the level of the reference signal REF remains at the same level VREF0, while the duty cycle of PWM1 is adjusted to be 30% * DPWM0. If the dimmer 2002 operates in a combination mode, both the level of the reference signal REF and the duty cycle of PWM1 are changed, for example, the level of the reference signal REF is 50% * VREF0, and the duty cycle of PWM1 is 60% * DPWM0. In all the three instances, the average current IAVERAGE can be adjusted from 100% * IMAX to 30% * IMAX to achieve the dimming control for the LEDlight source 312 in the first mode. - When the
dimming controller 1908 operates in the second mode, e.g., if the counter value VALUE_1504 is changed from 1 to 2 according to Table 3, then thedimming controller 1908 generates thecontrol signal 1954 at the voltage control terminal CTRL to turn off the switch Q16. More specifically, themode selection module 2004 controls thePWM generator 1508 to maintain the pulse width modulation signal PWM1 at the second state, e.g., digital zero. The ANDgate 524 maintains the voltage at the terminal CTRL at a low electrical level to generate thecontrol signal 1954, e.g., a digital zero signal. Thus, the current ILED1 flowing through the LEDlight source 312 is cut off. - In addition, the
current source 2006 generates a substantially constant current ILED2, in one embodiment. Themode selection module 2004 generates aswitch control signal 2012 to turn on theswitch 2008. A current path for the current ILED2 is conducted, e.g., when the switch Q27 is turned on after a turn-on operation of thepower switch 304. As such, the current ILED2 flows through the LEDlight source 312, the current control terminal CS, theswitch 2008, and ground. As used herein, "a substantially constant current ILED2" means that the current ILED2 may vary but is within a range such that the current ripple caused by non-ideality of the circuit components can be neglected. Advantageously, since the current ILED2 is not affected by the switching noise of one or more switches, e.g., thepower switch 304 and/or the switch Q16, the line interface of thelight source 312 can be reduced or eliminated. As such, the lighting stability of the lightsource driving circuit 1900 is further improved. The dimmingcontroller 1908 can have other configurations and is not limited to the example shown inFIG. 20 . -
FIG. 21 shows an example of a diagram illustrating an operation of a light source driving circuit which includes thedimming controller 1908 inFIG. 19 , in an embodiment according to the present invention.FIG. 21 is described in combination withFIG. 19 andFIG. 20 .FIG. 21 shows the voltage VCLK at the terminal CLK, the counter value VALUE_1504 of thecounter 1504, the voltage VPWM1 of the pulse-width modulation signal PWM1, the duty cycle DPWM1 of the pulse-width modulation signal PWM1, the current ILED flowing through the LEDlight source 312, and the average level IAVERAGE of the current ILED. In the example ofFIG. 19 , the dimmingcontroller 1908 determines the operation mode and controls the average current of the LEDlight source 312 according to Table 3. - At time t0", the
power switch 304 is off. The dimmingcontroller 1908 turns off the switch Q27. The counter value VALUE_1504 is 0. Based upon Table 3, themode selection module 2004 selects the first mode, and the target level of the average current IAVERACE is 100% IMAX. Thus, thePWM generator 1508 adjusts the duty cycle DPWM1 to 100%, and thereference signal generator 1506 controls the reference signal REF to adjust the peak value of the current ILED to IPEAK, e.g., a maximum level of the peak value. At time t1", when the voltage VCLK at the CLK terminal has a rising edge indicating a turn-on operation of thepower switch 304, the average current IAVERACE is consequently adjusted to 100% IMAX. Between the time t1" and t2", the average current IAVERAGE is maintained at 100% * IMAX, - At time t2", the voltage VCLK has a falling edge indicating a turn-off operation of the
power switch 304. The switch Q27 is turned off to cut off the current ILED. Thus, between t2" and t3", the current ILED drops to substantially zero amperes and the average current IAVERACE drops to substantially zero amperes. - In one embodiment, upon detection of a turn-off operation of the
power switch 304 at time t2", a dimming request signal is received. The counter value VALUE_1504 is increased from 0 to 1. According to Table 3, themode selection module 2004 remains in the first mode from time t2" to time t4", and the target level of the average current IAVERACE is adjusted to 30% IMAX. In the example ofFIG. 21 , the dimmer 2002 operates in the combination mode, in which thePWM generator 1508 adjusts the duty cycle DPWM1 to 60%, and thereference signal generator 1506 controls the reference signal REF to adjust the peak value of the current ILED to be equal to 50% * IPEAK. When the voltage VCLK at the CLK terminal has a rising edge indicating a turn-on operation of thepower switch 304 at time t3", the average current IAVERACE is adjusted to 30% * IMAX. Between the time t3" and t4", the average current IAVERAGE is maintained at 30% * IMAX, - At time t4", a falling edge of the voltage VCLK indicates a turn-off operation of the
power switch 304, and thus a dimming request signal is received. In response, the counter value VALUE_1504 is increased from 1 to 2. According to Table 3, the target level of the average current IAVERACE is adjusted to 1% * IMAX, and themode selection module 2004 selects the second mode. As such, themode selection module 2004 generates theswitch control signal 2012 to turn on theswitch 2008. Between t4" and t5", both the current ILED and the average current IAVERACE are at zero amperes since thepower switch 304 and the switch Q27 are turned off. - At time t5", the voltage VCLK has a rising edge indicating a turn-on operation of the
power switch 304. Since the switch Q27 is turned on after a turn-on operation of thepower switch 304, and since theswitch 2008 is also turned on at time t4", the current path for the current ILED2 is conducted. The current ILED2 is equal to 1% * IMAX in one embodiment. Thus, between t5" and t6", the average current IAVERACE is maintained at 1% * IMAX, - Therefore, between t1" and t6", the dimming
controller 1908 selects an operation mode from the first mode and the second mode according to the counter value VALUE_1504. Advantageously, the dimmingcontroller 1908 achieves a relatively wide dimming range, e.g., a range of 100% * IMAX to 1% IMAX. The operations of thedimming controller 1908 are not limited to the example shown inFIG. 21 . In another embodiment, during the second mode, the dimmingcontroller 1908 is capable of providing another current, e.g., having a smaller constant current level 0.01 * IMAX, to flow through the LEDlight source 312 and the terminal CS. Thus, the brightness of the LEDlight source 312 can be lower to achieve a wider dimming range. In addition, the current ILED2 is at a substantially constant level, which does not vary according to turn-on and turn-off operations of the switch Q16. As such, the light emitted by the LEDlight source 312 is not interfered with by switching noises of the switch Q16, which increases the lighting stability of the LEDlight source 312. -
FIG. 22 shows aflowchart 2200 of operations performed by source dimming controller, e.g., the dimmingcontroller 1908, in an embodiment according to the present invention.FIG. 22 is described in combination withFIG. 19-FIG. 21 . Although specific steps are disclosed inFIG. 22 , such steps are examples. That is, the present invention is well suited to performing various other steps or variations of the steps recited inFIG. 22 . - In
block 2202, a light source, e.g., the LEDlight source 312, is powered by a regulated voltage from a power converter, e.g., thepower converter 310. - In block 2204, a switch monitoring signal is received. The switch monitoring signal indicates a conductance status of a power switch, e.g., the
power switch 304, coupled between a power source and the power converter. - In
block 2206, an operation mode is selected from at least a first mode and a second mode according to the switch monitoring signal. In one embodiment, when the switch monitoring signal indicating a turn-off operation of the power switch is received, the counter value of counter is changed from a first value to a second value accordingly. The counter value is compared with a threshold, e.g., 1, and the operation mode is selected according to a result of the comparison. - In
block 2208, a control switch, e.g., the switch Q16, is operated between a first state, e.g., a switch-on state, and a second state, e.g., a switch-off state according to a pulse signal, e.g., thepulse signal 1952, if the first mode is selected. In one embodiment, the first current, e.g., ILED1, flowing through the LED light source is increased during the first state of the control switch, and is decreased during the second state of the control switch. In one embodiment, if the first mode is selected, a reference signal, e.g., the reference signal REF, and a pulse-width modulation signal, e.g., the pulse-width modulation signal PWM1, are received. If the first mode is selected, a sensing signal indicating the first current flowing through the LED light source is compared with the reference signal. The control switch is turned on and off according to a result of the comparing during a first state, e.g., digital one, of the pulse-width modulation signal, and is turned off during a second state, e.g., digital zero, of the pulse-width modulation signal. In one embodiment, if the counter value is changed from a third value to a fourth value while still operating in the first mode, the level of the reference signal and the duty cycle of the pulse-width signal are adjusted to adjust the brightness of the LED light source. - In
block 2210, the first current, e.g., the current ILED1, is cut off according to a control signal, e.g., thecontrol signal 1954, if the second mode is selected. In one embodiment, in the second mode, the pulse-width modulation signal is maintained in the second state, e.g., digital zero, to generate the control signal, e.g., a digital zero signal, to cut off the first current. - In
block 2212, a substantially constant current, e.g., current ILED2, flows through the LEDlight source 312 if the second mode is selected. In one embodiment, the current ILED2 is provided by a current source, e.g.,current source 2006. When the second mode is selected, themode selection module 2004 generates aswitch control signal 2012 to turn on theswitch 2008 coupled with thecurrent source 2006 in series. - While the foregoing description and drawings represent embodiments of the present invention, it will be understood that various additions, modifications and substitutions may be made therein without departing from the spirit and scope of the principles of the present invention as defined in the accompanying claims. One skilled in the art will appreciate that the invention may be used with many modifications of form, structure, arrangement, proportions, materials, elements, and components and otherwise, used in the practice of the invention, which are particularly adapted to specific environments and operative requirements without departing from the principles of the present invention. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims and their legal equivalents, and not limited to the foregoing description.
Claims (19)
- A dimming controller for a light-emitting diode (LED) light source, said dimming controller comprising:a voltage control terminal configured to provide a pulse signal when said dimming controller operates in a first mode, said pulse signal operating a control switch in one of a first state and a second state, wherein a first current flowing through said LED light source increases during operation of said control switch in said first state and decreases during operation of said control switch in said second state, and wherein said voltage control terminal provides a control signal to said control switch to cut off said first current when said dimming controller operates in a second mode; anda current control terminal configured to conduct a second current through said LED light source when said dimming controller operates in said second mode.
- The dimming controller as claimed in claim 1, wherein said second current has a substantially constant level.
- The dimming controller as claimed in claim 1 or 2, further comprising:a monitoring terminal configured to receive a switch monitoring signal indicative of a conductance status of a power switch coupled between a power source and a power converter, wherein said power converter receives an input voltage from said power source and provides an output voltage to power said LED light source; anda dimmer coupled to said monitoring terminal and configured to select an operation mode from said first mode and said second mode according to said switch monitoring signal.
- The dimming controller as claimed in claim 3, wherein said dimmer comprises:a counter configured to provide a count value that varies according to said switch monitoring signal; anda mode selection module coupled to said counter and configured to select said operation mode according to said count value.
- The dimming controller as claimed in claim 4, wherein said mode selection module compares said count value with a threshold to select said operation mode.
- The dimming controller as claimed in claim 4 or 5, wherein said counter changes said count value from a first value to a second value if said switch monitoring signal indicates that said power switch performs a turn-off operation.
- The dimming controller as claimed in one of claims 1 to 6, further comprising:a dimmer configured to provide a reference signal and a pulse-width modulation signal; anda driver coupled to said dimmer and configured to compare said reference signal with a sensing signal indicating said first current through said LED light source, and further configured to generate said pulse signal based on a result of said comparing and also based on said pulse-width modulation signal during operation in said first mode.
- The dimming controller as claimed in claim 7, wherein said pulse-width modulation signal has a first state and a second state, and wherein said pulse signal turns said control switch on and off according to said comparing result with said pulse-width modulation signal in its first state and turns off said control switch with said pulse-width modulation signal in its second state.
- The dimming controller as claimed in claim 8, wherein said first current decreases until reaching a predetermined current level with said pulse-width modulation signal in its second state.
- The dimming controller as claimed in claim 8 or 9, wherein said dimmer maintains said pulse-width modulation signal in its second state if said dimming controller is switched to said second mode, wherein said control signal is generated at said voltage control terminal to cut off said first current.
- The dimming controller as claimed in one of claims 7 to 10, wherein said dimmer comprises:a counter configured to provide a counter value,wherein during operation in said first mode, said dimmer maintains the level of said reference signal and adjusts the duty cycle of said pulse-width modulation signal if said counter value is changed from a first value to a second value.
- The dimming controller as claimed in one of claims 7 to 10, wherein said dimmer comprises:a counter configured to provide a counter value,wherein during operation in said first mode, said dimmer adjusts the level of said reference signal and maintains the duty cycle of said pulse-width modulation signal if said counter value is changed from a first value to a second value.
- The dimming controller as claimed in one of claims 7 to 10, wherein said dimmer comprises:a counter that provides a counter value,wherein during an operation in said first mode, said dimmer adjusts both the level of said reference signal and the duty cycle of said pulse-width modulation signal if said counter value is changed from a first value to a second value.
- The dimming controller as claimed in claim 1, further comprising:a current source configured to generate said second current;a second switch coupled to said current source; anda dimmer configured to turn on said second switch to conduct said second current through said current control terminal and said LED light source when said dimming controller operates in said second mode, and further configured to turn off said second switch to cut off said second current when said dimming controller operates in said first mode.
- An electronic system comprising:a dimming controller according to one of claims 3 to 14; further comprising said power converter coupled to said dimming controller and configured to receive an input voltage from a rectifier and provide said output voltage to said light-emitting diode (LED) light source, wherein said power switch transfers power from an AC power source to said rectifier when said power switch is on, and wherein said dimming controller coupled to said power converter is configured to detect a dimming request signal indicative of an operation of said power switch, said dimming controller being operable in a mode selected from said first mode and said second mode to control dimming of said LED light source in response to said dimming request signal.
- A method for adjusting power for a light-emitting diode (LED) light source, comprising:powering said light source by a regulated voltage from a power converter;receiving a switch monitoring signal indicative of a conductance status of a power switch coupled between a power source and said power converter;selecting an operation mode from at least a first mode and a second mode according to said switch monitoring signal;operating a control switch at one of a first state and a second state if said first mode is selected, wherein a first current flowing through said LED light source increases during operation at said first state and decreases during operation at said second state;cutting off said first current if said second mode is selected; andconducting a substantially constant current through said LED light source if said second mode is selected.
- The method as claimed in claim 16, further comprising:receiving a reference signal and a pulse-width modulation signal;comparing a sensing signal indicative of said first current and said reference signal during operation in said first mode;turning said control switch on and off according to a result of said comparing with said pulse-width modulation signal at a first state if said first mode is selected;turning off said control switch with said pulse-width modulation signal at a second state if said first mode is selected; andmaintaining said pulse-width modulation signal in its second state to cut off said first current if said second mode is selected.
- The method as claimed in claim 16 or 17, further comprising:providing a counter value that is changed from a first value to a second value if said switch monitoring signal indicates that said power switch performs a turn-off operation; andcomparing said count value with a threshold to select said operation mode from said first mode and said second mode.
- The method as claimed in claim 18, further comprising:adjusting the level of said reference signal and the duty cycle of said pulse-width modulation signal if said counter value is changed from a first value to a second value during operation in said first mode.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/559,451 US9232591B2 (en) | 2008-12-12 | 2012-07-26 | Circuits and methods for driving light sources |
Publications (1)
Publication Number | Publication Date |
---|---|
EP2690930A1 true EP2690930A1 (en) | 2014-01-29 |
Family
ID=47757304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP13150915.0A Withdrawn EP2690930A1 (en) | 2012-07-26 | 2013-01-11 | Circuits and methods for driving light sources |
Country Status (5)
Country | Link |
---|---|
EP (1) | EP2690930A1 (en) |
JP (1) | JP2014026954A (en) |
CN (2) | CN103582239B (en) |
BR (1) | BR102013017991A2 (en) |
TW (2) | TWI556686B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613610A (en) * | 2017-09-26 | 2018-01-19 | 深圳市中科智联科技有限公司 | intelligent lighting controller |
CN108650738A (en) * | 2018-06-06 | 2018-10-12 | 深圳市巴丁微电子有限公司 | A kind of LED control circuit |
CN110035584A (en) * | 2019-04-28 | 2019-07-19 | 深圳市晟碟半导体有限公司 | A kind of LED light adjusting circuit, dimming device and light-dimming method improving light modulation precision |
US10630176B2 (en) | 2012-10-25 | 2020-04-21 | Semiconductor Energy Laboratory Co., Ltd. | Central control system |
DE102019103660A1 (en) * | 2019-02-13 | 2020-08-13 | Vossloh-Schwabe Deutschland Gmbh | Operating circuit for operating several loads |
CN112788815A (en) * | 2019-11-04 | 2021-05-11 | 海信视像科技股份有限公司 | Display device and power supply circuit |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI509974B (en) * | 2014-02-14 | 2015-11-21 | Elite Semiconductor Esmt | Ac voltage adjustment circuit and led brightness adjustment circuit |
TWI504313B (en) * | 2014-02-21 | 2015-10-11 | High utilization of light emitting diode components | |
TWI561118B (en) * | 2014-08-13 | 2016-12-01 | Ind Tech Res Inst | Dimming system and operating method thereof |
CN104486860B (en) * | 2014-11-12 | 2018-03-09 | 肖志军 | A kind of LED light adjusting circuit |
CN105680842B (en) * | 2014-11-18 | 2018-08-07 | 台湾半导体股份有限公司 | The driving circuit of operation mode can be adjusted by external pin |
CN105792471A (en) * | 2014-12-26 | 2016-07-20 | 凹凸电子(武汉)有限公司 | Light source driving circuit, controller and control method |
KR20170071307A (en) * | 2015-12-15 | 2017-06-23 | 엘지이노텍 주식회사 | Power apparatus and method for controlling output current of the same |
CN105744676B (en) * | 2016-01-29 | 2017-07-14 | 高玉扬 | A kind of LED light-dimming methods based on simple switch |
DE102016107578B4 (en) * | 2016-04-25 | 2023-06-01 | Vossloh-Schwabe Deutschland Gmbh | Operating circuit and method for operating at least one light source |
WO2017207329A1 (en) | 2016-05-30 | 2017-12-07 | Philips Lighting Holding B.V. | Method of lighting driver protection in case of loss of neutral connection, and lighting driver including such protection |
CN105934040B (en) * | 2016-06-15 | 2018-06-19 | 陕西亚成微电子股份有限公司 | A kind of light adjusting circuit |
CN106314013A (en) * | 2016-08-19 | 2017-01-11 | 李莉 | LED light source animation copy table with adjustable brightness |
CN109143873B (en) * | 2017-06-16 | 2024-08-06 | 佛山市顺德区美的电热电器制造有限公司 | Function switching control method and device, household appliance and storage medium |
US10136488B1 (en) * | 2017-10-05 | 2018-11-20 | Linear Technology Holding, LLC | LED dimming |
JP6988515B2 (en) * | 2018-01-25 | 2022-01-05 | セイコーエプソン株式会社 | Light source device, projection type display device, and semiconductor device |
CN110572902B (en) * | 2019-08-27 | 2022-05-24 | 昂宝电子(上海)有限公司 | Quasi-resonant dimming control system and method |
TWI716152B (en) * | 2019-10-16 | 2021-01-11 | 東林科技股份有限公司 | Dimming circuit, dimmer having the same and controller thereof |
CN110881231B (en) * | 2019-11-27 | 2021-05-18 | 成都芯源系统有限公司 | Dimming circuit and control method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100148681A1 (en) * | 2008-12-12 | 2010-06-17 | Ching-Chuan Kuo | Driving circuit with continuous dimming function for driving light sources |
US7759881B1 (en) * | 2008-03-31 | 2010-07-20 | Cirrus Logic, Inc. | LED lighting system with a multiple mode current control dimming strategy |
GB2482371A (en) * | 2010-07-30 | 2012-02-01 | Cirrus Logic Inc | A switching power supply integrated circuit that supports multiple topologies |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003157986A (en) * | 2001-11-26 | 2003-05-30 | Matsushita Electric Works Ltd | Lighting device |
JP2009123681A (en) * | 2007-10-25 | 2009-06-04 | Panasonic Electric Works Co Ltd | Led dimming apparatus |
TWI406596B (en) * | 2008-06-30 | 2013-08-21 | Green Solution Tech Co Ltd | Led driving circuit, led driving controller and transistor switching module thereof |
US8339067B2 (en) * | 2008-12-12 | 2012-12-25 | O2Micro, Inc. | Circuits and methods for driving light sources |
JP2010198860A (en) * | 2009-02-24 | 2010-09-09 | Koito Mfg Co Ltd | Discharge lamp-lighting circuit |
US9184660B2 (en) * | 2010-08-18 | 2015-11-10 | Finsix Corporation | Very high frequency switching cell-based power converter |
US8237371B2 (en) * | 2010-10-29 | 2012-08-07 | O2 Micro, Inc | Differential driving circuit for powering a light source |
CN102387639B (en) * | 2011-02-16 | 2013-08-21 | 凹凸电子(武汉)有限公司 | Driving circuit, method and dimming controller for driving light source |
TWM410424U (en) * | 2011-04-07 | 2011-08-21 | Excelliance Mos Corp | Driving circuit of light emitting diode and light source apparatus |
CN102395230B (en) * | 2011-05-04 | 2013-06-12 | 凹凸电子(武汉)有限公司 | Controller and method for controlling dimming of light sources, and light source driving circuit |
-
2012
- 2012-11-07 JP JP2012245058A patent/JP2014026954A/en active Pending
-
2013
- 2013-01-11 EP EP13150915.0A patent/EP2690930A1/en not_active Withdrawn
- 2013-03-25 TW TW102110490A patent/TWI556686B/en not_active IP Right Cessation
- 2013-04-28 CN CN201310155502.7A patent/CN103582239B/en not_active Expired - Fee Related
- 2013-05-08 CN CN201310167081.XA patent/CN103582240B/en not_active Expired - Fee Related
- 2013-06-19 TW TW102121793A patent/TWI533746B/en not_active IP Right Cessation
- 2013-07-15 BR BRBR102013017991-4A patent/BR102013017991A2/en not_active Application Discontinuation
Patent Citations (3)
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 |
US20100148681A1 (en) * | 2008-12-12 | 2010-06-17 | Ching-Chuan Kuo | Driving circuit with continuous dimming function for driving light sources |
GB2482371A (en) * | 2010-07-30 | 2012-02-01 | Cirrus Logic Inc | A switching power supply integrated circuit that supports multiple topologies |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10630176B2 (en) | 2012-10-25 | 2020-04-21 | Semiconductor Energy Laboratory Co., Ltd. | Central control system |
CN107613610A (en) * | 2017-09-26 | 2018-01-19 | 深圳市中科智联科技有限公司 | intelligent lighting controller |
CN107613610B (en) * | 2017-09-26 | 2023-10-24 | 深圳市中科智联科技有限公司 | Intelligent lighting controller |
CN108650738A (en) * | 2018-06-06 | 2018-10-12 | 深圳市巴丁微电子有限公司 | A kind of LED control circuit |
CN108650738B (en) * | 2018-06-06 | 2024-04-23 | 深圳率能半导体有限公司 | LED control circuit |
DE102019103660A1 (en) * | 2019-02-13 | 2020-08-13 | Vossloh-Schwabe Deutschland Gmbh | Operating circuit for operating several loads |
CN110035584A (en) * | 2019-04-28 | 2019-07-19 | 深圳市晟碟半导体有限公司 | A kind of LED light adjusting circuit, dimming device and light-dimming method improving light modulation precision |
CN110035584B (en) * | 2019-04-28 | 2024-03-19 | 深圳市晟碟半导体有限公司 | LED dimming circuit, dimming device and dimming method for improving dimming precision |
CN112788815A (en) * | 2019-11-04 | 2021-05-11 | 海信视像科技股份有限公司 | Display device and power supply circuit |
Also Published As
Publication number | Publication date |
---|---|
TWI556686B (en) | 2016-11-01 |
CN103582240A (en) | 2014-02-12 |
CN103582239A (en) | 2014-02-12 |
CN103582240B (en) | 2015-12-09 |
TW201406196A (en) | 2014-02-01 |
CN103582239B (en) | 2016-02-03 |
TW201406207A (en) | 2014-02-01 |
BR102013017991A2 (en) | 2014-12-23 |
TWI533746B (en) | 2016-05-11 |
JP2014026954A (en) | 2014-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2690930A1 (en) | Circuits and methods for driving light sources | |
US9232591B2 (en) | Circuits and methods for driving light sources | |
US8339067B2 (en) | Circuits and methods for driving light sources | |
EP2521423A2 (en) | Circuits and methods for driving light sources | |
US9386653B2 (en) | Circuits and methods for driving light sources | |
US8482219B2 (en) | Driving circuit with dimming controller for driving light sources | |
US20130278145A1 (en) | Circuits and methods for driving light sources | |
US8044608B2 (en) | Driving circuit with dimming controller for driving light sources | |
EP2403318B1 (en) | Circuits and methods for driving light sources | |
US8378588B2 (en) | Circuits and methods for driving light sources | |
US8508150B2 (en) | Controllers, systems and methods for controlling dimming of light sources | |
EP2498579A2 (en) | Controllers, systems and methods for controlling dimming of light sources | |
JP5492921B2 (en) | Circuit and method for driving a light source | |
US9030122B2 (en) | Circuits and methods for driving LED light sources | |
US9253843B2 (en) | Driving circuit with dimming controller for driving light sources | |
EP2611263A2 (en) | Circuits and methods for driving LED light sources | |
TW201519695A (en) | Light source driving circuit, color temperature controller and method for controlling color temperature of light source | |
US10757770B2 (en) | Light source driving circuits and light source module | |
GB2513478A (en) | Circuits and methods for driving light sources | |
GB2520425A (en) | Circuits and methods for driving light sources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20140730 |