SPICE dynamic transformer simulation

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

Reply to
JT
Loading thread data ...

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

--
Mark
Reply to
qrk

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.

Reply to
Joel Kolstad

JT a écrit :

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.

--
Thanks,
Fred.
Reply to
Fred Bartoli

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.