Correction of Analogue Input & Output Values

Information on how to correct measured values

INTRODUCTION TO CORRECTION

All analogue inputs and outputs in the Loxone Config have got a correction section in their properties. This makes it possible to scale and also correct analogue inputs and outputs. For example a temperature sensor connected to an analogue input.

The sensor used in this example has a measuring range of -30°C to 70°C. The analogue input however provides a signal from 0-10V. You can scale this in the software so that the 0-10V signal is displaying the temperature range not the voltage. This is done in the properties of the analogue input, so click on the input and look down to the Correction section.

Loxone Config Correction Inputs and Outputs

For this sensor you would put the following values in the correction as displayed in the screenshot.

Input value 1: 0
Display value 1: -30
Input value 2: 10
Display value 2: 70

The signal is now adjusted in this linear graph:

Correction Graph

EXAMPLES

INDOOR TEMPERATURE SENSOR

Product code: 200006

Temperature settings are adjustable using 4 DIP switches. In this example the sensor is set to measure from -20°C to 80°C (DIP switch setting 5).

The correction values would be:
Input value 1: 0
Display value 1: -20
Input value 2: 10
Display value 2: 80

INDOOR TEMPERATURE & HUMIDITY SENSOR

Product code: 2000010

Temperature range from -30°C to 70°C.

The correction values would be:
Input value 1: 0
Display value 1: -30
Input value 2: 10
Display value 2: 70

Humidity is from 0 to 100% relative humidity.

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 100

BRIGHTNESS SENSOR

Product code: 200032

Brightness is adjustable using DIP switches from 0 to 100,000 lux.

The sensor is supplied with the measuring range set from 0 to 100 lux, which is what we show the correction for in this example.

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 100

SAUNA TEMPERATURE SENSOR

Product code: 2000028

Temperature settings are adjustable using 4 DIP switches. In this example the sensor is set to measure from 0°C to 150°C (DIP switch setting 11).

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 150

INDOOR TEMPERATURE, HUMIDITY & CO2 SENSOR

Product code: 2000017

Temperature range from 0°C to 50°C.

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 50

Humidity is from 0 to 100% relative humidity.

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 100

CO2 measuring range is from 0 to 2000 ppm.

The correction values would be:
Input value 1: 0
Display value 1: 0
Input value 2: 10
Display value 2: 2000

ULTRASONIC SENSOR

Product code: 200054

Measuring range from 350mm to 6000mm.

The correction values would be:
Input value 1: 0
Display value 1: 350
Input value 2: 10
Display value 2: 6000

USING ENOCEAN SENSORS WITH DIFFERENT TEMPERATURE RANGES

There are countless EnOcean sensors available and whilst there is some standardisation within the EnOcean protocol for temperature ranges, there are many sensors that do not conform to this. Even though the configuration software may not list the range of a particular EnOcean sensor it is still possible to use this sensor, by scaling the values that are received to reflect the correct range.

For instance if a sensor with a range from -20°C to 55°C is used there is no suitable EnOcean protocol. If one therefore selects the protocol of a sensor that usually measures 0°C to 40°C, then a reading of 0°C actually reflects a real temperature of -20°C and a reading of 40°C a real temperature of 55°C.

To adjust the scaling both the upper and the lower values need to be scaled. Please always use input value 1 and display value 1 for the lower adjustment and input value 2 and display value 2 for the upper adjustment. Hence for the above example one would enter:

Input value 1: 0
Display value 1: -20
Input value 2: 40
Display value 2: 55

DEVIATION ADJUSTMENTS

Quite often when measuring analogue signals, especially temperature there can be some deviation from the true temperature.

For example if a temperature sensor was behind a switch plate on a wall and near a door, this temperature sensor could be measuring say 21°C. However using another hand held thermostat the room temperature in the middle of the room is actually 23°C.
The calculation for this is relatively straight forward. The steps are:
1. Work out the total range of the sensor. In this example we are using an indoor temperature sensor with a range from -30°C to 70°C. Total range = 100.
2. Divide the analogue range by the total range: 10/100 = 0.1
3. Therefore 0.1V = 1°C
4. Calculate the voltage at zero: -30 to 0 is a range of 30. Multiply 30 by 0.1 = 3V at zero degrees.
5. Finally multiply the temperature sensor’s reading of 21°C by 0.1 and add 3 for the voltage = 5.1V.

Values:
Temperature measured by the sensor: 21°C
Measuring voltage: 5.1V
Actual room temperature: 23°C

The correction values for this sensor would be:
Input value 1: 0
Display value 1: -30
Input value 2: 5.1
Display value 2: 23

The temperature has now been shifted upwards by 2°C upwards so the temperature will be displaying accurately now.

CORRECTION WITH 1-WIRE, AIR OR ENOCEAN SENSORS

If the temperature measurement is incorrect and needs to be corrected this can be done by adjusting the upper parameters.

Temperature measured by the sensor: 21°C
Actual temperature in the room: 22.5°C

The correction values would be: Now we just edit the correction settings (input value 2 and display value 2) in the Properties of the temperature input.

Input value 1: 0
Display value 1: 0
Input value 2: 21
Display value 2: 22.6

The temperature has just been shifted upwards by 1.5°C upwards so the temperature is displayed accurately.