Measures of Integral of Error
- Updated2023-02-17
- 3 minute(s) read
Measures of Integral of Error
Measures the performance of a control system by calculating the integral of the controller error.
Inputs/Outputs

reset
A Boolean or a Boolean array that specifies the initialization of the internal state of the node.
| True | Initializes the output to the current input value. |
| False | Does not initialize the output to the current input value. |
Default value: False

error
Error of the controller.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
This input changes to error signal when the data type is a waveform or a cluster of two arrays.
Default value: 0

error signal
Error signal of the controller.
This input accepts a waveform or a cluster of two arrays.
This input changes to error when the data type is a double-precision floating-point number or an array of double-precision floating-point numbers.

type of integral
Criterion for calculating the integral of the controller error.
| Integral Error (IE) | 0 | Calculates the integral of error using the following equation: . |
| Integral Absolute Error (IAE) | 1 | Calculates the integral of absolute error using the following equation: . |
| Integral Square Error (ISE) | 2 | Calculates the integral of square error using the following equation: . |
| Integral Time Absolute Error (ITAE) | 3 | Calculates the integral of time multiplied by absolute error using the following equation: . |
| Integral Time Error (ITE) | 4 | Calculates the integral of time multiplied by error using the following equation: . |
| Integral Time Square Error (ITSE) | 5 | Calculates the integral of time multiplied by square error using the following equation: . |
| Integral Square Time Error (ISTE) | 6 | Calculates the integral of square time multiplied by error using the following equation: . |
Default value: Integral Error (IE)

dt
Loop-cycle time, or interval in seconds, at which this node is called.
If dt is less than or equal to zero, this node uses an internal timer with a one millisecond resolution.
This input is available only if you wire a double-precision, floating-point number or an array of double-precision, floating-point numbers to error.
Default value: -1

integral of error
Calculated integral of the controller error.