Main Content

Direct Form II

In general, adirect form realization refers to a structure where the coefficients of the transfer function appear directly as Gain blocks. The direct form II realization method is presented as using the minimal number of delay elements, which is equal ton, the order of the transfer function denominator.

The canonical direct form II is presented as “Standard Programming” inDiscrete-Time Control Systemsby Ogata. It is known as the “Control Canonical Form” inDigital Control of Dynamic Systemsby Franklin, Powell, and Workman.

You can derive the canonical direct form II realization by writing the discrete-time transfer function with inpute(z)and outputu(z)as

u ( z ) e ( z ) = u ( z ) h ( z ) h ( z ) e ( z ) = ( b 0 + b 1 z 1 + + b m z m ) u ( z ) h ( z ) 1 1 + a 1 z 1 + a 2 z 2 + a n z n h ( z ) e ( z ) .

The block diagram foru(z)/h(z)follows.

The block diagrams forh(z)/e(z)follow.

Combining these two block diagrams yields the direct form II diagram shown in the following figure. Notice that the feedforward part (top of block diagram) contains the numerator coefficients and the feedback part (bottom of block diagram) contains the denominator coefficients.

The direct form II example transfer function is given by

H e x ( z ) = 1 + 2.2 z 1 + 1.85 z 2 + 0.5 z 3 1 0.5 z 1 + 0.84 z 2 + 0.09 z 3 .

The realization ofHex(z)using fixed-point Simulink®blocks is shown in the following figure. You can display this model by typing

fxpdemo_direct_form2

at the MATLAB®command line.