Did you always wish you had a gun? Well just make one for yourself!
Somewhere in the video I mentioned it was a “Rail Gun”, but it is actually a coil gun. They both work with magnetic force, but differently.
Here I describe the detail design of the coil gun, so you may turn away if you hate details:
Basically as we all know, when we turn on or energize a coil, it starts attracting ferromagnetic material, in my case a steal bullet I made.
The issue is that if we keep the coil on, it keeps attracting the bullet. So what happens is that the bullet accelerates towards the coil and as soon as the magnetic center of the bullet reaches the magnetic center of the coil, the force of the coil over the bullet becomes zero. But as the bullet has momentum, it passes the center, at which point the coil starts pulling it back and decelerating the bullet, or accelerate it back towards the center.
You see in the video that this results in the bullet oscillating as if it was attached to a spring, and eventually stops at the center.
So the best way to make sure the bullet reaches maximum speed is to turn the coil off as soon as it reaches the magnetic center of the coil. If the coil and bullet are both symmetrical, their magnetic center will be the same as their physical center.
There are two ways to do it: one is to perfectly time the turn-off moment of the coil, or another easy way is to use a sensor and detect when the bullet reaches a sweet spot to turn the coil off.
In some designs they just use capacitors and discharge them in a coil and the capacitor runs out of charge quick. This way the coil won’t have time to pull the bullet back, which is sort of like timing the coil.
The problem with all the timing designs in my opinion is that it is not possible to easily predict the required time to keep the coil on, as it depends on the bullet mass, coil field, original distance of the bullet from the coil and etc… and therefore the coil either turns off too early or too late, both resulting in a slower bullet.
So I believe to make the on time of the coil independent to all these factors, the best way is to have a sensor and detect the location of the bullet and turn it off on time.
In my design, to turn the coil off I placed an infrared (also known as optical) sensor to detect the tip of the bullet right where their centers meet, and this would turn the coil off using a simple circuit.There are other options for the sensor such as Hall Effect sensors, which can be much faster. You need a fast response time as any delay in response will cause the bullet to pass the center and result in some deceleration. Especially when you have many coils rather than one, the speed of the bullet in the final stages is super fast.
The following circuit is what I designed and made.
In the circuit above I have added D1, which I forgot to show within the video. Not having this diode caused me grief and explosions which I didn’t capture on video!
This circuit is just a quick way of doing it for demonstration that came to my mind. It is by no means the best way to do it. Especially since the infrared sensor I have has limited response time (3kHz).
I purchased the parts from Digikey and here’s their part numbers for your reference (you may choose your own):
OP1: EE-SX1070 from Omron
Q1: IRF7739L2TR1PBF from International Rectifier
Q2: Generic 2N3904 NPN Transistor or similar
D1: Generic Schottky Diode Capable of >30V, >10A
SW: Generic push button, normally open
R and C: Generic
L1: Hand wound
Here’s the circuit description:
Q1 transistor is basically the switch that turns the L1 inductor on and off. When Q1 turns off, L1 will try to release the energy stored in it by continuing the current in the same direction. Without D1 this would cause the voltage at the drain of Q1 to jump to a huge number breaking Q1 and shorting it. This will short the supply through Q1 and will result in exploding Q1 and damaging the coil. Having D1, when Q1 turns of D1 turns on closing the loop of the current and protecting Q1. Another side effect is reversing the magnetic polarity of L1 that could help accelerating the bullet.
When the switch SW closes, it sends a high level voltage through the 1uF capacitor to the gate of Q1 turning it on. The 1M ohm resistor will help discharging the 1uF capacitor.
OP1 must be biased such that when the sensor is not blocked, the transistor output is at a low voltage below 0.4V to make sure Q2 is off, and when the bullet comes into the sensor blocking the infrared light, the optocoupler transistor output jumps above 0.7V turning the Q2 transistor on.
So Basically when the switch SW is pressed, the gate voltage of Q1 jumps, turning it on. This will attract the bullet into the coil and as soon as the bullet reaches the sensor, Q2 turns on pulling the gate of Q1 low and turning it off.
And it works as good as you saw in the video. There are some issues with this design though. If there is no bullet inside and the trigger is pressed, the gate voltage of Q1 drops as the capacitor at the gate is discharges by the 1M Ohm resistor. At some point this results in increment of the Q1 drain-source resistance, meaning a high power drop across Q1 that will blow it up. So there should always be a bullet. We can’t remove the 1M Ohm resistor because without it the gate voltage may never return to 0 volt.
Like I said, this circuit is only for demonstration and a better and faster circuit could work much more reliably. But the functional concept remains the same.
Now more coils can be put together in series, everyone with its own fast sensor. The bullet can be smaller and more light weight to help accelerating faster. Also there can be different ways to turn the series coils on and off. For example:
– They can turn on and off one at a time, as soon as the first coil turns off, the second one turns on and so forth.
– They can turn on two at a time. For example if we have 4 coils from L1 to L4, L1 and L2 can turn on together. As soon as the bullet reaches between L1 and L2, L1 turns off and L3 turns on, This way there can be better acceleration, but more power usage.
– All coils can turn on together, but turn off one at a time as the bullet passes them.
And the rule of thumb is: the more number of winding and more power over coil (voltage and current) the greater acceleration of the bullet. Also of course turning the coil off at the perfect spot is very important too.
I hope you like what you read. If not, please drop a comment and I will write some update when I can. Thanks and stay safe!
“There are some issues with this design though. If there is no bullet inside and the trigger is pressed, the gate voltage of Q1 drops as the capacitor at the gate is discharges by the 1M Ohm resistor. At some point this results in increment of the Q1 drain-source resistance, meaning a high power drop across Q1 that will blow it up. So there should always be a bullet. We canβt remove the 1M Ohm resistor because without it the gate voltage may never return to 0 volt.”
Can somebody explain this part in a way i can understand… i dont underatand much about capacitors and the effects of the mentioned case. I thought the capacitor will be discharged by the 1M ohm.. why would Q1 gate blow up? Can anyone help me?
I think the explanation is a little wrong here. When the switch is pressed (say everything initially 0), the capacitor’s voltage will slowly rise up to V2 (around 3 to 4 seconds based on the values), while the voltage across the 1M to the right of the capacitor will immediately start off at V2 and slowly go down to 0 (this is how any RC circuit would behave in response to DC switching). Once the switch is open, the capacitor will discharge through the loop formed by it and the two 1M. If the left 1M was not there, there is no loop from one end of the capacitor to the other to allow the capacitor to discharge.
So what about the MOSFET? One thing to observe is once the coil is on, the MOSFET drain to source takes all the voltage of V1. Another thing to note is the lower the gate voltage of the MOSFET, the higher the resistance of the drain to source path. Normally if the resistance increases, the current would have to decrease (Ohm’s law). However, the coil (acting like any inductor) will maintain the current through it as much as possible, and so the current will not change while the resistance of the MOSFET drain-source increases. Power dissipated is I^2 * R, so if I remains unchanged and R goes up, so does the power dissipated.
One last thing though. The voltage at the gate will decrease all the way to 0 within the 3 to 4 seconds of the capacitor charging, and once it is zero, the MOSFET turns off so no more current runs through and indeed it will stop dissipating any power.
Would it be possible to accelerate a magnetic projectile that has already been propelled by a discharge of powder? To make like a “hybrid gun” that uses both the chemical energy of the powder and the magnetic energy of the coils to accelerate the projectile?
Since you already used chemical to intially accelerate the projectile i dont think its necessary to use a coil… if you wish to increase the acceleration by using magnetic power… means the coil has to be more powerful than the powder and able to switch really fast to increase the acceleration… because if its initially already fast enough why would you add something that will only slowing it down… but that is just only in my opinion…
thinking of hybrid weapons wouldn’t ionizing the air then firing a ferromagnetic round make it hilariously accurate? like a particle beam with really big freakin particles
It’s a very good idea about making a coil gun by yourself. I hope I can easily make a coil gun by following your tutorial. I definitely try it, I hope I’ll succeed.
what if use power directly without capacitor?
and how can sensor turn off the circuit? i think even Q2 turn off circuit, that will not affect Q1
and why use both mosfet and transistor?
Hello Sir,
All yours videos are very informative and I want to clarify about the supply given to V1 and V2. Optocoupler uses DC supply to function. What about the Supply given at V1? Please do help me out in clarifying my doubt.
A 150 Ohm resistor is needed at the emitter of Q2 to limit the current to 100mA.
The resistor is already present before the transistor in the optical sensor.
I have a Mallory 500 MFD (NOT uFD) 150VDC capacitor (CG52U150B1). That I want to turn into a coil gun, however I’m too lazy to actually math, and find out what values I need for the rest of the parts and input, anyone out there willing to math for me?
Dear Mehdi (and anyone with a potential answer)
There’s something I don’t quite get in your video. You show that the projectile oscillates in the coil when the magnetic field is maintained at 2:03, which makes sens. However, when you first connect the coil at 1:46, the projectile flies away and definitely doesn’t oscillate in the coil…
Do you have an hypothesis to explain that ?
Thanks a lot, I love your videos
Jeff S
the coil was only on for a split second since Mr. Boom only barely touched the leads of the coil with the power supply. That is probably the reason, or it worked even better if a spark jumped from the power supply to the coil which is one of the methods used to power coils with less possibility of harming the circuit.
im thinking on using a spark gap on my coil gun, the only problem I have is charging my 1000uF 400VDC capacitors.
Sir Sagar,
I have a question for you…
Can I use an igbt instead of the IRF7739L2TR1PBF mosfet?
I have noticed you don’t monetize your site, don’t waste your traffic, you can earn additional
bucks every month because you’ve got high quality content. If
you want to know how to make extra bucks, search for:
best adsense alternative Wrastain’s tools
Hi Mehdi,
Trying to build me own coil gun. Does it matter what type of wire I use for the coil or what kind of metal is in the bullet?
I have 24AWG STR TR64TO wire and I have used various pieces of metal as test, bullets, and nothing is attracted towards the center.
I have only connected the power supply to the wire at this point.
Thanks
When making a coil you should ALWAYS have a soft iron core,so the
magnet core won’t keep its magnetic field whe you turn off the electomagnet,so yeah,I think soft iron bullets should be the best options
I forgot to add,the bullet needs to be soft iron if you want the bullet’s magnetic field to also turn off.Use magnet wire for the coil (isolated copper wire,so even if the loops touch each other the current doesnt jump through each loop but follows them)
hi mehdi
i want to use big bullet maybe 1000kg π and big coil also may you give me small hint about doing this? if you don’t mind for sure
what about if i use more continues coils also to make the coil continue in big circle
thanks a lot for sharing
a bullet that weighs a literal ton will probably be unattainable at this point, the American army built a massive gun and the projectile weighs only 5kg
Well this really helped me a lot…my only question is what are the parameters you used for this coil gun? What’s the voltage ,power and current requirements?
Hello Mr. Sahagar,
I am a high school student, and a friend and I would like to build one of these. We love your videos and blog! We were wondering where we could get the IR sensors that you had in the video. If you could please let us know at your earliest convenience, that would be great.
Best Regards,
Kishor Bharadwaj
Hi Kishor,
I bought my sensor from Digikey.com.
Good luck!
2 weeks later on the news: “A high school student does a school shooting using a homemade gun”
Hello Sir, I was wondering why you put a 1 uF capacitor in the circut. My smallest capacitor has 10 uF. Will that work?
Thank you!
i will take longer to discharge
Hi Mehdi,
I would like to build this, but with a lower current of around 10A.
Would it be possible, while still using the same components?
Yes that’s fine. Just that you need to use lower gauge magnet wire and make more turns to limit the current.
Hi, im going to make an coil gun, so i have some questions.
I’ll use a transformer to get high voltage from bateries and charge the capacitor…
– should i use a capacitor 5800 uF 300V or an 100F 2,7V ?
– The diameter of wire should big or small?
– i wanna its get much speed
Thx so much, love ur videos! ;]
the diameter of a coil will affect it’s magnetic field intensity,the smaller the diameter the more powerful it will be,use a bullet that will be even smaller than the coil’s diameter (the bullet has to be soft iron of course)
To explain why the diameter of the coil should be tiny,we have to imagine the magnetic field as lines.When the diameter of tye coil is too big for the core,the lines (which are closer to the coil than the core) won’t reach the bullet.The bullet will be affected by the magnetic field but it’s going to be very weak unless you increase the current,that “will create more lines”.If the diameter of the coil is just barely bigger than the core,the lines you imagined should all be concentrated to the center of the bullet,the field would then be stronger and pull or push the bullet faster.
Hi mehndi!
I was just wondering what the first 1M ohm resistor is for? I first imagined it was a pull-down resistor for the MOSFET but that seems a bit of an excessive level of resistance.
Thanks!
Hey, what is the coil gauge that you used on these project?
Thank you,
Morozas
hello Mehdi S.,
I want to use the coils gun for a project of mine but I cannot coil the wire around the whole tube due to space restraints.I Only have the top half of the tube to put mu coil on. in which manner do i put my coil
But, if the magnetic flux has the same direction through the whole coil, why is the bullet pulled in the opposite direction once it passes the center of the coil?
I get it that the induction of the whole thing starts decreasing so there is a force opposing that decreament but where is that force that pulls the bullet back comes from? Shouldn’t the magnetic field keep accelerating the bullet?
Thanks!
A magnet pulls a ferromagnetic part towards it from all directions. But it can push or pull another magnet. So the bullet being a piece of iron, is always pulled towards the magnet.
how many turns must be the coil??
Hi Mehdi,
i love your video’s! Thanks for sharing this diagram!
I have a question for you. The 1Β΅F capacitor,is that a caramic one?
Or can i use a electrolytic one?
Greetz from Belgium!
Nick
Thanks Nick. It can be either one as long as you mind the polarity of capacitor
Hello Mr.Medhi
How to get 150A power supply?
Well, ebay has large 150 supplies! But if you want small components, use super capacitors. There is a 400F 2.7V one I bought. You can put more in series to get higher rating. That is more than adequate to provide even higher current momentarily (a few seconds)
What’s the purpose of the capacitor in the circuit? It looks like it’s there to prevent jumps in voltage, but why is that necessary in this circuit?
Additionally, when Q2 is on, which I assume means more current flows, why does Q1 turn off? Is it because the voltage drops as a result of in the increase in current(conservation of energy)?
Same questions
To me it looks like a simple RC circuit that stops anyone from holding down the switch. If the capacitor wasn’t there then someone could hold down the switch indefinitely leaving the drain-source current on the MOSFET constantly high, allowing a huge amount of current move through the wire and the MOSFET over a long period of time which would either break the MOSFET or melt the wire. The solution to this problem is wonderfully simple. If the switch is held down then the capcitor would simply charge up in 5 seconds (5xRxC) which would then leave the voltage across the resistor as 0 thus mean the gate voltage was 0 thus turn of the drain source current.
Hi Mehdi,
I am planning to make this with 4 63V 8200uf cap. Is there enough energy inside those capacitors? I am also using 28 gauge wire, is it thin enough? Also, how much does your projectile weigh? Thanks in advance!
Thanks for sharing %TILTLE% π
I absolutely applaud the intro to your video sir. I felt compelled to compliment it.
Im a bit concerned about the lethal amps here… is there any way to do this with some sort of fail safe or using a value of amps that isnt so potentially lethal to the operator of the system? also, how is the system affected by the number of loops, radius of the loops, and clockwise vs counterclockwise direction of the loops?
also…….. can you give specification of the wire you used? i dont know squat about electrical engineering but i need actual specifications of the coil itself. thickness, length, number of loops. thank you
When I make mine im going to make a lot more turns of wire, add several coil stages and use a grade N50 neodymium magnet. This will means that I have to use a much smaller current to achieve the same performance, I’m hoping i can run my main stage at a max current of 500mA but i reckon you could go even lower then that π
I don’t think using a magnet for the bullet is a good option,to make a great electromagnet aren’t you supposed to use soft iron?so it doesnt keep its magnetic field when you turn the coil off?
Nvm,you can use magnets IF you’re ok with them keeping their magnetic field.
But what if the bullet was an aaaa battery powered coil???
hi mehdi, pls help me in gring the number for schootky diode and he IR transmiter/receiver.
Hi mehdi pls help me in the no. Of schottky diode….and any other ir sensor no. Of similar use.
Hi Mehdi
I extracted the infrared led and phototransistor from the scroll wheel of a mouse, but the transistor has three legs instead of two! Plz help, I really need it!
Well, you better get a part number and datasheet for it. It is hard to design a circuit without knowing your component parameters
Well i made it and the bullet fires fast
Ypu can fuck of the three legs of the transistor….
Hi Mehdi, I’m planning to make a coil gun as a school project. I’m wondering what kind of power supply did you used? Do you press the switch just once or you hold it until the bullet fly? Is it possible to make it more efficient by putting hollow soft iron cylinder inside the coil (or encase it with iron outside the coil)?
My supply was a 40V 70A one! Pretty large, but you could use much more number of turns for your coil, with much smaller gauge of wire and so much less current, but generate the same amount of magnetic field. That was you can use a much smaller supply.
It doesn’t matter how long I press it, it holds the switch on until the bullet passes the sensor.
There needs to be magnetic field inside the barrel. I believe if you put an iron barrel in there, it will short the fields and not much will go inside the barrel to attract the bullet.
is the Q1 a FET ? is there any other alternatives for that ? i cant seem to find that transistor in our country .. my bad .. by the way the infrared sensors in printers ? can i used it instead the one you required ?
Hi Mehdi!
How are you?
I just made a capacitor bank which is charged by a disposable camera circuit it has like 10 caps of 100 uF 450v each.the caps are charging perfectly, All i need now is a coil.Can you give me some suggestions about the coil?
Thanks
I’m not 100% how the oscillation between the capacitor and inductor would effect your projectile speed. See, if you just connect them and they oscillate, the magnetic field poles keeps switching. Your projectile would be somewhat magnetized every time and switched with some hysteresis and so their fields interfere. The oscillation decays in amplitude due to resistance in the system. So hopefully the fields are week enough by the time the projectile is passing the center so that it won’t be sucked back.
That’s why I like to use a sensor to turn off the coil when the projectile is past the center. Also a power supply to driver the coil with fixed voltage. That way I can have the field controlled and turned off on time without needing to worry too much about the oscillation factors. I would just pick a coil with maximum field strength for top force.
Mr Mehdi,
I plan to build one of these coilguns myself. I have already acquired two 330uF 400V caps.This should be enough. My only problem is, how to charge them. Obviously I don’t have the charging circuit as from the flash cameras. I watched your video on full bridge rectifiers but concluded that it was too hard/dangerous to build one myself for 300 V. What do you recommend to charge my capacitors to +- 300 V?
Greeting,
Olaf
Hi Olaf. Well I guess the easy way would be to buy one of those cheap throwaway cameras and take the circuit out of it and use it. The other way can be using one of those fly swatters to charge the cap. Just that those are not regulated and can overcharge your cap. You need a system to disable the charging when capacitor voltage reaches 300V. Or just use a TVS diode to clamp the capacitor voltage.
This video has helped inspire a couple friends and I to go build a full coil gun for fun and ‘profit’. After many a hours of running simulations through FEMM, we’ve realized powering this thing is going to be a difficult process, and we’re determined not to use capacitors. Obviously this is the best venue for electrical help.
We want to supply the coil with 60 volts, 300 amps. The problem we’ve run into is supplying it with that much power using batteries. Reaching the voltage itself isn’t difficult, but as I understand it, (For sake of example lets say we’re using 9V) after we’ve put the required 9V batteries in series to get the voltage, (~7) in order to get the amps I’d need, I would have to have many more sets of 9V batteries in order to reach the amp output I need. I’m a little shaky on understanding the max amp discharge of a battery, and I seem to be unable to really find a battery that fits what I need, while using less extreme measures. I know this was a lot, but is there any advice you could offer on powering this device, and what batteries would be suitable for this type of thing?
This next part is some rambling of a tohught I had, but I don’t think electricity works this way. If I had 10 9V batteries in series, to provide 90V, could I then use a number single 9V batteries wired in parallel with that to increase max current, without using tons and tons of batteries?
I hope that all made sense, and I do appreciate anyone who took the time to humor me.
You can’t connect 10 batteries in series with one in parallel. The 10 in series will try to charge the single one and fry it.
hay,
i’m using a cylindrical magnet instead of a bullet. how i should modify this circuit??
A bit more complicated. You will have to flip the field in a proper time to shoot it out.
Hey, I have a question on switching the coils on and off. I’m kind of new to making circuits, and I was just wondering, how do I switch them on and off to increase efficiency?
Q1 is responsible to turn the coil on/off. If you press the switch, Q1 turns on the coil, and when the bullet passes through the sensor Q1 turns the coil off.
Hey Mehdi…
The Q1 : IRF7739L2TR1PBF from International Rectifier
i can’t seem to find it at my local store. And buying online cost 9 times of this thing, ~$45!!!!
Do you know other components that works like this or maybe can replace this component???
You don’t necessarily need to use that part. any part with RDSon<5mOhm with a high power rating should work fine. In fact use some through-hole part with a package like TO-220 that you can screw on a heat sink. Your circuit will last much longer than mine! Here are a few examples:
PSMN1R5-40PS,127
PSMN2R2-40PS,127
AUIRFU8405
AUIRFU8401
AUIRFB8409
And many more!
in italy is no radioshack or other place where cai i find the IRF7739L2TR1PBF or equivalent (unfortunally).
I did some calculations and my reel will be made of enameled wire 1.45mm to 50 turns of diameter 10mm (3-layer). I have calculated that the peak current on the inductor will be about 200A to 12v. by this I thought of using MOSFETs irfp250n (Idm 80A) and connect three of them in series.
can i do this?
I apologize for my English
i pretty much liked the video i am really going to make one of these for my college exhibition.
hope u will b there 2 answer if any problem comes up.
thanks sir and keep it up.
Hi I’m going to be building a coilgun, and what’s the power that I should be using?
It depends on your coil like how much magnetic force it can provide, also how heavy your bullet is. Of course the more power shoots the bullet further.Don’t start with too much power or your circuit may blow up.
Thanks
Hi, I wanted to make the gun with 2 set of coil. Does my schematic is right?? I’m not very good at electronic stuff… And i also got some question….
What’s the V1 and V2 represent? Was V1 is positive and V2 is negatif poles???
What’s the thing that have layers of decreasing length of lines at the end of the transistor and the ‘1M’ thing?
What’s the ‘1M’?
And can you explain about making the sensor bias???
Schematic http://myphoto.eu/PRO_TROLOLO/photo/205718/Snapshot_20141030_30.JPG
Hi there,
I don’t think it is that easy to cascade these. But assuming it is, then you have to repeat the two 1M and the 1uF for the second coil too.
V1 and V2 are two separate power supplies at different levels.
I’m not sure about which lines you are talking about, but L1 is the big coil, 1uF (Farrad) is capacitor and 1M is 1 Mega Ohm resistor. And for biasing look at Andrew’s comment below.
It might be tough to put it together as my directions are not super clear, as I assumed interested people would know electronics. So…Good luck!
Just because someone is interested in something doesn’t mean they know anything about the general workings of it. I have made many railguns and coilguns, and I still have no idea what most things do or how they work. So please next time give more explanation on the circuit drawings, but it would be better if you could explain your drawing here as soon as you can. Give a key for each part or something.
Since you did it multiple times, you do it.
lmao
what if you made at least 5 of those circuits then placed them all on a longer barrel?Will it affect the speed of the bullet compared to one circuit?Though it’s gonna take a lot of capacitors…
the layered lines are ground symbols.
it means that the wires are connected together and to the negative pole of the power suply, it keeps the diagram easy to read.
Ah that’s what he meant! Thanks!
http://shrani.si/f/2N/Dz/1uAxsCrw/img3002.jpg
Is this the way to bias the sensor?
I watched other videos about coil gun. One of them, they use the sensor but not to switch of the coil. If the sensor detect the bullet,it will switch on the coil and close it. Do you have any ideas how to do it like that?
Thanks by the way! π
Am i supposed to put 333 Ohm resistor to the sensor?
I think the resistor on the transistor side (receiver of opto) is more like 10k, although the circuit was made a while back, so I don’t quite remember everything. Sorry about that!
It seems to be correctly connected, unless the sensor is backwards.
Hello!
First off, thank you very much for both the video and the article! I have tried doing this myself, but I stumbled upon a problem. The part of the circuit that just powers the coil works, I use a 12V car battery that can output even 80 to 90A. However, as soon as I connect the other part of the circuit, the one with the IR sensor, it doesn’t work. Here are a few pictures.
Any help would be greatly appretiated, if I make this prototype, I can assure you I will make a hell of a machine out of it! π
PIC1: http://shrani.si/f/2t/xd/3Dta7XQS/img3001.jpg
PIC 2: http://shrani.si/f/2N/Dz/1uAxsCrw/img3002.jpg
PIC3: http://shrani.si/f/2a/4F/1sE0B32h/img2999.jpg
As you can see on PIC3, the two thin green wires connect Q1 and Q2. This way it doesn’t work. However, If I just connect the green wires together, not touching Q2, it works, but then there is no connection between Q1 and Q2, and there’s basically 2 seperate circuits. And by it doesn’t work, I mean the iron bullet doesn’t EVEN MOVE. However if i connect the two green wires, then it does, but I don’t have the optical switch, so it’s useless. If anyone can, please help, I have tried allot of things.
Here’s what I mean: http://shrani.si/f/43/1t/2trRuI17/destructior-emg.jpg
Thank you! π
Hello!
I can hardly figure out your connections seeing your pictures. So I’m afraid I can’t help, unless maybe if you provide some schematic. But if you connect them as I did, then the circuit should work, and then blow up!! The thing is that a car battery is too strong and can provide like 500A. If your coil resistance is very small and runs hundreds of amps, then Q1 can easily blow up. That’s what’s happened in my video where the circuit died. If the bullet doesn’t get to the sensor soon enough, then Q1 remains on for a longer time with high current and will make it blow. So either use a coil with small diameter and many turns to increase its resistance, closer to 1 ohm is better, or use a current limited supply.
Good luck!
First off, thank you a BUNCH for helping me.
Second of all, Sorry, I took those pictures late at night, so yeah, they kinda suck π
Basically, if I make the circuit 100% the same as yours, when I connect it to the battery, nothing happens, the bullet doesn’t even get pulled into the coil.
like this:
https://www.electroboom.com/wp-content/uploads/2013/01/SCH-complete-1024×722.jpg
However, if I disconnect the GATE from Q1 from the COLLECTOR of Q2 (picture below), the bullet gets pulled in, so it DOES work, but there’s not optical switch.
Like this:
http://shrani.si/f/42/1/3NWrihRR/doesnt-work.jpg
But then obviously, the optical switch isn’t even connected, so it’s useless. Seperately, both parts of the circuit work. The OP1 actually changes voltages when something is blocking it’s sensor. They just don’t work TOGETHER!
But maybe my resistors on the OP1 are not the right kind. May I ask how many ohms the resistors from V2 to the OP1 have? Maybe you said somwhere, but I didn’t see it.
So, like I posted yesterday, this is when it works and when it doens’t:
http://shrani.si/f/43/1t/2trRuI17/destructior-emg.jpg
The green wire representing the GATE of Q1 only being connected to V2 (when it works), and the red wire representing GATE of Q1 connected to both V2 and the Q2 COLLECTOR, so basically, your schematic (when it doesn’t work). My thought are, either I have the wrong Resistors on OP1 OR my Q2 is dead. Thoughts?
P.S The battery is a 12V, with 80-90A. It’s not that strong, the Q1 handles it very well, the only time it exploded was after I kept trying it out for like 10 minutes and then I accidentaly let the current flow for like another 10 seconds constantly, but I replaced it, works great now π
Nevermind!
I put a 333 ohm resistor on the OP1. Only then I saw you answered someone’s quesiton to put a 1k and 23k ohm resistor , so I did that- WORKS PERFECTLY! Like a charm! π
I made a quick video, I know it’s quick and stupid, but just a showcase. But I didn’t stop here, no way π
I will make a MACHINE, and will try to combine around atleast 8-12 coil π
I thanked you in the video, you gave me the idea and the schematics so it felt right, hope you don’t mind π
The video: https://www.youtube.com/watch?v=jzjNINtqUEY&feature=youtu.be
Great! you made it work! It would go faster if your bullet is leaner . A heavy bullet takes a long time to accelerate. Good job!
Thanks!
If I may just ask this one more thing. The mosfet used in this schematic is the same I used, but they’ve stopped selling it here. I don’t have any other. Would this one work?
http://si.farnell.com/jsp/search/productdetail.jsp?sku=2253779
My car battery can throw out up to 80 or 90A, which is why the previous ones blew up a few times. That one can handle 90A, but is it compatible in other aspects? Thanks man! π
looks like a good transformer. You should be able to use it. There is something I don’t like about the circuit I designed which I just recently realized is that the gate voltage of the transistor will drop slowly by the 1M resistor. I did that on purpose so that if there is no bullet and the transistor remains on, then this would turn the transistor off after some time to protect it. But I believe it will end up hurting the MOSFET rather than protecting it. The reason is that the gate voltage drop is so slow that at some point the RDSon of the transistor rises for a significant amount of time, and that results in a lot of power dissipation on it for a long time that will kill it. I may revise my design above. What I like to do is to make the falling edge of gate voltage also very fast to minimize the transition time. For that I can use a comparator to drive the gate.
What a great article!
Hey Mehdi, I’m a big fan of your site and love what you do. I’m about to finish my degree in computer engineering and am only just starting to ‘see’ how all components behave in a given schematic, though i’m still a bit crap.
I have a simple question: when Q1 turns off, does current flow through the closed circuit between D1 and L1 indefinitely (I don’t think so) or does the current dissipate while energy is still stored magnetically at L1 subsequently making the current at D1 and L1 0 A when L1’s stored energy is depleted ?
An answer will be really appreciated. Going to Iran tomorrow, hope i don’t die.
regards.
Sorry I didn’t see your question earlier! Your second guess is correct. The current starts flowing into the diode D1, but that current times the voltage across the diode starts dissipating lots of power which will quickly waste the energy stored in the inductor to zero.
There is no permanent current flow like that in nature as there is always power loss which will deplete energy.
Hope you survive in Iran! Have fun!
you are truly a excellent webmaster. The website loading speed
is amazing. It sort of feels that you are doing any distinctive trick.
Furthermore, The contents are masterpiece. you’ve performed a great task on this topic!
Here is my blog – Top eleven Truco
This web site certainly has all of the information and facts I wanted about
this subject and didn’t know who to ask.
My weblog – The Hobbit Kingdoms of Middle Earth
Hack (Ramonita)
I think the admin of this site is actually working hard in support of his web page, as here every
information is quality based data.
Also visit my page: Asphalt 8 Airborne Hack Android
– Trent –
I am sure this paragraph has touched all the internet people, its really really nice article on building up new website.
Also visit my web site … CSR Clasics Hack 2014 New (Lachlan)
I’m impressed, I have to admit. Rarely do I come across a blog that’s equally educative and engaging, and let me tell you, you have hit the nail on the head.
The issue is something that not enough men and women are speaking intelligently about.
I am very happy I stumbled across this during my search for something concerning this.
Also visit my web-site – Gt Racing 2 Hack 2014 New
I simply couldn’t leave your web site prior to suggesting that I actually enjoyed the standard information an individual provide in your guests?
Is going to be again steadily to inspect new posts
my site Gt Racing 2 Hack Download
I’ve been exploring for a little for any high quality articles or weblog posts on this kind of house .
Exploring in Yahoo I ultimately stumbled upon this website.
Reading this information So i am satisfied to show that I’ve a very excellent uncanny feeling
I found out just what I needed. I most indubitably will make certain to do not
overlook this site and provides it a look regularly.
Also visit my site Despicable Me Minion Rush Hack (Phillis)
Hello there, just became aware of your blog through Google, and found that it is truly informative.
I’m gonna watch out for brussels. I will be grateful if you continue this in future.
Numerous people will be benefited from your writing.
Cheers!
Review my page: Need for Speed Most Wanted Hack 2014 New (Grazyna)
Howdy! I know this is somewhat off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having problems finding one?
Thanks a lot!
My web page :: Golf Star Hack 2014 New (Alphonso)
Asking questions are in fact nice thing if you are not understanding
something fully, however this piece of writing
gives pleasant understanding yet.
Here is my webpage … Boom Beach Hack Download
hi!,I really like your writing so a lot! proportion we keep up a correspondence more approximately your post on AOL?
I require a specialist in this area to solve my problem.
Maybe that is you! Having a look forward to see you.
Here is my blog: Boom Beach Hack Download; Shanice,
Wonderful blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Cheers
my web site – Clash of Clans Hack; Cole,
im a fking gay
Hi Mehdi, I’m a high school student competing in a science fair, and you inspired me to build a coil gun for my project. I’ve managed to get a one stage coil gun working off of a capacitor, but I think the way you do it (with a constant flow of electricity that is turned off by an infrared sensor) is a better alternative. Is there a chance that you could tell me the part numbers of the components you used to wire the infrared sensor? I would really appreciate it. Thanks
Sorry I saw your comment too late! There are too many SPAMs! I guess my answer is not going to help you now!
Good luck!
you could make this magnetic cannon with a AC current ?
Hi Mehdi,
Your video is amazing!
I tried to use a car battery (12V) for a coil. It blew up. I think the coil resistance is too low (0.3 Ohm). I’m ordering two resistors, 10 Ohm (72W) and 20 Ohm (50W). Do they work? What else should I take care?
Regards, Jeff
Hi,
I’ve searched over the internet and through my Physics E&M equations for any kind of relation between the B field and the force on an object of mass and cannot find any.
I know…
B = u(N/L)I
…but once the strength of the field is determined, are there any other equations that theorize the force the field has on an object other than a point charge?
Also, if you can (and want) can you share your B value for your coil gun?
Thank you
-Decoda
F=u*(dB/dx)
where
u is the magnetic moment of the projectile.
dB/dx is the rate at which the magnetic field is changing along the x axis.
and,
(dB/dx) = – (I*pi*6*10^-7) (x*R^2*N) / [(R^2 + x^2)^(5/2)]
where
x is the position of the projectile along the x axis
I is the current
R is the radius of the current loop (the coils)
N is the number of coil turns
Note that this formula is designed for a coil of a length (L) of 0, but if R>>L, then this won’t give us any problems. But if R<L, then we should take the origin (x=0) to be somewhere close of the end of the coil. because this is where dB/dx will not equal zero
Thanks Brian for the good information.
I was wondering what was your voltage you used when only using the coiled wire??
What is your powersource?
I believe it’s a constant dc 25V? just like the hand drawn diagram.
Can we put an another coil over the shooting coil an check the magnetic changes and detect the bullet without an ir sensor? Will it work?
It might be possible. I haven’t done that though. One needs to set it up like you say and measure the sensing waveforms and see if they make sense. But if that works, it could be better and faster than the IR sensor.
Hi there,
Is it possible to channel the energy stored in the coil to the next coil, instead of just let it go with D1?
Thanks!
It is a possibility to salvage some of the energy. But it will probably make the circuit much more complex for a little saving.
Thanks!
Another question, if I don’t want to use a big power source, and get low current, could that be “countered” with increasing the number of windings on the coil?
Hilarious videos, by the way π
Thanks!
Yes you can. B, the magnetic field has a direct relation with N (number of turns) and I (current): B ~ NxI. Check this page on Wikipedia:
http://en.wikipedia.org/wiki/Solenoid
So if you want to reduce your current from 100A to 10A, you need to increase the number of your turns by 10 time. You can choose thinner gauge wire and possibly achieve the same coil size, but smaller current.
Great video, once again.
Can you explain the physics behind why the bullet will oscillate? Why does a projectile get pulled towards the center of the coil?
To clarify, I just don’t understand why the bullet will want to go back and forth. I assumed there is a magnetic field in one direction only, and the projectile will simply just exit the coil. But I’m clearly confused about something.
I made a coil gun. Used a full spool of magnetic wire, and put a small projectile in it. The projectile still flies out of one end, however, if I were to put a longer object in, it will probably oscillate like yours did (right?). Meaning, the small projectile I put in gets decelerated in the second half of the coil, but it’s initial acceleration is much stronger, which results in it leaving the coil.
To summarize, why does the projectile want to be pulled towards the center? Can this be explained by some sort of physics law?
It is a simple thing. A magnetic field only pulls on a plain iron projectile. Same as the gravity that only pulls. So if your coil remains on, it continuously pulls the iron projectile. There is a center to the magnetic attraction, similar to the mass gravity, which is where the sum of all the magnetic forces is zero. For a uniformly shaped coil the magnetic center is the same as the physical center of the coil. The projectile accelerates towards the center as the sum of forces on the projectile is always a vector towards the center as long as the projectile is not at the center. as soon as it reaches the center, there is no force on the projectile, but the projectile will continue due to its momentum and passes the center, where the force vector is again towards the center. So the projectile will slow down, stop and go back towards the center and this is the cause of oscillation, similar to having a weight on a spring and pulling on the weight and watching it oscillate. There is friction that wastes the projectile energy and the oscillation gets smaller until it stops at the center where the sum of forces is zero.
Now in your case, the projectile exits on the other side, because I believe your coil is not continuously on and turns off and lets go of the projectile. If it turns off right where the projectile is at the center, that is the maximum acceleration and otherwise if it turns off earlier, it speeds up less than it could, and if it turns off later, it gets pulled back and slows down.
Is theoretically possible a variation of coil gun, where the projectile has diamagnetic properties (material reppelled away from magnetic field) ? I guess in that case projectile must be put litlle bit inside a coil first and a number of windings at the begining of the projectiles trajectory must be the biggest. then with lesser mumber of windings through the coils length to achieve smaller magnetic field
Coil would become sort of cone shaped because of that. I assume there would be no need for sensors
Is there something that can only be repelled under the magnetic field, and not absorbed? I don’t know about it.
I dont know. I was interested in phenomenon called diamagnetic levitation. So essentially I wonder if that can be incorporated in cone shaped coil gun.
http://www.rare-earth-magnets.com/t-magnetic-levitation.aspx
So my cousin and I are attempting to build a coil gun. So far we have built a small coil of 40 feet 22awg wire across 2 inches. We are powering the coil with 6 21000 microFarad 16 volt capacitors in parallel. Our current setup is working just enough to pull an iron nail and fling it about 1 foot away. We thought this was a little to week so we went on youtube to check around and found your little gun and were shocked at how effective yet simple looking it was. We were hoping if you had any tips to help us make ours more efficient.
Your capacitors likely won’t be able to hold the voltage long enough. Assuming the current is 10A fixed through the coil, and starting at 16V, the voltage drops to 0V within 0.2 seconds.
But if your nail is small enough the amount of energy might be enough. Then there is another issue, maybe the nail moves too fast and passes the center of the coil before the capacitors are fully discharged. If the coil is still energized, it will suck the nail back in, or at least slow it down. That’s why I use a sensor to turn the coil off in time.
Thank you so much for responding! In the case of capacitors then what should we upgrade to? should we look for a higher capacitance or voltage or both? we are looking in to timing the coils duration with an arduino.
The key is the amount of energy you can feed into the coil. The energy in a capacitor is 0.5 x C x V^2. So raising the voltage and capacitance raises the energy in a capacitor. Of course is also means a greater burst of current. I have seen people use many “Flash” capacitors, the kind used in cameras for flash. They can be charged some where around 300V. Get many disposable cameras with build in flash, take all their capacitors and parallel them up, and use one of their flash circuits to charge the entire pack. It may take much longer for the circuit to charge the whole thing up to 300V. When done, discharge it over the coil for a great impact! Just don’t touch the capacitors, they will shock you badly, that is if you survive!
Ha thanks you very much for the tip and the help you have given us. We will try and put it to good use.
Can there be continuous oscilation of bullet.? If yes how?
Yes, the bullet has to be a magnet and you should apply AC across your coils. Exactly like a speaker.
Could then this be stated as some kind of parallel LC circuit with its own resonant frequency? And to go further, can I make elektromagnetical- mechanical (Cycloid )pendulum if I curve the tube of the coil? Of course then I should match elaktromagnetical resonant frequency with the mechanical resonant frequency of the “bullets” cyclodial path for greatest efficiency.
Can there be continuous oscilation of the bullet? If yes how?
I’m using a big capacitor to supply the current and plan to charge it to several hundred volts. Can I use a boost converter to charge it? If so, should I include a series resistor on the charging side to limit the current through the inductor?
Yes, you can use a boost converter. Several hundred volts is a lot of volts. I assume the capacitor is not huge, is it? You don’t need a series resistor. If you adjust your booster PWM, it will provide a fixed current every period to charge the capacitor. But you must have high voltage components all over. Good luck!
Hey, what cable do you use for your coil? and how much windings does it have?
Fantastic videos and humor – keep it up – you are the best!
just an observation:
I doubt the optical sensor is slow for this application. I think the magnetic field in the coil decays slowly after shutdown especially with the necessary D1, that current keeps flying around the coil as a coil does not like changes in current (just like your Capacitor doesn’t like changes in voltage). There is no way of shutting down that current as it will cause several KV on the Mosfet -you must have blown many as these are rated at 40V and you didn’t have D1 in your video!
One hack would be to wind another coil and place it on the output of the first coil but wound the other way so its NS is flipped from the first coil and wire this one between D1 and V1. Therefore the flyback current of L1 will flow through L2 and negate the decelerating power of L1!
More fun videos please you are a genius!
Hi Mehdi,
I’m trying to make a coil gun, and before i start, i just want a little advice. For instance;
1)How do you make the IR sensor?
2)How many volts of electricity did you supply for the coil?
3)How did you make the bullet?
4)What is the length of the bullet and the coil?
5)If you put a barrel around the coils, does it have to be insulated?
I will be extremely gratefull of youre reply.
1) you buy the IR sensor, not make it. Then you need to bias it properly. It is like a transistor, for a certain input current you get a certain output current. In normal condition the output is on, or like a switch it is closed. Then when something like a bullet goes in there, it opens.
2) I put 30V I believe, but that is not as important as the current I supplied, which was 70A or more.
3) I machined it in the machine shop at work.
4) the coil is around 4cm and the bullet is about 5cm in my case. It is not mandatory though.
5) you don’t need to isolate teh barrel, just make sure it doesn’t short anything!
Good luck
Dear Mr Mehdi,
with your permission, i would like to make this my control and measurement lab project. if you can please mail me your address so we can talk about ways to modify this design. i hope to have your reply soon.
Do as you wish. But I won’t be able to do your lab project! Good luck!
thank you for your reply, i was not asking you to do my project. but hoping you would give me some advice on how to make it a little more complicated.
You can make it exponentially more difficult by just adding a second coil to it! The third one would even be harder! Good luck.
i am trying to build this coil for a gun and for door locks and i have wrapped 16 awg magnet wire around pvc with a 1/2 inch hole and bullet size i have used six 9-volt batteries in series trying to get any kind of magnetic pull on the bullet i have even tried supplying power to my 3 pound spool of wire and still no magnetic pull of any sort have been working on trying to get this work for a couple days and i am at wits end i dont know what im doing wrong please email me with some help i would greatly appreciate it thanks
Keaton
Hi Keaton,
First, 9V batteries cannot generate any decent current. Imagine I was using 70A, and the 9V battery can maybe generate 0.5A at best. If you instead use a car battery, you will get a huge pull, and maybe your coil burns too because those can generate even 500A. One thing you can do is to have a huge capacitor parallel to your 9V batteries so that the capacitor can handle the short spike of high current. Use camera flash capacitors. If you like to move a door lock, you don’t need great pull and acceleration. Then use many more turns of lower gauge wire and then you can generate good pull with much lower current.
If you use a darlington transistor pair to multiply current, is it still not feasible to use a 9v?
If I wanted to test the affect of varied voltage to the final speed of the projectile, where would be the best place to vary the voltage and by what means?
Thanks
You should vary the voltage across the coil. Basically it is the current that creates the magnetic field. The amount of current also depends on the voltage across the coil, the coil and switch resistance.
What was the gauge and material of your coil? And how long was it before you wrapped it?
It was AWG 18 copper magnet coil. I don’t know how long the length was. I just wound it until I was tired!
Where do you get the circuit boards you construct the circuits on?
What power supply are you using to get 25V 70A on V1? Thanks.
Pingback: Video tutorial: come costruirsi una pistola in casa | cose strane
http://www.youtube.com/watch?v=MFohadroheM
Hello, I just came across a startling video that had me quite speechless upon watching it. Now I admit it, I didn’t fully understand this video as I’m a physician and electricity is not my field of expertise, however I do know enough to realize this is not a hoax or bogus and has in fact validity… and I could not think of anyone better than you to send it to… surely you might enjoy watching this video… god speed
Hi Saviz,
All I can say is that this person has little knowledge of electricity as most of his comments don’t make sense electrically. It is possible to capture ambient energy, but this circuit is not the way to do it. Also beside sun’s light source and wind (which is also created thanks to the Sun) all other ambient energies radiated in the environment are extremely low in energy. So, there is no secret in this circuit!
Hi!
Not an EE. How big a of a coil would I need to make if I wanted to use 1F caps? Can relays be fast enough for switching multiple coils?
That’s a complicated problem. The optimum time you want to keep the inductor on would depend on the length, thickness and weight of the bullet as well as the current flowing into the coil, the resistance of the coil and many more things. A relay won’t be fast enough for multiple coils. Relays switch around 10 mS and that would decelerate the bullet.
You are correct. And there is an RC on the gate of the transistor, the 1uF capacitor and the 1M resistor. It does what you say, but it may turn it off too late. As I said, this circuit is not the best, but good enough for presentation.
Hello Mehdi, I love your videos and I hope you continue to make more. Informative and hilarious! As I understand it, you must have a bullet or else the coil will never turn off, which will cause damage to the rest of the circuit via over current. Would it be feasible (or wise) to attach an RC circuit to the base of Q2, causing it to turn off no matter what after a certain time? To be clear, could you have an RC circuit charge up when SW1 is pressed, but programmed in time that it would turn off the coil a little after the bullet should have passed? Just a thought, I am still very much learning.
How much did it cost to build the circuit?
Why a zener diode and not just a diode?
It’s not a Zener, it is a schottky diode. schottky diode is fast and will respond quick to spikes avoiding the transistor to break.
Would a hall effect sensor work considering the magnetic field created by the coils? I would think there would be too much interference for it to be effective at detecting the bullet
HI
or do u use a ceramic capacitor? whats better ah aluminium electrolytic or ah ceramic?
Hi! i had a question! in what direction do u mount the capacitor? i know its ah neerdy question but i dont wont to blow it up! i think the minus side right when i look at the drawing or not?
Best video I’ve seen in a long time, keep up the amazing work
what resistors do u use by the ir sensor? π
around 1k on the LED side and 22k on the transistor side.
When will engineers be able to clearly articulate their ideas ???
Which part of this video did you not understand?
Pingback: Watch This Man Shoot And Electrocute Himself As He Demonstrates A Coil Gun | Gizmodo Australia
I watched your video and read this article, and went to the website you mentioned. But I couldn’t find the IR sensor any where.
Here it is:
http://www.digikey.com/product-search/en?x=0&y=0&lang=en&site=us&KeyWords=EE-SX1070
I really sorry to you.. but seriously you made my day
god bless you
If i change the voltage values , how can i get the new values of resistors and the capacitor ?
You don’t need to change the resistor and capacitor on the gate of the FET. You just need to make sure you don’t raise V2 too much to break the gate of the FET, which is usually 20V max. You may need to tune the resistors of the Optocoupler to make sure the output still saturates.
I wanna ask you something. I really try to do this but 1uF block DC. then no current on 1M so, Gate voltage is nearly zero and source voltage also then NMOS is off. Isn’t it? Also coil resistance should be low then how can you deal with the over current
1uF blocks DC. But when you close the switch, the voltage on one side of the 1uF jumps, resulting on the voltage on the other side to jump too as the capacitor likes to keep the voltage across it the same. So this will rise the gate voltage of the MOSFET high. If the switch is held on the gate voltage will slowly drop as the 1uF discharges through the 1M Ohm.
The coil resistance is very small, but not exactly zero. For example my coil resistance is around 0.250 ohm. So there will be some current limiting anyways. If the FET can take large currents for short period of time, it will be fine like mine. Just make sure you have a bullet going to turn the circuit off and otherwise teh FET will blow. Like I said my circuit works, but is not the best way to do it.
You have to make more videos! I laughed out loud when I saw both videos (Coil Gun, and ESD Gun).
It’s nice to see someone taking a dry subject matter and injecting some humor.
Thanks!
The part that Mehdi uses is actually an optical sensor. Datasheet here: http://www.omron.com/ecb/products/pdf/en-ee_sx1070.pdf
I love the videos! Early in the written description you say ‘RF sensor’ and I think you meant ‘IR Sensor’.
I was also thinking you could switch polarity on the coil to then push the steel rod. Thanks for clearing that up!
You are right. I though I fixed that once but it came back. I’ll fix it now.
Why don’t you use a capacitor to discharge into the coil wouldn’t it save a lot mot time ?
Like I explained, discharging a capacitor will be similar to a timer. The coil may discharge sooner or later than when the bullet reaches the center. It would work, but won’t be the best. Also the capacitor current drops rapidly causing the energy of the coil during acceleration. But instead using a high power supply, you can make sure the power is maximum throughout the acceleration.
ad more coils. make a real gun. fully auto and silent! so cool.
And I am here again.
Think I am thinking fundamentally wrong in that if run on AC it will ‘push’ on a half cycle as well as ‘pull’ in the first 1/2 cycle.
Whatever the polarity is I guess the bullet will be attracted to center.
Maybe a bar magnet then? And of course AC is not something very portable!
Dennis
Another comment Mehdi,
Will the gun work with considerably more turns and a lot less current?
70 amps is quite a power supply too. What do you use?
Maybe could use an ac supply where the voltage reversal does the switching?
It would mean the bullet needs to get to the center during a half cycle then be pushed out on the other half cycle. Not sure if I can work out the length of bullet and barrel for a 60 Hz supply. It seems the bullet is not critical here but the barrel very much so? It could maybe very much simplify the gun electronics although I can see a problem getting the bullet to start its motion in the right part of the sine wave!
The magnetic field is affected by higher current and higher number of turns. So if we can increase both, it would be great. But more current means a thicker wire so with the same number of turns, your coil size grows. I am using a wire , which is 16 AWG I believe. It can’t continuously take 70A, but it can easily handle a short burst of current. When you make a coil, it has a resistance. So for example if you have a 12V, it maybe able to only allow 50A even if your supply can allow 100A. So you will have to raise your supply voltage for more current.
I don’t thing you will get anything goo with AC. First the field will be alternating meaning an inconsistent power, and also if you are using a steal bullet, it doesn’t matter that the field gets reversed. It will swill attract the bullet back in.
Thanks you replies Mehdi.
I now what you mean trying to get a very large current through the wire’s resistance with a 12 v supply.
And appreciate now that if the coil is N or S it will still attract a steel bar. So reversing the current will not do any good after the bullet has got to the 1/2 way stage.
However if the bullet is a bar magnet and the coil polarity was reversed at the 1/2 way stage, could that not be used to advantage? It would be sensitive to the polarity of the coil.
Still needs a sensor that can detect the bullet though 1/2 way through the barrel. A pvc one could probably use a Hall effect sensor.
Dennis
It is possible to use a bar magnet and reverse the polarity. You would need to find sweet spots to reverse the polarity and also still time it well too. I haven’t done this before but I’m guessing it will not make things simpler. But you may achieve better acceleration.
You’re great at explaining Mehdi. And you are no mug!
Could it be that the circuit would work and give more velocity if there was just one coil but it was a lot longer.
Say a foot. Having thought about it though the bullet causes the sensor to switch off the current or ideally reverse the polarity. So the bullet would have to be a long one!
Unless the sensor could be a little over 1/2 way down the barrel and ‘see’ through it to the bullet. How about a Hall effect sensor?
Regards, Dennis.
Hi Dennis,
The issue with a longer coil is that you still need to turn it off when the bullet reaches the center, which renders the second half of the coil useless. And also the very long coil will not necessarily put more force over the bullet, for example my bullet can’t be over a centimeter away from the edge of the coil or it won’t attract it at all. So in a very long coil, only maybe around 5cm (2″) of the coil has real effect on the bullet. It would be much more effective to have 6x 2″ coils and turn them on/off correctly, rather than a 1 foot coil.
You are teh best. Contitue.
Thanks!
what resistor do u use by the ir sensors? π
around 1k on the LED side and 22k on the transistor side.