I am trying to simulate an efficient circuit to take 120 V AC at 60 Hz and convert it to 5 V, 5 A. I have a transformer and rectifier circuit to get the 120 V down to about 12.6 V DC and I made a buck converter to take the 12.6 V to 5 V.
The circuits work fine when separate, but when I combine the two it doesn't work, the transformer seems to drop the output to less than 10 V.
I don't understand why, because then I can't get the math to work for either circuit.
I was using the LC3636 in these simulations but I was having the same problem were the chip would work fine connected to a 12.6 V DC source but when connected to the rectifier it would just fall apart.
Please help if you are able to. Also I should add that the buck converter with the DC power supply is 90% efficient, but when I adjust the values (guessing and checking to make the whole circuit "work") the efficiency drops to around 50%.
M1
, you should also use one forD1
, andD2
is not needed since the.model
has a built-in antiparallel diode. That can be disabled withis=0
though, and then you can use the external diode with thevp
parameter, which the VDMOS doesn't have. Also, your.tran
card doesn't make sense: the total simulation time is0.5 s
and the timestep is1 s
? Try.tran 5m
; increase if needed. For tight(er) timestep use.tran 0 5m 0 0.1u
. No need foruic
. \$\endgroup\$-90
) and you can add an.ic i(l1)=0
, which will make the output start at maximum, save the initial step response due to the derivative and the initial voltages on the capacitor(s) (which can also be set either through the.ic
or with their ownic=<...>
values). Example. \$\endgroup\$