Barry's Coilguns 

Mark 2 
RLC Circuit SimulationThis is a Java simulation of a classic RLC (resistor  inductor  capacitor) circuit. You should see an applet (below) with slider controls to adjust the parameters, which controls a graph of inductor current during its initial response. About the RLC SimulationThis simulates a RLC circuit alone, without the projectile. This coil has constant (fixed) inductance throughout the simulation. This is a "simple" circuit to let you play with various component values and see what happens. Your goal in this little game is to find a combination of values which result in maximum peak coil current, and which also dies away to near zero in about the time it takes the projectile to pass the midpoint of your coil. Good luck! So you probably need to estimate first how much time is needed. Look at a crude timing estimate for one approach to get some ballpark figures. The program will autoscale the vertical axis to show multiples of 4 and 10 amps. Also, it will autoscale the horizontal axis based on the natural frequency of the tuned LC circuit. It will display enough time for at least 2 complete cycles, and as many as 8 cycles. Be sure to read the axis labels carefully to understand the scales. This is the same RLC circuit which is typically analyzed in standard introductory engineering courses. It is a wellunderstood circuit, and you can find books and equations to describe its characteristics on the web. Please see my analysis on my next web page for some general comments about how this is adapted to coilguns. Trouble?Are you having a problem running the applet? This program requires Java Runtime Environment (JRE) 1.4 or above. The current recommended JRE is Version 7 Update 17 as of March 2013. You can download the latest Java executables from Oracle at www.java.com. Then look through their list for your operating system and click the desired file to download. If my applet still doesn't work, try to open your Java Console window in your web browser. The console icon will usually look like a steaming coffeecup. Copy and paste its contents into a message and email it to me for troubleshooting. About the ProgramThis program solves a firstorder linear differential equation, by numerically computing the change in voltage and current in each small increment of time. It uses a fourth order RungeKutta solution for improved accuracy. The program was written with IntelliJ (www.intellij.com) using Swing classes. My Java source code is open and freely available in CoilSim20.zip (20KB). I want to keep the Internet clean so please report bugs, request features, send me compliments and make suggestions about the simulator. 



Last Update 20171109
©19982019 Barry Hansen 