Maker Pro
Maker Pro

What meaning are these terms of modeling in spice simulation?

R

readeraz

Jan 1, 1970
0
There are some terms of transformer modeling in spice simulation, like
below,

..SUBCKT 1TO1#0 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

I hope to know, what the terms of VISRC and FCTRL are?
and when I use specification of
..
FCTRL 6 2 VISRC 1E-1
EVCVS 8 9 5 2 1E-1

the simulation can be run, but if according to above specificagtion(1E
+0)
the simulation will stop,
what happed? why
 
R

readeraz

Jan 1, 1970
0
VISRC is an independant voltage source, as are all component named
beginning with 'V' . From the above model, it appears to be a zero volt
source. This is esentially a wire, but it has special meaning to spice.
The curent through a voltage source may be referenced in another model
line. In this case, VISRC is used in:

FCTRL 6 2 VISRC 1E-1

FCTRL is a linear dependant current source, as are all components
beginning with 'F'. The value of this source is defined by the current
VISRC times 1E-1.



Which 1E-1 parameter are you changing? Both?

Stop how? With what error? Or does it just hang?

Thank you very much, Paul,
I change both of them.
when dont change, prompt is
too samll step . then hang.
 
R

readeraz

Jan 1, 1970
0
This is what it seems to look like in a nodal mesh (fixed font)

 1 ---\/\/\----  7 ----uuuuu----- 5 -------       8 ---\/\/\/------ 3
      RPRI             LLK        l        l      l    RSEC
                                  l        l      l
                                  l        l      l
                                  C        l      l
                                  C       / \    / \
                           LMAG   C      /   \  /   \
                                  C     l     l l    l
                                  C      \   /   \  /
                                  l       \ /     \/
                                  l        l       l
            FCTRL                 l        l EVCVS l    VISRC
  2 -----x---/ \----------------- 6        l       9 ---/ \-------- 4
         l  l   l                          l           l   l
         l   \ /                           l            \ /  
         l---------------------------------l

1E+/-0 = 1

Your "transformer" is a subcircuit that includes frequency dependant
components that I don't recognize. It could possibly be replaced by a
coupled inductor with externally modified strays, if only basic
function is required.

Perhaps you should ask the guy you got it from.

An old spice3 tutorial

http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/

RL- Hide quoted text -

- Show quoted text -

Thank ou RL,
 
P

Paul Hovnanian P.E.

Jan 1, 1970
0
readeraz said:
Thank you very much, Paul,
I change both of them.
when dont change, prompt is
too samll step . then hang.

Probably too small a time step in your .TRAN statement. Or the step size
is OK, but the time range is too big.
 
Top