Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

spice transformer model using physical parameters
spice transformer model using physical parameters
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 9th January 2013, 04:04 AM   #1
PlasticIsGood is offline PlasticIsGood  United Kingdom
diyAudio Member
PlasticIsGood's Avatar
Join Date: Mar 2012
Location: Bradford
Default 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.
Attached Images
File Type: gif TransformerIllustration.GIF (47.0 KB, 130 views)
File Type: gif CoilModel.GIF (20.3 KB, 126 views)
File Type: gif CoreModel.GIF (12.8 KB, 119 views)

Last edited by PlasticIsGood; 9th January 2013 at 04:13 AM.
  Reply With Quote
Old 9th January 2013, 04:58 AM   #2
jcx is offline jcx  United States
diyAudio Member
Join Date: Feb 2003
Location: ..
from Ltspice inductor help description:

There other non-linear inductor available in LTspice is a hysteretic core model based on a model first proposed in by John Chan et la. in IEEE Transactions On Computer-Aided Design, Vol. 10. No. 4, April 1991 but extended with the methods in United States Patent 7,502,723. This model defines the hysteresis loop with only three parameters...
probably more on Ltspice Yahoo group (have to sign up)

I also like cruising Intusoft site, newsletters for spice hints

Last edited by jcx; 9th January 2013 at 05:01 AM.
  Reply With Quote
Old 10th January 2013, 09:50 AM   #3
PlasticIsGood is offline PlasticIsGood  United Kingdom
diyAudio Member
PlasticIsGood's Avatar
Join Date: Mar 2012
Location: Bradford
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.
  Reply With Quote


spice transformer model using physical parametersHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SPICE Transformer Model Spreadsheet Robert McLean Tubes / Valves 34 30th May 2016 09:02 AM
PSpice SPICE Model Parameters Tutorial masa6614 Software Tools 0 6th December 2009 10:36 PM
Power Transformer Spice Model classd4sure Power Supplies 3 20th July 2006 04:50 PM
output transformer spice model Paracelsus Tubes / Valves 6 9th September 2005 03:52 PM
spice model parameters or better program replacement mars1 Everything Else 0 10th February 2004 05:28 PM

New To Site? Need Help?

All times are GMT. The time now is 10:41 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio