Main Content

Varying Transfer Function

Transfer function with varying coefficients

• Library:
• Control System Toolbox / Linear Parameter Varying

Description

This block implements a continuous-time transfer function with varying coefficients. The instantaneous transfer function is given by:

`$H\left(s\right)=\frac{{b}_{0}+{b}_{1}s+\cdots {b}_{N}{s}^{N}}{{a}_{0}+{a}_{1}s+\cdots {a}_{N-1}{s}^{N-1}+{s}^{N}},$`

where N is number of poles, specified with the Transfer function order parameter. Feed the values of the coefficients a0, a1,…, aN–1 and b0, b1,…, bN to the corresponding block input ports.

Use this block and the other blocks in the Linear Parameter Varying library to implement common control elements with variable parameters or coefficients. For more information, see Model Gain-Scheduled Control Systems in Simulink.

Ports

Input

expand all

Transfer function input signal.

Transfer function numerator coefficients. The number of coefficient ports is determined by the Transfer function order parameter.

Transfer function denominator coefficients. The number of coefficient ports is determined by the Transfer function order parameter. The coefficient on the highest-order term is fixed to 1.

Output

expand all

Transfer function output signal.

Parameters

expand all

Transfer function (number of poles), specified as a positive integer. This parameter determines the number of coefficient input ports on the block.

Extended Capabilities

C/C++ Code GenerationGenerate C and C++ code using Simulink® Coder™.

Introduced in R2017b

Control System Toolbox Documentation

Learn how to automatically tune PID controller gains

Download code examples