Accelerometer
This section focuses on the accelerometer.
Motion configuration
The device embeds a three-axis accelerometer used to detect motion. When the device starts or stops moving, it generates a Motion start / Motion end notification (if configured to do so). The following parameters control the sensitivity and timing of motion detection:
-
accelero_motion_sensi: This parameter configures the sensitivity of the accelerometer.
-
accelero_motion_duration: This application firmware generates motion end notification once this timer elapses after the tracker stops moving.
-
accelero_full_scale: This parameter affects the measurement range of the accelerometer. Lower values give extremely sensitive and accurate measures but are capped rapidly, while higher values are less accurate but are capped at higher values. Consequently, the lower values should be used in the case of motion detection if high sensitivity is required (e.g. to detect movement of freight in a high speed train), while higher values will be reserved for shock detection. Human motion (e.g. wearing a badge) will be detected reliably at all scales.
-
accelero_output_data_rate: This parameter affects the sampling rate of the accelerometer. The setting of this parameter will affect:
- Power consumption: Lower values will minimize power consumption. Ultra-low power operation requires use of 12.5Hz output data rate (ODR).
- Accuracy: Higher values will provide more sensitivity to transient events. Shocks which last less than 1/ODR seconds may go unnoticed. ODR acts as a low pass filter, so the vibration's measured energy will decrease at low ODR frequencies.
When configuring the tracker only for motion detection, accuracy is not an issue since we are only interested by the movement. So, it is advised to use the lowest value of accelero_output_data_rate. However, when shock detection is used, if very short duration shocks are expected, higher values of accelero_output_data_rate may be needed. In general shocks between "soft" objects at low speed will last more than 1/10s and the lowest accelero_output_data_rate will work. Vice versa high speed shocks between hard objects may have extremely short duration.
For more information, please refer to Accelerometer group.
Shock configuration
In addition to motion, the same accelerometer can detect shocks — short, high-intensity acceleration events such as impacts or drops. When a shock exceeding the configured threshold is detected, the device generates a Shock notification. The following parameter controls shock detection:
- accelero_shock_threshold: This parameter configures the shock detection threshold, in increments of 63 mg. Once the measured acceleration exceeds this threshold, the device generates a shock notification.
- accelero_full_scale and accelero_output_data_rate also apply to shock detection, since both parameters act on the same 3-axis measurement chain shared with motion detection — see Motion configuration above.
The shock notification reports the peak acceleration on each axis (allowing the direction of the shock to be inferred) along with a GADD index: body damage is more accurately represented by the GADD index than by raw peak acceleration, since it integrates acceleration intensity over the total shock duration.
There is currently no filtering on the GADD index at device level, only on the shock threshold. The back-end application needs to filter further based on the reported GADD index value.
For more information, please refer to Accelerometer group.