Switched Mode Power Supply Including a Flyback Converter with Primary Side Control

A method and apparatus for controlling a flyback converter are presented. The flyback converter includes a transformer, a semiconductor switch coupled to a primary winding of the transformer, a current measurement circuit coupled to the semiconductor switch, a diode coupled in series to a secondary winding of the transformer, and a controller. The controller is configured to receive a feedback voltage, a reference signal, and the measured primary current and generate a control signal for the semiconductor switch dependent on the feedback voltage, the reference signal, and the measured primary current. The semiconductor switch switches on and off cyclically in CCM operation.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description

This application is a continuation of Non-provisional application Ser. No. 13/857,642, filed on Apr. 5, 2013, which application is hereby incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present disclosure relates to a switched mode power supply including a flyback converter with a primary side control.

BACKGROUND

Switched-mode power supplies (SMPS) are commonly used and increasingly replacing “classical” power supplies composed of a transformer and a linear voltage regulator. SMPS use switching power converters to convert one voltage (e.g., an AC line voltage or a 13.8 V battery voltage) into another voltage, which may be used as supply voltage for an electric device or an electronic circuit. Many different switching power converter topologies are known in the field, such as buck converters, boost converters, Ĉuk converters, flyback converters, etc.

For safety reasons, it is desirable for the output of the power converter circuit to include galvanic isolation from the input circuit (connected to the utility power grid). The isolation averts possible current draw from the input source in the event of a short circuit on the output and may be a design requirement in many applications. Usually, optocouplers are used to galvanically isolate a feedback signal representing the regulated output voltage from the input circuit of the power converter circuit. The power conversion is accomplished by using a transformer. Transmitting feedback signals via optocouplers to ensure galvanic isolation often entails a comparably complicated feedback circuit.

Another design goal for the power conversion from the incoming AC line power to the regulated DC output current may be accomplished through a single conversion step controlled by one switching power semiconductor. A one-step conversion maximizes circuit efficiency, reduces cost, and raises overall reliability. Switching power conversion in the circuit design is necessary but not sufficient to satisfy the one-step conversion requirement while capitalizing on the inherent efficiency.

There is a need for a SMPS circuit that provides a regulated output voltage while not requiring any feedback signals to be tapped at the voltage output. Thus, optocouplers or similar components, which are usually employed for transmitting the current feedback signal back to the input circuit while providing a galvanic isolation, can be disposed of.

SUMMARY OF THE INVENTION

A method for controlling a flyback converter is described. The flyback converter may include a transformer that has a primary winding, a secondary winding, and an auxiliary winding, wherein the primary winding is operably carrying a primary current, the secondary winding is operably carrying a secondary current, and the auxiliary winding is operably providing a feedback voltage. The flyback converter may further include a semiconductor switch that is coupled in series to the primary winding for switching a primary current in accordance with a control signal, a current measurement circuit that is coupled to the semiconductor switch or the transformer for measuring the primary current, and a diode that is coupled in series to the secondary winding for rectifying the secondary current. Moreover, the flyback converter may include a controller for receiving the feedback voltage, a reference signal, and the measured primary current and is configured to generate the control signal for the semiconductor switch dependent from the feedback voltage, the reference signal, and the measured primary current. Thereby, the semiconductor switch switches on and off cyclically.

In accordance with a first aspect of the invention, the method comprises regularly interrupting the switching operation such that the secondary current drops to zero while the semiconductor switch is off, and sampling the feedback voltage at the time instant the secondary current reaches zero, thereby obtaining a first sampled value. The switching operation is continued and the feedback voltage is sampled at the time instant the control signal indicates a switching operation to switch on the semiconductor switch, thereby obtaining a second sampled value. Furthermore, measured primary current is sampled at the time instant the semiconductor switch has switched on, thereby obtaining a third sampled value. Finally, the reference signal is adjusted dependent on the first, the second, and the third sampled values.

Further, an electronic controller device for controlling the flyback converter is described. According to another aspect of the invention, the electronic controller device includes a controller that receives the feedback voltage, a reference signal, and the measured primary current and is configured to generate the control signal for the semiconductor switch dependent on the feedback voltage, the reference signal, and the measured primary current, wherein the semiconductor switch is switched on and off cyclically in CCM operation. The electronic controller device further includes a compensation circuit that receives the reference signal and is configured to regularly interrupt the switching operation such that the secondary current drops to zero while the semiconductor switch is off. The compensation circuit is further configured to sample the feedback voltage at the time instant the secondary current reaches zero, thereby obtaining a first sampled value. Furthermore, the compensation circuit is configured to resume the switching operation and to sample the feedback voltage at the time instant the control signal indicates to switch the semiconductor switch on, thereby obtaining a second sampled value. The compensation circuit is further configured to sample the measured primary current at the time instant the semiconductor switch has switched on, thereby obtaining a third sampled value. Moreover, the reference signal is adjusted dependent on the first, the second, and the third sampled values downstream of the controller.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, instead, emphasis is placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:

FIG. 1 illustrates the basic structure of a switched mode power supply (SMPS) circuit arrangement using a flyback converter topology and including output voltage control;

FIG. 2 illustrates the example of FIG. 1 in more detail;

FIG. 3 is a timing diagram illustrating the operation of a flyback converter in general;

FIG. 4 is a timing diagram illustrating the operation of a flyback converter in accordance with one embodiment of the invention;

FIG. 5 illustrates a portion of the timing diagram of FIG. 4 in more detail;

FIG. 6 illustrates a flyback converter including a control unit in accordance with one example of the invention; and

FIG. 7 is a flowchart illustrating the method realized by the circuits of FIGS. 2 and 6.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

FIG. 1 illustrates the basic structure of a switched mode power supply (SMPS) circuit arrangement in accordance to one example of the present invention. The circuit arrangement comprises, as a switching power converter, a flyback converter 1 which comprises a primary side and a secondary side which are galvanically isolated by a transformer having a primary winding LP and a secondary winding LS (see also FIG. 2). The primary winding LP has NP turns and the secondary winding has NS turns.

The primary winding LP of a flyback converter 1 is coupled to a rectifier 5 configured to rectify an alternating line voltage supplied by, for example, the power grid.

The secondary winding LS of the flyback converter 1 is coupled to a load, i.e., the LED device 50, for supplying output power thereto. The flyback converter 1 further comprises a power semiconductor switch T1 for controlling the current flow through the primary winding LP (denoted as primary current iP). That is, the semiconductor switch is configured to switch the primary current iP on and off in accordance with a respective control signal. The circuit arrangement further comprises a current sense unit 15 (primary current sense) that provides a current sense signal VCS representing the primary current iP through the primary winding LP. The current sense unit 15 may include, for example, a shunt resistor (cf. resistor RCS in FIG. 2) connected in series to the primary winding LP, and the voltage drop across that shunt resistor represents the primary current iP. The circuit arrangement further comprises a control unit 10 that generates the control signal VG supplied to the semiconductor switch T1 so as to switch it on and off in accordance with this control signal VG. The semiconductor switch T1 may be, for example, a MOS field effect transistor (MOSFET). In this case the control signal VG may be the gate voltage or the gate current applied to the MOS transistor.

Generally, control unit 10 controls the switching operation of the flyback converter 1. In the present example, the control unit 10 is configured to control the flyback converter 1 such that it operates in a quasi-resonant (i.e., self-oscillating) mode. The control unit 10 may further be configured to compare the current sense signal VCS with a reference signal. The control signal VG, which controls the switching state of the semiconductor switch T1, is set to switch the primary current iP off when the primary current sense signal VCS equals or exceeds the reference signal. In quasi-resonant mode the semiconductor switch T1 is, for example, switched on when the voltage across the switch T1 is at a (local) minimum. For this purpose, the circuit arrangement may comprise a voltage sense unit 13 for directly or indirectly monitoring the voltage drop across the semiconductor switch during the off-time of the switch in order to allow for detecting the time instant when the voltage is at the minimum. Thus, the switching losses and the electromagnetic emissions are minimized.

The circuit of FIG. 1 may be a multi-mode switching power converter with primary side (only) control. “Primary Side Control” means that the control unit 10 is capable of regulating the output voltage thereby using only (measured) signals available on the primary side of the transformer included in the flyback converter 1. Therefore, no signal has to be measured at the secondary side and transmitted (via a galvanic isolation) to the controller. An additional galvanic isolation (usually provided by optocouplers in known SMPS) in the feedback loop is thus not necessary. Multi-mode means that the control unit 10 is configured to operate in different modes such as CCM at high loads, quasi-resonant DCM at medium and low loads, and burst mode at very low loads. The present description, however, mainly deals with CCM operation of the control unit 10. Multi-mode control units for use in SMPS are as such known in the field and thus not further discussed herein.

FIG. 2 illustrates one exemplary implementation of the basic structure of FIG. 1 in more detail. The output voltage supplied to the load 50 is provided by a buffer capacitor C1, output capacitor, or COUT) which is coupled parallel to a series circuit including the secondary winding LS of the transformer and the flyback diode D1. Energy is transferred from the primary side to the secondary side of the transformer in the time intervals during which the primary current iP is switched off. During the same time interval, the buffer capacitor C1 is charged via the flyback diode D1 by the induced current flowing through the secondary winding LS.

The primary winding LP is connected between an output of the rectifier 5 that provides the rectified line voltage VIN and the semiconductor switch T1 which controls the current flow (primary current iP) through the primary winding LP. In the present example, the semiconductor switch T1 is a MOSFET coupled between the primary winding LP and the ground terminal providing ground potential GND1. A current sense resistor RCS (also referred to as shunt resistor) may be connected between the source terminal of the MOSFET T1 and the ground terminal such that the voltage drop VCS across the current sense resistor RCS represents the primary current iP. It should be noted that the current sense resistor RCS is just one exemplary implementation of the current sense unit 15 illustrated in FIG. 1. Any other known current measurement method and related circuits are applicable as well. The voltage drop VCS across the current sense resistor RCS is provided as a current sense signal to the control unit 10 which generates a gate signal VG supplied to the control terminal of the semiconductor switch (i.e., the gate electrode in the case of a MOSFET) for controlling the switching state thereof.

When the semiconductor switch T1 is switched on, the primary current iP starts to rise and the energy E stored in the primary winding LP increases. Since the flyback diode D1 is reverse biased during this phase of “charging” the inductance of the primary winding LP, the primary winding LP behaves like a singular inductor and the energy E stored in the primary winding equals E=LP·iP2/2. When the primary current iP is switched off by the semiconductor switch T1, the flyback diode D1 becomes forward biased and the energy E is transferred to the secondary winding LS, whereby the secondary current iS resulting from the voltage induced in the secondary winding LS charges the output capacitor COUT. The operating principle of the control unit 10, according to which time instants, is determined when the semiconductor switch T1 switches on and off and will be explained later. However, the design of quasi-resonant flyback converters is well known in the art (see, e.g., Fairchild Semiconductor, “Design Guidelines for Quasi-Resonant Converters Using FSCQ-series Fairchild Power Switch,” in AN4146).

For detecting the time instances when to switch the primary current on, an auxiliary winding LAUX (having NAUX turns) may be magnetically coupled to the primary winding LP. A first terminal of the auxiliary winding LAUX is coupled to the ground terminal GND1 whereas a second terminal of the auxiliary winding LAUX may be coupled to the control unit 10 via a resistor R1. Actually, a fraction of the voltage across the auxiliary winding LAUX is supplied to the control circuit 10 via the voltage divider composed of the resistor R1 and a further resistor R2 coupled in series to resistor R1. The fractional voltage is denoted as VFB in FIG. 2. The series circuit of resistors R1 and R2 is coupled in parallel to the auxiliary winding LAUX and the middle tap of the voltage divider is connected to the control unit 10. The resistors R1 and R2, together with the auxiliary winding LAUX, may be regarded as the voltage sense unit 13 illustrated in the general example of FIG. 1.

The auxiliary winding LAUX may further be used for providing a supply voltage VCC to the control unit 10 by means of a bootstrap supply circuit 12. When the primary current iP is switched off, the voltage across the auxiliary winding LAUX rises such that the bootstrap diode D2 is forward-biased and thus allows for charging the bootstrap capacitor C3. However, such bootstrap supply circuit is well known in present flyback converters and will not be further discussed here.

Flyback converters can be operated in continuous current mode (CCM, in which the secondary current does not drop to zero) and discontinuous current mode (DCM, in which the secondary current drops to zero and remains zero for a finite time). A special case of DCM is the limiting case between DCM and CCM (i.e., the transition between CCM and DCM) and sometimes referred to as critical conduction mode (CrCM, in which the secondary current drops to zero for only a very short time). The basic principles of controlling flyback converters in DCM and CCM are well known in the art and thus not explained here in more detail (see, e.g., J. I. Castillejo, M. García-Sanz, “Robust Control of an Ideal DCM/CCM Flyback Converter,” Proc. of the 10th Mediterranean Conference on Control and Automation (MED2002), Lisbon, Portugal, Jul. 9-12, 2002). In order to control the output voltage VTOUT or the output current of the power converter, a respective feedback signal (representing the output voltage or current, respectively) may be fed back to the control unit 10. In order to provide a proper galvanic isolation, optocouplers are usually used in the feedback loop. To simplify the overall switched mode power supply (SMPS) circuit, so called “primary side control” concepts have been developed, according to which the output voltage to be regulated is estimated using measurements accomplished solely on the primary side of the flyback converter. Particularly, the secondary current iS and the output voltage VOUT may be observed (i.e., estimated) from the measured values of the primary current iP and the feedback voltage VFB obtained from the auxiliary winding LAUX.

FIG. 3 illustrates timing diagrams of the voltage VAUX across the auxiliary winding LAUX and the primary current iP as well as the secondary current iS. The left diagram of FIG. 3 illustrates the SMPS operating in discontinuous current mode (DCM), whereas the right diagram of FIG. 3 illustrates the SMPS operating in continuous current mode (CCM). The timing diagrams are discussed in more detail below. In the left diagram of FIG. 3, the waveforms between the time instant t1 and the time instant t5 (when the semiconductor switch T1 switches on after it has been switched off at time instant t2) are continuously repeated during operation in DCM. At the time instant t1, the semiconductor switch is switched on and the primary current iP starts ramping up until a maximum current is reached at time instant t2, when the semiconductor switch T1 is switched off again. As a result, the primary current iP quickly drops to zero, while the secondary current (almost immediately) rises to its maximum value and then ramping down until it reaches zero amperes at time instant t4. When the semiconductor switch T1 is in its on-state (i.e., switched on) between the time instants t1 and t2, the voltage VAUX across the auxiliary winding is almost zero. When the semiconductor switch T1 is switched off at time t2 the voltage VAUX steeply rises up to a maximum voltage. Some ringing of the voltage VAUX may be observed between the time instants t2 and t3 (i.e., during a settling time), and between the time instants t3 and t4 (when the secondary current has dropped to zero) the voltage VAUX drops to the value VOUTNAUX/NS, that is


VOUT(t4)=VAUX·NS/NAUX(in DCM)  (1).

Equation (1) is valid for DCM only, in which the time instant t4 is the time instant when the secondary current drops to zero. During the time interval between the time instants t4 and t5, the voltage VAUX is ringing again and—when operating in quasiresonant mode—the semiconductor switch T1 is switched on again when the voltage VAUX reaches a (local) minimum, which is, in the present example, at time instant t5. At the time t5 the cycle starts over.

When operating in CCM, the situation is somewhat different as illustrated in the right diagram of FIG. 3. As the secondary current iS never falls to zero, the forward voltage VD across the flyback diode D1, as well as the voltage VT due to the (ohmic) resistance of the secondary winding LS, adds to the output voltage VOUT in above-mentioned equation (1). That is, at time instant t4 (when the semiconductor switch is switched on again) the voltage VAUX can be equated as:


VAUX(t4)=(VOUT+VT+VDNAUX/NS(in CCM)  (2).

The waveforms in the left diagram (DCM) and the right diagram (CCM) of FIG. 3 are essentially the same except that the semiconductor switch is switched on again before the secondary current iS has dropped to zero.

So when (hypothetically) using equation (1) to calculate the output voltage VOUT from the measured voltage VAUX, the difference between the actual output voltage VOUT and the estimation VAUX·NS/NAUX equates to (by combining equations (1) and (2)):


VAUX(t4NS/NAUX−VOUT(t4)=(VT+VD)  (3)

which is equivalent to:


VAUX(t4)−VOUT(t4NAUX/NS=(VT+VD)NAUX/NS  (4).

Equation (4) is valid not only at time instant t4 but during the whole time interval between t3 and t4 in the right diagram of FIG. 3, which illustrates CCM operation. In this regard, it should be noted that the actual values of VT and VD may also be time-variant. As a consequence, a simple control unit which estimates the output voltage VOUT in accordance with equation (1) would actually make the output voltage by VT+VD lower than expected. Moreover, the difference of equation (4) heavily depends on the actual output current as well as on temperature, diode characteristics, and PCB layout. Therefore, a precise output voltage regulation is difficult when using primary-side control.

One option would be to use a constant voltage offset so as to compensate for the mentioned (time-variant) offset VT+VD. However, this solves the above-mentioned problem only for a specific diode characteristic, a specific PCB layout, and within a very narrow temperature range and output current range. Obviously, a more sophisticated approach would be highly useful.

As discussed above, the problem of insufficient proportionality between the voltage VAUX, which is observable at the auxiliary winding LAUX, and the actual output voltage VOUT only occurs during continuous current mode (CCM, see right diagram of FIG. 3). Therefore, according to one aspect of the present invention, the control unit 10 is configured to insert one switching cycle (during CCM operation) in which the secondary current iS is allowed to drop to zero before switching on the primary current iP. In other words, at least one DCM or CrCM switching cycle is inserted during CCM operation.

Inserting a single DCM switching cycle during CCM operation has only a negligible impact on the output voltage but allows for a precise measurement of the output voltage and current at the primary side of the flyback converter. The above-mentioned general concept is discussed in more detail below with reference to FIG. 4. Diagram (a) of FIG. 4 illustrates the insertion of a (longer) DCM cycle whereas diagram (b) illustrates a short DCM cycle of minimum length, i.e., a CrCM cycle. For further discussion, it should be noted that the time instants t0 to t5 in FIG. 3 do not correspond with the time instants t0 to t5 in FIG. 4.

Diagrams (a) and (b) of FIG. 4 are identical for times before the time instant t5 when the secondary current iS reaches zero. For times before the time instant t4 both diagrams illustrated a switching operation in continuous current mode (CCM) as already illustrated in the right diagram of FIG. 3. Both diagrams of FIG. 4 illustrate the control signal VG applied to semiconductor switch T1 (top waveforms). In the present example, the control signal VG is a gate voltage and semiconductor switch T1 is a MOS transistors. Furthermore, the corresponding voltage VAUX at the auxiliary winding LAUX (middle waveforms) and the resulting primary and secondary currents iP and iS (bottom waveforms) are illustrated. At the time instant t1 the gate voltage VG switches from a low level to a high level thus activating the MOS transistor T1 (i.e., switching it on). As a consequence, the secondary current iS almost immediately drops to zero (as the flyback diode D1 is now reverse biased) while the primary current iP steeply rises to an initial value.

At time instant t1′, the secondary current iS is zero and the primary current iP is at its initial value. After the time instant t1′, the primary current further rises until it reaches its (pre-defined) maximum value at time instant t2, at which the gate voltage VG is reset, again, to a low level thus deactivating the MOS transistor T1 (i.e., switching it off). During the time interval from t1 to t2 the voltage VAUX is approximately −VIN·NAUX/NP. When the transistor T1 is deactivated at time instant t2, the primary current iP almost immediately drops to zero (as the transistor T1 is now in its blocking state) while the secondary current iS steeply rises to an initial value.

At time instant t2′, the primary current iP is zero and the secondary current iS is at its initial value. After the time instant t2′ the secondary current almost constantly drops until it reaches its minimum value at time instant t3, at which the gate voltage VG is set, again, to a high level thus re-activating the MOS transistor T1 in the same manner as in time instant t1, and cycle starts over. During the time interval from t2′ to t3 the voltage VAUX drops (after a short ringing during a settling time) from a maximum value to a minimum value VAUX(t3)=(VT+VD+VOUT)·NAUX/NS at time instant t3 (cf. equation (2)), which is higher than the “ideal” value of VOUT·NAUX/NS (cf. equation (1)). During CCM the switching frequency fSW is fixed, so the time interval t3-t1 corresponds to the switching period fSW−1.

Between the time instants t3 and t4, the signals have the same waveform as between the time instants t1 and t2 (while the semiconductor switch T1 is on). At the time instant t4 the semiconductor switch T1 is switched off thus interrupting the primary current flow through the primary winding LP and initiating the secondary current flow through the secondary winding LS. The primary current iP drops to zero and the secondary iS current rises steeply to its initial value between the time instants t4 and t4′ in the same manner as in the time interval between t2 and t2′. However, different from the previous period during which the semiconductor switch T1 was off, the secondary current is now allowed to drop continuously (at a substantially constant rate) until it reaches zero at time instant t5. During the time interval from t4′ to t5, the voltage VAUX drops (after a short ringing during a settling time) from a maximum value to a minimum value VAUX(t5)=(VOUT)·NAUX/NS at time instant t5. As the secondary current i5 is allowed to drop to zero, the cycle between t3 to t6 (i.e., when the semiconductor switch is reactivated) is a (single) DCM cycle while the previous cycles (e.g., between t1 and t3) and the subsequent cycles are CCM cycles, during which the secondary current iP does not drop to zero. Starting from time instant t6 the primary current iP starts continuously increasing from zero to its maximum value and CCM operation is continued.

The only difference between diagram (a) and the diagram (b) of FIG. 4 is the duration of the time between t5 and t6 during which the primary and the secondary current iP and iS, respectively, are zero. In this time period, the voltage VAUX is oscillating and the switching time t6 is chosen at a local minimum (also referred to as “valley point”) of the oscillation. When switching at such local minima, the flyback converter is operated in “quasi-resonant” mode. Quasi-resonant switching as such is known in the art (see, e.g., Infineon Technologies Asia Pacific, “Determine the Switching Frequency of Quasi-Resonant Flyback Converters Designed with ICE2QS01,” Application Note AN-ICE2QS01, Aug. 15, 2011) and thus not further discussed herein. From FIG. 4, one can see that when inserting a single DCM cycle during CCM operation, the voltage VAUX is directly proportional to the output voltage VOUT (the proportionality factor being the turn ratio NS/NAUX) at the time instant (t5 in FIG. 4) when the secondary current reaches zero. Thus, inserting a DCM cycle allows for a precise output voltage measurement by monitoring the voltage VAUX across the auxiliary winding LAUX which is galvanically isolated from the secondary side without the need for an optocoupler.

From the diagrams in FIG. 4 and the equations (1) to (4) one can conclude that the offset voltage VT+VD due to the diode forward voltage VD (of diode D1, see FIG. 3) and the voltage VT due to the overall line resistance of the secondary side equates to:


(VAUX(t8)−VAUX(t5))·NS/NAUX=VT+VD=VOFFSET  (5)

wherein the time instant t8 is the very moment when the control signal VG (i.e., the gate voltage) changes from low to high, i.e., immediately before switching on the semiconductor switch T1. It should be noted that VAUX(t8) may be measured in any CCM cycle, wherein VAUX(t1)=VAUX(t3)=VAUX(t8) as illustrated in FIG. 4 (both diagrams). The time instant t5 is the very moment when the secondary current iS falls to zero in a DCM cycle. It should be noted that VAUX(t5) may be measured in any DCM cycle, however, only a single DCM cycle is illustrated in each diagram of FIG. 4. From equation (5), it can be concluded that the offset voltage VOFFSET is derivable from measurements of the voltage VAUX at different time instants t5 and t8 wherein, as mentioned, t5 represents any time instant during a DCM cycle when the secondary current reaches zero and t8 represents any time instant during a CCM cycle immediately before the semiconductor switch T1 is switched on. In order to determine the offset voltage VOFFSET in accordance with equation (5), the problem of how to detect the time instant t5 (i.e., when the secondary current iS reaches zero) remains.

The time instant t5 can be estimated as t5=t6-NZCD·π·sqrt(Lp·CT1ds), where Lp is the transformer primary inductance, CT1ds is the equivalent capacitance across T1 drain and source pin, NZCD is the number of half-periods of the oscillation elapsed before the quasi-resonant switching zero-crossing point, e.g., NZCD=3 for FIG. 4a, NZCD=1 for FIG. 4b. NZCD will also be an odd number (see also FIG. 3). Quasi-resonant switching is known in the field (see, e.g., Infineon Technologies Asia Pacific, “Determine the Switching Frequency of Quasi-Resonant Flyback Converters Designed with ICE2QS01,” Application Note AN-ICE2QS01, Aug. 15, 2011) and thus not further discussed herein. In order to obtain the sample value VAUX(t5), the voltage VAUX can be continuously sampled and stored between the time instants t4 and t6. Then, at time instant t6 the sample value for time instant t5 may be taken from the memory. Also a delay-line providing a delay of NZCD·π·sqrt(Lp·CT1ds) could be used to delay the currently sampled value for the voltage VAUX, so that at time t6 the sample value for the time instant t5 is still available at the delay line output.

For the following it is assumed that the offset voltage VT+VD can be calculated as:


VOFFSET=VT+VD=p·iS(t8)  (6)

wherein the factor p may vary over time. This offset appears at auxiliary winding LAUX as:


VCOMP=VOFFSET·NAUX/NS=(VT+VDNAUX/NS=p·iS(t8NAUX/NS  (7).

As the secondary current iS is not directly measured (remember that measurements at the secondary side are to be avoided to maintain galvanic isolation), the secondary current has to be derived from primary current measurements which are accomplished using the current sense resistor RCS (see FIG. 2) or, generally, the primary current sense unit 15 (see FIG. 1). During CCM operation, the secondary current iS can be derived from the primary current iP using the following equation:


iS(t8)=iP(t8′)·NP/NS  (8)

wherein the time instant t8 represents any time during a CCM cycle at which the semiconductor switch T1 starts to switch on (i.e., the control signal VG changes from a low to a high level), and the time instant t8′ represents any time during a CCM cycle at which the resulting primary current iP has risen to its initial value. Combining equations (6) and (8) yields:


VOFFSET=VT+VD=p·iS(t8)=p·(NP/NSiP(t8′)=k·iP(t8′)  (9).

That is, the offset voltage VT+VD can be calculated from the primary current at the time the semiconductor switch T1 has switched on. This offset appears at auxiliary winding LAUX as:


VCOMP=VOFFSET·NAUX/NS=(VT+VDNAUX/NS=k·iP(t8′)·NAUX/NS  (10).

The proportionality factor k may be regularly determined by measuring the voltage VAUX at time instant t8 in a CCM cycle and time instant t5 in a DCM cycle (see FIG. 4). Combining equations (9) and (5) yields:


k=(VT+VD)/iP(t8′)=(VAUX(t8)−VAUX(t5))·(NS/NAUX)/iP(t8′)  (11).

To determine the proportionality factor k in accordance with equation (11), the primary current has to be sampled (measured) at a time instant immediately after the activation of the semiconductor switch T1 (see FIG. 1). Oscillations of the primary current iP, which may occur right after switching on the semiconductor switch T1, may deteriorate the measured current value. This situation is illustrated in FIG. 5. A current measurement at a time instant tA (which corresponds to t1, t3, and t8 in FIG. 4) is not reliable due to the oscillations. However, after the oscillations (which are a transient phenomenon) have decayed the primary current iP rises linearly which allows an extrapolation of the primary current iP (tA) at time instant tA. Assuming that further current values iP(tB) and iP(tC) are sampled after the oscillations have decayed, then the current iP(tA) at time instant tA can be calculated as


iP(tA)=2·iP(tB)−iP(tC) for tB=(tA+tC)/2  (12)

that is, the sampling time tB is in the middle between the sampling times tA and tC. This situation is illustrated in FIG. 5.

An exemplary circuit representing the internal design of the control unit 10 (see FIGS. 1 and 2), which controls the switching operation of the flyback converter, is illustrated in FIG. 6. The illustrated embodiment is able to achieve a tight output voltage regulation during CCM operation for a flyback converter that requires no feedback signal from the secondary side (i.e., primary side control). The control unit 10 receives, as feedback voltage VFB, a fraction R2/(R1+R2) of the voltage VAUX tapped at the auxiliary winding LAUX and with a current sense signal VS tapped at the current sense resistor RCS, which is coupled in series to the semiconductor switch T1 and the primary winding LP. Furthermore, the control unit 10 is configured to provide a control signal VG for the semiconductor switch T1, i.e., a suitable gate voltage or gate current in the case of a MOSFET.

The control unit includes a voltage mode or a current mode controller 101 that is supplied with the signal VS representing the primary current iP, the feedback voltage VFB, and a (corrected) reference voltage VCREF. The current mode controller 101 is configured to generate a binary signal from these input signals VS, VFB, and VCREF, wherein the binary signal is transformed in a control signal VG that is suitable for switching the semiconductor switch T1 on and off. The design and the operation of the voltage mode or a current mode controller 101 is as such known in the art and not further discussed here.

The corrected reference signal VCREF is derived from a reference signal VREF (which may be a constant voltage) which can be regarded as set point for the output voltage control. In order to compensate for the systematic error when measuring the output voltage VOUT in accordance with equation (1) in continuous current mode (CCM), the reference signal VREF is “corrected” by adding an offset in accordance with equation (10). That is, the corrected (adjusted) reference signal VCREF can be determined in accordance with the following equation:


VCREF=VREF+VCOMP=VREF+k·ip(t8′)·NAUX/NS  (13)

wherein the factor k is determined in accordance with equation (11) during the inserted DCM cycles as discussed above with reference to FIG. 4. The time instants t5, t8, and t8′ are those illustrated in FIG. 4 wherein t5 represents the time instant in any DCM cycle in which the secondary current reaches zero, t8 represents the time instant in any CCM cycle in which the semiconductor switch T1 begins to switch on the primary current iP, and t8′ represents the time instant in any CCM cycle in which the semiconductor switch T1 has finished the switching process of switching on the primary current iP. The time instant t8 can be detected as the time instant the control signal VG changes from a low to a high level (i.e., at a rising edge of the gate voltage VG), whereas the time instant t8′ can be detected as the time instant the voltage VAUX (and thus the feedback voltage VFB) drops to −VIN·NAUX/NP (i.e., at a falling edge of the feedback voltage VFB).

A timer circuit 102 (timer) coordinates the insertion of DCM cycles during CCM operation and the sampling of the voltage VAUX and the primary current iP (i.e., of the measurement signal VS) at different times. Moreover, the timer 102 triggers the insertion of DCM cycles and controls four switches S1, S2, S3, and S4. The feedback signal is connected to the current mode controller 101 via switch S4. The switch S3 allows the sampling of the feedback voltage VFB (which is a scaled version of voltage VAUX) at time instant t5 within a DCM cycle. The switch S2 allows the sampling of the feedback voltage VFB at time instant t8 within each CCM cycle, and the switch S1 allows the sampling of the primary current (i.e., of the current sense signal VS). The scaling factor R2/(R1+R2) of the feedback voltage may be considered in the subsequent signal processing. In fact, the voltage divider R1, R2 may be omitted so that VFB=VAUX.

The switch S4 is closed during CCM operation and is opened regularly (periodically or from time to time) which triggers the insertion of a DCM cycle, as the feedback voltage VFB “seen” by the current mode controller 101 is zero when the switch S4 is open. At time instants t5, t8, and t8′ sampled values of VFB and VS are stored in the registers D3, D2, D1, which are coupled with the switches S3, S2, and S1, respectively. As such, the switches S1 to S3 and the registers D1 to D3, operate as sample and hold circuits, wherein each sample and hold circuit is formed by a pair of switch and register, and the respective switches are controlled by the timer unit 102. In each DCM cycle, the arithmetic and logic unit (ALU) 103 takes the register values and calculates an updated value for the factor k in accordance with equation (11). Then, in each cycle, an updated value for the primary current iP is sampled and the voltages VCOMP and VCREF may be calculated in accordance with equation (13).

The ALU 103, the switches S1 to S3, the timer unit 102, and the registers D3, D2, D1 can be regarded as part of a compensation circuit which is configured to adjust the reference signal VREF dependent on the first, the second, and the third sampled values stored in the registers D3, D2, D1. This adjustment is accomplished upstream of the current mode controller 101 so that the current mode controller 101 receives the adjusted reference signal VCREF.

Below, the function of the SMPS circuits described herein is summarized. It should be noted that this is not an exhaustive summary of important features. Instead, emphasis is put on the basic function of the device. Details have already been discussed above with respect to the circuit diagrams shown in FIGS. 1, 2, and 6 and the timing diagrams shown in FIGS. 3, 4, and 5.

The flyback converter circuit includes a transformer, which has a primary winding LP, a secondary winding LS and an auxiliary winding LAUX. During operation, the primary winding LP carries a primary current iP, the secondary winding carries a secondary current iS, and the auxiliary winding provides a feedback voltage VFB. The flyback converter circuit includes a semiconductor switch T1, which is coupled in series to the primary winding for switching a primary current iP on and off in accordance with a control signal VG. A current measurement circuit is coupled to the semiconductor switch T1 or the transformer for measuring the primary current iP (current sense signal VCS), and a diode D1 is coupled in series to the secondary winding LS for rectifying the secondary current iS. Moreover, the flyback converter circuit includes a control unit 10, that receives the feedback voltage VFB, a reference signal VCREF, and the measured primary current VCS. Generally, the control unit 10 is configured to generate the control signal VG for the semiconductor switch T1 dependent (only) on the feedback voltage VFB, the reference signal VCREF, and the measured primary current iP (i.e., the current sense signal VCS).

During CCM operation, the semiconductor switch T1 is switched on and off cyclically (step 71 in FIG. 7). The method for controlling the flyback converter circuit includes (e.g., regularly, from time to time) interrupting the CCM switching operation such that the secondary current iS is allowed to drop to zero while the semiconductor switch TS is off (step 72 in FIG. 7). This step also could be regarded as “inserting” a single DCM switching cycle. Then, the feedback voltage VFB is sampled (first sampled value) at the time instant (see FIG. 4, time instant t5) the secondary current iS reaches zero (step 73 in FIG. 7). The switching operation is then resumed. For example, the semiconductor switch T1 may be switched on when the voltage drop across the switch T1 reaches a minimum. This is the quasi-resonant switch-on condition illustrated in FIG. 4 (see FIG. 4, time instant t6). At this point, CCM operation is resumed (step 74 in FIG. 7). The method further includes sampling (second sampled value, step 75 in FIG. 7) the feedback voltage VFB at the time instant (see FIG. 4, time instant t8) the control signal VG indicates to switch the semiconductor switch T1 on (i.e., VG changes from a low level to high level).

Moreover, the current sense signal VCS is sampled (third sampled value, step 76 in FIG. 7) at the time instant (see FIG. 4, time instant t8′) the semiconductor switch T1 has switched on. The time instant t8′ may be detected as the time instant the voltage VAUX has reached the minimum level of −VIN(NAUX/NP) as illustrated in FIG. 4a, whereas the time instant t8 may be detected as the time instant the drive signal VG rises from a low level to a high level to switch the transistor T1 on. Having obtained the three sampled values discussed above, the reference signal VCREF is adjusted (step 77 in FIG. 7) dependent on the first, the second, and the third sampled values. This adjusting can also be seen in FIG. 6 where the externally supplied reference signal VREF is superposed with a “compensation signal” VCOMP to obtain the compensated reference signal VCREF.

Although various exemplary embodiments of the invention have been disclosed, it will be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the invention without departing from the spirit and scope of the invention. It will be obvious to those reasonably skilled in the art that other components performing the same functions may be suitably substituted. It should be mentioned that features explained with reference to a specific figure may be combined with features of other figures, even though not explicitly mentioned. Further, the methods of the invention may be achieved in either all software implementations, using the appropriate processor instructions, or in hybrid implementations that utilize a combination of hardware logic and software logic to achieve the same results. Such modifications to the inventive concept are intended to be covered by the appended claims.

Claims

1. A method for controlling a switching converter, which is operated in continuous conduction mode (CCM) to convert an input primary current passing through a primary winding into a secondary current passing through a secondary winding, wherein the method comprises:

regularly interrupting a switching operation of the switching converter such that the secondary current drops to zero at a first time instant while the primary current is switched off;
sampling a feedback voltage at or close to the first time instant to obtain a first sampled value, wherein the feedback voltage is generated at an auxiliary winding that is magnetically coupled to the primary and secondary winding; and
resuming the switching operation in CCM.

2. The method of claim 1, wherein, while operating in CCM, the method further comprises:

sampling the feedback voltage at a second time instant shortly before the primary current is switched on to obtain a second sampled value.

3. The method of claim 2, wherein, while operating in CCM, the method further comprises:

sampling the primary current at a third time instant at which the primary current is switched on to obtain a third sampled value.

4. The method of claim 3, wherein, while operating in CCM, the method further comprises:

adjusting a reference signal, which is used to generate a control signal to switch the primary current on and off, dependent on the first sample value, the second sample value and the third sampled values.

5. The method of claim 1 wherein the switching converter comprises:

a transformer composed by the primary winding the secondary winding and the auxiliary winding, the primary winding operably carrying the primary current, the secondary winding operably carrying the secondary current, and the auxiliary winding operably providing the feedback voltage;
a semiconductor switch coupled in series to the primary winding and configured to switch the primary current on and off in accordance with a control signal,
a current measurement circuit coupled to the semiconductor switch or the transformer and configured to measure the primary current,
a diode coupled in series with the secondary winding and configured to rectify the secondary current; and
a controller coupled to receive the feedback voltage, a reference signal and the measured primary current and configured to generate the control signal for the semiconductor switch dependent on the feedback voltage, the reference signal, and the measured primary current, wherein the semiconductor switch switches on and off cyclically in CCM operation.

6. The method of claim 1 wherein the first sampled value is representative of an output voltage of the switching converter.

7. The method of claim 1, wherein resuming the operation of a semiconductor switch comprises:

detecting when a voltage drop across the semiconductor switch assumes a minimum; and
switching on the semiconductor switch at the time instant the voltage drop across the semiconductor switch assumes the minimum.

8. The method of claim 1, wherein interrupting the switching operation comprises blanking a feedback signal received by the controller.

9. The method of claim 8, wherein blanking the feedback signal includes using a semiconductor switch to interrupt a signal path of the feedback signal to the controller.

10. The method of claim 1, wherein resuming the operation of a semiconductor switch comprises providing a feedback signal to the controller.

11. The method of claim 1, wherein the controller is configured to generate a control signal for a semiconductor switch such that the switching converter operates in continuous conduction mode (CCM).

12. The method of claim 1, wherein the switching converter is a flyback converter.

13. A switched-mode power supply (SMPS) circuit comprising:

a transformer having a primary winding, a secondary winding, and an auxiliary winding, the primary winding operably carrying a primary current, the secondary winding operably carrying a secondary current, and the auxiliary winding operably providing a feedback voltage;
a semiconductor switch coupled in series to the primary winding for switching the primary current on and off in accordance with a control signal;
a controller configured to switch the semiconductor switch on and off cyclically in continuous conduction mode (CCM) operation; and
a compensation circuit configured to regularly interrupt operation of the semiconductor switch such that the secondary current drops to zero while the semiconductor switch is off, and sample the feedback voltage at a first time instant to obtain a first sampled value, wherein the first time instant occurs when the secondary current reaches zero; and resume the operation of a semiconductor switch in CCM.

14. The SMPS circuit of claim 13, wherein the compensation circuit is further configured to sample the feedback voltage at a second time instant to obtain a second sampled value, wherein the second time instant occurs when the control signal indicates to switch the semiconductor switch on.

15. The SMPS circuit of claim 14, wherein the compensation circuit is further configured to sample a measured primary current at a third time instant to obtain a third sampled value, wherein the third time instant occurs when the semiconductor switch has switched on.

16. The SMPS circuit of claim 15, wherein the compensation circuit is further configured to adjust a reference signal dependent on the first, the second, and the third sampled values upstream of the controller.

17. The SMPS circuit of claim 13, wherein the first sampled value is representative of an output voltage of the SMPS.

18. The SMPS circuit of claim 13, wherein the SMPS is a flyback converter.

19. The SMPS circuit of claim 13, further comprising a current measurement circuit coupled to the semiconductor switch or the transformer for measuring the primary current.

20. The SMPS circuit of claim 13, further comprising a diode coupled in series to the secondary winding for rectifying the secondary current.

21. The SMPS circuit of claim 13, wherein the controller is further configured to receive the feedback voltage, a reference signal, and a measured primary current and to generate the control signal for the semiconductor switch dependent on the feedback voltage, the reference signal, and the measured primary current.

22. The SMPS circuit of claim 13, wherein, in resuming the operation of a semiconductor switch, the compensation circuit is configured to detect when a voltage drop across the semiconductor switch assumes a minimum value and switch on the semiconductor switch when the voltage drop across the semiconductor switch assumes the minimum value.

23. The SMPS circuit of claim 13, wherein the compensation circuit is further configured to blank a feedback signal received by the controller to interrupt the operation of a semiconductor switch.

24. The SMPS circuit of claim 23, wherein the compensation circuit comprises a semiconductor switch configured to interrupt a signal path of the feedback signal to the controller.

25. The SMPS circuit of claim 24, wherein the controller is configured to generate the control signal for the semiconductor switch such that the SMPS circuit operates in CCM.

Patent History
Publication number: 20150117071
Type: Application
Filed: Jan 5, 2015
Publication Date: Apr 30, 2015
Inventors: Guoxing Zhang (Singapore), Mingping Mao (Singapore)
Application Number: 14/589,592
Classifications