Hi, I have an analog triaxial accelerometer ( 830M1 ) on a vibration rig connected to a "labjack", which is as I understand, functionally the same as an Arduino.
Never heard of that. Can you post a link to the specs?
You could calibrate it by placing it on a stationary, horizontal surface. Whatever it's voltage readings are, they must represent 9.81m/s² or 1g.
By orientating the sensor with its x, y & z axes pointing normally to the surface and making a note of the readings, you can calibrate it to give the correct readings.
Ahh so if the the sens is 50 mV/g then a 1 volt signal equals 20g amplitude. Makes sense, thanks. However I am confused about the base values. Why does the sensor output 1 volt when it is subject to 0 forces except gravity?
I must mention that electronics is not really my field
When stationary, the signals usually fluctuate around 1.1 for 2 of the axes, though one of the axes sits around 1.5 instead. When undergoing vibration, the values start to flutuate +-0.2 . Assuming then that 1G = 1.1V then this is a little strange I believe the vibrations to be significant enough to provide more of an impact than just around .2G
The zero reading must be offset so that the sensor can measure and output for negative Gs, but keep the output signal positive. So, for instance, a plus-minus 25 g sensor with a 5V full scale output will output 2.5V at 0g, 5V at +25 g and 0V at -25g.
One axis will always have 1g due to gravity, the other 2 are at 0g. Most sensors will have an inherent output offset at 0. You can calibrate for that like @PaulRB describes.
NOTE: the accelerometer data sheet indicates that the output is bipolar, and swings from -1.25V to 1.25V. An Arduino cannot measure negative voltages and the analog input may be destroyed if you try. What does Labjack do with negative voltages?
Good question, when I ran the sensor it never got anywhere close to negative values so I couldn't tell you. It does seem to support bipolar outputs though.
Does Labjack even support bipolar outputs, and negative voltages?
Get out your multimeter and verify that the sensor is working as the datasheet indicates. Any vertical axis should read positive 1 g when pointing up, and negative 1 g when that axis is pointing down.
Until you completely understand how the sensor works, and how to read the output, there is not much sense in going further.