Integrator

Numerical integration of a discrete-time signal

Category: Dynamics

Description:

This block integrates the signal received in input port and returns the result in the output port. The numerical integration uses the task period as its integration step. It uses Euler’s backward rectangular rule for fixed-step integration:

yk={y0,k=0yk1+Tuk,k>0y_k=\begin{cases} y_0 &,& k=0 \\ y_{k-1}+Tu_k &,& k>0\end{cases}

Where:

  • uu
    : Input signal received in the input port.
  • yy
    : Output signal with the integrated result.
  • kk
    : Integer discrete-time index used in the representation of internal state recurrence.
  • TT
    : Integration time step in seconds.
Dialog

In the Integrator Properties window, there are some configuration options which may change the behavior of the block. They are detailed in the parameters' description below.

Properties for the behavior of the integrator

Parameters:

This option creates an input port named as IC when set to enable. The value of the signal received by this port works as an initial condition. The block icon in this situation looks like this:

Defines a constant initial condition

y0y_0
of the integrator.

In some applications, it is necessary to reset the integrator during the execution. When the block detects a rising edge in the reset port, the integration state is restarted to the initial condition.If this parameter is set to enable, it will create a new input port and the block shall look like this:

Once this parameter is enabled, it is possible to saturate the output signal without a Saturation Block. Furthermore, the Limit Output saturates the internal state of the integrator.

In case the parameter "Limit Output" is enabled, this parameter shall be used to limit the maximum internal state value. It limits the maximum output signal as well.

In case the parameter "Limit Output" is enabled, this parameter shall be used to limit the minimum internal state value. It limits the minimum output signal as well.

Ports:

Input

The input signal to be numerically integrated.

Data Types:

The value of the signal received in this port works as initial condition for the numerical integration.

Data Types:

Resets the states of the integration when the signal received has a rising edge.

Data Types:
Output

The result of the numerical integration of the input signal.

Data Types:

About MWF

MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.

Contact Us

Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil

contact@mwf-technologies.com

© 2018-2026 MWF. All rights reserved.