State Variable Analysis of Continuous Time Systems

DOI : 10.17577/IJERTCONV5IS04016

Download Full-Text PDF Cite this Publication

Text Only Version

State Variable Analysis of Continuous Time Systems

  1. Vijayakumar1 ,S. Vennila2 , M. Rajalakshmi3

    1,2,3 Student, Kongunadu College of Education Tholurpatti (PO), Thottiam (TK)

    Tiruchirappalli-621 215, Tamilnadu, India

    Abstract: The concept of state relates to those physical objects whose behavior changes in time and when given an excitation or stimulus, a certain change or response can be observed. To predict the future behavior of the object under any excitation or input, a series of experiments may be done giving inputs , and observing the response or outputs. This input output relation is put in an orderedmanner for all time t , where is the initial starting time, when the first input is given.

    Keywords: Concept of State and state variables, state variables model for a continuous system, solution of state equations- existence of the solution, methods of evaluation of state transition matrix.

    1. INTRODUCTION

      The modem trend in systems engineering is towards a greater complexity, mainly because of requirements of good accuracy in difficult and complex tasks. These systems have more than one (i.e.) multi inputs and multiple outputs and these inputs and outputs are usually time varying. The requirements on the systems are also stringent. Conventional analysis is too time consuming and some times very difficult, if not impossible. Due to the development large size computers, since 1960, a new approach to the analysis, design a control of complex systems is developed based on new concept the state. The concept of state by itself is not new and is in existence since long in classical dynamics and other fields and is now extended to systems engineering.

      A physical object or system is one which can be perceived by our senses. Its behaviour in time is abstraction of the mathematical relationships that give some expression. Here we say some expression because while doing the abstraction for the mathematical relations, it is possible that some relations may be lost or true behaviour may not come. Also it is not possible to realise all mathematical relations physically and vice versa.

    2. CONCEPT OF STATE AND STATE VARIABLES

      1. State of Physical Object

        This is any property of the object which relates input to output such that knowledge of the input time function for t 0 and at time t=0 completely and uniquely determines the output for t 0.

        Example -(1):

        A simple electric circuit is shown in Fig(1). Switch S is at `A` initially and closed at t=0 to position `B`.

        input v(t)

        B 1

        output 2(t)

        Fig (1).

      2. An Abstract Object

        An abstract object is the totality of input-output pairs that describe the output y(t) for all t 0.

        In definition (1) , Define the state of physical object. This more or less refers to a mathematical model and may or may not represent a physical state. The example given below will give the difference between the two definitions cited above.

        Fig(2).

        Example-(2):

        Consider the R-C circuit shown in Fig(2). The physical object is the resistor-capacitor (R-C) network shown in

        R C

        u(t) y(t)

        Fig (2):R-C circuit

        The perform an experiment by giving different input u(t) measure the output y(t) (both being voltages in this case). A different experiment may give input y(t) and measure u(t) so that the choice of inputs and outputs are determined depending on the experiment to be conducted.

        The input-output pairs in this example satisfy the mathematical relationship.

        RC()

        +y = u(t) (1)

        Equation (1) summarises the abstract object. The solution for this equation is

        Y(t)= y(0)(0)/ + 1 ()/ () d (2)

        0

      3. The state an Abstract Object

        It is the collection of numbers which together with the input u(t) for all t 0 uniquely determines the output y(t) for all t 0.

        A state can be a set of any finite numbers or infinite numbers. However, in most cases, the state is a set of `n` finite numbers and hence. X(t) is a n (valued) vector function of time.

      4. State Variable

        A variable denoted by X(t ) is the time function whose value at any time is the state of the abstract object at that time.

      5. The state- Space Denoted by ` `is a set of all X(t)

        In Example (1) considered, state variable remains either state `A` or `B` whereas in example (2).

        X(t) = y(t)

        Note that the state representation is not unique . There can be many different ways of expressing the relationships between the inputs and outputs. In example (2) y(t) is the output across the capacitor C. Instead the current through the capacitor can be taken as y(t) and the relations can be rewritten.

      6. Dynamic System

        Dynamic system is a oriented mathematical relationship in which

        1. For a given real input u(t) for all `t`, there exists a real output y(t) for t 0 , and

        2. The output y(t) does depend on the inputs u(t) for t 0.

          This can be understood by referring to the Example (2) the output y(t), the voltage across capacitor is uniquely determined once y(0) is given and it does not matter how it was determined in the past. All that is needed is the unique future output (the state) for the future input.

      7. LINEARITY A system is said to be linear if the following conditions are satisfied.

        Given any two numbers `a` and `b` , two states 1(0), 2(0), two inputs 1() 2(t) and their corresponding outputs 1(t) and 2(t):

        (1) The state 3(0) = 1(0) + 2(0), the output 3() = 1() + 2(t) for the input 3() = a1() +

        2(t) can appear in the oriented abstract object.

        (2) Both 3() and 3() correspond to the state 3(0) 3(t).

        Consider Example (1) for same `a` and `b` there is no state corresponding to aA + bB. (A, B are switch positions).

        The system does not satisfy the definition given above and hence is not linear. Consider Example (2), the R-C

        network.

        1() = 1() = 1(0)(0)/ + 1 ()/ 1()

        0

        And 2() = 2() = 2(0)(0)/ + 1 ()/ 2()

        0

        has two outputs for states 1(0) 2(0) and two inputs 1() 2(). Since the give any finite voltage.

        3() = 1() + 2() and

        3() = 1() + 2()

        Let us find the output 3(t) for this condition

        3() = 3(0)(0)/ + 1 ()/ 3()

        0

        = [1(0) + 2(0)(0)/ ]+ 1 ()/ [1() + 2()]

        0

        = ( )(0)/ + 1 (0)/ () + ( )(0)/

        1 0

        1 2 0

        0

        + 1 ()/ () = () + ()

        2 1 2

        0

        Since the conditions laid in the definition are satisfied, the system is linear.

      8. Time Invariance

      A system is said to be time-invariant , if the time axis can be translated, and an equivalent system results in?

      The test any system with this definition by comparing the original output with the shifted output. First shift the input function by `T` seconds starting from the same initial state 0 at time 0+T.Does y(t +T) of the shifted system is equal to y(t) of the original system? If yes, system is time-invariant.

    3. STATE VARIABLE MODEL FOR A CONTINUOUS SYSTEM

      A time-variant linear system can be described by a nth order ordinary differential equation provided it has one input

      and output y(t).Denoting p= the system equations be written as/p>

      ( + 11 + 22 + + ) =

      (0 + 11 + 22 + . +) (1)

      System

      Fig (1)

      Where 1, 2, . . , 0, 1, , are constants and y and u are functions of `t` (Fig(1) ).

      In a similar manner, a time varying system can be described by an nth order differential equation (provided it has one input and one output only) with varying coefficients as follows.

      + () 1() + () 2()

      ()() =

      1 1

      2 2

      () (t) + () 1 () + + ()()

      0

      1 1

      (2)

      Here the coefficients 1, 2, . , 0, 1, 2, , are all the functions of time.

      The above system considered, in general can be put into a compact from as

      = () () + ()u(t) (3)

      And y = C(t) X(t) +D(t) u(t) (4)

      Where X(t) is an `n` vector called state vector

      u(t) is an m vector corresponding , to m inputs (if exist)

      y(t) is a k vector corresponding to k outputs (if the system have ) A(t), B(t), C(t) and D(t) are functions of time in matrix form as

      A(t) .n×n matrix

      B(t) .n×m matrix

      C(t) .k×n matrix D(t) .k×m matrix

      For a single input, single output system, however,

      () = () + ()u

      And y = C(t) + D(t)u

      (Where B(t) and C(t) are column vectors and D(t) a single value.)

      The state variable analysis mainly concerns with the choice of the states or state variable X(t) for the given system and then obtaining the solution for y by solving the eqns (3) and (4).

      Before going into general methods of choice of states and state variables, a few examples will discussed. In the state variable analysis, the try to reduce a nth order differential equation in one independent variable into `n` number of 1st order differential equations and try to get the solution. The advantage of the method is that solve the 1st order equations easily either by classical method or obtain numerical solution. Also computers and numerical machines can handle such equations easily and efficiently. It may be noted that in this analysis the variables chosen may or may not correspond to real physical states and as such in the initial introduction and definitions, a clear cut explanation is made between real (physical) and abstract states.

      Example -(1):

      A system is described by the differential equation

      2

      2

      +5 + 6 =u(t)

      Reduce the equations to state variable from. Solution:

      Let y = 1 = 1 = 2

      The equation reduces to

      1 2

      1 = 6 5 + ()

      1 2

      1 = 0. + + 0. ()

      Denoting 1 = 1 and 2 = 2

      1

      0 1 1 0

      [ ] =[6 5] [ ] + [

      ] ()

      2 2 1

      Y =1 =[1 0] [1 ] + [0]()

      2

      1 2

      Here and are two state variables corresponding to the output y and its derivative .

      Both 1 and 2 are described by 1st order differential equations only. Also the original differential equation is reduced to standard form of the type in eqns (3) and (4).

      Here [] = [ 0 1 ], [] = [0]

      6 5 1

      [] = [1 0] , [] = [0]

      All are matrices with numbers since the equations is a time invariant equation with single input and single

      output.

      Choice of state variables for continuous system for Time-Invariant system:

      Let the time-invariant system be represented by the differential equation already given in eqn (1). ( + 11 + + ) = (0 + 11 + + )(5) (5)

      Where p is the differential operator ; y = output, u = the input to the system.

      Rearranging the terms

      ( 0) + 1(1 1) + + ( ) = 0

      Dividing throughout by and rearranging,

      = 0 + 1 (1 1) + + 1 ( )

      Let y = 0 + X

      (1) 1 = 1 (1 1)+ 1 (2 2)+..

      2

      Multiplying by p, p1=1

      (2)1 =1 1 + 2 or 1 = 1 1 + 1 (2 2) +. (3) 2 =2 2 + 3 where 2 = 1 (2 2) +.

      2 = 2 2 + 1 (3 3) +.

      =

      Rearranging in matrix form

      1

      2

      1 1 0

      2 0 1

      0 0 1

      0 0 2

      =

      1

      1 0 0

      0 1 1

      [ 0 0 0 0] [ ] [ ]

      1 1

      0

      2 2 0

      + [u]

      1 1 0

      Or [] = AX + Bu Also y = 1 + 0u

      [

      0]

      1

      2

      =[1 0 0 0] + 0u (6)

      1 [ ]

      or Y = CX + Du

      The nth order differential equation is reduced to `n` 1st differential equations in `n` state variables 1, 2, . . , .

      In a physical system, the first write the equation of the system (the differential equation) and then the may those abstract state variables as is done in section. This form is called OBSERVABLE or CANONICAL form.

    4. SOLUTION OF STATE EQUATIONS-EXISTENCE OF SOLUTION:

      Here the discuss some methods of solving the state equations. The equations obtained are vector-matrix differential equations. Firstly, the existence and uniqueness of the solution will be discussed before the actual solution is presented.

      For the state equation (t) = AX + Bu (a)

      And output equation Y = CX + Du (b)

      Since the state of a zero input system dose not depend on the input u(t), it can be Written that X(t) = (t; 0, 0) where (t; 0, 0) is the state trajectory in its state space. Now we shall discuss:

      1. Does a solution of that kind exist and unique?

      2. Under what conditions does that solution exist?

      The following assumptions are made:

      1. AX the first term of eqn (a) , A is continuous function of X for all X . ( is for belongs to and is the set of n real numbered vector space)

      2. AX is a bounded function.

      3. Also |(1) (2)| |(1 2)| where L is a constant called Lipschitz constant. This condition is satisfied by all functions which are differentiable with respect to X( X= 1, 2,..)

      Existence of the Solution:

      Let ( ) = f |()|. Where f(X) satisfies the above conditions. Integrating from `0` to `t`.

      () d = X(t) = 0 + [()] d (7)

      0 0

      Now (t) be the solution so that

      0

      (t) = 0 + [()] d (8)

      Let 0(), 1(),.. be the sequence of time functions that satisfy the above relation

      0() = 0

      0

      1() = 0 + [0()] d etc.

      . ..

      . …..

      . ..

      0

      So that +() = 0 + [()] d (9)

      And lim () for all finite `j` to exists and is equal (t)

      Since 0(t) is bounded, f(x) is continuous and bounded and its integrals are well defined for finite `t`. (t)=0()+[1() 0()]+[2() 1()]+..+

      [ 1() 2()]+[() 1()]

      1

      = 0() + |+1() () |

      =0

      0(t) converges to a limit if we can show that the R.H.S. converges. From definition,

      1() 0() = [0()] d |1() 0() | = | [ 0()] d|

      0

      |[0()] d| F d

      0

      0 0

      F(t – 0) (10)

      Next compute

      0

      2() 1() = [1() – 0()] d Using Lipschitz condition,

      0

      |2() 1() | 2( – t0) d

      0

      1 2( t )2 where `2l` is the interval taken.

      2

      Proceeding in similar manner,

      | ()

      1

      1() | ( t0)

      1

      lim |+1() () |

      =0

      1

      lim 1

      +1( t )+1

      =0

      ( + 1) 0

      The series on R.H.S. converges to [ (0) 1] for all finite values of ( t0).

      Henc, the conclude that () converges uniformly to limit function 1() in the time interval `t`0 to `t`. And as such

      (t) =0 + lim [()] d (11)

      0

      Taking the limit to inside of the integral,

      0

      (t) =0 + [()] d (12)

      Thus, the existence of solution (t) has been established for all finite values of time.

      With the earlier made assumptions, prove that (t) is unique by taking another function (t) as solution and showing that (t) will become equal to (t). Hence, the solution for (t) is (t) (both X and are vectors of n dimensions).

      For any input function u(t), the solution is obviously given by the equation

      X = [t, u(t)] (13)

      The State Transition Matrix:

      The function that obtained as a solution (viz.) (t) with its n values transformed into a matrix (t, 0), an n × n matrix is called state transition matrix so that the solution for X(t) for all its n values will be

      X(t) = (t; 0, 0) = (t, 0)0, (14)

      This is true for any 0; (i.e) X(t) = (t; ) X()

      For all > t as well as for t . Substituting this in the state equation for zero input condition (i.e) = A(t)X gives the matrix equation.

      0

      (,0) = A(t) (t, ) (15)

      For any 0 = X(0) = (t, 0)0,

      The initial condition on (t, 0) is (0, 0) =1 (unit matrix)

      If this transition matrix is found, the solution to a time-varying linear differential equation. In the previous section, shown that (t) is obviously of the form of an exponential function so that the transition matrix (t), = () for a time invariant linear differential equation.

      Since time invariant systems are most common and important, the know how to evaluate (t), i.e.. Here all possible methods of evaluating are listed and the last method Resolvant Matrix or Laplace transform method is given in detail.

      1. Power series Method

        =

        =0

        , i.e.is expanded as power series in At. (16)

        !

      2. Eigenvalue Method

        = p1 where p is the model matrix and J is the diagonal matrix with diagonal elements as the eigenvalues of [A] which are distinct

      3. By using Cayley – Hamilton theorem

        1

        () = () ()

        =0

        1

        = (); is the diagonal matrix with diagonal

        elements

        =0

        Where s are the eigenvalues of the matrix [A]. (17)

      4. Resolvant Matrix or Laplace transform method: The Laplace transform of is given by

      [ ] = [ ! ]

      =0

      = (+1) = 1 (1)

      =0 =0

      = 1[1 – 1]

      (1)

      =0

      and hence their sum is 1

      1

      1

      1

      11

      .

      L( ) = 1[ 1]1 = ( )1 = (s) (18) The matrix (s) is called Resolvant matrix.

      ( )1 = () = 1 [11 + 22 + + ] (19)

      () ()

      Where (s) is characteristic polynomial of matrix A and 1, 2,.. , are constant matrices The inverse transform of () or ( )1 gives the transition matrix .

      ()

      = 1 [()] (20)

      ()

      When the order of the matrix A is 3 or less this method is the quickest and most convenient.

    5. METHODS OF EVALUATION OF STATE TRANSITION MATRIX

      In the state-space and state-space trajectory, While discussing the existence of solution for state equations, it has been presented out that the solution for (t) = [A][X] is X =[t, u(t)] where “ is the state transition matrix. Methods of evaluating “ are mentioned. In this section, a detailed discussion of the methods of obtaining the state transition matrix and its properties are presented.

      The state transition matrix for a time-invariant linear differential system

      (t,) = () .

      Proof:

      Since we know that

      =

      =0

      !

      is uniformly convergent, it can be differentiated term by term and get

      +1

      =

      =0

      Substituting this is the original equation

      (t,0) = ()(t, 0) [ . . X(t) = ()] (1)

      The verify that () is the solution for (t, ). Also see that (t, 0) for t = is () = .,unit matrix

      POWER SERIES EXPANSION METHOD:

      One common method to find t is to expand it as power series i.e.

      and compute the powers of A and sum then.

      =

      =0

      USING EIGENVALUES OF CHARACTERISTIC EQUATION:

      If (A) is a n × n matrix. The equation obtained by det| | =0 is called the characteristic equation and the roots of this equation are called eigenvalues.

      Case-(1):

      If all the roots of the characteristic equation are distinct then At is given by At = p t 1

      Where are the eigenvalues of matrix A and p is the transformation matrix.

      For distinct value of

      At becomes i 1

      =0

      Where () is the eigenvector and 1 is the reciprocal basic vector.

      Case -(2):

      When the eigenvalues are repeated, i.e. some of the eigenvalues are equal, the matrix `A` cannot be

      diagonalized by a transformation and as such At = [T] [Jt ] [1] where T is a transformation matrix, which makes the a nearly diagonal matrix. Matrix [T] is called Jordon matrix denoted as `J` and evaluation is discussed in next section.

      Using Cayley- Hamilton Theorem:

      For any arbitrary n × n matrix `A` the characteristic polynomial is () = det(A – ), Matrix `A` satisfies the characteristic equation (A) = 0. This result is called Cayley- Hamilyton theorem. Since `A` satisfies the characteristic equation and At is a function of A, At can be evaluated from the characteristic equation of A itself.

      Using Laplace Transform or Resolvant Matrix Method:

      It has been stated in the state-space and state-space trajectory that Laplace transform can be used for obtaining

      . The shown that (t) the state transform matrix is given by for time invariant case and that it is 1( )1

    6. CONCLUSION

In mechanical systems involving displacement of masses due to forces, a choice may be an independent set of displacements and velocities.In mechanical rotational systems, with inertia, torsional spring , damber or frictional elements, etc. an independent set of angular velocities or displacements associated with rotational inertial elements or torsional springs may form the state variable set.

Likewise depending on the system understanding and the knowledge or the quantities that are independently varying and the quantities to be found will decide the choice of the state variables.

REFERENCES

  1. David k.Cheng, Analysis of Linear systems. Narosa publishuing House, New Delhi, 1995.

  2. C.L. Liu and J.W. Liu, Linear System Analysis. McGraw-Hill-Koga Kusha Ltd., Singapore ,1975.

  3. M.Gopal, Modem Control Theory. Wiely Eastern Ltd, New Delhi, 1984.

  4. Linar Algebra. McGraw-Hill Book Co.Ltd., New Delhi, 1989.

  5. Donald M.Wiberg, State Space and Linear Systems.Schaums Outline Series. McGraw-Hill Book Company New York, 1975.

  6. Kstsuhiko Ogata, Modem Control Engineering. Prinitice-Hall of India (Pvt) Ltd., New Delhi, 1074.

  7. Kstsuhiko Ogata, , State Space Analysis of Control Systems. Prinitice-Hall of India Ltd., New Delhi, 1975.

  8. Tripathi, A.N., Linear Systems Analysis. Wiely Eastern Ltd.,1987.

Leave a Reply