Transfer function (2nd order)

control.transfer_function2

Transfer function (b2 s^2 + b1 s + b0) / (a2 s^2 + a1 s + a0) from u to y, starting at rest. a2 must not be zero; for a first-order system use the first-order or lead-lag block.

Ports

NameDomainDirection
usignalin
ysignalout

Parameters

NameUnitDefaultDescription
b2s20Numerator coefficient of s^2
b1s0Numerator coefficient of s
b011Numerator constant
a2s21Denominator coefficient of s^2
a1s1Denominator coefficient of s
a011Denominator constant

Variables

NameUnitDescription
x11Internal state
x21/sRate of change of x1

Equations

der(x1) = x2
a2 * der(x2) + a1 * x2 + a0 * x1 = u
y = b2 * der(x2) + b1 * x2 + b0 * x1