Maker Pro
Maker Pro

What these terms of modeling are?

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

What meaning of the VISRC and FCTRL and EVCVS are?
 
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

What meaning of the VISRC and FCTRL and EVCVS are?

When I simulate with the netlist, I got a wrong message. when I change
FCTRL 6 2 VISRC 1E+0
EVCVS 8 9 5 2 1E+0
into
FCTRL 6 2 VISRC 1E-1
EVCVS 8 9 5 2 1E-1
The program can be go on. whats matter?
whats different between the numbers?
thanks
 
S

sycochkn

Jan 1, 1970
0
readeraz said:
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

What meaning of the VISRC and FCTRL and EVCVS are?

Lxxx is an unductor
Rxxx is a resistor
V is a voltage
..subckt is defined elsewhere
the numbers are the nodes.
if you know how to read it the schematic is represented by this data.

Bob
 
H

Helmut Sennewald

Jan 1, 1970
0
readeraz said:
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

What meaning of the VISRC and FCTRL and EVCVS are?

Hello,

This may be the model of an "ideal" transformer working from DC
to an upper frequency limit defined by LLEAK and the external
source and load resisatnce.

Try Google: ideal transformer spice

Best regards,
Helmut
 
R

readeraz

Jan 1, 1970
0
Hello,

This may be the model of an "ideal" transformer working from DC
to an upper frequency limit defined by LLEAK and the external
source and load resisatnce.

Try Google: ideal transformer spice

Best regards,
Helmut

I know its model of transformer. what I want to know is
What meaning of the VISRC and FCTRL and EVCVS are?
I search web site and cannt get the answer.
thanks at the same.
I know the rest terms meanings. they are all standard modeling terms
 
R

readeraz

Jan 1, 1970
0
Lxxx is an unductor
Rxxx is a resistor
V is a voltage
.subckt is defined elsewhere
the numbers are the nodes.
if you know how to read it the schematic is represented by this data.

Bob

Hi, Bob,
I know the rest terms meaning. what I want to knwo is
What meaning of the VISRC and FCTRL and EVCVS are?
I know Vsrc and I src is voltage and current source. wht is VISRC and
Fc...
 
S

sycochkn

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

.SUBCKT 1TO1#0 1 2 3 4
VISRC 9 4 DC 0V


N+ and N- are the positive and negative nodes, respectively. Note that
voltage sources need not be grounded. Positive current is assumed to flow
from the positive node, through the source, to the negative node. A current
source of positive value forces current to flow out of the N+ node, through
the source, and into the N- node. Voltage sources, in addition to being used
for circuit excitation, are the 'ammeters' for SPICE, that is, zero valued
voltage sources may be inserted into the circuit for the purpose of
measuring current. They of course have no effect on circuit operation since
they represent short-circuits.
FCTRL 6 2 VISRC 1E+0

Linear Current-Controlled Current Sources
General form:
FXXXXXXX N+ N- VNAM VALUE

Examples:
F1 13 5 VSENS 5
N+ and N- are the positive and negative nodes, respectively. Current flow is
from the positive node, through the source, to the negative node. VNAM is
the name of a voltage source through which the controlling current flows.
The direction of positive controlling current flow is from the positive
node, through the source, to the negative node of VNAM. VALUE is the current
gain.


EVCVS 8 9 5 2 1E+0

Linear Voltage-Controlled Voltage Sources
General form:
EXXXXXXX N+ N- NC+ NC- VALUE

Examples:
E1 2 3 14 1 2.0
N+ is the positive node, and N- is the negative node. NC+ and NC- are the
positive and negative controlling nodes, respectively. VALUE is the voltage
gain.
 
R

readeraz

Jan 1, 1970
0
N+ and N- are the positive and negative nodes, respectively. Note that
voltage sources need not be grounded. Positive current is assumed to flow
from the positive node, through the source, to the negative node. A current
source of positive value forces current to flow out of the N+ node, through
the source, and into the N- node. Voltage sources, in addition to being used
for circuit excitation, are the 'ammeters' for SPICE, that is, zero valued
voltage sources may be inserted into the circuit for the purpose of
measuring current. They of course have no effect on circuit operation since
they represent short-circuits.


Linear Current-Controlled Current Sources
  General form:
  FXXXXXXX N+ N- VNAM VALUE

  Examples:
  F1 13 5 VSENS 5
N+ and N- are the positive and negative nodes, respectively. Current flow is
from the positive node, through the source, to the negative node. VNAM is
the name of a voltage source through which the controlling current flows.
The direction of positive controlling current flow is from the positive
node, through the source, to the negative node of VNAM. VALUE is the current
gain.


Linear Voltage-Controlled Voltage Sources
  General form:
  EXXXXXXX N+ N- NC+ NC- VALUE

  Examples:
  E1 2 3 14 1 2.0
N+ is the positive node, and N- is the negative node. NC+ and NC- are the
positive and negative controlling nodes, respectively. VALUE is the voltage
gain.





- Show quoted text -

Thank you very much, Sycon,
its very clear to explain.
but I wonder why I change
FCTRL 6 2 VISRC 1E+0
EVCVS 8 9 5 2 1E+0
into
FCTRL 6 2 VISRC 1E-1
EVCVS 8 9 5 2 1E-1
the simulation can run, that means, when gain is 0.1, simulation can
be run, but when gain is 1, it denny to run and display wrong message
as
step too small,
whats matter?
 
R

readeraz

Jan 1, 1970
0
Thank you very much, Sycon,
its very clear to explain.
but I wonder why I change
FCTRL 6 2 VISRC 1E+0> EVCVS 8 9 5 2 1E+0

into
FCTRL 6 2 VISRC 1E-1> EVCVS 8 9 5 2 1E-1

the simulation can run, that means, when gain is 0.1, simulation can
be run, but when gain is 1, it denny to run and display wrong message
as
step too small,
whats matter?- Hide quoted text -

- Show quoted text -

BTW,
how to creat the following words xxxx?
is it random? or by context?
for example
Vxxxx
producing
VISRC,
Vcon
V1 etc?
 
J

Joel Koltner

Jan 1, 1970
0
"how to creat the following words xxxx?
is it random? or by context?"

It's whatever you want it to be. As far as a simulator is concerned, the
names might as well be random so long as they're unique. If you use a
schematic capture package, often the names will just be V1, V2, V3, etc. For
"hand-crafted" models, often people will try to use meaningful names so that
other (huamans) reading the text have some idea what the function of the part
is. E.g., "Lleak" clearly suggests an inductor modeling leakage inductance.

Note that the early simulators in the '70s and some in the '80s only allowed
numbers (V1, V2, V3), but as far as I'm aware all contemporary simulators
allow named devices (Vsource, Vbattery, etc.)
 
S

sycochkn

Jan 1, 1970
0
Thank you very much, Sycon,
its very clear to explain.
but I wonder why I change
FCTRL 6 2 VISRC 1E+0> EVCVS 8 9 5 2 1E+0

into
FCTRL 6 2 VISRC 1E-1> EVCVS 8 9 5 2 1E-1

the simulation can run, that means, when gain is 0.1, simulation can
be run, but when gain is 1, it denny to run and display wrong message
as
step too small,
whats matter?- Hide quoted text -

- Show quoted text -

BTW,
how to creat the following words xxxx?
is it random? or by context?
for example
Vxxxx
producing
VISRC,
Vcon
V1 etc?

the xxxx is where you enter an arbitrary name to make it unique.

Bob
 
R

readeraz

Jan 1, 1970
0
BTW,
how to creat the following words xxxx?
is it random? or by context?
for example
Vxxxx
producing
VISRC,
Vcon
V1 etc?

the xxxx is where you enter an arbitrary name to make it unique.

Bob- Hide quoted text -

- Show quoted text -

thank you all.
and can you continue next,
what change the gain can run sumulation
 
K

Kevin Aylward

Jan 1, 1970
0
readeraz said:
Thank you very much, Sycon,
its very clear to explain.
but I wonder why I change
FCTRL 6 2 VISRC 1E+0
into
FCTRL 6 2 VISRC 1E-1
the simulation can run, that means, when gain is 0.1, simulation can
be run, but when gain is 1, it denny to run and display wrong message
as
step too small,
whats matter?

A "time step to small" error is simply that the spice engine was unable to
find a solution. It does not mean that there is a specific error in the
circuit. However, unrealistic circuits can produce this failure to converge
problem.

Spice is a general purpose non-linear differential equation solver. It does
this numerically. There is no guarantee that all circuits can be solved by
this technique.
 
R

readeraz

Jan 1, 1970
0
A "time step to small" error is simply that the spice engine was unable to
find a solution. It does not mean that there is a specific error in the
circuit. However, unrealistic circuits can produce this failure to converge
problem.

Spice is a general purpose non-linear differential equation solver. It does
this numerically. There is no guarantee that all circuits can be solved by
this technique.

--
Kevin Aylward
[email protected]
SuperSpice- Hide quoted text -

- Show quoted text -

yes,
I try to change step interval. but fail. when I change the number from
+0 to -1, the solver go on. and I get the result.
it seems the original number made the equation unconvergency.
I dont know why?
thanks
 
R

readeraz

Jan 1, 1970
0
FCTRL 6 2 VISRC 1E-1 (1E0)

EVCVS 8 9 5 2 1E-1

I was prompt that the value of 1E+0 is ratio of the transformer. I set
the transformer is 10:1, so that the ratio should be 0.1, but the
default is 1E+0, was this the cause that fail to run continue?
 
R

Rick G

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

What meaning of the VISRC and FCTRL and EVCVS are?
[Independant Source]
Vxxx = Dependant Voltage source
format V<name> +node -node DC value of 0 volts

[Dependant Sources]
Exxx =Voltage Controlled Voltage source
format E<name><+node -node> <+ctrl node, -ctrl node> Gain
so device EVCVS has output nodes at 8,9 which is equal to the
voltage across node 5,2 multiplied by gain of 1 <unity gain>

Fxxx = Current Controlled Current source
format F<name> <+node, -node> <ctrl Voltage source> Gain
so device FCTRL has output nodes 6,2 which has a values in
current equal to current flowing through Ctrl voltage source VISRC
times a gain of 1
** notice that this independent voltage source has no dc voltage
value. This acts like an Ammeter

(+) and (-)
Output nodes. A positive current flows from the (+) node through the
source to the (-)
node. The current through the controlling voltage source determines
the output current.
The controlling source must be an independent voltage source (V
device), although it
need not have a zero DC value.

I hope that helps
 
Top