.Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Controller

Output relay signals for tuning PID controllers

Information

This block generates a relay output yDif = (u_m - u_s)/r, where u_m is the measurement, u_s is the setpoint and r is the typical range of control error.

This block also generates the control output y, and a boolean relay switch output yOn using the following procedure.

Step 1: Calculate control error,

Step 2: Calculate y and yOn,

where deaBan is a dead band, yHig and yLow are the higher value and the lower value of the output y, respectively.

References

J. Berner (2017). "Automatic Controller Tuning using Relay-based Model Identification." Department of Automatic Control, Lund University.

Revisions


Generated at 2025-06-30T18:20:57Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos