Accelerometer Interval Detector
Detects static or motion intervals of time by using the accelerometer of the device to determine whether the device is moving or not. When detector is started, initialization occurs to determine the accelerometer noise level while keeping device static. Once the detector is initialized, then static or dynamic intervals can be detected. This detector uses accumulated average values during static intervals, and windowed averages as "instantaneous" values during dynamic intervals. Length of windows, as well as thresholds to determine when changes between static and dynamic intervals occur can be easily configured. This interval detector converts sensor measurements from device ENU coordinates to local plane NED coordinates. Thus, all values referring to a given x-y-z coordinate refers to local plane NED system of coordinates.
Constructors
Properties
Gets average sensor measurements triad accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after initialization completes.
Gets average x-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average x-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average y-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average y-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average z-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average z-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets standard deviation of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of x-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of x-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of y-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of y-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of z-coordinate of sensor measurements accumulated during last static period expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of z-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
listener to notify when sensor accuracy changes.
Gets average time interval between sensor samples expressed in seconds (s). This is only available once detector completes initialization.
Gets average time interval between sensor samples. This is only available once detector completes initialization.
Gets sensor measurement base noise level that has been detected during initialization expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope and Teslas (T) for magnetometer. This is only available once detector completes initialization.
Gets or sets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes. This threshold is expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope and Teslas (T) for magnetometer.
Gets or sets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes.
Gets sensor measurement base noise level that has been detected during initialization. This is only available once detector completes initialization.
Gets measurement base noise level PSD (Power Spectral Density) expressed in (m^2 * s^-3) for accelerometer, (rad^2/s) for gyroscope or (T^2 * s) for magnetometer.. This is only available once detector completes initialization.
Gets measurement base noise level root PSD (Power Spectral Density) expressed in (m * s^-1.5) for accelerometer, (rad * s^-0.5) for gyroscope or (T * s^0.5) for magnetometer. This is only available once detector completes initialization.
listener to notify when a new dynamic interval is detected.
listener to notify errors such as sudden motion during initialization or sensor unreliability.
listener to notify when this detector completes initialization after being started.
listener to notify when this detector starts initialization after being started.
Gets or sets number of samples to be processed initially while keeping the sensor static in order to find the base noise level when device is static.
Gets windowed average of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the samples within the window.
Gets windowed average x-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average x-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average y-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average y-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average z-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average z-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets or sets factor to determine that a sudden movement has occurred during initialization if instantaneous noise level exceeds accumulated noise level by this factor amount. This factor is unit-less.
Gets windowed standard deviation of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of x-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of x-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of y-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of y-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of z-coordinate of sensor measurements for each processed triad expressed in meters per squared second (m/s^2) for accelerometer, radians per second (rad/s) for gyroscope or Teslas (T) for magnetometer. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of z-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
listener to notify collected accelerometer measurements.
Number of measurements that have been processed.
listener to notify when a reset occurs.
Delay of sensor between samples.
One of the supported accelerometer sensor types.
listener to notify when a new static interval is detected.
Gets estimated threshold to determine static/dynamic period changes. This is only available once detector completes initialization.
Gets or sets factor to be applied to detected base noise level in order to determine threshold for static/dynamic period changes. This factor is unit-less.
Gets estimated standard deviation of time interval between measurements expressed in seconds (s). This is only available once detector completes initialization.
Gets estimated standard deviation of time interval between measurements. This is only available once detector completes initialization.
Gets estimated variance of time interval between measurements expressed in squared seconds (s^2). This is only available once detector completes initialization.
Gets or sets length of number of samples to keep within the window being processed to determine instantaneous sensor noise level. Window size must always be larger than allowed minimum value, which is 2 and must have an odd value.
Functions
Gets average sensor measurements triad accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after initialization completes.
Gets average x-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average y-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets average z-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one, or after initialization completes.
Gets standard deviation of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of x-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of y-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets standard deviation of z-coordinate of sensor measurements accumulated during last static period. This value is updated when switching from a static period to a dynamic one or after completing initialization.
Gets average time interval between measurements. This is only available once detector completes initialization.
Gets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes.
Gets sensor measurement base noise level that has been detected during initialization. This is only available once detector completes initialization.
Gets windowed average of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the samples within the window.
Gets windowed average x-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average y-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed average z-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing an average value for the sample within the window.
Gets windowed standard deviation of measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of x-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of y-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets windowed standard deviation of z-coordinate of sensor measurements for each processed triad. This value is updated for each processed sample containing measured standard deviation for the samples within the window.
Gets estimated threshold to determine static/dynamic period changes. This is only available once detector completes initialization.
Gets estimated standard deviation of time interval between measurements. This is only available once detector completes initialization.