Welcome
Username:

Password:


Remember me

[ ]
[ ]
Online
Guests: 26, Members: 0 ...

most ever online: 333
(Members: 3, Guests: 330) on 06 Jun : 15:15

Members: 3376
Newest member: mike_van_eman
Members Birthdays:
One birthday today, congrats!
Daniel Davis (46)


Next birthdays
05/28 PSCG (24)
05/29 Zonalklism (26)
05/29 Dr Hankenstein (60)
Contact
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.
Forums
4hv.org :: Forums :: Electromagnetic Projectile Accelerators
<< Previous thread | Next thread >>   

V3 Coil Carbine

Go to page  1 2 3 [4] 5 6
Author Post
ben5017
Thu Apr 25 2013, 12:11AM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
Max:

no worries.
here are some pictures to keep your interest and motivation in my project. The frame will be cut out on my router I just got operational. I will draw it up on the computer once I know the dimensions of the sub systems and parts. Just waiting on a few more things.

As for my code. I need.

4 stage firing code
- Sensor calibration for each stage (done but needs integrating)
- Limits on max igbt on time for each stage,
- Consecutive coil firing safety
- Debounce each stage

Injector Firing code
- One-shot trigger circuit
- Switch selectable monostable or astable mode
- Debounce
- Adjustable pulse length

Drum Mag
- Fatuba servo code
- Integrate IR reflective sensor servo / encoder haven't decided yet (suggestions?)
- Adjustable sensor sensitivity
- Manual "jog" of a specific degree rotation when button pressed

I hope I didn't just scare you off. I just want to get the main firing code working and add the bells and whistles after









Back to top
Maxwell
Thu Apr 25 2013, 01:46AM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Alright.

Can you provide a datasheet or link to the optical sensors you're using? I'm assuming if you're requesting a calibration that you have analog sensors. Are you hard-set on these? I am using two of these:

for benchtop chronograph timing and they work flawlessly...The arduino is simply looking for a 1 or 0 from the sensor (high/low)...I don't have any calibrations. Either the beam is broken or it is not. Granted, you need something a little narrower for fitting over the barrel.

Limits on max igbt on time for each stage
---> I've never had success with an IGBT and the arduino - from my understanding they're somewhat latching. If you know the controls behind triggering an IGBT on/off I can write a brief timer to control it.

Consecutive coil firing safety
---> This can be done by through circuitry - always grounded except when given signal.

Debounce each stage
---> Probably won't be necessary as everything is going to be digital.


One-shot trigger circuit
--->This is where we would use the digital de-bounce and code staging to record code status.


Switch selectable monostable or astable mode
--->I don't understand

Adjustable pulse length
--->Simple.

Drum Mag
I've never done servos. There are tons of Arduino libraries for servos...I've used stepper motors before which are easy. Are you looking for feedback to determine if a chamber is loaded or not with the IR reflection? Manual Jog shouldn't be an issue.

I don't see any problems with these requests.

Back to top
ben5017
Thu Apr 25 2013, 02:07AM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
max:

I made the sensors out of a IR emitting diode and a IR phototransistor I got of mouser. I will supply the data sheet. They were working great when firing off of my old 2 stage 555 circuit. I am not set on anything but I think mine will do the job. (you have any experience using photodiodes? read they were much quicker)

---> I've never had success with an IGBT and the arduino - from my understanding they're somewhat latching. If you know the controls behind triggering an IGBT on/off I can write a brief timer to control it.

I am having the arduino controlling a igbt driver, not directly to the gate of the igbt. I will send you a link the that data sheet as well


Switch selectable monostable or astable mode
--->I don't understand


Semi auto or full auto


Are you looking for feedback to determine if a chamber is loaded or not with the IR reflection?

that was the plan. open to Ideas. maybe the encoder is the way to go
Back to top
Maxwell
Wed May 01 2013, 05:57PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi Ben5017,
While I'm working on this,
If you want to familiarize yourself with basic C++ code, the arduino notebook published at:


provides a lot of good background!
Back to top
ben5017
Wed May 01 2013, 07:09PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
I will most defiantly check that out. BTW if you ever need any parts made, I would be more than happy too cut them out for you on my router, as a show of appreciation.. Just PM me.
Back to top
Maxwell
Thu May 09 2013, 12:44PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi Ben,

I would anticipate having a functional code tomorrow afternoon.

For clarification again, which model arduino will you be working with?
Back to top
ben5017
Thu May 09 2013, 04:34PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
good stuff max, i plan on cutting the frame out this weekend too.

Im using a arduino mega 2560 for now. will probly switch it up to a smaller model as space is in short supply.
Back to top
Maxwell
Wed May 15 2013, 02:28PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Update: code does not function on my mega. (it does on my newer leonardo). But @Ben, no I haven't forgotten about you. Just de-bugging. I have a feeling that the interrupts I'm trying to call are not translating as I expected between boards.

The mega has more interrupt channels than does the other models.

However,
the code for the trigger, armature detection, firing works fine.
Back to top
ben5017
Wed May 15 2013, 09:39PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
MAX: Sounds good. Here is a little more motivation. still got away to go .....

construction will be 5mm abs.

What is the most compact arduino you think I could get away with? I want to leave a little room for possible upgrades in the future.

Back to top
ben5017
Wed May 15 2013, 11:50PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
update

Back to top
Saz43
Mon May 20 2013, 06:21PM
Registered Member #1525
Joined: Mon Jun 09 2008, 12:16AM
Location: America
Posts: 294
Keep up the nice work, Ben! I'm really happy to see someone else activley working on building a serious portable coilgun. I'm looking forward to seeing more photos.
Back to top
Maxwell
Tue Jun 11 2013, 05:23PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi Ben5017,

Apologies for the untimely compilation of this code.
With summer being here - free time is always sparse.

Regardless, here is the working code as mentioned.
Like I've mentioned previously I've never worked with Servos - so this will have to be a next-revision implementation to the code.

[code]

-Maxwell.[br][file=http://4hv.org/e107_files/public/1370971422_8497_FT147269_06-11-2013_maxwell.txt]06-11-2013_maxwell.txt[/file]
Back to top
Thomas W
Tue Jun 11 2013, 07:09PM
Registered Member #3324
Joined: Sun Oct 17 2010, 06:57PM
Location: UK, Dorset, Broadstone
Posts: 1276
ben5017 wrote ...

MAX: Sounds good. Here is a little more motivation. still got away to go .....

construction will be 5mm abs.

What is the most compact arduino you think I could get away with? I want to leave a little room for possible upgrades in the future.





ive found these very good.
Back to top
Maxwell
Wed Jun 12 2013, 12:12PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
For what Ben is doing, more digial I/O's are needed.
He already has one arduino Mega?

Back to top
ben5017
Wed Jun 12 2013, 04:32PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
MAX: How do I access the code? What is the most compact arduino I can get away with? (how many I/O's do I need) I cannot find an acceptable way to use the mega in my gun. Its just to big. I will be using it for testing purposes.
Back to top
Maxwell
Wed Jun 12 2013, 07:26PM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
The link the forum edited is misleading, but try this:


You should be able to get away with the micro if you're okay with the custom pinning. I would do a bunch of bench-testing with the code.

My code is set to work with the Leonardo...However I'm using 12 digital I/O pins...so serial may not work properly.
Back to top
ben5017
Wed Jun 12 2013, 10:07PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
max,

You are awsome. this will save me so much startup time, and be great to reverse engineer to learn how to program these things. I will now be ordering a leonardo as well, its smaller than my mega and should fit with my updated gun layout.
Back to top
Maxwell
Thu Jun 13 2013, 02:35AM
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
FYI - debugging has already started:

" fire(50,SGRgC);
stage=stage+photogate(ptgB)+100; //stage should now equal 102+1+100=303
delayMicroseconds(50); //delay between coils (in us)"

The second ptgB should really be ptgC to reflect SGRgC above.

likewise in the statement right below it for SGRgD.
Back to top
ben5017
Mon Jun 17 2013, 12:37AM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
UPDATE: Frame close to completion. Router will be up and running this week, hopefully..

MAX: Keep it coming. You have no idea how much i appreciate you putting in the time to help me. A complete stranger no less.
hopefully the new pics will keep you interested in my project.



Back to top
ben5017
Wed Jul 10 2013, 11:14PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
UPDATE: FRAME CUT AND 90% ASSEMBLED. SEE ATTACHED PICS OF THE FINAL CAD WORK, PICS OF THE REAL THING WILL FOLLOW SHORTLY ONCE I TAKE THEM!

TO DO LIST.
1) FINISH ATTACHING DRUM MAG
2) MAKE DRIVER AND SENSOR BOARDS
3) A LOT OF WIRING AND QUALITY SOLDERING TIME
4) AQUIRE PROGRAMMING SKILLS
5) PROFIT







Back to top
ben5017
Wed Jul 10 2013, 11:46PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154














Back to top
PSCG
Thu Jul 11 2013, 06:08AM
Registered Member #3792
Joined: Sun Mar 27 2011, 06:07PM
Location: Greece
Posts: 136
Really, a piece of art...keep up the awesome work!

Did you have any problems with the accelerator coils overheating when firing multiple shots?
Back to top
ben5017
Tue Jul 30 2013, 01:48PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
The accelerator coils are not on long enough to get even remotely close getting hot let alone overheating, the injector is another story. It is wound pretty aggressively and it alone will shoot the large projectiles over 10 feet! Which may be a little overkill.
Back to top
Yandersen
Wed Jul 31 2013, 09:55PM
Registered Member #6944
Joined: Fri Sep 28 2012, 04:54PM
Location: Canada
Posts: 340
Ben, where is the video?! Saz makes everybody vibrate in an extasy already - what are you waiting for?! %)
Back to top
ben5017
Tue Oct 01 2013, 04:39PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
UPDATE:





YANDERSON: VIDEO IS A WAYS AWAY, GOT A LOT OF WORK TO DO STILL..
HOWEVER, THE V3CC 95% MECHANICALLY COMPLETE

WAITING ON AN ENCODER TO FINISH THE FEED MECHANISM
Back to top
ben5017
Tue Oct 01 2013, 04:41PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
MORE





ALL 4 IR SENSORS ARE OPERATIONAL
Back to top
ben5017
Tue Oct 01 2013, 04:42PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
EVEN MORE





PICKED UP A 1940'S SHOP SMITH WHILE CLEANING OUT MY GRANDPA'S OLD BASEMENT THIS WEEKEND. PRETTY NICE SCORE ONCE I CLEANED HER UP A BIT. ESPECIALLY SINCE HE HAD ALL THE ATTACHMENTS.
Back to top
ben5017
Thu Oct 03 2013, 10:47PM
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 154
Having trouble getting my igbt's to turn fully on. 12Kohms? any suggestions? (ive tried a bunch of igbts with the same results). i am using tc422 drivers to energize the gate. The chip is turned on through my arduino mega
Back to top
Saz43
Tue Oct 08 2013, 04:43PM
Registered Member #1525
Joined: Mon Jun 09 2008, 12:16AM
Location: America
Posts: 294
Nice work. Are you using any kind of load as you test the IGBTs? Try testing them with a resistor and LED as the load and see if it's different.
Back to top
DerAlbi
Tue Oct 08 2013, 05:49PM
Registered Member #2906
Joined: Sun Jun 06 2010, 02:20AM
Location: Dresden, Germany
Posts: 517
"Having trouble getting my igbt's to turn fully on. 12Kohms? any suggestions?"

What? 12Kohm relating to... what!? No schematic. No explaination.
The TC4422 is not verry robust concerning overvoltage if thats its output resistance its killed allready. Be carefull with that. What else could 12KOhm mean? Not the gate resistor, right?
If you used a 12K-Resistor on HV as a test load and the 12K are a wirewound resistor you probably be carefull with your IGBT.
if the 12K are... the hell... whats about 12K. WHERE?? any suggestions??
and btw: what means "fully" on to you? If you turn your IGBT on and measure the resistance between emitter and collector - depending on your multimeter the reading 12K makes sense, however you are testing bullshit.

Whats your Gatedrive voltage, whats your IGBT model, whats the values you expect, what did you measure.

Nice _mechanical_ work so far
Back to top
Go to page  1 2 3 [4] 5 6

Moderators: Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Bjørn, Dave Billington, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Jump:     Back to top

Powered by e107 Forum System
 
Legal Information
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.