logging the coilgun waveform with pc sound card

TheMerovingian, Thu Mar 09 2006, 12:57AM

Since pc sound cards can sample up to 200Khz i decided to connect the output of the rogowsky coil integrator dyrectly to sound card and log it with a virtual oscope program. After that the data was transferred to excel and a graph plotted. The current was rescaled according to peak detector value shown on display.

The graphs show two shots: a dryfire and a projectile fire. The waveform was measured on the scr side so don't surprise is the current falls very rapidly (on the coil it doesn't happen and falls exponentially).

As you can see the (purple) in-coil projectile waveform is lower in value and last a bit longer (slower discharge due to additional inductance).

I don't understand the small overshoot before the current fall, may it be due to the scr, stray inductance, or diode reverse recovery capacitance (but it is an ultrafast one).
Anyway it is cool to log the waveforms. Rogowsky coils are fantastic.

Edit: Sorry about the attachment. They don't work properly. I will post a link tomorrow pointing at the excel file

Edit^2: Heres the link http://www.webalice.it/saverio.filippi/documents/grafico correnti.zip
Re: logging the coilgun waveform with pc sound card
Dr. Shark, Thu Mar 09 2006, 09:07AM

I did exactly the same thing a couple of years ago, it's a great substitute if you dont have access to a real 'scope. Especially for coil gun stuff, as you dont really need much bandwidth for that.
I am surprised about the figure of 200kHz though, why would a souldcard not stop at the end of the audible range, i.e. 20kHz?
Re: logging the coilgun waveform with pc sound card
TheMerovingian, Thu Mar 09 2006, 10:43AM

You are right. The badthwitch stops at 20Khz but the sampling rate can be up to 200Khz , meaning one sample each 5 microseconds, that's perfect for coilguns. The only defect of this procedure is the "baseline lose" effect due the the rogosky passive integration. So you need excel to correct it with an exponential fit.
Re: logging the coilgun waveform with pc sound card
Steve Conner, Thu Mar 09 2006, 12:16PM

Some better quality soundcards sample at up to 192kHz even though, like joe doh pointed out, there's no real need for sample rates higher than 45-50kHz to cover the audible frequency range of 20Hz to 20kHz.

Even if the passive integrator didn't cause droop, soundcards are still AC coupled and won't respond accurately to very low frequencies (much below 20Hz)
Re: logging the coilgun waveform with pc sound card
TheMerovingian, Thu Mar 09 2006, 02:16PM

Coilguns can be considered operating in the 500Hz range. Also i use a gaussian baseline correction. See this graph. Notice the dip on the waveform foot. This is the projectile suchback. In line with simulations cheesey

Dryfire and pojectile graph