Last week Raymond Rogers made a SPICE model of my coil circuit. Extremely helpful and awesome, thanks Ray!
SPICE is a general-purpose open source analog electronic circuit simulator.
I’ve been trying to get started with SPICE for a while now, but the steep learning curve prevented much progress. So to have a working example of a circuit I’m familiar with is so very useful.
Now we can run virtual experiment on the coil circuit and see how much current we get. Pretty damn cool!
Here are some example input values and resulting current graph:
Capacitance: 15 mF, 450V
Coil resistance: 180 mΩ
Coil inductance: 0.1mH
In this diagram the vertical axis is the voltage of a 1mΩ ammeter resistor, so 1V = 1KA.
I encourage anyone who knows splice to run this code, make changes and share results.
Also a shout out to jstults for his python script for inductance modeling.
THIS IS OPEN SOURCE SCIENCE.
Thanks for the nod; I’ve been meaning to get better at spice too; running your circuit is a good excuse.
I’ve also been playing a bit with QUCS; which, while still developing, has some neat capabilities and is open source.
Coding spice by hand? o_O Just use a simulator like Tina-TI. http://focus.ti.com/general/docs/gencontent.tsp?contentId=114702&litId=sloc241a
For something simple like this, you can use http://www.falstad.com/circuit/, which is nice to use and lets you probe any point in the circuit. Is this your circuit?
http://www.falstad.com/circuit/#%24+1+5.0E-6+3.5993318835628396+41+5.0+50g+304+240+304+256+0R+224+128+192+128+0+0+40.0+450.0+0.0+0.0+0.5r+224+128+304+128+0+1000.0c+304+128+304+240+0+0.015+0.6645214101754234r+304+128+368+128+0+0.1159+368+128+432+128+0+0.1+1000000.0L+400+144+400+176+0+0+false+5.0+0.0l+464+192+464+256+0+1.0E-4+1.5943681117569497E-5r+464+256+464+320+0+0.0010g+464+320+464+336+0r+464+192+464+128+0+0.18w+432+128+464+128+0o+3+64+0+35+2.5+3.2+0+-1o+8+64+0+35+0.0048828125+3.2+1+-1
This version is easier to work with, if not 100% true-to-life:
http://www.falstad.com/circuit/#%24+1+5.0E-6+3.5993318835628396+41+5.0+50g+272+240+272+256+0R+112+128+80+128+0+0+40.0+450.0+0.0+0.0+0.5r+112+128+192+128+0+0.1c+272+128+272+240+0+0.015+7.303470967737259r+272+128+336+128+0+0.1159+336+128+400+128+0+0.1+1000000.0L+368+144+368+176+0+1+false+5.0+0.0l+432+192+432+256+0+1.0E-4+20.14111489125466r+432+256+432+320+0+0.0010g+432+320+432+336+0r+432+192+432+128+0+0.18w+400+128+432+128+0s+192+128+272+128+0+1+truex+447+195+476+200+0+20+coilx+461+296+581+301+0+20+current-sensex+281+103+332+108+0+20+wiringo+3+64+0+35+640.0+6553.6+0+-1o+7+64+0+33+320.0+1638.4+1+-1o+8+64+0+34+1.25+819.2+2+-1
When I try the circuits you made, I just see a black applet window.
However the falstad example circuits are amazing!
ooooops. some characters got stripped or something.
Direct links to simulations:
Same as SPICE (takes forever to charge up)
Faster to charge
readme.md
hosted with ❤ by GitHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Faster.falstad.txt
hosted with ❤ by GitHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Same as SPICE.falstad.txt
hosted with ❤ by GitHub
you can either copy paste the URL or copy paste the raw data and use the “File → Import” function.
That works. Freaking awesome!
Microcap is a professional simulator I use, but a demo can be downloaded that allows up to 50 components, that should be more than enough for what you are doing.
[…] Previously we modeled the polywell coils and power supply in SPICE. […]