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

LTSpice Simulation template?!
LTSpice Simulation template?!
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 6th May 2009, 07:01 PM   #1
ipop07 is offline ipop07  Canada
diyAudio Member
Join Date: Jul 2008
Default LTSpice Simulation template?!

I am looking for a template electric diagram that allows me to simulate the results of various transformers. I am new to the SPICE simulation software in general but am trying to be able to "test" some transformers. I already have the transformer symbol with all the appropriate settings and files for addition of other transformers but have no circuit to test it on.

Could one of you be kind enough to a youngster that is trying to learn some?

I would greatly appreciate it.

  Reply With Quote
Old 6th May 2009, 07:05 PM   #2
Ty_Bower is offline Ty_Bower  United States
diyAudio Member
Ty_Bower's Avatar
Join Date: Mar 2007
Location: Newark, DE
You will find some LTSpice models here:
  Reply With Quote
Old 7th May 2009, 12:00 AM   #3
iko is offline iko  Canada
diyAudio Moderator
iko's Avatar
Join Date: May 2008
Location: Toronto
LTSpice Simulation template?!
My suggestion is that you start with a simple power supply simulation.

Build a schematic first:
1) voltage source, sine, 0V DC offset, 120V amplitude, 60Hz
2) three inductors, L1 will be transformer primary, L2, and L3, secondary windings. Include a spice statement
k0 L1 L2 L3 0.9992
which basically connects the three inductors. To do that, click on the menu button ".op" (upper right hand side)
3) connect L1 with the voltage source, making sure one of the ends is grounded; connect L2 and L3 in series. The middle point is the center tap. See attachment for the actual values. The transformer will step up from 120V to about 300V.
4) ground the center tap of the secondary of your transfomer
5) connect two diodes at the two outer ends of L2 and L3, anode (triangle) towards the transformer, and the cathode (vertical line) together

For details, see the attached file. Load it in ltspice, and run it. Play with it, change values, etc.
Attached Files
File Type: zip psu-example-1.zip (842 Bytes, 82 views)
  Reply With Quote
Old 11th May 2009, 02:51 PM   #4
ipop07 is offline ipop07  Canada
diyAudio Member
Join Date: Jul 2008
thanks guys, im going to try the example ikoflexer posted, i will come back with questions im sure of it...
  Reply With Quote
Old 12th May 2009, 01:18 AM   #5
dave slagle is offline dave slagle  United States
diyAudio Member
Join Date: Mar 2003
Location: NYC
Originally posted by ikoflexer
1) voltage source, sine, 0V DC offset, 120V amplitude, 60Hz
LTspice treats sine waves as peak values so in order to get 120Vrms you need to enter in 168V as the AC voltage.

Attached Images
File Type: png picture 7.png (23.6 KB, 194 views)
  Reply With Quote
Old 13th May 2009, 06:17 PM   #6
ipop07 is offline ipop07  Canada
diyAudio Member
Join Date: Jul 2008
i just realized how little I know....
This is what I need to accomplish, and I have no clue how, not even how to start:

I need to make a circuit in which I can test a transformer, but be able to change it and test another with little work (as in not rebuilding another circuit)..
i need to accomplish this for an output transformer and a power transformer.

maybe a better example would be: if you were to ask a transformer manufacturer for a spice model for their transformer what would you ask for? So now if I put myself in the manufacturer's shoes how do I come up with such a model...not sure how to ask other than this..

i need this for a project I am working on and I have no clue how to come up with it...

P.S: i have loaded these files into ltspice: http://www.intactaudio.com/forum/vie...67ecbb8c966883
and I am guessing this would be great since it has a drop down menu to use...but how do I use it in the most simple way...
  Reply With Quote


LTSpice Simulation template?!Hide 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
Distortion simulation with LTspice tiagor Solid State 32 22nd December 2012 09:33 PM
Garrard 301 template phn Analogue Source 24 20th September 2010 03:50 PM
dual turntable mounting template PTSOUNDLAB Analogue Source 5 27th February 2010 01:04 AM
DIY Tonearm Mounting Template ??? PlatterMatter Analogue Source 8 13th September 2007 06:01 AM
LTSpice PSU simulation help - SoftStart modeling ninjanki Power Supplies 10 21st March 2005 04:04 PM

New To Site? Need Help?

All times are GMT. The time now is 11:04 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio