This block calculates the time constant and the time delay of a first-order plus time-delay (FOPTD) model.
The time constant, T, is calculated by
T = ton/(ln((δ/|k|-yhig+exp(τ/(1 - τ))(yhig + ylow))/(yhig-δ/|k|))),
where yhig and ylow are
constants related to an asymmetric relay output.
ton is the length of the on period of the
same asymmetric relay output. δ is the dead band of
the same asymmetric relay output. k is the gain of
this FOPTD model. τ is the normalized time delay.
The time delay, L, is calculated by
L = T τ/(1 - τ),
J. Berner (2017). "Automatic Controller Tuning using Relay-based Model Identification." Department of Automatic Control, Lund University.