Documentation Center

  • Trial Software
  • Product Updates

Transfer Fcn Lead or Lag

Implement discrete-time lead or lag compensator

Library

Discrete

Description

The Transfer Fcn Lead or Lag block implements a discrete-time lead or lag compensator of the input. The instantaneous gain of the compensator is one, and the DC gain is equal to (1-z)/(1-p), where z is the zero and p is the pole of the compensator.

The block implements a lead compensator when 0 < z < p < 1, and implements a lag compensator when 0 < p < z < 1.

Data Type Support

The Transfer Fcn Lead or Lag block accepts signals of any numeric data type that Simulink® supports, including fixed-point data types.

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

Pole of compensator (in Z plane)

Set the pole.

Zero of compensator (in Z plane)

Set the zero.

Initial condition for previous output

Set the initial condition for the previous output.

Initial condition for previous input

Set the initial condition for the previous input.

Integer rounding mode

Specify the rounding mode for fixed-point operations. For more information, see Rounding. in the Fixed-Point Designer™ documentation.

Saturate to max or min when overflows occur

Select to have overflows saturate to the maximum or minimum value that the data type can represent. Otherwise, overflows wrap.

When you select this check box, saturation applies to every internal operation on the block, not just the output or result. In general, the code generation process can detect when overflow is not possible. In this case, the code generator does not produce saturation code.

Characteristics

Direct Feedthrough

Yes

Scalar Expansion

Yes, of initial conditions

Zero-Crossing Detection

No

Was this topic helpful?