To obtain an estimate of the ambient temperature, the device measures the flow temperature every 5 minutes and performs a moving average across the last 30 minutes. It then performs the following computation:
...
--uriencoded--\text%7BAmbient Temperature%7D = \frac %7B\text%7BAmbient Sensor Raw Value%7D%5e%7B2.2%7D%7D %7B\text%7BFlow Sensor Raw Values Moving Average%7D%5e%7B1.2%7D%7D
If a Room Temperature was provided through a Port 0x01 Downlink within the last 10 minutes, the device uses this; otherwise, it uses the estimated room temperature as defined aboveIt is recommended to use an external temperature sensor to measure the room temperature, and to send the room temperature to the MLR003 device in FPORT 0x01. Info
In the following situations, the device will estimate the room temperature:
The device has never received an external sensor temperature
The last communicated external sensor temperatur was “0”
It has been a long time since the device last received communication of an external sensor temperature (see FPORT 0x09 for adjustment of this expiry time)
The device has become disconnected from the Gateway
See FPORT 0x08 for the Temperature Estimation Algorithm, and for adjustment of the algorithm.
To achieve the instructed room temperature, the device applies the PI PID algorithm.
Mathblock | ||||
---|---|---|---|---|
| ||||
--uriencoded--e = \text%7BSetPoint Temperature%7D - \text%7BAmbient Temperature%7D |
Mathblock | ||||
---|---|---|---|---|
| ||||
--uriencoded--\text%7BValve Percent%7D = \text%7BPrevious Valve Percent%7D +\text{Valve Percent} = K_p * e(t) + K_I * \sum_%7B%7D%5e%7B%7D{}^{} e(t) |
...
+ K_d * \Big( e(t)-e(t-1) \Big) + \text{Offset Percent} |
See FPORT 0x07 for adjustment of the PID coefficients and Offset Percent.
The device considers moving the motor every 5 minutes.
...