Advanced Control System Unit 1
Advanced Control System Unit 1
Lecture Notes
Subject Code: CSE-II
For 6th sem. Electrical Engineering & 7th Sem. EEE Student
COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE
FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS AND/OR
REPRINT ISSUES CONTAINED IN THIS MATERIALS. THIS IS NOT MEANT FOR ANY
COMMERCIAL PURPOSE & ONLY MEANT FOR PERSONAL USE OF STUDENTS
FOLLOWING SYLLABUS. READERS ARE REQUESTED TO SEND ANY TYPING
ERRORS CONTAINED, HEREIN.
Department of Electrical Engineering,
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.
Nonlinear Systems: Introduction, Common Physical Non-linearities, The Phase-plane Method: Basic
Concepts, Singular Points, Stability of Nonlinear System, Construction of Phase-trajectories, The
Describing Function Method: Basic Concepts, Derivation of Describing Functions, Stability analysis
by Describing Function Method, Jump Resonance, Signal Stabilization.
Liapunov and the Linear System, Methods of Constructing Liapunov Functions for Nonlinear
.
BOOKS
State: The state of a dynamic system is the smallest set of variables called state variables such that
the knowledge of these variables at time t=to (Initial condition), together with the knowledge of input
for , completely determines the behaviour of the system for any time .
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. Such a vector is called
a state vector.
State space: The n-dimensional space whose co-ordinate axes consists of the x1 axis, x 2 axis,.... xn
axis, where x1 , x2 ,..... xn are state variables: is called a state space.
State Model
r inputs
m no of outputs
n no of state variables
(Block diagram of the linear, continuous time control system represented in state space)
Consider following nth order LTI system relating the output y(t) to the input u(t).
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.
Where
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
with the input u=fa.
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)
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
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
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).
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.
To make this task easier, MatLab has a command (ss2tf) for converting from state space
to transfer function.
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.
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
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)
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).
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).
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.
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).
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.
We can now choose z and its first two derivatives as our state variables
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:
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:
Looking at the right hand side of the differential equation we note that y=q 1 and we
call the two integral terms q2:
so
Again we note that y=q1 and we call the integral terms q3:
so
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:
MATLab Code
A=
1 0 0
0 1 0
B=
C=
0 1 0
D=
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 is called the eigen
vector of A associated with the eigen value . Where i 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.
Diagonalization
System matrix A is non diagonal, so let us define a new state vector V(t) such that
X(t)=MV(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.
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,
Now on rewriting the above equation we have
Let [sI-A]-1
L-1
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
2. If we substitute t = -
-1
- .
n
3. We also another
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
As
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).
Consider nth order multi input LTI system with m dimensional control vector
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 .
Consider nth order multi input LTI system with m dimensional output vector
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
The control vector U is designed in the following state feedback form U =-KX
This leads to the following closed loop system
MATLab Code
Where
By using state feedback control u=-Kx, it is desired to have the closed loop poles at
k=
199 55 8
k=
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.
Design of an Observer
The governing equation for a dynamic system (Plant) in statespace representation may be
written as:
The governing equation for the Observer based on the block diagram is shown below. The
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:
You need to design the observer gains such that the desired error dynamics is obtained.
Observer
Define
1. The System matrix of a continuous time system, described in the state variable form
is
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:
[8]
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:
and outputs are
[8]
10. Find the time response of the system described by the equation
(t)
[14]
11. (a) Obtain a state space representation of the system
[7]
(b) A linear system is represented by
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
= X(t)+ R(t)
Y(t)= X(t)
i)Find out the transfer function matrix. [5]
ii)Assuming find the output response Y(t) if [5]
R(t)= for t
21.(a) A system is described by [8]
(t)= X(t)
24. Explain the method of pole placement by state-feedback. Find the matrix k=[
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:
= X+ [6]
The response of
X(t)= when x(0)=