spice transformer model using physical parameters
I haven't seen this done before. Might be of some interest before I delete the pics.
I made these models originally for valve output transformer experiments a few years ago. They are in Proteus, a 3f4 variant. I assume similar can be done in any version because the idea is so simple, although I must admit I don't know how spice manages to resolve the circular reference in the functions.
The original idea was to take into account hysteresis and varying mu, but I never got that far.
The models, one for a core and one for a coil, use voltage and current-controlled voltage and current sources, together with capacitor differentiation, to model the magnetics as an electrical circuit.
The magnetic circuits of coils and core can be linked up as shown to make a transformer. Any number of different coils can be wired in parallel to the same core. Flux density can be monitored as shown.
Parameters appearing in <brackets> should be set up so they can be entered when the models are used. Hopefully the meaning of each is obvious...Rw is winding resistance, etc...
One such parameter is mu, which unfortunately remains constant. I couldn't think of a function to model the BH curve. In consequence, hysteresis is not modeled either.
First pic is of a transformer in operation, using the two models, at top. Other simple models show output is same for all. Dunno what the one on the right was for.
Second and third pics are the models underlying the coil and core. The winding resistance, leakage inductance and winding capacitance don't have to be split up like I've done...I was just messing about.
In functions including the likes of I(A,B), the A and B refer to the controlling inputs of the voltage or current source.
from Ltspice inductor help description:
I also like cruising Intusoft site, newsletters for spice hints
Interesting, thanks. At the time I was working on the idea, models including hysteresis were defined only for a particular constant frequency. From memory, they used several capacitors with leakage resistances and zeners, such that the caps would absorb energy beyond certain flux densities, and not return all of it.
I'll take another look.
|All times are GMT. The time now is 02:15 PM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio