Circuit Modeling with SPICE

2 09 2011

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.








%d bloggers like this: