XFORMER21 N1 N2 N3 N4
VM1 N9 N7 DC 0
RS1 N3 N9 1U
E1 N7 N4 N1 N2 20
F1 N1 N2 VM1 20
RP N2 N1 1MEG
but I find I use mos switch in N2 (N1 is input Vcc) on/off
I already set N3/N4 ration= 10 * v(N1, N2)
but N3 N4 no output signal ,
because N1 N2 signal is very small
because pwr_mos Rds is small..
how to really simulation power_mos & transformer in hspice ?
.probe tran v(vin) v(1) v(2) v(3) i(l1) i(l2)
from L1 L2 ration is 10:1 , input 170v AC signal
but I use hspice simulation v(3) signal is very very small ..
why ??
It looks like your transformer is not connected properly. You have the output 3 and 4 but you connect one terminal via a large resistor to ground and measure the other terminal to ground through a small value resistor. Try measuring the (3.4) terminal pair.