Maker Pro
Maker Pro

SPICE dynamic transformer simulation

J

JT

Jan 1, 1970
0
Hi,

I need to create a transformer subcircuit of which the primary
inductance (# primary turns) can change based on the value of the input
voltage. My SPICE experience amounts to point and clicking in
circuitmaker, but I'm sure I need to allow the subcircuit to accept
the V parameter and use it to calculate L1 internally? Can anyone
nudge me in the right direction?

Thanks,

JT
 
J

JT

Jan 1, 1970
0
Sorry, the input parameter is "some" voltage, not the actual voltage
 
Q

qrk

Jan 1, 1970
0
Hi,

I need to create a transformer subcircuit of which the primary
inductance (# primary turns) can change based on the value of the input
voltage. My SPICE experience amounts to point and clicking in
circuitmaker, but I'm sure I need to allow the subcircuit to accept
the V parameter and use it to calculate L1 internally? Can anyone
nudge me in the right direction?

Thanks,

JT

Parameter statement? PSpice, LTspice and others support parameter
(.param) statements. Hopefully Circuitmaker supports .param.
 
J

Joel Kolstad

Jan 1, 1970
0
JT said:
Sorry, the input parameter is "some" voltage, not the actual voltage
on the transformer primary. (just in case someone thinks I'm crazy)

Does it have to be "some" voltage? Or can it be "some parameter?" -- In
which case you can just use the parameter's name as the value for the
transformer models' magnetizing inductance.
 
F

Fred Bartoli

Jan 1, 1970
0
JT a écrit :
Sorry, the input parameter is "some" voltage, not the actual voltage

With such initials you should be up to the task :)

OK, one way is to copy the input port voltage across an inductor using a
VCVS and measure the resulting current (with a 0V voltage source).
Then you reflect this current on the input port with a B current source,
applying the operation you want.

Just beware that doing so you can easily end up with non physical
devices (particularly if you're modelling non linear components) if
you're not careful enough.
 
Top