SPICE dynamic transformer simulation

Nov 16, 2006 4 Replies

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.

Mark

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.

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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required