How to set up a 1:1 transformer model?

Aug 11, 2008 1 Replies

I draw a transformer simultion with spice. when I chang ratio



from 10:1 to 1:1. I get the model as follow.



.SUBCKT 1TO1 1 2 3 4 VISRC 9 4 DC 0V FCTRL 6 2 VISRC 1E+0 EVCVS 8 9 5 2 1E+0 RPRI 1 7 1E-1 RSEC 8 3 1E-1 LLEAK 7 5 1E-6 LMAGNET 6 5 1E-6 .ENDS 1TO1



when simulation is impletement, the information I got is doAnalyses: Timestep too small run simulation(s) aborted



But when I recover to 10:1, the simulation is runing. .SUBCKT 10TO1 1 2 3 4 VISRC 9 4 DC 0V FCTRL 6 2 VISRC 1E-1 EVCVS 8 9 5 2 1E-1 RPRI 1 7 1E-1 RSEC 8 3 1E-1 LLEAK 7 5 1E-6 LMAGNET 6 5 1E-6 .ENDS 10TO1



When I chnge above model FCTRL 6 2 VISRC 1E+0 EVCVS 8 9 5 2 1E+0 to FCTRL 6 2 VISRC 1E-1 EVCVS 8 9 5 2 1E-1 I got: Warning: premature EOF now, How shall I set up a 1:1 model?


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required