|
|||||||||||||||||
|
Measuring with an accelerometer
Contents
|
||||||||||||||||
|   | -1 g | 0 g | +1 g |
| X axis | 1.330 V | 1.499 V | 1.651 V |
| Y axis | 1.368 V | 1.530 V | 1.688 V |
The sensitivity for a channel can now be determined with :
sensitivity = (V+1 g - V-1 g) / 2 |
This results in the following sensitivities: X axis = 160.5 mV/g and Y axis = 160 mV/g
Converting the measured valuesWhen displaying the signal of the Dual-axis Accelerometer directly, the oscilloscope will display volts, not in g's or in m/s². To display the measured accelerations with unit g or m/s², the measured values need to be converted.
To convert the measured values, a Gain/Offset I/O is used for each channel of the Dual-axis Accelerometer. Create them by right-clicking on I/O's in the object tree and selecting Gain/Offset.
Since all operations for both channels are similar, this example will only describe the settings for the X axis, Ch1.
Set the gainAs determined before, the Dual-axis Accelerometer has an X axis sensitivity of 160.5 mV/g. To display the measured values directly in g's, they have to be multiplied by 1 / 0.1605 = 6.230. Right-click the X axis Gain/Offset I/O and select Gain -> User defined... There is no need to calculate the proper value for the gain, the Gain/Offset I/O can do this by itself, so simply enter "1 / 0.1605", "1/160.5m" or "1/160m5".
Set the offsetTo compensate for the offset of the Dual-axis Accelerometer, right-click the Gain/Offset I/O and select Input offset -> User defined... Then enter the measured offset value, multiplied by -1. In this example, the offset for the X axis is 1.499 Volt, so a value of "-1.499" has to be entered.
Set the unit of measureSince gravity can be represented as g, the unit of measure should be given as g as well. To change this, right-click the Gain/Offset I/O and select Set Unit... and enter "g".
Set the aliasTo simplify recognition of the various signals that can be displayed, it's possible to assign a name (alias) to an I/O. Right-click the Gain/Offset I/O and select Set alias... and enter "X axis".
Connect the I/OThe X axis Gain/Offset I/O is now ready for use. Drag input channel Ch1 of the instrument on the X axis Gain/Offset I/O and then drag the Gain/Offset I/O in the graph. The new graph shows the acceleration in one axis, directly in g. The corresponding live channel of the instrument can now be deleted from the graph. For more information, see "Creating and connecting objects".
Set the output rangeTo customize the visible range of the converted accelerometer data, right-click the Gain/Offset I/O and select Set output range... to set the visible range to e.g. +4 .. -4 g.
Measuring in m/s²The software is currently setup to display the measured accelerations in g. To display the measured accelerations in m/s², a few adjustments have to be made in the settings of the Gain/Offset I/O.
The gain has to be set differently. Assuming that 1 g equals 9.81 m/s², the gain of the X axis Gain/Offset I/O has to be set to "9.81 * (1 / 0.1605)" in the above example. The units have to be changed from "g" to "m/s²".
Ready to measureThe TiePie engineering Multi Channel software is now ready to measure both the tilt and the accelerations that the Accelerometer is experiencing.
The measurement shown below, was made with a Dual-axis Accelerometer, sliding on a horizontal surface and bouncing against an obstacle.
The measurement and settings are saved in a Multi Channel software setfile: acceleration measurement.TPS. This setfile can be opened with both the full version and the demo version of the Multi Channel software.
Measuring speedWhen the acceleration of an object is known, as well as the initial speed of the object, it's very easy to determine the speed of the object, using an accelerometer. All one has to do is measure the acceleration in m/s² and integrate the measured data to get the speed in m/s. The Multi Channel software has an Integrate I/O that can be used for this task.
Create an Integrate I/O by right-clicking I/O's in the tree view and select Integrate. The alias of the Integrate I/O can be set to e.g. "X speed". Set the unit to "m/s". Then drag the X axis Gain/Offset I/O onto the Integrate I/O and drag the Integrate I/O on the graph.
The graph now displays the speed of the object, in m/s.
Measuring displacementWhen the speed of an object is known, the displacement of that object can be determined very easy by integrating the speed.
Create another Integrate I/O, name it "X position" and set the unit to "m". Now drag the X speed Integrate I/O on the X position Integrate I/O and drag the X position Integrate I/O on the graph.
The graph now displays the relative position, or displacement, of the object, in m. The image below shows a measurement with a Dual-axis Accelerometer, which was shifted over a table, for about 10 cm.