Sensor configurations
To configure a sensor, go to "Main menu" >> "System tree" and click on the sensor element in the tree. A modal window with sensor properties will pop up. Change the needed settings and click "OK" or "Apply" at the bottom of the "Properties" window.
All sensors include:
1 | Name | Name is given by teh system automatically. You can change it to anything you want. |
3 | ID | System ID of the element |
4 | Type | Example: temperature, humidity, vibration |
5 | Class | Examples: analog, CAN, switch, discrete |
6 | Hardware port | Номер внешнего порта на панели устройства к которому подключен датчик (если датчик внешний). |
All sensors have threshold controls:
On the picture above, "Current value" equals 24.5 and is represented by the small triangle. Currently the triangle is red because it is situated in an "High alarm" range above "High alarm level", which equals 20.0. Hence the sensor says that "Current state" is "High alarm". This value is used by the system "Logic schemes" menu to notify the administrator or take action.
Sensors have the option of setting the hysteresis state. Hysteresis can be a time, a value or it can be disable.
If the hysteresis is set in a time, the sensor will transit to a new state with a delay of the specified number of seconds in the corresponding field. The time counting will begin from the moment when the measured value value of the sensor has left the current range.
If you set the hysteresis by value, the sensor transition to a new state will occur when the measured value of the sensor exits beyond the current range, adjusted for the specified hysteresis value.
You can calibrate the sensors. Use K and B coefficients. After calibration save the values in flash memory.
To save sensor properties in the device flash memory press " " then "OK" to confirm.
Tuning sensor readings by a linear formula "y = k * x + b"
Default settings
In rare cases, the sensor readings may be too high or too low. End sensor readings can be adjusted using the linear formula. Consider the following example of a temperature sensor:
We have the linear formula:
y = k * x + b
Where:
x = self determined temperature sensor reading
y = temperature sensor reading that have to be shown (true)
k, b = the coefficients in the formula
By default:
k = 1
b = 0
In this case:
y = 1 * x + 0
y = x
We have the following schedule:
The graph shows that for each value of x = y.
Sensor tuning
For proper tuning of the temperature sensor from example above, we will need additional diagnostic temperature sensor with more accurate readings. Using both sensors you need to measure the readings of the two sensors in the same place, at the same time. For a more precise determination of "k" and "b" values we should try to take two valuee of one sensor with a more distant values:
We measure two values of both sensors. For example:
When x = 25°C; y = 27°C
When x = 30°C; y = 31.5°C
Where
x = temperature sensor reading of Vutlan sensor
y = sensor reading of a more accurate testing temperature sensor
We put all the values in the formula, and we get two formulas::
k * 25 + b = 27
k * 30 + b = 31.5
Using simple math we find both values "k" and "b":
k = 0.9
b = 4.5
And we get the following formula:
y = 0.9 * x + 4.5
We can draw a graph for this formula:
We type in "k" and "b" values in sensor configuration panel.