ideas
www.ednmag.com
design
ideas
www.ednmag.com
design
ideas
in CCM forces the diode to brutally stop conducting. Also in DCM, valley switching ensures minimum switching losses that COSS and all the parasitic capacitances bring. In valley switching, or QR (quasiresonant) operation, the curve of the drainsource voltage, VDS, of a typical flyback converter, shows that when the power switch closes, you observe a low level due to the RDS(ON) IP product (Figure 1a). At the switch opening, VDS rises quickly and starts to ring at a high frequency because of the leakage-inductance presence. During this time, the primary current transfers to the secondary, and a reflected level of N (VOUT VF) appears on the MOSFET drain, where N is the secondary-to-primary turns ratio, VOUT is the output voltage, and VF is the secondarydiode forward drop. As soon as the primary current has fallen to zero in DCM operation, the transformer core is fully demagnetized (Figure 1b). The drain
Figure 1
(a)
(b)
A typical drain-source waveform of a flyback converter shows high-frequency ringing (a). In DCM operation, the primary current ramps up and down to zero (b).
Figure 2
VAUX
VOUT
20.0 10.0 0
GND VIN
10.0 20.0
An auxiliary winding (a) lets you observe the flux image in the transformers core for both flyback and forward operation (b).
www.ednmag.com
design
ideas
HV VOUT HV VOUT NP 1N4148 DAUX NS VAUX RVALLEY NP
Figure 3
VAUX
56
NS
10 F
RVALLEY
NA
NAUX GND
2 VDEM
1N4148 VDEM
1N4148
(a)
(b)
A simple component arrangement allows forward-mode detection with a flyback-like PWM controller (a) or flyback-mode detection with a forwardlike controller (b).
branch starts to ring but at a lower frequency than in Figure 1a because the primary inductance, LP, is now inFigure 4 volved. This natural oscillation exhibits the following frequency value, where CLUMP represents all of the circuits parasitic capacitances, such as COSS and the stray capacitance from the transformer. 1 FRING = . 2 L P C LUMP As with any sinusoidal signal, there are peaks and valleys. When you restart the switch in the valley, all the parasitic capacitance values are at their lowest possible levels. Also, the capacitive losses, which are equal to 1/2 CLUMP VDS2 FSW, are small because the MOSFET is no longer the seat of turn-on losses, which removes the usual turn-on parasitics. That is the secret of QR operation. You can easily observe the core flux through an auxiliary winding (Figure 2a). Thanks to the coupling between the windings, the auxiliary section delivers a voltage image of the cores flux through the following formula:
VAUX = N d . dt
700
500
300
100
100 532 SEC 536 SEC 540 SEC 544 SEC 548 SEC
When you properly adjust the time constant using RVALLEY, the switch restarts in the middle of the valley.
in flyback operation, as the power winding, or in forward operation. The observed signals look the same but have different polarity (Figure 2b). Note that both signals center about ground. The problem lies in the fact that most PWM controllers accept only the flyback polarity. Typical examples include the MC33364 and MC44608 (www.onsemi. com). In battery-charger applications, you usually wire the auxiliary winding the one that self-supplies the controller and gives the demagnetization signal in forward mode. The reason is simple:
When the battery you charge is close to 0V, the auxiliary windings are also nearly 0V because both windings are coupled in flyback mode. By operating in forward mode, whatever happens on the secondary side is invisible, and the voltage is always there to supply the controller. However, the demagnetization signal now has the wrong polarity, and the controller doesnt restart at the cores reset event. Figure 3a shows a way around this problem. You still wire the winding for forward operation, but you add two extra diodes in series with the winding. At
www.ednmag.com
design
ideas
iliary winding in flyback mode (Figure 3b). The problem and the cure are similar. When you properly select RVALLEY, this resistance naturally combines with sensepin internal capacitance to add switch delay right in the middle of the wave (Figure 4). Some controllers exhibit different demagnetization threshold levels. The MC33364 starts at around 1V, and the MC44608 toggles at 65 mV. Because of the diodes, you clamp VDEM between 600 mV, which could not trigger the MC33364. A small offset from the internal reference to the demagnetization pin brought by a 150-k resistor and a typical RVALLEY of 10 k have provided good circuit operation.
the switch closing, you apply N VHV, where N is the ratio between the auxiliary winding, NA, and the primary winding, NP. You clamp VDEM to 0.6V, and the current circulates through RVALLEY. At the switch opening, the voltage reverses and becomes positive but clamped to 0.6V on VDEM. When this level collapses, the PWM controller reactivates the power switch. You can implement this same type of circuit for PWM controllers that need a forward demagnetization signal but for which you would like to operate the aux-
Is this the best Design Idea in this issue? Vote at www.ednmag.com/edn mag/vote.asp.
www.ednmag.com
design
ideas
Is this the best Design Idea in this issue? Vote at www.ednmag .com/edn mag/vote.asp.
www.ednmag.com
design
ideas
TABLE 1RESISTANCE VERSUS TEMPERATURE FOR PT100 RTD ELEMENT
C 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 2 3 4 5 92.16 92.55 92.95 93.34 93.73 94.12 94.52 94.91 95.3 95.69 96.09 96.48 96.87 97.26 97.65 98.04 98.44 98.83 99.22 99.61 100 100.39 100.78 101.17 101.56 101.95 C 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 102.34 102.73 103.12 103.51 103.9 104.29 104.68 105.07 105.46 105.85 106.24 106.63 107.02 107.4 107.79 108.18 108.57 108.96 109.35 109.73 110.12 110.51 110.9 111.29 111.67 112.06 C 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 112.45 112.83 113.22 113.61 114 114.38 114.77 115.15 115.54 115.93 116.31 116.7 117.08 117.47 117.86 118.24 118.63 119.01 119.4 119.78 120.17 120.55 120.94 121.32 121.71 122.09 C 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 122.47 122.86 123.24 123.63 124.01 124.39 124.78 125.16 125.54 125.93 126.31 126.69 127.08 127.46 127.84 128.22 128.61 128.99 129.37 129.75 130.13 130.52 130.9 131.28 131.66 132.04 C 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 132.42 132.8 133.18 133.57 133.95 134.33 134.71 135.09 135.47 135.85 136.23 136.61 136.99 137.37 137.75 138.13 138.51 138.88 139.26 139.64 140.02 140.4 140.78 141.16 141.54 141.91 142.29
Is this the best Design Idea in this issue? Vote at www.ednmag.com/edn mag/vote.asp.
RTD
649k GAIN ADJUST 5V VCC 3 6 IC2 LTC1050 27k 2 4 7 + 6 IC3 LTC1050 OUTPUT P1
Figure 1
PT100 5V VCC
5V VCC 1-mA ADJUST IC1 MC1403 GND OUT 2 2.5V 500 P1 0.1 F R1 2.21k 3 2 +
1 0.1 F
IN
VEE 5V
1k
0.1V
274
This circuit provides accurate temperature measurements using a PT100 RTD element.
www.ednmag.com