Simulink Reference    
Transfer Fcn

Implement a linear transfer function

Library

Continuous

Description


The Transfer Fcn block implements a transfer function where the input (u) and output (y) can be expressed in transfer function form as the following equation

where nn and nd are the number of numerator and denominator coefficients, respectively. num and den contain the coefficients of the numerator and denominator in descending powers of s. num can be a vector or matrix, den must be a vector, and both are specified as parameters on the block dialog box. The order of the denominator must be greater than or equal to the order of the numerator.

A Transfer Fcn block takes a scalar input. If the numerator of the block's transfer function is a vector, the block's output is also scalar. However, if the numerator is a matrix, the transfer function expands the input into an output vector equal in width to the number of rows in the numerator. For example, a two-row numerator results in a block with scalar input and vector output. The width of the output vector is two.

Initial conditions are preset to zero. If you need to specify initial conditions, convert to state-space form using tf2ss and use the State-Space block. The tf2ss utility provides the A, B, C, and D matrices for the system. For more information, type help tf2ss or consult the Control System Toolbox documentation.

Transfer Fcn Block Icon

The numerator and denominator are displayed on the Transfer Fcn block icon depending on how they are specified:

Specifying the Absolute Tolerance for the Block's States

By default Simulink uses the absolute tolerance value specified in the Simulation Parameters dialog box (see Error Tolerances) to solve the states of the Transfer Fcn block. If this value does not provide sufficient error control, specify a more appropriate value in the Absolute tolerance field of the Transfer Fcn block's dialog box. The value that you specify is used to solve all the block's states.

Data Type Support

A Transfer Fcn block accepts and outputs signals of type double.

Parameters and Dialog Box

Numerator
The row vector of numerator coefficients. A matrix with multiple rows can be specified to generate multiple output. The default is [1].
Denominator
The row vector of denominator coefficients. The default is [1 1].
Absolute tolerance
Absolute tolerance used to solve the block's states. You can enter auto or a numeric value. If you enter auto, Simulink determines the absolute tolerance (see "Error Tolerances"). If you enter a numeric value, Simulink uses the specified value to solve the block's states. Note that a numeric value overrides the setting for the absolute tolerance in the Simulation Parameters dialog box.

Characteristics

Direct Feedthrough
Only if the lengths of the Numerator and Denominator parameters are equal
Sample Time
Continuous
Scalar Expansion
No
States
Length of Denominator -1
Dimensionalized
Yes, in the sense that the block expands scalar input into vector output when the transfer function numerator is a matrix. See the preceding block description.
Zero Crossing
No


  To Workspace Transport Delay