Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: State Variable Analysis and Design: Introduction, Concepts of State, Sate Variables and State Model, State Models for Linear Continuous-Time Systems, State Variables and Linear Discrete-Time Systems, Diagonalization, Solution of State Equations, Concepts
Description: State Variable Analysis and Design: Introduction, Concepts of State, Sate Variables and State Model, State Models for Linear Continuous-Time Systems, State Variables and Linear Discrete-Time Systems, Diagonalization, Solution of State Equations, Concepts of Controllability and Observability, Pole Placement by State Feedback, Observer based state feedback control.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


MODULE-I

State space analysis
...

The conventional and old method for the design and analysis of control systems is the
transfer function method
...

Advantages of state variable analysis
...

โ–ช It can be applied to tile invariant systems
...

โ–ช Its gives idea about the internal state of the system
...


State vector: If n state variables are needed to completely describe the behaviour of a given system,
then these n state variables can be considered the n components of a vector X
...


State space: The n-dimensional space whose co-ordinate axes consists of the x1 axis, x2 axis,
...
xn are state variables: is called a state space
...
๐‘ข๐‘Ÿ (๐‘ก)
m no of outputs ๐‘ฆ1 ๐‘ก , ๐‘ฆ2 ๐‘ก ,
...
๐‘ฅ๐‘› (๐‘ก)
Then the state model is given by state & output equation
X t = AX t + BU t
...
output equation
A is state matrix of size (nร—n)
B is the input matrix of size (nร—r)
C is the output matrix of size (mร—n)

4

D is the direct transmission matrix of size (mร—r)
X(t) is the state vector of size (nร—1)
Y(t) is the output vector of size (mร—1)
U(t) is the input vector of size (rร—1)

(Block diagram of the linear, continuous time control system represented in state space)
๐— ๐ญ = ๐€๐— ๐ญ + ๐๐ฎ ๐ญ
๐˜ ๐ญ = ๐‚๐— ๐ญ + ๐ƒ๐ฎ ๐ญ

STATE SPACE REPRESENTATION OF NTH ORDER SYSTEMS OF LINEAR
DIFFERENTIAL EQUATION IN WHICH FORCING FUNCTION DOES NOT INVOLVE
DERIVATIVE TERM
Consider following nth order LTI system relating the output y(t) to the input u(t)
...
Often the variables used is
the system output & the remaining state variables are then derivatives of the output
...


0
0
โ‹ฎ
1
โˆ’๐‘Ž1

๐‘›ร—๐‘›

Output equation can be written as
Y t = CX t
๐ถ= 1

0โ€ฆโ€ฆ
...
The input is fa and the output is y
...


6

Freebody Diagram

Equation

There are three energy storage elements, so we expect three state equations
...
Therefore we choose
as our state variables x (the energy in spring k2 is ยฝk2xยฒ), the velocity at x (the energy in
the mass m is ยฝmvยฒ, where v is the first derivative of x), and y (the energy in spring k1 is
ยฝk1(y-x)ยฒ , so we could pick y-x as a state variable, but we'll just use y (since x is already a
state variable; recall that the choice of state variables is not unique)
...
The equations of motion from the free body
diagrams yield

or

7

with the input u=fa
...
The input is ia and the output is e2
...
Try
choosing i1, i2 and e1 as state variables
...
The
voltage across the inductor L2 is e1 (which is one of our state variables)

so our first state variable equation is

If we sum currents into the node labeled n1 we get

This equation has our input (ia) and two state variable (iL2 and iL1) and the current
through the capacitor
...
We start by solving the state equation for Q(s)

The matrix ฮฆ(s) is called the state transition matrix
...
e
...

9

Example: State Space to Transfer Function
Find the transfer function of the system with state space representation

First find (sI-A) and the ฮฆ=(sI-A)-1 (note: this calculation is not obvious
...
Rules for inverting a 3x3 matrix are here
...

>> % First define state space system
>> A=[0 1 0; 0 0 1; -3 -4 -2];
>> B=[0; 0; 1];
>> C=[5 1 0];
>> [n,d]=ss2tf(A,B,C,D)

n =
10

0

0

1
...
0000
3
...
0000

4
...
0000
d =

>> mySys_tf=tf(n,d)
Transfer function:
s + 5

s^3 + 2 s^2 + 4 s + 3

Transfer Function to State Space
Recall that state space models of systems are not unique; a system has many state space
representations
...

Before we look at procedures for converting from a transfer function to a state space
model of a system, let's first examine going from a differential equation to state space
...

First we start with an example demonstrating a simple way of converting from a single
differential equation to state space, followed by a conversion from transfer function to state
space
...
We'll use
a third order equation, thought it generalizes to nth order in the obvious way
...
We'll use a third order equation, thought it generalizes to
nth order in the obvious way
...


12

Note: For an nth order system the matrices generalize in the obvious way (A has ones
above the main diagonal and the coefficients of the denominator polynomial for the last
row, B is all zeros with b0 (the numerator coefficient) in the bottom row, C is zero except
for the leftmost element which is one, and D is zero)
If we try this method on a slightly more complicated system, we find that it
initially fails (though we can succeed with a little cleverness)
...

We can try the same method as before:

The method has failed because there is a derivative of the input on the right hand, and
that is not allowed in a state space model
...


Now when we take the derivatives we get:

13

The second and third equations are not correct, because รฟ is not one of the state
variables
...


The process described in the previous example can be generalized to systems with
higher order input derivatives but unfortunately gets increasingly difficult as the order
of the derivative increases
...
Clearly more straightforward techniques are necessary
...


Controllable Canonical Form (CCF)
Probably the most straightforward method for converting from the transfer
function of a system to a state space model is to generate a model in "controllable
canonical form
...
To see how this method of generating a state space model works,
consider the third order differential transfer function:

We start by multiplying by Z(s)/Z(s) and then solving for Y(s) and U(s) in terms of
Z(s)
...

14

We can now choose z and its first two derivatives as our state variables

Now we just need to form the output

From these results we can easily form the state space model:

In this case, the order of the numerator of the transfer function was less than that of
the denominator
...
A result
that works in all cases is given below; the details are here
...
"
This term comes from Control Theory but its exact meaning is not important to us
...


16

Now let's examine q2 and its derivative:

Again we note that y=q1 and we call the integral terms q3:

so

This is our second state variable equation
...

Our state space model now becomes:

In this case, the order of the numerator of the transfer function was less than that of
the denominator
...
A result
that works in all cases is given below; the details are here
...

=

MATLab Code
Transfer Function to State Space(tf2ss)
Y(s)
s
= 3
2
U(s) s + 14s + 56s + 160
num=[1 0];
den=[1 14 56 160];
[A,B,C,D]=tf2ss(num,den)

A=

-14 -56 -160
1

0

0

0

1

0

18

B=

1
0
0
C=
0

1

0

D=
0

Concept of Eigen Values and Eigen Vectors
The roots of characteristic equation that we have described above are known as eigen values
of matrix A
...

Sum of eigen values of any matrix A is equal to the trace of the matrix A
...

If we multiply a scalar quantity to matrix A then the eigen values are also get multiplied by
the same value of scalar
...
If we inverse the given matrix A then its eigen values are also get inverses
...
If all the elements of the matrix are real then the eigen values corresponding to that matrix are
1
...

3
...


either real or exists in complex conjugate pair
...
Where๐œ†๐‘–, i = 1, 2, 3,
...

This eigen vector may be obtained by taking cofactors of matrix ๐œ†๐‘–๐ผ โˆ’ ๐ด along any row &
transposing that row of cofactors
...
๐‘š๐‘› be the eigenvectors corresponding to the eigen value ๐œ†1, ๐œ†2 ,
...

Then ๐‘€ = ๐‘š1 โ‹ฎ ๐‘š2 โ‹ฎ โ‹ฏ โ‹ฎ ๐‘š๐‘› is called diagonalizing or modal matrix of A
...

Under this assumption original state model modifies to
V t = ๐ดV t + BU t
Y t = C V t + DU t
Where ๐‘จ = ๐‘ดโˆ’๐Ÿ๐‘จ๐‘ด = ๐‘‘๐‘–๐‘Ž๐‘”๐‘œ๐‘›๐‘Ž๐‘™ ๐‘š๐‘Ž๐‘ก๐‘Ÿ๐‘–๐‘ฅ,

๐‘ฉ = ๐‘ดโˆ’๐Ÿ๐‘ฉ ,

๐‘ช = ๐‘ช๐‘ด

The above transformed state model is in canonical state model
...

If the system matrix A is in companion form & if all its n eigen values are distinct, then
modal matrix will be special matrix called the Vander Monde matrix
...

3

1
๐œ†๐‘›
โ‹ฎ
๐‘›โˆ’2
๐œ†๐‘›
๐œ†๐‘›โˆ’1
๐‘›

๐‘›ร—๐‘›

State Transition Matrix and Zero State Response
We are here interested in deriving the expressions for the state transition matrix and zero state
response
...

L-1
...

Now let us discuss some of the properties of the state transition matrix
...
If we substitute t = 0 in the above equation then we will get 1
...

2
...
Mathematically we can write
ฮธ(-t) = [ฮธ(t)]-1
...
We also another important property [ฮธ(t)]n = ฮธ(nt)
...

This theorem provides a simple procedure for evaluating the functions of a matrix
...
Its characteristic equation is given by
๐‘ž ๐œ† = ๐œ†๐ผ โˆ’ ๐ด = ๐œ†๐‘› + ๐‘Ž1๐œ†๐‘›โˆ’1 + ๐‘Ž2๐œ†๐‘›โˆ’2 + โ‹ฏ + ๐‘Ž๐‘›โˆ’1๐œ† + ๐‘Ž๐‘› = 0
If ๐‘“ ๐ด is divided by the characteristic polynomial ๐‘ž ๐œ† , then
๐‘“ ๐œ†
๐‘… ๐œ†
=๐‘„ ๐œ† +
๐‘ž ๐œ†
๐‘ž ๐œ†
๐‘“ ๐œ† = ๐‘„ ๐œ† ๐‘ž ๐œ† +๐‘… ๐œ†
โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ
...
๐œ†๐‘› , then ๐‘ž ๐œ† = 0 and we have from
equation (1) ๐‘“ ๐œ† ๐‘– = ๐‘… ๐œ† ๐‘– ; ๐‘– = 1,2, โ€ฆ
...
๐‘Ž๐‘›โˆ’1 , can
be obtained by successfully substituting
๐œ†1, ๐œ†2 , โ€ฆ โ€ฆ
...

Substituting A for the variable ๐œ† in equation (1), we get
๐‘“ ๐ด =๐‘„ ๐ด ๐‘ž ๐ด +๐‘… ๐ด
As ๐‘ž ๐ด ๐‘–๐‘  ๐‘ง๐‘’๐‘Ÿ๐‘œ, ๐‘ ๐‘œ ๐‘“ ๐ด = ๐‘… ๐ด
โ‡’ ๐‘“ ๐ด = ๐‘Ž0๐ผ + ๐‘Ž1๐ด + ๐‘Ž2๐ด2 + โ‹ฏ + ๐‘Ž๐‘›โˆ’1๐ด๐‘›โˆ’1
๐‘ค๐‘•๐‘–๐‘๐‘• ๐‘–๐‘  ๐‘ก๐‘•๐‘’ ๐‘‘๐‘’๐‘ ๐‘–๐‘Ÿ๐‘’๐‘‘ ๐‘Ÿ๐‘’๐‘ ๐‘ข๐‘™๐‘ก
...

Kalmanโ€Ÿs test
Consider nth order multi input LTI system with m dimensional control vector
X t = AX t + BU t
is completely controllable if & only if the rank of the composite matrix Qc is n
...

Kalmanโ€Ÿs test
Consider nth order multi input LTI system with m dimensional output vector
X t = AX t + BU t
Y t = CX t + DU t
is completely observable if & only if the rank of the observability matrix Qo is n
...

โžข The Pair (AB) is controllable implies that the pair (ATBT) is observable
...


Design of Control System in State Space
Pole placement at State Space
Assumptions:
โ€ข The system is completely state controllable
...
ฦ’
โ€ข Control input is unconstrained
...
๐œ‡๐‘› which are their โ€ždesired locationsโ€Ÿ
Necessary and sufficient condition: The system is completely state controllable
...
๐‘† โˆ’ ๐œ‡๐‘›
Pole Placement Design Steps:Method 1 (low order systems, n โ‰ค 3):
โ€ข Check controllability
โ€ข Define ๐พ = ๐‘˜1 ๐‘˜2 ๐‘˜3
โ€ข Substitute this gain in the desired characteristic polynomial equation
๐‘†๐ผ โˆ’ ๐ด + ๐ต๐พ = ๐‘† โˆ’ ๐œ‡1 ๐‘† โˆ’ ๐œ‡2 โ€ฆ
...

MATLab code place works for single- or multi-input system
...
0000

55
...
0000

State Estimators or Observers
โ€ข One should note that although state feed back control is very attractive because of precise
computation of the gain matrix K, implementation of a state feedback controller is possible
only when all state variables are directly measurable with help of some kind of sensors
...

โ€ข Only a subset of state variables or their combinations may be available for measurements
...


24

โ€ข Hence the need for an estimator or observer is obvious which estimates all state variables
while observing input and output
...

Reduced Order Observer : An observer that estimates fewer than ``n'' states of the
system is called reduced order observer
...

Observer Block Diagram

Design of an Observer
The governing equation for a dynamic system (Plant) in statespace representation may be
written as:
X t = AX t + BU t
Y t = CX t
The governing equation for the Observer based on the block diagram is shown below
...

๐‘‹ = ๐ด๐‘‹ + ๐ต๐‘ˆ + ๐พ๐‘’ (๐‘Œ โˆ’ ๐‘Œ)
๐‘Œ =๐ถ๐‘‹
25

Define the error in estimation of state vector as
๐‘’ = (๐‘‹ โˆ’ ๐‘‹)
The error dynamics could be derived now from the observer governing equation and state
space equations for the system as:
๐‘’ = (๐ด โˆ’ ๐พ๐‘’ ๐ถ)๐‘’
๐‘Œ โˆ’ ๐‘Œ = ๐ถ๐‘’
The corresponding characteristic equation may be written as:
|๐‘†๐ผ โˆ’ (๐ด โˆ’ ๐พ๐‘’ ๐ถ) | = 0
You need to design the observer gains such that the desired error dynamics is obtained
...
๐‘† โˆ’ ๐œ‡๐‘›
Solve for ๐‘˜1, ๐‘˜2 , ๐‘˜3by equating the like powers of S on both sides

Here ๐œ‡1, ๐œ‡2 , โ€ฆ โ€ฆ
...


26

MODEL QUESTIONS
Module-1
Short Questions each carrying Two marks
...
The System matrix of a continuous time system, described in the state variable form
is

x 0
A= 0 y
0 1

0
โˆ’1
โˆ’2

Determine the range of x & y so that the system is stable
...
For a single input system
X = AX + BU
Y = CX
0
1
0
A=
; B=
; C= 1 1
โˆ’1 โˆ’2
1
Check the controllability & observability of the system
...
Given the homogeneous state space equation X =
X;
โˆ’1 โˆ’2
Determine the steady state value ๐‘‹๐‘ ๐‘  = lim๐‘กโ†’โˆž ๐‘‹(๐‘ก) given the initial state value
10
X(0) =

...
State Kalmanโ€Ÿs test for observability
...

5
...

[10]
6
...

[3
...
Investigate the controllability and observability of the following system:
1 0
0
๐‘‹ =
๐‘‹+
๐‘ข; ๐‘Œ = 0 1 ๐‘‹
[8]
0 2
1
8
...

(b) state transition matrix
(c) MIMO systems
(d) hydraulic servomotor
(e) Principle of duality due to kalman
9
...
Represent the system in
state space:
27

๐‘‘3๐‘‹
๐‘‘๐‘ก3

๐‘‘2๐‘‹
+3

๐‘‘๐‘ก2

๐‘‘๐‘‹
+4

๐‘‘๐‘ก

+ 4๐‘‹ = ๐‘ข1 ๐‘ก + 3๐‘ข2 ๐‘ก + 4๐‘ข3(๐‘ก)

and outputs are
๐‘ฆ =4

๐‘‘๐‘‹

1

๐‘ฆ =
2

2
๐‘‘ ๐‘‹

๐‘‘๐‘ก

+ 3๐‘ข
1

+ 4๐‘ข + ๐‘ข
2

๐‘‘๐‘ก2

[8]

3

10
...
(a) Obtain a state space representation of the system
C(s)
U(s)

=

10(s+2)
s3 +3s2+5s+15

[14]
[7]

(b) A linear system is represented by
โˆ’6 4
1
1 0
๐‘‹ =
๐‘‹+
๐‘ˆ;
๐‘Œ=
๐‘‹
โˆ’2 0
1
1 1
(i) Find the complete solution for Y(t) when U(t)=1(t), ๐‘‹1 0 = 1, ๐‘‹2 0 = 0
(ii) Draw a block diagram representing the system
...
Discuss the state controllability of the system
๐‘‹1
โˆ’3 1 ๐‘‹1
1
+
u
=
โˆ’2 1
...

13
...


[3+4]

[5+4]

14
...

15
...
(a) Derive an expression for the transfer function of a pump controlled hydraulic system
...

[8]
(b) Simulate a pneumatic PID controller and obtain its linearized transfer function
...
Describe the constructional features of a rate gyro, explain its principle of operation and
obtain its transfer function
...
(a) Explain how poles of a closed loop control system can be placed at the desired points
on the s plane
...

[4]
19
...

[7]
Y=

20
...
What are the
advantages of state space analysis?
(b) A two input two output linear dynamic system is governed by
0
1
2 1
๐‘‹ (๐‘ก)=
X(t)+
R(t)
โˆ’2 โˆ’3
0 1
1 0
Y(t)=
X(t)
1 1
i)
Find out the transfer function matrix
...
(a) A system is described by
โˆ’4 1
0
๐‘‹ (t)= 0 โˆ’3 1 X(t)
0
0 โˆ’2
Diagonalise the above system making use of suitable transformation X=PZ
(b) Show how can you compute ๐‘’๐ด๐‘ก using results of (a)
22
...

23
...


[5ร—3]

24
...
Find the matrix k=[๐‘˜1 ๐‘˜2 ]
which is called the state feedback gain matrix for the closed loop poles to be located at -1
...

j2
...
6

0

X+

0

๐‘ˆ

[6]

1

25
...

(b) Prove non uniqueness of state space model
...
(a) Show the following system is always controllable
0
1
0
0
0
1 ๐‘ฅ+ 0 ๐‘ข
๐‘ฅ ๐‘ก = 0
โˆ’๐‘Ž3 โˆ’๐‘Ž2 โˆ’๐‘Ž 1
1
(b) Explain the design of state observer
...


30

[12]
[4]

[4+4+4]


Title: State Variable Analysis and Design: Introduction, Concepts of State, Sate Variables and State Model, State Models for Linear Continuous-Time Systems, State Variables and Linear Discrete-Time Systems, Diagonalization, Solution of State Equations, Concepts
Description: State Variable Analysis and Design: Introduction, Concepts of State, Sate Variables and State Model, State Models for Linear Continuous-Time Systems, State Variables and Linear Discrete-Time Systems, Diagonalization, Solution of State Equations, Concepts of Controllability and Observability, Pole Placement by State Feedback, Observer based state feedback control.