Abstract:
A fault protection and correction circuit for the control of a power converter is disclosed. An example circuit generates a waveform that drives a switch on or off and controls the power converter. The controller circuit in addition to power factor correction (PFC) circuitry includes a first and a second shut down mode modules, both of them cause the switching to stop. The circuit includes a module for receiving fault events. When a fault occurs, the controller enters the second shut down mode. The controller stays in the second shut down mode if the required current for this mode can be provided by the outside circuitry. Otherwise, the controller enters the first shut down mode that requires less current and subsequently restarts the controller. By modifying the outside circuitry the controller can respond differently to fault events.

Description:
TECHNICAL FIELD 
       [0001]    This disclosure relates generally to electronics and more specifically to fault protection and correction of power converters with Power Factor Correction (PFC) circuits for driving light emitting devices, such as Light Emitting Diode (LED). 
       BACKGROUND 
       [0002]    An AC/DC power converter is used to drive a string of LEDs. The AC/DC power converter includes a rectifier circuit for rectifying an AC input voltage into a DC voltage. The isolated AC/DC power converters additionally include a transformer to isolate the output (secondary side) from the input (primary side) of the converter and therefore separate grounds are used for the input and the output of the power converter circuit. The AC/DC power converters include PFC circuitry included in the controller that controls the flow of the input current so that the input current waveform is in phase with the waveform of the AC input voltage (e.g., a sine wave). For a good power factor, the input current waveform will follow the shape and phase of the input voltage. 
         [0003]    When a fault is detected in a power converter, many controllers of power converters implement latched fault protection by stopping the controller and waiting for a manual startup of the controller and the power converter. A number of other controllers in response to a fault implement auto retry protection and automatically restart the controller and the power converter. Some power converters implement a selectable fault protection mode by adding an extra input pin. Based on the voltage applied to the extra pin, in response to a fault the controller of the power converter either selects latched fault protection or auto retry protection. 
       SUMMARY 
       [0004]    A fault protection controller circuit of a power converter is disclosed. An example fault protection controller circuit couples to a PFC circuitry to provide a waveform for turning a switch on or off in the power converter. The fault protection controller circuit includes an input node, for receiving an input voltage and an input current as well as an output node for delivering an output waveform. The fault protection controller circuit also includes two modules for activating two shut down modes of the controller, the first shut down mode and the second shut down mode. The shut down modes are configured to shut down the controller circuit and disable the output waveform to drive a small current from the input node of the circuit. The circuit also includes a fault detection module coupled to the second shut down mode module and configured to detect fault events where detecting a fault event activates the second shut down mode. The circuit further includes an initial switching (wake up) module for generating a first output waveform, a normal switching module for generating a second output waveform, and an under voltage lock out (UVLO) module coupled to the input node of the fault detection and controller circuit. The UVLO is further coupled to the first shut down mode module and defines the input voltage requirements for activating the first shut down mode or enabling one of the initial switching mode or the normal switching mode modules. Finally the output of the enabled switching module is amplified and delivered at the output node. 
         [0005]    In another aspect, an example isolated AC/DC power converter uses the fault protection controller circuit. The power converter includes a primary side and a secondary side inductively coupled through a transformer and has different grounds for the primary and the secondary sides. The power converter also includes a primary fault controller with the PFC circuitry. A rectifying circuit receives an alternating input voltage and produces a rectified voltage coupled to the primary winding of the transformer where the primary winding is coupled through a switch to the primary side ground. The secondary winding of the transformer is coupled to an output load. The fault controller receives an input current and an input voltage from the rest of the circuit at its input node and provides an output waveform at its output node for controlling the switch coupled to the fault controller&#39;s output node and controlling the flow of current in the primary winding of the transformer. 
         [0006]    Based on the input voltage and current of the fault controller different modes of operation are activated. When the input voltage is below a first threshold V 1 , the fault controller activates the first shut down mode and disables the output waveform and drives a first shut down current (I 1 ). In the next phase, when the input voltage reaches a second threshold V 2  greater than V 1 , the controller transitions to the initial switching mode (wake up) and provides a first output waveform for switching and driving an initial switching current (I 3 ). In a next phase, when the power converter can supply a current I 4  higher than I 3 , the fault controller transitions to the normal switching mode which provides the normal operation of the power converter and generates a second output waveform for switching. During normal switching and initial switching (wake up) modes, if the controller receives a fault event, the fault protection controller activates the second shut down mode and disables the output waveform and drives a second shut down current (I 2 ) where I 2  is greater than I 1 . 
         [0007]    An example method is the delivering of a waveform by a fault controller to turn a switch on and off. The fault controller receives an input current and an input voltage from the rest of the circuit. The fault controller activates the first shut down mode and stops switching when the input voltage is below a first threshold V 1 . In this mode, the output waveform is disabled and the lowest input current I 1  is required by the fault controller which is a value less than the input current that can be supplied to the fault controller. As the result, the input voltage increases to a higher second threshold V 2  where at this point the fault controller transitions to the initial switching (wake up) mode, which delivers a first output waveform to the switch and requires an input current I 3 , which is greater than I 1 . During the initial switching (wake up) mode, the switching starts and then continues until the controller transitions to the normal switching mode where a second output waveform is delivered to the switch and an even higher input current I 4  is drawn by the fault controller. If a fault event occurs in normal switching or initial switching modes, the fault controller activates the second shut down mode that disables the output waveform and requires an input current I 2 . The current I 2  is more than I 1 . Depending on the rest of the circuit that supplies the input current, if the required current I 2  is sustainable the controller stays in the second shut down mode. But if it is not sustainable the input voltage drops below V 1  and the fault controller activates the first shut down mode where a restarting automatically happens. 
         [0008]    Another example method is fault protection and controller of a power converter. The power converter is controlled by a fault controller that generates a waveform for driving a switch where turning on or off the switch controls the amount of energy in the output of the power converter. The fault controller starts up and the power converter starts working when the fault controller activates in sequence the first shut down mode followed by the initial switching mode and then the normal switching mode. The power converter is configured to include separate paths for supplying the input current and the input voltage of the fault controller. The first path is constantly supplying and is not affected by the switching action. The second path is governed by the switch and stops supplying when the switching is disabled (stops). 
         [0009]    When a fault occurs, the fault controller activates the second shut down mode, disabling the output waveform and stop switching. The input voltage and current is supplied through the first path of the power converter. If the current supplied through the first path is enough to deliver the required current of the second shut down mode the fault controller stays in this mode and the switching stops. If the current supplied through the first path is not sufficient to sustain the second shut down mode the fault controller activates the first shut down mode that requires smaller current compared to the second shut down mode. Activating the first shut down mode causes an automatic restart of the controller. 
         [0010]    Particular implementations of a PFC controller circuit that combines two different modes of fault protection and correction into one circuit is disclosed. A mode of fault protection and correction may be selected without a need for an extra selection node for the circuit. The selection is done by a configuration of the circuit outside the controller. Therefore, one controller can be configured for providing latched fault protection or auto retry protection. The circuit may be implemented in an integrated circuit chip for controlling the lighting of a LED diode string, detecting the fault and selecting either of the latched fault protection or the auto retry fault protection without an extra pin for the chip. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0011]      FIG. 1  is a circuit diagram of an example fault controller circuit coupled to a PFC circuit to create a fault controller. 
           [0012]      FIG. 2  is a circuit diagram of an example isolated AC/DC power converter with a fault controller circuit and LED string load. 
           [0013]      FIG. 3  is a flow diagram of an example method for driving the controller of the example circuit of  FIG. 1 . 
           [0014]      FIG. 4  is a flow diagram of an example method for controlling an AC/DC power converter with the fault controller circuit of  FIG. 2 . 
           [0015]      FIG. 5  is a timing diagram of example current and voltages for auto retry fault protection. 
           [0016]      FIG. 6  is a timing diagram of example current and voltages for latched fault protection. 
       
    
    
     DETAILED DESCRIPTION 
       [0017]      FIG. 1  is an example circuit  100  designed to protect from fault events and produce waveforms for controlling the power converter. The isolated power converter utilizes a transformer (not shown) between the input and the output of the power converter. The circuit  100  as the primary controller regulates the flow of current in the primary side of the transformer. The waveform generated by the primary controller that turns a switch coupled to the primary of the transformer on or off determines the amount of energy transferred from the input to the output of the power converter. The circuit  100  is also used for AC/DC power converters where an inductor replaces the transformer and the input and output of the converter are not isolated. The circuit  100  can be included in any power converter and by modifying the output waveform of the circuit  100  the output of the converter is controlled. An example of the output waveform is a series of pulses where a frequency and a duty cycle are the parameters to control the flow of energy. As another example is the utilization of a pulse width modulation (PWM) scheme for the output waveform. 
         [0018]    The circuit  100  includes an input node  105  to receive an input voltage and an input current and an output node  150  to provide an output waveform. It also includes a fault detection module  140  configured to receive fault detection events as well as a first shut down mode module  115  and a second shut down mode module  120  where the fault detection module is coupled to the second shut down mode module. When the circuit is in shut down mode, one of the first shut down mode module  115  or the second shut down mode module  120  is activated. Activating either of the shut down modes disables the output waveform and reduces the input current of the circuit. The first shut down mode shuts down most of the circuit components and reduces the input current to a first shut down current I 1  or an example current of 20 micro amperes. The second shut down mode shuts down a number of the circuit components and reduces the input current to a second shut down current I 2  where I 2  is larger than I 1  and as an example is 200 micro amperes. When a fault event occurs, the module  140  commands the module  120  and activates it, disabling the output waveform and reducing the input current to I 2 . The circuit also includes a under voltage lock out (UVLO) module  110  coupled to the input node  105  that receives an input voltage and an input current from the input node  105 . The UVLO is configured such that when the input voltage gets below a first threshold voltage V 1  the module  110  activates the first shut down mode module  115 . Entering the first shut down mode causes the fault controller circuit to disable the output waveform and reduce the input current to the I 1 . The output waveform controls a switch (not shown) coupled to the controller circuit. Disabling the output waveform causes the switching to stop and the switch to stay off (e.g., open). 
         [0019]    After activating the first shut down mode or at the initial power up, the output waveform stays disabled until the input voltage at the input node  105  reaches a second threshold value V 2  where V 2  is greater than V 1 . At this point the UVLO module  110  informs the first shut down mode module  115  of the voltage change and in response module  115  enables the initial switching module  125  while keeping the normal switching module  130  still disabled. The initial switching module  125  produces a first output waveform that after amplification by the gate driver module  135  is delivered at the GATE node  150 . The GATE node is coupled to a switch and the switch initiates switching and current flows through the rest of the circuit further rising the input voltage and current. During initial switching the fault controller drives the initial switching current I 3  greater than I 2 . When the fault controller circuit can be supplied a normal switching current I 4  greater than I 3 , the circuit transitions from the initial twitching mode to the normal switching mode by disabling the initial switching module  125  and enabling the normal switching module  130  and generating a second output waveform that is delivered to the GATE node  150 . 
         [0020]    The response of the fault controller to a fault event depends on the power converter configuration that utilizes the controller and the input current and voltage the rest of the circuit can provide. When a fault event occurs the fault detection module  140  activates the second shut down mode module and disables the output waveform and stops switching and the controller circuit starts drawing a low input current of I 2 . The converter&#39;s circuitry outside the fault controller being capable of sustaining I 2 , prevents the input voltage to drop below V 1  and the controller indefinitely stays in this second shut down mode and a manual intervention is needed to take it out of this mode. However, if the power convert circuitry cannot sustain I 2  and drawing I 2  causes the input voltage at node  105  to drop below V 1 , the fault controller activates the first shut down mode. Transitioning to the first shut down mode further reduces the input current to the first shut down current I 1 . The power converter circuit is designed to sustain a current more than I 1  when the fault controller is in shut down mode and this causes the input voltage to rise. When the input voltage reaches V 2  the circuit wakes up again and transitions to the initial switching mode. If the cause of fault is not removed this cycle indefinitely continues but the speed of repetition depends on the power converter&#39;s circuitry outside the fault controller circuit and how fast the voltage at node  105  rises. Examples of fault events are an over voltage protection event, an over current protection event, a load current short protection event, a line surge protection event, and an over temperature protection event. 
         [0021]    In an example, the fault controller circuit including the initial switching mode and the normal switching mode modules are configured to generate waveforms that are adapted to comply with PFC requirements. The outputs of the modules are configured to be delivered to the driver DR module  135 . The output of the driver  135  is coupled to circuit&#39;s GATE node  150 , which constitutes the output of the controller circuit. The GATE output  150  of the circuit  100  is configured to drive a switch (not shown) of a power converter. The driver  135  amplifies the output signal that drives the switch. In an example, the fault controller circuit  100  is coupled to a PFC circuitry and additionally corrects the power factor for each mode of operation. In another example the combination of the fault controller circuit and the PFC circuitry are included in an integrated circuit chip. 
         [0022]      FIG. 2  is an example of an isolated AC/DC power converter circuit  200  that incorporates the fault protection primary controller circuit of  FIG. 1  as its module  255 . The isolated AC/DC power converter circuit incorporates a transformer  220  that magnetically couples the primary side  222  with the secondary side  224 . The primary side  222  is part of the input circuit with an input ground  206  and the secondary side  224  is part of the output circuit with and isolated output ground  234 . 
         [0023]    The output of circuit  200  includes the secondary winding  224  of the transformer that is inversely coupled to its primary winding and is coupled to the anode of diode  230  from one side and the isolated ground  234  from the other side. A load  240  in parallel with an output capacitor  232  is coupled between the cathode of diode  230  and the ground  234 . The example circuit has a string of LEDs as its load. 
         [0024]    The input of circuit  200  includes the primary winding  222  of the transformer and is coupled to the ground  206  through a switch  260  from one side and to the rectifying Bridge  204  from the other side where the Bridge  204  is supplied through an alternating current (AC) line  202 . At initial power up and before the required voltage is supplied to module  255  through its node  258  to begin producing a waveform at node  256 , the input capacitor  212  is charged through resistor  210 . When the voltage at node  208  reaches to a value V 2  that module  255  starts operating, the switch  260  starts turning on and off and a current start flowing in the output side as well as the auxiliary winding  226 . The current produced by the auxiliary winding  226  also charges the input capacitor  212  through the diode  218  and resistor  216  and during normal operation of the power converter this current is the main source to charge capacitor  212  and provides the current at node  258 . A Zener diode  214  coupled in parallel with capacitor  212  clamps the voltage at node  258 . The secondary and auxiliary windings  224  and  226  are inversely coupled to the primary winding  222  and because of the orientation of the diodes  230  and  216 , the current through both windings  224  and  226  flow when the switch  260  turns off. 
         [0025]    The module  255  incorporated in circuit  200  is an example of a fault protection controller circuit displayed in  FIG. 1  where its node  254  is coupled to primary side ground  206 . The input voltage and current of the module  255  is supplied through capacitor  212  coupled to the module&#39;s input node  258 . There are two paths for charging capacitor  212 . The first path is using the rectifier and through resistor  210 . As long as the alternative current (AC) source is connected the capacitor  212  is charges through the first path. The second path is through the auxiliary winding  226  of the transformer. The capacitor  212  is also charged through the auxiliary winding when the switching occurs in the initial switching mode or normal switching mode but not in any shut down mode. The module  255  is configured to receive its input current and voltage from node  258  and to supply an output waveform at node  256  to make the switch on or off. When the fault controller activates either of the first or second shut down modes the output waveform is disabled and the switch  260  stays off (open) and as a result no current flows through the primary  222 , secondary  224 , or auxiliary  226  windings. In other situations an output waveform adapted for initial switching or normal switching is delivered at the GATE node  256  where it turns the switch  260  on or off. 
         [0026]    The example circuit  200  is an isolated AC/DC power converter. If an inductor replaces the transformer of the isolated AC/DC power converter, the input and the output of the converter do not stay isolated anymore and share the same ground and the same module  255  can be used for the output control of the new circuit. There are other methods and routes for supplying the input voltage and current to module  255 . It is important that a first group of one or more routes supply the current and do not depend on the switch and a second group of one or more of the routes only supply the input current to module  255  when the switch is turning on or off. The total current supplied by the first group or routes determines whether after a fault event the fault controller stays in the second shut down mode or transitions to the first shut down mode. A modification of the circuitry outside module  255  can change the current supplied by the first group of routes and modify the response of the fault controller to a fault event. The current supplied by the second group of routes provides the required current in the initial and normal switching modes. As an example, in circuit  200  the first group of routes or paths consists of only one route, the rectifier that charges the capacitor  212  through resistor  210 . The second group of paths or routes in circuit  200  consists of only one route as well, the auxiliary winding  226  that charges the capacitor  212  through diode  218  and resistor  216 . Modifying the resistor  210  of circuit  200  changes the response of the fault controller to a fault event. 
         [0027]      FIG. 3  is a flow diagram of process  300  implemented on the circuit  100  of  FIG. 1  for fault protection and control of a power converter. The fault controller circuit receives an input voltage and current in step  310  and activates the first shut down mode in step  320  when the input voltage drops below a first threshold voltage V 1 . When the input voltage increases to the second threshold voltage V 2  the controller wakes up and transitions to the initial switching mode in step  330 . When the normal switching input current I 4  can be provided to the fault controller it activates the normal switching mode in step  340 . In step  350 , if a fault event is received by the controller circuit while in initial or normal switching modes, the fault controller automatically activates the second shut down mode. Depending on the input voltage and in step  360 , the fault controller stays in the second shut down mode or activates the first shut down mode and restarts the fault controller. 
         [0028]      FIG. 4  is a flow diagram of a process  400  for controlling a power converter utilizing a fault protection and controller circuit and implemented on an example circuit  200  described in reference to  FIG. 2 . In step  410  the input current and voltage is supplied to a fault controller where the input current and voltage is supplied through separate paths. In step  420  an output waveform is delivered by the fault controller and in step  430  the output waveform is applied to a switch that controls the output of the power converter. In step  440  the fault controller starts up by activating the first shut down, the initial switching, and the normal switching modes in sequence. In step  450  a fault event occurs and the controller enters the second shut down mode. Based on the supplied current and voltage to the input of the fault controller, it stays in the second shut down mode or restarts the fault controller in step  460 . 
         [0029]    In  FIG. 5  an example timing diagram  500  of auto retry fault protection for the fault controller of  FIG. 2  is shown. The voltage V(D) is the voltage of the point  265 , the current I(V) is the current entering node  258  and V is the voltage of node  258  all displayed in  FIG. 2 . In phase I of  FIG. 5 , the controller is in the first shut down mode and the controller input drives the smallest current I 1 . This causes the resistor-capacitor circuit coupled to rectifier to charge the capacitor and increase the input voltage. In phase II the input voltage reaches the second threshold voltage V 2  and the controller starts waking up (initial switching) and drawing a current I 3 . Note that passing the first threshold voltage V 1  had no effect and also that the increase in the input current from I 1  to I 3  is due to the current provided to the output of the controller as show by the voltage V(D) displaying that the transistor switch is turning on and off. In this phase the input voltage should stay between the thresholds V 1  and V 2 . In phase III (normal switching) as shown by the V(D) the switching increases and current through the auxiliary winding charges the capacitor to the level that the input voltage is clamped by the Zener diode voltage VZ. At the end of phase III a fault occurs and the controller enters the second shut down mode and requires a current I 2  more than I 1 . As shown in phase IV the circuit is not able to sustain I 2  and the input voltage drops until it falls below the first threshold voltage V 1  and the controller enters the first shut down mode again. Entering the first shut down mode causes the above cycle to repeat. 
         [0030]    In  FIG. 6  an example timing diagram  600  of latched fault protection for the fault controller of  FIG. 2  is shown. As described, the voltage V(D) is the voltage of the point  265 , the current I(V) is the current entering node  258  and V is the voltage of node  258  all in  FIG. 2 . Phase I to phase III of  FIG. 6  is the same as the same phases in  FIG. 5 . However, after the fault happens at the end of phase III in  FIG. 6  the circuit can sustain the current I 2  and nothing further changes with the input voltage being latched to the Zener voltage and the switching stopped as the controller continue to stay in the second shut down mode. The example currents I 1 , I 2 , I 3 , and I 4  graphed in  FIG. 5  and  FIG. 6  are not current variations as a function of time. The displayed values show an average or a level of current in each phase and indicate that values are distinct from each other.