Skip to content Skip to navigation

Connexions

You are here: Home » Content » State-Variable Representation of Discrete-Time Systems

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

State-Variable Representation of Discrete-Time Systems

Module by: Douglas L. Jones

Summary: State-variable, or state-space, representations provide a general description of all linear, time-invariant (LTI) systems that is useful both for their analysis and for generating alternate forms with more convenient implementation or with less sensitivity to quantization.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

State and the State-Variable Representation

Definition 1: State
the minimum additional information at time nn, which, along with all current and future input values, is necessary to compute all future outputs.
Essentially, the state of a system is the information held in the delay registers in a filter structure or signal flow graph.

fact:

Any LTI (linear, time-invariant) system of finite order MM can be represented by a state-variable description xn+1=Axn+Bun x n 1 A x n B u n yn=Cxn+Dun y n C x n D u n where xx is an Mx1 x M 1 "state vector," un u n is the input at time nn, yn y n is the output at time nn; AA is an MxM x M M matrix, BB is an Mx1 x M 1 vector, CC is a 1xM x 1 M vector, and DD is a 1x1 x 1 1 scalar.

One can always obtain a state-variable description of a signal flow graph.

Example 1: 3rd-Order IIR

yn=- a 1 yn1 a 2 yn2 a 3 yn3+ b 0 xn+ b 1 xn1+ b 2 xn2+ b 3 xn3 y n a 1 y n 1 a 2 y n 2 a 3 y n 3 b 0 x n b 1 x n 1 b 2 x n 2 b 3 x n 3

Figure 1
Figure 1 (fig1State-Space.png)

x 1 n+1 x 2 n+1 x 3 n+1=010001- a 3 - a 2 - a 1 x 1 n x 2 n x 3 n+001un x 1 n 1 x 2 n 1 x 3 n 1 0 1 0 0 0 1 a 3 a 2 a 1 x 1 n x 2 n x 3 n 0 0 1 u n yn=- a 3 b 0 - a 2 b 0 - a 1 b 0 x 1 n x 2 n x 3 n+ b 0 un y n a 3 b 0 a 2 b 0 a 1 b 0 x 1 n x 2 n x 3 n b 0 u n

Exercise 1

Is the state-variable description of a filter Hz H z unique?

Exercise 2

Does the state-variable description fully describe the signal flow graph?

State-Variable Transformation

Suppose we wish to define a new set of state variables, related to the old set by a linear transformation: qn=Txn q n T x n , where TT is a nonsingular MxM x M M matrix, and qn q n is the new state vector. We wish the overall system to remain the same. Note that xn=T-1qn x n T q n , and thus xn+1=Axn+BunT-1qn=AT-1qn+Bunqn=TAT-1qn+TBun x n 1 A x n B u n T q n A T q n B u n q n T A T q n T B u n yn=Cxn+Dunyn=CT-1qn+Dun y n C x n D u n y n C T q n D u n This defines a new state system with an input-output behavior identical to the old system, but with different internal memory contents (states) and state matrices. qn= A ^ qn+ B ^ un q n A ^ q n B ^ u n yn= C ^ qn+ D ^ un y n C ^ q n D ^ u n A ^ =TAT-1 A ^ T A T , B ^ =TB B ^ T B , C ^ =CT-1 C ^ C T , D ^ =D D ^ D

These transformations can be used to generate a wide variety of alternative stuctures or implementations of a filter.

Transfer Function and the State-Variable Description

Taking the zz transform of the state equations Zxn+1=ZAxn+Bun Z x n 1 Z A x n B u n Zyn=ZCxn+Dun Z y n Z C x n D u n zXz=AXz+BUz z X z A X z B U z

Note:

Xz X z is a vector of scalar zz-transforms XzT= X 1 z X 2 z X z X 1 z X 2 z
Yz=CXn+DUn Y z C X n D U n zIAXz=BUzXz=zIA-1BUz z I A X z B U z X z z I A B U z so
Yz=CzIA-1BUz+DUz=C-zI-1B+DUz Y z C z I A B U z D U z C z I B D U z (1)
and thus Hz=CzIA-1B+D H z C z I A B D Note that since zIA-1=±det ( z I - A ) red TdetzIA z I A ± ( z I - A ) red z I A , this transfer function is an MMth-order rational fraction in zz. The denominator polynomial is Dz=detzIA D z z I A . A discrete-time state system is thus stable if the MM roots of detzIA z I A (i.e., the poles of the digital filter) are all inside the unit circle.

Consider the transformed state system with A ^ =TAT-1 A ^ T A T , B ^ =TB B ^ T B , C ^ =CT-1 C ^ C T , D ^ =D D ^ D :

Hz= C ^ zI A ^ -1 B ^ + D ^ =CT-1zITAT-1-1TB+D=CT-1TzIAT-1-1TB+D=CT-1T-1-1zIA-1T-1TB+D=CzIA-1B+D H z C ^ z I A ^ B ^ D ^ C T z I T A T T B D C T T z I A T T B D C T T z I A T T B D C z I A B D (2)
This proves that state-variable transformation doesn't change the transfer function of the underlying system. However, it can provide alternate forms that are less sensitive to coefficient quantization or easier to analyze, understand, or implement.

State-variable descriptions of systems are useful because they provide a fairly general tool for analyzing all systems; they provide a more detailed description of a signal flow graph than does the transfer function (although not a full description); and they suggest a large class of alternative implementations. They are even more useful in control theory, which is largely based on state descriptions of systems.

Comments, questions, feedback, criticisms?

Send feedback