The Transfer Fcn block models a linear system by a transfer function of the Laplace-domain variable s . The block can model single-input single-output (SISO) and single-input multiple-output (SIMO) systems.
The Transfer Fcn block assumes the following conditions:
H ( s ) = y ( s ) u ( s ) = n u m ( s ) d e n ( s ) = n u m ( 1 ) s n n − 1 + n u m ( 2 ) s n n − 2 + … + n u m ( n n ) d e n ( 1 ) s n d − 1 + d e n ( 2 ) s n d − 2 + … + d e n ( n d ) ,
For a single-output system, the input and output of the block are scalar time-domain signals. To model this system:
For a multiple-output system, the block input is a scalar and the output is a vector, where each element is an output of the system. To model this system:
A transfer function describes the relationship between input and output in Laplace (frequency) domain. Specifically, it is defined as the Laplace transform of the response (output) of a system with zero initial conditions to an impulse input.
Operations like multiplication and division of transfer functions rely on zero initial state. For example, you can decompose a single complicated transfer function into a series of simpler transfer functions. Apply them sequentially to get a response equivalent to that of the original transfer function. This will not be correct if one of the transfer functions assumes a non-zero initial state. Furthermore, a transfer function has infinitely many time domain realizations, most of whose states do not have any physical meaning.
For these reasons, Simulink ® presets the initial conditions of the Transfer Fcn block to zero. To specify initial conditions for a given transfer function, convert the transfer function to its controllable, canonical state-space realization using tf2ss . Then, 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 see the Control System Toolbox™ documentation.
The Transfer Fcn block displays the transfer function depending on how you specify the numerator and denominator parameters.
Tip When the block size is too small to accommodate the full numerator or denominator, the block icon displays the numerator as num(s) and the denominator as den(s) .
If you want the block to show the equation for the transfer function it implements, resize the block by dragging a corner.