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
| Name | Domain | Direction |
|---|---|---|
u | signal | in |
y | signal | out |
Parameters
| Name | Unit | Default | Description |
|---|---|---|---|
b2 | s2 | 0 | Numerator coefficient of s^2 |
b1 | s | 0 | Numerator coefficient of s |
b0 | 1 | 1 | Numerator constant |
a2 | s2 | 1 | Denominator coefficient of s^2 |
a1 | s | 1 | Denominator coefficient of s |
a0 | 1 | 1 | Denominator constant |
Variables
| Name | Unit | Description |
|---|---|---|
x1 | 1 | Internal state |
x2 | 1/s | Rate of change of x1 |
Equations
der(x1) = x2 a2 * der(x2) + a1 * x2 + a0 * x1 = u y = b2 * der(x2) + b1 * x2 + b0 * x1