Filtering sensor readings
Software filtering of sensor values is intended for smoothing and filtering sensor readings that do not have hardware filtering. Filtering should be used when it is necessary to remove erroneous values, much more or less than other values.
The median filtering algorithm is used to filter sensor readings.
Filtering of sensor readings is available for simple sensors of the following types:
Onboard voltage
Engine speed
Engine temperature
trailer temperature
Fuel level
Fuel level in the tank
grain level
Arbitrary
If one of the listed sensors is selected, the filtering settings will be displayed in the sensor settings window:
Use median filtering
Enables the sensor's median filtering algorithm.
Degree of filtration
Sets the degree of filtering, values from 0 to 255 are available for input. The degree of filtering means the number of messages that will be used for filtering. The value entered in the filtration degree field is multiplied by 5, the value obtained after multiplication will be the number of messages to filter. If 0 is entered, then 3 messages will be used for filtering. The larger the value, the more the data will be “smoothed out”, therefore it will differ significantly from the original data.
If filtering is enabled for a sensor, then the filtered dataset will be used for event calculations, display of calculation results in tooltips, reports, including Report Builder, and user graphs.
If tare is used for sensor values, then filtering will be applied after taring the “raw” values.
If the virtual sensor includes a simple sensor with filtering enabled, then the filtered data will also be used to calculate the readings of the virtual sensor.
Filtering example:
Fuel level graph without filter option enabled
Fuel level graph with filter option enabled