blockNormalizedTimeDelay

Calculate the normalized time delay of the response of a relay controller

Information

This block calculates the normalized time delay of the output from a relay controller.

τ = (γ - ρ)/(γ - 1)/(ρ*0.35+0.65),

where γ and ρ are the asymmetry level of the relay controller and the half-period ratio, respectively.

Note: A delay block is used to maintain the in-tuning process status for a short period after the autotuning completed. It allows properly triggering the warning if the warning indeed should be triggered. The delay should remain small to avoid unintended dynamic effects on the system behavior.

References

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

Parameters

TypeNameDefaultDescription
RealdelayTime0.1Delay time, used to trigger warning
Realgamma4Asymmetry level of the relay controller

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputrhoHalf period ratio
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputinTunCheck if the tuning is ongoing
Buildings.Controls.OBC.CDL.Interfaces.RealOutputtauNormalized time delay

Revisions

  • June 1, 2022, by Sen Huang:
    First implementation.