The present disclosure relates to a switching mode power supply. More particularly, the present disclosure relates to a transformer-based flyback converter.
Unless otherwise indicated herein, the approaches described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
When the switch Q is switched ON (closed), an input current IP from the DC input flows through the primary winding of the transformer T, creating a magnetic field in the transformer core and inducing a voltage in the secondary winding. At this time, the diode D is reverse biased (the dotted end is at a higher potential than the other terminal) and so no current flows through the secondary winding (IS=0).
When switch Q is switched OFF (opened) after some time, the current path in the primary winding is broken (IP=0). The magnetic field collapses causing a voltage reversal to occur in the primary and secondary windings. The reversal in voltage polarity in the secondary winding results in the diode D being forward biased, resulting in the flow of current IS. The current IS charges capacitor C, causing Vout to increase from 0V. When the capacitor C is charged, a current flow IC from the capacitor can drive a load connected across the output terminals 104 and 106.
A feedback path 108 from the output Vout may be used to control a duty cycle (e.g., the ON time of a switching cycle expressed as a percentage of the period of the switching cycle) of the switching control signal in order to vary the currents IP and IS in order to maintain a charge the capacitor C to maintain a desired voltage level for Vout. At power up, however, Vout increases from an initial voltage level of 0V. Accordingly, the feedback path 108 may not be able to provide an adequate feedback signal to properly control the ON and OFF times for switch Q. Depending on the startup sequence used to initially charge the capacitor C, the transformer T may be driven into saturation during the startup sequence. Driving the transformer T into saturation can result in sufficiently high voltage levels across the switch Q (e.g., drain-source voltage VDS in a MOSFET) as to damage the switch. A solution is to use sufficiently large transformer that has a higher saturation rating. However, such devices are generally expensive, and more critically, may be too large for a given design. Likewise, a sufficiently robust MOSFET device having a high voltage rating may be too large for a given design and/or too expensive to use.
In embodiments, a flyback converter may receive an input voltage on a primary winding of a transformer. During a startup period, a controller circuit controls a transistor switch to control a flow of current through the primary winding. In some embodiments, the controller generates a first control signal having a first duty cycle during the startup period. Subsequent to the startup period, the controller generates a second control signal having a second duty cycle greater than the first duty cycle. The longer OFF time of pulses comprising the first control signal avoid driving the transformer into saturation.
In some embodiments, the controller includes a pulse generator having a given duty cycle. The first control signal may comprise pulses from the pulse generator, and in particular may comprise every Nth pulse from the pulse generator.
In an embodiment a count value may be stored in a memory. The value for N may be determined from the count value.
In another embodiment, a sense signal based on the input voltage may be use to generate control pulses for the startup period. In particular, the pulse widths may be determined by monitoring the sense signal. In an embodiment, the monitoring includes comparing the sense signal with a threshold value.
The following detailed description and accompanying drawings provide a better understanding of the nature and advantages of the present disclosure.
In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be evident, however, to one skilled in the art that the present disclosure as defined by the claims may include some or all of the features in these examples alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
In some embodiments, such as illustrated in
The rectifier circuit 204 outputs a current 204a to a resistor RS that is indicative of the input current IP. The rectifier circuit 204 outputs rectified voltage Vin 204b to a startup circuit 206 and to a transformer (flyback transformer) 208. In some embodiments, the startup circuit 206 may generate a power supply voltage (e.g., VDD) to provide power to a controller 210. The startup circuit 206 may also generate a control signal Vin
In accordance with the present disclosure, the controller 210 is configured to perform a startup switching sequence and a normal switching sequence, which will be explained in more detail below. The controller 210 is connected to a switch M1. In some embodiments, the switch M1 may be a MOSFET power device. The controller 210 generates a switching control signal SW which is may be coupled to a gate terminal G of switch M1, thereby controlling the ON state and OFF state of the switch. The controller 210 receives an over-current sense signal 210a, which in some embodiments, may be a voltage level across the resistor RS. In embodiments, the over-current sense signal 210a is based on the input voltage Vin and may be used to detect and over-current condition. As will be explained in more detail below, the over-current signal may be used in some embodiments to control generation of the switching control signal SW.
The controller 210 may be connected to a configuration memory 212 containing parameters to configure operation of the controller. For example, in accordance with principles of the present disclosure, the configuration memory 212 may include one or more parameters, including skip count 212a, over-current step value 212b, over-current start value 212c, and Vout
In some embodiments, the controller 210 may be implemented as an Application Specific Integrated Circuit (ASIC), or with a Digital Signal Processor (DSP), or using a Field Programmable Gate Array (FPGA), and so on. The configuration memory 212 may be incorporated into the logic of the controller 210, or the configuration memory may be a memory device (e.g., flash memory) separate from the controller logic.
The transformer 208 includes a primary winding P and a secondary winding S. The rectified voltage 204b from the rectifier circuit 204 is connected to the “dotted” terminal of the primary winding. The “dot” nomenclature is a conventional notation used when designing with transformers to indicate the direction of current flow. The undotted terminal of the primary winding P is connected to a drain terminal D of the switch M1. The source terminal S of the switch M1 is connected to ground potential.
On the secondary side, a diode 222 is connected between the undotted terminal of the secondary winding S and an output terminal 224a of the flyback converter 200. The dotted terminal of the secondary winding S is connected to another output terminal 224b of the flyback converter 200. A capacitor 226 is connected between the terminals of the secondary winding S.
A feedback error circuit 228 and an optical coupler 230 provide a feedback path to the controller 210. The feedback error circuit 228 outputs a level based on the output voltage Vout of the flyback converter 200. The optical coupler 230 provides a feedback signal 210b to an input of the controller 210, while at the same time isolating the output side (i.e., circuitry connected to the secondary winding S) of the flyback converter 200 from the controller to protect the controller (and other circuitry on the input side; for example, the circuitry connected to the primary winding P) from potential damage due to high voltages that may be generated on the output side.
As will be explained in more detail below, the controller 210 uses the feedback signal 210b to control the switching of switch M1 during the normal switching sequence. In some embodiments, the configuration memory 212 may include a threshold voltage level Vout-threshold 212d that the controller 210 uses to maintain a desired level of Vout.
General operation of the flyback converter 200 includes the controller 210 controlling the switch M1 to turn ON for a period of time, thus producing a flow of current IP in the primary winding P that increases over time. The increase in IP during the ON period can be expressed as follows:
where ΔIP is the change in the current IP during the ON period,
When the controller 210 controls the switch M1 to turn OFF, current flow IP ceases and a current flow IS is produced as the magnetic field in the transformer 208 begins to collapse. The change in the current IS during the OFF period can be expressed as:
where ΔIS is the change in the current IS, during the OFF period
To complete the discussion of the general operation of the flyback converter 200, the build up of the output voltage Vout, from a power off state where Vout=0V, occurs incrementally with each cycle of ON and OFF periods of the switch M1. The amount of current that accumulates on the capacitor 226 in each cycle is given by:
where ΔIavg is the average change in current in the secondary winding S for each OFF period,
where ΔVout is the output voltage,
Referring to
As can be seen from Eqn. 1, the current IP in the primary winding varies inversely as the transformer inductance Lm. However, when the transformer is driven into saturation (e.g., IP>Isat), the inductance of the core of the transformer 208 suddenly drops, and the current in the primary winding P suddenly increases. The sudden change in current creates a very high voltage across the drain and source of the switch M1, which may damage the switch if it is not rated for a sufficiently high operating voltage. Under normal switching, the controller 210 can ensure that magnetizing current in the transformer does not exceed the saturation current Isat by properly controlling the pulses (SW) based on the feedback signal 210b.
where Iresidual is the residual magnetizing current,
When the flyback converter 200 is powered up from a power off state, the output voltage Vout is initially 0V and will incrementally increase from 0V. It can be appreciated from Eqns. 2 and 5 that the residual magnetizing current in the transformer 208 will be higher during the startup period than during the normal switching period of operation. The startup period therefore presents an increased chance of driving the transformer into saturation and thus an increased risk in damaging the switch M1. Therefore, in accordance with principles of the present disclosure, embodiments of the controller 210 provide control processing during the startup period.
Referring to
The switching control signal SW is obtained from the normal switching block 506 when the flyback converter 200 has completed its startup sequence. In some embodiments, for example, the comparator 510 may provides an indication that the startup sequence has completed by comparing the Vout feedback signal 210b with the Vout
In accordance with the present disclosure, the switching control signal SW is obtained from the startup switching block 504 during a startup period of operation of the flyback converter 200; e.g., as determined by the comparator 510. The startup switching block 504 receives the skip count parameter 212a from the configuration memory 212 which, in some embodiments, is used to generate the switching control signal SW.
In some embodiments, the output of mux 508 may be gated by an AND gate 512 that is controlled by the Vin
Referring to
At 606, a determination is made whether the startup sequence has completed. In embodiments, the startup sequence is deemed to have completed when the Vout feedback signal 210b is greater than a threshold value determined by the Vout
If the Vout feedback signal 210b is less than the Vout
Referring to
It can be appreciated that in accordance with the present disclosure, the duty cycle of the switching control signal SW changes between the startup switching sequence and the normal switching sequence. Since the startup switching sequence always skips N pulses, for each pulse that is output to the switching control signal SW, the duty cycle of the switching control signal is reduced by a factor of 1/(N+1) during startup switching as compared to normal switching.
Referring to
Referring to
At 906, a determination is made whether the startup sequence has completed. In embodiments, the startup sequence is deemed to have completed when the Vout feedback signal 210b is greater then a threshold value determined by the Vout
If the Vout feedback signal 210b is less than the Vout
At 916, the startup switching block 504 receives N pulses (where N is set equal to the skip count parameter 212a) from the pulse generator and skips them by not outputting the N pulses to the mux 508. If, at 918, the over-current threshold value is to be increment, then at 920 the over-current threshold value is incremented by the over-current step parameter 212b received from the configuration memory 212. Processing then repeats from 906. On the next pass through the loop 906-920, since the over-current threshold has been increased, the ON pulse in the switching control signal SW will be wider by operation of the loop 908-912.
At 906, when the Vout feedback signal 210b becomes greater than the Vout
Referring to
As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” includes plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
The above description illustrates various embodiments of the present disclosure along with examples of how aspects of they may be implemented. The above examples and embodiments should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the present disclosure as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents will be evident to those skilled in the art and may be employed without departing from the spirit and scope of the claims.
The present disclosure claims priority to U.S. Provisional App. No. 61/427,001 filed Dec. 23, 2010, the content of which is incorporated herein by reference in its entirety for all purposes.
Number | Date | Country | |
---|---|---|---|
61427001 | Dec 2010 | US |