If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #14
Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
Extract from the old board: yeah, now i understand.
I need to know if this calculus that i do in my simulator is somewhat correct:
The behauviour of the LCR circuit was described before but i added the variable inductance and a backEMF generated from the moving projectile.
Now i have I on time and compute B of the lone solenoid (solenoid shell with finite lenght) at the center of the projectile. Then i calculate the magnetization with my model (But hyperbolic tangent gives almost the same results). I calculate the dipole multiplying by the projectile volume.
knowing the dipole moving in a mag field i obtain the magnetic potential energy and taking the derivative along the moving dyrection of the projectile i get force.
I have problems in calculating inductance so for now i keep it constant
It seems to give quick'n'dirty results but the behauviour is essentually correct.
I cannot attach images to show you the GUI.
i have done some simulations for my halfbridge coilgun (three stages, each calculated separately with the speed of the previous one)
obtaining a speed of 46,4m/s (6g) a muzzle energy 6,45 (with a total energy consumption of 78J) total efficiency 8.2%
the turn off time is when the projectile releases the photogate (-6mm from coil). The suck back is present and can be eliminated controlling the pulsetime (i have a strand of 555 controlling the pulses)
The results does'n look weird for such a simple model. maybe using your reluctance model and adding eddy losses would boost the accuracy
Registered Member #14
Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
Run a simulation with these parameters: coil turns 320 coil lenght 30 mm coil internal diameter 8 mm coil external diameter 18.4 mm no ferromagnetic shield around coil
topology: free running scr + diode (no quench resistor apart the coil itself) switch voltage drop 1.4V diode voltage drop 800mV
projectile diameter: 5.5mm projectile lenght: 30mm projectile weight: 6 grams saturation magnetization: 2.1 tesla initial permeability : mu_r 5000 initial position : -30 mm (measured from center of coil to center of projectile) initial velocity : 0 m/s
Registered Member #14
Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
I added static friction to the model calculating it for my barrel (measuring the angle at which che projectile falls off) but it doesn't really make any difference in results. Maybe can bu used for rifled barrels since determining the coefficient is very easy.
Waverider I'm awaiting for your simulation to compare the results
Registered Member #14
Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
I have compiled your program on windows but have some problems in translating the data since your simulator asks me for gap lenght and i am forced to write the difference in diameter between the projectile and the coil inner radios (my simulator does'nt threat shields ) . I recalculate Bsat with your advices in the readme. There is a little suckback but less than predicted in my simulator. Also the current predicted in your simulator is bigger (faster discharge, this explains why less suckback), i calculated the inductance using wheeler formula and the variations on ind0 with a reverse formula on the force.
Anywais your simulator says 17.5 m/s that's pretty close to my prediction but i don't really know if i calculated this correctly since there is the shield.
Registered Member #29
Joined: Fri Feb 03 2006, 09:00AM
Location: Hasselt, Belgium
Posts: 500
Hi Mero.
Bravo! Glad to hear that you got my code to work on your computer..
I ran a simulation with these values (based on what you gave me)
# Coil Length (m) = 3.000000e-02
# Projectile length (m) = 3.000000e-02
# Effective gap length (m) = 2.500000e-03
# Effective core radius (m) = 4.000000e-03
# Firing capacitance (F) = 1.000000e-03
# Number of turns in coil = 3.2e+02
# Low-field core relative permeability = 5.000000e+03
# Saturation flux density of core (Wb/m^2) = 1.000000e+00
# Saturation magnetisation of core (A/m) = 7.957747e+05
# Coil loss resistance (Ohms) = 6.570000e-01
# Mass of armature (kg) = 6.000000e-03
# Simple RLC (SCR-like) drive.
# Initial capacitor voltage = 3.000000e+02
# Initial coil current (A) = 0.000000e+00
# Initial armature speed (m/sec) = 0.000000e+00
# Initial armature position (m) = 0.000000e+00
# Time step (sec) = 1.000000e-06
# Print out every 10 time steps.
# Tolerance for the non-linear solution (Newton-Raphson) = 1.000000e-08
I used a slightly larger time step, but convergence was still very good. Here are the results:
# Maximum force on projectile (N) = 1.124648e+02
# Minimum force on projectile (N) = -4.859833e-01
# Average force on projectile (N) = 2.552838e+01
# Maximum projectile speed (m/s) = 1.758019e+01
# Projectile exit speed (m/s) = 1.751668e+01
# Minimum projectile speed (m/s) = 5.775584e-07
# Maximum current magnitude (A)= 3.026064e+02
# Maximum capacitor voltage (V)= 2.999992e+02
# Minimum capacitor voltage (V)= -7.553270e+00
# Maximum core flux density magnitude (T)= 3.504001e+00
# Time at which pulse is switched off (sec) = 3.349520e-317
# CPU seconds used in computation. = 0.110000
As you can see, my results came out very similar to yours. A couple of comments are in order:
1. With open coils, you can play games with the gap length to simulate the effects of the open coil. This is a bit of a fudge, though. This model specifically counts on the confinement of the field by the shield.
2. The model breaks down for thick, multilayer windings (like yours). Errors arise because the radially directed magnetic field becomes significant along the length of the core. EDIT: Furthermore: many of the flux lines do not couple into the armature /EDIT. The model assumes current is concentrated in a shell surrounding the core. The closer we come to this ideal, the better it works.
3. The specific solution will, of course, depend strongly on the magnetisation model. If you used a different saturation model, the results will certainly be different.
4. It's bloody difficult to get exactly repeatable experimental results, since even slight misplacements of the armature can vary results considerably!
Registered Member #14
Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
Bravo! Glad to hear that you got my code to work on your computer..
I simply compiled your sources imported in the Opensource Watcom c++/fortran compiler and gave it a go.
It would be cool to do a graphical used interface for your program. Since they are complementary (mine no shiedls, your with shields) it would be cool to see the waveforms in real time. Translating it to basic would be problematic for me . Maybe doing some c++ dlls and calling it from basic would work.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.