Converting to State-Space Form by Hand Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

### Converting to State-Space Form by Hand

Converting a digital filter to state-space form is easy because there are various canonical forms'' for state-space models which can be written by inspection given the strictly proper transfer-function coefficients.

The canonical forms useful for transfer-function to state-space conversion are controller canonical form (also called control or controllable canonical form) and observer canonical form (or observable canonical form) [29, p. 80], . These names come from the field of control theory  which is concerned with designing feedback laws to control the dynamics of real-world physical systems. State-space models are used extensively in the control field to model physical systems.

The name controller canonical form'' reflects the fact that the input signal can drive'' all modes (poles) of the system. In the language of control theory, we may say that all of the system poles are controllable from the input . In observer canonical form, all modes are guaranteed to be observable. Controllability and observability of a state-space model are discussed further in §E.7.3 below.

The following procedure converts any causal LTI digital filter into state-space form:

1. Determine the filter transfer function .
2. If is not strictly proper ( ), pull out'' the delay-free path to obtain a feed-through gain in parallel with a strictly proper transfer function.
3. Write down the state-space representation by inspection using controller canonical form for the strictly proper transfer function. (Or use the matlab function tf2ss.)

We now elaborate on these steps for the general case:

1. The general causal IIR filter   (E.8)   (E.9)

has transfer function (E.10)

2. By convention, state-space descriptions handle any delay-free path from input to output via the direct-path coefficient in Eq. (E.1). This is natural because the delay-free path does not affect the state of the system.

A causal filter contains a delay-free path if its impulse response is nonzero at time zero, i.e., if .E.5 In such cases, we must pull out'' the delay-free path in order to implement it in parallel, setting in the state-space model.

In our example, one step of long division yields     (E.11)

where , with for , and for .

3. The controller canonical form is then easily written as      (E.12)

An alternate controller canonical form is obtained by applying the similarity transformation (see §E.8 below) which simply reverses the order of the state variables. Any permutation of the state variables would similarly yield a controllable form. The transpose of a controllable form is an observable form.

One might worry that choosing controller canonical form may result in unobservable modes. However, this will not happen if and have no common factors. In other words, if there are no pole-zero cancellations in the transfer function , then either controller or observer canonical form will yield a controllable and observable state-space model.

We now illustrate these steps using the example of Eq. (E.7):

1. The transfer function can be written, by inspection, as (E.13)

2. We need to convert Eq. (E.13) to the form (E.14)

Obtaining a common denominator and equating numerator coefficients with Eq. (E.13) yields      and   (E.15)

The same result is obtained using long division (or synthetic division).

3. Finally, the controller canonical form is given by            (E.16)

Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[How to cite this work] [Order a printed hardcopy]