Simulink Reference Previous page   Next Page
Saturation

Limit the range of a signal

Library

Discontinuities

Description

The Saturation block imposes upper and lower bounds on a signal. When the input signal is within the range specified by the Lower limit and Upper limit parameters, the input signal passes through unchanged. When the input signal is outside these bounds, the signal is clipped to the upper or lower bound.

When the Lower limit and Upper limit parameters are set to the same value, the block outputs that value.

Data Type Support

The Saturation block accepts real signals of any data type supported by Simulink, except Boolean. The Saturation block supports fixed-point data types. The output data type is the same as the input data type.

For a discussion on the data types supported by Simulink, refer to Data Types Supported by Simulink in the Using Simulink documentation.

Parameters and Dialog Box

Upper limit
Specify the upper bound on the input signal. When the input signal to the Saturation block is above this value, the output of the block is clipped to this value.
The Upper limit parameter is converted to the input data type offline using round-to-nearest and saturation.
Lower limit
Specify the lower bound on the input signal. When the input signal to the Saturation block is below this value, the output of the block is clipped to this value.
The Lower limit parameter is converted to the input data type offline using round-to-nearest and saturation.
Treat as gain when linearizing
Linearization commands in Simulink treat this block as a gain in state space. Select this parameter to cause the linearization commands to treat the gain as 1; otherwise, the commands treat the gain as 0.
Enable zero crossing detection
Select to enable zero crossing detection. For more information, see Zero Crossing Detection in the Using Simulink documentation.
Sample time (-1 for inherited)
Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See Specifying Sample Time in the online documentation for more information.

Characteristics

Direct Feedthrough
Yes
Sample Time
Specified in the Sample time parameter
Scalar Expansion
Yes, of parameters and input
Dimensionalized
Yes
Zero Crossing
Yes, if enabled.

See Also

Saturation Dynamic


Previous page  Rounding Function Saturation Dynamic Next page

© 1994-2005 The MathWorks, Inc.