| |
 |
|
|
Science Forum Index » Electronics - Cad Forum » How to set up a 1:1 transformer model?...
Page 1 of 1
|
| Author |
Message |
| readeraz... |
Posted: Mon Aug 11, 2008 3:34 am |
|
|
|
Guest
|
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? |
|
|
| Back to top |
|
| readeraz... |
Posted: Mon Aug 11, 2008 3:35 am |
|
|
|
Guest
|
On Aug 11, 9:34 pm, readeraz <cnni... at (no spam) 126.com> wrote:
Quote: 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?
I use protel99se simulator |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Thu Nov 20, 2008 1:53 pm
|
|