Continuous

Integrator Block

Integrates input signal over time using Trapezoidal rule for numerical accuracy

Open Integrator in BlockWerk →

Description

The Integrator block computes the time integral (accumulated sum) of an input signal. It is the inverse operation to the Derivative block and is essential for accumulating signals, computing areas, and implementing the I-term in PID controllers.

Mathematical Model

Continuous:  y(t) = y₀ + ∫₀ᵗ u(τ) dτ
Discrete:    y[n] = y[n-1] + (Δt/2) × (u[n] + u[n-1])  (Trapezoidal rule)

Parameters

initialCondition

Starting value of the accumulator at t=0.

lowerLimit

Minimum output value (saturation).

upperLimit

Maximum output value (saturation).

reset (optional)

Reset trigger input. Set > 0 to reset output to initial condition.

Reset Behavior

The integrator has an optional reset input port:

Examples

Constant Integration (1 second)

Constant input (value=2) integrated over 1 second produces linearly increasing output (0 to 2).

Velocity from Acceleration

Accelerometer signal (constant 5 m/s²) integrated to produce velocity (0 to 5 m/s over 1 sec).

Remarks

See Also