DIS Sensors QG40N User Manual - Page 8

Browse online or download pdf User Manual for Switch DIS Sensors QG40N. DIS Sensors QG40N 15 pages. Tilt/acceleration switch (sil1 plc)
Also for DIS Sensors QG40N: User Manual (5 pages), User & Safety Manual (6 pages)

DIS Sensors QG40N User Manual
FLASH error
Watch Dog error
4.3.5

MEMS Interrupt Error

The MEMS use the interrupt line to indicate the availability of the output. By implementing robust
error-handling mechanisms in the firmware, we can detect and handle interrupt errors. Log error
information for debugging purposes.
4.3.6

MEMS Data Format Error

A "Sensor Data Format Error" refers to a situation where the format of the data obtained from MEMS
does not match the expected or specified format.
4.3.7

Voltage Error

Voltage errors can occur due to various reasons, such as power supply fluctuations, noise, or issues
with the sensor itself. Check for voltage errors is crucial to ensure that the voltage supplied to the
sensor falls within acceptable limits for proper and safe operation.

Signal Processing

The signal processing consist of several aspect, addressed below.
4.4.1

Sample Rate And Averaging

Tilt Switch:
The internal g-sensor chip is sampled every 10ms. Each sample of the element consists of 16 samples
for each axis. Resulting in sample rate of 1600 Hz. These samples are input for a 32 tabs FIR input low
pass filter. Each 10ms new data is available for the µC.
A decimating filter reduces the refresh rate by 4x, so refresh rate is 40ms.
This decimating filter is averaging the values during the 40ms refresh rate (4 samples averaging)
Acceleration Switch:
The internal g-sensor chip is sampled every 5ms. Each sample of the element consists of 16 samples
for each axis. Resulting in sample rate of 3200 Hz. Each sample is checked over the measuring
interval. At the end of the measuring interval the acceleration value is compared to the programmed
switch points and the switching outputs are set accordingly, refresh rate 40ms.
4.4.2

Output Filter

Tilt Switch:
The output of the sensor can be extra filtered by a 1
disabled. Via the optional 'QG40N configurator' a -3dB frequency or RC-time can be configured.
A longer low-pass filter time results is a smaller bandwidth and therefore a more stable output signal
(less noise), but also more phase delay.
Acceleration Switch Sensor: Not applicable
DIS SENSORS BV
User Manual - QG40N Tilt/Acceleration Switch (SIL1 PLc) V2.0
st
order low-pass filter. Default this output filter is
7