Fixed-Point Blockset | ![]() ![]() |
Perform discrete-time limited integration of a signal using the trapezoidal method, with external Boolean reset
Library
Description
The Integrator Trapezoidal Resettable Limited block performs a discrete-time integration of a signal using the trapezoidal method.
The block can reset its state based on an external reset signal R. When the cumulative sum reaches one of the limits given by the Upper limit and Lower limit parameters, the sum saturates to that limit.
When the reset signal R is false at time step k, the block calculates the output at time k by the rule
where is the input at time k and
When the reset signal R is true at time k, the block resets the output y(k) to the value of the Initial condition for previous output parameter. The block also resets w(k) to the value of the Initial condition for previous weighted input K*Ts*u/2 parameter.
Parameters and Dialog Box
Specify via dialog
Inherit via internal rule
Inherit via back propagation
Characteristics
Input Ports |
Any data type supported by the blockset |
Output Port |
Same as the input |
Direct Feedthrough |
Yes, of the input and reset source ports |
Scalar Expansion |
Of inputs and gain |
See Also
Integrator Backward, Integrator Backward Resettable, Integrator Backward Resettable Limited, Integrator Forward, Integrator Forward Resettable, Integrator Forward Resettable Limited, Integrator Trapezoidal, Integrator Trapezoidal Resettable
![]() | Integrator Trapezoidal Resettable | Interval Test | ![]() |