METHOD AND APPARATUS FOR A LED DRIVER WITH HIGH POWER FACTOR

Information

  • Patent Application
  • 20120081039
  • Publication Number
    20120081039
  • Date Filed
    March 28, 2011
    13 years ago
  • Date Published
    April 05, 2012
    12 years ago
Abstract
A control circuit of a LED driver according to the present invention comprises an output circuit, an input circuit and an input-voltage detection circuit. The output circuit generates a switching signal to produce an output current for driving at least one LED in response to a feedback signal. The switching signal is coupled to switch a transformer. The input circuit samples an input signal for generating the feedback signal. The input signal is correlated to the output current of the LED driver. The input-voltage detection circuit generates an input-voltage signal in response to an input voltage of the LED driver. The input circuit will not sample the input signal when the input-voltage signal is lower than a threshold. The control circuit can eliminate the need of the input capacitor for improving the reliability of the LED driver.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to LED driver, and more specifically, the present invention relates to the control circuit and control method for LED driver with high power factor.


2. Description of Related Art


The offline LED driver normally will use flyback power conversion with primary side regulation for the output current regulation. FIG. 1 shows a prior art of an offline LED driver that has an input electrolytic capacitor 40 for the energy store. As shown in FIG. 1, the conventional offline LED driver includes a rectifier 12. The rectifier 12 receives an input line voltage VAC and rectifies the input line voltage VAC. The input electrolytic capacitor 40 is coupled to an output terminal of the rectifier 12 for the energy store. A voltage VDC is provided by the input electrolytic capacitor 40. A transformer 10 has a primary winding NP, a secondary winding NS and an auxiliary winding NA.


A terminal of the primary winding NP is coupled to receive the voltage VDC. Another terminal of the primary winding NP is coupled to a transistor 20. The transistor 20 is utilized to switch the transformer 10. A terminal of the secondary winding NS is coupled to a terminal of a rectifier 60. An output capacitor 65 is connected between another terminal of the rectifier 60 and another terminal of the secondary winding NS for providing an output voltage VO to a plurality of LEDs 70˜79. The LEDs 70˜79 are connected each other in series and connected to the output capacitor 65 in parallel. A terminal of the auxiliary winding NA is coupled to an anode terminal of a diode 41. A capacitor 45 is coupled between a cathode terminal of the diode 41 and the ground. The auxiliary winding NA charge the capacitor 45 through the diode 41 to generate a power source VCC for a switching controller 50.


The terminal of the auxiliary winding NA is further coupled to a voltage divider. The voltage divider has resistors 51 and 52. The resistors 51 and 52 are connected each other in series. The voltage divider generates a voltage-sense signal VS. The resistor 52 is further coupled to the ground. The switching controller 50 is coupled to a joint point of the resistors 51 and 52 for receiving the voltage-sense signal VS. The switching controller 50 generates a switching signal SW. The switching signal SW controls the transistor 20 to switch the transformer 10 for regulating an output (output current IO and/or the output voltage VO) of the LED driver. When the transistor 20 is turned on, a switching current IP will flow through the transformer 10. Through a resistor 30 coupled to the transistor 20, the switching current IP is utilized to generates a current-sense signal VCS. The current-sense signal VCS is coupled to the switching controller 50.


The waveforms of the input line voltage VAC and the voltage VDC are shown in FIG. 2. The voltage VDC is the voltage on the input electrolytic capacitor 40. The minimum voltage of the voltage VDC will maintain the power conversion operated properly. However, the input electrolytic capacitor 40 causes the distortion of an input current IDC and generate poor power factor (PF). Therefore, the capacitance of the input electrolytic capacitor 40 must be reduced to improve the power factor. However, without the input electrolytic capacitor 40 will cause the voltage VDC to be low. The low voltage of the voltage VDC may cause the feedback open loop for the LED driver. The output voltage VO of the LED driver can be expressed as,










V
O

=

N
×

V
DC

×


T
ON


T
-

T
ON








(
1
)







where the N is turn ratio of the transformer 10 (N=NS/NP; NP is the primary winding, NS is the secondary winding); the VDC is the input voltage of the transformer 10; TON is the on-time of the transistor 20; T is the switching period of the transistor 20.


In order to achieve a stable feedback loop and prevent the transformer saturation, the maximum duty cycle “TON/T” is limited, such as <80% in general. If the voltage VDC is too low, the maximum on-time TON of the switching signal SW will unable to maintain the output voltage VO (shown in equation (1)) and cause the feedback open loop. When the feedback loop is significantly on/off (close-loop and open-loop) in response to the change of the input line voltage VAC, an overshoot and/or undershoot signal can be easily generated at the output of the LED driver. Besides, the input electrolytic capacitor 40 is an electrolytic capacitor that is bulky and low reliability. The object of this invention is to improve the power factor of the LED driver. Another object of this invention includes eliminating the need of the input electrolytic capacitor 40 for improving the reliability of the LED driver and reducing the size and the cost of the LED driver.


SUMMARY OF THE INVENTION

It is an objective of the present invention to provide a control circuit and a control method for LED driver. It can eliminate the need of the input capacitor for improving the reliability of the LED driver.


It is an objective of the present invention to provide a control circuit and a control method for LED driver. It can control the LED driver to provide output regulation without input capacitor for improving the power factor, reducing the size and the cost of the LED driver.


It is an objective of the present invention to provide a control circuit and a control method for LED driver. It can control the LED driver to provide the constant current for driving the LED.


The present invention provides a control circuit and a control method for LED driver without input electrolytic capacitor. The control circuit according to the present invention comprises an output circuit, an input circuit and an input-voltage detection circuit.


The output circuit generates a switching signal to produce an output current for driving at least one LED in response to a feedback signal. The switching signal is coupled to switch a transformer. The input circuit samples an input signal for generating the feedback signal. The input signal is correlated to the output current of the LED driver. The input-voltage detection circuit generates an input-voltage signal in response to an input voltage of the LED driver. The input circuit will not sample the input signal when the input-voltage signal is lower than a threshold.





BRIEF DESCRIPTION OF THE DRAWINGS

The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:



FIG. 1 shows a schematic circuit diagram of the conventional offline LED driver with an input electrolytic capacitor.



FIG. 2 shows waveforms of the input line voltage VAC, the voltage VDC and the input current IDC of the conventional offline LED driver.



FIG. 3 shows a schematic circuit diagram of an embodiment of the LED driver according to the present invention.



FIG. 4 shows a schematic circuit diagram of an embodiment of a switching controller according to the present invention.



FIG. 5 shows waveform of the blanking signal BLK in response to the input voltage VIN and the input-voltage signal EIN according to the present invention.



FIG. 6 shows a schematic circuit diagram of an embodiment of the error amplifier of the switching controller according to the present invention.



FIG. 7 shows a schematic circuit diagram of an embodiment of the low-pass filter of the switching controller according to the present invention.



FIG. 8 shows a schematic circuit diagram of an embodiment of the PWM circuit of the switching controller according to the present invention.



FIG. 9 shows a schematic circuit diagram of an embodiment of the signal generation circuit of the PWM circuit according to the present invention.



FIG. 10 shows waveforms of the ramp signal RMP, the enable signal SENB, the pulse signal PLS and the switching signal SW of the PWM circuit according to the present invention.





DESCRIPTION OF THE PREFERRED EMBODIMENTS

The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.



FIG. 3 is a preferred embodiment of the present invention. The detail description of the primary-side controlled flyback power converter can be found in the prior arts of “Control circuit for controlling output current at the primary side of a power converter”, U.S. Pat. No. 6,977,824; “Close-loop PWM controller for primary-side controlled power converters”, U.S. Pat. No. 7,016,204; “Causal sampling circuit for measuring reflected voltage and demagnetizing time of transformer”, U.S. Pat. No. 7,349,229; and “Linear-predict sampling for measuring demagnetized voltage of transformer”, U.S. Pat. No. 7,486,528. Refer to the power factor correction, the skill has been disclosed in the prior art of “Switching control circuit for discontinuous mode PFC converters”, U.S. Pat. No. 7,116,090.


As shown in FIG. 3, this embodiment of the present invention is almost the same as the conventional offline LED driver (as shown in FIG. 1) except for the switching controller 100. Further, this embodiment doesn't need the input electrolytic capacitor 40 (as shown in FIG. 1). The transformer 10 includes the primary winding NP, the auxiliary winding NA and the secondary winding NS. The primary winding NP is coupled to receive an input voltage VIN. The rectifier 12 receives the input line voltage VAC and rectifies the input line voltage VAC for generating the input voltage VIN. Resistors 51 and 52 are connected to the auxiliary winding NA for generating the voltage-sense signal VS coupled to the switching controller 100.


The voltage-sense signal VS is a voltage signal correlated to the output voltage VO and the level of the input voltage VIN. The switching controller 100 is a control circuit that generates the switching signal SW. The switching signal SW is coupled to switch the transformer 10 through the transistor 20 for regulating an output (the output current IO and/or the output voltage VO). The switching controller 100 is a primary-side controlled controller. The resistor 30 is connected between the transistor 20 and the ground. When the transistor 20 is turned on, the switching current Ip will flow through the transformer 10. Via the resistor 30, the switching current IP is further utilized to generate the current-sense signal VCS. The current-sense signal VCS is coupled to the switching controller 100. The switching current IP is a current signal and correlated to the output current IO and the input voltage VIN. Therefore, the current-sense signal VCS represents the switching current IP and is correlated to the output current IO. The diode 41 and the capacitor 45 are coupled to the auxiliary winding NA to generate the power source VCC for the switching controller 100.



FIG. 4 is a circuit diagram of a preferred embodiment of the switching controller 100. The switching controller 100 comprises a first input circuit and a second input circuit. The first input circuit includes a voltage-detection circuit (V-DET) 150, a first error amplifier 160 and a first low-pass filter (LPF) 400. The second input circuit includes a current-detection circuit (I-DET) 200, an integrator 250, a second error amplifier 170 and a second low-pass filter (LPF) 450. The voltage-sense signal VS and the current-sense signal VCS are a first input signal and a second input signal provided to the voltage-detection circuit 150 and the current-detection circuit 200, respectively. The voltage-detection circuit 150 is connected to the voltage-sense signal VS and samples the voltage-sense signal VS to generate a first feedback signal and a demagnetizing-time signal SDS. The first feedback signal is a voltage-feedback signal VV. The demagnetizing-time signal SDS is coupled to the integrator 250. The voltage-feedback signal VV is coupled to the first error amplifier 160 to generate a first amplified signal EV by comparing with a first reference signal VRV. The first error amplifier 160 is used for developing a feedback loop. The first low-pass filter 400 is connected to the first amplified signal EV for a loop compensation (frequency compensation for the feedback loop) and generating a voltage-loop signal COMV. The detail description of the voltage-detection circuit 150 can be found in the prior arts, such as U.S. Pat. No. 7,016,204.


The current-detection circuit 200 is connected to the current-sense signal VCS to generate a second feedback signal through the integrator 250. The second feedback signal is a current-feedback signal VI. The current-detection circuit 200 measures the current-sense signal VCS to generate a current-waveform signal. The integrator 250 integrates the current-waveform signal with the demagnetizing-time signal SDS for generating the current-feedback signal VI. It means that the current-detection circuit 200 samples the current-sense signal VCS for generating the current-feedback signal VI. The integrator 250 is utilized for a constant current control. The detail description of the current-detection circuit 200 and the integrator 250 can be found in the prior arts, such as U.S. Pat. No. 7,016,204.


The current-feedback signal VI is further coupled to the second error amplifier 170 to generate a second amplified signal EI by comparing with a second reference signal VRI. The second error amplifier 170 is used for developing another feedback loop. The second low-pass filter 450 is connected to the second amplified signal EI for the other compensation (frequency compensation for this feedback loop) and generating a current-loop signal COMI. Both the voltage-loop signal COMV and the current-loop signal COMI are coupled to a PWM circuit 500 to generate the switching signal SW. The PWM circuit 500 is further coupled to receive the demagnetizing-time signal SDS.


The PWM circuit 500 is an output circuit that is utilized to generate the switching signal SW in response to the feedback signals. The switching signal SW is coupled to switch the transformer 10 through the transistor 20 for regulating the output of the LED driver. It is to say, the PWM circuit 500 generates the switching signal SW for regulating the output of the LED driver in response to the voltage-feedback signal VV and the current-feedback signal VI. The output of the LED driver is the output voltage VO and/or the output current IO (as shown in FIG. 3).


The output current IO of the LED driver is a constant current for driving LEDs 70˜79 (as shown in FIG. 3). Thus, the switching signal SW is controlled by the current-loop signal COMI to achieve a constant output current IO in the normal condition. The voltage-loop signal COMV is utilized to limit the maximum output voltage VO only during the LEDs 70˜79 is open-circuited. Therefore, in order to achieve a high PF, the second low-pass filter 450 is developed to provide a “constant on-time” for the switching signal SW during the period of line frequency. Thus, the bandwidth of the second low-pass filter 450 should be lower than the line frequency and the current-feedback signal VI is a low bandwidth signal for achieving the constant on-time for the switching signal SW. The line frequency is 50 or 60 Hz in general, but the input line voltage VAC (as shown in FIG. 3) is rectified by the bridge rectifier 12, the line frequency is doubled after the bridge rectifier 12 rectifies the input line voltage VAC, such as 120 Hz.


The voltage-sense signal VS is further coupled to an input-voltage detection circuit (VIN-DET) 110 to generate an input-voltage signal EIN. The voltage-sense signal VS is correlated to the input voltage VIN of the LED driver (as shown in FIG. 3). Therefore, the input-voltage detection circuit 110 detects the input voltage VIN of the LED driver through the resistors 51, 52 and generates the input-voltage signal EIN in response to the voltage level of the input voltage VIN of the LED driver. Thus, the level of the input-voltage signal EIN is correlated to the voltage level of the input voltage VIN of the LED driver. The input-voltage signal EIN is coupled to a comparator 120 to compare with a threshold VT.


The comparator 120 will generate a blanking signal BLK (a low-true signal) when the input-voltage signal EIN is lower than the threshold VT. The blanking signal BLK is coupled to the error amplifiers 160, 170 to stop the sampling of the voltage-feedback signal VV and the current-feedback signal VI. It is like the input circuits stopping sampling the input signal (voltage-sense signal VS and/or the current-sense signal VCS) when the input-voltage signal EIN is lower than the threshold VT. The blanking signal BLK is further coupled to low-pass filters 400, 450 to inhibit the sampling of the amplified signals EV and EI.



FIG. 5 shows the waveform of the blanking signal BLK in response to the input voltage VIN and the input-voltage signal EIN. The blanking signal BLK (a low-true signal) is generated when the input-voltage signal EIN is lower than the threshold VT.



FIG. 6 shows a preferred circuit schematic of the error amplifiers 160, 170. The error amplifiers 160, 170 are used for error-amplifying the feedback signal VX, such as the voltage-feedback signal VV or the current-feedback signal VI, and stopping the error-amplifying when the input-voltage signal EIN is lower than the threshold VT (as shown in FIG. 5). An operational amplifier 165 is a transconductance amplifier that is used for generating the amplified signal EX, such as the first amplified signal EV or the second amplified signal EI.


A switch 161 is coupled to receive the feedback signal VX, such as the voltage-feedback signal VV or the current-feedback signal VI, and connected to the negative-input of the operational amplifier 165. A reference signal VRX (e.g. the first reference signal VRV or the second reference signal VRI) is connected to the positive-input of the operational amplifier 165. A switch 162 is coupled in between the positive-input and the negative-input of the operational amplifier 165. The blanking signal BLK is coupled to control the switch 161. Through an inverter 163, the blanking signal BLK is coupled to control the switch 162. Therefore, the negative-input of the operational amplifier 165 is connected to the feedback signal VX normally.


For the transconductance amplifier, it is no current output and high impedance when the inputs of the transconductance amplifier are short circuit. Therefore, once the blanking signal BLK is enabled (logical low level), the negative-input and the positive-input of the operational amplifier 165 are short circuit and are connected to the reference signal VRX due to the switch 161 is turned off and the switch 162 is turned on. Therefore, the error amplifiers 160, 170 are disconnected with the feedback signal VX. It is like the error amplifiers 160, 170 stopping the error-amplifying when the input-voltage signal EIN is lower than the threshold VT.



FIG. 7 is a preferred circuit schematic of the low-pass filters 400, 450. The low-pass filters 400, 450 are used for low-pass filtering. The low-pass filtering is hold in the previous state when the input-voltage signal EIN is lower than the threshold VT (as shown in FIG. 5). It includes switches 420, 430 and capacitors 425, 435 to develop a low-pass switching filter for the loop compensation and providing the low pass filtering. One terminal of the switch 420 is couple to receive the amplified signal EX, such as the first amplified signal EV or the second amplified signal EI. The capacitor 425 is coupled in between another terminal of the switch 420 and the ground. The switch 430 is coupled in between the capacitor 425 and the capacitor 435. The capacitor 435 generates the loop signal COMX, such as the voltage-loop signal COMV or the current-loop signal COMI.


Clocking signals CK1 and CK2 are coupled to an input of AND gates 411 and 410 respectively. The blanking signal BLK is coupled to the other inputs of the AND gates 410 and 411. Output of the AND gate 411 controls the switch 420 for sampling the amplified signal EX to the capacitor 425. Output of the AND gate 410 controls the switch 430 for sampling the signal stored on the capacitor 425 to the capacitor 435 for generating the loop signal COMX.


The clocking signals CK1 and CK2 are coupled to control the switching of the switches 420 and 430 through the AND gates 411 and 410, in which the blanking signal BLK is coupled to turn off the switches 420 and 430 through the AND gates 410 and 411. Therefore, the signals on the capacitors 425 and 435 will be hold at the previous state once the blanking signal BLK is enabled.


In accordance with the present invention, the feedback loops of the LED driver will be hold at the previous state once the input voltage VIN is lower than the threshold VT. Thus, the feedback loops can be maintained as stable and without the overshoot and undershoot phenomena.



FIG. 8 is a preferred circuit schematic of the PWM circuit 500. A signal generation circuit (OSC) 300 generates a pulse signal PLS to turn on the switching signal SW through an inverter 90. The inverter 90 is coupled in between an output of the signal generation circuit 300 and a clock input ck of a flip-flop 97. An input D of the flip-flop 97 is coupled to receive the supply voltage VCC. An output Q of the flip-flop 97 is coupled to an input of an AND gate 98 to generate the switching signal SW at an output of the AND gate 98. Another input of the AND gate 98 is coupled to an output of the inverter 90 to receive the pulse signal PLS.


The signal generation circuit 300 further generates a ramp signal RMP coupled to negative-inputs of comparators 91, 92 to compare with the voltage-loop signal COMV and the current-loop signal COMI for turning off the switching signal SW via an AND gate 95. The voltage-loop signal COMV and the current-loop signal COMI are coupled to positive-inputs of the comparators 91, 92 respectively. Inputs of the AND gate 95 are coupled to outputs of the comparators 91, 92. An Output of the AND gate 95 is coupled to a reset-input R of the flip-flop 97 to reset the flip-flop 97 for turning off the switching signal SW.


The signal generation circuit 300 generates the pulse signal PLS in response to an enable signal SENB to achieve a “boundary current mode (BCM) operation” for the power conversion. The enable signal SENB is generated in response to the demagnetizing-time signal SDS and the switching signal SW. The BCM operation will help to improve the PF. The demagnetizing-time signal SDS is coupled to generate the enable signal SENB through an inverter 82, a delay circuit (TDEY) 83 and an AND gate 85. The switching signal SW is coupled to generate the enable signal SENB through an inverter 81 and the AND gate 85. The enable of the demagnetizing-time signal SDS means the transformer 10 (as shown in FIG. 3) is fully demagnetized.


An input of the inverter 82 receives the demagnetizing-time signal SDS, and an output of the inverter 82 is coupled to an input of the delay circuit 83. An output of the delay circuit 83 is coupled to an input of the AND gate 85. Another input of the AND gate 85 is coupled to an output of the inverter 81. An input of the inverter 81 is coupled to receive the switching signal SW. An output of the AND gate 85 generates the enable signal SENB.



FIG. 9 shows a circuit diagram of a preferred embodiment of the signal generation circuit 300. A current source 350 is coupled to charge a capacitor 340 through a switch 351. The current source 350 is coupled in between the supply voltage VCC and one terminal of the switch 351. The capacitor 340 is coupled in between another terminal of the switch 351 and the ground. A current source 355 is coupled to discharge the capacitor 340 via a switch 354. The current source 355 is coupled in between the ground and one terminal of the switch 354. Another terminal of the switch 354 is coupled to the capacitor 340. The switch 351 is controlled by a charge signal. The switch 354 is controlled by a discharge signal SDM. The capacitor 340 thus generates the ramp signal RMP coupled to comparators 361, 362 and 363.


The ramp signal RMP is coupled to a negative-input of the comparator 361. The ramp signal RMP is further coupled to positive-inputs of the comparators 362 and 363. The comparator 361 has a threshold VH coupled to a positive-input of the comparator 361 to compare with the ramp signal RMP. The comparator 362 has a threshold VL coupled to a negative-input of the comparator 362 to compare with the ramp signal RMP. The comparator 363 has a threshold VM coupled to a negative-input of the comparator 363 to compare with the ramp signal RMP, and the level of the thresholds is VH>VM>VL. NAND gates 365, 366 form a latch circuit coupled to receive the output signals of the comparators 361 and 362. The latch circuit outputs a discharge signal SD. The discharge signal SD is a maximum frequency signal. An input of the NAND gate 365 is coupled to an output of the comparator 361. An input of the NAND gate 366 is coupled to an output of the comparator 362. Another input of the NAND gate 365 is coupled to an output of the NAND gate 366. An output of the NAND gate 365 generates the discharge signal SD and is coupled to another input of the NAND gate 366. The discharge signal SD and an output signal of the comparator 363 are connected to inputs of an AND gate 367 for generating the discharge signal SDM.


The discharge signal SD is connected to an inverter 375 to generate the charge signal. The charge signal is connected to an inverter 376 to generate the pulse signal PLS. The pulse signal PLS is generated during the discharge period of the capacitor 340 (as shown in FIG. 10). The discharge signal SD is further coupled to an input of an AND gate 370 to generate a fast-discharge signal SFD. The fast-discharge signal SFD and the enable signal SENB are connected to inputs of an OR gate 371. An output of the OR gate 371 is connected to another input of the AND gate 370. Therefore, the enable signal SENB will trigger the fast-discharge signal SFD once the discharge signal SD is enabled. The fast-discharge signal SFD can be turned off only when the discharge signal SD is disabled.


A current source 359 is connected between the ground and one terminal of a switch 358. Another terminal of the switch 358 is coupled to the capacitor 340 through the switch 354. The switch 358 is controlled by the fast-discharge signal SFD. Since the current of the current source 359 is high, the capacitor 340 will be immediately discharged when the fast-discharge signal SFD is enabled. During the discharge period, the ramp signal RMP is hold at the level of the threshold VM until the enable signal SENB starts the fast-discharge signal SFD. Once the capacitor 340 is discharged lower than the threshold VL, the discharge signal SD will be disabled.


The demagnetizing-time signal SDS (as shown in FIG. 8) is thus able to trigger the pulse signal PLS once the discharge signal SD is enabled. Therefore, the switching control of the power conversion can be operated in BCM. The current of the current source 350, the capacitance of the capacitor 340 and the thresholds VH, VM, VL determine the maximum frequency of the discharge signal SD, and determine the maximum frequency of the switching signal SW (as shown in FIG. 8).



FIG. 10 shows the switching signal SW is operated at BCM. The switching signal SW is turned on at the period of T1. The period TS shows the demagnetizing time of the transformer 10 (as shown in FIG. 3). The demagnetizing time is correlated to the demagnetizing-time signal SDS.


It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

Claims
  • 1. A control circuit of a LED driver comprising: an output circuit, the output circuit generating a switching signal to produce an output current for driving at least one LED in response to a feedback signal, in which the switching signal is coupled to switch a transformer;an input circuit, the input circuit coupled to sample an input signal for generating the feedback signal; andan input-voltage detection circuit, the input-voltage detection circuit coupled to detect an input voltage of the LED driver and generate an input-voltage signal in response to the input voltage of the LED driver;wherein the input signal is correlated to the output current of the LED driver;the input circuit will not sample the input signal when the input-voltage signal is lower than a threshold.
  • 2. The control circuit as claimed in claim 1, wherein the input circuit further comprises a low-pass filer to provide a constant on time for the switching signal.
  • 3. The control circuit as claimed in claim 2, wherein the low pass filter is hold in the previous state when the input-voltage signal is lower than the threshold.
  • 4. The control circuit as claimed in claim 2, wherein a bandwidth of the low-pass filer is lower than a line frequency.
  • 5. The control circuit as claimed in claim 1, wherein the output circuit generates the switching signal operated in a boundary current mode.
  • 6. The control circuit as claimed in claim 1, wherein the input circuit further comprises an integrator for a constant current control.
  • 7. The control circuit as claimed in claim 1, wherein the input circuit further comprises an error amplifier for developing a feedback loop, the error amplifier is disconnected when the input-voltage signal is lower than the threshold.
  • 8. The control circuit as claimed in claim 1 is a primary-side controlled circuit.
  • 9. The control circuit as claimed in claim 1, further comprising a comparator for comparing the input-voltage signal with the threshold, in which the comparator generates a blanking signal to stop the input circuit sampling the input signal when the input-voltage signal is lower than the threshold.
  • 10. The control circuit as claimed in claim 1, wherein the input circuit comprises: a current-detection circuit, the current-detection circuit measuring the input signal to generate a current-waveform signal, the input signal being a current-sense signal;an integrator, the integrator integrates the current-waveform signal for generating the feedback signal, the feedback signal being a current-feedback signal;an error amplifier, the error amplifier comparing the current-feedback signal with a reference signal to generate a amplified signal; anda low-pass filter, the low-pass filter generating a current-loop signal in response to the amplified signal;wherein the output circuit generates the switching signal in response to the current-loop signal, the error amplifier is disconnected when the input-voltage signal is lower than the threshold, the low-pass filter is hold in the previous state when the input-voltage signal is lower than the threshold.
  • 11. The control circuit as claimed in claim 1, further comprising a voltage-detection circuit, the voltage-detection circuit generating a demagnetizing-time signal in response to a voltage-sense signal correlated to an output voltage of the LED driver, the output circuit generating the switching signal in response to the demagnetizing-time signal.
  • 12. The control circuit as claimed in claim 1, wherein the input-voltage detection circuit detects the input voltage of the LED driver through a resistor and generates the input-voltage signal in response to the input voltage of the LED driver.
  • 13. A method for controlling a LED driver comprising: generating a switching signal to produce an output current for the LED driver in response to a feedback signal, in which the switching signal is coupled to switch a transformer;sampling an input signal for generating the feedback signal, in which the input signal is correlated to the output current of the LED driver;generating an input-voltage signal in response to the level of an input voltage of the LED driver; andstopping the sample of the input signal when the input-voltage signal being lower than a threshold.
  • 14. The method as claimed in claim 13, wherein the feedback signal is a low bandwidth signal for achieving a constant on-time for the switching signal.
  • 15. The method as claimed in claim 13, wherein the switching signal is operated to achieve a boundary current mode of the power conversion.
  • 16. The method as claimed in claim 13, further error-amplifying the feedback signal, in which the error-amplifying is stopped when the input-voltage signal is lower than the threshold.
  • 17. The method as claimed in claim 13, further comprising a low-pass filtering for the loop compensation, in which the low-pass filtering is hold in the previous state when the input-voltage signal is lower than the threshold.
  • 18. The method for controlling the LED driver as claimed in claim 13 is a primary-side controlled method.
  • 19. The method as claimed in claim 13, wherein the input-voltage signal is generated by detecting the input voltage of the LED driver through a resistor.
  • 20. The method as claimed in claim 13, further generating a demagnetizing-time signal in response to a voltage-sense signal correlated to an output voltage of the LED driver for generating the switching signal in response to the demagnetizing-time signal.
REFERENCE TO RELATED APPLICATION

This Application is based on Provisional Patent Application Ser. No. 61/388,823, filed 1 Oct. 2010, currently pending.

Provisional Applications (1)
Number Date Country
61388823 Oct 2010 US