1i_statespacemodeloverview.pdf

Upload: gauthier-toudjeu

Post on 14-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    1/18

    Module 1Matrix Analysis

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    2/18

    State-space models

    James, 2011

    pp. 39-42, 82-86

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    3/18

    1. Set up a state-space model

    2. Diagonalize the state matrix

    3. Discuss the controllability andobservability of a SISO systemusing a state-space model

    OUTCOMES

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    4/18

    Pros and cons

    Popular method in digital systems analysis

    Based on matrix algebra Software perform matrix calculations fast

    Calculations limited to second and third ordersystems

    Calculations by hand using a hand-held calculator

    Intermediate steps information on state ofthe system

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    5/18

    Motivation

    First-order linear ODE

    Use an integration factor

    Second-order ODE

    Laplace transforms/undetermined coefficients

    Fourth-order ODE Calculations complicated

    Know input & output

    Internal state at time t?

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    6/18

    Motivation

    A simple LCR circuit A more complex circuit

    2

    2( )

    d q dq qL R v t

    dt dt C

    State-space model!

    Single differential equation?

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    7/18

    Motivation

    Look for a method that

    handles linear differential equations of anyorder with relative ease,

    involves calculations that are time-efficientwhen using a CAD, and

    provides information about the state of the

    system at any time.

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    8/18

    Determine the response of a

    SISO systemSingle input Single output

    State of system

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    9/18

    Steps1. Define the state vector and its derivative.

    2. Determine the state matrixA.

    3. Write down the state and space equations.

    4. Calculate the eigenvalues and eigenvectors ofA.

    5. Write down the modal matrix M and spectral matrix.

    6. Calculate M-1, M-1B and CM.

    7. Use the transformationX= MZZ(0) = M-1X(0)

    8. Write down et.

    9. Evaluate

    10. Write downZ= et + I

    11. Determine y= CM-1Z

    ( ) 1

    0

    ( )t

    tI e M Bu d

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    10/18

    Good news!!!!!!!

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    11/18

    Steps1. Define the state vector and its derivative.

    2. Determine the state matrixA.

    3. Write down the state and space equations.

    4. Calculate the eigenvalues and eigenvectors ofA.

    5. Write down the modal matrix M and spectral matrix.

    6. Calculate M-1, M-1B and CM.

    7. Use the transformationX= MZZ(0) = M-1X(0)

    8. Write down et.

    9. Evaluate

    10. Write downZ= et + I

    11. Determine y= CM-1Z

    ( ) 1

    0

    ( )t

    tI e M Bu d

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    12/18

    In this module

    You will use matrices to:

    1. Set up a state-space model for the given

    initial-value problem; and

    2. Write the problem in canonical form using

    diagonalization.

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    13/18

    An illustrative example

    A SISO system is characterized by the IVP

    1. Set up a state-space model for this system.

    2. Diagonalize the state matrix.

    2

    23 2 2 , (0) 0, '(0) 1t

    d y dyy e y y

    dt dt

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    14/18

    Solution

    1. Set up a state-space model for this system.

    2

    23 2 2 , (0) 0, '(0) 1t

    d y dyy e y y

    dt dt

    1 1

    2 2

    1

    2

    1

    2

    0 1 0

    22 3 1

    1 0

    (0) 0

    (0) 1

    tx x

    ex x

    xy

    x

    x

    x

    State vectorState matrix

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    15/18

    Solution

    2. Diagonalize the state matrix.

    2

    23 2 2 , (0) 0, '(0) 1t

    d y dyy e y y

    dt dt

    1 1 2 0,2 1 0 1

    M

    Eigenvectors Eigenvalues

    Solution to this problem available as Example 2.3 onmyTUTor.

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    16/18

    What do you need?

    1. Matrix calculations By hand

    Calculator

    2. Eigenvalues and eigenvectors

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    17/18

    Two lessons

    1. Set up a state-space modelExample M1.1

    Example M1.2

    2. Diagonalize the state matrixExample M2.1

    Example M2.2

    YouMUST work through the theory in James(2011)!!!!!

  • 7/29/2019 1i_StateSpaceModelOverview.pdf

    18/18

    Let's get YOUworking!

    http://localhost/var/www/apps/conversion/tmp/scratch_9/1h_MatrixCalculations.pptxhttp://localhost/var/www/apps/conversion/tmp/scratch_9/1h_MatrixCalculations.pptx