0% found this document useful (0 votes)
176 views30 pages

Control System - Unit - 6

Uploaded by

Bumba Nandy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
176 views30 pages

Control System - Unit - 6

Uploaded by

Bumba Nandy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

CONTROL SYSTEM-PC-EE-503

STATE VARIABLE ANALYSIS – UNIT-6


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).

𝑦 𝑛 + 𝑎1 𝑦 𝑛−1 + 𝑎2 𝑦 𝑛−2 + ⋯ + 𝑎𝑛−1 𝑦1 + 𝑎𝑛 𝑦 = 𝑢

Phase variables: The phase variables are defined as those particular state variables which are
obtained from one of the system variables & its (n-1) derivatives. Often the variables used is
the system output & the remaining state variables are then derivatives of the output.

Let us define the state variables as

𝑥1 = 𝑦

𝑑𝑦 𝑑𝑥
𝑥2 = =
𝑑𝑡 𝑑𝑡
𝑑𝑦 𝑑𝑥2
𝑥3 = =
𝑑𝑡 𝑑𝑡
⋮ ⋮ ⋮

𝑑𝑥𝑛 −1
𝑥𝑛 = 𝑦 𝑛−1 =
𝑑𝑡

5
From the above equations we can write

𝑥1 = 𝑥2

𝑥2 = 𝑥3

⋮ ⋮

𝑥𝑛 −1 = 𝑥𝑛

𝑥𝑛 = −𝑎𝑛 𝑥1 − 𝑎𝑛−1 𝑥2 − ⋯ … … … − 𝑎1 𝑥𝑛 + 𝑢

Writing the above state equation in vector matrix form

X t = AX t + Bu t

𝑥1 0 1 0…… 0
𝑥2 0 0 1…… 0
Where 𝑋 = ⋮ , 𝐴= ⋮ ⋮ ⋮ ⋮
⋮ 0 1
𝑥𝑛 𝑛×1 0 0……
−𝑎𝑛 −𝑎𝑛−1 −𝑎𝑛−2 … … . −𝑎1 𝑛×𝑛

Output equation can be written as

Y t = CX t

𝐶 = 1 0……. 0 1×𝑛

Example: Direct Derivation of State Space Model (Mechanical Translating)


Derive a state space model for the system shown. The input is fa and the output is y.

We can write free body equations for the system at x and at y.

6
Freebody Diagram Equation

There are three energy storage elements, so we expect three state equations. The energy
storage elements are the spring, k2, the mass, m, and the spring, k1. 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 k 1 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). Our state variables
become:

Now we want equations for their derivatives. The equations of motion from the free body
diagrams yield

or

7
with the input u=fa.

Example: Direct Derivation of State Space Model (Electrical)


Derive a state space model for the system shown. The input is ia and the output is e2.

There are three energy storage elements, so we expect three state equations. Try
choosing i1, i2 and e1 as state variables. Now we want equations for their derivatives. 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. So from this we can get our second state equation

Our third, and final, state equation we get by writing an equation for the voltage across
L1 (which is e2) in terms of our other state variables

We also need an output equation:

8
So our state space representation becomes

State Space to Transfer Function


Consider the state space system:

Now, take the Laplace Transform (with zero initial conditions since we are finding a
transfer function):

We want to solve for the ratio of Y(s) to U(s), so we need so remove Q(s) from the
output equation. We start by solving the state equation for Q(s)

The matrix Φ(s) is called the state transition matrix. Now we put this into the output
equation

Now we can solve for the transfer function:

Note that although there are many state space representations of a given system, all
of those representations will result in the same transfer function (i.e., the transfer
function of a system is unique; the state space representation is not).

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. Details
are here). Rules for inverting a 3x3 matrix are here.

Now we can find the transfer function

To make this task easier, MatLab has a command (ss2tf) for converting from state space
to transfer function.

>> % 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
5.0000

d =

1.0000 2.0000 4.0000


3.0000

>> 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. Therefore we will develop a few methods for creating state space models
of systems.
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.
We'll do this first with a simple system, then move to a more complex system that will
demonstrate the usefulness of a standard technique.
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.

Example: Differential Equation to State Space (simple)


Consider the differential equation with no derivatives on the right hand side. We'll use
a third order equation, thought it generalizes to nth order in the obvious way.

For such systems (no derivatives of the input) we can choose as our n state variables the
variable y and its first n-1 derivatives (in this case the first two derivatives)

11
Taking the derivatives we can develop our state space model

Note: For an nth order system the matrices generalize in the obvious way (A has ones above the
main diagonal and the differential equation constants for the last row, B is all zeros with b0 in the
bottom row, C is zero except for the leftmost element which is one, and D is zero)

Repeat Starting from Transfer Function


Consider the transfer function with a constant numerator (note: this is the same system
as in the preceding example). We'll use a third order equation, thought it generalizes to
nth order in the obvious way.

For such systems (no derivatives of the input) we can choose as our n state variables the
variable y and its first n-1 derivatives (in this case the first two derivatives)

Taking the derivatives we can develop our state space model (which is exactly the same
as when we started from the differential equation).

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).

Example: Differential Equation to State Space (harder)


Consider the differential equation with a single derivative on the right hand side.

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.
Fortunately we can solve our problem by revising our choice of state variables.

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. However we can make use of the fact:

The second state variable equation then becomes

In the third state variable equation we have successfully removed the derivative of the
input from the right side of the third equation, and we can get rid of the ÿ term using the
same substitution we used for the second state variable.

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. When the order of derivatives is equal on both sides, the
process becomes much more difficult (and the variable "D" is no longer equal to
zero). Clearly more straightforward techniques are necessary. Two are outlined
below, one generates a state space method known as the "controllable canonical form"
and the other generates the "observable canonical form (the meaning of these terms
derives from Control Theory but are not important to us).

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." This term comes from Control Theory but its exact meaning is not
important to us. 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). We also convert back to a differential equation.

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. If they are equal, the process is somewhat more complex. A result
that works in all cases is given below; the details are here. For a general nth order
transfer function:

the controllable canonical state space model form is

Key Concept: Transfer function to State Space (CCF)


For a general nth order transfer function:

the controllable canonical state space model form is

15
Observable Canonical Form (OCF)
Another commonly used state variable form is the "observable canonical form."
This term comes from Control Theory but its exact meaning is not important to us.
To understand how this method works consider a third order system with transfer
function:

We can convert this to a differential equation and solve for the highest order
derivative of y:

Now we integrate twice (the reason for this will be apparent soon), and collect terms
according to order of the integral:

Choose the output as our first state variable

Looking at the right hand side of the differential equation we note that y=q1 and we
call the two integral terms q2:

so

This is our first state variable equation.

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.


Now let's examine q3 and its derivative:

This is our third, and last, 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. If they are equal, the process is somewhat more complex. A result
that works in all cases is given below; the details are here. For a general nth order
transfer function:

the observable canonical state space model form is

17
Key Concept: Transfer function to State Space (OCF)
For a general nth order transfer function:

the observable canonical state space model form is

𝐂 Adj SI − A 𝐁 + SI − A D
=
SI − A
SI − A is also known as characteristic equation when equated to zero.

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=

C=

0 1 0

D=

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.
Now there are some properties related to eigen values and these properties are written below-

1. Any square matrix A and its transpose AT have the same eigen values.
2. Sum of eigen values of any matrix A is equal to the trace of the matrix A.
3. Product of the eigen values of any matrix A is equal to the determinant of the matrix A.
4. If we multiply a scalar quantity to matrix A then the eigen values are also get multiplied by
the same value of scalar.
5. If we inverse the given matrix A then its eigen values are also get inverses.
6. If all the elements of the matrix are real then the eigen values corresponding to that matrix are
either real or exists in complex conjugate pair.

Eigen Vectors

Any non zero vector 𝑚𝑖 that satisfies the matrix equation 𝜆𝑖 𝐼 − 𝐴 𝑚𝑖 = 0 is called the eigen
vector of A associated with the eigen value 𝜆𝑖 ,. Where𝜆𝑖 , i = 1, 2, 3, ……..n denotes the ith
eigen values of A.

This eigen vector may be obtained by taking cofactors of matrix 𝜆𝑖 𝐼 − 𝐴 along any row &
transposing that row of cofactors.

19
Diagonalization

Let 𝑚1 , 𝑚2 , … … . . 𝑚𝑛 be the eigenvectors corresponding to the eigen value 𝜆1 , 𝜆2 , … … . . 𝜆𝑛


respectively.

Then 𝑀 = 𝑚1 ⋮ 𝑚2 ⋮ ⋯ ⋮ 𝑚𝑛 is called diagonalizing or modal matrix of A.

Consider the nth order MIMO state model


X t = AX t + BU t

Y t = CX t + DU t

System matrix A is non diagonal, so let us define a new state vector V(t) such that
X(t)=MV(t).

Under this assumption original state model modifies to

V t = 𝐴V t + BU t

Y t = CV t + DU t

Where 𝑨 = 𝑴−𝟏 𝑨𝑴 = 𝑑𝑖𝑎𝑔𝑜𝑛𝑎𝑙 𝑚𝑎𝑡𝑟𝑖𝑥, 𝑩 = 𝑴−𝟏 𝑩 , 𝑪 = 𝑪𝑴

The above transformed state model is in canonical state model. The transformation described
above is called similarity transformation.

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.

1 1 1…… 1
𝜆1 𝜆2 𝜆3 … … 𝜆𝑛
𝑉𝑎𝑛𝑑𝑒𝑟 𝑀𝑜𝑛𝑑𝑒 𝑚𝑎𝑡𝑟𝑖𝑥 𝑉 = ⋮ ⋮ ⋮ ⋮
𝜆1𝑛−2 𝜆𝑛−2
2 𝜆𝑛−2
3 …… 𝑛−2
𝜆𝑛
𝑛−1 𝑛−1
𝜆1𝑛−1 𝜆2 𝜆3 … … . 𝜆𝑛−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. Again taking the state equations that we have derived above and taking their
Laplace transformation we have,

20
Now on rewriting the above equation we have

Let [sI-A]-1 = θ(s) and taking the inverse Laplace of the above equation we have

The expression θ(t) is known as state transition matrix(STM).

L-1.θ(t)BU(s) = zero state response.

Now let us discuss some of the properties of the state transition matrix.

1. If we substitute t = 0 in the above equation then we will get 1.Mathematically we can write
θ(0) =1.
2. If we substitute t = -t in the θ(t) then we will get inverse of θ(t). Mathematically we can write
θ(-t) = [θ(t)]-1.
3. We also another important property [θ(t)]n = θ(nt).

Computation of STN using Cayley-Hamilton Theorem

The Cayley–hamilton theorem states that every square matrix A satisfies its own
characteristic equation.
This theorem provides a simple procedure for evaluating the functions of a matrix.
To determine the matrix polynomial
𝑓 𝐴 = 𝑘0 𝐼 + 𝑘1 𝐴 + 𝑘2 𝐴2 + ⋯ + 𝑘𝑛 𝐴𝑛 + 𝑘𝑛+1 𝐴𝑛+1 + ⋯
Consider the scalar polynomial
𝑓(𝜆) = 𝑘0 + 𝑘1 𝜆 + 𝑘2 𝜆2 + ⋯ + 𝑘𝑛 𝜆𝑛 + 𝑘𝑛 +1 𝜆𝑛+1 + ⋯
Here A is a square matrix of size (n×n). Its characteristic equation is given by
𝑞 𝜆 = 𝜆𝐼 − 𝐴 = 𝜆𝑛 + 𝑎1 𝜆𝑛−1 + 𝑎2 𝜆𝑛−2 + ⋯ + 𝑎𝑛−1 𝜆 + 𝑎𝑛 = 0
If 𝑓 𝐴 is divided by the characteristic polynomial 𝑞 𝜆 , then
𝑓 𝜆 𝑅 𝜆
=𝑄 𝜆 +
𝑞 𝜆 𝑞 𝜆
𝑓 𝜆 =𝑄 𝜆 𝑞 𝜆 +𝑅 𝜆 … … … … … . . (1)
Where 𝑅 𝜆 is the remainder polynomial of the form
𝑅 𝜆 = 𝑎0 + 𝑎1 𝜆 + 𝑎2 𝜆2 + ⋯ + 𝑎𝑛−1 𝜆𝑛−1 … … … … … (2)

21
If we evaluate 𝑓 𝐴 at the eigen values 𝜆1 , 𝜆2 , … … . . 𝜆𝑛 , then 𝑞 𝜆 = 0 and we have from
equation (1) 𝑓 𝜆𝑖 = 𝑅 𝜆𝑖 ; 𝑖 = 1,2, … . 𝑛 … … … … … … . . (3)

The coefficients 𝑎0 , 𝑎1 , … … . . 𝑎𝑛−1 , can be obtained by successfully substituting


𝜆1 , 𝜆2 , … … . . 𝜆𝑛 into equation (3).
Substituting A for the variable 𝜆 in equation (1), we get
𝑓 𝐴 =𝑄 𝐴 𝑞 𝐴 +𝑅 𝐴
As 𝑞 𝐴 𝑖𝑠 𝑧𝑒𝑟𝑜, 𝑠𝑜 𝑓 𝐴 = 𝑅 𝐴
⇒ 𝑓 𝐴 = 𝑎0 𝐼 + 𝑎1 𝐴 + 𝑎2 𝐴2 + ⋯ + 𝑎𝑛−1 𝐴𝑛−1
𝑤𝑕𝑖𝑐𝑕 𝑖𝑠 𝑡𝑕𝑒 𝑑𝑒𝑠𝑖𝑟𝑒𝑑 𝑟𝑒𝑠𝑢𝑙𝑡.

CONCEPTS OF CONTROLLABILITY & OBSERVABILITY

State Controllability
A system is said to be completely state controllable if it is possible to transfer the
system state from any initial state X(to) to any desired state X(t) in specified finite time by a
control vector u(t).

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.

𝑸𝒄 = 𝑩 ⋮ 𝑨𝑩 ⋮ ⋯ ⋮ 𝑨𝒏−𝟏 𝑩
Observability
A system is said to be completely observable, if every state X(to) can be completely
identified by measurements of the outputs y(t) over a finite time interval(𝑡𝑜 ≤ 𝑡 ≤ 𝑡1 ).
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.

𝑸𝒐 = [𝑪𝑻 ⋮ 𝑨𝑻 𝑪𝑻 ⋮ ⋯ ⋮ 𝑨𝑻 𝒏−𝟏 𝑻
𝑪 ]

22
Principle of Duality: It gives relationship between controllability & observability.
 The Pair (AB) is controllable implies that the pair (AT BT ) is observable.
 The pair (AC) is observable implies that the pair (AT CT ) is controllable.

Design of Control System in State Space

Pole placement at State Space

Assumptions:
 The system is completely state controllable. ƒ
 The state variables are measurable and are available for feedback. ƒ
 Control input is unconstrained.

Objective:
The closed loop poles should lie at 𝜇1 , 𝜇2 , … … . . 𝜇𝑛 which are their „desired locations‟

Necessary and sufficient condition: The system is completely state controllable.

Consider the system


X t = AX t + BU t
The control vector U is designed in the following state feedback form U =-KX
This leads to the following closed loop system
X t = A − BK X t = ACL X t

The gain matrix K is designed in such a way that


𝑆𝐼 − 𝐴 − 𝐵𝐾 = 𝑆 − 𝜇1 𝑆 − 𝜇2 … . . 𝑆 − 𝜇𝑛

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 … . . 𝑆 − 𝜇𝑛
 Solve for 𝑘1 , 𝑘2 , 𝑘3 by equating the like powers of S on both sides

MATLab Code

Finding State Feedback gain matrix with MATLab


MATLab code acker is based on Ackermann‟s formula and works for single input single
output system only.
MATLab code place works for single- or multi-input system.

23
Example
Consider the system with state equation
X t = AX t + BU t
Where
0 1 0 0
A= 0 0 1 ,B = 0
−1 −5 −6 1

By using state feedback control u=-Kx, it is desired to have the closed –loop poles at
𝜇1 = −2 + 𝑗4, 𝜇2 = −2 − 𝑗4, 𝜇3 = −10

Determine the state feedback gain matrix K with MATLab

A=[0 1 0;0 0 1;-1 -5 -6];


B=[0;0;1];
J=[-2+i*4 -2-i*4 -10];
k=acker(A,B,J)

k=

199 55 8

A=[0 1 0;0 0 1;-1 -5 -6];


B=[0;0;1];
J=[-2+i*4 -2-i*4 -10];
k=place(A,B,J)

k=

199.0000 55.0000 8.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.

• Due to the excess number of required sensors or unavailability of states for measurement, in
most of the practical situations this requirement is not met.

• Only a subset of state variables or their combinations may be available for measurements.
Sometimes only output y is available for measurement.

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

Full Order Observer : If the state observer estimates all the state variables, regardless of
whether some are available for direct measurements or not, it is called a full order
observer.

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

Minimum Order Observer : If the order of the observer is minimum possible then it is
called minimum 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. The
superscript „∼‟ refers to estimation.
𝑋 = 𝐴𝑋 + 𝐵𝑈 + 𝐾𝑒 (𝑌 − 𝑌)
𝑌 = 𝐶𝑋

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.

Observer Design Steps:Method 1 (low order systems, n ≤ 3):

 Check the observability


𝑘𝑒1
 Define 𝐾𝑒 = 𝑘𝑒2
𝑘𝑒3
 Substitute this gain in the desired characteristic polynomial equation
|𝑆𝐼 − (𝐴 − 𝐾𝑒 𝐶) | = 𝑆 − 𝜇1 𝑆 − 𝜇2 … . . 𝑆 − 𝜇𝑛
 Solve for 𝑘1 , 𝑘2 , 𝑘3 by equating the like powers of S on both sides

Here 𝜇1 , 𝜇2 , … … . . 𝜇𝑛 are desired eigen values of observer matrix.

26
MODEL QUESTIONS

Module-1
Short Questions each carrying Two marks.

1. The System matrix of a continuous time system, described in the state variable form
is
x 0 0
A = 0 y −1
0 1 −2

Determine the range of x & y so that the system is stable.


2. 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.
0 1
3. Given the homogeneous state space equation X = X;
−1 −2
Determine the steady state value 𝑋𝑠𝑠 = lim𝑡→∞ 𝑋(𝑡) given the initial state value
10
X(0) = .
−10
4. State Kalman‟s test for observability.

The figures in the right-hand margin indicate marks.


5. For a system represented by the state equation X = AX
Where
0 1 0
A= 3 0 2
−12 −7 −6
Find the initial condition state vector X(0) which will excite only the mode
corresponding to the eigenvalue with the most negative real part. [10]
6. Write short notes on Properties of state transition matrix. [3.5]
7. Investigate the controllability and observability of the following system:
1 0 0
𝑋= 𝑋+ 𝑢; 𝑌 = 0 1 𝑋 [8]
0 2 1
8. Write short notes on [4×5]
(a) Pole placement by state feedback.
(b) state transition matrix
(c) MIMO systems
(d) hydraulic servomotor
(e) Principle of duality due to kalman
9. A system is described by the following differential equation. Represent the system in
state space:

27
𝑑3 𝑋 𝑑2 𝑋 𝑑𝑋
+ 3 + 4 + 4𝑋 = 𝑢1 𝑡 + 3𝑢2 𝑡 + 4𝑢3 (𝑡)
𝑑𝑡 3 𝑑𝑡 2 𝑑𝑡
and outputs are
𝑑𝑋
𝑦1 = 4 + 3𝑢1
𝑑𝑡

𝑑2𝑋
𝑦2 = + 4𝑢2 + 𝑢3 [8]
𝑑𝑡 2
10. Find the time response of the system described by the equation
−1 1 0
𝑋(𝑡) = 𝑋+ 𝑢(t)
0 −2 1
−1
X 0 = , u t = 1, t > 0 [14]
0
11. (a) Obtain a state space representation of the system
C(s) 10(s+2)
= s 3 +3s 2 +5s+15 [7]
U(s)
(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. [5+3]
12. Discuss the state controllability of the system
𝑋1 −3 1 𝑋1 1
= + u
𝑋2 −2 1.5 X 2 4
Prove the conditions used. [3+4]
13. If a continuous-time state equation is represented in discrete form as
X[(K+1)T]=G(T)X(KT) + H(T) U(KT)
Deduce the expressions for the matrices G(T) & H(T)
Discretise the continuous-time system described by
0 1 0
𝑋= 𝑋+ 𝑈;
0 0 1
Assume the sampling period is 2 secs. [5+4]

14.(a) Choosing 𝑥1 =current through the inductor [8]


𝑥2 =voltage across capacitor,determine the state equation for the system shown
in fig below

(b) Explain controllability and observability. [8]

15. A linear system is represented by


−6 4 1
𝑥= 𝑥+ u
−2 0 1
28
1 0
Y= 𝑥
1 1
(a)Find the complete solution for y(t) when
U(t)=1(t), 𝑥1 (0)=1 and 𝑥2 (0)=0
(b) Determine the transfer function
(c) Draw a block diagram representing the system [9+4+3]
16.(a) Derive an expression for the transfer function of a pump controlled hydraulic system.
State the assumption made. [8]
(b) Simulate a pneumatic PID controller and obtain its linearized transfer function. [8]
17. Describe the constructional features of a rate gyro, explain its principle of operation and
obtain its transfer function. [8]
18. (a) Explain how poles of a closed loop control system can be placed at the desired points
on the s plane. [4]
(b) Explain how diagonalisation of a system matrix a helps in the study of controllability
of control systems. [4]
19. Construct the state space model of the system whose signal flow graph is shown in fig 2.
[7]

20. (a)Define state of a system, state variables, state space and state vector. What are the
advantages of state space analysis? [5]
(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. [5]
ii)Assuming 𝑋 0 = 0 find the output response Y(t) if [5]
0
R(t)= −3𝑡 for t≥ 0
𝑒
21.(a) A system is described by [8]
−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) [7]
22. Define controllability and observability and of control systems. [4]
23. A feed back system has a closed loop transfer function:

29
𝑌(𝑠) 10𝑠 + 40
= 3
𝑅(𝑠) 𝑠 + 𝑠 2 + 3𝑠

Construct three different state models showing block diagram in each case. [5×3]

24. Explain the method of pole placement by state-feedback. Find the matrix k=[𝑘1 𝑘2 ]
which is called the state feedback gain matrix for the closed loop poles to be located at -1.8+.
j2.4 for the original system governed by the state equation:

0 1 0
𝑋= X+ 𝑈 [6]
20.6 0 1
25.(a) From a system represented by the state equation
𝑥 𝑡 = 𝐴 𝑥(𝑡)
The response of
−2𝑡
X(t)= 𝑒 −2𝑡 when x(0)= −2
1
−2𝑒
−𝑡 1
And x(t)= 𝑒 −𝑡 when x(o)=
−𝑒 −1
Determine the system matrix A and the states transition matrix φ(t). [12]
(b) Prove non uniqueness of state space model. [4]
26.(a) Show the following system is always controllable
0 1 0 0
𝑥 𝑡 = 0 0 1 𝑥+ 0 𝑢
−𝑎3 −𝑎2 −𝑎 1 1
(b) Explain the design of state observer.
(c) Illustrate and explain pole placement by state feedback. [4+4+4]

30
DISCRETE TIME SYSTEMS CONTROL SYSTEM
Discrete time systems in control theory refer to systems where signals and control actions are
defined at distinct time intervals. This contrasts with continuous time systems, where signals are
defined for all time.
Key Concepts:
1. Discrete Signals: Represented as sequences of values, often derived from sampling
continuous signals at regular intervals.
2. Z-Transform: A crucial tool for analyzing discrete systems, it transforms a discrete-time
signal into the z-domain, facilitating the analysis of stability and frequency response.
3. Difference Equations: The discrete counterpart of differential equations, used to
describe the behavior of discrete systems. They express the relationship between input
and output signals over time.
4. Stability: In discrete systems, stability is typically assessed using criteria like the location
of poles in the z-plane. A system is stable if all poles are within the unit circle.
5. Control Strategies: Common techniques include:
o PID Control: Proportional-Integral-Derivative control can be adapted for discrete
systems.
o State Space Control: Utilizing state variables to design controllers.
6. Digital Controllers: Implemented in microcontrollers or DSPs (Digital Signal
Processors), these controllers sample inputs, compute control actions, and send outputs at
discrete intervals.
Applications:
 Robotics
 Digital signal processing
 Communication systems
 Process control

DISCRETE TIME SYSTEMS DIFFERENCE EQUATION CONTROL SYSTEM


In discrete time systems, difference equations play a crucial role in modeling and controlling
systems. They relate the current output of the system to past outputs and past and current inputs.
Here's an overview of how difference equations are used in control systems:
Difference Equations
1. Formulation: A general linear difference equation can be expressed as:

Where:
o y[n] is the output at time n.
o x[n] is the input at time n.
o ia and ib are constants that define the system dynamics.
2. Order of the System: The highest index of y (or x) determines the order of the system.
For instance, if the highest order of y is N, the system is of order N.
3. Input-Output Relationship: The difference equation defines how the input signal affects
the output over time, capturing the dynamic behavior of the system.
Control System Design
1. Controller Design: Controllers like PID controllers can be designed in the discrete
domain. The discrete version of a PID controller can be expressed using a difference
equation as follows:

where:
o u[n] is the control output.
o e[n] is the error signal at time n (desired output - actual output).
o Kp,Ki,Kd are the proportional, integral, and derivative gains, respectively.
2. Stability Analysis: Stability can be assessed using the characteristic equation derived
from the difference equation. The roots (or poles) of this equation are analyzed to
determine if they lie within the unit circle in the z-plane.
3. Simulation: Discrete-time systems can be simulated using numerical methods. Tools like
MATLAB or Python libraries can help simulate the response of the system to various
inputs and assess the performance of the controller.
4. Implementation: Digital controllers are implemented using microcontrollers or digital
signal processors (DSPs). They sample the system's output, apply the difference equation,
and compute control actions at discrete intervals.

STATE-SPACE MODELS OF STABILITY OF LINEAR DISCRETE-TIME SYSTEM


State-space models provide a powerful framework for analyzing and designing linear discrete-
time systems. They represent a system using state variables, which capture the system's current
state and allow for a compact description of the dynamics.
State-Space Representation
A linear discrete-time system can be described in state-space form with the following equations:
1. State Equation:
X [n+1]=AX[n]+Bu[n]
o x[n]: State vector at time n (dimension n×1).
o A: State transition matrix (dimension n×n).
o B: Input matrix (dimension n×m).
o u[n]: Input vector at time n (dimension m×1).
2. Output Equation:
y[n]=Cx[n]+Du[n]
o y[n]: Output vector at time n (dimension p×1).
o C: Output matrix (dimension p×n).
o D: Feed forward matrix (dimension p×m).
Components Explained
 State Vector (x): Represents the internal state of the system. It contains all the necessary
information to determine the future behavior of the system given the current input.
 State Transition Matrix (A): Describes how the current state evolves into the next state
in the absence of inputs.
 Input Matrix (B): Relates the input to the state, determining how inputs influence the
state.
 Output Matrix (C): Relates the state to the output, determining how the state is
converted into output.
 Feed forward Matrix (D): Directly relates the input to the output. In many systems, this
matrix is often zero.
Advantages of State-Space Models
 Compact Representation: State-space models can compactly represent multi-input
multi-output (MIMO) systems.
 Control Design: They facilitate modern control techniques such as state feedback,
observers, and optimal control strategies.
 Time-Invariance: State-space representation is suitable for both time-invariant and time-
variant systems.
Stability Analysis
Stability in state-space models can be analyzed by examining the eigenvalues of the state
transition matrix A:
 A system is stable if all eigenvalues of A lie within the unit circle in the complex plane.

You might also like