0% found this document useful (0 votes)
19 views

Advanced Control System Unit 1

The document discusses state space analysis and representation of control systems. It defines key concepts like state, state vector, and state space. It describes developing state space models for linear systems using state equations and output equations. Methods to convert between state space and transfer function representations are also covered.

Uploaded by

chhavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Advanced Control System Unit 1

The document discusses state space analysis and representation of control systems. It defines key concepts like state, state vector, and state space. It describes developing state space models for linear systems using state equations and output equations. Methods to convert between state space and transfer function representations are also covered.

Uploaded by

chhavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

CONTROL SYSTEM ENGINEERING-II (3-1-0)

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,

CONTROL SYSTEM ENGINEERING-II (3-1-0)


MODULE-I (10 HOURS)

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.

MODULE-II (10 HOURS)

Introduction of Design: The Design Problem, Preliminary Considerations of Classical Design,


Realization of Basic Compensators, Cascade Compensation in Time Domain(Reshaping the Root
Locus), Cascade Compensation in Frequency Domain(Reshaping the Bode Plot),
Introduction to Feedback Compensation and Robust Control System Design.
Digital Control Systems: Advantages and disadvantages of Digital Control, Representation of
Sampled process, The z-transform, The z-transfer Function. Transfer function Models and dynamic
response of Sampled-data closed loop Control Systems, The Z and S domain Relationship, Stability
Analysis.

MODULE-III (10 HOURS)

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
.

MODULE-IV (10 HOURS)

Optimal Control Systems: Introduction, Parameter Optimization: Servomechanisms, Optimal Control


Problems: State Variable Approach, The State Regulator Problem, The Infinite-time Regulator
Problem, The Output regulator and the Tracking Problems, Parameter Optimization: Regulators,
Introduction to Adaptive Control.

BOOKS

[1]. K. Ogata, PHI.


[2]. I.J. Nagrath, M. Gopal, New Age International Publishers.
[3]. J.J.Distefano, III, A.R.Stubberud, I.J.Williams, TMH.
[4]. K.Ogata, Pearson Education Asia.
State space analysis.
State space analysis is an excellent method for the design and analysis of control systems.
The conventional and old method for the design and analysis of control systems is the
transfer function method. The transfer function method for design and analysis had many
drawbacks.
Advantages of state variable analysis.
It can be applied to non linear system.
It can be applied to tile invariant systems.
It can be applied to multiple input multiple output systems.
Its gives idea about the internal state of the system.

State Variable Analysis and Design

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

Lets consider a multi input & multi output system is having

r inputs

m no of outputs

n no of state variables

Then the state model is given by state & 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)


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

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


From the above equations we can write

Writing the above state equation in vector matrix form

Where

Output equation can be written as

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.


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
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:


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


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


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=q 1 and we
call the two integral terms q2:

so

This is our first state variable equation.


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


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

the observable canonical state space model form is

is also known as characteristic equation when equated to zero.

MATLab Code

Transfer Function to State Space(tf2ss)

A=

-14 -56 -160

1 0 0

0 1 0
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 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

Let be the eigenvectors corresponding to the eigen value


respectively.

Then is called diagonalizing or modal matrix of A.

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

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.

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,
Now on rewriting the above equation we have

Let [sI-A]-1

state transition matrix(STM).

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

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

Consider the scalar polynomial

Here A is a square matrix of size (n×n). Its characteristic equation is given by

If is divided by the characteristic polynomial , then

Where is the remainder polynomial of the form


If we evaluate at the eigen values , then and we have from
equation (1)

The coefficients , can be obtained by successfully substituting


into equation (3).
Substituting A for the variable in equation (1), we get

As

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

Consider nth order multi input LTI system with m dimensional control vector

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 .

Consider nth order multi input LTI system with m dimensional output vector

is completely observable if & only if the rank of the observability matrix Qo is n.


Principle of Duality: It gives relationship between controllability & observability.
The Pair (AB) is controllable implies that the pair ( ) is observable.
The pair (AC) is observable implies that the pair ( ) 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

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

Consider the system

The control vector U is designed in the following state feedback form U =-KX
This leads to the following closed loop system

The gain matrix K is designed in such a way that

Pole Placement Design Steps :


Check controllability
Define
Substitute this gain in the desired characteristic polynomial equation

Solve for 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
output system only.
MATLab code place works for single- or multi-input system.
Example
Consider the system with state equation

Where

By using state feedback control u=-Kx, it is desired to have the closed loop poles at

Determine the state feedback gain matrix K with MATLab

k=

199 55 8

k=

State Estimators or Observers

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.

f required sensors or unavailability of states for measurement, in


most of the practical situations this requirement is not met.

Sometimes only output y is available for measurement.


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:

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:

The corresponding characteristic equation may be written as:

You need to design the observer gains such that the desired error dynamics is obtained.

Observer

Check the observability

Define

Substitute this gain in the desired characteristic polynomial equation

Solve for by equating the like powers of S on both sides

Here are desired eigen values of observer matrix.


Short Questions each carrying Two marks.

1. The System matrix of a continuous time system, described in the state variable form
is

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


2. For a single input system

Check the controllability & observability of the system.


3. Given the homogeneous state space equation
Determine the steady state value given the initial state value
.
4.

The figures in the right-hand margin indicate marks.


5. For a system represented by the state equation
Where

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

(i) Find the complete solution for Y(t) when U(t)=1(t),


(ii) Draw a block diagram representing the system. [5+3]
12. Discuss the state controllability of the system

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

Assume the sampling period is 2 secs. [5+4]

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


=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


= u
Y=
(a)Find the complete solution for y(t) when
U(t)=1(t), (0)=1 and (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
= 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)

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:
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=[
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]

25.(a) From a system represented by the state equation

The response of
X(t)= when x(0)=

And x(t)= when x(o)=


D [12]
(b) Prove non uniqueness of state space model. [4]
26.(a) Show the following system is always controllable

(b) Explain the design of state observer.


(c) Illustrate and explain pole placement by state feedback. [4+4+4]

You might also like