This component models a resettable integrator in the discrete domain with optional non-windup limits. The component is triggered by the 2-element, interpolated Enable/Disable port signal.
The solution method for this function is as follows:
Where,
Output signal |
|
Time at last execution |
|
Time at execution, before the last execution |
|
Input signal at last execution |
|
Input signal at execution, before the last execution |
|
Time constant at last execution |
|
Time constant at execution before the last execution |
|
k = 1 for forward Euler, k = 0 for Backward Euler and k = 0.5 for Trapezoidal integration rules.
More: |
Derivative with a Time Constant (Z-Domain) |
Name for Identification |
Text |
Optional text parameter for identification of the component. |
||
Integration Method |
|
Choice |
|
Select from Forward Euler, Backward Euler or Trapezoidal. |
|
|
|
|
|
Limits |
Choice |
Select to Enable or Disable non-windup limits. |
||
|
|
|
|
|
Resettable? |
|
Choice |
|
Select Never, Anytime or Timezero.
When to enable reset. If Anytime is selected, a port for the reset signal is enabled. |
|
|
|
|
|
Reset Value |
|
Real |
Variable |
Value output upon reset action. |
|
|
|
|
|
Is Input Already Sampled? |
|
Choice |
|
Select Yes if the input to the component is already executed at the same execution signal. If No is selected, the input will be re-sampled before execution. |
|
|
|
|
|
Dimension |
|
Integer |
Literal |
Enter the dimension of the input signal. The output will be of the same dimension. |
Time Constant |
Real |
Variable |
Time constant [s]. |
|
Output Value After Reset |
Real |
Variable |
The output value directly after a reset. |
Upper Limit |
Real |
Variable |
Maximum limit of the integrator, visible only if Limit Output? | Yes is selected. |
|
Lower Limit |
Real |
Variable |
Minimum limit of the integrator, visible only if Limit Output? | Yes is selected. |