Fixed-Point Blockset    

Integrator Realizations

This section presents realizations for trapezoidal, backward, and forward integration. For each realization, the transfer function and difference equation, block parameters, and model design are discussed.

Trapezoidal Integration

The FixPt Integrator: Trapezoidal realization is a masked subsystem that performs discrete-time integration using the Trapezoidal method. For this method, integration is approximated by the z-domain transfer function

where Ts is the sampling period. The realization is shown below.

As shown in the figure, the transfer function yields the difference equation

where k is the current time step, k - 1 is the previous time step, y(k) is the current output, y(k - 1) is the output from the previous time step, u(k) is the current input, and u(k - 1) is the input from the previous time step.

Parameters and Dialog Box

The dialog box and parameter descriptions for the trapezoidal integrator realization are given below.

Sample time
The time interval, Ts, between samples
Base data type
The processor's base data type
Accumulator data type
The processor's accumulator data type

Model Design Review

A brief review of the model design is given below. The design criteria reflect the rules presented in Design Rules.


 Design Rules Backward Integration