Computer program that shows p-p voltage?

M

Matt

Guest
I'm doing work with some accelerometers on a vertical oscillator, and
want an easy way to gather the data. They put out a voltage
proportional to the acceleration, and I'm looking for the peak to peak
voltage, to find the greatest acceleration. I can hook it up to a
sound card, but have not been able to find a program that will show me
the p-p voltage (they all show dB levels, even on a FFT). I know some
Java, but don't have the know-how to write my own. Any ideas? Am I
even posting in the right ng?
TIA!
Matt
 
On 3 Oct 2004 09:46:43 -0700, fisherrider@gmail.com (Matt) wrote:

I'm doing work with some accelerometers on a vertical oscillator, and
want an easy way to gather the data. They put out a voltage
proportional to the acceleration, and I'm looking for the peak to peak
voltage, to find the greatest acceleration. I can hook it up to a
sound card, but have not been able to find a program that will show me
the p-p voltage (they all show dB levels, even on a FFT). I know some
Java, but don't have the know-how to write my own. Any ideas? Am I
even posting in the right ng?
---
Determine what voltage corresponds to 3dB by inputting a signal
(within the bandwidth limitations of the card) which drives the
indicator to 3dB. Measure that peak-to-peak voltage with an
oscilloscope and write it down.

Next, increase that voltage by a factor of two and read the sound card
display. If it indicates +6dB, then the display is calibrated to read


E2
dB = 10 log10 ----
E1

where E2 is the peak-to-peak voltage causing the +6dB reading and E1
is the voltage causing the 3dB reading.


However, if it indicates +9dB, then it's calibrated to read

E2
dB = 20 log10 ----
E1

where E2 is the peak-to-peak voltage causing the +9dB reading and E1
is the voltage causing the 3dB reading.

Knowing that, you ought to be able to figure out the peak-to-peak
voltage causing the value of the display in dB.

--
John Fields
 
On 3 Oct 2004 09:46:43 -0700, fisherrider@gmail.com (Matt) wrote:

I'm doing work with some accelerometers on a vertical oscillator, and
want an easy way to gather the data. They put out a voltage
proportional to the acceleration, and I'm looking for the peak to peak
voltage, to find the greatest acceleration. I can hook it up to a
sound card, but have not been able to find a program that will show me
the p-p voltage (they all show dB levels, even on a FFT). I know some
Java, but don't have the know-how to write my own. Any ideas? Am I
even posting in the right ng?
Wouldn't peak to peak be the greatest change in acceleration and not the
greatest acceleration?

Regardless, are you *only* interested in the peak values or also in the
instantaneous acceleration? If the former, then an appropriate op amp
"peak hold" circuit might work, with the value then read using any
inexpensive data interface; a multimeter with RS-232, or a small Dataq
or Measurement Computing device.
http://www.dataq.com/194.htm
http://www.measurementcomputing.com/cbicatalog/cbiproduct_new.asp?dept_id=352&pf_id=1535

If you need a higher sample rate then you're looking at more specialized
equipment or "rolling your own" with a buffer amp and a microcontroller.

--
Rich Webb Norfolk, VA
 
Rich Webb wrote:
Wouldn't peak to peak be the greatest change in acceleration and not the
greatest acceleration?
There's a nominal voltage of ~1.2 V, and the voltage varies about 23
g/V (.043 V/g). So, the peak to peak will give the difference between
the two extreme accelerations (it's vibrated vertically). If the p-p
is 1 volt, then it's experiencing ~11.5 g's each way, right? This is
in the 20 - 2000 Hz range. I think I will try the calibration
exercise suggested in the above post (putting in a known p-p, then
doubling it and seeing what that does to the dB's). Will having a
wave that isn't sinusoidal adversely affect this?

Regardless, are you *only* interested in the peak values or also in the
instantaneous acceleration? If the former, then an appropriate op amp
"peak hold" circuit might work, with the value then read using any
inexpensive data interface; a multimeter with RS-232, or a small Dataq
or Measurement Computing device.
How would I design an op amp "peak hold" circuit? Am I correct in
assuming this would simply hold the peak voltage, so I could measure
it with a multimeter? I would then have to assume that the variance
from the nominal voltage was symmetric both above and below that
nominal voltage (I don't think it would be - it would be 1g higher on
the positive side, right?). Is there a way to design a "trough hold"
circuit that would hold the _lowest_ voltage?
Thanks for the help!
 
On 3 Oct 2004 19:10:57 -0700, fisherrider@gmail.com (Matt) wrote:

Rich Webb wrote:
Wouldn't peak to peak be the greatest change in acceleration and not the
greatest acceleration?

There's a nominal voltage of ~1.2 V, and the voltage varies about 23
g/V (.043 V/g). So, the peak to peak will give the difference between
the two extreme accelerations (it's vibrated vertically). If the p-p
is 1 volt, then it's experiencing ~11.5 g's each way, right?
Only if it's symmetrical. If it changed direction more slowly on one end
of the travel than on the other it will still be moving back & forth but
the acceleration wouldn't be the inverse.

Regardless, are you *only* interested in the peak values or also in the
instantaneous acceleration? If the former, then an appropriate op amp
"peak hold" circuit might work, with the value then read using any
inexpensive data interface; a multimeter with RS-232, or a small Dataq
or Measurement Computing device.

How would I design an op amp "peak hold" circuit? Am I correct in
assuming this would simply hold the peak voltage, so I could measure
it with a multimeter?
Google for { "op amp" "peak hold" } for some ideas. You'll probably want
some amplification in any case, so peak hold circuit followed by a
modest amplification stage might work.

A multimeter would work to measure the result.

I would then have to assume that the variance
from the nominal voltage was symmetric both above and below that
nominal voltage (I don't think it would be - it would be 1g higher on
the positive side, right?). Is there a way to design a "trough hold"
circuit that would hold the _lowest_ voltage?
Basically, just flip the diode.

--
Rich Webb Norfolk, VA
 

Welcome to EDABoard.com

Sponsor

Back
Top