Integrator
Purpose
Integrate a signal.
Library
Control / Linear
Description
The Integrator block outputs the integral of its input signal at the current time
step. The output signal may have an upper and lower limit. It can be reset to its
initial value by an external trigger signal.
Simulation with the Continuous State-Space Method
When simulated with the continuous method, the input signal is simply passed on to
the solver for integration.
Simulation with the Discrete State-Space Method
When simulated with the discrete method, the input signal is integrated within
PLECS using the Forward Euler method.
Parameter
-
Initial condition
- The initial condition of the integrator. This parameter may
either be a scalar or a vector corresponding to the implicit width of the
component.
-
External reset
- The behaviour of the external reset input. The values rising,
falling and either cause a reset of the integrator on the rising, falling or both
edges of the reset signal. A rising edge is detected when the signal changes from
to a positive value, a falling edge is detected when the signal changes from
a positive value to
. If the value level is chosen, the output signal keeps the
initial value while the reset input is not
.
-
Upper saturation limit
- An upper limit for the output signal. If the value is inf
the output signal is unlimited.
-
Lower saturation limit
- A lower limit for the output signal. If the value is -inf
the output signal is unlimited.
Probe Signals
-
State
- The internal state of the integrator.
Note If the external reset is used, there is a direct dependancy of the output signal on the
reset trigger signal. Therefore the generation of the trigger signal must not
depend on the output signal directly since this would cause an algebraic
loop.