I want to design a Flyback converter to get output voltages 18V and -5V w.r.t an isolated ground Vcom, from an input Vin=5V w.r.t ground(0). Accordingly, as Vo/Vin=(N2/N1).D/(1-D), I have given the switch a duty ratio of 0.5; so for the top secondary winding I use a transformation ratio of 5:18, and for the second, 5:5. The voltages induced on the primary windings of the transformer is as expected when the switch is on, 5V on primary and 18V and 5V on secondary windings. But when the switch is off and diode is conducting, the voltages are not as expected (-5V on primary; and -18V and -5V on secondary windings), but are rather increasing steadily on the negative side. I figured that is because unlike expected, the output voltages are not constant at 18V (Vdc_18,Vcom) and -5V (Vdc_-5,Vcom) but are rather increasing steadily.


Also, the ripples in the voltages on windings are very large at the time of switching transition. The red is the primary winding voltage, blue the top secondary winding. Note how on the positive side the voltages are 5V and 18V as expected (after settling), but on negative they are quite larger.

If someone could guide me on why am I observing this behavior, it would be really helpful.
Note: I noticed during charging capacitor voltage ripple is quite larger than the ripple during discharging, as a result of which capacitor voltage is increasing. Why is that happening, I'm not sure. The charging and discharging ripple should've been same.
Attaching the .asc file for reference.


Also, the ripples in the voltages on windings are very large at the time of switching transition. The red is the primary winding voltage, blue the top secondary winding. Note how on the positive side the voltages are 5V and 18V as expected (after settling), but on negative they are quite larger.

If someone could guide me on why am I observing this behavior, it would be really helpful.
Note: I noticed during charging capacitor voltage ripple is quite larger than the ripple during discharging, as a result of which capacitor voltage is increasing. Why is that happening, I'm not sure. The charging and discharging ripple should've been same.
Attaching the .asc file for reference.
Attachments
-
2.4 KB Views: 3





