Вы находитесь на странице: 1из 386

Premieraz

(2·1!1D(2·72)

Cl>aofe< • 3 Matrix Algebra & Doriva!ion of Tronstor Funciul (3 • lj lo (3. 46)


Cl>aote< • 4 Solutlcn of Sta:e EQualions (4-llloj4-~)
Chapt., . 5 Pde Pl~.enlTechnque (5· l)lo(5·00)

"'
,Features of 'Book
:-;-us-;~r~i;;;,-;1~i~-~d-1~-cid-l~;;;;;;;lli~-;h;~-ci;;s~ci~~-;;;;·~~~~-I
I • Excellent theory well supported with the practical examples and I
I I
illustrations. I
1
I • Important concepts arc highlighted using key points throughout tho book. I
I
I • Large number of solved examples. I
I
1 • Approach of the book resembles classroom leaching. I
I • Use of informative, self explanatory diagrams, plots and graphs. :
: • Book provides detailed insight into the subject. I
I • Stepwise explanation to mathematical derivations for easier :
1
understanding. I
L------------·----··-·--·-··-·---------------·-------··--·--······--······
Best of Technical Publications ..,
1

' "' As per Revised Syllabus of VTU - 2006 Course


Semester - V [EEE)

.~ Modem Control Theory


~ Signals and Systems
-~ Transmission and Distribution
~~ Linear !Cs and Applications Bakshi, Godse'
'~ D.C. Machines and Synchronous Machines Bakshi'
'
(4)

M
Modern Control Theory
ISBN 9788184315066
All righls ,.,.rved
wilh Technicol Publicottons. No pot! of this book should be
reproduced in ony loon, Eledn>nic, Mochonlcol, Pholoc.opror or<y inlormofioo 1loroge ond
retrieve! system wtlhoul p./or pemiisalon in writing, lrcm Technlcol Mlicottons, Pvne.

Publishtt.f by :
Thchnlcal l"Ublk:aUonsPune•
#1,,...... ~"""'•it. si-.- PnJ.. "'-. •11 030, l.d..

Printer:
Nc.OTPilotcn
s..... 1 (11),sw..,.d Rood,
J\.w.41104l
Preface
The importance of Control Theory is well known in various engineering fields.
Overwhelming response to our books on various subjects inspired us lo write this book.
The book is structured lo cover the key aspects of the subject Modem Control Theory.

The book uses plain, lucid language to explain fundamentals of this subject. The book
provides logical method of explaining various complicated concepts and stepwise methods
to explain tho importonl topics. Each chapter is well supported with necessary illustrations,
procticol examples and solved problems. All the chapters in the book ore arranged in o
proper sequence that permits eoch topic to build upon earlier studies. All care has been
token lo make students comfortoblc in understanding the basic concepts of the subject.

The book not only covers the entire scope of the subject bul explains the philosophy of
the subject. This makes the understanding of this subject more clear ond makes it more
interesting. The book will be very useful nol only lo the students but also to the subject
teachers. The students hove to omit nothing and possibly hove to cover nothing more.

We wish to express our profound thanks to oil those who helped in making this book a
realily. Much needed moral suppor1 and encouragement is provided on numerous
occasions by our whole family. We wish to thank the Publisher and the entire teom of
Technical Publications who hove taken immense pain to get this book in time with qualify
printing.

Any suggestion for the improvement of the book will be acknowledged and well
appreciated.

Authors
(1 :ij Jo:(h 14)
1.1 Background 1- 1
1.1.1 ~or Conventional Approach 1 -1
1.1.2 ~tages of State Variable Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 • 2
1.2 Concept of State 1 •2
1.2.1 lmpajanJpelinitions :................. 1 -4
\ I'
1.3 Stal? MY1!el-pf Lin.ear Systems
• : 1 -6
1.3.1 Stale Model of Si)!lle Input Single OutputSystem : •...•........ 1 •9
1.4 State Diagram Representation 1 -9
. \ .
1.4.1 State Diagramof Standard State Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 • 10
1.5 Non Uniqueness of State Model 1·. 11
1.6 Llnearization of State Equation 1 -12
B.eYlew. Questions............ .. .. 1 - 14

·2.1 State Variable Representation using Physical Variables 2•1


2.1.1 Advantages 2•4
2.2 State Space Representation using Phase Variables 2 -4
2.2.1 Stale Modetfrom Differential Equation ..••.•...•••...•..............•.••..••. 2•5
2 2 2 Slate Model from Transfer Fuiict;on 2-8
2.2.3 Advantages. . • . . . . . • . . . • . . . . . . . . • . . . • . . . . . • • • . • . • • . • . . • • . . • . • • . • • • . • • . 2 • 18
2 2 4 11rnaa11ons 2.18

2.3 State Space Representation using Canonical Variables 2 - 19

2.3.2 Advantages of Canonical Variables 2 • 26


2.3.3 Disadvantages of canonical Variables ••.••......•.......•.•..•..••........• 2 • 26
2.4 State Model by Cascade Programming 2 - 29
Examples with Solutions 2 - 31

3.1 Background : .'.~: 3-1


3.2 Definition of Matrix., . . . .. . . . . .. .. • 3-1
3.2.1 Types of Matrices .' 3·2
3.2.2 Important Terminologies 3•3
3.3 Elementary Matrix Operations 3-6
3 4 Inverse of a Matrix 3-7
3.4.1 PropertiesoflnveiseofaMatrix 3·8
3 5 Deriyation of Transfer E11nclion from State Model 3-9
3.5.1 Characteristic Equation 3 • 10
3.5.2 MIMO System 3 -11
3.6 Eigen Values 3 • 12
3.7 Eigen Vectors 3 - 13
3 8 Modal Matrix M 3. 13
3 8 1 Yan!ler Mende Matrix 3-14
3.9 Diagonalisation 3 - 19
3.10 Generalised Eigen Vectors 3. 23
3.10.1 Vander Monde Matrix for Generalised Bgen Vectors . .. .. .. .. . . • . . . .. . .. .. . • • 3 • 24
Examples with Solulions 3 • 26
Reyjew Questions

4.1 Background 4• 1
4.1.1 Homogeneous Equation 4•1
4.1.2 Nonhomogeneous Equation 4•2
4 2 Review of Classical Method of Snh11ion 4-2
4.2.1 Zero Input Response 4•4
4.3 Solution of Nonhomogeneous Equation 4-4
4.4 Properties of State Transition Matrix 4-5
4.5 Solution of State Equation by Laplace Transform Method 4- 6
4.6 Computation of State Transition Matrix 4 -7
4.7 Laplace Transform Method 4-8
4 B Power Series Method 4-9
4.9 Cavley Hamilton Method 4 - 10
4 91 Prncedure lo Calct~ale ""1 4-12
4.10 Similarity Transformation Method 4 -16
4.11 Controllability and Observability 4 - 22
4.12 Controllability 4. 23
4.12.1 Kalman's Test for Controllability 4 • 23
4.12.2 Condition for State Controllability Ins-Plane .•..•.•.............•..••.•..•.. 4 - 26
4.12.3 Gilbert's Test for Controllability : 4 • 26
4.12.4 Output Controllability 4 • 29
4.13 Observability 4 • 29
4.13.1 Kalman's Testier Obse!Vllbllity 4 - 30
4.13.2 Conditioo for Comple:e Observability In s-Pl<Wle 4 • 33

4.13.3 Gilbert's Test ftlf Observabi!lty . .. . . . . . . .. . . . . . . . .. . . . . . . . . . . . • . . • . . . • • . .. 4 • 33


Examples with Solutions 4 • 35

5 1 Introduction 5-1
5.2 Pole Placement Design 5-2
5.3 Necessary and Sufficient Condition for Arbitrary Pole Placement 5-3
5 4 Evah1a!joo of Slate Feedback Gain Matrix K 5. 15
5 4 1 Use of Traosfonnatjo1J Matrix I 5-15
5 4 2 Direct S11bstit11tjon Method 5-15
5 4 3 Ackeanann's Foanu!a 5-16
5.5 Selection of Location of Desired Closed Loop Poles 5 • 19
5 6 State Observers 5-24
5.7 Concept of State Observer 5. 25
5.8 Dual Problem 5 - 27
5.9 Necessary and Sufficient Condition for State Observation 5- 28
5.10 Evaluation of State Observer Gain Matrix!<.. 5 - 28
5.11 Selection of Suitable Value of Observer Gain Matrix K.. 5 - 30
5 12 Observer Based Controller 5 - 35
Examples with Solutions 5 - 38
5 -57

6.2.2 Variable Range .•...••.•....••.......•.......................•••.•...•.• 6•3


6.2.3 Controller OutputRange 6 •3
6.2.4 Control Lag .....•.........•.•....•...•...•.•..•..••.••.....•.•.....•.•. 6-3
6 2 5 Dead Zone 6-3
6 3 Classification of Controllers 6-4
6 4 Continuous Contmllm..Made..._ -'"'-',_,.

6.5 Proportional Control Mode 6-5


6.5.1 Characteristic of Proportional Mode 6•6
6520ffset 6-6
6.5.3 Applications 6• 7
6.6 Integral Control Mode 6-7
6.6.1 Step Response oflnteqral Mode 6•9
6.6.2 Characteristics oflntegral Mode 6-9
6.6.3 Applications 6 • 10
6 7 Oerlvatiye Control Mode 6-10
6 7 1 Characterisljcs of !ledyatjye Con!rol Mode 6 • 11
6.7 2 Applications 6 • 12
6.8 Composite Control Modes 6 -12
6.9 Proportional + Integral Mode (Pl Control Mode) 6 • 1>!
6 9 1 Cbaractertsticsof Pl Mode 6-14

M
6.9.2 Applications 6 • 15
6.10 Proportional+ Derivative Mode (PD Control Mode) 6. 15
6 1 O 1 Charac!eristtcs of PD Mode 6-16
6.10.2 Applications 6 -17
6.11 Three Mode Controller (PIO Control Mode) 6 - 17
6.12. Response of Controllers to Various lnputs 6- 21
6.13 Effect of Composite Controllers on 2"" Order System 6 - 22
6.14 PD Type of Controller 6- 23
6.15 Pl Type of Controller 6 - 24
6.16 PIO Type of Controller 6 - 26
6.17 Rate Feedback Controller (Output Derivative Controller) 6 - 26
6.18 Review of Second Order System Specifications 6 - 28
6.19 Steady State Error 6 - 30
Examples with Solutions 6 - 31
Review Questions 6 - 48

7.1 Introduction to Nonlinear Systems 7-1


7 .2 Properties of Nonlinear Systems 7- 1
7 3 Classification of Nonlinearities 7-2
7 4 Inherent Nonlinearities 7-2
741 SabaraOOo 7-3

742Deadmne 7.3

7.4.3 On-Off Nonfineatity •......•..•..•..•..•..•...•..•..•...••..•..•...•.....• 7 -4

7.4.4 On·Off Nonlinearity with Hysteresis ...........••.•........•...............•.. 7•4


z 4 5 Nonfineac Friction 7•5

7 4 6 Bacldash . ". 7. 5
7.4.7 NonlinearSpring 7 -6
7.5 Absolute Value Nonlinearity 7-7
7 6 Intentional Nonlinearities 7-8
7-8

M
.,~
8.1 lnt!'Oductjon 8-1
8.2 limit Cycle 8•1
8.3 Jump Resonance 8•2
8 4 The Phase Plane Method 8-3
8.5 Basic Concept of Phase-Plane Method 8-5
8.6 Isocline Method for Construction of Phase Tralectory 8•7
8.7 Application of Phase-Plane Method to linear Control System 8 - 10
8.8 Second Order Nonlinear System on Phase Plane 8 -13
8.9 Different Types of Phase Portraits 8 • 14
8.9.1 Phase Portraits for Type O System ......•...•..•....•....••......•.•..••.•. 8. 14
8.9.1.1 S1able SyslemIMth Conl)lex Roots . . . • . . . 8· 15
8.9.1.2 Unstable System,.;in Complex Roots • . . . •• 8-16
8.9.1.3 Marginally Slab:e Sys1em IMth Complex Roots . 8· 16
8.9.1.4 Stable SystemIMtll Real Roots • . . • • . •. 8-17
8.9.1.5 Unslable System-Mth Positive Real Roots . . .. 8-18
8.9.1.6 U11$lable System~ Cloe Positive and Ooe Negati\19 Real Root . . . . 8· 19
8.9.2 Forced Second Older TypeO System ~-19
8.9.3 Phase Portraits for Type 1 Svslem 8 -19
8.9.4 Phase Portraits for Type 2 S)'Slem 8 • 22
8.1 O Singular Points of a Nonlinear System 8 - 26
8 11 Delta Method 8 -27
Examples with Solutlons 8 • 28
Review Questions. . . . .. 8- 39

chip&r; g uapunm stiiluiiY,\na1Yili'_.,--.-- ..,


9 1 fnf"mductjon 9-1
9.2 Stability in the Sense of Liapunov 9•2
9.3 Asymptotic Stability 9- 3
9.4 Asymptotic Stability In the Large 9-3
9.5 Instability 9•3
9.6 Graphical Representation 9•3
9,7 Some Important Definitions 9 -4
.. 9 7 1 poSfttvflDpfinileness 9-4
9.7.2 Negative Definiteness 9 .4
9 7 3 Positive Semjdefiniteness 9-5
9.7.4 Negative Semidefinite ... .. 9.5
97 5 !odefinUeness 9.5
9 8 011adralic Form ............. 9- 5
9 9 Hermitian Forro 9- 5
9.1 O Liapunov's Second Method ' 9-6
9.11 Liapunov's Stability Theorem 9-6
9.12 Stability of Linear and Nonlinear Systems 9-7
9.13 Construction of Liapunov's Functions for Nonlinear Systems by
Krasovskii's Method 9-8
9.14 The Direct Method of Liapunov and the Linear System 9 - 11
Examples with Solutions 9 - 12
Reyjew Questions 9 - 24

1m~::in~~~~w~~~
J·~~~~m~Ei.W'~Vti~{;.~'1.{M-t'
;f~M-.;~:.£~
State Variable Analysis and Design

1.1 Background
The conventional approach used lo study the behaviour of linear time invariant control
systems, uses the time domain or frequency domain methods. In all these methods, the
systems are modelled using transfer function approach, which is the ratio of Laplace
transform of output to input, neglecting all the initial conditions. Thus this conventional
analysis faces all the limitations associated with the transfer function approach.

1.1.1 limitations of Conventional Approach


Some> of its limitations can be stated as :
1) Naturally. significant initial conditions in obtaining precise solution of any system,
loose their importance in conventional approach.
2) 111e method is insufficient and troublesome lo give complete time domain solution
of higher order systems.
3) It is not very much convenient for the analysis of Multiple Input Multiple Output
systems.
4) It gives analysis of system for some specific types of inputs like Step, Ramp etc.
5) II is only applicable to Linear Time Invariant Systems.
6) The classical methods like Root locus, Bode plot etc. arc basically trial and error
procedures which foil lo give the optimal solution required.
Hence it is absolutely necessary lo use a method of analysing systems which
overcomes most of the above said difficulties. The modem method discussed in this
chapter uses the concept of total internal slate of the system considering all initial
conditions. This technique which uses the concept of state is called State Variable
Analy»is or St•te Space Analysis.
Koy Point: State variable analysis is c.<Scntially a time domain approach but it has 11m11ber
of adva11/ages compared to co11Vt'nlio11al mrtliods of analysis.

(1 • 1)
Modem Control Theory 1·2 State Variable Analysis & Design

1.1.2 Advantages of State Variable Analysis


The various advantages of state variable analysis arc,
1) The method takes into account tl\C effect of all initial conditions.
2) It can be applied to nonlinear as well as time varying systems.
3) It can be conveniently applied to Multiple Input Multiple Output systems.
4) The system can be designed for the optimal conditions precisely by using this
modem method.
S) Any type of the input can be considered for designing the system.
6) As the method involves matrix algebra, can be conveniently adopted for the digital
computers.
7) The state variables selected need not necessarily be the physical quantities of the
system.
8) The vector matrix notation greatly simplifies the mathematical representation of the
system.

1.2 Concept of State


Consider a football match. The score in the football match must be updated at every
instant from the knowledge and Information of the total score before that instant. nus
procedure of updating the score continues till the end of the match when we get exact and
precise score of the entire match. This updating procedure has main importance in the
understating of the concept of state.
Consider the network as shown in the Fig. 1.1
To find V0111, the knowledge of the
initial capacitor voltage must be known.
Only information about V1n will not be
suffkknt to obtain precisely the V out at any
time t ~ O. Such systems in which the output
Fig. 1.1 is not only dependent on the input but also
on the initial conditions arc called the
systems with memory or dynamic systems.
f-- V Velocity While if in the above network capadtor
f-- X Displacement 'C' is replaced by another resistance 'R1' then

ForceF-0 output will be dependent only on the input


applied Y'".

/?7777Tj777777 Such systems in which the output of the


system depends only on the input applied at
Zero &icbon t =0, arc called systems with zero mttnory or
static systems.
Flg. 1.2
Modem Control Themy 1·3 State Variable Analysis & Design

Consider another example of simple mechanical system as shown in the Fig. 1.2
Now according to Newton's law of motion,
F Ma
a Acceleration of mass M

F M ard (v(t))
i.e. v(l) = id ((t) dt

Now velocity at any time 't' Is the result of the force F applied to the particle in the
entire past,

v(t) 'M
I
f f(t) cit ~ '! f(t)dt +kf f(t)dt
l

'o
where t0 = Initial time.

Now -b J f(t) dt = v(t0)

I
v(t) v(t0)+ J f(t) dt
'o
From the above equation it is clear that for the same input f(t), we get the different
values of the velocities v(t) depending upon our choice of parameter t0 and the value of
v(t0).
U v(t11) is known and the input vector from 't0' to 'I' is known then we can obtain a
unique value of the output v(t) at any time t > t0•
Key Point : Thus initial conditions i.e. memory affects the system c/1aracterisatim1 and
subsequent behaviour.
Thus initial conditions describe the status or state of the system at t = t 11• The state
an be regarded as a compact a.nd concise representation of the past history of the
system. So the state of the system in brief separates the future from the past so that U1e
state contains all the information concerning the past history of the system necessarily
required to determine the response of the system for any given type of input.
The state of the system at any time 't' is actually the combined effect of the values of
all the different elements of the system which arc associated with the initial conditions of
the system. Thus the complete slate of the system can be considered to be a vector
having components which are the variables of system which are:tlosely associated with
Modem Control Theory State Variable Analysis & Design

initial conditions. So stale can be defined as vedor X(I) called slate vector, This X(t) i.e.
stale al any lime ·r is 'n' dimensional vector i.e. column matrix n x 1 as indicated below.
X1(t)
X2(t)
X(t)

Now these variables X t (t) , X2 (t) Xn (t} which constitute the state vector X(t) arc
called the state wriablts of the system.
If slate at t s t1 is to be decided then we must know X(t0) and knowledge of the
input applied between t0 ~It. This new state will be X(t 1) which will act as initial state
to find out the state at any time t > t 1• This is called the updating of the state. The output
of the system at t = t 1 will be the function of X(t 1) and the instantaneous value of the
=
input at t t 1, if any. The number of the state variables for a system is generally equal to
the order of the system. The number of independent stale variables is normally equal to
the number of energy storing elements (e.g.: capacitor voltage, current in inductor)
contained in the system.

1.2.1 Important Definitions


1) State : The state of a dynamk system is defined as a minimal set of variables such
that the knowledge of these variables at t = 10 together with the knowledge of the
inputs fort :<! t0, completely determines the behaviour of the system fort >·t0.
2) State Variables : The variables involved in determining the state of a dynamic
system X(t), arc called the state variables. X1(t), X2(t) ...... X"(t) are nothing but
the state variables. These are normally the energy storing elements contained in the
system.
31 State Vector : The 'n' state variables necessary to describe the complete behaviour
of the system can be considered as 'n' components of a vector X(t) called the state
vector at time · t', The state vector X(t) is the vector sum of all the state variables.
4) State Space : The space whose co-ordinate axes are nothing but the "n' state
variables with time as the implicit variable is called the slate space.
5) State Trajectory : It is the locus of the tips of the state vectors, with time as the
Implicit variable.
Modem Control Theory 1·5 State Variable Analysis & Design

Definitions can be explained by considering second order system :


Order is 2 so number of state variables required is 2 say X1(t) and X2(t).
State vector will be the matrix of order 2 x I.

X(t)

--t -> ->


i.e, X(t) X1(t)+ X2(t) (vector addition)

The stale space will be a plane in this case as the number of variables arc two. Thus
state space can be shown as in the Fig. 1.3.

X1(t) Xi(l)

L~ . ,
(0 .0)

Fig. 1.3
x,c1,>

X2tt1)
Flg.U
~(I)

Now consider t = t1

-> -> ->


X(t1) = X1(l1)+ X2(11)

x,c11

·~(ti

Fig. 1.5 Fig. 1.6

Now consider t = t2
-> -> ->
X(t2) "' X1(t2)+ X2(t2)

The state trajectory can be shown by joining the tips of the two state vectors i.e. X(t 1)
and X(t2).
Modem Control Theory 1-6 State Variable Analysis & Design

1.3 State Model of Linear Systems


Consider Multiple Input Multiple Output, nth order system as shown in the Fig. 1.7.
Number .of inputs m
Number of outputs p

u, ----<"'! t----v,
U2-~-.i MIMO t-~--v2
Inputs SYSTEM OutpulS
.____. __ VP

.,....,.-T""'i~=:T"
X1 X2 X3
Slate varlables

Fig. 1.7

X1(1) Y1(t)
U2(t) X2(t) Y2(t)
U(t)
"•' ')
; X(t) = , Y(t) =
Um(t) Xn(t) Yp(t)

All arc column vectors having orders m x 1, n x l and p x 1 respectively.


For sucti a system, the state variable representation can be arranged in the form of "n'
first order differential equations.
dX1(t) •
di"' X1(t)mf1(X1,X2 ....... Xn,U1,U2 ......... Um)

.
X2(t) = 12 (X1, X2 , ...... X0, U1• U2 ......... Uml
Modern Control Theory 1. 7 State Variable Analysis & Design

Where f = is the functional operator.

r,
Integrating the above equation,
I
X1(l) = X;(lo) + J f; (X1 • X2 ...... x, U1 • U2 ..... Um) dt
'o
where i = 1, 2, ........ n.

Thus "n' state variables and hence state vector at any time "t' can be determined
uniquely.

Any "n' dimensional time invariant system has state equations in the functional form
as,
.
X(t) = f (X, U)

While outputs of such system ore dependent on the state of system and instantaneous
inputs.

:. Functional output equation can be written as,

Y(t) = g(X, U) where · g' is the functional operator.

For time variant system, the same ~'<Juations can be written as,

X(l) f(X, U, t) State equation

Y(t) g(X, U, t) Output equation

Diagramatically this can be represented as in the Fig. 1.8.

U(t) lnstarltancous
lnput
Input
U(t) ----~ Y(t)
Oulput

X('ol
lnlUal state

Fig. 1.8 Input-output state description of a systom


Modem Control Theory 1·8 State Variable Analysis & Design

The functional equations can be expressed intcrms of linear combination of system


states and the input as,

.
X 1 = a11 X1 + a12X2 + ... + a10X0 + b11U1 + b12U2 + ... + b1m Um

X2 = a21 X1 + ~X2 ... + a20Xo + b21U1 + b22U2 + ... + b2m U'"

.
Xn = a,,1 X1 + "nl~ + ... + a.,,,Xo + b01U1 + bn2U2 + ... + bnm Um
For the linear time invariant systems, the coefficients a11 and bii arc constants. Thus all
the equations can be written in vector matrix form as,

X<t) A X(t) + B U(t) I


where X(t} State vector matrix of order n x 1
U(t) Input vector matrix of order m >< 1
A System matdx or Evoliition matrix of order n x n
B = lnput matrix or control matrix of order n >< m
Similarly the output variables at time t can be expressed as the linear combinations of
the Input variables and state variables at time t as,
v,(t) =Cu x,(t) + ... + C1n Xn(t) + d11 u,(t) + ... + dim Um(I)

Yp(t) = Cpt X1(t) + ... +cpl X0(t) +dpt U1(t} + ... + dpm Um(t)
For the linear time invariant systems, the coefficients c;; and d;J arc constants. Thus all
the output equations can be written in vector matrix form as,

Y(t) = C X(t) + D U(t)

where Y(t) = Output vector matrix of order p .>< 1


C = Output matrix or observation matrix of order p x n
D = Direct transmission matrix of order p x m
The two vector equations together is called the stale model of the linear system.

X(t) s A X(t) + B tl(t) ... State equation

Y(t) "' C X(t) + D U(t) ... Output equation

This Is state model of a system.


Modem Control Theory 1 .g State Variable Analysis & Design
For llnear time-variant systems, the matrices A, B, C and D are also time dependent.
Thus,

X<tl = A(t) X(t) + B(t) U(t)} For linear time variant system
Y(t) = C(t) X(t) + D(t) U(t)
1.3.1 State Model of Slngle Input Slngle Output System
Consider a single input single output system i.e. m 1 and p = =
l. But its order is 'n'
hence n state variables arc required to define state of the system. In such a case, the state
model Is
.
X(t) = A X(t) + B U(t)
Y(t) C X(t) + d U(t)
where A n x n matrix, B = n x I matrix
c 1 x n matrix, d = constant
nnd U(t) single scalar input variable
In general remember the orders of the various matrices.

A = Evolution matrix => n x n

U =- Control matrix => n x m

C = Observation matrix => p x n

D = Transmission matrix =pxm


1.4 State Diagram Representation
It is the pictorial representation of the state model derived for the given system. It
forms a close relationship amongst the state model, differential equations of the system
and its solution. It is basically a block diagram type approach which is designed from the
view of programming of a computer. The basic advantage of state diagram Is when it Is
impossible to select the state variables as physical variables. When transfer function of
system is given then slate diagram may be obtained first. And then by assigning
mathematical state variables there in, standard state model can be obtained.
State diagram of a linear lime invariant continuous system is discussed here for the
sake of simplicity. It is a proper interconnection of three basic units.
i) Scalars ii) Adders iii) Integrators
Modem Control Theory 1·10 State Variable Analysis & Design

Scalars arc nothing but like amplifiers having required gain.

~<1>Tx,<1>=~<1>·x3<11

><:i(t)
(a)Scalar (b)Adder
Fig. 1.9
Adders arc nothing but summing points.
Integrators arc the clements which actually integrate the differentiation of state variable
to obtain required state variable.
Now integrators arc denoted as '1/s' in
Laplace transform. So transfer function of any
lntegralor is always l/s. With these three basic
units we can draw the state diagrams of any
order system.
Fig. 1.9 (c)

Key Point : Tire output of each integrator i.~ the state variable.

1.4.1 State Diagram of Standard State Model

.
Consider standard state model

X(ll A X(t) + B U(t) and

Y(tl C X(t) + D U(t)


So its state diagram will bl? as in the Fig. 1.10.

Y(I)

Fig. 1.10 State diagram of MIMO system


The thick arrows indicate that there arc multiple number of input, output and state
variables. There must be n parallel integrators for n state variables. The output of each
integrator is a seperatc state variable. If such a state diagram for the system is obtained
then the state model from the diagram can be easily obtained.
Modem Control Theory 1 • 11 State Variable Analysis & Dnlgn

Remarks

1. To obtain the stale model from stale diagram, always choose output
of each integrator as a stale variable. Number or integrators always
equals the order of the system i.e. ·n·
2. Differentiators arc not used in the stale diagram as they amplify the
inevitable noise.

,.. Example 1.1 : Obtain the state diagram uf 5150 system reprtstnttdby equations,
.
X1(1) = a1 X1(t)+b1
.
U(t), X2(1J =a2 X1(t)+a3 X2(tH b2 U(I)

and Y(t) = c1X1(t)+c2X2(1)


Solution : A.• there arc 2 state variables X1(t) and X2(t), the two Integrators arc required.

U(t) Ytl)

Fig. 1.11

1.5 Non Uniqueness of State Model


Considera standard state model for a system
.
X(I) A X(t) + B U(t) ... (1)

y(I) C X(t) + D U(t) .•. (2)


Let X = M Z where M is a non singular constant matrix.
Koy Point: A matrix whose daerminatu is nonuro is called nonsingular matrix.
This means Z is new set of stale variables which Is obtained by linear combinations of
the original state variables.
Modem Control Theory 1·12 State Varlable Analyala & Oealgn

X = MZ hence
. .
X" MZ

.
Substituting in a slate model

M Z(t) AM Z(t) + B U(t) ... (3)


Y(t) CM Z(t) + D U(t) ... (4)

:. Premultiplying equation (3) by M" 1


.
Z(t) M-11\M Z(t) + M-1 B U(t)

WMC M-1 M I i.e. Identity matrix

Z(t) c A Z(t) + B U(t) ... (5)

where A M-1 AM

fi M-1 B

and Y(t) C Z{t) + D U(t) ... (6)

Where c CM
Equations (5) and (6) forms a new state model of the system.
This shows that state model is not a unique property.
Key Point: Any /i11~ar combinatio11s of th;. original set of state wriables result» into a valid
11ew set of state variables.

1.6 Llnearizatlon of State Equation


Any general time invariant system is said lo be in equilibrium, at a poinl (l<o- U0)
when.

Ix~ f (Xo- Uo) u 0 I


The derivatives of all the stale variables are zero at a point of equilibrium, The system

.
has a tendency lo lie at the equilibrium point unless and unlill it is forcefully disturbed .

The state equation X(t) = f (X, U) can be linearized for small deviations about an
equilibrium point (X0, U0). This is possible by expanding the state equation using Taylor
series and considering only first order terms, neglecting second and higher order terms.
Modem Control Theory 1 • 13 State Variable Analysis & Design

So expanding kth state equation,


~ = fk (Xo- U0) +I~
n ilf,(X, U) I (X1 -X10)+
m i)lk(X, U)I
L.-m- (Ui - Up)
/:I I X=Xo j=I j XeXo
U=Uo U=Uo

Now rk(Xo- U0) = 0 at the equilibrium point.


And let the variation about the operating point is,

x1-Xio
. .
henceX=X,
and U;-U;o
Hence the kth state equation can be linearized as,

Xk
.
.
.In this equation xk, x, and U; are the vector matrices and the remaining terms arc the
matrices or order n x n and n x m respectively. Hence the linearized equation can be
expressed in the vector matrix form as,

x = AX+ nu
<lf1 ()fl cir,
vx;- dx; dx;;"
ilr2 ilf2 ilr2
where A ~ ax2 dx;;- is n x n matrix

arn «: illn
~ ib<.2 ilx.,
ilf1 ar, a11
au, iJU2 ()Um
i!f2 ()(2 iil2
B
au, <lUz aum Is n x m matrix

er, ()In ()In


~ m;- aum
Modorn Control Theory 1·14 State Variable Analysis & Design

All the partial derivatives of the matrices A and B are lo be obtained at an equilibrium
slate (Xo- U0). Such matrices A and B defined above interms of partial derivatives are
called the Jacobian matrices.

Review Questions
1. Exp/run tl1e concept of stole.
2. l)tfim •md explain tire followingterms,
a Slat/ a.1riables I>. Stott 11«tor
c. Slate lraf"<10ry of. Stale
< St{lt( SfXIU
J. l:.xplain adt1tmti1grs of state t1t:1rit1ble method over conventional ant.
4. Writ' a slrort note on ad•w11tagt>and limitatums of st.tit ~'llriablt approotl1,
5. Wn'tr a note on lincariznliatr of Malt equation:;.
6. l'row tire nomtniqtttnt."SS of lite state modtl.

ODO
State Space Representation

2.1 State Variable Representation using Physical Variables


The state variables are minimum number of variables which arc associated with all the
initial conditions of the system. As their sequence is not important, the state model of the
system is not unique. But for all the state models it is necessary that the number of state
variables is equal and minimal. This number 'n' indicates the order of the system. For
second order system minimum two state variables arc necessary and so on.
To obtain the state model for a given system, it is necessary to select the state
variables. Many a times, the various physical quantities of system itself arc selected as the
state variables.
For the electrical systems, the currents through various inductors and the voltage
across the various capacitors arc selected to be the state variables. Then by any method of
network analysis, the equations must be written i'ntcrms of the selected state variables,
their derivatives and the inputs. The equations must be rearranged in the standard form so
as to obtain the required state model.
Key Point: It is important ilia! Ilic equation for diffcre11tiatio11 of 011e state t•11riable s/1011/d
1101 i1100/vc tltt differmtiation of any otner slate variable.
In the mechanical systems the displacements and velocities of energy storing elements
such as spring and friction arc selected as the stale variables.

In general, the physical variables associated with energy storing elements, which
are responsible for initial conditions, arc selected as the stale variables of the given
system.

1~ Example 2.1 Obtain tire state model of tire given electrical system.

~
v;(t)

l
~

~t)
IC
-
v0(t)

-l
Fig. 2.1 tvru : July/Aug.-2006)

(2 • 1)
Modem Control Theory 2-2 State Space Representation

Solution : There arc two cn!!l'gy storing elements L and C. So the two state variables arc
current through inductor i(t) and voltage across capacitor i.e. v0(t).
i(t) and X2(t) = v (t)
0

And v1(t) = Input variable


Applying KVL to the loop.
di (t)
v1(t) = i(t) R + L -di + v0(t)

Arrange it for di(t}/dt,


di (I) I ( ) R '( I b di (I) •
-dt IV; t -1· t)-Iv.,(l) ut dt - = Xt(t)

R 1 1
i.e, - ·r. X1(t)-I X2(tl+I U(t) ... (1)

While Voltage across capacitor = bJ i(t) di

2..c i(t) but ~v o(l) = {._ (I)


di "2

i.e. "2(t) ·c1 X1(t) ... (2)

The equations (1) and (2) give required state equation.

[~J(t)]
X2(t) [
- ~L _ _!_]
t L
0
[X (I)) + [·I.~] U(t)
1
Xz(t) 0

i.e.
.
X(t) = A X(t) + U U(t)

While the output variable Y(t) = v0(t) = X2{t)

Y(t) (0 1] [;~]+(OJ U(t)

i.e. Y(t) = C X(t) and D = (01


This is the required state model. As n = 2, it is second order system.
Note : The order of the state variables is not important. X1(t) can be v 0(1) and
X2(t) can be i(t) due to which state model matrices get changed. Hence state model
Is not the unique property of the system.
Modem Control Theory 2·3 State Space Representation

11u+ Example 2.2 : Obtain the state model of the givm electrica! network i11 tit<' standard
form.

Fig. 2.2
IDNrilln : U(t) ~ input « c,(t)

Y(t) "' output = c.,(t)


State variables: X1(t) = i1(t), X2(t) = i2(t), X3(t) = vc(t)
Writing the equations :

<',(I)

I · 1
i.e. ··- c, (I)- --- v c(I)
I.I I.I

... (1)

Then,

... (2)

dvc(l)
and C-d-,-

dvc(t)
bi1(t)-bi2(t)
Cit
.
X3(t)
1 1
C X1(t)- C X2(l) ... (3)
Modem Control Theory 2-4 State Space Representation

.
.
X1

X2

X3
0

0
1
c -c:
0

-i=;-
R2

1
-r;-
1
L2
0
[~~]+ 'l
Li
~ U(t)

i.e.
.
X(t) AX(t) + BU(t)

and e0(t) i2(t) R2


Y(t) c X2(t) R2

Y(t)
(o ~ OJ[~:]
i.e. Y(t) ~ CX(t) + DU(I)

where D = 0. This is the required state model.

2.1.1 Advantages
The advantages of using available physical variables as the state variables are,
1. The physical variables which are selected as the state variables are the physical
quantities and can be measured.
2. As state variables can be physically measured, the feedback may consists the
information about state variables in addition to the output variables. Thus design
with state feedback is possible.
3. Once the state equations arc solved and solution is obtained, directly the behaviour
of various physical variables with time is available.
But the important limitation of this method is that obtaining solution of such state
equation with state variables as physical variables is very difficult and lime consuming.

2.2 State Space Representation using Phase Variables


Let us study how to obtain state space model using phase variables. The phase
variables arc those state variables which are obtained by assuming one of the system
variable as a state variable and other state variables are the derivatives of the selected
system variable. Most of the time, the system variable used is the output variable which is
used to select the state variable.
Such set of phase variables is easily obtained if the differential equation of the system
is known or the system transfer function is available.
Modem Control Theory 2·5 State Space Representation

2.2.1 State Model from Differential Equation


Consider a linear continuous time system represented by n•h order differential equation

yn +an-lyn-1 +an-2 yn-2+ ... +


••• (1)

a1 Y+a0Y(t)
= b0U+b1 U+ ...+bm_1um-t +bmU°'

In the equation, Y"(t) = dY" (t) = nth derivative of Y(t).


dt"
For time invariant system, the coefficients a0 _ 1, an- 2, . • . ao- ho- b1, • .. bm are
constants.
For the system,
Y(t) Output variable
U(t) Input variable

Y(O), Y(O), ... Y(O) n- l represent the initfal conditions of the system.
Consider the simple case of the system in which derivatives of the control force U(t)
arc absent.

Thus
.
U(t) U(I) " ..• = um(t) = 0
.: Y" + an _ 1 Y" - 1 + ... + a1 Y + n0 Y(t) = b0U(l) ... (2)

Choice of state variable Is generally output variable Y(t) itulf. And other state
vmablcs arc derivatives of the selected state variable Y(t).

X2(t)
. .
Y(t) = X1(t)

.
Thus the various state equations arc,

X1(I) Xi(!)
X(t) X3(t)

.
X,. - I (t)
X,.(t)
Xn(t)
Modem Control Theory State Space Representation

Note that only n variables arc to be defined to keep their number minimum. ThU!
• th •
x,. _ 1(t) gives n state variable X0(t). But to complete state model X,.(t) is necessary,

Important
. ..
: X,.(t) is to be obtained by substituting the selected state 1 vartsbles In the
original differentialequation (2). We have Y(t) = X1, Y(t) " X,, Y(t) a X;i. ...

yn-l(t) =~(I), Y0(t) = X,.(t)


.
:. X,.(t) + an_ 1 ~(t) + an_ 2 ~ _ 1(t) + ... + a1 X2t + a0 X1(t) = b0 U(t)
.
:. X,.(t) =- a0 X 1 - a1 X, ... - an _ 2 ~ _ 1 - an_ 1 X0 + b0 U(t) ... (3)

-Hcnce all the equations now can be expressed in vector matrix fonn QS,

l { "'
1 0
xx2 _
1 o
[ 0 0

rL - -~o ~ '.J [J:


Le.
.
X z AX(t) + BU(t)

Such set of slate variables is called set of phasr va.rlablc1.


The matrix A is called matrix in phase variable fonn and it has following features,
1) Upper off diagonal i.e. upper parallel row to the main principle diagonal contains
all elements as 1.
2) All other clements CXC1..'Pt last row are zeros.
3) Last row consists of the negatives of the coefficients contained by the original
differential eouation.
Such a form of matrix A is also called Bush fonn or Companion fonn. Hence the
method Is also called companion form reallution.
The output equation is,

'Y(t) [ I 0 .... OJ

X,,(t)

Le. Y(t) CX(t) where D = 0


Modem Control Theory 2·7 State Spac:e Representation

This model in the Bush fonn can be shown in the stale diagram as in the
Fig. 2.3.
Output of each integrator is a slate variable.

U(t}

Fig. 2.3 State diagram for phase variable form

Observe that the transfer function of the blocks in the various feedback paths arc the
coefficients existing in the original dilfcrcnlial equation.

If the differential equation consists of the derivatives of the input control force U(t)
then this method L< not useful. Jn such a case, the state model is to be obtained from the
transfer function.
,_. Example 2.3 : Construct tht state model using phase mriobles if tht sy.•tt111 is dtscribtd
by tire differentialequation,

d2Y(t) +4 't2Y(t~ +7 dY(I) + 2Y(t) = 5U(I)


dt3 dt2 di
Draw the state diagram.
Solution : Choose output Y(l) as the stale variable X1(t) and successive derivatives of it
give us remaining state variables. As order of the equation is 3, only 3 state variables are
allewed.
X1(t) Y(t)

-
• • dY(t)
Xii) X 1(1) = Y(t) =di

and "2<t) = Y(t) = d2Y(t)

Thus
.
J\(t) X2(t)
dt2

... (1)
Modem Control Theory 2-8 State Space Representation

... (2)

To obtain Xj(t), substitute state variables obtained in the differential equation.

d3Y(t} '" d " dX •


-- = Y (t) = -(Y(t)l = -3= X3(t)
dtJ di di
.
.
:. X3(t) + 4X:J(t) + 7 X2(t) + 2X1(t) = SU(t)

"3(t) "' - 2X1(t) - 7 X2(t) - 4X3(t) + 5 U(t) ... (3)

The equations (I), (2) and (3) give us required state equation.

X(t) AX(t) + BU(t)

1
where

The output is, Y(t)


A
u
X1(tl
0
-7
j] and
B=[n
Y(t) CX(t) + DU(t)
where c (10OJ,D=0
This is the required state model using phase variables.

Fig. 2.4
2.2.2 State Model from Transfer Function
Consider a system characterized by the differential equation containing derivatives of
the input variable U(t) as,

Y" + an - I yn - I + ... + "t y + •o Y(t) "' boU + b1 U + ... + bm - l Um - I + bm um


... (I)
Modem Control Theory 2·9 State Space Representation

In such a case, it is advantageous to obtain the transfer function. assuming zero initial
conditions. Taking Laplace transform of both sides of equation (1) and neglecting initial
conditions we get,
Y(s) [sn + a,,_ 1 Sn -
1
+ ... + a1 s + aoJ = Ibo + sb1 + ... + bm _ 1 Sm - 1 + b tu sml U(s)

Y(s) bo +sb,+ .... +b n-lsm-1 +blllsm


T(s) = ' ... (2)
U(s) a0 TSa J+ ... +a11_1sn-l +Sn

Practically in most of the control systems m < n but for general case, let us assume
m =n.

From such a transfer function, state model can be obtained and then zero initial
conditions can be replaced by the practical initial conditions to get required result.
There arc two methods of obtaining state model from the transfer function,
I) Using signal now graph approach
2) Using direct decomposition of transfer function

1) Using Signal Flow Graph Approach

The Mason's gain formula for signal flow graph slates that,
LTkAk
T(s) -6-

where Gain of k1h forward path


A System determinant
p: Gain x Gain product ol}
I - {L i111 loop gains}+j ,111 combinations of two - ...
l non • louchin~ loops

i.\k Value of II clliminating those loop gains and


products which are touching lo k1h forward path
According to this formula, construct the signal now graph from the transfer function.
From the signal now graph, state model can be obtained. While obtaining sii;nal flow
graph, try to get the gains of branches as 't/s' representing the integrators. This helps to
obtain the required state model. To clear this idea, let us consider the system having
transfer function,
Modem Control Theory 2·10 State Space Representation

Divide both numerator and denominator by highest power of s,

T(s)
a a a
i+-t+-1.+~
s 52 s 3

T161 +T262 + T363 + ·r4t14


= I -(l:Aliioop gains)+[l:Gain products of 2 n~n-touching loops]-···

Assuming that there arc no combinations of 2 and more non-touching loops.

Loop gains arc,

And let ll.1 = 62 = I).3 = l\~ = 1 i.e. all loops arc touching to au the forward paths.
Hence forward path gains arc,
b2 bl
T1 = b3' T2 = s' T3 = 2'
s

Involving various branches having gains ~· the signal flow graph can be obtained as,

Fig. 2.5

Each brand' with gain ~ represents an integrator. Output of each integrator is a state
variable. According to signal flow graph, value of the variable at the node is an algebraic
Modern Control Theory 2-11 State Space Representation

sum of all the signals entering at that node. Outgoing brunches docs not affect the value of
variable. Hence from signal flow graph.

X1 b2U + Xz - "2 y

and
.
Xz
~
b1U + X3 - «1 Y

b0U - a0 Y
y b3 U + X1
Substituting Y in all the equations,

... (la)

... (lb)
.
X3 . .. (le)

These equations give the required state model.

where
X(t) = A X(t) + B U(t)

A
f-a2
l-·•
-.10
1
1
Ol ft'2 -a2b3
0 I 13=!1>1-.i1b1
0 OJ lbo-aob3
l
and Y(t} CX(t) + DU(t)
where c [1 0 0), D = b3

Now as Y(O), Y(O), Y(O), U(O), U(O) and U(O) arc the known initial conditions, using the
derived state model, the initial conditions X1(0), X2(0) and X3(0) can be obtained.

>• Examplo 2.4 : A feedbacksi;stem is clwacteriud by t11e closed loop trausferfunction,

T(s) = s2 +3s+3
~3+2s2+3s+I
Draw a suitable signal flow graph and obtain lite state model.
Solution : Divide N and D by s3.
1 3 3 1 3 3
-+-+- -+-+-
s g2 SJ s S2 SJ
1+~+1-+..!...
s ,2 53
1J-~_1__..!...]
L s s2 s3
Modem Control Theory 2 • 12 State Space Representatlon

3
1'2=-2,
s

And 61 = d2 = 63 = 1 with no combinations of non-touching loops.


There arc mnny signal flow graphs which can be obtained to satisfy above transfer
function.
Method 1 : The signal flow graph is as shown in the Fig. 2.6.

-1

Fig. 2.6
From signal flow graph,

y X1

.
Xi X3 + 3U - 3Y ~ - 3X1 + X3 + 3U

X3 3U - Y = - X1 + 3U
Hence the state model is,

i.e, x
. AX(t) + BU(t)
Modem Control Theory 2-13 State Space Representation

and Y(t) K (1 0 OJ x231


[~
l
i.e. Y(t) = X(t) with D =0
Method 2 : When m -J. n and m < n then signal flow graph can be constructed so as to
obtain matrix A in phase variable form. This is shown in the Fig. 2.7.

-1

Fig. 2.7
From the signal flow graph,

.
X1

Xz
X2

~
.
X3 - X1 - 3X2 - 2X3 + U
and y 3X1 + 3X2 + X3
Hence state model has,

A = [ ~ ~ ~} 6 = [~} C "' (3 3 1 J and


-1 -3 -2 I

D = 0
Thus the matrix A is in phase variable form.

Note : When m < n, then transmission matrix D = 0.


Modern Control Theory State Space Representation

2) Using Direct Decomposition of Transfer Function

Th.is is also called direct programming. In this method, denominator of transfer


{unction is rearranged in a specific form. To understand the rearrangement, consider an
element with transfer function _]_. From block diagram algebra. the transfer function of
s +~1
minor feedback loop is +~H for negative feedback,
1

.!.
Lei _s_=_G_
s+a I+~ l+GH
s

where G .!.s = integrator and H = a

The feedback is negative and the


transfer function can be simulated as shown
in the Fig. 2.8. with a minor feedback loop.
Now if such n loop is added in the
H forward path of another such loop then we
get the block diagram ns shown in the
Fig. 2.8 Fig. 2.9.

1
S+i
r-----------------------1
I
I
I
I
I I
I I

I
I
I
I
I
I
I

!-----------------------~
b

Fig. 2.9

The transfer function now becomes,

s (s+a)
·;:-b S (S.j. J)
Modem Control Theory 2 • 15 State Space Representation

where X = (s ... a)

U now the entire block shown in the Fig. 2.9 is added in the forward path of another
minor loop with an integrator and feedback gain 'c', we get the transfer function as,

= -1- where Y = sX + b
sY ... c

Thus the denominator of transfer function becomes


s (sX + b) = [s (s (s + a) + b)l = s3 + as2 ... bs
Thus denominator of any order can be directly programmed as discussed above.
s2 + as + b => Is (s + a) + bl

s3 + as2 + bs + c => l[(s + a) s +b] s + c]


s4 + as2 + bs2 +cs+ d=> I([ (s + a) s + bl s + c) s + d} and so on.
Now if numerator is b1s ... b0 and denominator. Simulation is obtained directly then
the block diagram is as shown in the Fig. 2.10. But s = ~~· which is differcntfotor and is
not used to obtain state model. In such a case, take off point 'I' is shifted before the last
· integrator block.

OireCl
simulation
cf denominator

Fig. 2.10 (a)

...........
C> [>
TI~J -
U(s)

'
1--'-<Xl---Y(s)

'I
~-------------
Fig. 2.10 (b)
Modern Control Theory 2-16 State Space Representation

·~-
'I
I
I
I

--------------
Fig. 2.10 (c)

According to block diagram reduction rule, while shifting take off point before the
block. the take off signal must be multiplied by transfer function of block before which it
is to be shifted. Thus we get block of b1 with take off from input of last integrator.
Similarly if there is a term b2s2 in the numerator ihen shift take off point before one
more integrator as shown in the Fig. 2.10 (d).

~--~--_ _[_ '


'
~,. $ •
:
$ •
:
:
: ~ ;
:
:
:
----------·
Sin'u..Qtionof
numer~or bg • b,s • bit2

Fig. 2.10 (d)

Thus for any order of numerator, complete simulation of the transfer function can be
achieved.
Then assigning output of each Integrator as the state variable, state model in the
phase variable form can be obtained.
Modem Control Theory 2 .17 State Space Representatlon

1.+ Example 2.5 : Obtain state model by direct decomposition method of a system whose
transfer/1111ctiDn is

Y(s) 5s2 +6s + S


U(s) s3 + 3s2 +7s+9

Solution : Decompose denominator as below,

s3 + 3s2 +7s+9 = {(Is+ 3)s+7)s+9}

Its simulation starts from (s + J) in denominator

Fig. 2.11
To simulate numerator, shift take-off point once for 6s and shill twice for 5s2.
Therefore complete state diagram can be obtained as follows.

U(l) Y(l)

Fig. 2.12

Assign output of each integrator as the state variable.


Modem Control Theory 2 -18 State Space Representation

x~ U(t} - 9X1(t) - 7X2(t) -3X3(1)

While output, Y(t) SX1(1) + 6X2(t) + SX3(l)


: . Sta te model L•,

X(t) AX(t) + BU(!}

and Y(t) CX(t) + DU(t)


1
where 0
()]1 •
A
[_ ~ -7 -3
B=m

c = Ia 6 st .
The matrix 'A' obtained is in the Bush form or Phase Variable form.

2.2.3 Advantages
The various advantages of phase variables i.e. direct programming method arc,
1. Easy to implement.
2. The phase variables need not be physical variables hence mathematically powerful
to obtain stale model.
3. It is easy to establish the link between the transfer function design and lime
domain design using phase variables.
4. In many simple cases, just by inspection, the matrices A, ll, C and D can be
obtained.

2.2.4 Limitations
The various limitations of phase variables arc,
1. The phase variables arc not the physical variables hence they loose the practical
significance. They have mathematical importance.
2. The phase variables arc mathematical variables hence not available for the
measurement point of view.
3. Also these variables are not available from control point of view.
4. The phase variables arc the output and its derivatives, if derivatives of input arc
absent. But it is difficult to obtain second and higher derivatives of output.
5. The phase variable form, though special, does not offer any advantage from the
mathematical analysis point of view.
Due to all these disadvantages. canonical variables arc very popularly used to obtain
the state model.
Modem Control Theory 2·19 State Space Representation

2.3 State Space Representation using Canonical Variables


This method of obtaining the slate model using the canonical variables is also called
parallel programming method and matrix A obtained using this method is said to have
canonical form, normal form or Foster's form. The matrix A in such a case is a diagonal
matrix and plays an important role in the state space analysis.
The method is basically based on Partial Fraction Expansion of the given transfer
function Tis).
Consider the transfer function T(s) as,
bos"' +b,sm·t +b2srn·2+ ... +bm
T(s) =
(s+a 1) (s+a2) .... (s+ a 0)

Case 1 : If the degree 'rn' is less than 'n' (m < n), then T(s) can be expressed using
partial fraction expansion as,

c
Now each group s + ~ can be simulated using the minor loop in state diagram as
1
shown in the Fig. 2.13.
------------------,
I I
The outputs of all such groups arc
I I
to be added to obtain the resultant
output.
' To add the outputs, all the groups
I '
0
must be connected in parallel with each
~-----------------'
'- -......,....... ....,.,, other. The input U(s) to all of them is
1 same. Hence the method is called
s • a1 parallel programming. The overall state
Fig. 2.13 diagram is shown in the Fig. 2.14.
Then assign output of each integrator as a state variable and write the state equations
as,

While

X AX + BU and Y = CX + DU
Modem Control Theory 2 ·20 Stale Space Representation

U(s)

Y(s)

..
.
~---·
~--·
I

Fig. 2.14 Foster's fonn sim\Jlation

0 0

where A
[1
-a2

0
0

0
j B •[j]
C = (c1 C2 ••••• C,,) and 0=0
Case 2 : If the degree m = n i.c. numerator and the denominator have same degree
then first divide the numerator by denominator and then obtain partial fractions of
remaining factor.
N(s) ~ C;
T(s) --=eo+ k--
ocs> i•I s+a;

where Co = Constant obtained by dividing N(s) by D(s).


In such a case, the state diagram for partial fraction -.terms remains same as before and
in addition to all the outputs, Co U(t) gets added to obtain the resultant output as shown
in the Fig. 2.15.
Modem Control Theory 2 ·21 State Space Repl'8Sentatlon

U(s)

Additional elemellt

Fig. 2.15 State diagram for T(s) with m • n


Thus the state model consists of the matrices as,

c = (c1 C2 ••• c,,J, D = Co


Key Point: 17111s for m • n, direct transmission matrix D exists in the state model.
When the denominator D(s) of the transfer function T(s) has non-repeated roots
then the matrix A obtained by parallel programming has following features,
1. Matrix A is diagonal i.e, in canonical form or normal form.
2. The diagonal consists of the clements which arc the gains of all the feedback
paths associated with the integrators.
3. The diagonal elements are the poles of the transfer function T(s).

1!11$> Example 2.6 : Obtain the state model by Foster's form of a system tu/lost T.F. is,

s2 +4
(s + l)(s + 2) (s + 3)
Modem Control Theory 2-22 Stato Spaco Reprosontatlon

Solution : Find out partial fraction expansion of it

s2 + 4 2.5 s 6.5
- - ------- ,:; -·----- + --
(s -e- 1 l(s ... 2)(s + 3) s -t- 1 s+2 s+ 3

:. Total state diagram is as shown in the Fig. 2.16.

U(I)

Y(I)

Fig.
., 2.16

Y(t) 2.5X1(t)-8X2(1)+ 6.5X3(t)

State model is, X AX+ BU


and y ex+ ou

where A [-10 -20 0OJ


0 0 -3 B=m
c (2.5 - 8 6.SJ D=O
Modem Control Theory 2 ·23 State Space Representation

2.3.1 Jordan's Canonical Form


In the Foster's form it is assumed that the roots or denominator of T(s) are
non-repeated, simple and distinct. But if the roots arc repeated then the parallel
programming results matrix A in a form called Jordan's Canonical form.
Let TM has pole at s " - a1 which is repeated for r times as,
T(s) = N(s)
(s+a1)'(s+a2) •.. (s+~,.)

The method of obtaining partial fraction for such a case is,

T(s) = __
c_•-+ Cz +... +-c-'-+~+ ....+~ ... m <n
(s+a il' (s+a ,)r-1 (s+a 1) (s+a2) (s+a0)

If the degree of N(s) and D(s) is same i.e, m e n we get additional constant c0 as,

... m-=n

This can be mathematically expressed as,

... m < n

r C ,, ('
and T(s) -Co+~ ... m""n
i>1:::l (s+a, ) - + P=U·l
z: ---'-r-J·J ~ --'-
£... (s+e .)
I

Key Point: Note that in partial fraction expansion, a septrate coefficient is assumed
for caclt power of rqJtattdfactor.
In simulating such an equation by parallel programming, --1-- is simulated by
(s+a1)'

connecting -( -1-) groups, r times in series first. While all other distinct factors arc
s+a1
1
simulated by parallel programming as before. The components of each power of -( . ) to
s+a1
be added lo get output is to be taken from output of each integrator which arc connected
in series. This is shown in the Fig. 2.17.
Now assign state variables at the output of each integrator. For series i.ntegrators,
assign the state v.oriablcs from right to left. as shown in the Fig. 2.17.
Modern Control Theory State Space Representation

.:
/'•
'
. \, \
''
t '' ' '
' '' ''
'' ' :
''

G
,'' '' ' ''
''
'
:
' ' ' . --,
.'
-:'r-·---------'
1

v ; -' ...
' ' ... •
': J ': '
..f
'' ''
'' '
''
' : ::
: ''
: '''
t: t'
-rl ''
'
''
''
''
J'

•''
.
'
1-~~~~~~~~~~~~~~---------L ' ...... J'........
3
Modem Control Theory 2 -25 State S'pace Representation

For series integrators, the state equations arc,

While for parallel integrators, the state equations arc,

X,. + I = -<12 X, + I + U(t)

While

Key Point: Y(t) has additional c0 U(I) term if 111 = 11.


Hence the state model has matrices in the form,

.
f Element
--a1forrtimes~

1-•,,0
1

-a, 1 ·····
tforr-1 times

O·····O

0
0

0
O······ ········0

0 ···· ······--··O
0

0
<,
9.

0
o -a1······1

o.
0
"''
o ..... ..:a,
0 ····· 0
-,
1

-a,
O····--·--···--·

o ··············
o

o
0
0

0
A~ -1----------'
Jordan O·· ·· 0 o a2 O········--·O
block
: "-L
: ~~:
:
·O 0 ···· an

~
only diagonal
elements

Fig. 2.18
Modem Control Theory 2 ·26 State Space Representation

~1
:
r-1
times

B ?J C = (c1 C2 ••• c, <:, • 1 ... c0J

The matrix D is zero if m < n and is '<:o' if m = n. The matrix A in such a case has a
Jordan block for the repeated factor and many times A is denoted as J.

X(t) = JX(t) + BU(t) ... For repeated roots


The matrix A = J has the following features,
1. The principle diagonal consists of all the poles of transfer function with repeated
pole 'r' times and other nonrepeated poles.
2. Upper off diagonal consists of (r - 1) times unity element, as indicated in the
Jordan block.
3. All the remaining elements arc zero.
Note that the matrix B has 'r - 1' zeros and all other clements as unity. The matrix C
has all partial fraction coefficients c1, c2 ... c;,.

2.3.2 Advantages of Canonical Variables


The main advantages of canonical variables arc
1. The matrix A is diagonal
2. The diagonal clement is very important in the mathematical analysis.
3. Due to diagonal feature, the decoupling between the state variable is possible. This

.
means all 'n' differential equations are independent of each other. Thus X1 depends on X1
alone.Xi depends 011 "2 alone and so on. Such decoupling is important in system design
from controlling point of view.

2.3.3 Disadvantages of Canonical Variables


The main disadvantages of canonical variables is similar lo the phase variables. These
arc not the physical variables hence practically difficult to measure and control. Hence
such variables arc not practically advantageous, though mathematically arc very important
Modern Control Theory 2. 27 State Space Representation

1• Example 2.7: Obtain the statt model in ]ord1111'; canonicalform of a systtm wlrose T.F.
. I
IS
(s+2) 2 (s+t)

Solution : Finding partial fraction expansion,

T(s) : _A_ + _B_ + C


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

Take LCM on right hand side and equate numerator with numerator of T(s),
;.A(s + 1) + B(s + 2) (s + 1) + C(s+2)2: 1
Equate coefficients of all powers of s on both sides,
a ... c 0, from power of s2
A+ 38 + 4C 0 r from power of s
A+28+4C ... from constant term
Solving we get, A " - 1, B " - 1, C ~ 1
-1 1 1
T(s) = (s+ 2)2 - (ST 2) + (s+ 1)

Simulate first term by series integrators while other nonrepeated terms by parallel
integrators.

Yi!)

Fig. 2.19

.
Total simulation is,

Xt
.
X2 = U(t) - 2X2
.
X3 "U(t) - X3(t)
Modern Control Theory 2 ·28 State Space Representation

:. State model is , X AX+ BU and Y =ex+ ou

c = I- 1
r-02
l 0
-2
0

- 1 1j '
-~J B =

D =0
[!]
The matrix A consists of Jordan block.

Important Noto : If some of the poles o{ T(s) arc complex in nature, then a mixed
approach can be used. The quadratic or higher order polynomial having complex roots can
be simulated by direct decomposition while real distinct roots can be simulated by the
parallel programming using canonical variable, lhe example 2.8 below explains this
procedure.

l* Example 2.8 : C"111bi11ntio11 of Direct Dtco111positio11 1111d Foster's Form. Obtain tire state
modelfor tire given 1·.F.

tto ~ ·--2---
(s -e- 3) (•2 +25+2)

Solution : Obtain partial fractions as,

T(s) s 2 =~ + lls + C
(s+ 3l(s2 + 25+ 2) s+ 3 s2 + 2s+ 2

Find LCM on right hand side and equate numerators or both sides,
.'\(s 2 + 2s + 2) + (lls + C) (s + 3) = 2

As: +2As+2J\ + Bs~ +Cs+ 3Bs+ 3C = 2


Equating coefficients or all powers of s,
A+B 0 2A+C+3B=O 2A+3C=2
2A + C-3A 0 2A+3A=2
C-A 0
c A

2 2 2
Solving, A 5. B=-5,C•5

2 2 2 2 2 2
T(s) = _L + -5s+5 =l + -5s+5
(s + 3) s2 + 2s + 2 s+ 3 {(s + 2) s+ 2}

The quadratic s2 + 2s + 2 having complex roots is decomposed directly.


Modem Control Theory 2 ·29 State Space Representation

:. Complete state diagram is as shown in the fig. 2.20

U(t)

Fig. 2.20

X1 U(t)-3X1

X2 x3

X3 U(t) - 2X2 - 2X3

and Y(t) ~X1(l)+~X2(t)- ~X3(t)

:. State model is, x AX +BU and Y Q ex


0
where A [- ~ _!],Bom
0
-2

Note that in such a case matrix A does not have any specific form.

2.4 State Model by Cascade Programming


This is also called Pole-Zero Form or Cullemln's Form. This can be effectively used
when both numerator and denominator can be factorised.
In such form, group a pole and zero together and arrange given transfer function as
the product of all such groups. Then simulate each group separately and connect all such
simulations in cascade to get complete simulation. Then assigning output of each integrator
as a state variable obtain a state model in standard form.
Modem Control Theory 2. 30 State Space Representation

s+ a
Simulation of group : Consider 'S+b

First simulate denominator _l_b as in the Fig. 2.21 (a) and then as discussed earlier
s+
simulate the numerator (s + a) as shown in Ille Fig. 2.21 (b),

~------·------ ..
I

, _ - - - - - - - - - - - - _,
(a) s !b (b) ~: ~

Fig. 2.21 Simulation of a group of pole-zero

>Ill+ Example 2.9 : Obtain Ille state model of a system by cascade programming w/Jose transfer
junction is
T(s) ,. Y(sl ,. (s+ 2)(s+ 41
l/ls) s (s+ 1} (s+ 3)
Solution: Arrange the given T.F. as below
Y(s) (s+2) (s+4)
U(s) (s+l) (s+ 3)

! ! l
Group l Group 2 Group3

Now simulate each group as discussed and connect all of them in series to obtain T(s).
The complete simulation is shown in the Fig. 2.22.

Fig. 2.22

Now
.
X2 = - 3X2 +2X3 +X3
.
Modem Control Theory 2. 31 State Space Representation

and X.1 = U(tl-X3

Substituting X 3 into X2 equation,

Substituting x2 into X1 equation,

Model becomes,

and
X1

Xz

X3

Y(t)
[' ' r· ['I
0
0

X1(l)
- 3 -
0
1
1
X2
X3J
1 + I
1,
U(I}

i.e. Y(t) [1 0
OJ rn:l
So A [O0-3 1
0 0 -l
111JB=1
J
n 1

c = [I 0 OJ 0=0

Feature of A : Feature of Matrix A is its principle diagonal contains gains of all


feedback paths associated with all integrators i.c, 0, -3, -1 in above problem. All terms
below principle diagonal are zero. Thus the features of A having all poles of T(s) in its
principle diagonal still continues in this method of programming.
This method is also known as Iterative programming.

Examples with Solutions

na+ Example 2.10 ; Obtain the state model of the given network i11 tire sta11d11rd form.
Assume R1 l Q =
C1 1F =
R2 2 n c, = 1 F
R3 3Q
Modem Control Theory 2 -32 State Space Representation

Fig. 2.23

Solution : Selecting state variables as voltages across capacitors C1 and C2 i.e. c1 and c2,
R,

c1 X1(1)

~l = X2(1) U(I) J
1,(ll
+
t
Applying Kirchhoff's laws, o-------'------'---o{<')
U(t)-i1 R1 -c1 -R2 (i1-i2)=0 Fig. 2.23 (a)
U(t) = i1 R 1 "'- c 1 + R2 (i 1 - i2) ... (1)
fur second loop,
~1-i2 R;i -c2 -(i2 -i1)R2 o
... (2)

Solving simultaneously equations (!) and (2)

U(t) ;, (R, + Rz)- iz R3 + c,

"1 - i, Rz + i2 (Rz + R3) .. l'2

Substituting the values,

U(t) i 1 (I + 2) - 2i z + c 1
i.e .. U(I) . .. (3)

... (4)

Multiply equation (3) by 2 and equation (4) by 3


2 U(ll 6i1-4i2+2e1

- oi 1 ~ 15i~ • 3c~ and adding

3 U(t) + :'lc1
Modem Control Theory 2 .33 State Space Representation

... (5)

Now from equation (3)


U(t) = 3i1 - 2i2 + e1
Substituting i2 from equation (5)
6 2 6
U(t)+ IT U(t)+ IT e1 -e1 - IT e2

U(t) 3i I -fr U(t) - ~el +fr <'z +el

17 9 6
33 U(t) - 33 cl - 33 cz ... (6)

Now ... Capacitor current is C (dvc/dt)

as C1 =I,
dct 17 9 6 3 I 3
dt 33 U(t) - 33 e I - 33 c2 - IT U(t) - IT ct + IT ez

dc1 8 12 3
dt 33 U(t) - 33 e1 + 33 cz
.
X1 ... (7)

dc2
and C2(11 ... Capacitor current is C (dvc/dt)

as Cz
dc2 3 1 3
dt ITU(l)+ITel-Tfez

X2 ... (8)

and Y(t)

l [l
:. State model is, X AX + OU and y = ex + DU

where A 12 1 8 c = [O ,tJ D = IoI


[-~ -~,B=~
11 11 11
Modem Control Theory 2. 34 State Space Representation

,.., Example 2.11 : Consider t/1t mechanic.a/ system slrou•n iu figure. For sllown displacements
and velocities obtain tire state 1twdel i11 staudard [arm.
Ass11me t•elocity of M 2 as output.

v, v,

Fig. 2.24

Solution : Select the state variables as energy sloring elements i.e. displacements and
velocities related lo spring and friction.
Y1(t), x3 = V1(t)
Y2(t), X4 = V2(t)

F1(t), Y(t) = V2(t)


Draw the equivalent mechanical system. Due to F1(t), M1 will displace by Y1• Due to
spring K1 and friction 81 which arc between the two masses, the displacement change
from Y1 to Y2• While mas' M2, spring K2 and friction 8z are under the Influence of Y2
alone as K2 and 8z are with reference to fixed support and not between two moving
points. Represent each displacement by separate node. Connect the clements in parallel

Fig. 2.25
Modern Control Theory 2. 35 State Space Representation

which arc under the influence of same displacement, thus K1, B1 parallel between Y and
Y 2, m2, K2 and Bi parallel between Y 2 and reference i.e. fixed support and so on.
The spring force is proportional to net displacement in spring while frictional force is
proportional to the velocities.
At node Yi-

... (1)

At node Y2,

... (2}
Substituting all values in tenns of state variables we get,

d2Y
__ 1

= XJ
dt2

:. Substituting in equation {l) and equation (2)

U(t) ... (3)

0 M2
.
X4 + K2X2 + B2X4 + K1 [X2 - Xi)+ B1 (X4 - X3] ... (4)

From equation (3) and equation (4) we can write


.
X3 ~ {U(t)-K1(X1-X2)-B1(X3-X4)) ... (5)

.
I

and X4 [-K2 X2 -B2 X4 -K1 (X2-X1)-B1 (X4 -X3)) ... (6)


Mz

and X1 X3, X2 = X4, Y{t) = V2(t) = X4 (t)

:. State model can be constructed in the standard fonn


.
X AX+ BU
v ex .. ou
Modem Control Theory 2. 36 State Space Representation

0 0 0
0 0
K1
Where A +~
-Mi M1
K1 -(K1+Kz)
M2 M2

,..., Example 2.12 : For tht given T.F. of a system obtain t/ie stole model by

i) Direct decomposition ii} Gui/em in 's Form iii} Foster's Form


T(s} = (s+2)(s+3)
s(s+l)(s2 +9s+20)
Solution : I) Direct decomposition

s2 +5s+6 s2+5s+6
T(s) =
s(sJ + 10s2 + 29s+ 20) {([s+ IO]s+29)s+20 }s

State diagram is as follows

Y(sl

Fig. 2.26

X4 U - 20X2 - 29X3 - lOX4 ,

y 6X1+SX2+X3
Modern Control Theory 2 .37 State Space Representation

:.State model is

x AX + llU and Y ; CX + DU

["
0 0

where A
0
0
0
0
0 -20 -29
I
0
0
I
-10
•. [!]
c [6 5 I oI D= (0 I
Ii) Gullemln'sForm
(s+ 2)(s+ 3) (s+ 2) (s+ 3) 1
T(s)
s(s+ ))(s+ 4)(s+5) =(s+l).(s+4) (s+S) s

State diagram is,

UC•)

Fig. 2.27

Substituting X4 back in X J

Substituting X 3 back in X 2

and y
Modem Control Theory 2. 38 State Space Representation

:. State model becomes

x = AX+ BU and Y =ex


I 0
-5 -1
where A
[; C = [ 1 O O OJ

iii) For Foster's form :


0
0
-4
0 -11 ··m
Find out partial fraction expansion of T(s)
A ll C D
T(s) ;;;; s + 1 + s + 4 + s + 5 + S

--
-1/ 6
s+ I
. 1 / 6 3 I 10
-----.
s+4 s+5
3 / 10
-- s

U(IJ

Y(t)

Fig. 2.28
1 1 3 3
U(t)-X., Y=-6Xt+6X2-l(jXl+l(jX4
Modem Control Theory 2 .39 State Space Representation

State model is,

X =AX+ BU

l
and Y =ex
0o4
where A=
[~00 1 - 0 -~05 ~01OJ B = [~11 C=[-i 6 -to to]
111•~ EJtample 2.13 Derive tire stale model in /orda11's ca11011ical form for a system lunri11g T.F.

T(s) = l
s3 +4s2 +5s+2
Solution : T(s) = 1 = I A B C
=--+--+--
s 3 + 4s 2 + 5s + 2 (s ... I) 2 (s + 2) (s + 1} 2 (s+ 1) (s + 2)

i.e, A(s + 2) + B(s + 1) (s + 2) + qs + l) 2 = 1

As + 2A + Bs 2 + 3Bs + 2B + Cs 2 + 2Cs + C

B+C 0 , A + 313 + 2C =0 r

2A <· 28 + C
Now C = 1 , B = -I, A = 1
1 1 1
T(s) -----+--
(s+1)2 (s+l} (s+2)

State diagram L~ ,

U[I)

Y(I)

Fig. 2.29
Modem Control Theoiy 2 -40 State Space Representation

X1 - Xi+ X2

x~ U(t) - X2

X3 U(t)- 2X3

Y(s) x1 -X2 + x_,


:.State model is,
.
x AX+ BU Y =CX

where A [~1 ~1. -1


0 -2
B=m,

c = (1 - 1 1)

1• Example 2.14 : Obtai11 the state model of system whose T.F. is

s 3 + 3s2 + 2s
T(s) ------- by Foster's form.
s3 +12s2 +47s +60

s3 + 3s2 +2s
Solution: T(s) = s3 +12s2 +47s+60

As numerator and denominator are of same order we cannot directly find out partial
fractions.
For partial fraction, numerator d~'b'TCC must be less than denominator. So directly
divide N(s) by D(s} and find partial fractions of the remainder.
s 3 + 12s2 + 47s + 60) s 3 + 3s2 + 2s ( 1

s3+12s2 + 47s+ 60
- 9s2 - 45s-60

T(s} = Y(s) _ 1 [ 9s2 + 45s + 60 ]


U(s) - - s 3 + 12s2 + 47s + 60

9s2 +45s+60 ] A B C
l - [ (s+3)(s+4)(s+5) = l -'S+'3 - s+4- s+S

1 - _3_ + ~ - 2Q._
s+3 s+4 s+S
Modem Control Th~ry 2-41 State Space RepresentatlO<•

State diagram :

V(I)

V(t)

Fig. 2.30

X3 U(t) -5X3

Y(s) - 3X1+2-IX2 - 30X3 + U(s)

.·. State model is,

x AX + BU and y = ex + DU

where

C = [ - 3 24 - 30], D = [11
When N(sl and D(s) are having same order, or degree of N(s) > D(s) then, there is
always direct transmission matrix D present in the model.
•• Example 2.15 : Obtain a stat« space model of tile system will! transferfunction

Y(s} 6
U(s) $ 3+6:>2+11$ +6 (VTU:J•n.1Feb.-2007,July/Aug.-2007,Dec)Jan·2008)
Modem Control Theory 2·42 State Space Ropresantatlon

Solution:
Y(s) 6
The T.F. is U(s)
s3 +6s2 + lls+6
Using factorisation of denominator,
Y(s) 6
U(s) = (s+l)(s+2)(s ... J)

Taking partial fractions,


Y(s) = -1.._ _ _2_+_3_
U(s) s+I s+2 s+3

Hence the state diagram is as shown in the Fig. 2.31

U(s)

Yis)

Fig. 2.31

This is Foster's form of representation. From above Fig. 231 we get,

Xi U(s)-X1

X2 U(s) - 2X2

X3 U(s) - 3X3

and Y(s) 3X1 - 6X2 + 3X3


Hence the state space model is,
.=
X AX.;. BU
Modern Controltheory 2 .43 State Space Representation

and y = ex
0
where A
n -~l-2
0

m
e = (3 - 6 31

,..,. Example 2.16 : Obtain Ille state model for system represented by

•J>y + 6-J2y + 11-dy +I011=3U(t)


dt3 dt2 tit . (VTU: May·99, Dcc.2007/J•n.-2008)
Solution : System is 3rd order, n =3
3 integrators and variables are required. Select y = X 1 and then successive diffcrcntfation
of y as next variable.

x. X2 ~ dy/dt . .. (1)

d2v
X2 X3=-' ... (2}
dt2

Now as 3 variables arc defined, X 3 .,. X,1 but X3 must be obtained by substituting all
selected variables in original differential equation.

as

x3 ... (3)

y • x, which is output equation.

:. State model can be written as,


.
x AX+ BU
and y ex+ ou
L~
1
Where A 0
-11
!]·B=m,e:Jl 0 0 J, D =JOI
Medem Control Theory 2-44 State Space Representation

State diagram :

U(sl

Fig. 2.32

,... Example 2.17 : OblRin the state model of tl1t differential equation

4 ''.l'i.!.!.+ 3 'l1dl) +de(/)+ 2cllJ = Sr(t)


d 1J d 11 tit (VTU : Aug·95)

Solution :The equation can be written as,


.
4 c (t) • 3 c (t)+ c(tJ+ 2c(t) = Sr(t)

The order of the equation is 3. Selecting state variables as,


c(t}

X2<t)
. .
X1(t)

X1(t) = c(I) ... (I)

X3(t) X2(t) = c(t) ••. (2)

X3(t) c(t)

Substituting in the original equation,

4X l (t) + 3X3 (t)+ X2 (I)+ 2x, (t) = Sr(t)

2 I 3 5
-4X,(t)-4 X2(t}-4X3(t)+4r(t) ... (3)

Hence the state model is,

[ f: l [_j _Jl _J
Modem Control Theory 2·45 St.ta Space Repreaentatlon
While the output equation is,
c(t) XI (1)

X1 (I)]
i.e. y(t) " [ 1 0 OJ X2(t)
[
X3H)

•• Example 2.18 : Obtain thL stat~ modLJ of t/U! syst~ whose cl~ loop trtmsfufunction
is
cot 2(:;+ 3)
R(s) (s+l)(s+2) (VTU : Feb-97, Orl-98)
Solution : Let us use the parallel progranuning Le. Foster's form. Finding partial fractions
of C(s)/R(s).

Hence the state diagram is as shown in the Fig. 2.33

C(s)

Fig. 2.33
Hence the state equations from the Fig. 2.33 arc

... (!)

R(s) - 2X2 ... (2)

and C(s)
Hence the state model is,
Modem Control Theory 2 ·46 State Space Representation

and

1• Example 2.19 : Write a set of stale tq11nlions for tltt 11tlwork shoum itt lht F(~. 2.34
Clroose i1, 12 find vc as $/alt variables. (VTU: April-98,July/Aug.·2007)

Fig. 2.34
Solution : Let c(t) Input
Voltage across R2
i,(t)
i2(t)

vc(t) .. x,(t)
Let i1(t) and i1(t) arc the loop currents. Applying KVL to the loops.

c(t)

..• (1)

Then,

... (2)

and c~~
di
... Capacitor current

dvc 1 (. . )
(fl a C •1-lz
Modem Control Theory 2 • 47 State Spaco Representation

..• (3)

While ... (4)


Hence the state model is,

x, RI r x,
-Li
l ""'
0 -Li
X2 0 -i:;-
R2
+-
l
L2
X2
. [? where "''' "~·>
l x3 e
I
-c;
I
0 X3

and

,,_. Example 2.20 : Considering'Ve am/ 11 as state mriab/e:; and Is as tire outinu variables 111
tht circuit shown below, obtain the statt model.

R1 L

IVVV'-v-,1-.-c-· '-3)'• "


1

Fig. 2.35
(VTU : Aug. • 97)
Solution : Convert the CWTClll source to voltage source as shown.

R,

Fig. 2.35 (a)


Modem Control Theory 2 ·48 State Space Representation

Two inputs, c{t) and Ii: (t) i.e. U1 = c(t) and U2 = lg(t)
One output, l,(t) i.e. Y(t) = J,.(t)
Vnriablcs, vc = X1(t) and Ii = X2(t)
Let l,(t) and l;(t) be the loop currents.
Applying KVL to the two loops,
Loop l, -I, R1 - "c + c(t) =o
c(t) - "c
1 1
- e(t)-- vc(t)
R1 RI
1 1
Y(t) - U1 - -- X1{t) ... Output equation
R1 R1

di,
Loop 2' - L dt - I' R2 - IS R2 + v c = 0

... State equation

and current through capacitor,


dvc
CCit
1
ell, -I ;I
Substituting I, from output equation,

... Stale equation

- ~~]l~;]
y
[-R;"1 0][X1Xz(I)(t)] + [ R;"l 0][Uu,
1]
Modem Control Theory 2·49 State Space Representation

•• Example 2.21 : Derite two state models for thL system described '1y the differential
eqllation
D3y+4D2y+5Dy+2y = 2D2u+6D11+Su where D = d/dt
i) One in phase variable form.
ii) Other in /ordan-Ca11011ical form. (VTU: Mardt-2001)

Solution : Take the Laplace transform of both sides of the equation and neglect the initial
conditions to obtain transfer function of the system as,
s3Y(s)+4s2Y(s)+5sY(s)+2Y(s) = 2s2U(s)+6s U(s)+SU(s)

Y(s) 2s2 +6s+5


U(s) s3 +4s2 +5s+2

I) Phase variable form


Use the direct decomposition.
Y(s) 2s2 +65+5
U(s) = {((sH)s+5]s+21

The state diagram can be shown as in the Fig. 2.36

Fig. 2.36

So X1

and Y(s)
Modem Control Theory 2. 50 State Space Representation

So state model is having matrices,

ii) Jordan canol\i."I form :


A = [ ~2 ~S ~ l B = m and C = (5 6 2)

fllclorise the denominator as,

Y(s) 2s2 +6s+5 c _A_+_D_+~


U(s) = (s+1)2 (s+2) (s+1)2 (s+l) (s+2)

A(s+2)+B(~+l) (s+2)+C(s+l)2 = 2s2 +6s+5

As+2A + D~2 + 3Ds+2D+Cs2 +2Cs+C = 2s2 +6s+5


B+C = 2, A + 38 + 2C = 6, 2A + 2B + C " 5
A = I, B = I, C =l
Y(s) _1_ + _1_ + _1_
U(s) = (s+1)2 (s+l) (s+2)

The a.talc model is shown in the Fig.2.37 (a)

U(s)

!------<><>--- Y(s)

Fig. 2.37

So

and Y(s)
So state model is having matrices,

A = [~ ~1 ~J B = m and C = [1 1 1)
Modem Conttol Theory 2. 51 State Spa~ Representation

,.. Example 2.22 : For lht system s/1~1 in the Fig. 2.38, obtain the state 111od4 choosing
v1(t} and 112(1) as tlte state wriab/es, (VTU: July/Aug.·2005, Jan./Feb.-2007)

Fig. 2.38
Solution : Select the two currents as shown in the Fig. 2.38(a). And wfife tho equations
using KVL and KCL ..

U(t) 1 Mil vi(t) 1 Mil v1(t)


+9-':"V\NV~-..~.....,,,,'llJ\~~.-~~-<>

U(t) ~
_l .,
T 1µF~
'2
1 lµF

Fig. 2.38 (a)

U(t)-v2(tJ
... (I)
txl06

Yz(t) ~J (l t -J2) dt

C dv2(t)
i.e. ... (2)
dt
v2 -v1
... (3)
lxl06

And ~Ji2 dt

... (4)

Elliminate i1 and i2 from above equations and C = l x 10- 6 F.


Modem Control Theory 2 -52 State Space Representation

Substituting (I) and (3) in (2) we get,

c ~.l.
dt
[U(t)-v2(t) ]-[ v2(t)-v 1(t)]
ixio> lxto6
dv2
di
1+~-+!
C 1x106
Vl(t) _,!_[2V2(t)]
C txto6 C 1x106
dv2
v1(t) - 2v2(t) + U(t) ... (5)
dt
Using (3) in (4),
Vz -Vt
c~dt
Jxt06
dv1
- V1(l) + V2(t) .•• (6)
di
Select X1(t) v1(t) and X2(t) = v2(t)
Using selected state variables,

and X1 - 2Xi + U(t)

and Y(t) V1(t) = X1(l)

.
Hence the stale model is,

X(t) AX(t) + BU(t)

and

where
Y(t)

A [-: ~a
CX(t) + DU(t)

8 = [~} C = (! 01 D =0
>• Example 2.23 : DmrN two state models far thL system wit/1 transfer function,

i) For first model, matrix A must bt in companion form.


ii) For second model, matrix A must bt in diagonal form.
Modem Control Theory 2·53 State Space Representation

Solution : Arrange the transfer function as,

50x~x(s+5) 1000(s+5)
T(s) =
s(s+2)(s+50J

i) The companion form means phase variable form for which use direct
decomposition of denominator,
T(s) = 1000(s+5) lOOOs+SOOO
[s2 +52s+lOO]s {[(s+52) s+ lOO]sl

The state dlagram is as shown in the Fig. 2.39.


From state diagram,

~----l 1000 1----~

. . Fig. 2.39

and
.
X1

)'3
X2, X2 = X3

- 100X2 - 52X3 + U(t)


While Y(t) SOOOX1 + lOOOX2

A [o0 1
0
o}
1 B=[H
0 -100 -52

C = [5000 1000 OJ, D =0


ii) For diagonal form use partial fractions,

A 0 C
T(s) 5+ s+2+ s+SO

A T(s) s] = 1000x5 = 50
• •O 2x50
Modem Control Theory 2. 54 State Space Representation
. 1000(3)
B 1(s)(s+2) I. __ 2 ,. (-2) (.JS)= - 31.25

C 2 T(s)(s+SO)I • =
s=-50
.:!.~.t~.
(-50) Hb/
=- 18.75

50 31.25 18.75
T(s)
s- s+2 - s+SO

The state diagram is,

., 50

t---"-<X>--Y{t)

Fig. 2.39 (a)

Thus the stale equations are,

X1
.
U(t}, ~ =- 2X2 + U(t), ~
. =- 50X3 + U(t)
and Y(t) = 50X1 - 31.2SX2 - 18.75X3
0
Thus, A
[~ -2
0
_J} B = [~}

C ISO - 31.25 - 18.75), D = O


Modem Control Theory 2-55 State Space Representation

>'* Example 2.24 :


Fig. 240.
Derivr tire state model for two input two output systnn shown in the

't

Fig. 2.40
Select output of simple lags as state variables.
Solution : As sueeested the output of -1- is X
ee ' s·H I•
I . X
s+5 IS 2'

The state diagrams for simple lags arc,

,,
s+1

Fig. 2.40 (a)


Modem Control Theory State Space Representation

... (!)

Fig. 2.40 (b)

.. (2)

0.4 ~
,,
s+o:5

Fig. 2.40 (c)

... (J)

Fig. 2.40 (d)

~ = r2 - 2X4 ... (4)


From the given block diagram,
r1 = 1<1 [U1 - Y1) and r2 " ~ [U2 - Y21 ... (5)
Modem Control Theory 2 .57 State Space Representation

and ..• (6 a)

... (6 b)
Substituting in (5) we get,

- K1 X1 - 51<1 X2 + K1 U1 ... (7)

- 0.4K2 X3 - 4K2 X4 + K2 U2 ... (8)

Using (7) and (8) in the equations (1) to (4),

... (9 a)

... (9b)

... (9 c)

... (9d)
TI\c equations (9a) lo (9d) and (6a) to (6b) give the required state model as,

l
x = AX+ BU and Y = CX + OU where
-5K1 0 0 0
['-' ;K,J -5
A=
-Ki
0

[1 5 o o}
-SK1
0
--0.4K2
--05
--0.4K2
~K,0
Hl<i -2) r·
' B = ~I
Ki
0
Ki
c = 0 0 0.4 4 D =[OJ

,._ = =
Example 2.25 : A series RLC circuit witlt R 1 !l. L = 1 H and C 1 F is excited l!y
v = 10 V. Write the stale eq11atio11s iu Ille matrix form. !B•ngalorc Univ., Oec.·95(

Solution : The circuit is shown in the Fig. 2.41.

Fig. 2.41
Applyin_g KVL to the circuit,
. dl(t)
v = 1(1) R.,. Ldt + vc(I) ... (1)
Modem Control Theory 2 ·58 State Space Representation

and ~f i(t) dt
dvc(I)
_d_l_ ]_ i(t) ... (2)
c
Let i(l) X1 = Current through inductor
vc(t) X2 = Voltage across capacitor
V U(t) = 10 V
Substituting all the values,

10 Xi+ X1 + X2

and
.
X1

~ X1
-X1 - X2 + 10 ••. (3)

... (4)
Hence state equalions in matrix form are,

[xX2•
1] = r-1 -11 [x [10]
l O X1] + 0 U(t)
2

n• Example 2.26 : Obtain tltt state space representation in phase variable Jann for the
system rqiresmtl'd by. D4y + 20D3y + 45D2y+ 18Dy+100 y =10D2u+S Du+ 100 u
witlt y as output a11d u as input. (VTU: Ja.nJFeb.•2005)
Solution : Phase varalble form
Taking Laplace transform of both sides and neglecting initial conditions,
s~Y(s)+ 20s3Y(s)+ 45s2Y(s)+ 18s Y(s)+ 100 Y(s) % IOs2U(s) + 5s U(s)+ 100 U(s)

Y(s) tos2 + 5s+ 100


U(s) = 54 + 20s3 + 45s2+18s+100

Using direct decomposition,


Y(s) l0s2+5s+IOO
U(s) {[([s+ 20)s+ 45) s+ IS]s+ 100}

The state diagram is as shown in Fig. 2.4.2


Modem Control Theory 2 .59 State Space Representation

Fig. 2.42

. .
The state equations arc,
. .
x, =X2, X2 =X3, X3 =X4, x~ =-toox, -t8X2 -4X3 -20X,, + u

and

>'* Example 2.27 : Obtain the state mode! of flit system rrsponsed by the followi11g differential
equation : y + 6 y + 5 y + y = u. {VTU: July/Aug.· 2005)
Solution : Take Laplace transform of both sides neglecting initial conditions,

s3Y(s)+ 6s2Y(s)+ 5sY(s)+ Y(s) = U(s}

Y(s)
U(s) s3 + 6s2 + Ss+l
Y(s) I
U(s} {[(s+ 6)s+ 5]s+ l}
The state diagram is shown in the Fig. 2.43

Y(s)

1S!ttJ Fig. 2.43


Modem Control Theory 2 -60 State Space Representation

. .
The state equations are,

xi =X2. X2 =X3.
.
X3 =-XI -5Xz -6X3 + u

and

O I
A 0 0
[-1 -5

1 .. Example 2.28 : Obtain two 1/ifferent slatt models for a system represented by tire
followmg transfer function. Write suitable state diagram in tach rase.
(VfU: July/Aug.·2005)

Y(s) 8s2 + 17s+ S


U(s) (s+ 1) (s2+Ss+1s)
Solution : 1) Direct decomposition :

Y(s) 8s2+17s+ 8 Ss2+17s+ 8


t..:(s) s3+9s2+23s+15 {l(s+9)s+23js+15}

The state diagram is shown in the Fig.2.44

. Fig. 2.44

X3 "'-15Xt -23X2 -9X3 + U

Y "' 8X1 +17X2 +8X3

A = r~ ~ ~ "'r~J.
-15 -23 -9
l· B
1
C"' (817 8]
Modem Control Theory 2. 61 State Space Representation

2) Foster's term :
Y(s)
U(s) =
A = - 0.125, B = -7.25, c = 15.375
Y(s) -0.125 7.25 15.375
-- = -----+--
U(s) s+l s+3 s+5

The state diagram is shown in the fig. 2.45

Fig. 2.45
The state equations arc,

Y = - 0.125X1 -7.25X2 +15.375X3

A=
[-100 -301 -50OJ ,B= [']11 ,C=(-0.125-7.2515.375]
.

,_. Example 2.29 : Choosing appropriate physical variables as state variables, obtain the
slate modelfor tho tlectric circ11it shown i11 Fig. 2.46 (VTU: JanJFeb.·2006)

M
Modem Control Theory 2 ·62 State Space Representation

IH rn y(t)

Fig. 2.46

Solution : The various currents arc shown in the Fig. 2.46(a).

1F

Fig. 2.46 (a)


The volatagc across resistance and second inductor is y(t).

y~) = y(t) .•.. (1)

di
and 1x ~ = y(t) .... (2)
di
The voltage across capacitor is, u(t)-y(t)
dvc(I) _ dvc(I)
ic(l) C-d-1- - -d-t- .... (3)

di
and I '< _!:..!. u(t) - y(t) ~ vc (t) ..... (4)
dt
dil I
From (4), y(I) u(t) - dt = u(t) - vc(t)

dil2
Using in (2), di u(I) - vc(t) .... (5)
Modem Control Theory 2 ·63 State Space Representation

Applying KCL at node A,

dvc(t) .
·-d-1
- +I LI i1.2 + y(t)

dvc(t)
-d-1- = u(l)-vc(tl-iu +i1.2 ... (6)

.
X1
dill
dl;X3 . .. from (4)

.
X2
di, 2
dl =-X3+ U ...from (5)

.
X3
dvc(I)
_d_t_ = -X, +X2-X3 + U . .. from (6)

di, •
and y di2 = X2 =-X3 +U .. .from (2)

A [~ ~ -11].B=[~].C=fO 0 -l),D=[l}
-1 0 -1 I

JI* . Y(s) s(s+ 2)(s + 3)


Example 2.30 : For lite transferfunction R(s) ~ --..,,---
(s+ 1)2(s+4) (VfU: Jan./Feb.·2006)

Obtain lite state model in


i) Phase variable canoP1icalfarm
ii) fordan CanoP1ica/ form
Solution : i) Phase variable fonn
Y(s) s(s+2) (s+3) s3 +5s2 +6s
R(s) = (s + 1)2(s+4) s3 +6s2 +9s+4

Using direct decomposition,


Y(s) s3 +ss2 +6s
R(s) {[(s+6}s+9)s+4}
Modem Control Thoory State Space Representation

The state diagram is shown in the Fig. 2.47.

R
x,

.
x,=X2,
.
X2=X3.
Fig. 2.47

X3=-4X,-9Xz-6X3+R

Y = 6X2 +5X3 +X3 = 6X2 +5X3 -4X1 -9X2 -6X3 +R

Y = -4X1-3X2-X3+R

A [~4 ~9 ~JB=m,C=(-4 -3-1),D=(l)

m Jordan Canonical form :


As the degree of denominator and numerator is same, first divide and then obtain
partial fractions
s3+6s2+9s+-I} s3-f-5s2+6s (1

s3 +6s2 +9s+4

A(s+4)+ B(s+ l){s+4) +C(s+1)2 s2+3s+4


Modem Control Theory 2-65 State Space Representation

:. As+4A + Bs2 +5sB+4B+Cs2 + 2Cs+C = s2 + 3s+4

:.B+C = 1, A+5B+2C=3, 4A+4B+C=4


A= 0.666, B = 0.111, C = + 0.888

Y(s) I { 0.666 0.111 0.888}


R(s) ~ - (s+t)2 + (s+l) + (s+4)

I _ 0.666 _ O. lll _ 0.888


(s+t)2 s+ I s+4

Fig. 2.48

y = - o.111x1 -0.666X2 - o.sssx 3 + R

A=
[
-1
~
0
-1
0
_n' =[~]·
B C = [-0.111 -0.666 -0.888), D = [1]

11.. Example 2.31 : Fig. 2.49 shows tltt block diagram of a speed control systtm tuillt stute
variable feedback. Tltt drive motor is an armalurt co11trolled d.c. motor willr · amiature
resistance R., armature inductance L., motor torque constant Kp inertia referredlo consta11I
K~ and tachometer K1. The applied armature voltage is ctmtrolled by a three phase
full·converter. ec is control voltage, e4 is an11ature voltage, e, is the reference voltage
corre:.-pondi11glo the desired spted. Taking X1 = w(speed) and X2 = i4 (armaluu current} as
lht stale variables, u = e, as tltt i11put, and y = w as the 011tp11t, derive a state variable
mode for the feedback system. (VTU: July/Aug.·2006)
Modern Control Theory 2 -66 State Space Representation

Fig. 2.49

Solution : For armature controlled d.c, motor,


di, . ) ...... (1)
v.(t) L•{it+•.R, +cb(t
and KbW(t) ...... (2)

...... (3)
The torque produced is used to drive the load against inertia J and friction B.

Tm J~~+BIJl ..... (4)

dlJl
ldt+BIJl

d~)
...... (5)
dt

The state variables arc X1 =<oand X2 =i,

..... (6)

From the equation (1),

va(t) = L,, d~; + i, R, + Ki.(J)(t) ..... (7)


Modem Controi Theory 2 -67 State Space Representation

But the armature voltage v. is controlled by three phase full converter.

KclK1 x-K2 i, J
K<K1x-K,K2i,
K,K1[c, -K1ooj-K,Kii,

Fig. 2.50

Using this in the equation (7) above,

Kc K tcr-
• Kc K 1 K,m- Kc K2•.,=
. Ladt
di, +• · .. R a+ Kb(tl

di,
....(8)
dt

X2 .... (9)

And y
The equations (6), (9) and (JO) give us the required state model with,

l
].c~ll
Kr
A -(/Kc R )J'B=[~<K1L o]
2+ •
L, •

2
,,.... Example 2.32 : For a transfer function given by G(s) ; , write tire state model
s2 +3s+2
in the:
i) Phase variable form ii) Diagonal form
Solution : i) Phase variable form using direct decomposition
G(s) ; __2_; 2
s2 +3s+2 [(s+3)s+2]
....
Modem ControlTheory 2-68 State Space Representation

Fig. 2.51

X1=X2, X2=-2X1-3X2+U, Y=2X1

A = [~2 _ ~], B = [~], C = {2 O]

ii) Diagonal form using Foster's form

2 2 A G
G(s) = (s+I) (s+2)
=-+-
s+ I s+2
s2 +3s+2

2 2
A (2-1) = 2' B = (-2+1) = -2

2 2
G(s)
s+1-s+2

u
X1=-2X2+U

y Y = 2X1 +2X2

:.A=[-~ -02}B=[~]
:.C = (2 2)

Fig. 2.52
Modem Control Theory 2. 69 State Space Representation

•• Example 2.33 : For the network shown i11 Fig. 2.53, c/ioosi11g i1(t) = X1(1)
and ifl) =Xz(t) as statt variables, obtain lite state equation and output equation in vector
matrix form.

-1
1H Hl

- •,(t) i,(t)-i2(l)
1H
u(t)

~------12-(l_)l~---~
- 10
1 0 y(t)

Fig. 2.53
(VTU: o.c.-2007/Jan.-2008)

Solution : Applying KVL to the two loops,


di, di ,
-dt-i1 -dt-i2 +u(t) 0 ...Loop I

0 ... Loop 2

di2
... (1)
dt
Using (1) in equation for loop l,
di,
dt = -i1-(i1-2i2)-i2+u(t)=-2i1+i2+u(t) ... (2)

... (3)
.
X2 ...(4)

and ... (5)

and y(t) (1 -t][~~]


A [;2 _aB=[~],c=(l -1},D=(O)
Modem Control Theory 2. 70 State Space Representation

Review Questions
I. Discuss the 'dtrilllltion of the state model 11Sing fallowing mtthodJ of programming.
i) BU5h form ii) Gulltmin's form
iii) Foster's form iv) fordan's form
2. fl•bornlt upon tht basis of Mktling suitable stalt rJariablts for • systtm.
3. Obtain lht sl•I• tnodd for the block diagram shown.

U{t) Y(t)

4. Vo/toge nrross r«p<1dlor is Ye- With "c and il as n Ml of M•lt variables dniot tJie shllt ltW<ILI.

5. Qm.sWt·rth~ pernianent mngrtrl movingcoil in.strummt 4.f shoton,


Here, t = Vollagt to b< '"""5urtd, Coll
R = A rmalure Rtsistantt,
L ~ Armal·urr Inductance ,
constant relating
i = Currtnl through 1trmahtrt toil ,
I= M.I. of rotating part , K, = Spring amstant •
Kr = Tonpu conshud rclnting i .ind T ,
l)eriVo' its state model.
Aru. : x = AX + llU y = ex+ OU

whtttA •
[
4 -~ -ti ·{!'Jc·""'
n
Modem Control Theory 2. 71 State Space Representation

6. For " mt'chanirnlsystem slwwn below obtnin its st.all model in sttlndardform. Assum1 output as
Y(IJ.
Ans.:X=AX+BD, Y•CX

TY(l)

where A =[ ~
-M -M
~ ] B =[ O } C
1/M
= (0 1)
7. Obtain the slate model in standard Busl• form of a system shown in figure.
Ans.: X =AX+ BU, Y=CX

U(sl Y(s)

0 l
0 0
where A=
0 0 0
C = [72 96 24 OJ

L -288 -176 -98

8. Statt whether lhL ffJllowing stetemm! is True or Faist rvith reasons :


1·~ stale 1pace approachof llie system nnalysi$ is n frequency domain analysU.
9. Statt wlrether tht follmuing stalrmtnt is Trut ~r Fnlst with r~on.
Tht slalt space approach of the system analysis is a time domain analysis.
Modem Control Theory 2. 72 State Space Representation

JO. For tht merha11iat/ •yslem •hawn ill ftg11rt input is uft) and output is y(t). Obtain stalt equntiqn
awl output eq11ation. Repre;e11t lllL sysl<1n by blodc diagram.

QQQ
Matrix Algebra and Derivation
of Transfer Function

3.1 Background
The methods of obtaining the state model in various forms, from the transfer function
of a system are discussed in the last chapter. It is also seen that the state models can be
different and not a unique property for the given system.
But most important point about the system Is Its transfer function is always unique.
Though number of state models are derived for the system, the transfer function of the
system, obtained from all of them is always unique for single input single output system.
In this chapter the method of obtaining transfer function of the system from its state
model is discussed. The concepts of diagonalisation of system matrix A, eigcn values and
elgcn vectors arc also included in this chapter. Number of methods from matrix algebra
are used to understand the relation between stale model and transfer function hence
revision of matrix algebra is included in the beguuung of this chapter.

3.2 Definition of Matrix


A matrix is an ordered rectangular array of elements which may be rcal numbers,
complex numbers. functions or mathematical operators. The order of matrix is always
defined as m x n.
where,

m Number of rows

n = Number of columns

For example, consider matrix A of order 2 x 4 of real numbers.


4 3 1]
A = [6 1
-z _... 2 Rows
0 8 ....
!. !. .!. J.
4 Columns

(3 • 1)
Matrix Algebra & Derivation
Modem Control Theory 3-2 of Transfer Function

Any clement of a matrix is denoted as ail where i indicates position of row and j
indicates position of column. Thus for matrix A above a11 = 4, a13 = - 2, a22 =
1 and so
on.
Koy Point: Note that mal'rix does 1101 have a value but its detenninant has a value.
A matrix with number of columns as 1 Le. order m x 1 is called column matrix while
a matrix with number of rows as 1 i.c, order 1 x n is called row matrix, It is seen that
vector matrices X. X, Y are the column matrices.

3.2.1 Types of Matrices


The various types of matrices are.
1. Square Matrix : If number of rows (ml is equal to number of columns (n) of a
matrix, it is called a square matrix. The system matrix A in a state model is always
a square matrix of order n x n.
2. Diagonal Matrix : It is a square matrix with a.II a1; =
0 for all i ~ j. Only main
diagonal clements arc present which arc nonzero while all other clements are zero.
For example,

3. Unit Matrix : This is a diagonal matrix, with all the main diagonal elements equal
to unity. It is denoted as 1 and also called identity matrix.
The unit matrix of order 3 x 3 is,

I =
-l,0
l 0
o o]
0 0 1

4. Null Matrix : This is a matrix having all its elements as zero. It need not be a
square matrix.
5. Transpose of a Matrix : If the rows of columns of m x n order matrix arc
interchanged then resulting n x m order matrix is called trnnspose of the original
matrix. If given matrix is A then its transpose is dl'TIOll'CI as AT.

o 1 21
A [2 5 4j.
2x3
Matrix Algebra & Derivation
Modem Control Theory 3.3 of Transfer Function

The proper11es of transpose arc,

!. (A + B)T =AT+ BT

2. (AB)T =BT AT

6. Symmetric Matrix : If transpose of a matrix is matrix itself, it is called symmetric


matrix. It is a square matrix.
AT A

A
[ I -4]
-4 1 •
AT= lr
-4
I -4]I

7. Conjugate Matrix : The conjugate of a matrix is the matrix obtained in which each
clement is the complex conjugate of the corresponding clement of the original
matrix. It is denoted as A'.

_ [I +j2
A - 2 -j4
l+jl] A'= rll -j2 1-jl]
3+j2 ' 2 +j4 3-j2

8. Singula.r Matrix A square matrix having its determinant value zero is called
singular matrix.

and IAI = j 0.51


1=2 - 2 = 0
4
2

Thus A is singular matrix.


9. Nonsingular Matrix : A square matrix whose determinant is nonzero is called
nonsingular matrix.

A=[:!] and IAl=1: ~1=24-10=14"0

10. Skew Symmetric Matrix : A square matrix which is equal to its negative
transpose is called a skew symmetric matrix.
AT = -A

3.2.2 Important Terminologies


Let us study the important terms and their meanings related to the matrix.
1. Minor of an element : Consider a square (n x n) matrix A and the clement aij. If
now ith row and jth column are deleted then the remaining (n - 1) rows and
columns form a determinant M;i. The value of this determinant is called the minor
of an clement ll;j·
Matrix Algebra & Derivation
Modem Control Theory 3-4 of Transfer Function

Consider a square matrix A as,

A ~ [~ ~ ~]

Let us obtain minor of element alt = 1. Delete second row and first column to get
determinant M21.

Thus minor of 'a21' is 7.


2. Cofactor of an Clement : If M;i is the minor of an element aij then cofactor C;i is
defined as,

I cii = <- ll; + i Mij I


Thus for the matrix A considered above, the cofactor of "it is,
C21 = (- 1)2 • t M21 = (- 1)3 >< 7 = - 7
3. Adjoint of a matrix : The adjoint matrix is the transpose of a cofactor matrix. The
cofactor matrix is the matrix obtained by replacing each clement of a matrix by the
respective cofactor.

I A~j A = (Cofactor matrix of A]T I


n•~ Example 3.1 : Find tlrt adjoint matrix of the matrix A,
'
1 0 3]
A=
[2 4 1
3 2 2
Solution : Th" cofactors of all the clements are,

C11 = (- !) 1+·14 2 2 11 = 6, C12 = (- 1) 1 + 212 3 ~I= - 1


C13 = (-1)1 +31~ ~I= - 8, C2t = (- 1)2 + 110 2 31
2 = +6

C22 = (- 1)2 + 2 113 ~I= - 7, C23 = (- !)2 • 31 ~ ~I= -2


Matrix Algebra & Derivation
Modem Control Theory 3.5 of Transfer Function

Cofactor matrix
-1-7 -8]
-2
[-1~ +5 4

-1-7 6 -12]
Adj A
[ _1~ +5 =:r =[~ -7
-2 4
5

4. Rank of a Matrix : To find the rank of a matrix means to search for a highest
order determinant from a given matrix which is having nonzero value. Thus if
r x r determinant has a nonzero value in a given matrix then the rank of a matrix
is 'r' and any determinant having order r + 1 or more than that has a zero value.
For example, consider matrix A as,

A = [~ ! ~]
Now
112 2
4 1
31 = -5:t0
1 I 1 1

Thus 3 x 3 determinant is nonzero hence rank of matrix A is 3.

i• Example 3.2 : Find rank of A = [~ !]


8olutlon : For the matrix A,

I~ !I= 0 hence rank is not 2.

Any other determinant of order 1 x 1 is nonzero. Hence rank of matrix A is 1.


S. Equality of Matrices : The two matrices A and B are said lo be equal if they have
same number of rows and columns and the elements of the corresponding
orientations arc equal.
Matrix Algebra & Derivation
Modern Control Theory 3-6 of Transfer Function

3.3 Elementary Matrix Operations


The various elementary matrix operations arc.
1. Addition : The two matrices A and B can be added to get C = A + B if both A and
B arc of same order and,

LS:o = a;1 + b,j for all i and j I


2. Subtraction : The two matrices A and B can be subtracted to get C = t. - B if both
A and B arc of ~me order and,

I C;i = a11 - b;J for all i and j I


Associative law holds good for both addition and subtraction of the matrices.

[A ± BJ ±c = A ± IB ±CJ
where all A, B and C matrices have same order.
3. Multiplication by scalar 'ex' : A matrix is multiplied by a scalar 'ex' if all the
clements of a matrix are multiplied by that scalar 'ex'.
cxa 11 <la12 exalnl
Cltl 21 a.a22 Ctn2n
exxA= ,
[
<XU nl r.tan2 cxann

4. Multiplication of Matrices : The multiplication of two matrices is possible if


number of columns of the first matrix is equal to the number of rows of the
second matrix. Such matrices arc called conformal matrices.
Thus if A is of order m x n and B is of order n x p. Then the multiplication C = A x B
is of order m x p. The clements of matrix C arc obtained as,

C;i = I," a Ik bkj for i = 1, 2 ... n and j ~ 1, 2, ... P


l =I

Thus if A is of order 2 x 2 and B is of order 2 x 3 then C = A x B has a order 2 x 3.

A ["11
a 21
•p]
a~
B =[b11
b21
b12
b22
b13]
b23

C AxB
•11b11+a12b2t •11b12+a12b22
[ 321b11 +a22b21 321b12 +a22b22
Matrix Algebra & Derivation
Modem Control Theory 3.7 of TransferFunction

Properties of Multiplication

J. Commutative law is not valid for the matrix multiplication.

AB "' BA
2. The transpose of a product is the product of transposes of individual
matrices in the reverse order.

,..,. Example 3.3 : Obtain tire matrix multiplicationof.

.4
3
= [~ ~
-Ji =[1 0 -1.]
B 2 1 0

Solution : A has order 3 x 2 and ll has order 2 x 3 hence C = A x ll has order 3 x 3.


3xl-lx2 3x0-lxl 3x-1-lx0]
c Ax B = Oxl+lx2 OxO+lxl Ox-l+lxO
[ 2x I +Ox2 2xO+Ox1 2x-1 +OxO

[~ -: -~]
2 0 -2

3.4 Inverse of a Matrix


In algebraic calculations we write ax =y
i.e.

Similarly in matrix algebra we can write,


AX B
i.e.
where Inverse of matrix A
The inverse of a matrix exists only under the following conditions,
I. The matrix is a square matrix.
2. The matrix is a nonsingular matrix.
Matrix Algebra & Derivation
Modem Control Theory 3-8 of Transfer Function

Mathematically inverse of a matrix can be calculated by the expression,

_ 1 [Adjoint of A)
A "-jAj

3.4.1 Properties of Inverse of a Matrix


1. When a matrix is multiplied by its inverse, the result is the identity matrix.
A-1A = AA-l =I
2. Inverse of inverse of a matrix is the matrix itself.
(A-lf l = A

3. Inverse of a product of two matrices is the' product of their individual inverses


taken in the reverse order.
(ABrt = 5-l A-1

.......
1....,.. Example 3.4 : Find the inverse of A = lf24 13}
Solution : Check that A is nonsingular.

IAI I~ :1=2 - 12 = _ 10
[Adjoint o( A)
IAI

[-~1 --3]~r
Adj A [Cofactor of A)T

= [_: -:1
[~ = [--0.1+0.3]
-10 +0.4 -0.2

Cross check: AA-1= [~ :][:~:: :~:~] ·[~ ~]-1


Important Observation : For 2 x 2 matrix, the adjoint of the matrix can be directly
obtained by changing the positions of main diagonal elements and by changing the
signs of the remaining clements.
Matrix Algebra & Derivation
Modem Control Theory 3-9 of Transfer Function

For example, A ~ [~ :] , Adj A= [ _: -n


This result is directly used hereafter while solving the problems, when matrix has an
order 2 x 2. Note that for any other order of matrix the adjoint must be obtained as
transpose of cofactor matrix.
With this study of matrix algebra, let us discuss the method of obtaining transfer
function from the state model.

3.5 Derivation of Transfer Function from State Model


Consider a standard state model derived for linear time invariant system as •
.
X(t) A X(t) + B U(t) ... (la)

and Y(t) C X(t) + D U(t) ... (lb)

Taking Laplace transform of both sides,


[s X(s) - X(O)I A X(s) + B U(s} ... (2a)
and Y(s) C X(s} + D U(s} ... (2b)
Note that as the system is time invariant, the coefficient of matrices A, B, C and D arc
constants. While the definition of transfer function l~ based on the assumption of zero
initial conditions i.e. X(O) 0. =
s X(s) A X(s) + B U(s)

s X(s) - A X(s) B U(s)


Now s is an operator while A is matrix of order n x n hence to match the orders of
two terms on left hand side, multiply 's' by identity matrix I of the order n x n,

sl X(s) - A X(s) B U(s)

(sl - Al X(s) B U(s)


1,
Premultiplying both stdes by [sl - Ar
1
[sl - Af Isl - A) X(s) [sr - Ar 1 BU(s)
Now [sl - Ar 1 [sl - AJ l
X(s) [sl - Ar 1 BU(s) ... (3)
Substituting in the equation (2b ),
Y(s) c Isl - Ar 1 B U(s) + D U(s)
Y(s) {C [sl - Ar I B + 0) U(s)
Matrix Algebra & Derivation
Modern Control Theory 3 -10 of Transfer Function

Hence the transfer function is,

Tts) = Y(s) = c (51 - Ar l B+D ... (4a)


U(s)

Adj(sl-AI
Now Isl -Ar1 Isl-Al

T c Adj(sl-AI n D
(s) = Isl-al + ... (4b)

Key Point: Tire state model of a sys~11 is 11ot unique, but tire tra1L,fer f1111ctio11 of
obtai1wtl from any stale model is unique. 11 is indrpcndent of tire met/rod used lo express tire
system in slate model form.

3.5.1 Characteristic Equation


It is seen from the expression of transfer function that the denominator is Isl - A [.
Now the equation obtained by equating denominator of transfer function to zero is
called characteristic equation. The roots of this equation arc the closed loop poles of the
system. Thus the characteristic equation of the system is,
Isl-A( = 0 ... Characteristic equation
The stability of the system depends on the roots of the characteristic equation. In
matrix algebra, the roots of the equation I sf - A I = 0 arc called cigcn values of matrix A
and these arc generally denoted by A.
i• Example 3.5 : Consider a system having stale model

f XI l = [-2 -31J (; ~] + [~] U anti Y = I 1 1 I [~~]


I• ! .1 2
L X2 j
witlr D "' 0. 0!1tain its T.F. (V'fU: )anJFcb.·2008)
Solution:

T.F. c Isl-Ar' s
Adj[sl - A]
Isl -Al

(sf - A) 5 [1 o]-(-2
0 J ~
-312j = [s0 o]-[-2 -3]
s ·t4 2
Matrix Algebra & Derivation
Modem Control Theory 3·11 of Transfer Function

[sl -Al
l"s+2
-4
3]
s-2

Adj - 3]
s+ 2

Isl - Al (s + 2) (s - 2) + 12 = s2 - 4 + 12 = s2 + 8

[s~2 s~2]
s2 + 8

[l I[s~2 -3] f3]


5_,,_ = l 1 1
__ _,,___s_+_2-:-,_L I
[3s-21]
Ss+ 22
T.F.
s2 + 8 s2 +8

{Ss + 1]
s2 + 8
3.5.2 MIMO System
For multiple input multiple output systems, a single transfer function docs not exist.
There exists a mathematical relationship between each output and all the inputs. Hence for
such systems there exists a transfer matrix rather than the transfer function. Bul the
method of obtaining transfer matrix remains same as before.
11111+ Example 3.6 : Determine the lrausfer matrix for MIMO system givtn by,

[~1]J L-2o 3][x']


Xi x -5 2
=[11 1J[u'],
1 u
[Y']=[2 o1J[xx
2 Y2 1
1]
1

Solution : From the given state model,

A [ 0 3}
-2 -5 B = [: :} C = [~ ~} D =[OJ

T.M. C!sl-A]-l B+D

[sl-AI s
[2 s+S
-3]
Adj [sl - A) ell C1.2]T = [s+5 -2JT = [s+5 .s3]
[C21 C22 3 s -2

Isl-A I s2 +5s+6= (s + 2) (s + 3)
Matrix Algebra & Derivation
Modem Control Theory 3-12 of Transfer Function

Adj (sl-A)
[s_+: ~]
(sl-AI (s..2)(s..3)

T.M.

[2I 1]0 [s+S s+S] [3s+14 3s+14]


s-2 s-2 s+S s+S
~2)(s+3-)-=

[
3s+ 14
(s+2) (s+3) (s+2) (s+3)
s+S s+8
,. ,. l
(s+2) (s+ 3) (s+2) (s+3)
(s+2)(s+3)

'"" l
i.e. Y(s) T.M. U(s)
3s+ 14
(s+2) (s+ 3)
s+S
[
(s+2) (s+ 3)

The above relation indicates that each output depends on both the inputs.

3.6 Eigen Values


Consider an equation AX = Y which indicates the transformation of 'n x 1' vector
matrix X into 'n x 1' vector matrix Y by 'n x n' matrix operator A.
If there exists such a vector X such that A transforms it to a vector JJ<. then X is called
the solution of the equation,

i.e. 0
i.e. (Al- A)X 0 ..• (1)

The set of homogeneous equations (1) have a nontrivial solution only under the
condition,

I p.. 1-AI ~o I ... (2)

The determinant I}.. I - A ( is called characteristic polynomial while the equation (2) is
called the characteristic equation.
Matrix Algebra & Deriv1tlon
Modem Control Theory 3-13 of Transfer Function

After expanding, we get the characteristic equation as,


1
p..r - A I = )." + a1 A" - + ... + a0 = 0 ..• (3)
The 'n' roots of the equation (3) i.e. the values of ). satisfying the above equation (3)
are called elgen values of the matrix A.
The equation (2) is similar to Isl - A I =
0, which is the characteristic equation of the
system. Hence values of ), satisfying characteristic equation are the dosed loop poles of
the system. Thus eigen values are the closed loop poles of the system,

3.7 Eigen Vectors


Any nonzero vector X; such that AX; = A; X; is said to be cigcn vector associated with
eigenvalue ),;·Thus let ). = A; satisfies the equation,
().1 I-A) X = 0
Then solution of this equation is called eigen vector of A associated with cigen value
).1 and is denoted as M1.

If the rank of the matrix P·; I - A) is r, then there arc (n - r) independent eigcn
vectors. Similarly another important point is that if the eigen values of matrix A are
all distinct, then the rank r of matrix A is (n - 1) where n is order of the system.

Mathematically, the cigen vector can be calculated by taking cofactors of matrix

I
0.1 I - A) along any row •
..--~~~~~~~~~~~~~~~~~~~

ckl
Thus M; = Eigcn vector for A; = :~ where k = 1, 2, ... n
[

where Cid is cofactor of matrix (/,.; I - A) of k1h row.


Key Point: If the cofactors along a particular row givts null solution i.e. nil elements of
corresponding eigen vectors are zero then cofactors along any other row must be ob/nilled.
Otherwise inverse of modal matrix M cannot exist.

3.8 Modal Matrix M


Let :>..1, 1.2, ..• /,.n are then eigenvalues of the matrix A while M1, M2, ... ~are the
eigen vectors corresponding to the eigcn values ).1, ).2 ... An respectively. Each eigen
vector is of the order n x 1 and placing all the cigcn vectors one after another as the
columns of another matrix, n x n matrix can be obtained. Such a matrix obtained by
placing all the eigen vectors together is called a modal matrix or diagonalising matrix of
matrix A.
Matrix Algebra -& Derivation
Modem ControlTheory 3 -14 of Transfer Function

I M ; Modal Matrix = (M1 : !\,~ : ... : M.,l


The important property of the modal matrix is that,
AM A (M1 : M2 : ... : M,,I
(AM1 : AM2 : •.. AMnJ
[i-i M1 : ~ M2 : .•• : Ar, M,,)
AM MA .•. (1)

r1..1 0 0
where A Diagonal matrix = j
:o : 1..2 0
I.co 0

Thus premultiplying equation (1) by M • 1•


M- 1
= M- 1M A
AM

M - 1 AM = A (Diagonal matrix)

It can be noted that,


1. Both A and A have same characteristic equation.
2. Both A and A have same eigen values.
Hence due to transformation M • 1AM, eigcn values of matrix A remain unchanged
and matrix A gets converted to diagonal form.

3.8.1 Vander Monde Matrix


If the state model i.~ obtained using the phase variables then the matrix A is in Bush
form or phase variable form as,
0 I 0

:I
0 0
A
0 0 0
-<-ln --an-I -;) n-2 -a 1J
And the characteristic equation i.e. denominator of T(s) is,
F(s) = s" + a1 s" - 1 + ... + an_ 1 s + a0 =0
Matrix Algebra & Derivation
Modern Control Theory 3 -15 of Transfer Function

In such a case, modal matrix lakes a form of a special matrix as,

Ai i..2 ),.n

v )..2 },~ )..~,


I

A)- i l.!r2 ;.n-1


'11

Such a modal matrix for matrix A which is in phase variable form, is called Vander
Mondc matrix .
,...., Example 3.7 : Consider a state model witlt malrir A as,

2
A 0 OJ
\l
-3~ -9

Determine, a) Characteristic equation. b) Eigen values c) Eigen vectors and d) Modnl


matrix. Also prove that the transformn/io11 M- 1AM results n diagonal matrix.
Solution : a) The characteristic equation is p,1 - A I =0
1 0
). 0 1 0 -011 40 2
0 01
1 0
10 0 1 I -48 -3~ -9

I -~ -~ -~ l
48 34 ).+9
= 0 ... (!)

:.)..2 (I.+ 9) + 2 x 48 + 0 + 0 - 8 (1.. .. 9) + 34 ). = 0


)..3+91?+26).+24 = O
This is required characteristic equation.
b) To find eigen values, test A= - 2 for its root.

-2 9 26 24

- 2 - 14 - 24

7 12 0
Matrix Algebra & Derivation
Modorn Control Theory 3 -16 of Transfer Function

(), + 2> p.2 + n + 12) o


i.e. (), + 2) (/..+ 3) (). + 4) 0
i.e, - 2, 1..2 = - 3 and /,3 = - 4
These arc the cigcn values of matrix A.
c) To find eigen vectors. obtain matrix (l.i I - Al for each cigen value by substituting
value of I.. in equation (1).

r-2 =34~ -7~]


l~:

... The common factor can be taken oul.


l

For i.2 = - 3, p, i I - A)

M2
= [~:~l Hl
= [~;4] =

For 1..3 = - 4, [l..i I -A] = [-4


-4 -2
-4 -1
o]
48 34 5

M3
=[~::] [-!] =h]
=

M1, M2 and M3 are the eigenvectors corresponding to the eigenvalues :\.1, :\.2 and :\.3.
Matrix Algebra & Derivation
Modem Control Theory 3 -17 of Transfer Function

d) The modal matrix is,

M = IM1 : M2 : M3) = (-~


-2
-! -~4jl
Let us prove M - 1 AM is a diagonal matrix.
M-1 = AdjlMJ (CofoclorofMJT
!Mr= IMI
-10 +8 -7]T r-10 -7 -Ii
Adj [M]
[ - 7
-1
6 -5
1 -1
= 8 6 1
-7 -5 -1

I _\ -~ -~1=-l
IMI
-2 1 4

Adj [Ml [-810 7 1]


IMI= 7 ~ -;

2 2 -6
AM
L~s 0 ol1 [-11 -3 1 l r-2
-: = !
9 -4]
-34 -9 -2 -3 -1!
M-1AM [10-8
7
-6 -11 l r-22 -6 -
9 8
4]
7 5 I 4 -3 -16

u
0 0
-3 0 = [i.01
OJ ).2 ~l= h
0 -4 0 0 h3

Thus M - 1AM is a diagonal matrix.

l'* Example 3.8 : Obtain tire Elgen values, Eigen vectors and Modal matrL~ for the matrix

1 OJ
A=[l 0 l
-11 -6
MatrixAlgebra& Derivation
Modem Control Theory 3 -18 of Transfer Function

Solution: Eigenvalues are roots ofjt .. I-Al=O

!).. I-Al =
[
>. -1
o >.
6 11
0
-1 =0
>.+6
l
i.e. 1.. 3+61..2+11>.+6 0

(>.+ !)(/.+ 2){).+ 3) 0


/,1 =-1, J..2 =-2, J..3 =-3 are eigenvalues.
To find Eigen vector,
Let >. "-1 =-!

[~1 =~ ~1]
6 11 5

M1 [en]
C12 where C = Cofactor
C 13 K•2

M1
[~] i.e,
M1=Hl

For >-2 =-2


-1
(J..21-A) [~2 -2 11
-:1]

M2 [c11
C12
C 13
l for K~3
=[~] =[~2]
For J..3 =-3
-1
(1.31-A)
[Y 11
-3
~]
Matrix Algebl'll & Derivation
Modem Control Theory 3 -19 of Transfer Function

Key Point: The cofactors about any ruw can bt obltlined.


:. Modal matrix M = (M1 :M2 :M3)

M [~l ~2 ~]
It can be easily checked that,

M-1 AM = A=[~ ~2 ~3]

3.9 Diagonalisatlon
The diagonal matrix plays an important role in the matrix algebra. The eigen values
and inverse of a diagonal matrix can be very easily obtained just by an inspection. Thus in
state variable analysis, if the matrix A is diagonalised then it is very easy to handle
mathematically.
Whc!l matrix A ls diagonalised, then the elements along its principle diagonal are the
eigcn values. The eigen values are the closed loop poles of the system, from which
stability of the system can be analysed.
The diagonal matrix A indicates noninteraction of various state variables. Tile
derivative of one state variable is dependent on the corresponding state variable alone and
other state variables do not interact in it, when A is diagonal matrix. This is practically
important from controlling point of view.
Due to all these reasons, the diagonaUsation of matrix A is always motivated. The
techniques used to transform the general state model into diagonal form i.e. canonical form
are called dlagonallutlon techniques.

Consider nlh order state model in which matrix A is not diagonal .


.
X(t) A X(t) + B U(t) ... (1)
Y(t) C X(t) + D U(t) ... (2)
Let Z(t) is new state vector such that the ITansformalion is,
X(I) = MZ(t) ..• (3)
Matrix Algebra & Derivation
Modern Control Theory 3 -20 of Transfer Function

Herc M Modal matrix of A

X(t) MZ(t) ... (4)


Using equations (3) and (4) into equations (1) and (2),
.
M Z(t) AM Z(t) + B U(t) ... (5)

and Y(t) CM Z(t) + DU(t) ... (6)


Prcmultiplying equation (5) by M - 1 on both sides,

M"1M Z(I) M" 1AMZ(t) + M"1 B U(t)


.
Z(t) M - 1 AM Z(t) + M - 1B U(t) ... (7)
and Y(l) CM Z(t) + D U(t) .•. (8)

The equations (7) and (8) gives the canonical state model in which M - 1 AM is a
diagonal matrix denoted as II.
The matrix M which transforms A into diagonal form is called diagonalising matrix or
modal matrix.
The new canonical state model is represented as,

Z(t) 11 Z(t) + ii U(t) ... (9)

Y(t} C Z(t) + D U(t) ... (10)

where II M - 1 AM " Diagonal matrix


ii M01B
c 3 CM
The method of obtaining modal matrix M is already discussed in the last section. The
transformation M - 1AM is called diagonalisation of matrix A.

I,_. Example 3.9 : &duce tire given state model into its canonical form by diagonalising

r~
matrix A,

X<t>
-6 -11
-1: -~i
5
X(tJ + [~] U(tJ
I

and Y(I) [1 0 OJ X(I)


Matrix Algebra & Derivation
Modem Control Theory 3. 21 of Transfer Function

Solution : From the given state model,

A=[~=~~-:]· B=[~l· C=[l 0 OJ


Let us find eigen values, eigcn vectors and modal matrix of A.

1)..1-AI =
H~ 0
1
0
~]-[-~
I
-11
-6 -11 -il I=
0

-1

1:
~.+11
11
_:I =
~--5
0

:. A. (A. + 11) (A. - 5) + 36 + 66 - 6 (A. + 11) + 6(1. - 5) + 66 ). = O


t..3+6).2+111.+6 0

().+ 1) 0-+ 2) ().+ 3) 0


Thus eigen values are, A. 1 = - 1, A.2 = - 2, A.3 = - 3
To find eigen vectors,
For ).1 = - 1,

li•1 1- A]
n
-!
10
11
-~]
-6

M1
[~:~J=m=m
For ).2 = - 2,

[A.21-AJ
r-:
-1
9
11
-~]
-7

M2
[~:~l r~i = m
=
MatrixAlgeb,. & Dertntlon
Modem Control Theory 3 ·22 ofT,.Mfer Function

M = [M1 : M2: M3) = [~ ! !] =Modal matrix

M-1AM n -! -~lcA
n M-1s

~r [1 ~~ ~]
While

Adj(MJ
!MT""=
[~ j
-14 = -~
0.4285 0.3571 --0.2857]
--0.4285 -0.5714 +0.4285
[
0.H28 0.2142 -0.1428

ii M-
18
5 [=~·.~1 . r-~1
-0.1428 -1
... Multiplying by 7

and C = CM= (I 1 1)
Thus canonical state model is,

Z(t) .. A Z(t) + B U(t)


and Y(t) C Z(t) where X(t) ~ M Z(t)
Matrix Algebra & Derivation
Modem Control Theory 3 ·23 of Transfer Function

3.10 Generalised Eigen Vectors


The generalised eigen vectors are the eigen vectors corresponding to repeated eigcn
values. Uptill now, it is assumed that tile eigenvalues are distinct but if an eigen value At
is repeated for r times then the corresponding eigen vectors are called generalised eigen
vectors.
U a particular cigen value A 1 is repeated r times then the rank of n x n matrix
[A11- A) is n - 1 and there is only one independent cigen vector associated with A1 given
by,

... Ckn are cofactors about kth row

Important Note : If cofactors along a particular row gives all values zero i.e. eigen vector
as null matrix, then cofactors along other row must be obtained.
For remaining (r - 1) eigenvectors for r - 1 times repeated value A1, generalised eigen
vectors must be used as,

ack, a2ck,
fj 2! ilA7
~
ilCk2 a2ck2
M2 n ar;- M3= 2! a At

1i ~
ilC1;n CJ2 c.,,
2! ~

1 a•-tcck1>
(r-1)! ()}..~-·

a•-•cck2>
M, (r-1)!
dif'
ar-lcckn>
(r-1)! CIA't-1

The modal matrix M then can be obtained by placing all the eigen vectors one aher
the other.
Note that in such a case, M- 1AM matrix is not diagonal but consists of a r x r Jordan
block in it where r is the order of repetition of a particular eigen value.
Matrix Algebra & Dorivation
Modem Control Thoory 3. 24 of Transfer Function

3.10.1 Vander Monde Matrix for Generalised Eigen Vectors


If matrix A is in phase variable form and an eigen value 1..1 is repeated for r times,
then n eigen values arc /,1, /,1 ... 1..1, I., .. 1 -,.. , hn. The corresponding modal matrix is
Vander Mondc matrix in modified form as,
0 0 0
),, 0 1...
""
() 1

'·1 21 -r 0 . .. ).,~+I 1..;,


M=
I.~ 31..~ 31..1 '";~ 1 A.~.

in-I d l!t1 d2 '·'rl ... 1.n-l J..ll-1


•• <lI;- 2idT I rt I I\

,,.. Example 3.10 : Fi11d the eigen values, eige11 uector« alld modal matrix JM,

A [~ ~ -~ l
Solutlon : Find eigcn values which arc roots of I i,J - A I =O

Ix
-2 I..
+S 2
0
-1
A~S
I 0

/..2 (I. + 5) + 4 + 81.. 0


A.3+s1:+st..+4 0
Try 1..=-1

-1 5 8 4

-1 -4 -4
4 4 ~
(I,+ 1) {1..2 + 41..+ 4) 0
{A.+ 1) {A.+ 2)2 0
Matrix Algebra & Derivation
Modem Control Theory 3. 25 of TransferFunction

A I = - 1, '·2 = - 2, A3 = - 2
Thus ·- 2' is repeated twice hence it is necessary lo use generalised cigen vectors.

For A1 = -1, (1,11- A)=[=~ -~


8 2
-~i
4

Now A2 = - 2 is repealed twice.

P-21 - A) = [~~ ~2
8 2

M2 [c"]
C12
C13 l.z•-2
[ ~·'~
= 2),2 + 10
-4-SAz L,
=[]Jan]
dC11
TI <n;-
and M3 TI
dC12
d1..2 = [2'-~+5) -
l.z--2
= Ul
dC13
TI d1..z

Thus M1, M2 and M3 are the required eigen vectors.

:. Modal matrix M = fM1 : M2 : M3J = :


-1
-1
1
112
[
2 -8
Matrix Algebra & Dorivation
Modorn Control Theory 3 -26 of Transfer Function

Examples with Solutions

!... Example 3.11 ; Find lite T.f". of tl1t system /raving state modn,

X = [-~ -~] X +[~] U and Y = (1 OJ X


Solution : From the given model,

A=[-~-~], B=[~],C=[I OJ, D=O

T.F. Y(s)
U(s)
= c (sl - Ar l B + D

[sl -AJ t o] [ o l] [s
-1
s [0 1 - -2 -3 = 2 s+ 3
J

Adj (~I - A]
~+3
[ -2
+I]
s
... Change diagonal elements and

change signs of other clements.


s (s + 3) + 2 = s2 + 3s + 2 = (s + I) (s + 2}

C Adj (sl-AJ B
(1 OJ [s~23 ls][lo]
. T.P.
Isl-Al = (s+l)(s+2)
(s+3)
(s+l) (s+2}

,_. Example 3.12 : Fi114 the T.F. of tire system /raving stale model,

eolutlon : Prom the given model,

A=[=~~]. a:[~], C=[I 01 D=O

T.F. T(s) =
U(s)
c (sl - Ar l B + D
[sl-A] 5(1 OJ-[-3
0 I -2
l]=[s+3
0 2
-1]
s
i
Modem Control Theory 3 ·27

/Adj [sl-A)

Isl-Al

CAdj[sl-A)B (I 0) [-~ s~3][~]


T.F.
)sl-AI (s+l) (s+2)

1
(s+l) (s+2)

,,.. Example 3.13 : Obtain the transfer[unction matrix for 1iu, MIMO system having state
model,

.
x
[ ~ -11 ~jx+[-11
-1 0 I 0

amt Y = G ~ ~] X
Solution : From the given state model,

A
2 -1
I 1 2 ,
o] -1 OJ
[
-1 0 1
B =[~ ~ ,

c G ~ ~]. 0=0

Transfer matrix c [sl - Ar I B+ 0 = c Adj[sl -A) B


Isl-Al

[sl -A) •[~ ~ ~]-[~ -: ~]=[s~2 s-1 -~]


0 0 1 -1 0 1 1 0 s-1

T
(s-1)2 s-3 s-1
Adj [sl-A)
[ -2
~+1 (s-2)(s-1)
2(s-2) s2 -~s+3 ]
Matrix Algebra & Derivation

l
Modem Control Theory 3 -28 of Transfer Function

s2 -2s+1 -s+l
s-3 s2 -3s+2 -2
2s-4
[ s-1 s2 -3s+ 3

Isl-Al (s - 2) (s - 1 )2 - 2 + s - l
s3 - 4s2 + 6s - 5

s2-2s+l -s+l
Adj [sl- AIB s-3 s2 -3s+2
[ s-1 I

-s2 +5
s2 -4s+5 -4
4s-8 l
l
[ -s+2 2s2 -6s+6

-s2 +5 -4
C Adj [sI - Al B [~ ~ ~] s2 -4s+5 • 4s-8
[ -s+2 2s2 -6s+6

-3s+5 4s-12 ]
[-s2 +2 2s2 -6s+2

-3s+5 4s-12 ]
[-s2 +2 2s2 -6s+2
Transfer matrix ~
~3 -4s2 +6s-5

,_. Example 3.14 : Obtain tire eigen values, eige11 vectors and modal matrix for,

A [ ~ ~ ~]
-12 -7 -6

and prove that M - 1 AM = A = Diagonal matrix. (VTU: July/Aug.-2007,Jan./Feb.-2008)


Solution : For elgen values,

IA.I-Al 0

-~ -,~ ~21 0
I 12 7 ;\.+6
MatrixAlgebra & Derivation
Modern Control Theory 3. 29 of TransferFunctlon

A.2('A. + 6) + 24 - 31..- 18 + 141.. 0


)! + 61..2 + 111.. + 6 0 I
Test 'A.= - 1, \
-1 6 11 6

0 - 1 - 5 -6
5 6
~
(l + 1) (l2 + 5A. + 6) 0
i.e. (A.+ 1) (A.+ 2) ('A.+ 3) 0
Hence eigen values arc, A 1 = - 1, },2 =- 2, A. 3 =- 3
For the eigcn vectors,

[-1 -1
A.1 = -1, p,11-AJ -3 -1
12 7 -:]
M1 [~:~ l
c,J
= [-:)
-9
= [-~]
-1

A2 = - 2, P-2 I - A)
[-2 -1 OJ
-3 -2 -2
12 7 4
M2
[~:~l =[-~]=HJ
A.3 = - 3, [l3 I - A)
[-3 -1 -zo]
-3 -3
12 7 3

M3
[~: l =[-!:]=HJ 2
M Modal matrix = [- ~
-1
-4
-i]
. I
Matrix Algolira & Derivation
Moifani Conlroi Theory 3 ·30 of Ttnsfer Function

Adj[M]
[
-9
-5
-2 2 -2
: ~iT [-: -: -~1
- -2 -3 -2,
!Ml= -2 -2

AM

Thus, M- 1 AM = A= Diagonal matrix

I .. Example 3.15 : Find I/it eigen valtttS, tigm 11ectors and "'f al matrix for,

A = [~ -~ I] (VTU: Jan.!Ftb.·2.005)
Solution : For eigen values,
p.. I-AI O

"-~4 -: -~ I 0
I -1 A.-3

).. (1. - 4) (1. - 3) - 2 - 2 •· 2A. - 1. + 3 + V. - 8 = O


3
).. - n2 + 1s1.. - 9 o
(1.- 1) p.2 - 61. + 9) 0
(1.- 1) p.. - 3)2 0 I
:. '-1 = 1, '-2 i3, A.3 = 3
Now 1.2 = 3 is repeated twice hence for 1.2 = 3, te generalised eigen vectors must be
used.
Matrix Algebra & Derivallbn
Modem Control Theory 3. 31 of Transfer !=unctioi\

[=~-1
-1 -~]
-2

[~:~J m =

As it is a null matrix, calculate cofactors about other row.

Now for A2 = 'A.3 = 3, use

[
'·2 -4
-1
-1
-1
'·2
1
-22
1-i -3
l
dC11
TI dl.2

For >.3 = 3,
TI
dC12
d/,,2 = [2"'2:- 3J _
).2-J
= m
dC13
i! d/,,2
•2~3

Hence the modal matrix M is,

M [! ~ n
Matrix Algebra & Derivation
Modem Control Theory 3-32 of Transfer Function

n• Example 3.16 : The Fig. 3.1 slwws the block diagram of a control system using state
wriab/e [eedbuck'and int1•gra/ co11trol. 111e state 1midel of plant is,

Y = [O 1] [~:]

i) Derive the stale model of the en/ire system.


ii) Derive the trm1sfer [unction Y(s)/U(s).

U(t) --..•-O<J>---4 Y(t)

Fig. 3.1

Solution : i) The input of integrator shown is x3.


.
X:i - 1 x [U(t) - Y(t)] = Y(t} - U(t) ... (I)
and r(t} - 3.5 X3 - 2X1 - 1.5 X2 ... (2)
From the plant model given,

- 3X1 + 2X2 + r(t) ... (3a)

... (3b)

and ... (3c)

Using equation (2) in equation (3a) we get,


.
X1 - 3X1 + 2X2 - 35 X3 - 2X1 - 1.5 X2

... (4a)

... (4b)

Substituting equation (3c) in equation (I),

... (4c)
Matrix Algebra & Derivation
Modem Control Theory 3 .33 of Transfer Function

and Y(t) = ~ ... (4d)

[ · i [-! ~:
Thus equations (4a) to (4d) give state model of the entire system.

~~ =
XJ 0 1
-~5]
0
[~~]+[ ~i U(t)
X3 -1

and Y(t) (0 l
OJ [~~ l
i.e. x = AX+ BU and Y = ex with D = o
ii) The transfer function Y(s)/U(s) is,
Y(s) t
U(s) = c [sl - Ar B+D

[sl - A) = s [~ ~
001
~i-[-: ~·: -~· 1
0 0
5 = [s_+:
0
-0.5
s+5
-1

r
4s 4
[ •' +Ss
Adj [st -A] = O.Ss-3.5 s2 +5s s+5
-3.S(s+S) -14 (s+5)2 -2

=
[ •' .,.
4s
0.5s-3.5
s2 +5s
-3.5s-17 .5
-14
4 s+S s2 +10s+23

Isl - Al = s (s + 5)2 + 14 - 2s = sJ + 10s2 + 23s + 14


Y(s) = CAdj[sl-A)B d D=O
U(s) Isl-Al an

C Adj [sl - A) B = (0 l OJ
s2 +Ss
4s
0~5s-3.5
s· +5s
-3.5s-17
-14
.51 [ o]0
[4 s+S ~2 +10s+23 -1
= 14
Y(s) 14 14
U(s) =Isl-Al= sJ +10s2 +23s+l4
Matrix Algebra & Derivation
Modern Control Theory 3. 34 of Transfer Function

14
(s+l)(s+2)(s+7)

~i
This is the required transfer function.

,,_. Example 3.17 : For the matrix A= [ ~ ~


-2 -1 -3

Find the eigen values, eigen vectors and modal matrix M.


Solution : For eigen values,

P..I-AI o

I~ "
-1
ol
-1 - 0
4 l.+3

1.2 (I. + 3) + 2 + 4J.. 0


->< + 31.2 + 41. + 2 0
Test '-= -1,

- 1 4

-.1 -2 -2

(I.+ 1) (1.2 + :v.. + 2) 0

(I.+ 1) (/.. + 1 + jl) (/.. + 1 - jl) 0

"· - 1, l..2 = - 1 - jl, ~-3 =- 1 + jl


Calculate eigcn vectors.

For >.1 =- 1,

n
-1
P-11-A) -1
4 -rJ
M1
[~:~l=H]=HJ
Matrix Algebra & Derivation
Modern Control Theory 3. 35 of Transfer Function

[-1-jl -1
For },2 -1 -jl, (/,21- A) a ~ -1-jl
4 2~µ]
M2
[~:] =[-;2-j]
... Choosing 3rd row to calculate cofactors.

For A.3 = - 1 + jl, [A.3 I - A)


-l+jl
=[ ~
-1
-l+jl
4 2+jl
-1
0 l
-1-j _;+jl
M = [-:
j2 -j2
ll* Example 3.18 : For a system wil/1 state model matrices.

A=~-: [-1 0 1] [0] [l]T


~;B=~;C=~

Obtain tht system trans/trfunction. (VTU: March·2001)

Solution : The T.F. is given by,

T.P. = C(sI-Ar1s

(sI - A) = rs~l ~l ]
0
s~2
O s-3

Adj[sl-A) = [Cofactor sl-A)T

= [(s+2)0(s-3) (s-3)
0 ]T
(s+l) (s-3)
-+{s+2) +1 (s+l)O(s+2)
Matrix Algebra & Derivation

l
Modem Control Theory 3. 36 of Transfer Function

(s+2) (s-3) 0
(s+ 2)
c (s-3) (s+l)(s-3)
[
0 0 (s+l/(s+2)

Isl-Al (s + 1) (s + 2) (s - 3)
Adjlsl-A)
(s1-Ar1
lsl-Aj

s+l
0 (s+l)(s-3)
1 I
(s+l) (s+2) (s+2) (s+l) (s+2) (s-3)
1
0 0 s-3

0
0
s+f (s+l) (s-3)
1 1
T.F. [l 1 OJ (s+l)(s+2) (s+2) (s+l) (s+2) (s-3)
0
1
0 0 s-3

(1 1 OJ
(s+I) (s-3)
1
{s+l)±(s-3)

(s-3)
l
l + 1
(s+l)(s-3) (s+l)(s+2)(s-3)
(s+3)
(s+ I) (s+2) (s-3)

11•• Example 3.19 : Find the transformation matrix P which will co11vert the following
matrix A lo diagonalform. Th« eigen tialutS are A. 1, A. 2 and ).. 3.

A=
[
-01
0
0
1
0
-a2
]J
Matrix Algebra & Derivation
Modem Control Theory 3. 37 of Transfer Function

Solution : The matrix Al - A is,

r "- -1
p,1 - A) = ll0 )..
at a2

To find P, means to find cigcn vectors and modal matrix,

-1
0
1., +a 3
l
To find eigen vector, find cofactors about 3rd row.

-1
0
A3 +a 3
l
[~:]=[~~]
Matrix Algebra & Derivation
Modern Control Theory 3·38 of Transfer Function

Hence transformation matrix P is,

I
p i,1 A2 ).,3

A.1 A.1 A.~


Thus if matrix A is in phase variable form,
I 0 0

A
r~ {) ()

U., 0
-CX.n-l
()

-(l.n-2 ... -(XI

And the eigen values arc distinct as A.1, ),2, ••• ),n then it can be proved as above that
the diagonalising matrix is,

i.,
"z A..,
p ..~ I ),~
.,
A~,

1n-l "ll-1 1.n-l


'I '·2 -u

Key Point: Note tha: while fi11di11g the eigen l·'<'Ctorsfind tire cofactorsabout last row.

1• E.xample 3.20 : Determine Ille trans/tr nwtrir for tlu: system.

[~I]=
2
=~
[ 1()J [~~ ]+ [~ ; ] [~~] : [~;] ~ [~ -11] [~: J
(VTU: July/Aug.-2005}
Solution : Prom the given state model,

A = [ =~ ~] , B = [~S
60]
r C = [~ - ~] , D =[0J
Adj[sl-AI
Isl-Al '(sf
_
Al-
-[s+3
2
-I l
sJ

Adj (sl-AJ
[ls -2s+3 ]T = [s-2 s+31 ]
Matrix Algebra & Derivation
Modem Control Theory 3. 39 of Transfer Function

T.F.

[1 -1] [4s-5 6s l

l
8 1 -Ss-23 -12J
(s+l)(s+2)

.
[
9s+ 18
_ (s+1)(s+2)
.. T.F. - 27s-63
(s+1)(s+2)
6s+ 12
(s+l)(s+2)
48s-12
(s+l)(s+2)
=
[
s+l
9
27s-63
(s+l)(s+2)
s+I
6
48s-12
(s+l)(s+2)
I
This is the necessary transfer matrix.

•• Example 3.21 : Convert the Jo/lawing state model into canonical [orm.
(VTU: JulylAug.·2005)

Solution : From the given model.

A = ('3 --64 } B = [O-1 ] • C =(I 0]

Let us find the cigen values, eigen vectors and model matrix of A.

l)J-AI 11I .[1o oJ-[l


1
-4JI=1i.-r3
3 -6
1 i. +
~J =0

(/..-l)(A.+6)+12 0 i.e. A.2 +51.+6 =0


(/..+2)(A.+ 3) 0 i.e. t..1 =-2. }..2 =-3
To find eigen vectors,

Fori.1=-i!J. 11-A) = [=~ :] i.e.M1 =[~:~]=[~]


Matrix Algebra & Derivation
Modom Control Theory 3 ·40 of Transfer Function

For Az ;-3, [l.21-A I= [~ :] i.c. Mr[~:~]=[~]=[:]


M = [M1: J
M2 = [; ~]=Modal matrix

M-11\M r-20 - o]3 = "


While 6 M-1a

[1 -1]
M-1
IMJ-n - _.,
Adj M _ -3 4 .. [I -l]
4

ii [~3 -~] [~1] = [~]

C =CM= (1 Ol [43 I]=


1
('I 1]

1hc canonical state model is,

l(t) A Z(t) -+ Bu
Y(t) C Z(t) where X(t) = M Z(t)
11.+ Example 3.22 : Convert tire followi11g squart matrix A into [ordan canonical fonn using
a suitable 11011-si11g11/ar transform11tio11 matrix P. (VTU: July/Aug.· 2005)
o 1
r
A = 0
l-.i
Solution : Find the cigen values or A.
-9
0
-~J
1).1-AI = I~ -1
A
9
~1
A+6
I= o
i,2(A+6)+4+9A=0 i.e. A3 +6i..2 +9i,+4 =0

(AH)(/.+ l}(A+ 1) =0
Matrix Algebra & Derivation
Modem Control Theory 3-41 of Transfer Func:tion

For A1= -4

Mz cC1112
[C13
l -[).~
I.
2=-1
- +6~.-4 +9]
2

-4),2
Az=-1
-[ 4]-[
- -4 - -1t
4 I
l

1
fl
= [2'-~ +6]
-'1 Az=-l Ul{~l
M

Adj [M) r -4 12r


2
1
-17 15
-4 3 = [~24 15
2 -41]
-17
3

2 1]
-17 -4
M-l =~~I~ = [~24 15 3
9

I O][l 1
M"1AM-f- 9
12
4
15
2 -4I]
-17
3 [~4 0 l
- 9 -6
-~-I
16 I
~oi)
Matrix Algebra & Derivation
Modem Control Theory 3-42 of Transfer Function

..... Diagonal matrix with Jordan block

n• Example 3.23 : Consider the matrix rvruJan.lFeb.-2006)

A [: -2 31]
I 3 -l

i) Find the eigen values and cige11 vectors .of A.


ii) Write the modal matrix.

iii) Shaw tlrat the modal matrix indud diagonalizes A.


Solution ; For eigcn values I A.I -A I=0
~;- 2 l.=1 J = 0
l
-1 - 3 )..+:!
i.e, (J.-1)(!.+1)(1.- 2) + 2-9- 3(/.-1)+2('A.+1 )- 3(>..- 2) =0
i.e. 'A.3 -21! -5),+6=0 i.e. p.- l)(A+2)('A.-3)=0
1..1 =+1, 1..2 =-2, i.3 =3
For i.1 = l,

[I.I-A)

For 1..2 =-2.

fl..1-AJ

As C11 = C12 = C13 = 0, calculate cofactors about other row.


Matrix Algebra & Derivation
Modem Control Theory 3 .43 of Transfer Function

For i.3 = 3,

M 11
l
-14
l
l
1

Adj M I Cofactor mat rix of M] 1


~=- !Ml

-
1 [15 -25
-30
0 -2 10
-15 - 3 -~2
l
-·lo
15 - 25

[
0 -2 1
1~

-15 - 3 -12
1 [~r~ - ~ ~
1 3 -1 1
1 \1 ~1
- '14 1

-~ [l; -:5 ~~ l [~I \1 :1


30
- 45 - 9 - 36 1 - 14 1

-}a
-30 0
0
[0
60
0 - 90
~1-[~ -~ .o 0
Thus modal matrix indeed diagonalizes A.
I,.. .
Examplo 3.24 : Cive11 the state model X =1\X-flu, y =CX
(VfU: JanJFeb.·2006)
1o
wltert A = [~ ~] · B = [~] and C : [I 0 OJ
-1 - 2 -3 1

i) Simulate and find the transfer function ~~~ using Mason's gain formula.

ii) Determine tile transferfunction from the state model formulation.


Matrix Algebra & Derivation
Modem Control Theory 3-44 of TransferFunction

Solution : The state equations arc,


.
X1=X2•
.
X2i\X3,
.
X3,.-X1-2X2-3X3+u,y=X1

Hence the signal flow graph is,


, 1 1
u ~--~x\?27·"'
__ ~x~3--1s
-_s x9'2 s x?-1---·,
3 ---<>o Y

-3

-2

-1

Fig. 3.2

From Mason's gain formula,


Y(s) T161 +T2a2+ +TK6K
U(s)
6 where K = Number of forward paths

Herc K ~ 1, T1 =Forward path gain= !x!x.!. =...!_


s s s 53
The various loop gains are,

6 -3

Flg. 3.3
All loops are touching to each other.

6= 1-(L1 +L2+L3]:1+~+2.+...!_
s s2 53

6K Eliminating all loop gains from 6 wh.ich are touching to Kth forward path

a,
MatrixAlgebra & Derivation
Modem Control Thoory 3 -45 of Transfer Function

Y(s)
U(s)

Now let us use the state model method of finding the transfer function.
Y(s)
C(st-Ar'n+o ... D ~o
U(s)

[sl-A]
[~
-1

2
-I
0
s +3
l
s2 + 3s+2 -1 -s ]T [52+3s+2 s+3
Adj (sl-A(
[
:+3 s(s+3) -2s-1
s2
= -1
-s
s(s+3)

-2s-1 .i]
[s1-Ar1
Adj [sl-AJ
Isl-A I
['' + ,,.,
-1
-s
s+3
s(s+ 3)
-2s-l
s3 +3s2 +2s+l
, :l
s2 +3s+2 s+3
Y(s)
U(s)
(1 0 0) -1
[
-s
s(s+3)
-2s-1 .i][:]
s3 +3s2 +2s+I

Y(s) ... Same '15 obtained above


U(s)
s3 +3s2 +2s+t

,... Example 3.25 : Tlte vector [ ~] is a11 tigm vtetor of A


-1
= r-~
-1
_: ~ ~] Fmd tlte e1gm

oo/11t of A corresponding. to lht vector given. (V11J: July/Aug.·2006)

Solutlon : The eigen vector is that vector which is non-zero such that
AX1 x, X,
where X, = Elgen vector = [ _~]
Matrix Algebra & Derivation
Modem Control Theory 3 -46 of TransferFunction

A.I = Elgen value = To be obtained

[-~-1 -2~ =!][~]=A.;[~]


0 -1 -1

[~~]A.; = s
[~ . l
-A.1
... Corresponding eigen value.

Review Questions
l. Derise lllL traruferfunctionfrom statt rnDdtl.
2. Wh.1t is ch•racttristic equation of• system mDtrix A ?
J. Dtfint eigm wluts and eigtn 11ttlors of a n1J1trix.
4. Whtn lht gtncraliJtd tigen oeaor« •rt uStd ? How to use thtm ?
5. What is rrwdal matrix ? St•lt its imporlana.
6. Stole the adwntagts of diAgonnlisationof a matrix.
7. Now lo achinit dia,<pm1•lisalionof mnlrix A ?
8. Rrducc tlK given state model in dU.gonnlform,

X = [~ ~J X + [:] U(t) and Y(t): (1 OJ X(t)

9. What is Vandtr Monde matrix ? Whm it exists ? WIU1t is its imporiano: ?


10. Find tht T.F. of tht systttnJ with following state modtls,

al x [-~ -~Jx+[~]u. Y=/l O/X

bi X • [ ~ ~~] X + [~] u Y s 10 II X

cJ x U-~ ~~)x·[~]u. Y=ll o 01x

11. Obtain the T.F. of the systrm having state modt/,

X(t) = [-; =~] X(t) + [~] U(t)

Y(t) = [1 2J X(t) A 12s+ 59 )


( ns, <s + 2)(s + 4)

ODO
Solution of State Equations

4.1 Background
Uptill now the methods of obtaining state model in various forms and obtaining
transfer function from the state model arc discussed. It is seen that the output response
depends on the state variables and their initial values. Hence it is necessary to obtain the
state vector X(t) which satisfies the state equation X(t) " A X(t) + B U(t) at any time l.
This is called solution of state equations, which helps to obtain the output response of a
system.
Consider the state equatio n of linear time invariant system as,

X(t) = A X(t) + B U(t)


The matrices A and B arc constant matrices. This state equation can be of two types,
1. Homogeneous and 2. Nonhomogcncous

4.1.1 Homogeneous Equation


If A is a constant matrix and input control forces arc zero then the equation takes the
form,
.
X(t) = A X(t) ...(1)
Such an equation is called homogeneous equation. The obvious equation is if input is
zero,how output can exist ? In such systems, the driving force Is provided by the initial
conditions of the system lo produce the output. For example, consider a series RC circuit
in which capacitor is initially charged to V volts. The current is the output. Now there is
no input control force i.e.. external voltage applied to the system. But the initial voltage on
the capacitor drives the current through the system and capacitor starts discharging
through the resistance R. Such a system which works on the initial conditions without any
input applied lo it is called homogeneous system.

(4. 1)
Modem Control Theory 4·2 Solution ·of State Equations

4.1.2 Nonhomogeneous Equation


If A is a constant matrix and matrix U(t) is non zero vector I.e. the input control forces
arc applied to the system then the equation takes normal form as,
.
X(t) = A X(t) + B U(t) ... (2)
Such an equation is called nonhomogeneous equation. Most of the practical systems
require inputs to drive them. Such systems are nonhomogcncous linear systems.
The solution of the state equation is obtained by considering basic method of finding
the solution of homogeneous equation.

4.2 Review of Classical Method of Solution


Consider a scalar differential equation as,
dx
dt = ax where x(O) = Xo ... (1)

This is a homogeneous equation without the input vector.


Assume the solution of this equation as,
x(t) ... (2)
At t = 0, x(O) ... (3)

The solution has to satisfy the original differential equation hence using (2) in (!),
d k k
di Ibo + b1 t + ... + bkt I a Ibo + b1 t + ... + bkt I

For validity of this equation, the coefficients of various powers of 't' on both sides,
must be equal.

abo- 2b2 = ab1, ... kbk = abk. 1


a b0

.!. a b1
2
= .!. a2b0
2
= .!.2! a2 b0
.!. a bz = _1_ a1>o = ..!.. a3 bo
3 3x2 3!

.!. a k b0
k!
and x(O) = b0
Modem Control Theory Solution of State Equations

Using all these values in the assumed solution,

x(t) " bo + abo(t) + ..!.. a2 bl + ... + 1.. ak ho tk


2! k!

b0 [ l +at +211 a 2 t 2 +.... +kia


1 k t ~]

[l+at+.!..a
2!
2t2+ .... +.!.aktk] x(O)
k!

But I ... at + .!_ a2 t2 + ... + _!_ ak tk: e11


2! k!

X{t) = e•1 x(O) .•. (4)


This is the required solution of homogeneous equation in scalar form.
Thus if the homogeneous state equation is considered,

X(t) = A X(t)
then its solution can be written as,

X(t) = eAt X(O)

In this case, eAt is not a scalar but a matrix of order n x n as that of matrix A.
Observation : It can be observed that without input, initial state X(O) drives the state
X(t) at any time t. Thus there is transition of the initial state X(O) from initial time t : 0 to
any time t through the matrix cA1. As it is an exponential term, the matrix cAl is called
matrix exponential. It is also responsible for the transition of the state X(t) at any time t
from initial time hence also called state transition matrix. It is denoted as o (t).
$(1) eAt = State transition matrix

And eAt: 1 +At•..!_ A2 t2;. ... + _!_ Ak lk + ...


21 k!

The each term of the above equation is a matrix of order n x n.


If instead of initial time t = 0, it Is selected as t = to then the state transition matrix is,
$(I) = eA {I-to)
Modem Control Theory 4.4 Solution of State Equations

4.2.1 Zero Input Response


The solution of the homogeneous state equation L~ under the condition of zero input.
Such a response is called zero input response and for convenience denoted as ZIR.
Thus the behaviour of X(t) under the initial conditions without any input U(t) is called
the zero input response of the system. It is also called free, natural or unforced response
of the system.

4.3 Solution of Nonhomogeneous Equation


Consider a nonhomogeneous state equation as,
.
X(t) A X(t) + B U(t)

X(t) - A X(t) BU(t)


Premultiplying both sides bye· At,

e- At(Xct) - A X(t)I = e-At B U(t)

Bute· At X(t) - e-At A X(t) = ~ [e-At X(t))


dt
Substituting in above equation,

~ [e-At X(t)) = e-At B U(t)


dt
Assuming initial time as t = 0 and integrating both sides from t = 0 to t,
I
c-At X(t) 1: = Jc-At B U(t) dr
,0

t
e-At X(t) - X(O) = f c-At B U(t) dt
0

Premultiplying both sides by eA•.


t
J
:.eAt c-At X(t) - cAt X(O) = eAt e·At B U(t) dt
0

t
X(t) eAt X(O) + J eA(t-t) B U('t) dt ... (1)
0

This is the complete solution of the nonhomogeneous equation.


Modem Control Theory 4.5 Solution of State Equations

Observations :
1. The solution is divided into two parts. The first part is eAt X(O) which is nothing
but the homogeneous solution or zero input response (ZIR).
t
2. The other part J eA(t-t) B U(t) dt is the part existing only due to application of
0
input U(t) from time 0 to t, It is called forced solution or zero state response
(ZSR).
Thus the solution is,
t

X(l)
= eA• X(O)+ j eA(t-t) BU(t)dt
0
ZIR ZSR

If the Initial time is considered as t = to rather than t = 0, the solution is,


t
X{t) = cA <1-101x(t0) J
+ eA Ct-•J B U(t)dt
'o
ln general, the solution of nonhomogencous equation consists of both the parts, ZIR
(zero input response) and ZSR (zero state response).

4.4 Properties of State Transition Matrix


The various useful properties of the state transition matrix are,
t)(t) eAt = State transition matrix

1. .;>(0) cA •o = I ., Identity matrix

2. Q(t) CAI = (c-Atr I = ft) (- t)r 1

Le, 91(1) $(-I)

3. t)(t1 + t2) CA(t1d2) "'eAt1 ·eAt, •

t) (t1l t) (l:z) ., t) (12) t) (11)

4. eM• + •> eA• eAs

5. e(A + B) t ~ eAt eBt only if AB = BA

6. (9 (t)J" " [eA11" = eAn• = Q (nt)


7. 9(12 - 11) 't)(t1 - to) D t)(t2 - to)
Modem Control Theory 4·6 Solution of State Equations

This property states that the process of transition of state can be divided into number
of sequential transition. Thus to to '2 can be divided as t0 to t1 and t1 lo t2, as stated in the
property.
lntcrms of ~ (t), the solution is expressed as,
I
X(t) Q (t - to) X(to) + J Q(t-t) B U(t) dr
'o
where 0 (t - to>
and ~(t - t)

8. o (t) is a nonsingular matrix for all futile values of t.

4.5 Solution of State Equation by Laplace Transform Method


The Laplace transform method converts intcgro differential equations lo simple
algebraic equations. Due this important property, it is very convenient to use Laplace
transform method to obtain the solution of state equation.
Consider the nonhomogcncous slate equation as,

X(t) = A X(t} + B U(t) ... (1)

Taking Laplace transform of both sides,


s X(s) - X(O} A X(s) + B U(s}
s X(s) - A X(s) X(O) + B U(s)
As s is operator, multiplying it by Identify matrix of order n x n,
(sl - A) X(s) = X(O} + B U(s)
Premultiplying both sides by (sl - Ar 1,
:. [sl - A]" I [sl - A] X(s} = [sl - Ar I (X(O) + B U(s}I
X(s) [sl - Ar I X(O) + [sl - Ar I B U(s) ... (2)
ZIR + ZSR
Comparing zero input response obtained earlier,
1
[sl - Ar = Hsl

and •.• (3)

=
The matrix Q (s) [sl - A]" 1 is called resolvant matrix of A. All the clements of this
matrix are rational functions of s.
Modem Control Theory 4.7 Solution of State Equations

Taking inverse Laplace transform of (2),


X(l) L" 11X(s)) = L" 1 l(sI - Ar 11 X(O) + L" 1 l[sl - A)" I BU(s)I
1
Using Isl - Ar <l>(s),
X(t) L" 1(¢ (s)) X(O) + L" 1 (¢ (s) B U(s)) ... (4)

The term L" 1 [¢ (s) B U(s)] is called zero state response.


From the convolution theorem in Laplace transform it is known that,
L" 1 IF1(s) F2(s)l f1(t) • f2(t) =convolution
I
Jf 1<1-t> r2c1)dt
0

Thus if F1(s) = $ (s) and F2(s) = BU(s) then,


I
L"1{<>(s)BU(s)I = Jo(t-t)BU(t)dt ... (5)
0

Thus equation (5) shows that L" 1 {Q (s) B U(s)I is the zero state response, as obtained
earlier by classical approach.
1[¢
X(t) = L" 1 16 (s)) X(O) + L- (s) B U(s)]

Q(s) = [sl _A)" 1 Adj [sl-A]


= lsi:At

Key Point : The advantage of tlris metlzod is witho11t carryi11g out actual i11tegration
wliich is time consuming, the zero state response ca11 be easily obtained.

4.6 Computation of State Transition Matrix


While obtaining the solution of stale equation, the computation of state transition
matrix cAt plays an important role. There arc various methods of obtaining state transition
matrix from the state model. These methods are,
1. Laplace transform method
2. Power series method
3. Caylcy Hamilton method
4. Similarity transformation method
Let us discuss these methods of obtaining eAt in detail.
Modem Control Theory 4·8 Solutionof State Equations

4.7 Laplace Transform Method


While studying the method of obtaining- the solution using Laplace transform method,
it is seen that the Laplace transform of cAl i.e, Q (t) and given by,

()5 I5 I Ari - Adj[sl-A]


c> = - - . I sI -A I

Thus knowing A, once [sl - A) is obtained then 6 (s) con be easily obtained. This c> (s)
is again a matrix of order n x n i.c, same ns tha~ of i\. It is called rcsolvant matrix of A.
The eA1 i.e. c> (t) then can be obtained by finding inverse Laplace transform of Q (s) i.e,
Inverse Laplace transform of each clement of the resolvent matrix Q (s).
This is most simple method of obtaining state transition matrix cA• and hence
popularly used.

n'* Example 4.1 Find tl1e state lra11sitio11 matrix for,

A =
o
[+2
-1)
-3

Solution : Use Laplace transform method,

(st-A]= s[~ ~H-~ -~]=[_; 5:~]

Adj [sl -A] s+


[ -!
3 2]T
s
= 3 -1]
s
[s +
2

Isl -Al !]
+3 = s2 + 3s + 2
s•.
= (s + 1) (s + 2)

Adj [st-AJ
s+3
[ 2 s
-1]
1s1-Ar1

l
-·1-;1.:.-Al = (s+1) (s+2)

s+3
1
(s+l)(s+2} (s+ l):s+2)
-1
0 (s) [sl -Ar =
[ 2
(s+l)(s+2) (s+1)(s+2)
Modem Control Theory

L-
I
[sl -
I
Ar = L-
4.9

[
s+ 3
I (s+l)(s+2}

2
(s+ l)(s+2)
(s+1):s+2)
-1

(s+l)(s+2)
l
Solutionof State Equations

Using partial fraction expansion for all the elements.

cAt L-1 [s!1 ·· s!2 s~\ ,!2] +


2 2 -1 2
---- --+--
s+1 s+2 s+I s+2

e
At -- [ 22c·t -c·2t
2
-c·t +c·2t ]
- $ t
e ·t - e ·21 -e ·I + 2e-21 - ()

This L~ the required state transition matrix.

4.8 Power Series Method


The state transition matrix is matrix exponential and hence can be expressed in a
power series as,

... (I)

Thus by calculating various powers of A and then few terms of power series, can cAt
be evaluated. As the power series is infinite, it is necessary to stop after calculating first
few terms of the series.
Calculating hlgh powers of A is practically time consuming and hence lhls method is
not practically used to obtain stale transition matrix.

1• Example 4.2 : Find ~t of A = [~ =~] using po~r serits me/hod.

Solution : Let us obtain various powers of A.

A2 = [~ =~][~ =~]=[~ :]
o
[2
-1] [-2 3] [ 6 -7]
-3 -6 7 = 14 -14
....
Modem Control Theory • Al :..10 Solutlon of State Equations

cAt = I+ At+..!._ A2r + _!_ A3 13 +


21 31

[~ ~]+[~ =~]t+M=! ~}2+H -~;]13+ . . 1~

l-t 2 +I 3 +...

[ 21-31 . 2 +6l
14 3
+...

Consider the first clement of CAI which is l - r + t3 + ...


Now 1 + [- t) + 2.[-tj2 +2.[-tj3 + ...
21 3!

2 - 2t + t2 - .!. t3 + ... . .. (I)


3

and I + (- 2t) + 2_(-2t)2 +2- (- 2t)3 + ...


2! 3!

1 - 2t + 2t2 - ~ ~ + ... . .. (2)


6
From (1) and (2) we can write,
Zc" 1 - c- 21 = l + 0- t2 + t3 + ... = 1 - t2 + t3 + ...
Hence the series present as the first clement is 2c- 1 - c- 21•
But practically such a task is difficult to identify the combinations of series. Hence this
method is rarely used.

4.9 Cayley Hamilton Method


This method is based on the Cayley Hamilton theorem. The theorem states that, every
square matrix A satisfies its own characteristics equation.
Let f(IJ be the characteristic equation which is given by,
f().) II.I-Al =0
i.e, f().) ).n + al >.n - 1 + ... + a,, - 1 A.+ a,, = 0 ... (!)
According to Caylcy Hamilton theorem, the matrix A has to satisfy the characteristic
equation. Hence,
... (2)
Modem Control Theory 4·11 Solution of State Equations

where I = Identity matrix

The theorem is used for evaluating the function of a matrix.


Consider a matrix polynomial as,

p(A) = a01 + a1A + aiA2 + ... + anAn +an+ 1 A"•


1
+ ... ...(3)
This polynomial has degree more than the degree of A which is n. The above
polynomial can be calculated considering the scalar polynomial,
p(A) = ao + a1A+ a2A.2 + ... + an A." + a,. • I An+ l + ... ... (4)
Divide this by the characteristic polynomial f(A),

~~~; Q(/~+ ~:~ ... (5)

where R(A) Remainder polynomial


p(A) f().) Q(A) + R(A) ... (6)

Now the remainder polynomial R(A) has order less than the characteristic polynomial
and can be expressed as,
R(A) "' Clo + a,A. + Oz ),2 + ... + On - 1 An • I ... (7)

Let Ai, ~' ... ).,, are the n distinct cigen values of matrix A and f(\) = 0 for i = 1, 2, ...
n as Ai, ~' ... >.,, are the roots of f(A) = 0. Evaluate p(IJ al all the eigen values,
p(/.i) fP,) QO,) + RC),) for i = I, 2 .... n
But f(Ail 0 hence,

.. , (8)

Substituting Ai· )2, •.. A,. in equation (8) we get the set of simultaneous equations
which is to be solved for the values of Cl(). a1 ... a.,_ 1.

Now replace A. in scalar polynomial by matrix A,


p(A) f(A) Q(A) + R(A)
but f(A) 0 ... By CayIcy Hamilton theorem
p(A) R(A)
= OQI+a1A+CtzA2+ ... a.,.1A"-1 ... (9) .
Thus knowing 0(), a1 ... a.,_ 1, any matrix polynomial p(A) can be evaluated.
Modem Control Theory 4·12 Solution of State Equations

4.9.1 Procedure to Calculate eA1


The procedure to calculate cAt using Cayley Hamilton theorem can be generalised as,
1. Find the eigen values of matrix A from I A. I - A I = 0.
2. Form the remainder polynomial R(~ of order (n - 1).
R(~ = Clo + tt1 ). + ... + CX,.. - I An - I = p(~
3. If all the eigen values are distinct then substitute At• 1'2 .. . ),,, in remainder
polynomial R(~ to obtain simultaneous equations interms of ao, tt1 ... a,.._ 1.

Important Note : If the eigen value \ is repeated r times, any one independent equation
can be obtained by substituting 11< in R(~. Then remaining (r - 1) equations are to
obtained by differentiating both sides of the equation,

diR(i..>j
--
.
, J = 0, I, ... r - 1 ... (10)
d).! '-=l.k

4. Solve the simultaneous equations ao, a1, ... a,.._ 1·


5. Then f(A) = R(A) =°<)I+ cx1A + ... + a,.._1 An-l.
1• Example 4.3 : Fi11df(A) = A
12
for A = [-~ -~] using Cayley Hami/1011 theorem.

Solution : The function to be evaluated is,


f(A) = A 12 hence p().) = 1.12

Step 1 : Find eigcn values.

li..1-AI
I~ . ~31= 0

A.2 + 31.+ 2 O i.e, (A.+ 1) (A.+ 2) = O

Ai -1, ~ = - 2
Step 2: R(~ Cf<l + a1 i.. = p(),) ... as n = 2.

Step 3 : Substitute /'1 and 1'2 in R(I,).

Clo + tt1 Ai 0-i)12

and °<> + tt1 ~ (~)12 as p(J.} = ,,u


i.e. ao- a1 (-1)12 = 1 ... (1)
Modem Control Theory 4 -13 Solution of State Equations

and Oo - 2a1 = (- 2)12 = 4036 ... (2)

Step 4 : Subtracting (2) from (1 ),

IX1 -4035 and Oo = -4034


Step 5 : f(A) A12 = R(A)

aJ + U1A = - 4034 [~ ~]- 4035 [-~ -~]

[-4034 -4035]
8070 8071

A12 = [-403-1 -4035]


8070 8071

Similarly eAt which is a power series in\crms of A can be evaluated using Cayley
Hamilton theorem.

>>* Example 4.4 : Find llit state tra11silion matrix for

A = [o
2 -3
-1] Using Cnyley Hamilton Theorem.
Solution : The function to be evaluated is,
f(A) = eAt hence p(A) = e>. 1

Step 1 : Find the elgen values,

11..t-AI O i.e, I-~ ;,+ 1=0 3

).,2 + 31.. + 2 O i.e. (}., + 1) (}., + 2) = 0

At - I, /"2. =- 2
Step 2 : Construct R().)

ao + a11.. + ex,,_ 1
R(>.) ... + 1 /,n - but n = 2
R().) ... By Cayley Hamilton method
where p(A) ... replacing A by /, in f(A).
Modem Control Theory 4 • 14 Solution of State Equations

Step 3 : Substituting values of >.1 and ~.

. .. (1)

and ... (2)

Step 4 : Solving equations (I) and (2),

e-1 -e-21
·and 2(,-1 _ e-21
Step 5 : f(A) c R(A) = <Xol + u,A ... replace I.. by A in R(A)

eA• 2e-c - « 21 [~ ~] + (e- 1 _ e- 21) (~ =~]

This is the required stale transition matrix.


1111+ Example 4.5 : Fiml the state tra11sitio11 tnJ1trix of,

o o -21
A =
[
0 1 OJ by Cayley Hamilto11 theorem.
1 0 3
Solution : The function to be evaluated is,
f(A) = eAt hence p(A) = ,/'

Step f : Find the eigcn values.

0
l'-1-AI =1~ -1
},-1
0
~ I= 0
A-3
>.(A-1} (1..-3) + 2 (1..-1} =O
(1..-1} p,2 -31..+ 2) = O i.e. {A-1) (1..-1} (1..-2) =0
A, = 1, ~ = 1, ~ =2
Thus A, ~ 1 is repeated 2 times

Step 2 : R(A) <Xo + ail..+ fkz'-2 ... n = 3


= p()J = e'IJ.
Modem Control Theory 4-15 Solution of Sta~e Equations

Step 3 : For )1= 1, \


(Jo+ a1 +CC:! = e1
\ ... (1)

For Ai = 1, as it is repeated use,

~P<'
di.
·>I 11.=Ai ~Ro->J
di. J.=A.i

i.e, d Al
-e
di.
I"'"2 d
-[a0
di.
+a1).+a2). 2 II
i).=).2

te).tl a I+ 2a2 /~l.a).2


).=1·2
\
a1+2az te1 ... (2)

Note that differentiation is with resped to I. and not t,

and for ":i = 2,


(Jo + 2 a1 + 4 az = e21 .•. (3)

Step 4 : Solve equations (1). (2) and (3).

From (2), CI1 t c1 - 2 Ciz


From(!), ao et - a1 - az = ct - tc1 + 2az - «i
e1(1 - I) + f'2
Using in (3),
c1 (I - t) + Ciz + 21 e1 - 4 -12 + 4 Ciz = e21
c21 - c1 + t e1 - 2te1 " e21 - e1 - t e1

tc' - 2e21 + 2c' + 2te1 = 3te1 + 2c1 - 2c21


and (Jo e1 - te1 + e21 - e1 - te1 = - 2te1 + c21

Step 5 : f(A) R(A) =(Joi+ a1A + Clz A2

r~ r -~H~ ~ -~J n r -il =

f(A) =
eA'=OQ[~ ~ ~l+a1[~ ! -~]+a{~! 1]
Substituting values of (Jo. a1 and az and rearranging,
Modem Control Theory 4 -16 Solution of State Equations

eAt
2e1 -c21

-c1 +e21
0
0
c'

0
,,. ~''"]
2c21 -c'

'This is the required state transition matrix.

4.10 Similarity Transformation Method


Consider a matrix A of order n x n having cigcn values At• >.i, ... ~· There exists a

A
0
;
0
,_
;2
0
0
l
diagonal matrix I\ such that its diagonal clements are the eigen values of matrix A.

A.,
= Diagonal matrix .•. (1)
[
O 0 ··· A.0
Both A and A have same eigen values and hence arc called similar matrices.
The diagonal matrix A can be obtained by defining a similarity transformation of state
variables as,
X(I) = M Z{t)
In such a case, M is the modal matrix of A.
And the diagonal matrix is obtained as,
I\ M-1AM ... (2)

r
Now c"t I + /I.I + _!. 11.2 t2 + ...
2!
o-o
0 -o-01
0 -2 0
"•0.
i·I !
0 1 -

0 0-
o-
0
'J I
1
+
0

0
"2 0-0

·- >.."
t+.!.
2!
0
I! '-~ 0

->..~,
12 +

o---·---· o
0--·-- 0
Modem Control Theory 4-17 Solution of Stato Equations

c'\t ... (3)

The transformation used is,


X(t) MZ(t)
X{O) M Z(O)
M-1 X(O) M-1M Z(O) = Z(O) ... (4)

and
.
X(t)
.
X(t)
~t)

AX(t) = AMZ(t)
Thus

~t)
. AMZ(t)

M-1Mi(t) ~C1AMZ(t)

Z(t) A Z(t) ... (5)

This is transformed state model.


The solution o( homogeneous state equation in X(t) is,
X(t) = eAt X(O) ••. (6)

While solution of equation (5) is,


Z(t) = c"1 Z(O) ... (7)

Using equation (4) in (7),


Z(t) = e"1 M - 1 X(O) ... (8)
Premultiplying by M,
MZ(t) M e"1 M - I X(O)
But MZ(t) = X(t) ... Transformation used
X(t) ••• (9)

Comparing equation (6) and (9) it can be written as,

eAt = Mel\t M - 1 I ... (10)

where M : Modal matrix


and el\l is given by equation (3).
Modem Control Theory 4 -18 Solution of state Equations

,,.. Example 4.6 : Fi11d stale l7a11s1tfon matrix of.

A = (20 -l]
-3
by similarity transformation metl1od.

Solution : Find the eigen values.

p,J-AI 1-~ )..::11=:>..2+3:>.+2=0

(:>. + 1) p, + 2) 0
-1, hi= -2
Calculate cigcn vector.

For Ai= -1, [~.1 l - A)=[=~ ~]

M2
[~;~ J = [~]
M [M1: M2J "l1rt ~]
0At [c~' O ]
/-ii = l c_q
r c-•
0

[ 2 -I]
M-1 Adj [11.1] _ -1
JMT--1--
1 _[ 2
-1 -;]

... Required state transition matrix


Modem Control Theory 4 -19 Solution of State Equations

,,.. Example 4.7 : Obtain the complete time response of system given by,

. = [_0 1]
X(t) 2 O X(I) where X(O) = [~]

and Y(t) = (1 - 1) X(t) (VTU:JanJFeb.·1008)


Solution : Given system is homogeneous whose solution is X{t) = c'" X(O)

Now

Isl -A) s [10 o]1 _ [-2o 01] = [s2 -1]s


Adj(sl-A)
(sl-A)-1
Isl-Al

Adj (sl -A)


[enc cc )r
21
12
22
= [1s -2]r s 1]
s
=[
-2 s

Isl - Al s2 + 2
s
s2 + 2
(sl- A)-t
-2
52
:+ 2]
s2 + 2

eAt L-I [s 2:
-2
2 s/+ 21
s
s2 +2 °s2+2
L-1
{s2:i} L-1 lr __ s__ }., cos .fit
52 + (..fi.)2

L-1
{/+2} L-1 {J_..fi. . ..fi.
52 +(..fi.)2
} 2 J_J2 sin .n t
L-1
{s2-~ 2} L-1 {- ../'i . .fi
s2 + (.fi)2
} = - J2 sin .fi t

CAI
cos.fit ~sin.fit]
[ -..fi. sin..fi. t cosJ'i t
Modem Conltol Theory '4·20 Solution of State Equations

X(t) CAI X(O) " CAI [~] " Jz


[cos J2 t + s.in J2 t]
cos./2 t-./2 sin J2 t
:. Output response Y(t) = (1 - 1) X(t)

(1 - 1)
cos J2 t + ~ sin J2
v2
t]
[ cos./2 t-./2 sin J2 t

Jz sin J2 t

Y(t) = ~ sin ./2 t is the required response.

,.. Example 4.8 : Find out the time response for u11it step input of a >1JSlem given by

Xct) = [~2 ~3] X(t) + [~] U(t) and Y(t) = [~2 -~] X(t) and X(O) • m.
Solution:

(sl-AJ [" o][o 1] = [" -1 ]


0 s - -2 0 2 s+ 3

Adj ( sl -Al [ell c!2 "[s+


c21 c22
r t
3 -2r =
s
[·+-23 :]
Isl-Al s2 + 3s + 2 = (s +I) (s + 2)

eAt L.1 ((sl - A)-11


[ .. ,
(s+ l)(s+ 2)
-2
, I
(s+ l)(s+ 2)
= ¢(s)

(s+ l)(s+ 2) (s + 1)5(s + 2)

Finding partial fractions,


2
1
---
s+t
s+2
(O(s)) = _2._ + _2_
[
s+t s+2
s+l
-1
-+-
s+l
I s+2
I
2
s+2
l
Modem Control Theory 4 ·21 Solution of State Equations

c-t - c - 2t ]
-c-• +2c-21

ZIR c111 X(O) = e"' [l] = [ 2·•c


0 -2c-1+2c-21
-c -2t]
To ftnd ZSR L-1 { ¢(s) 8 U(s) J
U(t) Unit step :. U(s) = 1 / s

ZSR L-' l[(s+~~~:+2) (s+t):s+2)] [~]. /s]) [l


(s+ l)(s + 2) (s + l)(s+ 2)

2']
2.5- Je-1 + 1.5 c-
X(t) ZIR +ZSR =
[ 3c-' -3c-21
Y(t) [-~ -~J X(t)

o ']
[-2 -3
[2.5- 3e- 1 +1.5e-2']
3 C- I _ 3c - 2 I
Y1(t) 3 (e-• -e-11)

Y2(t) - S + 3 (2c·21 -e-1)

These arc the outputs for unit s~cp input applied. [ t _21 ]

•• Example 4.9 : For a system X = AX, X(I) = -21 whm X(O) • [-~] and
- 2t

X(t) = (_:~:]for X(O) = [-~J


Determine the systtm matrix A.
Modem Control Theory 4 ·22 Solution of State Equations

Solution : System is homogeneous so ZSR =0


X(t) eAt X(O}

let A [Al A2]


A3 A4
Now X(t) I -2• ]
L-e2e-2•
,
hence X(t) = [-2e-2')
4e - 21

and at t = 0
.
X(t) [-42]
So X(O). = [-42] when X(O) = [. ~]
Similarly X(t) [_e:_1 1], • = [ e-e-•1
X(t) I at t =0 X(t) = [: ~]

So
.
X(O) [:~]when X(O) = [:~]
Substituting in X(I) •
. A X(t)

and
[-l]=[A1
1
A2J[l]-1
A 3 A4

A1-2A2 -2 ..• (1)


A 3 -2A4 +4 ... (2)

+A -A2
I -1 ... (3)

A3 -A4 ... (4)


Solving these 4 equations simultaneously,
A2 = 1, A I = 0, A4 =- 3, A3 =-2
A "' [-02 _\]
4.11 Controllability and Observability
In a control system analysis, it is necessary to find an optimal control solution for a
given control problem. The existence of such a solution depends on the answers of two
basic questions which are,
1. For a given system, is it possible to transfer any il).itial state to any other desired
state in a finite time under the effect of suitable control input force ?
Modem Control Theory 4-23 Solution of State Equations

2. If the output is measured for finite time then with the knowledge of the input, is it
possible to determine initial state of the system ? -
The answer to the first question gives the concept of the controllability while the
answer to the second question gives the concept of observability of the system.

4.12 Controllability
The answer to the first question means the concept of controllability of a system which
is related to the transfer of any initial state of the system to any other desired state, in a
finite length of time by application of proper inputs. Hence controllability can be defined
as,
A system is said to be completely state controllable if it L~ possible to transfer the
system state from any initial state X(t0) to any other desired state X(t 1) in a specified finite
time interval (t 1) by a control vector U(t).
The concept of controllability and observability were originally introduced by Kalman
hence Kalman's tests are used to find out whether the system is controllable and
observable or not.

4.12.1 Kalman's Test for Controllablllty


Consider n '" order multiple input Linear time invariant system represented by its state
equation as,

X = AX(t) + BU(t) ... (1)

where A has order n x n matrix


and U(t) is rn x 1 vector i.e, there arc m inputs.
X(t) is n x 1 state vector.
The necessary and sufficient condition for the system to be completely state
controllable is that the rank of the composite matrix Qc is 'n',

The composite matrix Qc is given by,

... (2)

ln this composite matrix Qc, B, AB, A 2B ... arc the various columns.
Proof : Let us see the proof for this condition. Assume that the final state is the origin
of the state space while the initial time is zero i.e. t0 = 0.
As fmal state t = tr, is the origin of the state space then X(t1) = 0.
. .. (3)
Modem Control Theory 4 ·24 Solution of State Equations

The solution of the state equation (1) is given by,

X(t) = cAt X(O) + J CA (HJ B U(t) dt ... (4)


0

Substituting t = t1 for the final state,


/t1 X(O)+J CA(t1-t) BU('t)dt ... (5)
0
Using (3) in (5),

0 e
At
I X(O) +
I
J cA(t I -ti B U (t) dt
0

/11xco) - J eAtl ·e-"' BU(t)dt


0

'1
X(O) = - J e-At B U(t) dt ... (6)
0

This shows that any initial state X(O) 'nust satisfy the equation (6) for complete state
controllability. Thus the controllability depends on matrices A and B and is Independent of
matrix C.
Now mathematically e-A' can be expressed as,

... (7)

Using (7) in (6),

X(O) ... (8)

Let J ak(t) U(t)dt


0

X(O)

X(O) - [B : AB : ... : An -
1
BJ [ ~;~

IJn-1
l ... (9)
Modem Control Theory 4 -25 Solution of State Equations

X(O) = - 0., [ ~;
Pn-1
l ... (10)

The vector matrix of Pk is of order n x 1 and if system has to be state controllable


then any X(O) must satisfy equation (9) for which rank of 0., must be n which is a n x n
matrix. For any rank of 0., less than 'n' ii indicates that some of the states arc not
controllable.
This proves that the rank of composite matrix Oc must be 'n' for complete state
controllability of the system.
The advantage of Kalman's test is that for any form of matrix A whether A is
canonical or otherwise, the test can be applied. But its limitation is that it does not give a
physical feel of the problem. If the answer to the Kalmans test is uncontrollable then it
does not indicate which mode is uncontrollable. But due to mathematical simplicity of its
application, Kalman's test is used to test the controllability.
Key Point: The matrix has a rank r 111tans tire dt1em1i11a11t of ordtr r x r of the matrix
has 1wnuro value and any detem1i111111t having order r + 1 or more than that has zero value.
!Thus rank of 0., = n for controllability
•• Example 4.10 Find the amtrollability of the system,

It 2

Solution: A
[~ -~1 B = [~]

AB [_:]
c, = (B AB] = [~ _;]

Now I~ _; I = - 1 which is nonzero

Rank of Qc = 2 = n

Hence the given system is completely controllable.


Modern Control Theory 4-26 Solution of State Equations

i• Example 4.11: Cimlualt. tire co11tro/Jal>ilily of the system

willt,
.
x AXT BU
IiI rq
and A
[~ -) J 8 a I J
LO
Solution: n ,. 2

QC [B AB!

All [~ _:] [~] = [~]

QC [~ ~]
Now , , 11 = Determinant of 2 x 2 =0
10 0

Hence rank of Qcr = 1 and


Rank of Qc "' n
:. The system is not state controllable.

4.12.2 Condition for State Controllability in s-Plane


The system is represented by its transfer function in the s-plane. Such a system is
completely state controllable only if the denominator and numerator polynomials of the
transfer function do not have a common factor, except the constant. Such polynomials are
called coprime. In other words, there should not be a pole-zero cancellation in the
s-domain transfer function of the system for complete state controllability. If the pole-zero
cancellation exists then a.JI the information about the dynamic behaviour of the system is
not carried all along the system. In such a case, the system cannot be controlled in the
direction of the cancelled mode.

4.12.3 Gilbert's Test for Controllability


For the Gilbert's test it is necessary that the matrix A must be in canonical form.
Hence the given state model is required to be transformed to the canonical form first, to
apply the Gilbert's test.

.
Consider single input linear time invariant system represented by,

X(t) = A X(t) + B U(t)


Modem Control Theory 4 ·27 Solutlon of State Equations

where A is not in the canonical form. Then it can be transformed to the canonical form
by the transformation,

X(t) • MZ(t)
where M Modal matrix
The transformed state model, as derived earlier, takes the form,

z.(t) c A Z<t) + B U(t)


where A Diagonal matrix
B M -I B

It is assumed that all the eigcn values of A are distinct.


In such a case the necessary and sufficient condition for the complete state
controllability is that the vector matrix B should not have any zero elements. If it Ms
zero elements then the corresponding state variables are not controllable.
If the eigen values are repeated then matrix A cannot be transformed to Jordan
canonical form. If A has eigen values A,, A,, 1-z, 1'z, 1'z, ~ "4· ... A,, then the transformation
results Jordan canonical form as,

O················· 0
O················· 0
J= O··· ············· 0
Jordan O················· 0
block
O······~···· · · 0
~················O

0 iJ ........••.•........................................ A,,

In such a case, the condition for the complete stale controllability is that the elements
of any row of B that corresponds to the last row of each Jordan block are not all zero.
,_., Example 4.12: Consider tlre system wit/i state equation.

~I

.
Xz
[ XJ

Estimate tlte stale controllability by


i) Ka/matt's test and ii) Gilbert's test
Modem Control Theory 4 ·28 Solution of State Equations

Solution : i) J<.lman's test


0c (B : AB : A2BJ .•. n = 3

AB

0
~lj = [~
-6 36
-11
60

I~ ~ ~I = i. Thus IOcl is nonsingular.

Hence the rank of Oc is 3 which is 'n'.


Thus the system is completely state controllable.
li) Gilbert's test
For this, it L~ necessary to express A ill the canonical form. Find eigen values of A.

II.I-Al = )I ~. -1,11
"" ~I
}.+6
lo 0

:. "K .. 61.2 + 11). ... 6 = 0


:. (I.+ 1) (/.. + 2) (}, + 3) = 0

'·1 = -1, ~ = - 2, A..! =-3

l [ 1 1 1]
As matrix A is in phase variable form, the modal matrix M is Vander Monde Matrix.

i..2 1
i..3 = -I -2 -3
).~ ).~ 1 4 9
Modern Control Theory 4 ·29 Solution of State Equations

M-1
---=
Adj(M]
[~
-5 8 -3
-1
6

2 -1
-l [j -5 -~i8
-3 -1
= [-~
2.5
~1
0.5]
-1
IMI -2 -2
1.5 0.5
2.5 0.5][°] = [°.5]
li W1B=[-~ -4
1.5
-1
0.5
0
l
-1
0.5
As none of the clements of i3 are zero, the system is completely stale controllable.
Key Point: As Gilbert's lest requires to transfonn matrix A into canonicalform, it is time
ccmsuming and hence Kal111a11's test is popularly used to ttSt controllability.

4.12.4 Output Controllablllty


In the design of some practical systems, it is necessary to control the output variables
rather than the stale variables. In such a case complete output controllability is defined.
Consider the stale model of a linear lime invariant system as,

X(I) A X(t) + B U(l)


Y(I) C X(t) + D U(t)
The system is said to be completely output controllable if it is possible to construct an
unconstrained input vector U(t) which will transfer any given initial output Y(lo) to any
final output Y(t1) in a finite time interval to St S t1.
In such a case, construct the test matrix Q., as,
Q., = [CB: CAB: CA2B: ... CAn-l B: DJ
Thus if the order of matrix C is p x n i.e. there are p outputs then for the complete
output controllability, the rank of test matrix Q< must be p.

4.13 Observability
The observability is related to the problem of dcterrnlning the system ·state by
measuring the output for finite length of time. Hence observability can be defined as,
A system is said to be completely observable, if every stoic X(t0) can be completely
identified by measurements of the outputs Y(t) over a finite time interval. If the system is
not completely observable means that few of its state variables are not practically
measurable and arc shielded from the observation.
Similar to the controllability, the observabillty of the system can be obtained by using
Kalman's test.
Modem Control Theory 4. 30 Solutlon of State Equations

4.13.1 Kalman's Test for Observability


Consider nth order multiple input multiple output linear time invariant system,
represented by its state equation as,

x A X(t) + B U(t) ... (1)

and Y(t) CX(t) ... (2)

where Y(t) px l output vector


and c t x n matrix
The system is completely observable if and only if the rank of the composite matrix
Q0 is 'n'.
TI1e composite matrix Q0 is given by,

c, = (Cr,ATCT: (A ,.)"-•cTJ I
where Transpose of matrix C

and Transpose of matrix A

Thus if, rank of Q0 = n, then system is completely observable.

Proof : For the system described by the equation (1) and (2), the solution is,
t
X(t) = cA• X(O) + J cA (t-t) B U(r) dr ... (3)

Y(t) = c CAI X(O) + c I


0
CA (t-T) B U(t) dr ... (4)

Now as the matrices A, B and C are known and the input vector U(t) is known, the
integral term in the equation (4) is known. This can be subtracted from observed value of
Y(t), to modify the lefthand side. Hence the obserability can be investigated by considering
the equation,
Y(t) = C eAt X(O) ... (5)
as the left hand side is known due to measured output. Thus for observability, the
unforced system can be considered i.e, homogeneous state equation can be considered.
Consider the state model of unforced system as,

X = A X(t) and Y(t) = C X(t)


The output is given by,
Y(t) = C eAt X(O) ... (6)
Modem Control Theory 4. 31 Solution of State Equations

But ... (7)

•-1
Y(t) I Ccxk\t) A kX(O)
k=O

Y(t) CJo(I) C X(O) + cx1(t) CA X(O) + ...... <Xn _ 1(t) C An - 1 X(O)


... (8)
For the system to be completely observable, from the given output Y(t) over the
interval 0 ~ t ~ t1, the X(O) must be uniquely determined. TIUs is possible if the rank of the
matrix,

must be n.
[J.]
Taking transpose of the matrix, the condition can be stared as the rank of matrix Q.,
must be n for complete observability where,
Qo; [cT:ATCT: ... :(ATt-lCTJ

>'* Example 4.13 : £va/11ate tire observability of tlrr sys/em

and Y(I) = (1 OJ [;:]

Solution : The order of the system is, n ~2

A
[-~ -~J and c .. (1 OJ

AT [~ -21
I -1
and CT .. [~]

Qo rc·r ATCT)
Modem Control Theory 4 ·32 Solution of State Equations

Consider the determinant

I 10 11I 1 =nonzero

:. Rank of 2=n
Hence the system is completely observable.
,... Example 4.14 : £wlllate tire obstrVability of the system with

A [~ -~ _r] • B = [~] and C = (3 4 IJ

Solution : The order of the system is n = 3


Qo 1cT AT cT (A T)2CT)

[! -~]
0
AT 0
-3

CT
[:]
0
ATCT
[! =~OJ [3j~ [~]
0
J
0
(A T)2CT AT[ATCTJ=[! 0
=~][~] = [=~]
Qo
[~
0
-~]
-2
Modem Control Theory 4. 33 Solution of State Equations

Consider the determinant,

3 0 01
4 1 -2 = - 6 + 0 +0 +0- 0+ 6 =0
11 I -21
Hence a nonzero determinant existing in Q., is having order less than 3.

:. Rank of Q0 "' 3 "' n


Hence the system is not completely observable.

4.13.2 Condition for Complete Observability in s-Plane


The condition for complete observability in s-plane also can be stated from the transfer
functions or transfer matrices. The conditions remain same as before that the numerator
and denominator polynomials of transfer function must be coprime. There should not be
cancellation of pole and zero in the transfer function. If the cancellation occurs then the
system is not observable and the cancelled mode cannot be observed in the output.

4.13.3 Gilbert's Test for Observability


11 is known that for Gilbert's test, the state model must be expressed in the canonical
form. Consider the state model of linear time invariant system as,

X(t) A X(ti + 13 U(t)


and Y(t) C X(t)
Use the transformation X(t) = MZ(t) where M is the modal matrix.
Y(t) CM Z{t) = C Z(t)
where CM
For a single input single output system,

Y(t)
[
~~
Zn(t)
~:~]
'11 Zi(t) + '12 Zz(t) + ··· + Cin Z,,(t)
Due to the canonical form, all the states are decoupled and not linked to each other.
Hence for the system to be observable, each term corresponding to each state must be
observed in the output. Hence none of the coefficient of C must be zero.
Modem Control Theory 4.34 Solution of State Equations

Thus the system is completely observable if all the coefficients of C arc nonzero,
none of the coefficient is zero. If any clement is zero, the corresponding stale remains
unobserved i.e. shielded from observation.

n• Example 4.15 : Evaluate lire obseroabilily of lhe system wil/1

A=[~ ~
0 -2 -3
~1' B = [~] a11d C = (3 4 1)
l
Using Gilbert's lest.
Solution : For Gilbert's lest, find the cigcn values.

[),I-A)= 1~0 -~ -~ l=O


2 i.+3

l.3+3'>..2+2i. O
i.(i.2 + 3i.+ 2) O
i.(),+1}(1.+2) 0
:.)'! = 0, ~ = - 1, "3 = - 2

1
M = 1.1 1.2
[
1

).~ ;.~
1
1.3
;.~
l
As the eigen values are distinct, the modal matrix M is a Vandcr Mondc matrix.

[1
= 0 -II -2
0 I
11
4J

When the modal is transformed to canonical form,

C = CM = (3 4 1) [~ -~ -~]
0 I 4

= [3 0 - 1)
As there is one zero element in C, the system is not completely ·observable.
Modem Control Theory 4 .35 Solutionof State Equations

Examples with Solutions

1• Example 4.16 : Find the statt transition Mitrix cf the state tquatio11.

Using lht inoerse transform method. (Bang•lo"' Univy Aug.·96)

Solution:

Now sl-A s [~ ~]-[~ ~] [s~ 1 s ~ 1]


=

Adj (sl-A)
1s1-Ar1
( sl-A I

Adjoint [sl - AJ [cofactor matrix) T = [s-1


_1 0 ]
s-1

Isl - A! = (s - 1) (s - 1)

s-1 o] [ 0]
[ -I s- I
(s-l)(s-1) =
s- 1
I 1
s-1
= [_1I ol1
(s - l)(s-1) s-1 (s-1)2 ;:I
Taking inverse Laplace transform.

4>(t) e1 cl
= [tel O] .. . Required state transition matrix

I~ Example 4.17 : For a certain system, wl!m

X(O) [_13] then X(I) = [ ~-:~Jt]


while X(O) = [:]Ihm X(t> = [::]
Determine the system matrix A. (llangolore Univ. Aug.·95, April-'J'J)
Modern Control Theory 4·36 Solutionof State Equations

Solution : The solution of the equation is,


X(t} eA• X(O}

Let A

and the equation is,


.
X(t) A X(t)

[ -JI ] • [ 3e-J1]
Now X{t) _; e-Jt hence X(t) = ~ e-Jt

and X{O) [-13] .


X(O} = [-3)9
Now X(O} A X(O}

[-:] [Al
A3
A2]
A4 [-~]
A1-3A2 -3 ... (1)
A3-3A4 9 ... (2)
.
Similarly X(t)
[::] X(I) = [::]

X(O)
[:] X(O)
[~]
.
X(O) [Al ~:] X{O)
AJ

GJ [A'
AJ ~:] [~]
A1+A2 ... (3)
A3 +A, ... (4)
Subtracting (3) from (1),
-4 A2 -4

A2 1
Al 0
Modern Control Theory 4 -37 Solution of State Equations

Subtracting (4) from (2),

8 i.e. A4 = - 2

n• Example 4.18 : Obtai11 Ilic so/11tio11 of Ille liomoge11eo11s state equation X =AX ionere

A = rl1 -2]
1 -4
and X(O) = fl0.51
I J (Bangalore Univ. Aug.-97)
Solution: The state transition matrix is,

L-1 {cst-Al-1}

[sl-A)
s[~ ~J-G =:] =[s~i' s::]
Adj(sl-1\)
tsl-AI

Adj [sl-A)
s+4
= [ -2 s- 1
1 ]T =[s+4
1
-2]
s- I

Isl-Al (s-l)(s+4)+2 =s2-s+4s-H2

s2 + 3s- 2 = (s - 0.561) (s + 3.561)

(s-0.56;;(:+ 3.561) (s-0.561;(!+ 3.561)]


I (s- I)
[
(s-0.561) (s+ 3.561) (s-0.561) (s+ 3.561)

L-1 [ s+ 4 ] L-1 [ l.106 0.106 ]


(s-0.561) (s+ 3.561) (s-0.561) (s+3.561)

1.106 e + 0 561 I - 0.106 e " J.56! I

L-1[ -2
(s- 0.561) (s+ '3.561)
] 1-1 [ -0.485
• (s-0.561)
+ ~1
(s+ 3.561)

-0.485 C~ 0.S61t+0.4850- 3.5611


Modem Control Theory 4 -38 Solution of State Equations

i,-1 [ 1 ] i,-1 [ 0.242 - 0.2<12 ]


(s-0.561) (s+ 3.561) rs-0.561) (s+ 3.561)

0.242 e " 0.56l t .,. 0.242 e" J.St.l t

'" [1.106c0.S611-0.106c-J.5611 -0. .i85 C0.~611 1 0.485 e" }.5611]


:.
0
= 0.242 c115r.i' -0.242 e- 3·561' -0.106co.>ol' ... 0.106c-3.561 •

0.068 CO.St.11 + 0.432 C. 3.561 t]


[O.OlS e11•5611 ~ 0.9R5 e" J.S6l t

,,_.
.
Example 4.19 : For a system represented l7y X = AX, the response is

X(I) = [2e-1
e-4'1] whm X(O) • = [4e-c-2t21]
= [2]1 and X(t) whm X(O) = [4]
1

Determine the system matrix A and the state transition matrix.


(VTU: JanJFeb.-2005)
Solution : Let the solution is,
X(t) cAt X(O)

Let A = [At A2]


A3 A4

Now X(t) [ 2c-4t ] •


X(t) = [ - 8 c ·41]
.
e-.at - 4 e -41

At t = 0, X(O)
[~] . = [-8)
X(O) -4

And X(t) [4e-2


e-21
1] • = [-se-21]
X(t) -2c-21

At t = 0 X(O)
[~] . [-8]
X(O) = -2
Modem Control Theory 4 .39 Solution of State Equations

X(t) = [~~ ~:] X(t)

X(O) [~: ~:] X(O)

... (!)
••• (2)

and

-8 ... (3)
-2 •.. (4)

Solving (1), (3) and (2), (4) simultaneously we get,

A
= [o -s]
1 -6

[sl-A)

Adj [sl-A)

Isl-Al s2 +6s+8

L-
I [l l s+6
1
= (s + 2) (s + 4)

-8]
s
(s+2) (s+4)

s+6
L-t (s+2)1(s+4)
[
(s+2)(s+4)
-8
(s+2)5(s+4)

(s+2) (s+4)
l
Modem Control Theory

L-1[ ~2- s~4


0.5 0.5
-----
s+2 (s-;-4)
4 ·40

--+--
-4
s+ 2 s+4
1 2
4

(s+2) + (s+4)
l Solutlon of State Equations

1ui+ Example 4.20 : A linear timt invaritmt system is clwraderiud by the homoge11eous state
equation:

Compute the solution of homogeneous equation, assume tire initial slate vector :

Solution : From the given model,

A =
[~ ~]
[sl-A) [ 1 O] [l OJ
s 0 I - l l " - I s- I
[s- I 0]
Adj [sI -A) [s~ I ~~ r" [s~ s~ i] I

Isl -Al (s- l)l

s- I 0 ]
Adjfsl-AJ - [ I s-1
jsl- Al - (s- 1)1

,; .]
I
•-I
[
(s-\)2

L-11s1-Ar1
~ 0]
[
= L-1 ~~
(s- I)"
_I_
s- I
Modem Control Theory 4 -41 SoluUon of State Equations

c'
[te'
o]
c'

X(t) cAt X(O) ; zero input response

This is the required solution.


1..+ Example 4.21 : Obtain tire time response of the following system :

[ ~:] ; [~ ~][~:] + [:] U (I)

where U (I) is the unit step occurring at t = 0 and X T (0) = [1 OJ.


Solution : From the given model,

A = [: ~] B = [:) X (0) = [~]

Now as matrix A is same as considered in Ex. 4.20 while X (0) is also same as consider
in Ex. 4.20, the zero input n.'Sponsc is same as obtained in Ex. 4.20. ·

ZIR = X(t) = c'


[t c'
J

Thi'.' zero state response which depends on U(t) and matrix B is given by,

ZSR X(t) = L-1 { ets) B U(s)}

where <i(s)

1
s-1
[ (s-11)2
_l_]
(s-1)
as obtained in Ex. ~.20.

B [:] and U(s) = m as unit step

(l(s) B U(s) 1
si'I
[(s-1)2
_I
(s-1)
0 l G]m
l ll
Modem Control Theory 4.42 Solution of State Equations

(.!.] = r -
l
r_1 (s-1)I 1_ 5
l; 1
s(s-1)
1
1..-1)'
I

l
(•-1l' (•-I) -(,-!)

s-1
1 s
1 . . .
_1_ ... usmg partial fraction
[
(s-1)2

Total response = X(t) = ZTR+ ZSR

= [e [e' -1] = [2e -1]


1
tc1
]
+ t c'
1
2tc1

,,. Example 4.22 : Fitrd and sketch the response of the system witlr the followi11g transfer
function, input and initial conditions.

T(s) = -4 s+ 20
s+300
r(t) 10 u(t) ... (input)
!1(0) 0
Solution : r(t) = input and y(t) = output

T(s)
= Y(s) = -4s+20
R(s) s+JOO

Dividing numerator by denominator as are of same order,


Y(s} _4 + 1220
R(s) s+300
Modem Control Theory 4 .43 Solution of State Equations

The corresponding stale diagram is,

«o

,,..._,---y(t)

'---------i 4 1---------'

Fig. 4.1

X1 r(t)-300X1

and y(t) 1220 X1 -4 r(t)

A=(-300], B=[I). C=[l220J. D=(-4)


(sl-A) [s+ 300]

[s1-Ar1
[s+ ~oo]
(e-3()01]
Now y(Ol 0 hence substituting in y(t)
y(O) 1220X1(0)-4 r{O), r(O) =10 as given to be 10 u(t)

0 1220 X1(0)-40
40
1220

ZlR CAT X"l(O)=~ .,-3001


1220
To find ZSR use,
ZSR L-1 [9(s) B U(s))

L-1 [-1-·l·!Q] as U(s)=R(s)=!Q


(s+300) s s

L-1 [ 10 ]-t-1 [1/3() 1/30]


s (s+ 300) s s+ 300

ZSR _..!___]_ c·:lOOt


30 30
......

Modem Control Theory 4 .44 Solutlon of State Equations


~~~~~~~~~·~~~~~--~~~~~~~~~
X(t)

X(t) ...!..-5.4x 10-4 c-JOO~


30
y(t) 1220 X(t)-! r(l)

1220 [ ~ -5.4x 10-1 c·· 3001 J -4 (10)

0.667 -0.667 e- JOO I

The response y(t) is,

y(t)

0.667 --------:;-:;·..----

Fig. 4.2

,_.. Example 4.23 : A linear dynamic time int!Qriant system is rtprese11ted by

X
. A X(I) + B U(I)

umere A
[~ ~ ~1 B=[~ ~1
0 -2 -3 1 0

Find if the system is completely controllable.


Solutlon : For the system, n = 3

o, [B: AB: A2BJ

AB [~ ~
0 -2 -3
~1 [~ ~i ~1
1 0
=[ ~
-3 0
Modem Control Theory 4 -45 Solution of State Equations

A2B = A [AB]=[~
1
0 I
OJ[ o1 o10 J = [-31 OJ0
-2 -3 -3 0 7 0

1 0 0 1
QC = [~ 0 1 0 -3
0 -3 0 7 ~]
Consider the determinant,

[ ~ ~ ~1
I 0 -3
= 1 = nonzero

Hence rank of Qc = 3 =n
Thus the given system is completely controllable

11111~ Example 4.24 : Consider the syste~n represented by,

x [- ~~ ~:~] X(t) + G] U(t)

Y(I) (1 OJ X(I)

Find the complete obseroability of the system.


Solution : For the system, n =2
A [-0.0.12 0.4]
-0.1
C = (1 O]

AT [-0.2 0.1]
0.4 -0.1 CT = [~]

Qo (CT A TCTJ

ATCT [-0.2 0.1][1]=[-0.2]


0.4 -0.l 0 0.4

Qo [10 -0.2]
0.4
Modem Control Theory Solution of State Equations

Consider the determinant,


1 0·21
- 0.4 = Nonzero
10 0.4

Rank of Q., 2=n


Hence the system is completely observable.
11* Example 4.25 : Usi11g similJlrity tra11Sfonnationfind I'' for,

A= [-4 3]
-6 5
Solution : Find the eigen values.

p.I-AI IJ.:4 ;..3sl=o


J. -A
2 -2 O
(A+l)(A-2} O
,., -1, ~ =2
Find the eigcn vectors.

For}., =- 1, (}.,! - A) = [! ~]
M1 = [~:~]=[~]=[:~]
For ~ ~ - 2, (>'!! - A) a[: =~]
M2 :!]
[~:~] 2 [ = [~]

M g ~]
[ 2 -I]
= .2.....2_
M-1 Adj (MJ
IMI 1
=[ 2
-1 -:1
Modem Control Theory Solution of St.ate Equations

2c-1 -e21 -e-1 +e21 ]


= [ 2c-1 -2c21 -c-1 +2c21

,.. Example 4.26 : Using lAplace transform metltod, find 1'1 for

Solution : a) A = [oI _4 -3]


[sl -Al =

Adj [sl-AI - [s~4 ~1]" [s~4 -:]

l
1s1-Ar1
Isl-Al - s(s+4)+3 (s+l)(s+3)

s+4 ~
(s+l\(s+3) (s+l):s+3)
e ts)
[
(s+1)(s+3) (s+l)(s+3)

9 (t) = cAt = L- 1
s+4
(s+ l) (s+ 3) (s+ I)-3 :s+ 3) I
(s+ I) (s+ 3) (s+l)(s+3)

1.5 0.5 -},5 T-1.:.?..l


L_ 1 s+I s+3 s+l s+3
0.5 0.5
[--- -0.5 1.5
--+--
J
s+I s+3 s+l s+3
Modern Control Theory 4 ·48 Solution of State Equations

b) A=[-~ -n s -1 ]
[sl -A)
[ 3 s+4

Adj[sl-A]
s+4 ']
[ -3 s
[s+4
-3
I]
s

l
[sI-Ar I
Isl-Al = s2+4s+3 = (s+l)(s+3)
s+4 I
(s+1~+3) (s+l):s+3)
6(s)

l
[
(s+l)(s+3) (s+l) (s+3)

s+4
t_ 1 (s+l)(s+3) (s+I) I(s+3)

l
-3 s
[
(s + l)(s+ 3) (s+ l)(s+ 3)

1.5 0.5
--- 0.5 o.s
---
s+l s+3 s+l s+3
-1.5 1.5
[-+- -0.5 1.5
--+-
s+l s+3 s+l s+3

l .. Example 4.27 : Using Caylty Hamilton method,find it' for,

a)A=[~ -~] b)A=[-~ ~]


Solution : a) A = [-~ -~]

f(A) = eA• hence p(I.) = c'"


Step 1 : Find cigcn values

p.. I-AI
I~ A~51=0
0 i.e, (A + 2) p.. + 3) ~ O
Modem Control Theory 4 .49 Solution of State Equations

Step 2: n=2

R(/.} O'o + a1 A. = p(/.}


i.e. O'o + a1 ). e)J

Step 3 : Substitute values of A.


..• (1)

and ... (2)

Step 4 : Solving equations (1) and (2),


<Xi = e- 21_e-31, O'o = 3e- 21 _ 2e-3•

Step 5: f(A} = R(A) = OQl + <X1 A

eAI (3e- 21 _ 2c- 3t) [~ OJ+ (e-2•-e-31)[ 0


l -6 -~J

CAI
[ 3e-2t -2e-Jt e -2t -e-31 ]
-6c-21 +6e-J1 -2c-21 + 3c-Jt

bl A
[-~ ~]
f(A) CAI hence p().) = c)J
Step 1 : Find eigen values.

IU-AI
I~ -21
A.+4 = 0

A.2+41.+4 0
(A.+ 2)2 ·= 0

= -2, '2 = - 2
Step 2 : "'n=2
R(I~ ~ O'o + a1 A.= p(~
i.e, O'o + a,:i.. c>.:
Modem Control Theory Solution of State Equations

Step 3 : Substitute values of I.

Clo - 2(X1 = c-21 .•. (1)

But H I. is repeated, second equation must be obtained as,


dR(I.) dp().)
di. di.

(XI t e'IJ at ), = - 2 ... (2)

o:, t e-21

Step 4: ... from (I)

Step 5: f(A) = R(A) = Cfol + <X1A


eAt = (e- 2t + 2t e-21) [~ ~] + te- 21 [-~ ~]

c-21(1+21) 2te-21 ]

[ -2tc-2t e-21(1-21)

•• Example 4.28 : Find the respans« ef the system,

X = [~2 ~3]x •[~ ~] U(I), X(O) = [~]


and Y(I) =G ~] X lo tht following input,
U(I) = [~:~:~] = [e~;~::w] whtre 11(1) =unit step function.
Solution : Find cAt for A = [~2 ~3] thus [sl - A) = [; 5
~\]

s+ 3 l]
Adj(sl-A] _ [ -2 s _
[s+-23 I]
s'

l
1s1-Ar1
Isl-Al - 52 +3s+2 - (s+1)(s+2)

s+3(s+2)
(s+I) (s+l) 1(s+2)
$(s) csr -Ar 1 =
-2 s
[
(s+l)(s+2) (s+l)(s+2)
Modem Control Theory

2.
s+l
-2
[ -+-
s+l
1
s+2
2.
s+2
s+I
1
-1
-+-
4. 51

2
s+l s+2
s+2
1 l Solution of State Equations

L
-1
lo(s)I = [ --e2c-•-1 +-c-2 e21-21
?

Now ZSR L-1 {<)(s) B U(s))

U(•) UJ
![ .. ,
l
L_1 (s+1~:+3)
ZSR
(s+t) (s+2)
'"'':'""] [: :] f : ] I
(s+1)(s+2) cs+3

L-1
l [ "'
(s+t~:+J)

(s+l) (s+2) '"' :"''] r· : ,


(s+l) (s+2) s+3
l
' ] ""'']l
s+3
(s+l)(s+3) (s+l)s(s+2) s(s1+3)

L-'l -2
(s+l)(s+2) (s+l)(s+2) s+3
Modern Control Theory 4. 52 Solution of State Equations

X(t)

(t)]
[~ ~] [~~ ~: ]
Y1
[Y2{l)

1 21 31
Y1(t) X1 (t) = 3 - 2.5 e- - e- + 0.5 e-
and Y2{t) X1(t) + X2(t) = 1 + e-lt - 2 e-Jt

,,_. Example 4.29 : The Fig. 4.3 shows the block diagram of a process control systmi with
state variablefeedback and feed forward control. Tire state model of process is,

. [-3 2] [l]
X=
4 -5
X+
0
U

and Y = (0 11 X
a) Derive state model for the eutire system.

b) Find the response if input r(t) is unit step ass11mi11g X(O) = (~}

r(I)

Fig. 4.3
Solution : a) From the block diagram,
U(t) = + 7 r(t) - 3X1 - l.SX2 ... (1)

From the given state model of the system,

- 3X1 + 2X2 + U(t) ... (2)

and ... (3)


Modem Control Theory 4. 53 Solution of State Equations

Using (1) in (2),


.
Xi - 3 Xi + 2X2 + 7 r(t) - 3Xi - 1.5 X2

- 6 X1 + 0.5 X2 + 7 r(t) ... (4)

The equation (3) remain unchanged. Hence state model of the entire system is,

. [-6 0 5] [7]
X =
4
-~ X +
0
r(tl

The output equation remains unchanged.


Y(t) = (0 1 I X(t)

Thiu, A=[-: ~:l 8 =fa], C = (0 11


bl Find o(s) [sI-Ar1

(sl-A) s+6
[ -4
-o·:]
s+;,

s+5
[ 4
0.5] [s+S 0.SJ'
Adj Isl-Al s+6 4 s+6
[sl -Ar 1
lsl-1\I = (s+6) (s+S)-2 = (s2 +lls+28)

s+S 0.5]
[ 4 s+6
----
l
(S+4)(s+7)

s+S
0.5
(s+4)4(s+7) (s+4) (s+7)
c> (s}
[
(s+4) (s+7)
s+b
(s+4)(s+7)
J
No need to calculate eA• as X(O} = [~] the ZIR is null matrix i.e. zero.

ZSR = L-1 ($ (s) B U(s)I but here input is r(t) and not U(t) to the entire system.

ZSR = L-
1(9
(s) B R(s)I and R(s) = !s
Modem Control Theory Solution of State Equations

ZSR [125-05S33c--11 -0.667 c-71] = [X (tl]


1

1-2.33c-4t + 1.333c-71 X2(t)

= 1-2.33 e-41+1.333 e-7t

This is the required response.


1• Example 4.30 : Etialualt rontrol/JJbility and obseruabi/ity of tht. foll<TWing stalt models,

a)A=r-~ -~l B=[~], c -.u -1)

b) A = [-~ -~ -~l · [i ~lB= C = [~ ~]

c) A = [~ ~ ~l · [~l ·
B = C = (0 0 1)

Solution: a) For controllability, ~ = [B : AB] as n =2

10
-21I 1 hencerankof~=2=n
1
Modem Control Theory 4 .55 Solutlon of State Equations

Hence system is completely controllable.


For observability, Q., = (CT : ATCT) as n = 2
CT (1- l)T = [-~]

:. Hence the rank of Q., =1 <n


Thus system is not completely observable.
b) For controllability, Q., = [B : AB : A2BJ as n = 3.

AB = r-~ -~ r: = r=~
0 0 -3
~i ~i ~i
2 I -6 -3

0
A2B A (AB]= r-1~ -2 Ort-2 -4Ol = r-14 Ol8
0
0 -3J -6 -3 18 9
[11 0 -1

:]
0 -I
Q., 2 -2 --4 4
2 1 -6 -3 18

Ii -11
2 -2
-6
= - 7 - 0 hence

Thus the system Is completely contrcllable.


rank of Q., = 3 =n

For observability, Q0 =(CT: ATCT: A T2 CT) as n = 3

n
0
AT CT = -2 0] [I1 3]1 = r-1-2 -3-2 ]
0
0 -3 2 5 -6 -15

AT CT AT (AT CT]= r-1~


0
-2
0
ol r-1
0
-3
-1 -2
-6 -15
i [1
-3 = 4 43
18 45
l
Modem Control Theory

1 3 -1 -3
1 1 -2 -2
[2 5 --6 -15
4 -56

4
18 .15
l
3
4
Solution of State Equations

+7 'F 0 hence rank of Q0 = 3 =n

Thus the system is completely observable.


1For
cl controllability, Oc = [B : AB : A]B] as n = 3

AB=[~ ~ =!][~}]=[;~]

A2B A[ABJ=[~ ~ =~][~~]=[-~]


40 0 OJ
Oc = = - 12000 ~ 0 Oc = 3 = n
[ 100 4010 -30
0
hence rank of

Thus the system is completely controllable.

For observability, 0., =[CT: ATCT: A r2 CT] as n = 3

ATCT = [~ -~ _!][~]=[_:]
AT2cT AT[ATCTJ=[~o ~
-3 -4
~][~]=[-:]
-4 13

0., [~ ~ _:]
1 -4 13

o0 o 11
1 -4 = 1 ~ 0 hence rank of Ou =3=n
l 1 -4 13
Thus the system is completely observable.
Mod•m Control Theory 4 .57 Solution of State Equations

,,... Example 4.31 : Consider the stale modtl,

X = [~ ~] X{t), Y(t) = (1 21 X(t)

Find the se! of initial conditions such that lite mode l' is suppressed in Y(t).
Solution : f'md e At £or A = lrol] hen cc (s I - A] = [ _2 -I ]
s s-l
2 1

[s-1 l]
<(s) [sl - Ar I = Adj [sl -Al = ~
Isl-A( s2 -s-2
s-1
(s+ 1) (s-2) (s+l) (s-2)
2
(s+l) (s-2) (s+l)(s-2)

[21' 1/3 -1/3 1/3]


(s+1) + (s-2)
--+--
(s+l) (s-2)
-2/ 3 2/3 1 I 3 2/ 3
--+--
(s+l) (s-2) (s+l) + (s-2)

CAI L- 1 [o (s)I

CAI ['-' 1 " 1 ., 1


-c +-c
3 3
-2 c-1 +!c21
-3c +3c

J -t 2 2t
"l
-c +-c
3 3 3 3

The equation is homogcnoous hence the solution is,

X(t) 2 cAt X(O), Let X(O) = [ ~]

~t?-t +!e2•
3 3
-2 -t
[-c 2 2t
+-c
3 3
Modern Control Theory

[
4.58

.!.e-1(2a-b)+.!.c21(a+b)

~:-t (-2a +b)+~c21 (2a +2b)


l Solution of Sblte Equations

And Y(t) (1 2J [~~] = X1 + 2X2

.!. c- 1 (- 2a + b) + .!. c21 (Sa + Sb)


3 3
To suppress the mode c21 from Y(t),
Sa+Sb 0
i.e. a -b
Hence the initial state must be,

X(O) = [~:] where m " 0

111.+ Example 4.32 : Write the state ~uatio11S of tire system sllow11 a11d determine its stale
t:Q11trolillbility a11d obsutlQbi/ity. (VTU: }anJFeb.·2006)

Y(s)

Fig. 4.4

Solution : Consider the block ~. Its state diagram is,


s(s+l)

X1

Fig. 4.5
Modem Control Theory 4.59 Solution of State EquaUons

From the state diagram.

x,
.
x,
- = m-- .•• (1)
2 2

Now s = .!!. which is a differentiator and input to it is X1.


dt

Fig. 4.6
Thus,

Xt z X3 ... (2)

Now the block -2- has state diagram,


s+3

.
X2
Fig. 4.7

3X2
U(t) - X1 - -2-
2
.
"2 = - 2X1 - 3X2 + 2U(t) ... (3)
Now m = X2 - X3 hence using in (1),

Xt

Xt
2

2X2 - 2X3 -
.
x. ...(4)
.=
but X1 X3 hence X t =
.
X3 and using In (4),
.
X:J = 2Xi - 2X3 - X3 = 2X2 - 3X3 ...(5)
Modem Control Theory 4·60 Solution of State Equations

The equations (2), (3), (5) give us required state model.

0 0 1] [Ol
X{t) =
[-20 -32 -3o X(t) + 2J0 U(t)
and Y{t) = [I 0 OJ X{t)
For conroUability, Oc = [B: AB: A BJ as n = 3]
2

AB=[-~-~ -~l[~]=[-:]

A2B A{AB)=[-~ -~ -~l[-:]=[~:J

Q,, [~ -~ I~ l
l
0 4 -24

o2 -6o 4
18 = + 32 " 0 hence rank of Q,, = 3 = n
[0 4 -24

Thus system is completely controtlable :


For observability, Q,, = (CT : AT CT : A T CT) as n = 3
2

ro -2
o -3
l I 0

A T2 CT AT (AT CT] = [~

o, = [~ ~ -~]
I 0
:. 0 0
[
0 I
~1
-3
=- 2 7- 0 hence rank of Q0 = 3 = n

Thus the system is completely observable.


Modem Control Theory 4 ·61 Solution of State Equations

u11+ Example 4.33: Use co11trol/ability and obserobility matrices to determine whether t*
system represmted lty the flow graph shown in Fig. 1 is completely co11trol/ablt and
complttely observable. (VTU: JanJFeb.-2.005)
-1

u y

1
Fig. 4.8
Solution : The value of the variable at the node is an algebraic sum of all the signals
entering at that node.
x1+x2+2u, Xz= X1 -2X2 +X3 +2u
.
X3

X1 -3X1 +X2, = X1 +2X2-X3


Y

A [;3 -:2 ~], B = m, C = r1 2 -JI


For controllability, o, = [B: All :A2B] ... n =3
1 0~Jm=HJ
AB
[:3 -2
l -5
A2 [:3 -2 ~] [:3 1 0]0 [10-2 1
-2 1 = -4 6
-:]
-1
[10-4 -5
A2B
-2
6
-1
-:2][~] = [-i]
2
Oc
[~ 2 -n -2
Modem Control Theory 4-62 Solution of State Equations

I Qcl = -32 .,, 0 hence rank of~ = 3 "' n


The system is completely controllable.

For observability. Q,,= [cT :ATCT:AT 2c·i] ... n =3

r; 3 1
AT[ATcr]..l 1 -2
l0
QQ u ~2: _:]
IQ ! 0 = 0 and I~!- ~ = 0 thus 2 x 2 determinant is zero

Thus rank of Q0= I hence system Is not observable.

n.. Example 4.34 : Given the time invariant system :

a11d that 11(1) = e-1 and y(t) :: 2 - ate-1 , fi11d Xi(t) and Xi(t).
Find also Xi(O) and Xz(O). Wlrat happens if a =0 ? (VTIJ : Ja.nJFeb.-2005)

Solution : A = ro
LO -1
a} B = [0} C
1
= (I 0)

[sl-A]
[~ -a]
s+l , Adj [sl-A] = [s+l
0

Adi (sl-A]
Isl-A I
s(s~l)l
s+l
Modem Control Theory 4 ·63 Solution of State Equations

L"1[s1-Ar1 = [Io a(t -e_e1-1


)]

ZLR c'\t X(OI = [:

ZSR el {¢(s}BU(s)}=L-' 1[: s(s~L][~] [e: ]j 1


c-1
... U(s) = -
s
l s+l

(.(C-1
s~ -~+ s:1
L-1 s2(s+D = e-1 L-1 ... Using partial fractions
c-1
[ 1 1
s(s+ 1) s+I

X(t)

y(t) X1~t) = X1(0)+C<X2(0)-e<X2(0)e-• +c-1a.l-c-1a+e-1uc""'

But given y(t) 2-Ult'-l

At t = 0, y(t) = 2 = X1(t)J1;0 = X1(0) .incl X2(0) = 0


X 2+ate-1 -te-1<:.<(e-t -1)
1(1)

and

l.f « = 0, XI (I) =2
,,_. Example 4.35 : Given Ilic state model of a system : (VTU: July /Aug.- 2005)

X= [~~ -~Jx+[~Ju
y = (1 01 x
Modem Control Theory Solution of State Equations

with initial co11d1tio11s X(O) = [~]

Determine:
i) Tire stat< trn11sitio11 matrix.
ii) The state transition equation X(t) a11d output Y(I) for an unit step i11p11t.
iii) Inverse stale tra11Sillon matrix.

Solullon: ii A s

Isl-A) = -1]
s+S
:. Adj (s!-AJ = [ s+S 1]
-4 s

Adi [sl-A] [s+S 1 ] [s+S I ]


[sr-Ar' _.;._ __ .. -4 s "' -4 s
lsl-Aj --

I
s2+5s+4 (s+l)(s+4}

•1
s+5
(s+1Xs+4) I
(s+1Xs+4)
¢(s) (sl-A] =

l
-4 s
[
(s+1Xs+4) (s+1Xs+4)

4/3 - ~s+4 1/3 1/3


o(s)
s+l s+l s+4 ... Partial fractions
[ -4/3 + 4/3 -1/3 + 4/3
s+l s+4 s+l s+4

iii :l.5R = ""' X(O) = c"1 [


I
1
] =
-c
5
3
-5
[ --e
...

-t
--:-c23
8
+~-e
- ·ll

-·II
l
3 3
s+S

ZfR L-1 {¢{s) BU(s)} = L-1 (s+ I~ ~s+4) {s+l):(s+4)] [~J m)


l[ (s+ I) (s+-1) (s+I) (s+-1)
Modom Control Theory

L"' s(s+l) I (s+4)


1
l
4 -65

= L-1 [l/4 1/3 s+4


7-;::;:1+
1/3 1/3
1/12 l
Solutlon of State Equations

l
[
(s+ l) (s+4) s+I - s+4

---e
I 1 -t +-e
I -4t
ZIR 4 3 12
I -t --c
[ -c I -41
3 3

iii) The property of state transition matrix is,

c!)-1(t) a Cl>(-t)

,,_. Example 4.36 : Determine tire co11tro//ability attd oburvability of tire following stair
model.

1
x 0
-ll

Y = (10 s l]x (VTU : July/Aug.-2005)


Solution : From the given model.

A = [~
-6
- ~I -~J B = m, C = ~O 5 I]

For controllability, o, = [a: AB:A2B] ..... n = 3


Modem Control Theory 4. 66 Solution of State Equations

AB
[_~6 -~1 -~J m =L~l
A (AB)= [ ~
-6
0 ~
-11 -6
l [ ~1 [-l~l
-12 61

o, ~ [~ -1°2 -1~
61
l
Now I Q< j = - 84 "' 0 hence rank of Q< = n = 3.
The system is completely controllable.

For observability, (4,; [CT : I\ T CT : A T2cT]

ATCT =[~ ~0 1
-~ 1 [l~l =[=tl
-6 1 -1 J

J\ T2CT
0
-6]
AT[ATcTJ=[~ 0 -11
-6 [=t] = [~]
Q,, = [~o -6 -1
- 1 !l
Now IQ j=96
0 ,eQ hence rank of Q0 = n = 3
The system is completely observable.
111• Example 4.37 : A system represented by followi11g state model is controllable but 1101
observable. Slww that tire no11-01'urvability is due to a pole-zerocancelkuion in C(sl-Af1B.
(VTU: July/Aug.-2005)

X r~
-6 -n
0
-6
JO] X+[~]
1
II

Y = (1 I OJ X
Solution : From the given mod,cl,

A ;
[~-6-11-6
~ ~].B=[~] 1 ,C = (1 1 0)
Modem Control Theory 4 ·67 SoluUon of State Equations
T
s2 +6s+11 -6 -6s
0 ]
-1
s+6
Adj[sl-A]
[
s+6
l
+s(s+6) -(1 ls+6)
s2
I
Adj fsl-AJ ['' ''""
-6
-6s
s+6
s(s+6)
-(lls+6) ,; I
Adj fsl-A] Adi [sl-Aj Adi (sl-AJ
fsr-Ar1
Isl-Al s3 +6s2 +11s+6 (s+l) (s+2) (s+3)

[l l O] Adj [sl-A] [~]


(s+1)(s+2)(s+3)
1

- 1
- (s+l)(s+2)(s+3)
l [
[
l t-
1 1 0 1s
] s2

Thus the factor (s+l) gets cancelled from the numerator and denominator.
·- s+ 1
(s+l)(s+2)(s+3)

This shows that as then: is pole-zero cancellation in C(sl-Ar1 B which is the transfer
function of the system, the system is not observable.

''* Examplo 4.38 : Consider the homogeneous equation X


.= AX where A is a .3 x 3 matrix.
Thefollcwing three solu[t~: folr [t:~:idiffilerf~e~tial conditions are atailcbl«,

-e-1 ' -2e-:u 'l-6e-3• J


2~-1 0 0

i) Identify the initial conditions


ii) Find the state transition matrix
iii) Hence or otherunse find the system matrix A (VTU: Jan.ffeb.·2006)
Solution : i) For initial conditions, put t = O.
Modem Control Theory .. ·68 Solution of Sblte Equ.tions

X(t)
X(O) = [-~]

X(O [~~~' l ~- +:·]


ii)
~.. [~~] ~{~]
~o l ~·{:]
[·;:

;,. [.;:l ~- f :1
X(Ol = 1~~ :: 1
A7 A8
AA36 X(O)
A9

r-1] = r".I
A1-A2+2A3=-1 . .. (I)

:. . I A4 i.e A4 -A5 +2A6 =1 •.. (2)


-2l L
A
7
A7 -A8 +2A9 =-2 ... (3)

A1 -2A2 =-2 ... (4)


i.c. A4 -2A5 =4 ... (5)
A7-2A~ =O ... (6)
Modem Control Theory 4 ·69 Solution of State Equations

2/\ I - bi\ 2 "-6 ... (7)


i.e 2A4 -·6A, =IS ... (8)
2A7 -6A8 =0 ... (\1)

Solving the equations (1) to (9), the system matrix A is given by,

iii) State transition matrix

s -1 (s+l) (s+S)
[sl-AJ = ~
[
s+S o]
-1 Adj [st-A]= (s~l)
-6($+!)
s(,+1)
0 ]T
0
0 s+l [
s 2 +5s+6

s2 +6s+5
-6(s+l)
(s+I)
s(s+l) s
l
[si-Ar1
Adj (sl-A)
--Isl-Ai "
[
0
s3+6s2+tts+6
0 s2 +~.J
-----

s3 +6s2 +11~+6 (s+l) (s+2) (s+3)

s+S
(s+2)(s+3) (s +2)(s + 3) --------
(s+l)(s+2)(s·•3)
-6
(s1-Ar1
(s+2)(s+3) (s+2)(s+ 3) (s+l)(s...2)(s+3)
1
0 0
s+l

3 2 ..Y!:._ __ 1_.~_
(s+2)- (s+3) (s+2) - (s+ 3j (s+l) (s+2) (s+3)
-6 6
--+-- .2...._3_ ..Y!:._ +-3- - .2E... ... Partial
(s+2) (s+3) (s+2) (s+3) (s+t) (s+2) (s+3) fractions
1
0 0
(s +1)
Modem Control Theory 4-70 Solution of State Equations

3c -21 _ Zc -Jt

0 0

I,.. Example 4.39: Obtain the lime response y(t) of Ille system giMt bekn» by first
transforming the state model into a 'Canonica/ model'.

l
(VTU: [an, /F~b.·2006)

X = [~ ~ Ol X + [~] u, y = [1 O OjX
-6 -ll -6 2

u is a unit step [unction and Xr(O) = fO 0 2]


Solution : First to transform given model into canonical model, find modal matrix M.

(i,1-AJ = [~ -~.
6 1t
-~
).+6
/
l
[)J-A] t..3+6/..2+111..+6=0

i.e. (l..+1)(/.+2)(1..+3) = O

1..1 = -1 , i,2 = -2, 1..3 = -3

For 1..1 = -1, [Al-A]= l~ _, '] [c"] ['] [']


f-1
-1-!
11 :>
,M1= C12
c13
= -6
6
= -1
1

~l· ~ ·[~:J[-:+Hl
-1
For >..2 = -2, [>..I - A] = r-20 -2
L6 11

[-3 -1
For >..3 = -3, p,I-AJ = ~ -3
11 ~JMJ =[~::] =[~:]=[+]
M [ ~1 ~2 ~] = Vander monde matrix
Modem Control Theoiy 4. 71 Solution of State Equations

-6 6 -2]T [-6 -5 -1]


Adj M ~
[
- 5 8 -3
-1 2 -1
= 6 8 2
-2 -3 -1

M-1 -'
M
-=-'
-2
-= -31
Ad.M Ad.M [3 Z·S
-4
i.s o-s
O·S]
-1

M-1AM [~
0
~2
0 -3
~i
=A

C=CM=(l I 11

The canonical state model is,

Z(t) [~ -~ ~] Z( t)+[~z]u
0 0 -3 I

Y(t) = [1 1 1] Z(t)
X(t) "' MZ(t) i.e, Z(t) "' M -1xct)

Z(O) = M-1 X(O) = [:13 ::


1 ·5 0·5
~~i [~] [~21
2
=
t J

.~. l
ZIR ... ,,., . r:· 0

0
0
.,-3t
l[ 1 ] = [ -2.,-21
-2
1 c...J•
c-• l
Z.SR L-1 { o(s)BlJ( s)}
Modern Control Theory 4-72 Solution of State Equations

0 0
s+I
1,-I 0
s+2
0
[;2] [l/•1
0 0
s+3

L-1
s(s+l)
_:i_
s
1
s+l
1
L-1 _!+_I_ J
s{~+2)
I 1 l/~_\~~
l
l
s(s+3) s s+

ZSR -1::-21
1 -I
[ ---eI -Jt
1
3 3

Z(I) ZTR + ZSR = -1 -e


1
-2t
1
I 2 -Jt
-+-e
3 3

Y(t) = [1 1 1) 1.(1) 1-1-e-21 +.!.+3.e-31


3 3

= !. +~ c-Jt -c-11
3 3

II* Example 4.40: Git~I the system X=[~' ~1] x+[~ ~] U. Find the input vtcior Ult!
to give the fo//oruing lime respons« : (VTU : July/Aug.· 2006)

x111J 6 (1-··-1)
X2(1) 3'--31 -2e-l1 +6(t -e-1)
Solution : The given time response must satisfy the state equation.

Xt(ll fi(~(1-c-1)] = +6e"1


Modem Control Theory 4 .73 Solution of State Equations

[-: ~ J k-JI - ]+[~ ~]


62~-~~-:~}
-c-1 U

[6-6c:,1~;:~~-~2c- ]+[~ ~] U
41

[33 0)2 u

[~ ~r =

u
[
3
-1 4
I
O
l 18-12e-•
[-6+12 e •1 -6e"31 +6c-l1
l
J
6-4c-1 ]
U(t) [ _12+l2c.1 -3c_31 + Jc_41 ••• Required input vector

1• Example 4.41 : Tiie foll11Wingis the state space representation of a linear systtm wl,_
eigtn wlitcs are -3, -2, -1. (VTU : July/Aug.·2006)

X =[ ~
-6
~
-11 -6
~. lJ (X) +[~]
2
II

Givrn that u = 0, X(O) = /0 0 1{. Find X(I).


Solution:
Modem Controi Theory 4. 74 Solutionof State Equations

:. {sl-AI ~
[
s
0
6
-1
s
11
-1
0
s+6
l , Adj {sl-A) n
[
s2 +6~+11
s~6
-6 -6s
s(s+6J -{11s+6)
s2
l
r

s2 ... 6s+l1 s+o


Adj fsl-AI r -b s(s+6)
l -6s -(11s+6)

fsl-A) = s3+os2+11s+6=(s+1)(s+2}(s+3)

j
s2 +6s+ II s+6
(s+ 1)(s+2)(s+ 3) (s+ l)(s+2){s+ 3) (s+ ll(s+2)(s+ 3)
:. {sf-Ar'= Adilsl-AI -6 s(s+6)
Jsl-AI (s+1)(s+2)(s+3) (s+l)(s+2)(s+3) (s+ l)(s+2)(s+ 3)
-6s -(I ls+6) s~
(s+l)(s+2)(s+3) (S+l)(s+2)(s+3) (s+l)(s+2)(s+3)

2.5 4 1.5 0.5 1 0.5


3
----+.3
-- 1 ----+--
s+I s+2 s+3 s+I s+2 s+3
-----+--
s+l s+2 s+ 3
-3 6 3 -2·5 8 4.5 -0.5 2 1.5
z -+-----
s+I
--+----- --+-----
s+2 s+3 s+l s+2 s+'.\ s+l s+2 s+3
3 12 9 2.5 16 13·5 o.s ~ 4,5
----+-- -----+-- -----+--
s+l s+2 s+'.\ s+l s+2 s+3 s+l s+2 s+3

2.se··• -4.e-21 +1.5e-31


-2.Sc-• +8e-21 -4.Se.J•
2.sc·1 -16e-2' + 13.se-31
O.se·• -e-21 +0.5c~11
-0.Sc-t +2l'·2t -1.5'.>·JI
o.se·• -4c-21 +4.5e-3'
l
•• Example 4.42 : Find Ille lra11silio11 matrix <:(!) for a system wit~ system matrix is
.~ivtn by A =[- 35 -I
-1
1J by tlze following tech11iqutS :

i)Laplact tra11sfom1 ii) lnfinit« series iii) Cayley-Hami11011 (VfU: July/Aug,·20061


Modem Control Theory 4.75 Solutlon of Stato Equations

Solution : A= [-5 -\]


. 3 -1

I) Laplace transfonn method


s+S I ] [s+ l -1 ]
(sl-A(
[ -3 s+ 1 Adi( sl -i\] = ~·' s+~•

(sl-/\ J (s+;;)(s+1)+3=s2 +6s+8=(H2)(s+4)

Adj[sl-A)
s+ I
= (s+2)(s+4) (s+2)-1(s+4) I
l
Isl-Al 3 (s+S)
[
(s+2)(s+4) (s+2)(s+4)

-0.5 1.5
--+- -0.5
--+- 0.5
s+2 s+4 s+2 s+4
1.5 1.5 1.5 0.5
[ ---
• s+2 s+4
---
s+2 s+4

-0.se-21+1.se-11 -0.s.c-21 -o.s ... -11]


c'" 1.-1 [sl -Ar1=
[ l.Sc-21 -l.5e~1 1.Sc-21 -0.Sc-l•

II) Power series method

A2
[-5 -I] [-5 -1] [ 22 6]
3 -I 3 -t = -18 -2

r 22 6] r-s -1] = [-92 -28]


.-18 -2 3 -\ 84 20

A2t2 A3t3

l
I+ At+--+--+ ...
2! 3!

I -51+1112 -¥13+ ... -t+3t 2 -61


28 3 + .
[ 3t-9t2 +14t3- ... 1-1-12+~13
6
.

iii) Cayley • Hamilton meihod


Stop 1 : Find cigcn values.

j).. 1-A!;O i.e,


l i..+5
_3
I I
/..+I =Cl
Modem Control Theory 4. 76 Solution of Stale Equations

i.e. 1.2 +6/..+8=0 i.eA, =-2, '-2 a-4


Step 2: Construct R().)

R(A.) = a0 +a1>. =p(I.) Where p(A.)=e'·1

Step 3 : Substituting values of >.1 and ).2

a0 -2a1 = c-21 and a0-4a1 = c~11


Step 4 : Solving above equations,

u = ..!.e-21 _.!.c-41 , <Xo = 2e-21 -e-41


l 2 2

Stop 5 : f(A) = R(A) = <Xol + (l lA

:. cAt= 2c-21 -c-'u[~ ~]+Gc-21 -~c-~1 )[:: ::]

-0.5e-21 +l.5e_,1 -O.sc-21 +O.Sc-·11]


e"' [ t.se-21 -t.Se__,1 t.Se-21 -0.se-4'

,,.. Examplo 4.43 : Obtain the stale transition matrix usi11g : ()anJFcb.-2007)

i) Laplace transformation method n11d


ii) Cnyley-Hnmilto11 method.
For lite system describe by,

X(t) = [_04 ~4] X(O)

Solution: A = [~4 _\] X(O)

I) Laplace tansformmethod

Isl-A) [: Adj[sl-AJ =[s:~1 :]


5:14].

(sl-A] s2 +4s+4 = (s+2)2


Modem Control Thoory

- 4. 77
s+4
l
Solution of State Equations

l
Adj!sl-AI _ (s+2}. (s+\)2
ls! -Af - - _.:.'.!.__
(s+2)? (s+s2)2 J

[
I

-4
(s+2)2
2
s+2 + (s+2)2
_!
s+2
(s+2)2
1 2_
(s+2)2
I , .
... Partla! fractions

Ii) Cayloy • Hamllton method

Step 1 : Find elgen values

P.1-Al=O ic.I:~ -1 '


A+4j=O i.e, A.2 +41.. +4 =O

().+2)2 «O i.e, A.1 =-2. t.2 =-2

Step 2 : Construct R(>.)

R(A.)= a0 +a1A. =p(A.) where p(l.)=c41

Step 3 : Substitute 1.1

For "-z· as it is repeated use,


~ p(I) I 491.2 :~ T>f/.) I
di.. • I d).. '" >-1.2

~e''
d). l•=I "2 ~~!ao+r'11.
,..) .J! ,),).2

tc'' I ).=•2 =ll1

a1 = te-21 and a0 = 2te-21 +e·21


Modern Control Theory 4 -78 Solution of State Equations

Step 5; f(A) = R{A) = Uol+ct1A


:. ~At= 2tc·2t +c-21 [I 0]+1c-21 lr 0
0 I -4 -4
lJ I
= [2tc-21 +e 21 tc-21 l
-4tc-21 c -21 - 21·c -21 J
,,_. Example 4.44 : Compute 1'1 for Ille gil1<'11 matrix : CVTU : July/Aug.·2007)

Al=[~ ~] ;A2 =[~o ~lA =(_6w ~]

... (1)

This is the property of state transition matrix if A1A2 = AiA1. So verify this condition.

[~ ~) ( _0 00 ~) (-~ro 6:)
0 6rol
A2A1 = [ _000 ~] [~ ~] [ -6U> 0 J
As A1A2 = A2A1, the above property holds good. So calculate cA 11 and c"2' and
then multiply to obtain e'".

e"t' L-1(s1-A .r
(sl-A [s-6 0 ] rs-6 0 )
1) 0 s-6 'Adj (Sl-A2J = 0 s-6

+: . .'..l
isl-A 11 (s-6)2

Adj[••-A,j
(st-A 1 r 1
jsl-A11 0

e"'' C1(sl-AS1 = [eO61 e~']


rsl-Azl [s -ro]
00 5
, Adj(s1-A2] -ro :]
= [s
Modem Control Theory 4 .79 Solution of State Equations

A2t -I[ [coscot sincot]


e ~ L sl-A 2 1_, = -sin rot cos rot

,_.. Example 4.45 : Obtain tlie timt response of lht folluwing V«tor 11111trix differential

equation. [~J = [: ~s][~~)+[~]u y and = [1 oj[~~l wl~t 11(t) an wtit sttp

input and the initial conditions art X1(0) = Xz(O) = 0. (VTU: July/Aug.·2007)

Solution: A c [_ 06 ~5).B=[~lC=[l OJ

[sl-Af [s
6
-1 ] ,J\dj[sl-Af=
s+S [s+S
_6 :]
(sl-A) s2 +Ss+6=(s+2)(s+3)

[s•-Ar'
Adj[sl-AJ
Isl-Al -
[ "''
_ (s+2)(s+ 3)
-6
(.+2):.+3) ]-~·)
(s+2)(s+ 3) (s+2)(s+3)

As X(O) = [~] , cAt is not required.

Thus ZIR [~]


ZSR 1.-1 {<>(s)BU(s)} ... U(s) =!for unit step
s

L-'![(s+;~~+3) (s+2)~s+3)1 (~] m]


(s+2)(s+3) (s+2)(s+3)
Modem Control Theory 4 -80 Solution of State Equations

X(t}

Y(t) [1 oj[Xi(t)] ~ X (t)


Xz(I} I

Y(t) = .!__!_ <,.-21 +!. c-31


6 2 3

,..,. Example 4.46 : Oblai11 lire observabl< phase variable stale model ~f 'l'T,

Y(s) b ,s3 +b s1 +b,s +ll


T(s) =- = •.!.3--1~7- =---3.Drma tire :1ig11al flow graph of T(s).
ll(s} s .,.,,Is- +n2s+nJ (VTU: July/Aug.-2007)
Solution : The given transfer function Is

Y(s} _ b0s3+b1s2+b2s+b3
U(s) - s3 +.11s2 +d2s+a
3

:. (s3+d1s2 +a2s+a 3
l Y(s)=b s
0 3 +b1s2 +h2s+b3(U(s)I

Divide the equation by s3,

Y(s)-b0U(s}+!f~1Y(s)-b1U(s)]+_2_2 la Y(s}-b U(s))+_2_ fa Y(s)-b U(s)J:


2 2 3 3 0
S S s3

Y(s} = b0U(s)+1(-a1
s
Y(s)+ b1 Ll(s)] +.},

1-a 2Y(s)+b2U(s)) +-\- f-.i 3 Y(s)+ b3 U(s)I
s
... (!)
Now define the state variables as,
X3(s} ~lb1U(s)-d1Y(s)+X2(s)l (2)

X2(s) : Hb 2U(s)-a2 Y(s}+X1(s)) (3)


Modem Control Theory 4·82 Solution of State Equations

>•• Example 4.47: Obtain tht contro/lablt p~ variabltformof ti"' transferfunction,


Y(s) b0s3 +b1s2 +b2s+b3
T(s) =-
U(s) s3 +a1s2 +a2s+n3 (VTU: July/Aug.·20071
Solution: The given transfer function can be written as,

.::.<~
U(s)

Y(s)

Where Y(s)

Y(s)

U(s) s3Q(s)+a 1s2Q(s)+a 2sQ(s)+a 3Q(s)

s3Q(s) -a 1s2Q(s)-a2sQ(s)-a 3Q(s)+


U(s) ... (1)

Define the state variables as,

x.(s) Q(s).

sX1(s) X2(s)
sX2(s) X3(s)
Taking inverse Laplace transform,
.
X1 = X2, X2
. = X3,

Substituting selected state variables in the equation (1),


s X 3(s) -a U(s)

i.e,
.
X3
1X 3(s)-a 2X2(s)-a 3X1(s)+
Modem Control Theory 4. 83 Solution of State Equations

From (2),

Y(s) = b0U(s) +(b1-a1b0)X3(s)+(b2 -a2b0)X2(s)+(b3 -a 3b0)X1(s)


Taking inverse Laplace transform,
Y (b3 -a 3b0] X1 +(b2 +a 2b0] X2 +[b1-a1b0] X3 + b0U
C [(b3-a3b0){b2-a2b0){b1-a1b0)], D = (b0)

nus is controllable canonical form of the given transfer function.

Review Questions
1. WNzl is homogtn<1>us and nonhomognreous sliltt "'lualion 7
2. Otfi•t statt transition 1tmlrix usi•g classiail mtlhod of obtaining soluNon.
J. What is zero input response and uro slate response ?
4. Obtain lht romp/tit solution of nonhomogtntous slalt equation using timt domain method.
S. State tht imporlance of state transition matrix.
6. State tht various proptrlits of slalt transition matrix.
7. Obtain llrt solution of nonhomogtnt0us •lat< tquatian using Laplace lmnsform met/rod.
8. Whllt is resolrxtnt matrix ?
9. Explain IAplare transformmtthod of obtaining 1. i
10. Expwn p<n«r Strits mttlwd of obtaining /•1.
11. Explain Caylty Hamt11on method of obtaining 11•
12. Expwn simil1trity transformaJion rntlhod of obtaining t111•
13. Obtain t11t for following matrices using all tht methods,

a[-~ -~1
b. [: ~]
Ans.: [ •' 0]
le
I
e
I

I 1
Ans.:
f
cos./2 t Tzsin ../21
-.fi. sin ./21 cos./2 t I
Modem Control Theory 4 .'a4 Solution of State Equations

14. Oblai11 llU! ltomogenoous solutio1t of Iii• tqualiD1t ')({I} =A X(I) wlttrc

a. A= [ ~94 ~1 nnd XIO) = [:]


l -21
-5e +5•
6 -71 l
I
Ans.: I
[ 7 ·ll
--e •-e J
12 -71
s s
b. ti=['2 -ll-4J and X(O) = [ 0 1]
c
1.11 0·341 -0.11 c-3.$6!]
Ans.: [ 0.48c0•56' -0.48c~'·56'

15. Find the output of tlrt systtm having state model.

X(t) = [ -12
0 1 ] X(t} + lPJ Ult)
-7 I

and Y(t} = [I - l I Xltl

. . . strp
Tirt inpu! U(I) ts unit ( = [10]0
mid X 01
(Ans.:Ylt)=~ ... ~e-31 145e,1)
3 3
16. Show that tlzc following syst<rn is completelyslate con/rol/JJblt and observable.

XII}=[-~
l
=~ -:1
0 -lJ
Xfl) + [~] U(ll
1

and Y(I) =(I 1 OJ X(tl


17. Find ti" solution is,

X(I) = [~ -~J X(t) with X(O) = [~]

18. Find the solution of,

xm =[~ -~] xw +[~] Ult!

and Y(I) = (1 0/ Xltl


if X(OI = [ ~] and syst<rn is subjtcted to tht unit step.input.
(Ans.: Y(t) = _ .!_ + .!.1 + !.0•·21i
4 2 4
19. Define and explain slate amtrollaoilily.
20. Explain Ka/man's lest for determining state controllability.
21. Explain Cil!M!rt's lest for dtlennining stat« controllabilily.
22. What is output controllaoi/ity? How to <t>llunlc it for the system ?
23. State lr.J: relation 0elwttn tram/er function in s domain and controllability, obesrwbility of a
system.
Modem Control Theory 4. 85 Solution of State Equations

24. Dtfint a11d op/am concept of o/Js1rJ11bility.


25. Explain Ka/man's (PSI for tfetermi11i11g comp/tit 01Js1•rr.111bility.
26. Expl•n• Gilbert's test for detcm1i11111g complete obs(rt•abitrty.
27. F.1KJ/uatt tire ro11trt1llability of"" following sy5tems witlr,
a.A=[-2 -I01r ll=r31Cr
0 LI J
=fll]0
b. A= fl 0
-1
0} --121l5;
-2
H

c, A=
r-1
I 0
c 0
-1
0 -2
~1 H =[~ ~l
3 0J (Ans.: a. Controllable. b. Controllable c, Not controllable)
28. £untuatt llu: obseroobility cf tire folfowi11g sy:<frms witll,
2 I 0'
n. A =
fl o0 0 2,J I· r
2 =[ ~ ~ ~]

b. A=[-~ o}. < = _2 (O l]

c, A·[~ I 0] c ~
0 I , (4 5 1)
-6 -11 -6 (Ans.: a. Observable b, and c, Not observable)

DOD
(4. 86)
Pole Placement Tuchnique

5.1 Introduction
This chapter deals with the problem of pole placement. The pole placement technique
or pole assignment technique is a method for design of control system which ls discussed
in this chapter.
If it is assumed that all the state variables for a given system arc measurable and
available for the feedback then it can be proved that for a completely state controllable
such system, its closed loop system poles can be placed at any desired location through
state feedback by means of an appropriate state feedback gain matrix.
The desired closed loop poles are firstly evaluated based on transient response and/or
frequency response requirements such as say damping ratio, speed, bandwidth as well as
the steady state requirements. Let us consider that the desired closed loop poles arc to be
located at s=a1, s=u2 ......... s=a n- Then by properly selecting gain matrix for state
feedback. il is possible to locate the closed loop poles al the desired locations provided
that the original system is completely state controllable.
In the following sections, we will consider the control signal to be scalar. It can then
be proved that the necessary and sufficient condition that the closed loop poles can be
placed at any arbitrary locations in the s-plane is that the system is completely state
controllable Le. it is possible to transfer the system state from any initial state X(t0) to any
other desired state X(t1) in a specified finite time interval (t1) by a control vector U(t). The
required state feedback gain matrix can then be evaluated using various methods.
In this chapter, It is considered that the control signal is a scalar quantity and not a
vector quantity. Under such case, the mathematical aspects of the pole placement technique
is complicated as the state feedback gain matrix is not unique.

(5 - 1)
Modern Control Theory 5-2 Pole Placement Technique

5.2 Pole Placement Design


The conventional method of design of single input single output control system
consists of design of a suitable controller or compensator in such a way that the dominant
dosed loop poles will have a desired damping ratio ~ and undamped natural frequency
IDn. The order of the system in this case is increased by 1 or 2 if there arc no pole zero
cancellation taking place. It is assumed in this method that the effects on the responses of
non dominant closed loop poles to be negligible.
Instead of specifying only the dominant dosed loop poles in the conventional method
of design, the pole placement technique describes all the closed loop poles which requires
measurements of alJ state variables or inclusion of a state observer in the system. The
system dosed loop poles can be placed at arbitrarily chosen locations with the condition
that the system is completely state controllable .. This condition can be proved and the
proof is given below.
Consider a control system described by following state equation

x=Ax+Bu ... (1)

Here x is a state vector, u is a control signal which is scalar, A is n x n state matrix. B


is n x l constant matrix.
The system defined by above
u
equation represents open loop
system. The state x is not fed back
to the control signal u,
Let us select the control signal to
Fig. 5.1 Open loop control system be u =-
Kx state. This indicates that
the control signal is obtained from
instantaneous state. This is called state feedback. The k is a matrix of order Ix n called
state feedback gain matrix. Let us consider the control signal to be unconstrained.
Substituting value of u in equation 1 .
.
x = Ax+B(-Kx)=(A-13K)x . .. (2)

The system defined by above


equation is shown in the Fig. 5.2. It
is a dosed loop control system as the
system state x is fed back to the
control system as the system slate x
is fed back to control signal u. Thus
this a system with state feedback.

Fig. 5.2
Modem Control Theory 5-3 Pole Placement Technique

The solution of equation 2 is say


x(t) = e, x(O) is the initial state ... (3)

The stability and the transient response cha.racteristics arc determined by the eigcn
values of matrix A - BK.
Depending on the selection of state feedback gain matrix K, the matrix A - BK can be
made asymptotically stable and it is possible to make x(t) approaching to zero 3$ time t
approaches to infinity provided x(O) ,. 0.
The eigen values of matrix A - BK are called regulator poles. These regulator poles
when placed in left half of s plane then x(t) approaches zero as time t approaches infinity.
The problem of placing the closed loop poles at the desired location is called a pole
placement problem.

5.3 Necessary and Sufficient Condition for Arbitrary Pole Placement


Consider a control system defined by following state equation.

x = Ax+ Bu . .. (1)

Let the control signal selected be u =- Kx

x = Ax - BKx = (A - BK) x ... (2)

The solution of the above equation is given as,


x(t) = .,(A-6 K)I . x(O) ... (3)

The eigcn values of the matrix (A - BK) are nothing but desired closed loop poles.
The necessary and sufficient condition for arbitrary pole placement is that the system
is completely state controllable.
If suppose the system is not completely state controllable then there arc eigcn values
of matrix A - BK that can not be controlled by state feedback.
According to Kalrnan's test for state controllability, the system is said to be completely
state controllable if the rank of the composite matrix Qc is n.
Q,, = [B: AB:A2B: An-ls]
Let us suppose that the system is not completely state controllable. The rank of the
controllabiUty matrix is less than n,
rank(B:AB:A2B: :A0-1B] = s<n

Thus there are s linearly independent column vectors in the controllability matrix. Let
these s linearly independent column vectors as c1, c2, c•. Also let us select n - s
additional vectors t,.1, ts.2, ....... t,, such that
Modern Control Theory 5.4 Pole Placement Technique

P = (c1:c2: ..•..•... :c.:t1+1:ts+2: •.••.•••••. :t0)


Tile above matrix will have rank n

By using matrix Pas the transfomation matrix, let us define r·1AP=A. p·1B=B

Now we have AP = PA

(Ac1: Ac2: : Acs:Als+l:At.+2: ......•.... : At11) =


[c1: c2: ..••...•. : c9:l_.1:t8•2: .•....•.... : t0) A
As there arc s linearly independent column vectors Ct- ~- •.••.••• c5 using
Caylcy-Hamilton theorem vectors Ac1, Ac2.•..•.•..• Ac, can be expressed in terms of these s
vectors.

Ac1 au c1 + a21c2 + ·········· + as1 C.


Ac2 a12 c1 + a22c2 + + a52 c.

Ac, 1115 c1 + aisc2 .+ + ass '•


Thus we can write

[Ac,: Ac2 :······:Ac,: At,.,: Al,.2: a82111 ····················821


················ a1, ,:,a821',',', :·.::::::·.·.:·.·.·.:·.~.,.,
n
:At,,) I .
I
= [c, : Ci: . . .. -: c, : '•·• : t,.2: ..... t,,J I
I
I

'
a~t
' . a,, : a~1•1 aan
-----------------r-----------------
'
······················ : 8-•ts•1···· ···· 8.s•tn
'' ;

''
;
:
I :;
'' :
I' :
;: •
............. ........ : a"'., 8m
?'
Modem Control Theory 5.5 Polo Placement Technique

Let us define

a,, a1, a,1•1 a1n


321 a21 a2••1 azn

a;1 a5$ a~,., acn

~ ]· ,~.. ..,,. ~ , ···~~

u ~ zcromatra • b., ~
We have,

(Ac,: A~ ....... : Ac,: Ai..1 ; ....... : A1,,]e(c1: ~: ...... : C,,: 1,,,: 1>•2: ....... : •n] [.:'!~-~-~'.L]
0 ' Az2

Hence we have,
Modern Control Theory 5-6 Pole Placement Technique

Now we have, B PB
B (c1: c2: ........• : c,:t •._1:t 2: : t.,]B
Now B can be eXJ>resscd in terms of s linearly independent column vectors
c1, ei, c;. Therefore we get,
B = b11c1 +b21c-2+ b51c,

'o· I
0 J
b~l
b11]
Let us define

bs1

We have u= [-~n
Now we define K
We have

jsl-A+BKj 1r-1(sI-A+BK}Pj
jsr-r-1AP+r·1 sKPj
But P·I AP= A=
"' [ •••••
An :1. ••••
A12 ]
0 : ~
Modern Control Theory 5-7 Pole Placement Technique

Substituting
jsl-A+BKJ = js1-fi.+i3xkl

In the Identity matrix I, we have n rows and the diagonal clements as 1. nus matrix
can be split as we have the matrix A.

1 o 0 0

1······· .
"•..... I

0 ::·., : 0 0
I• ---------------i---------------
0 0 1 ::::.:::: ~

0 0 0 .: ..,,

...................... a , o 0
''
''
I :;
' :
.................... 1
': 0
:
0
--------------+---------------
...................... 0 ·: 1 :::·············· .. ··· 0

..
I

I
'·, ••

· · .... "•,,

.......... 0 : 0 :·:::1
Modern Control Theory 5-12 Pole Placement Technique

The above equation can be rewritten as,

B = Tm=QcWm But Q,, = [ B: AB: A 2o)

[ B:i\B:i\ 2B] r: ~1
a11
0

[B:AB:A
2 s) [~] = 8

T [~] B

r 1T·m r-18

r1B = m
The results which are proved for n = 3 can be extended and generalised so Iha! we
have equations (2) and (3) as given below.

0 1 0··· 0
0 0 1 0

-1
T AT=

0 0 o.... 1
-an -an-1 -an..2 -a,
Modem Control Theory 5 ·13 Pole P,lacement Technique

0
9

Now consider the followingequation

~ = r-1ATx+l1Bu
The above equation can be transformed into the controllable canonical form if the
system is completely state controllable. The state vector x can be transformed into state
vector x by use of transformationmatrix T = MW.
Now we will select a set of desired eigen values as a1,a2, a0• Then the
desired characteristicequation becomes,
( s-a1 )( s-a2 ) (s-an) =sn +o1sn-l + on-ts +on .:o. ...(7)

Let ... (8)

When u = -f<x = -KTx is used to control the system having the equation

.
x (r1AT-11BKT) x
The characteristicequation is,

!sr-r-1AT+r1BKTI c o
This characteristic equation is the same as the characteristic equation for the system
defined by ; =Ax+ Bu when u; = - Kx Is used as· a control signal. This ts proved below.

; = Ax+Bu=Ax+B(-Kx)=Ax-BKx=(A-BK}~.
Modem Control Theory 5· 14 Pole Placement Technique

The characteristic equation for this system is,

!sl-A+BKI =I r1(sl-A+BK)Tl=ls1-r1AT+r1BKTI

Now we will simplify the characteristic equation of the system in the controllable
canonical form.

I 0 0 0

Iisl-
0 0 0 9 I
I sl-T-1AT-r1BKTI I
+: [µ11µ11-1 ...... µ iJ I
! 0 0
I """" -an-l """1 I
-1 0
0 0

l.L
This is the characteristic equation for the system with state feedback. It is same as
equation (7).
0I d I+µ I
o.z a2 +µ2

sn an +µn

The above equations can be solved for µ; 's and substituting in equation (8)

KT [Ii nl' n-1 ....... µ l)


1( ... (9)

If the system is completely state controllable, all eigen values can be arbitrarily placed
by choosing matrix K according to above equation no (9). nus is the sufficient condition.
Modem Control Theory 5-15 Pole Placement Technique

Thus the necessary and sufficient condition for arbitrary pole placement is proved and
it requires the system to be completely state controllable.
For a system which is not completely state controllable but is stabilizable, then the
total system can be made stable by placement of closed loop poles at the desired locations
for s controllable modes. The rest n - s uncontrollable modes are stable which shows that
the total system can be made stable.

5.4 Evaluation of State Feedback Gain Matrix K


Following are the different methods for evaluation of state feedback gain matrix K
i) Using Transformation Matrix T
ii) Using Direct Substitution Method
iii) Using Ackermann's Formula

5.4.1 Use of Transformation Matrix T


Consider a system defined by a stale equation x =Ax+ Bu, Let the control signal be

.
u = - Kx .

x=Ax+B(-Kx) = Ax-llKx=(A-BK)x

The state feedback gain matrix K forces the eigen values of (A - BK) to be
a 1• a2 ..•••...••..... n". Then the desired characteristic equauon is
( s-tt.) ( s -n2 ) ..•...•..... (s-tt0) # s" + 61s0• 1 + i>2s0•2 + + 611_ 1s + 60 = 0

The desired cigen values 1x1,u2 n0 can be obtained from following steps.

Step I: The controllability condition is checked for the system. For the
system which is completely state controllable following steps can
be used.
Step II: The characteristic polynomial for matrix A is given by
J sl-A I = s" +a 1s11-1 +a2s0-2+ +i111_1s+a0
From this values a 1,.12 a" can be obtained.
Step Ill: The transformation matrix T is determined which converts the
system state equations into controllable canonical form. For system
equations which arc already in controllable canonical form T = I.
The system state equations are not required to be written in
controllable canonical form but matrix T is found from.
where Q., ts controllability matrix
Modem Control Theory 5 -16 Pole Placement Technique
0n-l 0ra-2 a1 I
011:-2
°n:-3
1 0

1 0 0
0 0 0
Step IV: Using the desired eigen values which arc desired closed loop poles,
the desired characteristic equation can be obtained
( s-«1 )( s-«2 ) (s-an) = s" +l>1sn-l +l>2s"-2+ l>.,_1s+l>n·

The values of li1, 1i2 , li0 can be obtained.

Step V: The state feedback gain matrix K can be obtained from following
equation
K = (l>n-an lin-l-an-t·············li1-a1JT-I

5.4.2 Direct SubstitutionMethod


For low order system with n less than or equal to 3 matrix I< can be directly
substituted inlo the desired characteristic equation. If suppose n = 3 then the state
feedback gain matrix K is
I< = [1<1 1<2 K3)
The above matrix is directly substituted in the desired characteristic equation
Isl-A +BKI and equated to ( s-a1 )( s-a2 )( s-a3) i.e,
lsl-A+BKI = (s-ai) (s-a2) (s-u3)
The both sides of the characteristic: equation are polynomials in s. Hence the
co-efficient of similar powers in s on both sides can be equated so as to get the values of
K1, K2 and K3. This method is restricted for n = 2 or 3. For higher orders of n the
calculations become complex. It is not possible to determine matrix I< if the system is not
completely controllable.
5.4.3 Ackermann's Formula
Consider a system defined by state equation x =Ax+ Bu. let u = -Kx be state feedback
control. Assuming' the system to be completely state controllable nnd the desired closed
loop poles are assumed at s = a1, s = u2, ••••••••• s = a0•
Using u = - Kx in state equation
Modem Control Theory 5 -17 Pole PlacementTechnique

Lei A-BK

x iix
The desired characteristic equation is,

isl-A+ UKI

By cayley-Hamilton theorem, every matrix satisfies its own characteristic equation.

o (i\) = i\ n +o1A n-1+ +011_1A +S.,J = 0

The above equation can be used for deriving Ackermann's formula. Let us consider the
case of n .r 3 for simplification of derivation.
We have following identities
A A-BK

.i\2 (A-BK)2=A2-2ABK+B2K2

A 2 -ABK-ABK+B2K2 =A 2 -ABK-BK(A-BK)

A2-ABK-BKA

j\3 (A-BK)3 =A 3 -A 2BK-ABKA-BKA 2


I I

No~" consider

i\ 3 +o1.i\ 2 +o2i\ +031 A 3 -A 2BK-ABKA -BKA 2


+o1( A 2 - i\BK-BKI\)

+ o2(A -BK)+o31
A 3 -A 2BK-/\BKA-BKA 2 +o1A 2 -61ABK

- ll1BKA +l>iA -o213K+631

li3l+o2/\ +ll,A 2 +A 3 -ozBK-6,A13K

- 61BKi\-A 2BK-ABKA-llKi\ 2

We have, <i(i\) = 63l+o2A+61A2 +A 3 = O (for n = 3)


and
Modern Control Theory 5 -18 Polo Placement Technique

substituting the above equations,

o(.i\.) 0 (A )-S2 BK-o, AllK-o, UKA -A 213K-AllKA -llKA ~

B111 0

6( A) o21lK+1\113KA + 13KA 2 +61 ABK+;\13KA


+A 213K
u(o2K+o1KA +KA 2)+An(o1 K+ KA)+,, 2nK
dl(A)

11, the system is completely state controllable, the inverse of the controllability matirx
Q., ~ [ 13: AB: A 2 B] exists. Multiplying bolhsides by inverse of controllability matrix.

Prcmultiplying both sides of above equation by [O 0 I) we get

10 0 l I [13:Al3:A2Br'¢(A) ~ [O 0 1jro2K+ot10\ ~Ki\2]


I StK+KA
IL K

K to 0 1)[13:/\B:A213]o(A)

The above equation gives the required state feedback gain matrix K for arbitrary
positive integer n,

K = (0 0 [
0 I] 13:AB:A·ll: , :A0•1n 1·1 O(A)
This equation is called Ackermann's formula for the evaluation of state feedback gain
matrix K.
Modem Control Theory 5·19 Pole .Placement Technique

5.5 Selection of Location of Desired Closed Loop Poles


The locations of desired closed loop poles must first be chosen in the pole placement
design technique. The commonly used method for such selection of poles is based on the
experiences obtained from root locus design of placing a dominant pair of closed loop
poles. The other poles are selected in such a way that they arc away from dominant
dosed loop poles in left half of s plane.
If the dominant closed loop poles are placed away from jlo or imaginary axis then the
response obtained from the system is very quick but at the cost of system becoming
nonlinear which should be avoided.
The other method of selection of poles is Ute quadratic optimal control technique. In
this method, the desired closed loop poles arc determined in such a way that it balances
between the acceptable response and the amount of control energy required.
The high speed response indicates that large amount of control eneri,'Y is required. In
addition to this a larger and heavier actuator is required which increases the cost.
l '* Example 5.1 : Consider the systtm defined by

x = Ax+ll11

totier« A

By using the state feedb<rck control 11 = - Kx, it is desired lo have the closed loop poles
at s=- 1 ± j2. s = - 10. Det!'Tmirre the state feedbackgai11 matrix K.
Solution : Let us first check the controllability matrix of the system. The controllability
matrix, Q,, = [n:AB:A2n]

B
[H AB=[~ -1

ro o] = ro 0
A2 =A.A.
l~t
I
0 1
01[0
0
-5 -6J -1
1
0
-5 -6
1 -1
c+6
-5 ~6]
29 31

0
A2B
[~ -5 ~6] [~]=f ~]
+29 31 1 l 31
Modem Control Theory 5-20 Polo Placoment Tochnique

~ =
[1
o o
0 I -6
-6 31
l
1 .

The rank of matrix ~ is J. ·111e system is controllable and hence it is possible to place
the poles arbitrarily.
Now the state. feedback gain matrix K can be obtained by using any of the three

ro~
methods discussed previously.

Method 1 : Using tra:sf:rm[ mat']ix T

-1 -5 -6
The characteristic equation for the system is,

s ls(s+ 6) +5 J+ 1[1]

s [s2+6s+s]+1
s3 +6s2 +5>+1 =O
Comparing this equation with s3+a1s2+a2s+,t3 =0

:. a1 = 6. a2 = 5, a3 = I

The desired characteristic equation is ,

(s+ 1-j2)(s+ 1+j2)(s+10) = [Cs+ 1)2 +4] (s+ IU) =[s2 +2s+5] Is+ 10(
s3 +tos2 -t- 20s+2s2 +Ss·~SO

s3 +12s2 +25s+S(l
s, =12, 02 =25. 03 =50
K = fo3-a3 62-a2 o1-a11rl
As the given stale equation is given in controllable canonical from T = I.
11 r
K Lo3-a3 1>2-.i2 1>1-a.J =[50-1 25-5 12-6]
K [49 20 6)
Modem Control.Theory 5-22 Pole Placement Technique

o -6 0
-5
=[~1 29 31_ -1
•no 0
-5 :]
-5
- r-16 29 ~l
-31 -1~9 -1571

[~l or
I
0
-5 -6
1 - 0 [o
-1
1
0
-5 :][~
I
0
-5 ~] =[~1 0 -6
-5 1
29 31
l
0 1 0
¢(A)
r-1
6
-31
-5
29
-149 -157
~ j+1{~-6 -5
29
~6]+25[ ~
31
0
-1 -5
~]+so[~ 1
0 ~]
[ ·19
18 20 6 ]
19 -16
-128 74 115
[ B: All: A 2Bf1

K "'
0
1
l
-6
i·lr 18 49 20 6]
19 16
-6 31 l-128 74 115

~ ~] [ ~: ~~ -~6}
0 0 -128 74 115

[1 0 0) [ ~: ~~ -~6]
-128 74 115
[49 20 6]
Modem Control Theory 5-23 Pole Placement Technique

,._. Example 5.2 : It is desired to place tire closed loop poles of tire followi11g system al s = -3
and s = - 4 by a slate feedback controller witlr Ille control u = - Kx. Detennine tire state
fttdbackgain matrix K a11d the control signs]. (VTU : Aug.-2005)

y = [1 O]x

.
Solution : Equating
x e
the state equations
Ax +Bu and y=Cx we get
with standard equations with standard form

B = [~] c = [1 0)

Let us check the controllability matrix of the system


(B :AB)

AB [~1 ~3][~] =[:6]


o, = [~ :]
The rank of above matrix is 2. Hence the given system is completely controllable.

The given equation is not in the controllable canonical form because B is other than[~]

we use method of transformation matrix T to get state feedback gain matrix.

T Oc·W

W=["i 1]=[3 11
1 O 1 OJ

consider A [-t0 -3I] ; jsl-AI= I s1 -1


s~ 3
I= s(s + 3) + 1 = s2 + 3s+ 1

Equating with s2 + a1 s + a2 we gel


Modem Control Theory 5 ·25 Pole Placement Technique

5.7 Concept of State Observer


In case of state observer, the state variables are estimated based on the measurements
of the output and control variables. The concept of observability plays important part here
in case of state observer.
Consider a system defined by following state equations

x ; Ax+Bu
y Cx
Let us considerx as the observed state vectors. The observer is basically a subsystem
which reconstructs the state vector of the system. The mathematical model of the observer
is same as that of the plant except the inclusion of additional term consisting of estimation
error to compensate for inaccuracies in matrices A and 'B and the lack of the initial error.
The estimation error or the observation error is the difference between the measured
output and the estimated output. The initial error is the difference between the initial state
and the initial estimated state. Thus the mathematical model of the observer can be
defined as,

x Ax+Bu+K.(y-Cx)

Ax+Bu+K.y+KeCx
(A-K.C)x+Bu+K.y
x x
Here is the estimated state and C is the estimated output. The observer has inputs
of output y and control input u. Matrix K0 is called the observer gain matrix. It is nothing
but weighting matrix for the correction term which contains the difference between the
measured output y and the estimated output CX.
This additional term continuously corrects the model output and the performance of
the observer is improved.
Full order state observer
The system equations are already defined as

x ; Ax+Bu
y Cx
The mathematical model of the state observer is taken as,
Modem Control Theory 5-26 Polo Placement Technique

x = Ax+Bu +K.{y-Cx)

i from
..
To determine the observer error equation, subtracting equation of
x-x [Ax+Bu]-(Ax+Bu+K.(y-Cx)]
~ we gel

Ax-Ax-K,(y-Cx)
A(x-x)-K0(Cx-CX)
.. A{x-x)-K.C(x-x)

Let
x-x

e
(A-K.C) (x-x)

x-x
...
:. e=x-x
e : (A -K,C)e
The block diagram of the system and full order state observer is shown in the Fig. 5.3.

>--------Y
u
-----------------------·x·------------

Full order stateobsefver

Fig. 5.3
The dynamic behavior of the error vector is obtained from the cigen values of matrix
A-K.C. If matrix A-K.C is a stable matrix then the error vector will converge to zero for
any initial error vector e(O). Hence x(t) will converge to x(t) irrespective of values of x(O)
and x(O).
II the eigen values of matrix A-K.c are selected in such a manner that the dynamic
behaviour of the error vector is asymptotically stable and is sufficiently fast then any of
the error vector will tend to zero with sufficient speed.
If the system is completely observable then it can be shown that it is possible to select
matrix Ke such that A-K.C has arbitrarily desired eigen values. Le, observer gain matrix
I<• can be obtained to get the desired matrix A-K.C.
Modem Control Theory 5. 29 Pole PlacementTechnique

Herc T Q.,.W = [ c• : NC· : (N)2 c· : : (N)"-1 c- I w


For the original system the observability matrix is,
I c-. NC' : (A•}n-l c· I = N

T NW

T' w•N• = WN• ·: (AB)T =BT ·AT

As w w•
rr-r' (WN'r1
Taking conjugate transpose of both sides of equation I
Bn -an
On-1 ._-an-I

r i.l n-1 a n-2 al 1

la'rz ''n-3
1 0
Herc w
I ,
l ·~i 0 ~ ~
N I c- : NC' : (N)2 c- : : (N)n-l c· I
The second method is based on direct substitution method to get the state observer
gain matrix K,. This is applicable for system having low order. TI1e matrix Kc is directly
substituted in the desired characteristic polynomial.
Let us consider

K~ : r~:~Jl
Ko3

Substitute this matrix Into desired characteristic polynomial.

By equaling the like power coefficients of s on both sides. the values of Ke1• K02 and
I<,,3 can
be determined. This method is restricted for value of n at the most 3.
The third method is use of Ackermann's formula. For the original system defined as
x=Ax+Bu and y = Cx we have already derived the formula known as Ackermann's
formula given as,
Modern Control Theory 5. 30 Pole Placement Technique

K = [O 0 I] [Il:Ail: 1\11•1or 1'i) (A)

Now let us consider the dual system

z A"z + c·v
y n•z
The Ackermann's formuln for dual system is modified as
K = [O 0 . 1 ]I C' : A"C' : : (A')n-l c• r' O (A ')
Both observer gain matrix, K0 = K'.
-1
() c 0
r c~
l ;
0 C.A 0
:.Kc= K' = q>(A ')' = q>(A) ... (II)
CA n-2
LCA"-l Ci\ n-1

The desired characteristic polynomial lor stale observer is


o(s) = ( s-u1 )( s-u2 ) ......•...... (s-rtn)
Herc a 1, u2 •••..•••..•• n11 arc desired cigcn values.
Equation (ll) is Ackermann's formula for determination of observer gain matrix K,.

5.11 Selection of Suitable Value of Observer Gain Matrix K.


The feedback signal through the observer gain matrix K,, acts as a correction signal to
the plant model to account for the unknowns in the plant.
If the unknowns involved arc significant then the feedback signal through matrix Ke is
comparatively large. But if the output signal is affected by disturbances and measurement
noises then output y is not reliable and feedback signal through matrix K, should be
small. The effects of disturbances and noises involved in output y should be neatly studied
while evaluating matrix Ke-
The observer gain matrix
is dependent on the desired characteristic equation
(s-u1)(s-u2) (s-o.,.) =
0. The selection of a1,u2 u., is many times not
unique. But normally the observer poles should be two to five limes Caster than the
controller poles. TIUs makes the observation or estimation error converging to zero quickly.
The observer estimation error decays two to five times faster than does the stale vector x.
Puc to this foster decay of observer error, the system response is dominated by controller
poles.
Modem Control Theory 5 ·31 Pole Placement Technique

With the appreciable noise produced by sensor then the observer poles can be selected
to be slower than two times the controller poles. The bandwidth of the system will then
be less and noise wiU be smoothened. The system response is dependent on observer poles
in such case. The observer poles arc located to the right of controller poles in left half of
s-plane so that the system n.'Sponsc is influenced by observer poles.
While designing thc state observer, it is required to evaluate various observer gain
matrices Ke based on number of various desired characteristic equations. For each of these
different matrices K. r the simulation tests can be run to check the overall system
performance. Based on the performance, the best possible K. om be selected. In many
systems, the best value of K0 is obtained after a compromise between fast response and
sensitivity to disturbances and noise signals.

>'* Example 5.3 Co11sider the system rrpresenled by

x = r: -~l !J x +mll
y " ll 0 O].r
Design 11 full order observer s11cl1 t/1111 the observer eige11 oalues nre nl -2 ± j2./3 mrd
-5. (VTU: Aug.·2005)
Solution:

A= r~ 0
-6 -11
1
c = [1 0 01

Lei us check the rank of dual system of the original system


I C : A'C· : {A')2 C" : : (A'ln-1 c· I
Herc n =3
:.( c-. NC·: (A')2 c· J

~IJ m =m
()

c· ~ m; A'C• =[~ 0

{A')2 A'. A'= 1[~ 0


0
~][~
0
0 -6]
~· = ~
[o -6
-11
-6
~]
25
Modem Control Theory 5 .34 Pole Placement Technique

3 3 OJ =Ior1 0
(A-)2 =
[~ ~][~ o L2 ~2]
-1 -1 2
1
7
-I

0
(A"l2 c·
[~ ~][~]=[~]
7
-1

0
I c· : NC• : (A")2 C- I
[~ 2 ~2]
2

0
The rank of above matrix 3. Hence the original system is observable.

Let Ke = [K•l]
K.i
K•3
be observer gain matrix

The desired characteristic polynomJal is,

[s-(-3+j1)] [s-(-3-jl)] [s-(-4)] = (Cs+3)2 +1] [s+4]

(s2 +6s+10) (s+4) = sJ +6s2 +10s+4s2 +24s+40

SJ+ 10s2 +34s+40

I
Now consider sl-(A + K0 -C)j =
2
[~ :]-([:
0
s
0
-1
2
~]-[~:~] (0 0 tJ)
0 2 0

[~ ~]-( [~ ~] -[~
0
-1
2
0 K,2
K<tl)
0 K._,

0
OJ0 - [l3 -12 1-K.i
-K.1 ] I
I [~ 0 s 0 2 -Ke3

= I r-l-3
-2
s+l -I K.1
+K.2 ] I
0 -2 s+K03
Modem Control Theory 5.37 Pola Placement Technique

(A-K0C) (x-x)

e = (A - K,, C ) e ... (Il)


Equations (I) and (JI) can be eombined and rewritten in matrix form as,

[~1

eJ
= [A-BK
0
BK J
A-K,C e
[x] ... (Ill)

Equation (Ill) shows the dynamics of observed state feedback control system. The
characteristic equation for the system is

l sl-A+BK
o
-BK
sl-A+K.c
I 0

lsl-A+DKHsl-A+K0Cj = o
The closed loop poles of observed state feedback system consists of the poles due to
pole placement design alone and poles due to observer design alone. Thus the pole
placement design and observer design arc independent of each other. The design of each
can be done independently and it can be combined to get observed state feedback control
system. For n as the order of the plant, the order of the observer is also n whdc the
resulting characteristic equation of the total dosed loop system is of order 2n.
To derive the transfer function of observer based controller, let us consider the system
defined as

x Ax+ Bu
y Cx
Let the plant be completely observable and let the observed state feedback control is
u=-KX.

x Ax+Bu+K.(y-G)

Ax+ B(-KX)+ K0(y-CX)

:.x
. (A-OK-K0C')x+ Key

Taking Laplace trans;... ::n of ~boh: equation


sx(s)-x(O) = (A-OK-K.C)x(s)+K.Y(s)
Modem Control Theory 5 -38 Pole Placement Technique

Assuming zero initial condition,


[sl-(A-BK-K,.C)J x(s) K0 Y(s)

x(s} (sl-A +BK+ Kccr1 K, Y(s)

Substituting this value of x(s) in equation for u,


U(s) -K >'.(s)
U(s} - K (sl - A + BK + KcCf1 Kc Y(s)

The transfer Iunction is given by,


U(s)
Y(s)

U(s) = K(sl-J\+KCC+BKr1Kc
-Y(s)

The block diagram representation of above system is shown in the Fig. 5.5

K{sl-A•K.c + BK)-1K• H. _.T


_P_1a_n_1

Fig. 5.5
The transfer function obtained above is called observer based controller transfer
function. It can be seen that the observer controller matrix A - KcC - BK may or may not
be stable even though A - BK and A - K.c are selected to be stable. In certain cases, the
matrix A - K0C - BK may be poorly stable or even unstable also.

Examples with Solutions

,,.. Example 5.5 : A system represented by followi11g state model is controllable but 11ot
obstrvablt. Show that lht 1101H1bsm;ability is due to a pole-zero cancellatio11 in Clsl - AJ-1.
(VTU: July/Aug.·2ll05l

x [ ~ ~ ~] x+[~]u
-6 -11 -6 1

Y (1 1 o) x
Modem Control Theory 5-39 Pole Placement Technique

Solution:
x
[-6~ -110 -6~ jx+[~]u
l

Y = (1 I 0) x

Herc, A
[~6
l
0
-11
q;
-6
8 = m; c = (1 I 01

[~ ~]-[~
0 1
[sl-A]
0 s -6 -II
0
lJ [~ -1
s
11
0 ]
-1
5*-6

jsl-AI sf(s+6)s+ll]+1(6) s3 +6s2 +11s+6

(s+l)(s+2)(s+3)
Adj of fsi-A]
[s1-Ar1
jsl-A!

rs +6s+ll
1
(s+l)(s+2)(s+ 3) l 2
+s+6
1
-6

s
-6s ]T
s2 +6s -lls-6
s2

s2 +6s+ll s+6
I 6 s(s+6)
(s+l)(s+2)(s+ 3) [ .
-6s -(11s+6)

Y(s)
T.F. D(s) = C(s1-Ar'n+o = C[sl-AJ-1B = (·: O=O)

[1 1 0 J
1
(s+l)(s+2)(s+3)
r s"+6s+11

l
'

-6
-6s
s+6
S(H6)
-(lls+b)
IS
s2
l [010
I

·,
(s+ l)(s+2)(s+ 3)
(s2 +6s+l1-6 (s+6)H(S+6) 1+s] r~l]

1
s+l
(s+l)(s+2)(s+3) [. J
Modem Control Theory 5 -40 Pole Placement Technique

s+ l
(s+i)(5:.:.2)(s+3)
Y(s) s+l
T.F. = --
U(;)
=------
(>+ l)(H-2)(~+ 3)

Clearly it is seen that the factor {s.,.1) is cancelled from numerator and denominator.

T.F. " s+l s+I


s3+6s2+11s+6 l~(s+6)+ 11 ]s+6

Let us draw the simulation of the transfer (unction.

Fig. 5.6
There is no coupling between x3 and y due to which state x3 can not be observed from
measurement of output y. Thus the system is not completely observable due to pole-zero
cancellation as matrix C contains one of the terms as zero.

1m+> Example 5.6 : A regulator system has the plant (VJ'U: J•n.!Feb.-2006)

i) Compute K so that the control law 11 = - Kx + ru), r(I) = reference input, places
the closed loop poles at -2 ± jM,-5. (81
ii) Design an observer such that tne eigen values of the observer are located al
-2±j./f2,-s. (61

iii) Draw a block diagram implementation of the control conjiguration. (JI

iv) Obtain the stale model of the observer based stale feed back control system. (31
Modem Control Theory 5 ·41 Pole Placement Technique

Solution:

y
x
[~ ~]
0
0

(0 0 1) x
-.
[r ~];
0
A 0
B = [~} C = [O 0 1]

i) Let us first check the controllability matrix of the system the controllability matrix
=
for n 3 is given by,

o, [B:AB:A2B]

0
B m; AB=
[~ ~][~] m
0

A·A
0

[r ~][~ ~]= [~
0
0
0
-6
-11
-6
:i
25

-6

[~ EJ[~l = m
-11
-6

[~ ~] = =
1
0
IOcl t(t) l;t o

Rank of Q, = 3
The system is completely state controllable as the rank of controllability matrix
QC: n: 3.
Now the desired characteristics equation is,

[s-(-5)][s-(-2+jJ12)][ s-( -2-;./U)) (s+5)((s+2)-j"12) [ (s+2)+ iJU)


(s+5)[(s+2)2+12]

(s+5)[s2 +4s+16]
Modem Control Theory 5-46 Pole Placement Technique

[~ ~s][~] [~sl
0
A2B = -6 =
30 19 1 19 J
0
QC
[~ ;:] .I
-5
;
IQd = 1co-1i = -1 ... o

Rank of Oc = 3
The system is completely state controllable as rank of matrix Oc = n. Hence it is
possible to place the poles arbitrarily. Let us now find the stale feedback gain matrix by
use of transformation matrix T.

The characteristics equation for the system is,

s ls(s+5)+ 6 )-(-1 )(O]


s(s2 +5s+6] = s3 +5s2 +6s
Comparing the above equation with s3+a1s2 +a 2s+a 3
=0

a1 =5 ; a2 =6 ; a3 =0
The desired characteristic equation is,

[s-(-1 +ii)] [ s-(-1-jl)] [s-(-5)] [(s+ 1 )-jl )[(s + 1) + jl J[s+5]

[Cs+1)2 +1J(s+SJ

(s2 +2s+2)(s+5) = s3 +7s2 +12s+!O

Comparing above equation with s3+ ots2 + o2s + o3 we have o1 = 7; o2 = 12; o3 = 10


K = (1>3 -a 3 1>2 -a 2 61 -a iJ T-1

As the given state equation is given in controllable form T = I


T"1 = I
Modem Control Theory 5 -47 Pole Placement Technique

K = [!0-0 12-6 7-5]1

[10 6 21[~ 01 OJ
0 0 I
0 = [10 6 2)

The state feedback gain matrix, K = [to 6 2]


,_. Example 5.8 : Co11,;ider a linear system described by tlie transfer function
Y(.-) lO Design a feedback controller roitlt a state fudback so I/tat closed loop
u'(,:) = >(>+l)(s+ 2)
poles are placed at - Z, - 1 ± j. (VTU : July/Aug.-2006)

Solution : The transfer furlction is given as ,

Y(s) 10 10 10
U(s) s(s+l)(s+2) s(sz +3s+2) s2+3s2+2s

The denominator is decomposed as below,

s3 +3s2 +2s = ((s+3)s+2]s

Let us simulate this denominator

o(t)

Fig. 5.9
The complete slate diagram is as shown in the following Fig. 5.10 after simulating the
numerator by shifting take off point.

y(t)

Fig. 5.10
Modem Control Theory 5-49 Pole Placement Technique

Now the desired characteristics equation is,

ls-(-2)][ s-(-1 + jl)] [ s-(-1 -jl)] (s+2} (s+l +jl) (s+l-jl)

[s+2J[(s+1}2 +1] = (s+2)(s2 +2s •2)


s3 +2s2 +2s+2s2 +4s+4

s3 +4s2 +6s+4
Comparing above equation with s3+ o1s2 + o2s + &3 we have,

&1 = 4; o2 = 6; o3 =4
Let us now find state feedback gain matrix by direct substitution method. Let the
desired state feedback gain matrix K be,
K (K1 Ki K3)
I

I[~ ~]-[~ -2 I3J+m[Ki K2 K3)


0
Consider, Isl -A+ BK! 0 1·
0

0 1 0

I[~ ~]-[~ I3]+[11 JJI


0
0
-2
0
Kz

l[il 2:~ 2 s+f:KJ


s[ s( s+ 3+ K3 )-(-1)(2+K2)+1 [Ki]]

Equating coefficients of above equation with those from desired equation,

3 + K3 =4; K3 =1 2 + Kz =6 .'. Kz = 4 K1 =4
., State feedback gain matrix, K = [4 4 1]
Modem Control Theory 5-50 Polo Placement Technique

,,_. Example 5.9: Consider tire 5ystem described l>y Ilic state model x = Ax. Y = Cr where
A
-1
"lr 1
Jl
2
J C = [l 0 I Design a full order stat( oltserver. The tlesi"·d eigL'>I talue» for the

obseroer matrix arc 111 = -5, u2 = -5.


(VTU:July/Aug.·2006)
Solution:

A (~l ~l C=[l OJ

Let us check the controllability matrix of dual of given system for n =2


o, [c' A'C°l

·A"C' [~I ~][~]=[~I]


Rank of Qc = 2 = Number of state variables
The dual system is completely state controllable
:.Original system is observable.

Let K0 = [~cl]
<2
be observer gain matrix

The desired characteristics equation is,

[s-(-5)Jfs-(-5)[ = (s+5)(s+5) = s2 +10s+25

Consider,

![s+ 1 + K,.1
J -l+Kc2
-1
s+2
]I
Modom Control Theory 5. 51 Polo Placoment Technique

( s+ 1+ Kc1 )(s+2)-(-I ){-1 + K,.2)

( s+I + Kcl )(s+2)+1 (-t + K02}


s2 +s+K01s+2s+2+2K01-l +K02

s2 +(l+K,1 +2)s+(1+2Kc1+Kc2)

s2 +(J+Kc1)s+(l +2K01 +Kci)

Comparing the coefficients in above equation with those of desired characteristic


equation,

3+Kd 10; K01 =7

l + 2K,.1 + Kc2 25; K,,i=25-t-2K"'=24-2(7)"1(l


The observer gain matrix K0 is given as,

.=
Example 5.10 :

A= 0
0
[ -]
l
0
-5
0
I
-6
l Consider I/re systtm drfined by
Ol
/l = ~
[
J By 11si11g statt feedback control
.r Ax + 811, toher«

11 = -Kt, it ts desired to hat'I'

lltt closed loop poft<s at s =-2±j4 ands = -10. Determin« lilt stale fe£dbackgoi11 matrix
"K" lJy any one method. (VTU : J~n.fFeb.· 2008)
Solution : We have

Let us check the controllability matrix of the system. Herc n = 3.

The controllability matrix • Q< = (n: All : A 21l]

B =
[0101:
lj
All =[~
-1 ~5 :][~]=[:]
1
:J[~t q
I n
= I ]
A2 = A ·A
(~1 0
-s
0
-5 -6
=[~I
6
-5
29
-6
.}t
Modern Control Theory 5.52 Pole Placement Technique

0 l
1 -6
-6 31
l :.IQcl = 1[31-(36)]= -5 ~ o

Rank of matrix Qc is 3. The system is completely state controllable as rank of


matrix Oc = n.
Let us now find state feedback gain matrix by direct substitution method. The desired
characteristic equation is,
f s-(-2 + j·l)]f s-(-2 -j4) J ls-(-10)] = [(s + 2)-i4 J[(s + 2)+ i4]Ls + 10]
[(s+2)2 +16] [s+IO} = (s2 +4s+20J[s+10)
s3 +14s2 +60s+200

s, = 14, 02 = 60, 03= 200


let the desired feedback gain matrix K be K = [ K1 K2 K3j
Consider.

I[~ ~]-[~
0 I
Jsl-A+BKj 0
:J+m lK1 Kz K3)1
0 s -1 -5

I[~ ~]-[
0 1 0

0 s
~ 0
-1 -5 -6
~ ]+[K,~ 0
K2 JJI
-1

l[l+~KI 5+JS s+6~KJI


s[s( s+ 6+ K3) +(S+ JS)]+ 1 (1 + K1)
s[s2 +(6+K3)s+(5+K2)]+(1+K1)

s3 +(6+K3)s2 +(S+JS )s+( l+ K1)


Modem Control Theory 5 .57 Pole Placement Technique

Ke =
«•>[c~'r m
[74 25 0
-18
-42 ~] [~ ~im
41
-95 0

[74
~J m [~1l
25
K., = -18 41
-42 -95

This is the required observer feedback gain matrix by Ackermann's formula.

Review Questions
J. Whal do you 17U'an be pole p/aremrnt probkm?
2. Prow the necessarya11d s11fflcinil rondilionfor arbitrary polt plactmtnl?
3 Write 5horl note of <1JOluation of stalef«dbiick gain matrix.
4. What art' the diffemtt tnrlhods of <1JOluating stolt fttdbackgain matrix? Explain any ont mtlhcd
in dttnil.
5. lks<ribe Aekennann's formula method for deltrmining the 11Jttt f•tdbackgain matrix K.
6. Writt a note 011 sdtttiot1 of /ooztion of tksiml c/OShl loop po/ts.
7. What do you mun by state obserwrs?
8. Write a note on full onler slate obstrwr?
9. What i• dual probltm?
IO. What is nt«SS11ry and suffidtnl conditionforstate observation.
11. Wh41 art different mtlhods of <1JOluation of sl#lt obstn,'l'f goin rnalrix K, ?
12. Write• note on stltction of suiloble wlut of ~r g•in mmrix K.,
13. Wrltt n 5hort nott 011 obstrotr bllstd controller.
14. Derite 11~ transfer [unction of observer hosed controlltr.
15. Con.sid" 11.. systtm defined hy

x = Ax+Bu

A
0
0
1
0
[ -1 -5
-6
~l r

By using the statt fudbnck control u = -Kx, it is tksirtd to havt I/it dosed loop poles at
s = -2 i j4 ands = -10. Dettrmine the state feedback gai11 matrix K. I Ans.: K = [ 199 SS 8 )J
Modem Control Theory 5. 59 Pole PlacementTechnique

22. Consider II.- systom r<pr'5ented by

x r~ :l\Tm"
-~l

y = [1 0 o] .r
Dt.<ig11a full order obstroer s11ch iha! the obs(rver t(~m oo/11es are at -2±p2J3 a11d - 5.
(july/Aug.-2005)

000
Controllers

6.1 Background
The concept of a control system is to sense deviation of the output from the desired
value and correct it. till the desired output is achieved. The deviation of the actual output
form its desired value is called an error. The measurement of error is possible because of
feedback. The feedback allows us to compare the actual output with its desired value to
generate the error. The error is denoted as e(t). The desired value of the output is also
called reference input or a set point. The error obtained is required to be analysed to take
the proper corrective action.
The controller is an clement which accepts the error in some form and decides the
proper corrective action. The output of the controller is then applied to the process or final
control clement. This brings the output back to its desired set point value. The controller is
the heart of a control system. The accuracy of the entire system depends on how sensitive
is the controller to the error detected and how it is manipulating such an error. The
controller has it' own logic lo handle the error. Now a days for better accuracy, the digital
controllers such as microprocessors, microcontrollers, computers are used. Such controllers
execute certain algorithm to calculate the manipulating signal.
This chapter explains the basic discontinuous controllers such as on-off controller,
continuous controllers such as proportional, integral etc. and composite controllers such "5
proportional plus integral, proportional plus derivative etc. Let us study first the general
properties of the controller.

6.2 Properties of Controller


Consider a control system shown in the Fig. 6.1 which includes a controller.
The actual output is sensed by a sensor and converted to a proper feedback signal b(t)
using a feedback clement. The set point value is the reference input r(t). For example the
actual output variable may be temperature but using the thermocouple as the feedback
element, the feedback signal b(t) is an electrical voltage. This is then compared with
reference input which i~ also an electrical voltage. The thermocouple senses the output
temperature and produces the corresponding electrical e.m.I as the feedback signal. Hence
actual output variable sensed and the feedback signal may be having different forms.
(6 • 1)
Modem Control Theory 8·2 Controllers

Controller output
• (p)

r(I) ett)
Controller
l Process lo Controlledoutpul
be conlrotled ~ c(t)

Errot Sensing
detector
'--/-~------! Feedback element 1-------'
Feedback
signal

Fig. 6.1 Basic control systam


6.2.1 Error
The error detector compares the feedback signal b(t) with the reference input r(t) to
generate an error.

e{t) = r(t) - b(t)

This gives an absolute indication of an error.


For example if the set point for a range of 5 mV to 20 mV is 12 mV and the feedback
signal is 11.8 mV then error is 0.2 mV. But actual vairable to be controlled may be
different such as temperature, pressure etc. Hence to obtain correct information from the
error, it is expressed in percentage forrn related to the controller operation. It is expressed
as the percentage of the measured variable range. The range of the measured variable b(t)
is also called span.

Thus span = b""" -bnun


Hence error can be expressed as percent of span as,
r-b
er b,ou. -bmin x 100

Where cP = error as % of span

•• Example 6.1 : The rattgt of measured variable for a certoi11 co11trol system is 2 m V to
12 mV and a sttpoinl of 7 mV. Firrd the error as percent of span wlu"rl tire measured
tariabl« is 6.5 m V.

Solution : 1.>11,,., = 12 mV, bmin = 2 mV, b = 6.5 mV, r = 1 mV

el' = b r-~ xlOO 7-6.5 100


m.u: - min 12-2 x

5%
Modem Control Theory 6-3 Controllers

6.2.2 Variable Range


In practical systems, the controlled variable has a range of values within which the
control is required to be maintained. This range is specified as the maximum and
minimum values allowed for the controlled variable. It can be specified as some nominal
values and plus-minus tolerance allowed about this value. Sur.h range is important for the
design of contollers.

6.2.3 Controller Output Range


Similar to the controlled variable, a range is associated with a controller output
variable. It is also specified intcrms of the maximum and minimum values.
But oltcn the controller output is expressed as a percentage where minimum controller
output is 0% and maximum controller output is 100 %. But 0 % controller output docs not
mean, zero output. For example it is necessary requirement or the system that a steam
flow corresponding to ,V.1h opening or the valves should be mininum. Thus 0% controller
output in such case corresponds to the }'.;th opening of the valve.

The controller output as a percent of full scale when the output changes within the
specified range is expressed as,

p = u-umin xlOO
um4x -umin

Where p controller output as a percent of full scale

u value of the output


u •"-'x maximum value of controlling variable
u min minimum value of controlling variable

6.2.4 Control Lag


The control system can have a lag associated with it. The control lag is the time
required by the process and controller loop to make the necessary changes to obtain the
output at Its setpoinL The control lag must be compared with the process lag while
designing the controllers. For example in a process a valve is required to be open or closed
for controlling the output variable. Physically the action of opening or closing of the valve
is very slow and is the part of the process lag. Jn such a case there is no point in
designing a fast controller than the process lag.

6.2.5 Dead Zone


Many a times a dead zone is associated with a process control loop. The time
corresponding to dead zone is called dead time. The time elapsed between the instant
when error occurs and the instant when first corrective action occurs is called dead time.
Modem Control Theory Controllers

Nothing happens in the system, during this time though the error occurs. This part is also
called dead band. The effect of such dead time must be considered while the design of the
controllers.

6.3 Classification of Controllers


The classification of the controllers is based on the response of the controller and mode
of operation of the controller. For example in a simple temperature control of a room, the
heater is to be controlled. It should be switched on or off by the controller when
temperature crosses its setpoint. Such an operation of the controller is called discontinuous
operation nnd the mode of operation is called disconti.nuous mode of controller. But in
some process control systems, simple on/off decision is not sufficient. For example,
controlling the steam flow by opening or closing the valve. In such case a smooth
opening or closing of valve is necessary. The controller in such a case is said to be
operating in a continuous mode.
Thus the controllers are basically classified as discontinuous controllers and continuous
controllers.
The discontinuous mode controllers arc further classified as ON-OFF controllers and
multiposition controllers.
The continuous mode controllers arc further classified as proportional controllers,
integral controllers and derivative controllers.
Some continuous mode controllers can be combined to obtain composite controller
mode. The examples of such composite controllers are Pl, PD and PIO controllers.
The most of the controllers arc placed in the forward path of control system. But in
some cases, input to the controller is controlled through a feedback path. The example of
such a controller is rate feedback controller.
In this chapter, only continuous and composite controllers are discussed.

6.4 Continuous Controller Modes


In the discontinuous controller mode, the output of th" controller is discontinuous and
not smoothly varying. But in the continuous controller mode, the controller output varies
smoothly proportional to the error or proportional to some form of the error. Depending
upon which form of the error is used as the input to the controller to produce the
continuous controller output, these controllers arc classified as,
L Proportional control mode
2. Integral control mode
3. Derivative control mode
Let. us discuss these control modes in detail.
Modem Control Theory 6-5 Controllers

6.5 Proportional Control Mode


In this control mode, the output of the controller is simple proportional to the error
e(t). The relation between the error e(t) and the controller output p is determined by
constant called proportional gain constant denoted as KP. The output of the controller is a
linear function of the error e(t). Thus each value of the error has a unique value of the
controller output. The range of the error which covers 0 % to 100 % controller output is
called proportional band.
Now though there exists linear relation between controller output and the error, for a
zero error the controller output should not be zero, otherwise the process will come to
halt. Hence there exists some controller output Po for the zero error. Hence mathematically
the proportional control mode is expressed as,

... (!)

Where Proportional gain constant

Po Controller output with zero error


The direct and reverse action is possible in the proportional control mode. The error
may be positive or negative because error is r-b and b can be less or greater than
reference setpoint r.
If the controlled variable i.e. input to the controller increases, causing increase in the
controller output, the action is called direct action. For example the output valve is to be
controlled to maintain the liquid level in a tank. So if the level increases, the valve should
be opened more to maintain the level.
If the controlled variable decreases, causing increase in the controller output or
increase in the controlled variable, causing decrease in the controller output, the action is
called reverse action. For example simple heater control for maintaining temperature. If the
temperature increases, the drive to the heater must be decreased.
So if e(t) is negative then Kpe(t) gets subtracted from p0 and c(t) is positive, then
JS,e(t) gets added to Po- this Is reverse action.
So equation (!) represents the reverse action. But using negative sign to the correction
term Kpe(I), the direct action proportionnl controller can be achieved.
The proportional controller depends on the proper design of the gain K.,. For fixed Pe-
if gain KP is high then large output results for small error but narrow error band can be
handled. Beyond these limit' of the error, output will be saturated. If the gain is small
then the response is smaller but large error band can be handled. This is shown in the
Fig. 6.2.
Modem Control Theory 6-6 Controllers

Conlrollcr output High gmn

100%t--------~~~~~~--·
50(14 __ ..
I

I
'

----~---..J----------
'
Po= 50 %
1 '
I
I 'I
I 0

0 ...
f
--- --------r---1---- ·-----
I '

-· . ,__ Q
Narrow
,
'
I,..

~
.
!
t,. Error%

error band

Wider error band

Fig. 6.2
The proportional band is mathematically defined by,

6.5.1 Characteristic of Proportional Mode


The various characteristics of the proportional mode are,
1. When the error is zero, the controller output is constant equal to Po-
2. If the error occurs, then for every 1 % of error the correction of Kr % is achieved.
If error is positive, KP% correction gets added to p0 and if error is negative, Kr%
correction gets subtracted from Po·
3. The band of error exists for which the output of the controller is between 0 % to
100 % without saturation.
4. The gain KP and the error band PB are inversely proportional to each other.

6.5.2 Offset
The major disadvantage of the proportional control mode is that it produces an offset
error in the output. When the load changes, the output deviates from the setpoinl Such a
deviation is called offset error or steady state error. Such an offset error is shown in the
Fig. 6.3. The offset error depends upon the reaction rate of the controller. Slow reaction
rate produces small offset error while fast reaction rate produces large offset error.
Modem Control Theory 6·7 Controllers

Oull)Ul

Fig. 6.3 Offset error in porportlonal mode


The dead time or transfer lag present in the system further worsens the result. It
produces not only the large offset at the output but the time required to achieve steady
state is also large.
The offset error can be minimized by the large proportional gain KP which reduces the
proportional band. If KP is made very large, the proportional band becomes so small that
it acts as an ON/OFF controller producing oscillations about the setpoint instead of an
offset error.

6.5.3 Applications
The proportional controller can be suitable where,
1. Manual reset of the operating point is possible.
2. Load changes arc small.
3. The dead time exists in the system is small.

6.6 Integral Control Mode


In the proportional control mode, error reduces but can not go to zero. It finally
produces an offset error. It can not adapt with the changing load conditions. To avoid this,
another control mode is oftenly used in the control systems which is based on the history
of the errors. This mode is called integral mode or reset action controller.
In such a controller, the value of the controller output p(t) is changed at a rate which
is proportional to the actuating error signal e(t). Mathematically it is expressed as,

d p(t) = K e(I)
dr I

Where K; : Constant relating error and rate


The constant K, iq also called Integral constant. Integrating the above equation, actual
controller output at any time t can be obtained as,
Modem Control Theory 6•8 Controllers

p(t) K, j c{t)dt.;. p(O) ... (2)

Where p(O) = Controller output when integral action starts i.e. at t = 0.


The output signal from the controller, at any instant is the area under the actuating
error signal curve up to that instant. If the value of the error is doubled, the value of p(t)
varies twice as fast i.c. rate of the controller output change also doubles.
If the error is zero. the controller output is not changed. The control signal p{t) can
have nonzero value when the error signal <'{t) is zero. This is because the output depends
on the history of the error and not on the instantaneous value of the error. This is shown
in the Fig. 6.4.
e(l) p(t)

(a)Error (bl Controller output


Fig. 6.4 Integral mode
The scale factor or constant K, expresses the scaling between error and the controller
output. Thus a large value of K1 means that a small error produces a large rate of change
of p(t) and vicevcrsa. This is shown in the Fig. 6.5.
If there is positive error, the controller output begins to ramp up.

(+)

dp(t)
0
di

(-)
-'-------''-------Error
0

Fig. 6.5
Modem Control Thoory 6·9 Controllers

6.6.1 Step Response of Integral Mode


e(t) The step response of the Integral
control mode is shown in the
A Fig. 6.6.
The integration lime constant is
the time taken for the output to
change by an amount equal to the
input error step. This is shown in
the Fig. 6.6.
p(t)
ll can be seen that when error is
positive, the outpul p(t) ramps up.
A
For zero error, there is no change in
the output. And when error is
I.___,' negative, the output p(t) ramps
r, down.
Fig. 6.6 Step response

6.6.2 Characteristics of Integral Mode


The integrating controller is relatively slow controller. It changes its output at a rate
which is dependent on the integrating time constant, until the error signal is cancelled.
Compared lo the proporlional control, the integral control requires lime lo build up an
appreciable output. However it continues lo act till the error signal disappears. This
corrects the problem of the offset error in the proportional controller.
For example, Jct us assume that the integral controller is used to control the armature
current of a d.c. motor and to keep its value constant ot 500 A. As long as the armature
current is less U10n 500 A, the armature voltage, controlled by the controller, will increase.
TI1us the output of the controller will increase and will continue to do so till the error
becomes zero i.e. armature current becomes 500 A. Then the controller output will remain
at that value reached. This is possible because the output of the controller can remain al
any value within its r.mr,c. if the input is zero. 'The controller must not be overdriven as it
will not then be effective.
Thus for an iJllC!,'Tlll mode,

I. If error is zero, the output remains at a fixed value equal to what is was, when
the error became ·~ro.
2. If the error is not zero, then the output begins to increase or decrease, at a rate
K; % per second for every ± l % of error.

In some cases, the inverse of K, called integral time is specified, denoted as 1;.
Modem Control Theory 6 -10 Controllers

Ti : ..!.... : Integral time


Ki

It is expressed in minutes instead of seconds.

6.6.3 Applications
The comparison of proportional and integral mode behaviour at the time of occurrence
of an error signal is tabulated below,

Controller Initial behaviour Steady state behaviour

p Acts immediately. Ofbet error always


Action according to Kr. present. Larger the KP
smaller lhe error.

I Acts slowly. It Is the Error signal always


time integral of the becomes zero.
error signal.

Table 6.1
It can be S(.'Cn that proportional mode is more favourable at the start while the integral
is better for steady state response. In pure integral mode, error can oscillate about zero and
can be cyclic. Hence in practice integral mode is never used alone but combined with the
proportional mode, to enjoy the advantages of both the modes.

6.7 Derivative Control Mode


In practice the error is Junction of time and at a particular instant it can be zero. But it
may not remain zero forever after that instant. Hence some action is required
corresponding to the rate at which the error is changing. Such a controller is called
derivative controller.
In this mode, the output of the controller depends on the time rate of change of the
actual errors. Hence it is also called rate action mode or anticipatory action mode.
The mathematical equation for the mode is.

K d c(t)
p(t)
J di

Where Derivative gain constant.


The derivative gain constant indicates by how much % the controller output must
change for every % per sec rate of change of the error. Generally Kd is expressed in
minutes. The important feature of this type of control mode i.~ that for a given rate of
change of error signal, there is a unique value of the controller output.
Modem Control Theory 6·11 Controllers

The advantage of the derivative control action is that ii responds to the rate of change
of error and can produce the significant correction before the magnitude of the actuating
error becomes too large. Derivative control thus anticipates the actuating error, initiates an
early corrective action and tends to increase stability of the system improving the transient
response.

6.7.1 Characteristics of Derivative Control Mode


The Fig. 6.7 shows how derivative mode changes the controller output for the various
rates of change of the error.

e(t)

Error 0

Timet

p(%)

100%

Conltoller
output 50%

0%
Timet

Fig. 6.7

The controller output is SO% for the zero error. When error starts increasing, the
controller output suddenly jumps to the higher value. It further jumps to a higher value
for higher rate of increase of error. Then error becomes constant, the output returns to
50 %. When error is decreasing i.e. having negative slope, controller output decreases
suddenly to a lower value.
Modem Control Theory 6-12 Controllers

The various characteristics of the derivative mode arc,

I. For a given rate of change of error signal, there is a unique value of the
controller output.
2. When the error is zero, the controller output is zero.
3. When the error is constant i.e. rate of change of error is zero, the controller
output is zero.
4. When error is changing, the controller output changes by Kd % for even I % per
second rate of change of error.

6.7.2 Applications
When the error is zero or a constant, the derivative controller output is zero. Hence it
is never used alone. Its gain should be small because faster rate of change of error can
cause very large sudden change of controller output. This may lead to the instability of the
system.

6.8 Composite Control Mo.des


As mentioned earlier, due to offset error proportional mode is not used alone.
Similarly integral and derivative modes are also not used individually in practice. Thus to
tnke the advantages of various modes together, the composite control modes are used. TI1e
various composite control modes are,
I. Proportional + Integral mode (Pf)
2. Proportional + Derivative mode (PD)
3. Proportional + Integral + Derivative mode (PIO)
let us sec U1e characteristics of these three modes.

6.9 Proportional + Integral Mode (Pl Control Mode)


This is a composite control mode obtained by combining the proportional mode and
the integral mode.
The mathematical expression for such a composite control is,
I
p(t) = Kr e(t)+KpK;J e(t)dt+p(O)
0

Where p(O) Initial value of the output at t = 0


Modem Control Theory 6 -13 Controllers

The important advantage of this control is that one to one correspondence of


proportional mode is available while the offset gets eliminated due to integral mode, the
integral part of such a composite control provides a reset of the zero error output after a
load change occurs.
Consider the load change occurring at t.., t 1 and due to which error varies as shown in
the Fig. 6.8. The controller output changes suddenly by amount VP due to the proportional
action. After that the controller output changes linearly with respect to time at a rate
KP I T1• The reset rate is defined as the reciprocal of T;.

e(I)
Error

p(I)
Conlrollor
output
------~--- --- }------- ----- --· Riso in output duo to intcg1et
------' : J: V1 . action between limes 11 and ti
} VP _ _.'-------- Immediate rise due to
prol)0'1ionul action

Tome
0 1, ti
'---v--'
Integral acton time

Fig. 6.8 Behaviour of Pl controller


The response shown in the Fig. 6.8 is for the direct action of the controller. The
response of composite Pl control mode for the reverse action is shown in the Fig. 6.9.
In the reverse action, the proportional part is the image of the error. The sum of
proportional plus Integral action finally leaves the error to zero.
Modem Control Theory 6 -15 Controllers

6.9.2 Applications
The composite Pl mode completely removes the offset problems of proportional mode.
Such a mode can be used in the systems with the frequent or large load changes. But the
process must have relatively slow changes in the load, to prevent the oscillations.

6.10 Proportional + Derivative Mode (PD Control Mode)


The series combination of proportional and derivative control modes gives
proportional plus derivative control mode. The mathematical expression for the PD
composite control is,

The behaviour of such a PD control to a romp type of the input is shown in the
Fig. 6.10.

Error e(I)

Ramp

0 lime

P(I)
Controller
output

:}v;-- --- -- ----. Rlso in signal due to proportional


action between Um°' t1 :ind tz
------ fv;·--~--------------·
.
I
..
I
Immediate rtse due to
derivative action

...
0t----..t.t1---, Time
2--------

Fig. 6.10 Bohavlour of PD controllor


The ramp function of error occurs at t = t 1. The derivative mode causes a step Vd at t 1
and proportional mode causes a rise of Vr equal lo Vd at t 2• This is for direct action PD
control.
Modem Control Theory 6 -19 Controllers
I

0.02(3t+7j+0.02x0.04 J (3t+7)dt+0.5
()

3:2
(0.06t]+0.14+8xl0-4[ +7{ +0.5

(0.06xl.5]+ (0.14}+ Bx 10-4[~+(1.5)2+7x1.5 ]+ 0.5

0.09 + 0.14 + 0.0111 + 0.5 = 0.7411


Le. p(t) 74.11 % after t = 1.5 minutes.

u• Example 6.3: Suppose the error shown i11 the Fig. 6.14 is applitd lo a PD controller with
KP = 6 and K,1 = 0.4 sec with p(O) = 25 %. Dr11w the graph of the controller output.

e(t){%)

Fig. 6.14

Solutlon : The output of the PD controller is


d c(t)
p(t) = KP e(t)+K.,K,1 (i!+25%

It is necessary to obtain output response, dividing c(t) into Uu~'C sections,


Section I) 0 s t s2
e(t) 2t ... slope= 2
<l c(t)
2
Cit
p1(l) 6x2t+6x0.4x2+25 = 12t + 29.8
Thus there is an instantaneous change of 29.8 - 25 ,. 4.8 % produced by this error in
lhe output at t = 0.
Modem Control Theory 6 -23 Controllers

i J\K
+ p
= 0 for the step input

Lim s G(s)H(s) = ~;
• -o 2<;

e,.., =

So there is a finite error for the ramp input of magnitude A, which depends on ~and

For good time response, the system demands.


1. less settling time
2. Less overshoot
3. Less rise time
4. Smallest steady stale error.
Increasing Kv, the steady state error for the ramp input can be reduced but it increases
overshoot and settling time. This m:1y lead to instability of the system. So to keep steady
state error and overshoot well within the acceptable limits, the various composite
controllers arc used. Let us see the effect of PD, Pl, PID and rate feedback controller on
the time rl'Sponsc of the second order system under consideration.

6.14 PD Type of Controller


A controller in the forward path, which changes the controller output corresponding to
proportional plus derivative ol error sit,'1lal is called PD controller.
de(l)
i.e. Output of controller = K e(t) + Td di

Taking Laplace = K E(s) + ~TJ E(s) = E(s) [ K + s1'0)


The T.F. of such controller is [K + sT,iJ. This can be realized as shown in the
Fig. 6.17.

--"'-"--
s(s + ~••nl
Ptanl

Fig. 6.17
Modem Control Theory 6·24 Controllers

Assuming K = 1, we can write,


(I .. sT,1)ro~
G(s)
s(s+ 21',oo,,)

C(s)
and
R(s)

Comparing denominator with standard form, oo., L~ same as in the previous P type
controller.

and 2 ( Oln = 21; oo,, .. ~ Td

( = <, .. oon2Td

Because of this controller, damping ratio increases by factor -¥·


ro T

Lim
KP = s _.... O G(s)H(s) = ..
Lim oo
K, = 5 -.a" s G(s)H(s) = 2~
As there is no change in coefficients, error also will remain same.
Key Point: Hence PD co11troller has folluwing effects on system.
i) It increases damping ratio.
ii) ·oo,,' for system remains unchanged.
ill) 'TYPE' of the system remains unchanged.
iv) It reduces peak overshoot.
v) It reduces settling time.
vi) Steady state error remains unchanged.
Key Point : In generRI P.O. controller improves transient part unihout affecting steady
state.

6.15 Pl Type of Controller


A controller in the forward path, which changes the controller output corresponding to
the proportional plus integral of the error signal is called Pl eontroller.
Modem Control Theory 6-25 Controllers

Le, I Output of controller K e(t) + K; J c(t) dt

Taking Laplace = K E(s) + ~ E(s) = E(s) [ K+ ~i]


:. The T.F. of such controller is [ K + ~i ) and can be realised as shown in the Fig. 6.18.

__.,,,__2

s (s + 2~w.)

Plant

Fig. 6.18
Assuming K = 1, we can write,

G(s) ~~
s(s + 2~0),,)
(K, +sl%
s2 (s+ 2~ro0)
i.e, system becomes TYPE 2 in nature.
C(s) (K, + s) ro~
and
R(s) = s 3 + 2~ Cl),, s 2 + s % + K; w~
i.e. it becomes third order.
Now as order increases by one, system relatively becomes less stable as K; must be
designed in such a way that system will remain in stable condition. Second order system
is always stable.
Key Point: Hence lransitnl rtsponse gets a/Jtcled badly if controller is not dtsig11£d
properly.
While Lim
..... G(s)H(s) = ... c.,. = 0
5 0
Lim
K, = ..... s G(s)H(s) = - , c.,. = O
5 0

Key Point : Hence as type is increased by ont, error becomes zero for ram.~ t.VPe of inputs
i.e. steady state of system gets improvtdand system bteomes more accurate in nature.
Modern Control Theory 6 -26 Controllers

Hence l'I controller has following effects :


i) It increases order of the system.
ii) It mcrcascs TYPE of the system.
iii) Design of K, must be proper to maintain stability of system. So it makes system
relatively less stable.
iv) Steady state error reduces tremendously for same type of inputs.
Koy Point: /11 gcr:ernl this controller improves steady state part ajfedi11g tlte transisnt part.

6.16 PIO Type of Controller


As PD improves transien! and Pl improves steady state, combination of two may be
used to improve overall time response of the system. This can be realized as shown in the
Fig. 6.19(a).

Plant
and
Contror.e<

Fig. 6.19(a)

TI1e design of such controller is complicated in practice.

6.17 Rate Feedback Controller (Output Derivative Controller)


This is achieved by fct.'Cling back the dertvativc of output signal internally using a
tachogcnerator and comparing with slgnat proportional to error as shown. This is called
minor loop feedback compcns.ition.
. dc(t)
Output of controller = K l:(t) - K1 -dt

Output of the controller = K F.(s) - sK1 C(s)


This can be realized as E(sl KE(s)
shown in the Fig. 6.19(b).
Assuming K = 1, lei us
study its effect on same system
which is considered earlier
>
with G(s) = - --~~-- -·.
>(> + 2., <on) Fig. 6.19 (b)
Modern Control Theory 6 ·30 Controllers

Key Point: 1 Time co11sta11t 'T' is tire time required by tire system output to reach 63.2 %
of its final value d11ri11g the first attempt.
The equation for the actual response c(t) is,

... For unit step

Where (l)d = (l)n J1 -1:,2

Damped frequency of oscillations

and a tan- 1 {Ji ~1:,2 } radians.

Note : As ~ is Ute function of I:, alone, if ~ is known, the equation of ~ can be


solved to obtain the corresponding value of damping ratio I:,.

6.19 Steady State Error


Consider a simple closed loop system using negative feedback as shown in the
Fig. 6.21.

C(s)

Fig. 6.21

Where E(s) = Error signal, and B(s) Feedback signal


Now, E(s) R(s) - B(s)
But B(s) C(s) · H(s)
E(s) R(s) - C(s)H(s)
and C(s) E(s) · G(s)

E(s) R(s) - E(s)G(s)H(s)

E(s) + E(s)G(s)H(s) = R(s)


Modem Control Thoory 6. 31 Controllers

R(s)
E(s)
1 + C(s)H(s) for nonunity feedback
R(s)
E(s) = I+ C(s) for unity feedback

This E(s) is the error in Laplace domain and is expression in "s'. We want to calculate
the error value. In time domain, corresponding error will be e(t). Now steady state of the
system is that state which remains as t ~ ...
Steady state error, e..
. . ..
= Um L'(t)

Now we can relate this in Laplace domain by using final value theorem which states
that,

...
,Lim F(t) Lim s F(s)
s-+O
Where F(s) = L I f(t) I

Therefore, Lim e(t) = Lim s E(s) Where E{s) is L I c(t) I


I -t• s-10

Substituting E(s) from the expression derived, we can write


= Lim sR(s)
e,_ • _, o l + G{s)H(s)

For negative feedback systems use positive sign in denominator while use negative
sign in denominator if system uses positive feedback.
From the above expression it can be concluded that steady state error depends on,
i) R{s) i.e. reference input, its type and magnitude.
ii) C(s)H(s) i.e. open loop transfer furu:tion.
iii) Dominant nonlinearities present if any.

Examples with Solutions

•• Example 6.4: Thefigure slurnrs PD controller used for the system. Determine the value of
T4 so tltat system will be critically damped. Calculate its settling timt.
... ,
Modern Control Theory 6. 32 Controllers

Solution: G(s) = (I.- sTd)4 11( ) I


s(s+ 1.6) · s =
(l.,. sTd)4
Cts) s (s + 1.6) (1+s'fd)4
R(s) l+(l+sTd)4 s2+1.65+4'Tds+4
s(s + 1.6)
Comparing denominator with standard form,
w~ 4, ron =2 and 2!'; (!)11 = 1.6 + 4 Td
C. = 1.6+ 4Td
• 4
Now system required is critically damped, i.e. E, = 1
1.6+ 4 Td
--4--
4 1.6+ 4T0
. . 4
0.6 an d sett I mg time = E,ro.,
4
T, 2X1=2 sec.

,._. Example 6.5: A 1111ity feedbacksystem is show11 in tirefollowingfigure.

i) In tile abse11a of derivative feedback controller (K0 = 0). Find E, and ron' ii) Find K0,
if E, is lo be modified lo 0.5 by use of controller.

C{s)

Solution: G(s) s(s+1- 3)


50x-- ior Ko = 0

H(s)
C(s) G(s) _ 50
R(s) 1 + G(s)H(s) - 82 + 3s + 50

50 :. w,. = ./50 = 7.071 rad/sec.


Modern Control Theory 6. 34 ,. ·Controne;s

14

w,. JM. = 3.7416 rad/sec.


= 14 K1.,. J.6
14K + l.o
~=0.5given
2x"H
0.1529

w,. H = 3.7416 Ji -(0.5)2 = 3.2403 rad/sec

~ = 0.9695 sec.
(l)d

e-•JP x 100=16.3 'Yo

4
T, i; w,, = 2.1381 sec.

11.+ Example 6.7: For tlu system shown determine % M1, a11d T,, when it is excited by 1111it
~tep i11p11t. If fbr the same system, I'D controller liaving constant T0 ~ 1/30 is used in
fbr«Jard path, determine new values of damping ratio, MP andT,. Draw rtsptclive
waveforms.

Solution : Without controller,


JOO
G(s) • s(s+ 12)' H(s) =I
)
C(s) 100
R(s) s2 + 12s + 100

0)2
n 100 :. Oln = 10 rad/sec.

12 ~ = 0.6
OJ0 J1 - ~2 = 10x 0.8 = 8 rad/sec.

e -·VJ·-~2 = 9.47 'l'o

4
i;<On = 0.666 sec.
1 I •
Modem Control Theory 6. 35 Controllers

With controller

100
S('S'+i2i

G(s)
(1 +i )too (s+ 30) x 3.33 H(s) =1
s(s+ 12) s(s+ 12)
(s+ 30) 3.33
C(s) s(s + 12) 3.33(s ... 30) 3.33(s + 30)
R(s)
1
+ (s + 30) 3.33 s2 + 12s + 3.33s + 100 s 2 + 15.33s + 100
s(s+ 12)

100 :. ro.,= 10 rad/sec,

2sro., 15.33

; ;:·3 :o = 0.7665

:. Sis improvcd,Old •ro,, n = 10J1 -(0.7665)2 = 6.4224 rad/sec.

% MP = e-•VR xlOO = 2.353 %

Overshoot decreased to 2.3 % from 9.47 %.

T5 = ~
~ = 0.5218 sec.

Comparison : Following figure shows comparison between system with controller and
system without controller.

0.47 %
t)
2.353%

0.5218 sec tlmo


Withoutcontroller With conttofler
6-37 Controllers

and 2
~ 0.3162
This is the required damping ratio.
For error calculation :
5
C(s)H(s) ;
s (l + O.Ss)

For ramp input magnitude is unity i.e, A=I

lim s G(s)H(s)3 lim -11 s.SO-:o-)= 5


•-o .-us + ~•

Cs~ =
Case bl Tbe derivative feedback is introduced in the system.
The system becomes.

Cts) = K,, and H(>)=l


s [0.Ss + I + K1 I

1
~ C(sJ
$Ki
1+ ----
s ( 1•0.5s)

0.5s2 • s ( 1 + K1)

KA
C(s) s [0.5s + 1 + K1 J K,..
R(s) I+ K,, 0.5s2 +(1 + K1) HK,,
slO.Ss+ I+ K1 J
Modern Control Theory 6 -40

Old 211 =W 0 Ji -1; 2

w,, 6.8676 rad I sec


Bui K, w:; = 47.165

'.\+KP
and 0.4037
2xro.,

~ = 2.5449

'"* Example 6.10 : An integral controller is used for tem,,....aturecontrol witlrin a range
40 - 60 •c. 17u: st/ point is 48 •c. Th« controller output is initially 12 % when error 15
uro. Tire intrgral constant K1 = - 0.2 % controlleroutput per ~nd per percent11geerror.
If tire temperature increases to 54 •c, calcublte II~ controller output •fltr 2 s« for" constant
error.
Solution : For integral controller,
p(I) ... EP =error

p(O) 12 %, K1 = - 0.2 % I sec I "•error


Ep = Constnnt = b.,,.,.r-b
-bmm x
100

Now Set point = 48 °C, b = Actual temperature = 54 "C


60 •c, bmin = 40 oe
48-54
EP --xlOO = - 30%
60-40

JEl'dt ~ t as error is constant

p(t) (- 0.2) (- 30) (t) + 12


Al I= 2, p(t) (0.2 x 30 x 2) + 12 = 24 %
This is the controller output after 2 sec.

111• Example 6.11 ; For a proportional controller,tire amtrolltd variable is 11 tnnpemturc willr
11 ra11gt of 50 to 130 'C with a st/ point of 73.5 •c. TM controlltr output is 50 % ftw uro
error. The offset error is corresponding to a lead clumgt which causes 55 % c:mitrolkr
011tp11t. If tire proportional gain is 2, find tlit % control/tr output if thr ltmptral11rt is
61 -c.
Solutlun : For a proportional controller,

p(t) Kp 6r(t) + Po
Where Kp = 2, Po = 50 'l'o
Modem Control Theory 6-43 Controllers

After end of 2 sec, integral term gets accumulated to,

P1(2) 2xl.,f~t2] +40=48.8%


1 1~2

For 2 S t S 4, Ep2(t) -2.51+7


t
j Ep2(t)
2
dt !(-25t+7)dt=[-2 t +7{

- 1.25 (t2 - 4) + 7(t - 2)


2(-2.5t +7)+4.-l[-1.25(12 -4) +7(1-2)1+48.8

- St+ 14 - 5.5~ + 22 + 30.81 - 61.6 + 48.8


- 5.512 + 25.Bt + 23.2 for 2 S I S 4 ... (2)
This is plotted for 2 - 4 sec.
After end of 4 sec, the integral term gels accumulated to,

P1(4) -t.25(t2 -4)+7(t-2t%4 +48.8= 47.8%

For 4 S t S 6, Ep3(1) 1.51 - 9

!Ep:i(t)dt = !(1.5t-9)dt = [1 ·;t 2 -911

0.75 (12 - 16) - 9 (t - 4)


p3(I) 2[l .5t-9)+4.4[0.75(t2 -16)-9(1-4))+47.8

31 - 18 + 3.3t2 - 52.8 - 39.6t + 158.4 + 47.8


3.3t2 - 36.6 I + 135.4 for 4 S t S 6 ... (3)

This is plollcd for 4 - 6 sec. After 6 S<.'C as error is zero hence output is accumulated
integral response of p3(t~1%6 =
34.6 %
The graph of p(t) against time is shown in the Fig. 6.23.
(Sec Fig. 6.23 on next Page)

,,_. Example 6.14 : A proportional controlkr is employedfor the control of temperature i11 the
range 50 •c - 130 •c •oith a set point of 73.5 •c. The zero error controller output is 50 %.
Wlrat will be the offset mar re>uiting from a change in t/Je controller output to 55 % ? The
proportionalgai11 is 2 % I %. Find tire offset in •c.
Solution : For proportional control mode
Modern Control Theory 6. 44 Controllers

Fig. 6.23
p KpEP +Po
Where Po = Controller output with no error = 50 %
2%per%

p-po = 55-50 = l ..S %


Kr 2
The offset error is 2.5 %.

The rani;c of 50 "C to 130 "C so b'"'" = 130 "C and bmm = 50 "C.
c = r-b xlOO Where r = set point
bnl,\\ -blllHl

2.5 73.5-b 00
130_50x1
b 71•.s ·c
This is temperature corresponding to offset error.
Modom Control Thoory 6. 45 Controllors

•• Example 6.15 : A PID co11trnller lras K,. = 2.0. K1 =


2.2 scc"1• Ko= 2 sec and
Pi(OJ ~O %. Druw th« plot of controller 01111'111 for error of Fig. 6.24.
ErmrE0k

2
0-'---+--_, _ _,.,,.... .,_ t Sec

-2
-4

Fig. 6.24

Solution : Kr= 2. K1 = 2.2 S«-1, K0 = 2 sec, P1(0) = 40 %


from the i,.;vcn error plot,
2-0
for O - 2 sec, Er= m1l Where m1 =Slope= =1
2_0
i;, for 0 - 2 sec.
For 2 - 4 St'C, Ep
Two points on the line are (2, 2) and (4, -3).
Yz-Y1 =-3-2,,_25
mi x2 -XI ·1-2 ,

Ep - 2.St + C2
At (2, 2), 2 - 2.5 x 2 + C2, .: <; = 7
Ep - 2.St + 7 for 2 - 4 sec.

For 4 - 6 sec. EP m3t + C3


Two points on the line arc (4. - 3) and (6, 0).
0-(-3)
~=+1.5

Ep +l.5t+<;
At (4, -3), -3 1.5 x 4 + C3,
... 1.5 t -9 for 4 - 6 S« .
Modem Control Theory 6 -46 Controllers

Three mode equation for PID controller is,


I dE
p = KrEp + KpKi} Epdl + KpKo -af + P1(0)
0

I dE
p 2EP+4.4JEPdt+4-af+40
0

I d
For 0 - 2 sec, Pt 2t +4.4J l di +4di(t)+40
0

2t+2.2t2 +44 ... (!)


This is plotted for 0 - 2 sec. At the end of 2 sec, the integral term has accumulated to,

P1(2) = 4..J!tdl+40=4.4x[t;J: +41l=48.8%

I d
For 2 - 4 sec, P2 2(-2.5t +7) +4.4J (-2.St +7) dt +4 di(-2.St+7)+ 48.8
2

& -5t+l4+4.4[-1.25t2 +7t]~ -4x2.5+48.8

-5t + 14 +4.4{-t2S(t2 -4)+7(1-2)}-10 +48.8

-5.5t2+25.St+13.2 ... (2)

This is plotted for 2 - 4 sec. At the end of 2 S<.'C, the integral term has accumulated to,

P1(4) = 4.4{-1.25(12 -4)+7(t-2)}11".1+48.8 = 44.4 %

For 4 - 6 sec,
I I
p3 2(1.St-9)+.JAJ (1.St-9) dt +4Ft(l.5t-9)+44 ..J
4

3t-18+4.4[075t2 -9t)'.1 +.Jxl.5+44.4

3t-18+4.4{01s(12 -t6)-9(t-4)}+6+44.4

3.3t2 -36.6t +138 •.. (3)


This is plotted for 4 - 6 sec.
Modern Control Theory 6-47 Controllers

After 6 Sl'C, error is zero hence the output will simply be the accumulated integral
response providing a constant output.
P1(6) ·l.4{075(t2 -16)-9(t-4)}1,.6 +~4.4

31.2 %

,,... Example 6.16 : A temperature control system has tire block diagram given in Fig. 6.25.
The input signal is a voltage and represents tire desired temperature 0, is a unit step
function and i) D(s) =1 ii) D{s) = 1 + Pf iii) D(s) = 1 + 0.3 s. What is tire effect of
the integral term in the Pl controller a•rd the derivative term in PD controller on tire steady
stale error ?
(VTU: July/Aug.-2006, 8 Marks)

O(r)
200 0
~
Plant

Fig. 6.25
Modem Control Theory 6 ·48 Controllers

Solution : For the given system.

G(sl = 200D(s) H() 002 R(s) = 0.02


(s+ll(s ... 2)' s " · ' s

Lim sl~s)
Lim sE(>)
1->.-,tl ,.~o I +G(s)H(s)

i) D(s}
0.02
sx-- 0.02
l.im s &.66x10·3
~-H 1 + l()O x0.02 ;:20<ixooi
(s+l)(s+2) 2

ii) D(s) I+ 0.1


s
sx 0.02
Lim s =0
<-O
1+
2oo(i+¥Lom]
(s+l)(s+2)

iii) D(s) 1 + 0.3 s


0.02
sx--
l".,.. Lim
:.-0
------"''----- = 6.66x10·3
1+(200(1 +0.1s) x0.02)
(>+l)(s~2)

Due to Pl controller, the steady state error reduces drastically while PD controller has
no effect on the steady state error.

Review Questions
l. Whal is co11troller ? Explain its function i11 a systrrn.
2. Gill< /ht classification of controllers.
3. Stalt and txplain tlu: various J!TOJXrlks of controller.
4. State tlie various contin11ous controller mod.ts.
5. Explain tht prof}"'lional co11tro/ modr. State its d111racttristics.
6. Explain the integro!control mode, State its cbamctrristics.
7. Explain ti~ derivatiw control mode. State its tharocteristics.
8. Explain how constant K, •JJ<ct tflL output of Pl control modL.
9. Wiry dtrivatiw mode is ca/ltd •rrtici,,.,tory control mode ?
IO. Stale the various CO!lfposite rorr!rol modes.
Modem Control Theory 6 -49 Controllers

11. Explain the Pl control mod<, stating its characteristics. (July·2005)


12. Explain the PD control mode, slatmg its chanwmslics.
13. Writ< a not« on tlzru moat control/er.
14. Discuss tht effrr:t of following controllers 011 th< second order con!rol systtm,
al Pl controller
bl PD <011trofler
15. Explain 11" effrr:t of Pl controller on typical second order systtm.
16. E;rplain the ef!tct of PD controller on typical second order •yst<m. (July·2005)
I 7. A fetdbnck systtm whid1 11$<$ a rate fetdlxic:k controller is slwrv11 in th< figure.

0.5s1 + s( I+ Kil

al For KA a in in absence of derioative fttdbtuk (Kh a 0) dtlmnint 11" damping ratio and
naluralfrtqutncy of oscillations. Also find IN s s trror for unit ramp input.
bl Determine tire constant K1, if th< damping foe/or nquired is 0.6, with KA = 10. With this oolue
of Kh, dtter111inc ss error for writ ramp input. (Ans.: 0.316, 3.16 rad/sec, 0.2, 1.8, 0.38)

ODD
(6. 50)
Nonlinear Systems

7.1 Introductionto Nonlinear Systems


It has been mentioned earlier that a control system is said lo be linear if it obeys law
of superposition. Most of the control systems are nonlinear in nature and are treated to be
linear, under certain approximations, from ease of analysis point of view. Let us discuss
now the properties of nonlinear systems. ln practice nonlinearities may exist in the systems
inherently or may be purposely introduced in the systems, to improve the performance.
Hence knowledge of properties of nonlinear systems and various nonlinearities is
important.

7.2 Properties of Nonlinear Systems


The various characteristics of nonlinear systems arc,
1. The most important characteristics of a nonlinear system is that it docs not obey
the law of superposition. Hence its behaviour with respect to standard test inputs
can not be used as base to analyse its behaviour with respect to other inputs. Its
response is different for different amplitudes of input signals. Hence while doing
the analysis of nonlinear system, alongwith the mathematical model of the system,
it is necessary to have information about amplitudes of the probable inputs, initial
conditions etc. This makes the analysis of the nonlinear system difficult.
2. Unear system gives sinusoidal output for a sinusoidal input, may be introducing a
phase shift. But nonlinear system produces higher harmonics and sometimes the
subharmonics. Hence for sinusoidal input, the output of a nonlinear system is
generally nonsinusoidal. The output consists of frequencies which are multiples of
the input frequency i.e. harmonics. The subharmonics means the presence of
frequencies which are lower than the input frequency. The input and output
relations are not linear.
3. In linear systems, the sinusoidal oscillations depend on the input amplitude and
the initial conditions. But in a nonlinear system, the periodic oscillations may exist

(7 • 1)
Modem Control Theory 7-2 Nonlinear Systems

which are not dependent on the applied input and other system parameter
variations. ln nonlinear system, such periodic oscillations arc nonsinusoidal having
fixed amplitude and frequency. Such oscillations are called limit cycles in case of
nonlinear system.
4. Another important phenomenon which exists only in case of nonlinear system is
jump resonance. nus can be explained by considering a frequency response. The
Fig. 7.1 (a} shows the frequency response of a linear system which shows that
output varies continuously as the frequency changes, Similarly though frequency is
increased or decreased, the output travels along the same curve again and again.
But in case of a nonlinear system, if frequency is increased, the output shows
discontinuity l.e. it jumps at a certain frequency. And if frequency is decreased, it
jumps back but at different frequency. nus is shown in the Fig. 7.1 (b).

0Utpu1 Output
Peak resonant

(a) Linear system (b) Nonlinear system

Fig. 7.1 Jump reaonanc:e


5. There is no definite criterion for judging the stability of the nonlinear system. inc
analysis and design techniques of linear systems cannot be applied to the nonlinear
system.

7.3 Classification of Nonllnearitles


Basically the nonlinearities are classified based on the fact that whether they are
inherent or purposely introduced in the system. Depending upon this the two classes of
nonlinearities are,
1. Inherent nonlinearities.
2. Intentional nonlinearities.

7.4 Inherent Nonlinearltles


The nonlinearities which are unavoldeble in the control systems are called inherent
nonlinearities. Let us discuss various types of inherent nonlinearities existing in practice.
Modem Control Theory 7.5 Nonlinear Systems

Ouiput Output

(a) o,,_off with doadzone (b) On·off with doadzone and hysteresis

Fig. 7.7

7.4.5 Nonlinear Friction


In any practical system, where there is a relative motion between the two moving
Output
surfaces, there exists a friction. There are various
types of such friction. All of them arc nonlinear
Viscous except viscous friction. The nonlinear friction Is
0.()15
called Coulomb friction.
The coulomb friction is a force acting in
opposite direction of motion but it is constant in
magnitude irrespective of velocity.
The viscous and coulomb friction are shown
in the Fig. 7.8. It can be seen that viscous
Coulomb friction is linear while coulomb friction is
friction
constant irrespective of the input.
Fig. 7.8 Friction
The example of coulomb friction is the
friction existing between the brushes resting against the commutator in an electrical motor.

7.4.6 Backlash
This type of nonlinearity is generally found in the mechanical linkage where coupling
is not perfect. A common example Is the existence of free play between teeth of drive gear
and driven gear of a gear train. This is shown in the Fig. 7.9 (a). The driven ge..r docs not
work until there is contact between drive and driven gear. So input member has to travel
the distance B to have the output, as indicated by input-output characteristics shown in the
Fig. 7.9 (b). Once the contact is made output follows the input. If Ule motion is to be
reversed, then input member has lo travel distance of 2B in reverse direction, as shown in
the Fig. 7.9 (b),
Modem Control Theory 7-6 Nonlinear Systems

(a} (b}

Fig. 7.9 Backlash


This is the most complex nonlinearity from modelling point of view. This is also
memory dependent nonlinearity. It is a double valued nonlinearity like on-off with
hysteresis. A process control valve with hysteresis is another example of backlash type of
nonlinearity.

7.4.7 Nonlinear Spring


A linear spring has a linear equation for its force and displacement.
Linear spring force kx ... (1)
where k positive spring constant
and x spring displacement
The nonlinear spring is not governed by the equation (1) but its force and
displacement are related by the equation.
Nonlinear spring force kx+k'x3 ... (2)

where k Positive spring constant


and k' Nonlinear spring constant
The k' can be positive or negative. If k' is positive, the spring is called hard spring
while if k' is negative, the spring is called soft spring. If k' = 0, the spring is no longer a
nonlinear but behaves in a linear fashion.
The degree of nonlinearity in the spring is totally controlled by the magnitude of k'.
If such a spring is used in the system consisting of mass and friction then it is
experimentally observed that the frequency of the free oscillations increases or decreases as
the amplitude decreases depending upon the value of k',
Modem Control Theory 7.7 Nonlinear Systems

Frequency
k'>O
Hard spring

k'<O
Soft spring

Amplitude

Fig. 7.10 Frequency-amplitude curvesfor n7l1near spring

The frequency-amplitude curves for a system with nonlinear spring arc shown in the
Fig. 7.10. For k' > 0, as the amplitude decreases, frequency also decreases. This is hard
spring. For k' < 0, as amplitude decreases, the frequency increases. This is soft spring. For
a linear spring such characteristics is a straight line.
These curves are often used to find out whether them exists a nonlinearity in the
spring and also to find the degree of nonlinearity.

7.5 Absolute Value Nonlinearity


In some systems, though the direction of the input is changed, the output direction
remains same. The value of output is absolute irrespectiveof the direction of the input
applied. The best example of such a nonlinearity is a relay operated by the solenoid.
Irrespective of the direction of the current through the solenoid, relay gets operated. This
is shown in the Fig. 7.ll (a) and (b).

Output

· :]~-
~__..
Relay
(a) (b)

Fig. 7 .11 Absolute value nonlinearity

Thus the output is not affected by the direction of the input applied.
Phase Plane Method

8.1 Introduction
The phase plane method is an important method used for the analysis of nonlinear
systems. The phase plane method is applied normally to first order and second order of
linear and nonlinear systems. The system behaviour is qualitatively analysed ;ilong with
design of system parameters so as to get the desired response from the system. The
periodic oscillations in nonlinear systems called limit cycle can be identified with this
method which helps in investigating the stability of the system.

8.2 Limit Cycle


In case of Ilncar lime invariant systems a periodic oscillation is sinusoidal. The
amplitude of such oscillations is a function of excitation applied and initial conditions. IJ
the system parameters arc changed slightly i.e, if the system poles arc shifted from the
imllginary axis of complex s plane, then the oscillations will no longer exist.
In case of nonlinear systems, periodic oscillations are present but arc not dependent on
amplitude of applied excitation. Also the oscillations arc not much sensitive to parameter
variations.
A periodic oscillation is case of a nonlinear system is called limit cycle. Normally the
limit cycles are non-sinusoidal. The limit cycles which arc having fixed amplitude and time
period can be observed over a finite range of system parameters.
The limit cycle is also called self excited oscillation which is observed in certain
nonlinear systems, Consider a system described by following equation,
M;;-µ(l-x2);+kx=O
Herc M, µ and k are positive quantities, This is a nonlinear equation. For small values
of x, the damping will be negative which indicates the energy is actually put in the
system. For large values ol -. thP dam;,1ng is positive which removes the energy from the
system. Thus it can be expected that such system may exhibit a sustained oscillation. Now
as it is not a forced system, these oscillations arc called self excited oscillations or limit
cycle.

(8. 1)
Modem Control Theory 8-2 Phase Plane Method

8.3 Jump Resonance


The phenomenon of jump resonance is seen only in case of non linear systems. This
can be explained by considering the frequency response plots. The Fig. 8.1 shows
frequency n.'Sponse plot for a linear system while the Fig. 8.2 shows frequency response
plot for nonlinear system.

t
Response
.'
I\
Fig. 8.1 Llnoar system
.,_
~
[f\
: t:

Fig. 8.2 Nonlinear system

Consider a nonlinear system excited by sinusoidal input of constant amplitude. If the


input frequency is increased then jump (or disrontinuity) occurs in the response amplitude.
With decrease in frequency also, jump can be observed but at a different frequency.
A nonlinear system is one which behaves qulte differently for various input functions.
Consequently the logical design of a nonlinear system requires a complete description of
the input signals. This dependence of the system behaviour on the actual input functions is
demonstrated by the jump resonance phenomenon which is observed in certain closed loop
systems with saturation.
Let us consider a nonlinear equation describing a certain system.
M ~+ f=+ k1x+k2x3 = f cos rot
If the magnitude of the response for above system L~ plotted against frequency, then
corresponding frequency response plot for k2 > 0 is shown in the Fig. 8.3.
8

F0tk,>O

Fig. 8.3 Jump resonance


Modem Control Theory 8-3 Phase Plane Method

Due to the presence of a nonlinear term k2 x 3, the resonant peak is bent towards the
higher frequencies. As the input frequency is gradually increased from zero with input
amplitude fixed, the measured response follows the curve through the points A, B and C.
But at C, an increment in frequency results in a discontinuous jump down to the point D,
after which with further increase in frequency, the rcsponsc curve follows through DE.
If the frequency is decreased, the response follows the curve EDF with jump to B
occurring at F and then move to A. For certain range of frequency the response function is
double valued.
For k, < 0, the resonant peak bends towards lower frequencies which is shown in the
Fig. 8.4. similar Jump resonance takes place with the difference that there is upward jump
when frequency is increased and downward jump when frequency is decreased.
Response D

w-
Fork2< 0
Fig. 8.4 Jump resonance
Tile overall curve shows the familiar hysteresis or jump resonance phenomenon. It is
well known in nonlinear mechanics and is frequently observed in high gain servo systems.
In such cases, the response is multivalued and depends not only on the present value of
the input but also on the past history.

8.4 The Phase Plane Method


The equation of a second order nonlinear system having free motion has the following

.. . . .
form,
y-h(y,y)y+g(y,y)y =0
At any particular moment,. the state of the system can be represented with the help of
a point having coordinates (y, y) in rectangular coordinate system. This coordinate plane is
called a 'phase plane'.
Modem Control Theory 8-5 Phase Plane Method

t,
Fig. 8.5
The starting point A with initial condilion but no initial velocity. the system comes to
equilibrium i.e. to the origin with damped oscillatory behaviour.

8.5 Basic Concept of Phase-Plane Method


Consider the diffcrentinl equation for a linear second order control system
d2y2(t) +« dyd(t) +Jly(t) = u(t)
dt t
Herc u is input while y is outpuL
The phase plane method is basicall y a graphical method of solving S<."COnd
order linear as weU as non linear system equations. The co-ordinate plane whose axes

phase plane plot y(t) and


.
correspond to dependent variable y(t) and its first derivative y(t) is called phase plane. In

y(t) arc plotted in a two axes plane. The trace of the phase
plane plot as time t increases is called trnjcctory. The starting point of the trajectory
depends on the initial conditions imposed on the system.
For different sets of initial conditions, various trajectories can be plotted. The complete
dynamic behaviour of the system for various initial conditions can be obtained from the
trajectories plotted in phase plane.
The dynamic performance and analysis of given second order system differential
equation can be made based on destination point of trajectories. The method has limitation
of its application restricted to second order as for higher order system equations, three or
higher dimensional plane is needed which is not much convenient to construct and
visualise. But transient response of second order system excited by step input can be
studied by this method. This method is thus applicable to linear time functions and can
not be applied to systems excited by sinusoidal signals.
The phase plane method can be considered as a special case of state space. With the
use of slate variables known as phase variables, the state of second order system can be
defined.
Modem Control Theory 8-7 Phase Plano Method

In phase plane analysis, the trajectories can be constructed analytically, graphically or


experimentally. The analytical method is straight but not useful from practical point of
view. The graphical methods are used when it is not possible to solve the given
differential equation analytically. The graphical methods arc applicable to both linear and
non linear equations.

8.6 Isocline Method for Construction of Phase Trajectory


The isocline method i~ a graphical approach for determination of phase portrait.
Consider the slate equation for a second order system.

111e slope m of trajectory at any point in the phase plane is given by,

dx2 m = f2(xpx2)
~ f1("1·"2)

The point (x1,x2.' of the phase plane has with it associated slope of the trajectory except
at singular point where the slope is indeterrniante.
lsodines are the lines in the phase plane corresponding lo slopes of the phase portrait.
In order to construct the phase trajectory, it is necessary to integrate the slope equation.
This is very difficult except for few simple cases.
We have,

(~ ( x~.x2 )= m1f1(x1.x2)

The above equation gives locus of all points in the phase plane where the slope of
trajectory is m1. Such a locus is called isocline. TI1c direction of phase traiectroy at any
point (x1,x2) can be obtained from the sign or ax1 and ax2 for small increment in at.

Consider once .1gain second order system equation.


d2>•(1) dy(t)
-- -e- n-:-+(ly(t) = u (t}
dt2 dt
Subject to initial conditions y(t0) = Yo
Modem Control Theory 8-9 Phase Plano Method

Based on various slopes of trajectories, isoclines arc drawn as shown in the Fig. 8.7

Fig. 8.7
From the given initialconditions, the starting point is 0 which is the point on
isocline 1 corresponding to
slope m1. The phase trajectory which is drown from point on
the isocline whose slope is
m1. The phase trajectory which is drawn from point 0 on the
isodine whose slope is m1 to that having slope m2 is a straight line whose slope is the
m +rn
average of m1 and m2 i.e. -1-2--"This2• line intersects isocline 2 at point P which has a
slope of m2• Thus we get line segment OP. This procedure is continued at point P to get
subsequent line segments PQ QR and so on as shown in the Fig. 8.7
Now consider undamped second order system such that ~ = 0
d2y(t) +2~(00 dy(t) +~ y(t) = 0
dt2 dt I

For simplicity let us select Uln =I The above equation is

d2v(t)
--·-+y(t) = 0
dt2
Let \IS now select the state variables
XI

X2
.
y(t)

y(t)

The state equations arc,


Modern Control Theory 8 • 10 Phase Plane Method

Integrating and rearranging above equation.


xi-x~ = C
Here C is arbitrary constant obtained frorn initial conditions. The phase portrait in
phase plane is as shown in the Fig. 8.8. The above equation represents a circle. The phase
portrait consists of concentric circles depending on difforent initial conditions
(x1to x2lo x3to etc)

Initial oolldltion

~~~~--11---t-~--1--.~1----i~-t</~~~~-•1

Fig. 8.8
8. 7 Application of Phase-Plane Method to Linear Control System
Before: studying the application of phase-plane method lo non-linear systems, let us see
its application in linear systems.
Let us consider second order linear control system as shown in the Fig.8.9

1------ C(s)

Fig. 8.9
Modem Control Theory 8·11 Phase Plane Method

The transfer function is given as,

C(s) [~] K (~)


R(s) = [ K ] = s(T1s+l)+K
1+---
s(T,s+l)

Jn the forward path, the transfer function is


C(s) K
E(s) !i(T1s+1)
KE(s)

KE(s)

Taking inverse Laplace transform,

T1 c+c Ke

But e r-c

I! = r-<: .. c = r-c

e r- c .. C= r- f.'
"

Let the input be step input


r (t)
. ..
I{

r(I) r(I) =0
The above equation becomes

0 fort> 0

Now e (OJ r(O) - c (0)

At I "' 0, c = 0 i.e. c (0) = 0 r (0) = R


Modem Control Theory 8-13 Phase Plane Mothod

When the value of K is adjusted in such a way as to get the system overdampcd then
the phase plane trajectory is as shown in the Fig. 8.11

(a) Step response (Overdampod case) (b) Corresponding phase portrait

Fig. 8.11

For the linear systems, where analytical solution can be computed for c and c then it is
not required to draw phase portrait. It can be effectively applied in case of non-linear
systems.

8.8 Second Order Nonlinear System on Phase Plane


Let us consider the Van dcr Pol's differential equation,
.. .

y-µ(1-y•)y+y
., . =0

state variables as x 1 "' y and x2


.
This equation describes the behaviour in many nonlinear systems. Let us select the
= y.
TI\e stale equations are given as,

x2 )' .. µ(l-xi)x2-'1
The equilibrium point of this system is origin of the phase plane. Now there are two
cases viz. µ > 0 and µ < 0. The phase portraits for both these cases is shown in the
Fig. 8.12.
When µ > 0 and initial value of x1 [i.e. x1 (0)1 is large then the system response is
damped. The amplitude of x1(t)[ .. y1(1)] decreases till the system enters the limit cycle. This
is shown by the outer trajectory. For small initial values of xi' the damping is negative.
Modem Control Theory 8·14 Phase Plane Method

- Stable
llmilcycie

(a)~~> O (b)~ <O

Fig. 8.12
The amplitude of x1(t)[=y1(t)] increases till the system stale enters the limit cycle which is
shown by inner trajectory. The limit cycle is stable as the paths in its neighbourhood arc
converging. The limit cycle for µ < 0 is unstable.
With increase in order of the system, the complexity is involved in applying phase
plane method. The method of phase trajectories is restricted normally lo second order
systems and ii is special case of phase space defined for nth order system.
ln case of lime invariant systems, the total phase-plane contains trajectories with only
one curve passing through every point of the plane except for some critical points.
Through these critical points either none of the trajectories or infinite number of
trajectories pass.
For lime varying systems, two or more trajectories may pass through a single point.
The phase portrait then becomes complex and not easy to interpret. Hence the method of
phase-plane is mostly applied lo second order systems having constant parameters with no
or constant input. Some simple lime varying systems can be analysed by this method.

8.9 Different Types of Phase Portraits


In this section. the phase portraits of some commonly known linear systems is
presented. Thl'SC portraits can be used for analysis of piecewise linear systems.

8.9.1 Phase Portraits for Type 0 System


Consider a transfer function for a type 0 system.
C(s) ro;
R(s) = s2 +2sCJ\,s +<if.,
Let us consider the input r(t) to be zero i.e. unforced system
ls2 +2soons+ro~ JC(s) .. O
Modem Control Theory 8·15 Phase Plane Method

c+2;col\ C+o>~C = 0
Let x1 a C and x2 a C. Therefore the state model is given by,
;l = X2i ;2:: -2~COnX2-(0~X]

Eliminating the time variable from the two equations by dividing the equations,
dx2 -2~Ctl0Xz -C1)~x,
~ X2

dx O
If we consider the point at which x1 = x2 = 0 then the slope al this point dx~ =
0
which is Indeterminate. This point is called singular point. We will study the behaviour of
trajectories which are dosed to this singular point.
To find out the singular points which arc nothing but the roots of characteristic
equation s2+2;rons+oT,; =
(s-y1)(s-y2) = 0. Depending on the values of Yt and y2, six
different types of singular points arc obtained. These arc described as below.

8.9.1.1 Stable System with Complex Roots


Let y1 = -a+jf1 y2 = -o.-jf1 a>O and ll>O
The output response in this case is c(t) = C1e-"1 sin <Pt+C2) C1 and C2 are constants
whose values can be obtained from initial conditions.
The phase ~ortrait can be obtained from the response equation on (xl'x2) plane as
x 1 = C, x2 = C. The typical phase lrafcctory obtained is a logarithmic spiral into the
singular point which is shown in the Fig. 8.13. This type of singular point is called a
stable focus.

jo>axis
~----- ill

-a•I oaxis-
I
I
I

*-----
I

-jjl

(a) Stable focus (b) Nature of roots Ins plane

Fig. 8.13
Modern Control Theory 8 -17 Phase Plane Method

t
jw

jp

o-

-JP

(a) Center (b) Nature of roots

Fig. 8.15

8.9.1.4 Stable System with Real Roots


Let y1 and y2 be two real and distinct roots located in left half of s-plane. The
response in this case is given by,
C(t) = Ctcrt• +C2crz•

The response obtained from the system is ovcrdamped. The singular point obtained
after plotting the phase trajectory on (x 1 = y, x2 = y) plane for this case is called a stable
node. The phase portrait contains two straight line trajectories having equations
=
x2(t)=y1x1(t); x2(t) y2x1(t) which satisfies the differential equation of the given system.
Assuming that the term eT2' decays faster in the transient response than the term cT 11.
As time t increases, x1 ~c,er11 ~a and x2 ~11C1cY1' ~a. All the trajectories are
tangential at the origin to the straight line trajectory 2(t)=)'1x1(t). The other trajectory is
given for initial conditions x2(0) = /2x1(0).
All the trajectories arc asymptotic to this straight line trajectory. If the roots are
repeated for stable systems then there is a single trajectory whose slope depends on value
of root.
Modem Control Theory 8·18 Phase Plane Method

jN
t

Fig. 8.16 Stable node Fig. 8.17 Nature of roots


The phase trajectory and nature of roots is shown in the Fig. S.16 and Fig. S.17.

8.9.1.S Unstable System with Positive Real Roots


Let y1 and r2 be two real and distinct roots localed in right half of s plane r1 is a

.
smaller root. The singular point in this case is called unstable node. The phase portrait on
(x1 = y, x2 = y) plane is shown in the Fig. 8.18.

Jh)

Fig. 8.18 Unstable node Fig. 8.19 Nature of roots

The trajectories emerge from the singular point and go to the infinity. The trajectories
arc tangential to the straight line trajectory x2(t) = 11x1(t) al origin and asymptotic al
infinity to other straight line trajectory. For the repeated roots, there is a single trajectory.
Modem Control Theory 8 -19 Phase Plane Method

8.9.1.6 Unstable System with One Positive and One Negative Real Root
ln this case we have two straight line trajectories which have slopes dependent on
values of root. The singular point obtained in this case is called a saddle. The stralghtli.ne
obtained due to negative root gives trajectory entering into the singular point while due to
positive part gives trajectory which leaves the singular point.
The other trajectories approach towards the singular point close to incoming straight
line then takes a curve away and leaves the singular point in its vicinity. It
approaches the second straight line asymptotically. The phase portrait on (x 1 = y, x2 =
.
y)
plane is shown in the Fig. 8.20.

Fig. 8.20 Saddlo point Fig. 8.21 Naturo of roots

8.9.2 Forced Second Order Type O System


Let us consider a second order system excited by constant input with magnitude A.
C(s)ls2 ·•2~o>ns+ro~ I = A~

The above differential equation can also be written in following form.


d2 d • .z
di2(C-A)+2~w0 dt(C-A)+w,,(C-A) = 0

The equation is similar lo that obtained for unforced system wilh the difference that
=
the singular point is shifted from origin to point C A on the Y axis.

8.9.3 Phase Portraits for Type 1 System


Consider the following transfer function which represents Type 1 system. This system
is excited by constant input of magnitude A.
Modem Control Theory 8-21 Phase Plane Method

The total equation becomes,

l1 x 1(1) =A - X2(t)-A/1~A - x2(t)]+


1
lx 1(0)-A +x2(0)+A/1~A - x2(0)1

~(x1 - x1(0)J = -fx2 :;to)]


- x2(0)1-Al1{ AA_

The corresponding phase portrait for A > 0 is shown in the l'ig. 8.22.

Fig. 8.22 Phase portrait for A > 0


If initial conditions are zero i.e. x1(0) = x2(0) = 0 then

~XI = -X7-A11{A~X2]

The corresponding phase trajectory is shown in the Fig. 8.22. The trajectory is
asymptotic to the line x2 = A.
If the initial point is different (xi (0), Xz(O)] then the trajectory will have same shape but
shifted horizontally by k units so as to pass through the point (x1 (0), x2(0H
The equation of trajectory in this case is given by,

~(x1-K) = -x2-Aln(A~xz)
Modem Control Theory 8 ·22 Phase Plane Method

The phase portrait for A < 0 is shown in the Fig. 8.23. The value of A = 0 is a special
case which is unforced system and the phase portrait consists of number of straight lines
' 1
having the slope of - 'T.

Fig. 8.23 Phase portrait for A < 0.

Fig. 8.23 Phase portraits for A < 0


8.9.4 Phase Portraits for Type 2 System
Consider the transfer function of linear system representing type 2 system
C(s) = .l..
R(s) Js2

Let the input applied be of constant magnitude, r(t) A. The corresponding


differential equation is given by,
JC= A
Let the state variable be x 1 = C, x2 = C

The corresponding state model is given as,

Xl c : Xz
Xz c =1A
Modem Control Theory 8 ·23 Phase Plane Method

By eliminating the time variable we get,


dx2 A
ii;z; Jx2
tx2dx2 A dx1

Integrating the above equation,

Where C is constant of Integration obtained from initial conditions.

J x~(t)
21\+C

J x~(O) +C
2A

C = X1(0)- J x~(O)
2A
The nature of trajectory ls parabolic for an initial state point (x1(0), x2(0)1 passing
through a point x 1 = C on the x-axis where C is given by above equation. This Is shown
in the Fig. 8.24 for A < 0 and A > 0.

"1 =v

C<O (a) For A> o (b) For A <O

Fig. 8.24
Modem Control Theory 8 -24 Phase Plane Method

With increase in time t, each trajectory is shown in clockwise direction. The direction
of phase trajectory is obtained from the relationship; 1 .. x2• As x1 increases with time in
upper half of phase plane, the state point hence moves from left to right in the lower half
of phase plane. When x1 decreases with time, the state point moves from right to left
The time interval between the two points of a trajectory Is given by 6t 6x 1 I x2.tv. =
With the aid of this equation the time scale can be given to the trajectories. But the phase
portrait is generally used to get an idea about transients in the system.
The phase portrait or A < 0 is shown in the Fig. 8.24 (b). The unforced system with
A = 0 is a special
case. -,

dx2 -
dx';- 0 ..· dx 2- - 0

Integrating above equation

J dx 2 o
x2(t) C
Where C is constant of integration obtained from initial conditions.
C = x2(0)
:. We have equation of trajectory as x2(t) = x2(0). This equation represents the
trajectories of straight lines parallel to x 1 axis.
,... Example 8.1 : Determine the kind of singularity for eaclt of tltt following differt11tial

.
equations.

...
i) y+3y+2y=O

ii) y-By+17y = 34 (VTU: Jan/Feb.·2005)


Solution : i) y+ Jy+ly = 0

Let the state variables be x1 = y and x2 = y


. . .
The corresponding state model is

x1=y=x2; x2=y=-3x2-2x1
Eliminating the time variable,
dx2 -3x2 - 2x1
dXi' X7
Modem Control Theory 8. 25 Phase Plane Method

The characteristic equation is given by,

s2 +3s+2 0
(s+2)(s+t) 0

s = -2; s =-I
We have, y1 = -1 and y2 = -2
The nature of phase trajectory is as shown in the Fig. 8.25 and the type of singular
point obtained is stable node.

o--

(a) (b)
Fig. 8.25
The response in this case is given by y(t) = c1eYJ1 +C2cY21. The transient term eY2•
=
decays at faster rate than eYt1• As time t-+~, x1 -.C1eY:1 -+0; x2
. 'Yt<'Y11 -+0. The

ii)
.
singular point node obtained in this case (0, OJ is stable in (y, y) plane .

y-8y+17y 34
.. .
y-8y+t7y-34 0

The above equation can be rewritten as,


d2y dy
--8-+17y-34 0
dt2 dt

d2(}'-2) d 0
dt2-8dt(y-2)+17(y-2)
Modem Control Theory 8 ·26 Phase Plane Method

The characteristic equation is given by,


(s-2)2 -8(s-2)+17(s-2) 0

(s2 -4s+4)-8s+t6+17s-34 0

s2+5s-14 = 0
(s+7)(s-2) 0

Y1 -7; y2 =2
There arc two roots one positive and one negative root. The singular point obtained In
this case is called saddle point which is shifted from origin by 2 units. The slopes C1f the
two straight line trajectories with slopes dependent on root values. The nature of phase
trajectory is shown in the Fig. 8.26.

t
joo

Fig. 8.26

8.10 Singular Points of a Nonlinear System


Singular point is a point on the phase plane where the slope of the trajectory i.'
indeterminate. In the state model of a given system, when time variable is eliminated then
we get,

By equating the numerator and denominator equations to zero i.e, solutions of the
equations f(x1, x2) =
0 and x2 =
0 gives the locations of the singular points along with Its
number.
It is also Important lo know the behaviour of the trajectories in the vicinity of a
singular point of a nonlinear system. The nonlinear equations are Ilnearized at the singular
Modern Control Theory 8 -27 Phase Plane Method

point using say Taylor series expansion and then the nature of phase trajectory around the
singular point is determined by linear system analysis which is described earlier.

8.11 Delta Method


In isocline method, entire phase plane must be filled with line segments of different
possible slopes. If only a single solution curve is needed, only a few of these lines are put
to use, thus wasting a lot of effort. A technique of construction known as the delta method
leads more directly to the solution. This method applies to the solution of equations of the
type,
.
x+f(x, x, t) ;; 0 .•• (1)

Where f must be continuous and single valued l>ut may be nonlinear and time
dependent.
The equation (1) is written as

... (2)

The constant ooij may be determined from the equation (1) itself or m~y have to chosen
from other information. Once again it is convenient to introduce the definitions 1 = °'o t
dx .
an d v = dt so as to give,

ooij vdx+
dv ooij x+(f(v,x,,t)-Cl>(jx) , 0 ... (3)

dv _Ix+ ll(v, x, 1)1


or .•. (4)
dx v

1
where li(v, x, t) x, t)-x ... (5)
2f(v,
(l1j

·' Equation (4) is similar to that one used for the case of isocline method. Because of the
. Jay, in which it is set up, the S method is most immediately applicable to the equations
with oscillatory solutions, although it is not limited to this class of equation. Function o of
equation (5) depends upon v, x and 1 but it is assumed constant for small changes in these
variables. Under this assumption, the variables ol equation (4) can be separated and
integrated to give,

v2 +(x+5)2 = constant= R2 (say) ... (6)

Equation (6) represents a circle of radius R and centre at (-ll, 0). Thus for a suitable
increment, the solution curve is the arc of a circle having these properties. The construction
Modem Control Theory : I ·28 Phase Plana Method

is shown in Fig. 8.21 where [x(O), v(O)) represents a point on the solutiof\ curve at the time
1(0). These values used in equation (S) allow the ~kulatlon. of 6. This values of 6
determines the centre of the drcular arc located on the x-axis. The radius R Is
1utomatically fixed. A short drcular arc represents • portion of 10lulion curve. Actually it
is more accurate to use the average values of v, x, 't for that Increment. Again, the
allowable length of the arc is a rompromiae.

Fig. 8.27
Examples with Solutions

,,_. Example 8.2 : A linear secottd order snw is described by tht! equation
C+2l;w0 C+w~C = 0 where i; = 0.15, ~ = 1 rod/sec, CCO) = 1.5 and C ~ 0. Determine the
singular point. Construct the phase trajectory, using the method of isoclines
CVTU: July/Aug.·2006)
Solution : Consider the equation

C+21;w0 C+w~C = 0

Given !;= 0.15, W0 = 1, C (0) = 1.5, C = 0

c+2(o.15H1>c+12c o

C+0.3 C+C 0

Taking Laplace transform,


s2Qs1+0.35 Qs)+C(s) = 0
(s2 +0.35+1] C(s) 0

Consider s2+0.35+1 0

-0.3±Jco.3)2 -4{t)(J) -0.3±i(t ·9mJ


2 = 2

-0.15±j0·9886
Modem Control Theory 8 ·29 Phase Plane Method

The roots arc complex conjugate and located in left half of s plane. In time domain the
response will be underdampcd consisting of oscillations and the singular point is thus
sta bel focus.
Consider again the differential equation
d2qt) +0.3 dQt) +Qt) 0
dt2 dt
.
. .
Let

:. XI = Qt) = X2,
X] = C(t),

X2 = Qt) = -
X2 "' Qt)
.
C(t) - 0.3 C(t) " -X1~.3X2

m
dx21 = dx2fdt = -x1 -0.3x2
dx , dx1/dt x2
-X1~-3X2
-x,
-[m~o.3]x1
The above equation is an equation of isocline.
At initial point (1.5,0)

0 --1-(1-5)
m+0.3
m -0.3-- = --
Due to this trajectory moves downwards
Using the method of isocline, the phase portrait can be drawn as shown in the
Fig.8.28
Considering various values of m

m Isocline equation 9=tan-1m

1 •2 = - 0.7692 ., 45'

5 xz. - 0.1886 ., 78.69'

10 •2 =- 0.0970 •1 84.28°

-
-1
•2.
Xz =
0

1.4285 .,
90-

-45'
-5 •2 • 0.2127 "' -78.69'

-10 Xz = 0.1030 X1 - 84.28'

- •2 c 0 -90'
Modem Control Theory 8 ·32 PhasePlane Method

ii) Consider, y + 3 y+ 2y
.
The type of singular point obtained is stable focus .

=0
Let the state variables be x 1 = y and x2 = y
.
. . .
The corresponding state model is

x1 =y=x2; x2 = y=-3x2-2x1

Eliminating the time variable,

The characteristic equation is given by,

s2+3s+2 0
(s+2)(s+l) 0

-2; s = -1
We have, y1 =-I and y2 = - 2

t
j(J)

x, =y

(a) (b)

Fig. 8.30
The nature of phase trajectory is as shown in the Fig. 8.30 and the type of singular
point obtained is stable node.
The response in this case is given by y(t) = C1e111 +C2el21• The transient term eY2•
decays at faster rate than cl1'. As time t ~ -, x1 ~ C1cYJ1 ~ O; x2 = y1c111 ~ 0. The

singular point node obtained in this case (0, 0) is stable in (y, y) plane.
Modem Control Theory 8-33 Phase Plane Method

Iii) Consider,
.
y + 3 y - 10 =0
Let the state variables be x1 = y ; x2 = y

The corresponding state model Is,

X2
.
Y =-3y+10=-3X2.,_JQ

Eliminating the time variable


dx2 -3x2+10
di<";" : X2

The .characteristic equation is given by,

s2+3s-10 0
s2 +Ss-2s-10 0

s(s+5)-2(s+5) 0
(s + 5) (s - 2) 0
Y1 = -5; Y2 = 2

There are two roots one positive and one negative. The singular point obtained in this
case is called saddle point. The slopes of the two straight line trajectories with slopes
dependent on root values. The nature of phase trajectory Is shown In the Fig. 8.31.

v, =-5 x, =y

Fig. 8.31
Modem Control Theory 8. 35 Phase Plane Method

Fig 8.32
C I M
Modem Control Theory 8 ·36 Phase Plane Method

m lsoclino equation O=tan-1 m

1 Y2 • - 0.825y1 45•
2 Y2 • - 0.3846y1 63.43°
5 Y2 c - 0.1785 Y1 78.69°
10 Y2 • - 0.0943y1 84.28°
M
Y2 • 0 90"
_, Y2 • 2.5y1 -45'
-2 Y2 • 0.7142Y1 -63.43"

-5 Y2 • 0.2272Y1 -78.69"
-10 Y2 • 0.1063y1 -84.28°

- Y2 • 0 -90'

The phase-plane plot is shown in the Fig. 8.32.(See Fig. 8.32. on previous page)

i• Example 8.5 : Draw IM phase-plane trajtctoryfor lht following equation using isocline
method : '.;+2!;(1);+w2x=O Given, 1;=·0.5, w2 l, Initial point (0, 6)
(VTU: JanJ Feb.-2007)

Solution: Consider the equation

'x"+21:,(1)11 ;+~x = 0

Given that I:, = 0.5, Ci>n = 1 , x = 6, ~: =0

x+ x+x 0
Let Yt x

Y2 = x

Yt x = Y2 ; y 2 = x = -x - x = -y2 -y I
dy 2 dy ifdt -y l - )' 2
m ~ = dyifdt = _y_2_
Modem Control Theory 8 .37 Phase Plane Method

(m+l)y2

Y2

The above equation is an equation of isocline.

m+t = _l'..J.
Y2

m = _l'..J._1
Y2
ll t initial point (6, 0).

:. The trajectory moves downwards


Using the method of isocline, the phase portrait can be drawn considering various
values of m.

m Isocline equation O· tan-1m

1 Y2 =- 0.5 Y1 45°

2 Y2 =- 0.33 Y1 63.430

5 Y2 =- 0.166 Y1 78.69"

10 Y2 • - 0.090 Y1 84.28'

~ Y2 =0 90'

-2 Y2 = 1Y1 -45°

-5 Y2 • 0.25 Y1 -63,43'

-10 Y2 = 0.1111 Y1 -78.69"

-20 Y2 = 0.0526 Y1 ~.28'

- Y2 = 0 -90"

The phase-plane plot is as shown in the Fig. 8.33.


Modem Control Theory 8. 38 Phase Plane Method

Fig. 8.33
(8. 40)
Liapunov's Stability Analysis

9.1 Introduction

.
11'e state equation for a general time invariant system has the form x = f [x, u). If the
input u is constant then the equation will have form x = F(x). For this system, the points,
at which derivetives of all state variables arc zero, arc the singular points. These singular
point' are nothing but equilibrium points where the system stays if it is undisturbed when
the system is placed at these points.
The stability of such a system is defined in two different ways. If the input to the
system is zero with arbitrary initial conditions, the resulting trajectory in phase-plane,
discussed in earlier chapter, tends towards the equilibrium state.
If U1e input to the system is provided then the stability is defined as for bounded
input, the system output is also bounded.
For linear systems with non-zero eigen values, there is only one equllibrium state and
the behaviour of such systems about this equilibrium state totally determines the
qualitative behaviour in the entire state space.
In cruse of nonlinear systems, the behaviour for small deviations about the equilibrium
point is different from that for large deviations. Hence local stability for such systems does
not indicate the overall stability in the state space. Also the non-linear systems having
multiple equilibrium states, the trajectories move from one equilibrium point and tend to
other with time. Thus stability in case of non-linear system is always referred to
equilibrium slate instead of global term stability which is the total stability of the system.
Jn case of linear control systems, many of the stability criteria such as Routh's stability
test. Nyquist stability criterion etc. arc available. But these cannot be applied for non-linear
systems.
The second method of Liapunov which is also called direct method of Liapunov is the
most common method for obtaining the stability of non-linear systems. nus method is
equally applicable to time varying systems. stability analysis of linear, time in variant
systems and for solving quadratic optimal control problem.

(9 • 1)
Modem Control Theory 9·2 Llapunov's Stability Analysis

9.2 Stability in the Sense of Llapunov


.
Consider a system defined by the state equation x = f(x, t). Let us assume that this
system has a unique solution starting at the given initial condition. Let us consider this
solution as F(t : Xe- 10) where x = x0 at t = lo and t is the observed time.

F(t0 : xo- to) = Xo

If we consider a state x., for system with equation ; =


f (x, t) in such a way that
((•,~ ti e. 0 for all t then this x0 is called equilibrium state. For linear, time invariant
systems having A non-singular, there is only one equilibrium state while there are one or
more equilibrium states if A is singular.
In case of non-linear systems as we have seen previously there are more than one
equilibrium slates. The isolated equilibrium states that is isolated from each other can be
shifted lo origin i.e, f(O, l) = 0 by properly shifting the coordinates. TilCSC equihbrium
stales can be obtained from the solution oi equation f(x,,,. t) = 0.
Now we will consider the stab!Uty analysis of equilibrium states at the origin. We "ill
consider a spherical region of radius R about an equilibrium state x., such that

!Ix - Xe :J S R
U x - xc II is called Euclidean norm and is defined as

II x- •.II = [x1 - x1J2 + (x2 - x'k)1+ ... (X,, -x,,il2


Let S(o) consists of all points such that 11 "o - x. II S Ii and let S(E) conststs of all points
such that II F (t : ><o-lo) - x, II S E for all t ~ lo-

Any equilibrium state x0 of the system ; =


f(x, t) is said lo be stable in the sense of
Liapunov if corresponding to each S(t) there is S(~ such that trajectories starting in S(li) do
not leave S(E) as time t Increases indefinitely. The real number I) depends on E and in
general also depends on lo· If Ii does not depend on to- the equilibrium state is said to be
uniformly stable.
The region S(e) must be selected first and for each S(c), there must be a region S(ll) in
such a way that the trajectories starting within S(o5) do not leave S(e) as time t progresses.
There arc many types of stability definitions such as asymptotic stability, asymptotic
stability in large. We will also see the definition of instability along with definitions of
these types of stability.
Modem Control Theory 9.3 Liapunov'sStabilityAnalysis

9.3 Asymptotic Stability


An equilibrium state xe is said to be asymptotically stable if it is stable in the sense of
Liapunov and every solution starting within S(o) converges without leaving S(t) to x, as t
increases indefinitely.
The asymptotic stability is more important than mere stability. The asymptotic stability
is a local stability. Hence establishing asymptotic stability does not indicate the proper
operation of the system. The size of the largest region of the asymptotic stability is
required. This region is called domain of attraction which is part of state space where
asymptotically stable trajectories originate.

9.4 Asymptotic Stability in the Large


I( the asymptotic stability holds for all states that is all points in state space, from
which trajectories originate, the equilibrium state is said to be asymptotically stable in the
large. Alternatively we can say that the system is asymptotically stable in the large if it is
asymptotically stable for every initial state regardless of how near or how far it is from the
origin.
The equilibrium state Xe of the system is said to be asymptotically stable in the large if
it is stable and if every solution converges to x0 as t increases indefinitely. The necessary
condition for asymptotic stability is to be determined which is normally different.
Practically it stability in large is that there must be one equilibrium state in the whole state
space.
In control system problems, asymptotic stability in large is required in the absence of
which, the largest region of asymptotic stability is to be determined which is normally
difficult. Practically, it is sufficient to get a region of asymptotic stability large enough so
that no disturbance will exceed it.

9.5 Instability
An equilibrium state "• is said lo be unstable if for some real number E > 0 and any
real number Ii > 0, irrespective of how small it is, there is always a state "o in S(o) such
that the trajectory starting at this slates leaves S(e).

9.6 Graphlcal Representation


The graphical representation of stability, asymptotic stability and instability is shown
in the Fig. 9.1 (a), (b) and (c) respectively.
The region S(o) is binding the initial state "o and the region S(E) corresponds to the
boundary for the trajectory starting at "o· The correct region of allowable initial conditions
are not specified for the definitions of stability that we have seen previously. Thus these
Modem Control Theory 9-4 Llapunov's Stability Analysls

definitions apply to the neighbourhood of the equilibrium slate only if S(I'.) is not
corresponding to the entire state plane.

S{t) S(t)

S(6) S(6)

(a) Stablllty (b) Asymptotic stablllty (c) tnstablllty

Flg. 9.1
In Fig. 9.1 (c), the trajectory is leaving S(E) and shows that the equilibrium state is
unstable. It can not be stated that the trajectory will go to infinity as it may approach a
limit cycle outside the region S(e). In case of linear, time invariant system if it is unstable
trajectories starting near the unstable equilibrium state will go to infinity which is not
necessarily true in case of non linear systems.
The definitions of stability that we have seen so for are not the only ones defining the
stability or equilibrium state. There arc other ways of defining st4bility also. In classical
control theory, the systems which arc asymptotically stable are called stable systems and
those which are stable in the sense or Liapunov but are not asymptotically stable are called
unstable.

9.7 Some Important Definitions


· In this section WC will consider some important definitions which are useful in
understanding Liapunov's stability criterion.

9.7.1 Positive Definiteness


A scalar function F(x) is said to be positive definite in a particular region which
includes the origin of state space if F(x) > 0 for all non-zero states x in that region and
F(O)" 0.
e.g. F(x) " xi +2x~

9.7.2 Negative Definiteness


A scalar function F(x) is said to be negative definite if - F(x) is positive definite.
e.g. F(x) = - xf-(3x 1 +2x2)2
Modem Control Theory 9.5 Liapunov's Stabllity Analysis

9.7.3 Positive Semidefiniteness


A scalar function F(x) is said to be positive semidefinite if it is positive at all states in
the particular region except al the origin and at certain other states where it is zero.
e.g.

9.7.4 Negative Semidefinite


A scalar function F(x) is said to be negative semidefinite if - F(x) is positive
semidefinite.

9.7.5 Indefiniteness
A scalar function F(x) is said to be indefinite in the particular region if it assumes both
positive and negative values irrespective how small the region is
e.g.

9.8 Quadratic Form


A class of scalar functions which plays important role in the stability analysis based on
Liapunov's second method is the quadratic form.

e.g.

P is real symmetric matrix and x is a real vector.

9.9 Hennltian Fonn


If x is a complex n vector and P is a Hermitian matrix then the complex quadratic
form is called Hermitian form.

e.g. F(x)

The stability analysis in state space the Hermitian form is commonly used than the
quadratic from as it is more general. The positive definiteness of the quadratic form or
Hermitian form F(x) can be determined by Sylvester's criterion which states the necessary
and sufficient conditions for quadratic or Hermitian form to be positive definite is
Modem Control Theory 9-6 Liapunov's Stability Analysis

F(x) = x" Px is positive semidefinite ii P is singular and all the principle minors arc
non-negative.
F(x) is negative definite if - F(x) is positive definite. Similarly F(x) is negative
semidefinite if - F(x) is positive semidefinite.

9.10 Liapunov's Second Method


A system which is vibrating is stable lf Its total energy is continuously decreasing. This
indicates that the time derivative o( the total cneri,>y must be negative. The energy is
decreased till an equilibrium state is reached. The total energy ts a positive definite
function.
This foct obtained from classical mechanics theory is generalised in Liapunov's second
method. If the system has an asymptotically stable equilibrium state then the stored t'nergy
decays with increase in time till it attains minimum value at the equilibrium stale.
But there is no simple way for defining an energy function. For purely mathematical
system. This difficulty was overcome as Uapunov introduced Liapunov function method
which is fictitious energy function.

Llapunov functions depend on x1, x1, ... xn and I. It is given as F(x1, x2, .•• Xn• t) or as
F(x, t). In Liapunov's second method, the sign behaviour of F(x, t) and its time derivative
F(x, t) " dF(x, t)/dt gives us information about stability, asymptotic stabil.ity or instability
of an equilibrium state without requiring to solve the equations directly to get the solution.

9.11 Llapunov's Stability Theorem


Consider a scalar (unction V(x), where x is n vector and is positive definite, then the
=
states x that satisfy V(x) C, where C is a positive constant, lie on a closed hyper surface
in n dimensional stale space at least in the neighbourhood of origin. This is shown in the
Fig. 9.2.
If V(x) is a positive definite function obtained for a given system such that its time
derivative taken along the trajectory is always negative then V(x) becomes smaller and
smaller In terms o( C and finally reduced to zero as x reduces to zero. This indicates
asymptotic stability of the origin. Liapunov's main stability theorem is based on this and
gives a sufficient condition for asymptotic stability.
Modem Control Theory 9-7 Liapunov's Stability Analysis

Llapunov's stability theorem is as given


below.

. Consider a system described by equation


=
x = f(x, t) where f(o, t) 0 for all t, If there
exists a scalar function V(x, t) having
continuous first partial derivatives and
satisfying the conditions such as V(x, t) is
positive definite and V(x, t) is negative
definite then the equilibrium state at the
origin is uniformly asymptotically stable. lf
Vincrease V(x, t) -+ oo as II x II -+ oo where II x II is
norm of x, then the equillbrium state at the
origin is uniformly asymptotically stable in
Fig. 9.2 the large.
The above theorem is a basic theorem of

Consider the system described by x


.=
second method. The theorem 2 is stated below .

f(x, t) where f (0, t) = 0 for all t <! 'o· lf there

. .
exists a scalar function V{x, t) having continuous first partial derivatives and V(x, t) is
positive definite, V (x, t) is negative semidefinite V (o (t : "& to), I) does not vanish
Identically in t <! 'o for any to and any "o ~ 0 where o (t : xo- to) denotes or indicates the
solution starting from "o at to then the equilibrium slate at origin of the system is
uniformly asymptotically stable in the large.
The equilibrium state at origin is unstable when there exists a scalar function U(x, t)

.
having continuous, first partial derivatives and satisfying the conditions U {x, t) is positive
definite In some region about the origin and U (x, t) is positive definite in the same region.

9.12 Stability of Linear and Nonlinear Systems


1f the equilibrium state in case of linear, time invariant system is asymptotically stable
locally then it is asymptotically stable in the large. But in case of a nonlinear system. the
equilibrium state has to be asymptotically stable in the large for the state to· be locally
asymptotically stable. Hence the asymptotic stability of the equilibrium state of linear, time
invariant systems and those of nonlinear systems Is different,
lf it is required to tc~l thr. asymptotic stability of any equilibrium state for a nonlinear
system then the stability anruysis of linearised models of non-linear systems is totally
insufficient. The nonlinear systems arc to be tested without making them linearized. There
are various method based on Llapunov's second method such as Krasovskii's method
Modem Control Theory 9-8 liapunov'sStabilityAnalysis

which can be used to test sufficient conditions for asymptotic stability of nonlinear
systems.
We shall study in detail Krasovskii's method for asymptotic stability test.

9.13 Construction of Liapunov's Functions for Nonlinear Systems by


Krasovskli's Method
Liapunov's direct method is a most powerful tool available for doing the stability
analysis of nonlinear systems. The stability analysis by Liapunov's method includes
determination of a positive definite function V(x) called Liapunov's function. But
unfortunately there is no universal technique or method for selecting Liapunov's function
which will be unique for a special problem. Some of the Liapunov's function will give
better results than other functions, There are various techniques available for construction
of Liapunov's functions.
Similarly for a given function V(x), there is no general method which allows us to
confirm that the function is positive definite. But if V(x) is in the quadratic form in x1's
then Sylvester's theorem can be applied to test the positive definiteness of the function.
If it is not possible to obtain the Liapunov's function of required type then it docs not
indicate that the system is unstable. The theorems that we have seen so far just provides
sufficient conditions for stability. The indication from the fact that Liapunov's function of
required type is not obtained is that the attempt to establish the stability of the system is
failed.
Krasovskii's method gives a sufficient condition for the equilibrium state to be
asymptotically stable.

Consider the system described by following equation. x = f(x); f(O) = 0. The origin is a
singular point.
Lei us consider Liapunov's function as,
V = fT Pf

Herc P is a symmetric positive definite matrix.

Now, v
(If ax_ JI
~·Ti-
Modem Control Theory 9-9 Llapunov's Stability Analysls

I is called Jacobian Matrix given by


ar, i)f, ilf1
";ix1 ~ ilx,.
i1f2 i)f2 i)f2

~ CJx;- ~

.
Substituting ( in expression for V we have,
.
V fT JT pf + fT PJf

= (T (IT P +PI) f

Let Q
As V is positive definite, for the system to be asymptotically stable, Q should be
negative definite. If in addition V(x) is tending to infinity as norm of x tends to infinity
(II x II~-) the system is asymptotically stable in the large.
Alternatively if Liapunov function is taken as
V(x) a fT(x) . f(x)

J(x) is the [acobian Matrix given earlier


ilf1 i)(l ilf1
rx;- ~ ()7;
ilf2 ilf2 ilf2
l(x) ()~I ()~2 ~:
--
i)(

<IX1
n i)fn
";ix2
iJf,,
;rx;; -
I
() f(xl Clx •
We have f (x) "'"Tx di = l(x) x ee l(x) . f(x)

Now we have, V (x) = f~ (x) · f(x) + fT(x) · (x) i = [ J(x) · f(x)IT f(x) + fT (x) · )(x) · f(x)

fT(x) · f (x) · f(x) + (T (x) · I(x) · f(x)


{f(x) ( JT(x) + J(x)] f(x)
Modem Control Theory 9·10 Llapunov'sStabilityAnalysis

Let j(x) : JT (x) + J(x). lf j(x) is negative definite then Vex) will also be negative
definite. Therefore V(x) is Liapunov function and the origin is asymptotically stable.
If V(x) is tending to infinity as I! x II -1 - then the equilibrium state is asymptotically
stable in large.
The Krasovskii's theorem is different from the normal lincari:zation technique. It is not
limited to small departures from the equilibrium stale. The Liapunov function V(x) and
V(x) arc expressed interms of f(x) or ~ rather than in terms of x, Krasovskii method gives
sufficient condition for asymptotic stability of non-linear systems and necessary and
sufficient condition in case of linear systems.
An equilibrium state of a non-linear system may be stable even if the conditions stated
above are not satisfied. So comments on stability of non-linear systems cannot be vigoursly
made by applying this method.
Let us have an illustration of Krasovskii's method consider a second order non-linear
system described by following equations

X:z x1 + bx2
Let us consider that g1(0) = g2(0) = 0 and g1 (x1) and g2("2) arc real and differentiable.
We will also assume that
lg1 (x1) + g2 {x2)J2 + (x1 + bxiJ2 -> ec as II x II -1 -

.
Now we will obtain the sufficient conditions for asymptotic stability of the equilibrium
slate x = 0 f1 = x, = f (x,) • g, (x1) + 112 {x2)

f2 = "2 = f(xi) = x1 + bx2


Let J(x) be the Jacobian matrix given as

J(x) * ~1=1
~
ox,
iJf2
UX2
0~1 [:,(x,)+g7(X7)]
a;;-!x1 +bx2)
I

[g'1~X1) gl~2)]

iJg,(x,) d '( .\ iJg2(X2)


Here ax;- an S2 xv = ~

Now we have, J(x) jf {x) + J(x)


Modern Control Theory 9 -11 Llapunov's Stability Analysis

[:~::~~ ~Hg'1;x1) s2~2>J


g] lx1l+s'1 (x1) 1+g'.zC•2 )]
[ g'ztx2)+ I b+ b

By Krasovskii's theorem if i(x) is negative definite then the equilibrium state x "' O of
the system considered is asymptotically stable in the large.
Hence if g'1(~1) < 0 for all x1"/.0 and 4b g'1(x1)- [1 + s2(x2))2 > 0 for all Xt "/. 0, x2 7' 0
then the equilibrium state at x : 0 is asymptotically stable in the large. This two conditions
arc sufficient for asymptotic stability.

9.14 The Direct Method of Liapunov and the Linear System


For linear systems, Liapunov's direct method proves to be a simple method for
stability analysis, Use of Liapunov's method for linear systems is helpful in extending the
thinking towards nonlinear systems.
Consider linear system described by state equation

x = Ax
The linear system described by above equation is asymptotica.lly stable in the large at
the origin if and only if for any symmetric, positive definite matrix Q there exists a
symmetric positive definite matrix r which is the unique solution A Tp + PA = - Q.
The proof of above theorem can be given. For this we will assume the symmetric
positive definite matrix P exists which is the unique solution of the equation V(x) xT Px. =
Consider the scalar function, V(x) = x1 Px
Herc V(x) > 0 for x 7' 0 and V(O) =0
We have, V(x)
.
V(x) A{x)1 Px + x1 PA x
x1 (ATP+ PA) x
-XT Qx
.
As Q is positive definite, V(x) is negative definite
Modern Control Theory 9 ·12 Llapunov'sStabilityAnalysis

Let norm of x define as


II x II (xT Px)l/2

V(x) II x 112

V(x) --> - as II x II --> ee


The system is therefore asymptotically stable in the large at the origin. The result is
also necessary. To prove this, assume that the system is asymptotically stable and P is
negative definite.
V(x) xT Px

V(x) -[~1Px+xrp;)
-( - XT Qx)

XT Qx > 0

This is the contradiction as V(x) =


xTPx satisfies instability theorem. Hence the
conditions for the positive definiteness of P arc necessary and sufficient for asymptotic
stability of the system.
The Liapunov's direct method applied to linear time invariant systems is same as the
Hurwitz stability criterion.

Examples with Solutions

n• Example 9.1 : Show that tlze following q1111draticform is positive definite

V(x) = Sx~ +xi +4x~ +2X1X2 -4.l'1:t3 -2x2:t3

Solution : The above given V(s) can be written as

V(x) = XT p x = [x1 X2 X3J l


rs
1 J
-2 -1
1 -2]
4
1
-J [xXz
x3
l
Applying Sylvester's criterion we have,

8 > O;I~ ~I= 7>0;1~-2 1I -21


-I = 20 > 0
-1 4
As o.11 the successive principal minors of the matrix P arc positive, V(x) is positive
definite.
Modem Control Thoory 9 -13 Liapunov's Stability Analysis

'"* Example 9.2 : Determine tire stability of a non-linear system governed by tire eouations

X2 =- X2
Solution : Let us select the Llapunov's function to be V =xi +x~

We have, xf +x~
i)V dx , i)V dx2
Fx";.. dt + dXz". dt
i)V i)V
Now,
~ 2x1; dXz" = 2x2
dxt • 2
dt Xt = - XI + 2Xl X2

dx2
dt X2=-X2

Substituting,
dV
dt
- 2xi (1 - 2 x1 xv - 2x~
Thus ~y is negative definite if 1 - 2x1 x2 > 0. Thus Liapunov's criterion is satisfied
and hence the origin of the system is asymptotically stable.
11* Example 9.3 : Determine the stab;Jity of tire system described by tire followingequation

.
x=Ax;A= [-1 1]
-2 -4

Solution : To check the stability of the system described by equation ~ =


Ax we will solve
the equation ATP+ PA= - Q where for any symmetric, positive definite matrix Q. there
exists a symmetric positive definite matrix P.
We can find out matrix P for any arbitrary choice of positive, definite real symmetric
matrix Q. Let us select Q = I, where l is identity matrix
ATP+PA -Q
Let p = [Pn P12 l
P21 P22 J
Modem Control Theory 9 ·14 Liapunov's StabilityAnalysis

-1
[ 0 -1
o]

But P is symmetric matrix ., P12 = P21

:.[ -2p11-4P12 r11-Sr12-2Pn]=[-1 OJ


P11 -5P12 -2P22 2P12 -Sp~2 0 -1

-2 P11 - 4 P12 - 1

P11 - 5 P12 - 2 P22 0


2p12 - 5 P22 - I
Solving the three equations using Cramer's rule,
1-2 -I OI =-2(25+4)+~(-5)
['. = 11 -5 -2 =-2(29)- 20 = -78
0 2 -5

-~ ~~ 01
=-1(25+4)+4(0-2)
-2 =-29-8
I -1 2 -5 =-37

1-2 -1 01=-2(0-2)+1(-5)
1 0 -2 =4-5=-1
I 0 -1 -5

-~ ~ -~1 rt-2(5)+4-1(2)
=-10-4-2
I 0 2 -1 =-16

Pu
6Pt2 -1 1
P12 Pit = -ll- = -78 = 78
Modem Control Theory 9·15 Liapunov's Stability Analysis

Using Sylvester's criterion it can be seen U1J1l P is positive definite. Therefore origin of
the sytcm under consideration is asymptotically stable in the large.
i• Example 9. 4 : Use Krasouskii's theorem to show that the equilibrium state x = 0 of tllr
system describedIn;
.
x1 = - 3 X1 + X2

x1 = x1 - x2 - xl
is asymptotically stable in the large. (VTU: Jan./Feb.-2005)

Solution : We have, ;I : 1, (x) = - 3x1 + X2

~ = f2(x) = x1 - x2 - xi

The Jacobian matrix is given by

a12 ar, ,
1 ; ~=-1-3xi
~ 2

(-3 1 ]
1 -1-3x~

Let Q )TP ... PJ

Let p [Pn P21


P12]~[1
P22 0
~]be identity matrix

Q 1 ][I OJ [I 0 ][-3
[~3 -1-3x~ 1 ]
0 1 +0 l 1 -1-3xi

Q I ] [-3
[~3 -l-3xi l ] [~ 2 ]
+ 1 -l-3x~ = 2 -2-6x~
Modem Control Theory 9·16 Llapunov's Stability Analysis

For system to be asymptotically stable Q must be negative definite i.e. - Q must be


positive definite

2 ] [ 6 -2 ]
-Q = - [-{>2 -2-6"i = -2 2+6x~

Using Sylvester's criterion, 6 > 0 and 12 + 36 x~ - 4 > 0 i.e, 12 (1 + 3x~) > 4 then the
equilibrium state x = 0 is asymptotically stable in the large.
,,... Example 9.5 : lnwstigate th« stability of the follmving no11-/i11erar sysl<!m using direct
method of Liaupnov.


Xz = - X1 - Xl2 X2 (VTU: July /Aug.· 2005,J•nJFeb.-2005)

Solution : Given that ~1 = "2• ~2 = - x1 - x~ x2


Let the Uapunov function be, V = x~ + xi
.
V
.
2 XI XI + 2 X2 "z
.
2 Xl "2 + 2 X2 (- Xl - X~ X2)

2x1 X2 - 2x1 X2 - 2 xf x~

- 2 xi xi

It ran be seen that V < 0 for all non-zero values of x1 and x2. Hence the function is
negative definite. Therefore the origin of the system is asymptotically stable in large.

"* Example 9.6 : A smmd order systmi is reprtsnrttd by

·
x=AxwhereA= [o 1]
-1 -I

Assuming matrix Q to bt identity matrix, solo« for matrix P in the equation


ATP+ PA= - Q. Use Liapunov theorem a11d detemrint the stability of tire origin of the
system. Write th« Liapunou function V(x). (VTU: July/Aug.·2005, JanJFeb.-2007)

Solution : ; = Ax

Let p
[P11 P12}
P21 P22
Q-[' - 0
CJ1

/
Modem Control Theory 9 ·17 Uapunov's Stability Analysis

- 2 P12 -1 :. P12 = + 1/2


I
P11 - P12 - P22 0 :. Pn - P22 = P12 = 2
I
2 (P12 - Pn) -1 :. P12 - P22 =- 2
I 1 l
P22 P12 + 2 = 2 + 2 = 1

1 3
P11 P12 + Pzz = 2 + 1 = 2

' [! '.]
Using Sylvester's criterion, P can be tested for positive definiteness

• P is positive definite. Hence the equilibrium state at origin is asymptotically stable in


the large. The Liapunov's function is

V(•) • .'p >" ('> '>I [f '.] [:;]


V(x)
Modem Control Theory 9·18 Llapunov's Stability Analysis

''* Example 9. 7 : A system is describtd by tM following equation : (VT\J: Jan/Feb.· 2008)

;=Ax Where A=[ ~I ~}


Ass1m1i11g matrix Q to be the ide11tify matrix, sol!.lf! for matrix P and commmt 011 the
stability of the system using the equation ATP + PA = -Q.

Solution : To check the stability of the system described by equation x =Ax. We will solve
the equation, /\ T P+ PA =-Q where for any symmetric, positive definite matrix Q, there
exists a symmetric, positive definite matrix Q, there exists a symmetric positive definite
matrix P.
We can find out matrix P for any arbitrary choice of positive, definite, real symmetric
matrix Q. Let us select Q = I. where I is Identity matrix.
A TP+PA =-Q.

Let p = [Pn
P21
P12]
P22

A = [-1 -2]
I -I , AT=[=~ ~]

But Pis symmetric matrix :.p12 =p21

-2pu +P12 +P21 -2p11 -5p12 +P22 ]=[-I 0]


[-2p11 -Sp12 + P22 -2p12 -2P21 ··Sp22 0 -1

-2p11+P12+P21 -1
-2p11 -SP12 +r22 0
-2P12 -2r21 -8P22 -1
Solving these three equations using Cramer's rule
Modem Control Theory 9 -19 Llapunov's Stability Analysis

1 =-lliQ+fl-1(16+ ~+ 1(4-10)
6 = [-2
-2 -5
-2 -2 is] =-2(42)-18-6
=-84-18-6=-108

[-I =-1(~0+ ~::!{.!)+ 1(-5)


6p II = 0
-1
-5
-2 is] =-80-1-5 =-86

-1 !fn
[-2 =-2(0+ 1) +!.{!§_+~+
"'Pu = -2 0
-2 -1 ~sl =-2+11i+2
ill

[-2
6p22 = -2 -5
-2 -2 -1
~I] =-?:.{5!-1(2)-1(4-10)
=-10-2+6=-6

tipll -86 86
P11 -6- = -108 108
6P12 1.8
P12 P21 -ti- = -108
6P22 -6 6
-ti- = -108 108

86 -18]
p - 108 106
[ -18 6
108 108

Using Sylvester's criterion, it can be seen that P is positive definite. Therefore origin of
the system under consideration is asymptotically stable in the large.
.. • ,3
>m+ Example !Lii ; Consider lire system willr differential equalio11 c +kc+ k 1 c + ( = 0. Examine
Lite stability by Uapu110t•'s met/rad, gi1Je11 tlrat k > 0 and k1 > 0.
CVTU: July/Aug.-2007)

Solution: Consider the given equation,


- • .J
c+ kc +k1 e +c=O,k > 0, k1 > 0

Let e

">

M
..
Modom Control Thoory 9. 20 Liapunov's StabilityAnalysis

As there is no specific procedure for selecting Liapunov's function but it has to be


selected from experience. Let us select f = x~ + x}ns Liapunov's function

df
dt

The above equation is negative semidefinite and hence the system is stable.

I»* Example 9.9 : Exami11e the stability of ti~ system d~cribed lly tlte foll1r.ui11g equation by
Krasovaskii's theorem.
XI= -X1

X2 = X1 -X2 -X~ (VTU: July/Aug.·2007!


Solution:

We have,

The Jacobian matrix is given by,

r~l
L
()
-1-3x~
]
Let Q )T P+P)

Let p [P11 P12 ]=[1 ~] be identity matrix


P21 P22 0
Q [~l 1
-1-3x~
][' OJ r
0][-1
0 1 + 0 1 1
0
-1-:Jx~
}

r-1 I ] [-1 0 ]
= [-21 l ]
LO -1-3x~ + 1 -1-3x~ -2-6x~
Modem Control Theory 9 ·21 Llapunov's Stability Analysis

-2 1 ]
Q = [ 1 -2(1+3xn

For system to be asymptotically stable Q must be negative definite i.e. - Q must be


positive definite.

-2 1 ] [2 -1 ]
- Q = -[ 1 -2(1+3xl) = -1 2(1+3xn

Using Sylvester's criterion, 2>0 and 4+ 12x~ -1 >0 i.e. 4+12xi > 1 i.e. 4(1+3xD > l
then equilibrium state x = 0 is asymptotically stable in the large.

,,_. Example 9.10 : Deiereminewlitthu or not fall<nVing quadraticfonn is positive definite :


(VTU: JanJFcb.-2007)

Solution : Consider the given equation

Q(x,,x2) = lOxi +4xi +x~ +2X1X2 -2X2X3 -4X1X3

Consider,

= P11Xi +p22xi +p33x3 +2P12X1X2 +2p23x2X3 +2p13X1x3

Equating coefficients of above equation with those from given equation

P11 =10 ; P12 =4; P33=1


2P12 =2; P12=1
2p23 =-2; P23 =-1
2p13 =-4; P13 =-2
The given equation can be rewritten as,

4
-1
=~] [:~1
1 x3
Modern Control Thoory 9 ·22 Llapunov's StabllltyAnalysis

Applying Sylvester's criterion we have,

10 > 0;
1
10
1 ~I = 39 > o;
10 1 -2]
1 4 -1
[-2 -1 I

10(-1-1)-1(1-2)-2(-1+8)
30+1-14 =17 >0
As all the successive principal minors of the matrix P are positive, Q(x1,x:z) is positive
definite.

I"* Example 9.11 : Using Lyap1111ov's direct met/rod, find tire range of K lo guarani~
stability of the system slrown in the Fig. 9.3. (VfU: JanJFeb.· 2006)
Solution:

Fig. 9.3

The above diagram can be redrawn as,

~----------<Kt----------~
Fig. 9.4
'The state equations arc,
Modem Control Theory 9. 23 Liapunov's Stability Analysis

In matrix from above equations arc written as,

.
XI

X2

X3
[!
0
-1 -:][:;l
-1 X3

0
Here A
[~ -1 -:i
-1
:.AT=[~
-K
-1
0 IJ
To find the range of values of K for stability, we will solve the equation
A r P+PA =-Q.

Let us select Q

This selection of Q is valid as this docs not make xT Qx identically equal to zero
except at the origin.

-l
0
~
-1
l [::; ::: :~ l
PtJ P23 P33
+ [::;
P1;
P12
Pn
p23
:~] [~ ~1
p33 0 0 -1
-:1-[~ ~ ~1
0 0 -I

Solving the equation we get


1 -1
0
J«2-K) 2(2-K)
p l 1
0
2(2-K) 2(2-K)
-1 1 1
2(2-K) 2(2-K) (2-K)
Modem Control Theory 9 -24 Liapunov'sStabilityAnalysis

For r to be positive definite it is necessary and sufficient that


K(2-l<) >0

K>0;2-K>0,2>K
Thus for 0 < K < 2, the system is asymptotically stable.

Review Questions
1. Wrilt a note on stability in the sense of Liapunot1.
2. Define ii stability iii Asymptotic sta/lility iill Asymptotic stability in the large.
J. Shotv the graphical rrpres<t1tation of stability,a5ymplotjc stability and instability.
4. Define i) positive definitmess ii) negative definitrness iii) positive stmidefiniten<.<s iv) ntgativt
semirkfi11ittnt55vi inrkfinitmtss
5. Disc11ss Quadraticform mid Hermitian form.
6. Erplai11 Unpunov's second method and /Jap1111ov's stability theortm.
7. Write a nott 011 stability of lintJJr and nonlinear systems.
8. Write a short note on Kra5ovskli's mtlhod of constnicting Uapunov's functions for nonlinMr
systems.
9. Examine th« stability of ti~ origin of the fo/lOtving systtm

X2 - 6 XI - 5 X2
JO. Write a Liapuno»function for the system

rl ;2;, Lr-i 1] [ x, J'


J l 2 -3 •i

Dtlermi"' the stabi/ity of ti.- origin of ll1t system.


11. Determine /ht stability of the equilibriumstale of the following syslmf.

X1 - X1 - 2Xl: +2

.\'2 X1-4xz-]

12. Statt and explainLiapunoo's thtoremson


iJ Asymptotic stability ii) Global a.•ymptotic stability and iii) Instability.
13. Ust Krnsousk'ii's theorem to shaw that tht equilibrium slate x = 0 of system dtscribed by
x 1:::: - 3x1.,. x1
x2 ; >:z - x2 - x~
Modem Control Theory 9 ·25 Llapunov's StabilityAnalysis

14. Investigate tl"' stability of folluu1ing non-lineer system using direct mtthod Uap1111cro.

Xl = X2
X2=-x1-xl X2
15. A 5'QJnd ordrr system is rrprtstnted by

~=Axrvl1LrtA=f0 ']·
L -I -I

Assuming matrix Q lo be U!entity matrix, sol<>e for matrix p in the equation ATP + PA ~ - Q.
Usr Liapuno» theorem and dtlem1i11e I/it stability of tht origin of systrm. Write tilt Uapunov
func!iDn V(x).

DOD
(9. 26)
Modern Control Theory
·-= •. .........
~ Chapterwise University Questions with Answer

Jon./Feb. • 2005

July/Aug. • 2005
Jon./Feb. • 2006

July/Aug.• 2006
Jon./Feb. • 2007
July/Aug.• 2007
Jon./Feb. • 2008

(P • 1)
CD State Variable Analysis and Design

Q.1 Mention tlie diS11dlHl11tages of conr>enlionAJ amtTol lhtory and nplain how ~ art
overco= in modern control lhtory with particulilr refermce lo (i) Non·lilWlr systems
(ii) Time varying system (iii) Analysis (iv) DtSign and (11) Computerapplications.
(Ja.nJFeb.-2005,10 Marks)
Ans. : Reier section 1.1.

Q.2 Explain the concepts of state NriAbk, state and state model of 11 lirmtr system.
(JanJFeb.·2006, 6 Marb)
Ans. : Refer section 1.2.
Q.3 Define the concept of i) Stott ii) S14te variJlbles iii) Stolt space tu) State vector.
(July/Aug.-2006,Jan./Feb.-2008,6 Marks; Jan.lFeb.-2007, 10 Marks)
Ans. : Refer section 1.2.
Q.4 Compare clsissical control theory against modern control theory.
(July/Aug.·2006,4 Marks)
Ans. : · Refer section 1.1.

Q.5 Ust advantages of modern control theory over conventional controt theory.
(July/Aug.- 2007, 4 M•rla)
Ans. : Refer section l.1.2.

Q.6 Drove Ille equationof the vector model differential state equation.
(July/Aug.- 2007, 1 Maries)
Ans. : Refer section 1.3.

Q. 7 Mention tlie differences betwt't11 stalt space tedmiq11tSll1ld classicalapproach.


(Jan./Feb.-2008,6 Marks)
Ana. : Refer section i.1.

ODO

(P • 2)
Modem Control Theory p.4 State Space Representation

Q.6 Unmriu the fol/{1Wingequation in the neighbourhood of the origin.

"29 =lnn-129-3sin9+211eul2 +113


dt2
Obtain tht approximate response O(t) for u 0.02, with the system initially at
equilibrium. (JanJFcb.·2006, 6 Marlcsl
Ans.:

sin 0 .... in the neighbourhood of origin

(20)3 (20)5
20+-3-+-5-+ •29 in the neighbourhood of origin

20-30+2ueu12 +u3

cu/2 11 (11/ 2)2 (u/ 2)3


I+2+-2-!-+-3-!-+ .

d20
-0+2u ... neglecting higher order terms
dtT
d2a +9 = 2u ... lineanzed equation
dt2

X2(t) = - 0 + 2u = - X1(t) + 2u

Thus the state model is,

[~::::] ~ [~1 ~][~~~:~]+[~] u


Modem Control Theory p.5 State Space Representation

[sl-A) = s[l0 1
OJ-[o-1 ']=(s -1]
0 1 s

Adj [sl-A[
[+1s -l]T
s [s 1]s =
-I

[sI -Ar' Adj[sl-AJJ~l


Isl-A I 52 +I
:L[s/+1
2_
s2 +I
s2 +I
I
52 s+I
l
ZSR L-1{q{s)BU(s)I where U(s) = O.OZ
s

L-1 ![s~ l s :+
5 1

s +1 s
2
2

2+1
l l [~)[0.~2] =L-1 [s(~s~~)l+1 l
2

L-1 { s(~~~l)} L-1 {~+


s
Os+C}
+1 52

As2 + A + Bs2 + sC 0.04 i.e, A + 8 = 0, C = 0, A = 0.04, 8 = - 0.04.

0.04 - 0.04 cos t

0.04 - 0.04 cos I ... u = 0.02


Q, 7 Clioosi11g appropriate pliysica/ i.-oriables as slate variables, oblai11 tlu: slate model for I/re
electric circuit sliown ill Fig. 2. (JanJFeb.·2006, 8 Marks)

1 F

1 H 10 y{I)

Fig. 2

Ans. : Refer example 2.29.

M
Modern Control Theory P-6 State Space Representation

Q.8 . )'(.<) >(>+2)(.<+3)


For ll1e tmnsfcr [unction -- - = -··-·,--·-·--
R(.<) (> + 1)· {; H)

O/Jtai11 the stat« mode! 111

ii Phase oorwble canonical form


iii lordun cm1011ical form UanJFel>.-2006, 8 Marks)
Ans. : Refer example 2.30.

Q.9 l'ig. 3 s/1ows tire />lock diagrcm of a speed co11lro/ system willi slate variable feedback. Th«
driue motor ;5 mt annature controlled de motor with armnturt resistanr« R0, '1rmature
inductance L,., motor torque constant Kr, inertia referred to motor shaft /, viscous friction
coefficient referred to Ilic motor slrafl B, back emf constant Kb and tachometer K1. '111<
applied armature voltage is controlled by a llrrce phase [ull-conoerter. c, is conlrol
•a
110/tage, is armature voltage. e, is lite reference t'Oltage correspo11di11g lo the desired
speeil. Taking X 1 = rn (speed) and Xz = ia (an11alure current) tis t/11• Mak variables.
u = e, as Ifie input, and y = (O as tl1e output, derive 11 state vanable mode for the
fe<>dbnck system. Uuly/Aug.·2006, 6 Marks)

Fig. 3
Ans. : Refer example 2.31.

Q.10 For a RLC network sho11111 i11 Fig. 4, write tire stale model in matrix 11ot11tio11 cl1oosing
X1(t) = i(I) and X2(tl =
vcW where X1(1) and X2W are stale variabfrs, Vc(t) is 011tp11t,
v(t) is input. Uuly/Aug.-2006, 8 Marks)

~T
~,, :u Tl Fig. 4

Ans. Refer example 2.1..

M
Modem Control Theory p.7 State Space Representation

Q.11 For a transfer ftmction gioen l1y G(s) = -,--2--write the stalt model i11 tltt ii Phase
s·+JF+2
variable form ii) Diagonal form. (Ju.ly/Aug.-2006, 8 Mari...)
Ans. : Refer example 2.32.
Q.12 Stott tire properties of [ordan matrix, (July/Aug.·2006, 6 Marks)
Ans. : Refer section 2.3.1.

Q.13 Obtain the state space representation model for tiff follcnving electrical circuit i11 Fig. 5.
Giw11 R = I MO and C = l µI'. (JanJFeb.·2007,10 Mades)
R R

u(t) y(t)

Fig. 5
Ans. : Refer example 2.22.

Q.14
... .. .
Obtain tit;, stale space representation of the folluwing system and draw its phase variable
dillgram: Y +6 Y +II Y +6Y=6tL
(JanJFeb.· 2007, 10 Marks; Ju.ly/Aug.·2007, 6 Marks)
Ans. : Taking Laplace transform of both sides and neglecting initial conditions we get,
Y(s) 6
U(s)- s3+6s2 +lls+6·
Then refer example 2.15.
Q.15 Obtai11 the state modd of the electrical network shown in Fig. 6 selecting 'V', 'i1 ·and
·;2•as state variables and voltage across R2 and cuntnt 12 through R2 are the output
variables Y1 and ¥2. (July/Aug.·2007, 8 Marks)

Fig. 6
Ans. : Refer example 2.19 for the procedure. The direction of i1 is opposite in this
example. Thus the matrices A and B are,
.I
Modem Control Theory P-8 State Space Representation

RI
-r; 0 +-
L1 Li
R2
A 0 -I-; +...!...
L2
B = 0
1 i
-c -c: 0
0

There are two outputs,

yI Eo(tl = i2R2 = R2X2


Y2 i2 = X2

c [~ ~2]
Q.16 For tire network show11 in Fig. 7, dwosing i1(t) = X1(tl and iz(t) = X1(t} as state
uariables. obtain tlie stale eq11atio11 and output equatio11 i11 vector matrix form.

I
(JanJFeb.·2008, 8 Marks)

1 H Hl

IH
l~t)
u{t)

~------i
- i_t_)l~---~
10 1n y(t)

Fig. 7

Ans. : Refer example 2.33.


Q.17 Ob1JZi11 the stat~ model in plrase variableform and write I~ block diagramfor t/1e system
represented by, (JanJFcb.·2008, 6 Marks)
,,Jy .i2y dy
- +6-+11-+10y=311(I).
di 3 1112 dt
Ans. : Refer example 2.16.

Q.18 For tire following transferfunction obtain t~ state modtl in catwnicolform:


(JanJFeb.·2008, 8 Marla)

G(sJ = Y(s) = 6
U(s) s3 + 6s2 + lls + 6

Ans. : Refer example 2. I 5.


ODO
Matrix Algebra and Derivation
® of Transfer function

Q.1 Determine lite transfer matrixfor lite system QanJFeb.·2005, 10 Mules)

[x,x ] [-3 l][x' n 4 6]o ["'] :[YI ]=[J -1] [X1]


1
=
-2 0 X2 -5 u1 yz B 1 Xi

Ans.: Refer example 3.20.

Q.2 Find t11e transformation matrix P I/tat transforms lht matrix A into diago11al or Jordan

formwhmA= rl14 -1I -2]


I 0 2.
3 QanJfeb.·2005, 10 Marks)
Ans . : Refer example 3.15.

Q.3 What are ge11raliud eigen vectors? How are they determined?
Quly/Aug.·2005, 5 Marks)
Ans. : Refer section 3.10.
Q.4 Convert the followi11gstate model into canonicalform QulyJAug.-2005,8 Marks)

x =[~ ~]x+[~ ]11 1

Y = [1 OIX
Ans. : Refer example 3.21.

Q.5 Convert the following square matrix A into Jordan canonical form using a suitable
non-singular transformatio11 matrix P. QulyJAug.·2005, 7 Marks)

A=f~L-4 -9~ ~i
-6
Ans. : ~for example 3.22.

(P • 9)
Matrix Algebra & Derivation
Modern Control Theory p • 10 of Transfer Function

Q.6 Consider the matrix

A=[~1 -:3 -1
~i
i) Find the eigen val11es and eigen vectors of A
ii) Write tlte modal matrix
iii) Show that lite modal matrix indeed diagonalizes A. (Jan.JFeb.-2006, 12 Marks)
Ans.: Refer example 3.23.

Q.7
Given the stale model X " AX - Bu, y " CX

toher« A =[ ~
-1
~
-2 -3
~i' B = [~]
l
and C = [1 0 OJ

i) Sim11/nle and find tire transfer function ~~~ using Mason's gai11 formula.

ii) Determine the transfer f1111ctio11 from tlie state model formulation.
(JanJFeb.·2.006, 7 Marks)
Ans. : Refer example 3.24.

Q.8
ti« vector [_~] is an eigm wetor of A = [-~ ~
-I -2
~1
0
Find tire cigen value of A

corresponding to tlu vector given. (July/ Aug.·2006, 5 Marks)


Ans. : Refer example 3.25.
Q.9 Show that tlU' cliaracteristic equation and eigm Mluts of a sytem matrix art 111wariant
under linear transformation. (July/Aug.·2006, 8 Marks)
Ans. : Refer section 3.9.
Q.10 Delennine tire transferJunction of the giwn state vector differentialequation below :

[~~]=[~ ~
X3 0 -4 -5
~1[;:]+[~1]11
X3 5
(July/Aug.·2007, 8 Marks)
Matrix Algebra & Derivation
Modem Control Theory p • 12 of Transfer Function

1 s+5
(; s(s+-l)(s+l)

1 s+5 5
s - s(s+4)(s+1) + s(s+4)(s+1)

1 -s-5+5 I s
s+ s (s+-1) (s+l) = ;;- s (s+4) (s+l)

(s+4) (s+l) - s
(s+.t)(s+l) s (s+4) (s+l)

s2 +5s+4 -s s2 +4s+4
T.F. = s(s+4)(s+l) s (s+4) (s+l)

Q.11 Obtai11 eigen values, eigm vectors a11d stale model in canonical form for a system
described by the following stale model : (July/Aug.·2007, 10 Marks)

[~;:]3 = [-12
~ ~ ~]
-7 -6
[=:]
.T3
+ [~] w11d y
2
= [1 o o J [=:]
X3

Ans. : Refer example 3.14 for obtaining M. Once M is obtained find M""1 and the new

[
M= -I -4
-1 1 3
l
matrices B = M"1B and C =CM

1 2 -3.1 M""1= -3
[4.5 2.5-2 -1I } B= [6.-55}
2.5 1.5 1 4.5
C=(I 2 1].

Q.12 Obtain tht model matrix for tire matrix givt11 btlow : (JanJFcb.·2008, 4 Marks)

A-[~~ -12 -7
~1
-6

Ans. : Refer example 3.14.


Solution of State Equations

Q.1
For a o1Jslem represerrted by X = AX tire respc~ lo one set of i11itial co11diti1ms L~ X(I)
2''-41]
= [ c-1• .r initia
a11d anot I1er set oJ ... I cond.ition
' ts. X( I) = c-it]
[4c_21 . D etermine
. matix
. A and

the state transition matrix OW. (JanJFeb.-2005, 10 Marks)


Ans.: Refer example 4.19.

Q.2 Mr11tio11 ilu: ccmditions for complete controllability and complete obsavability of
conti11ous time systems. Using these, explain Ille principle of duality between
controllability and observability.
<J•nJfeb.-2005,JanJFeb,-2008 10 Morks,;July/Aug.-2007 6 Marks)
Ans.: Refer sections 4.12 and 4.13.

Q.3 Use controllability and observability matrices to determine wlretlier tlie system represented
by tlie flow grapli show11 i11 Fig. 1 is completely co11trollable and completely obstroablt.
-1

u y

Fig. 1
(JanJfeb.-2005, 10 Marks)
Ans. : Refer example 4.33.
Q.4 Given thr time i11varia11t system :

(P - 14)

M
Modern Control Theory p -15 Solution of State Equations

and 111111 11(tJ = e 1 and


y(I) = 2-nk I, find X1(1) and X2(t).
Find also XifOJ a11d X2(0). Wlmt li.1ppe11s if n = O? (JanJFcb.·2005,10 Marks!
Ans. : Refer example 4.34.

Q.S What is a stat« transition matrix ? I.isl tire properties of state transitio11 matrix.
(July/Aug.·2005, July/Aug.·2007,Jan.fcb.·2008,6 Marks; July/Aug.·2006, 5 Marks,
Jan./Feb.·2007, 10 Mari<s)
Ans. : Refer sections 4.3 ,111d 4.4.

Q.6 Gi11!'11 the stale model tif a sy~tem :

X [~ :5] X +[~]II
Y (1 OJ X

with initial condillo11s X(O) - - [!.}


Determine :
i) Tile state transition matrix.
ii) The stale trnnsitio11 equation X(t) and 011tp11t Y(t) for an 1111il step illput.

iii) lliverse state tra11sitio11 matrix. Quly/Aug.·2005, 14 Mark51


Ans. : Refer example 4.35.
Q.7 F.rp/ai11 tilt concep! of co11trollabi/ity and ob!:croabi/ity.
Quly/Aug.·2005, )uly/Aug.·2006, 6 Marksl
Ana. : Refer section 4.11.
Q.8 Determine tire controllability and observability of tire following stale model.

y ftO 5 l)X Quly/Aug.·2005, 8 Marksl


Modem Control Theory P-18 Solutionof State Equations

Ans. : Refer example 4.36.

Q.9 A system represented by following statt model is controllable but not obsnvablt. Show
t/ull tire no11-<Jbstruability is due to 11 pok-:uro ettnetllation in C/sl-Af18.

x [! :Jx +mu
-~1

Y = [1 I O]X (July/Aug.-2005, 6 M..001


Ans.: Refer example 4.37.
Q.10 List 11tleast thrte imporl11nl propenie» of th« state transition matrix.
(JanJFeb.-2006, 3 Marks)
Ans.: Refer section 4.4.
Q.11 .
Consider tlie lwmogenevus equation X = AX, wltere A is a 3 " 3 matrix. The following

[ i:: lJ' [
.-1 ,-21
_;~-21
l[ l
three solulio11 for three different initial comfitions art 111N1i111ble,

2r31
' -6~-31

i) Identify the initial conditio11s


ii) Find the stale transition matrix
iii) Hence or otherwise find the system matrix A. CJanJFeb.·2006, 10 Mulu)
Ans. : Refer example 4.38.
Q.12 Obt11i11 the time response y(I) of lite system give.. btlow by first transforming the state
model into a 'Canonical model'.

X=[ ~
-6
~
-11 -6
~1 X + [~] u, Y
2
= [1 0 OJ X

u is a unit step function and xT (0) = [O 0 2] (JanJFeb.-2006, 12 Marb)


Ans. : Refer example 4.39.
Modem Control Theory p ·18 Solution of State Equations

Q.17 Obtain the state transition matrix using :


i) l.llplace transformation method and
ii) Cayley-Ha111i/to11mtlhod.
For tire system describe by,

X(I)= [~ ~]X(O)
(JanJFeb.-2007, 10 Marks)
Ans. : Refer example 4.43.

Q.18 State the conditions for C-Ompfetely controllability and complei« o/Jser.x1bility. Determin«

•;: :"[t~ c~nrro_;•]b[i;~l+[ai1]d[ulobseniability of the SIJSlem described by,

[ ,J 4) -11 6 X3 1

(JanJFeb.·2007, 10 M3rks)
Ans. : Refer section 4.11 and example, 4.36 for the procedure. The system is completely
controllable and completely observable.
Q.19 Obtain the olJS<'rmble phas« variable slate model of
T.F. = T(s) = )'(>) = bo>3 +bis2 +bi> +b3. Draw tire signal .flow grap/1 of Tis).
U(s) >3 +•1>2 ... azs +n3 (July/Aug.·2007, 8 Marks)
Ans. : Refer example 4.46.

Q.20 Obtain the controllable phase t1ariable form of tlie transferfunction


'r.t: a Tts) = Y(sj = bo> 3 +b1>2... bzs +b3.
0(>) s3 +n1s2 +a2s+a3 Quly/Aug.·2007,6 Marks)
Ans. : Refer example 4.47.

Q.21 Compute ell• for the given matrix :


ro]
A-
1 -
6 01 ·1h- [ o
[0 6} " - -C•) 0 '
·A-
-l-(r 6l) ooJ
6 (July/Aug.-2007,6 Marks)
Modem Control Theory p ·20 Solution of State Equations

Ans. : Refer examples 4.27 and 4.28.


Q.26 Dd<•ri11111t t/w compfrtr tim1• rt'S)JOllSC of t/1r $ystrm i:1w11 /1y :

.X (I}= f[-2O ']s(t),


(I
uihrre X<O) = [1 lnnd
IJ
Y(t) =fl -l I X(IJ.
(JanJFel>.·2008, 12 Marks)

Ans. : Refer example 4.7.


Q.27 Deter111i11r tile co11trol/ability a11d obsernability 11si11K K11l111a11 's ltst for tire systn11
dtSCl'ibed by.

(J;m./Fcb.-2008, 10 Marks)

Ans. : Refer example 4.36 for the procedure and the given system is completely
controllable and observable.

DOD
Modern Control Theory P-23 Pole Placement Technique

Q.11
Omsider the systcn defined by ; = Ax + Bu, w/1ere A=[~ ~ ~]
-1 -5 -6
B"' [~.J1
l
IJy

usitrg slate feedback rontrol u a -Kx, ii is desired to /rave the c/OS<?d loop po/ts at
s =-2±j4 and s = -10. Determine tire stale fredbadc gain matrix "K" by any one
metlwd. QanJFeb.-2008,8 Marks)
Ans. : Refer example S.10

Q.12
A=[~ ~
o l rol
Consider the systtm x =Ax+ Uu a11d Y = C><. w/rerr
-6 -11
I
-6
J B = loJ'
L1
1111d C = [t 0 0 ]. Determine lite obsm.'fr gai11 matrix by the US<' of:
i) The direct substitution me/hod.
ii) Ackermann's formula.

Assume that the desired Eige11 values of tlrt obserwr gai11 matrix arc
µI =-2+j3.4641 and µ2 =-2-j3.4641, µ 3 =-S. <J•nJFeb.-2008, 8 M•rksl
Ans. : Refer example 5.11.
ODD

Q.1
Controllers

l:xplain effects of a Pl controller on the static and dynamic responseof a system.


(July/Aug.·2005, 5 Marks)
I
Ans. : Refer section 6.9.

Q.2 Consider a typical second order, type one system with u11ityfeedback, being controlled l1y
a PD controller and stun» that i) Damping increase with PD control.
(JulylAug.·2005, 4 Marks)
Ans. : Refer section 6.14.
Q.3 A temperature control system has th« block diagram given i11 Fig.1. The i11p11t signal is a
voltage a11d represents the desired temperature er Find the steady-state error of the
0/
system whm !+ is a unit step function a1ul i) D(s) = 1 i1) D(s)= I+
=
iii) Dis) 1 + 0.3 s. What is tl:e effect of the i11tegral lmn i11 lite Pl controllerand tl:t
derivative term i11 PD controller on the steady state error ? (July/Aug.·2007, 8 Marks)

O(r) 200 9
~
Plant

Fig. 1

Ans. : Refer example 6.16.


Q.4 Wl1J1t is a controller ? £xplai11 P, l, Pl and PIO controllers.
(JanJfeb.-2007, 10 Marks)
Ans. : Refer sections 6.1, 6.5, 6.6, 6.9 and 6.11

Q.5 Define controller. Explain properties of P, Pl and PIO controllers with llie help of block
diagram. (JulylAug.-2007, 8 Marks)
Ans. : Refer sections 6.1, 6.5, 6.9 and 6.11
Q.6 Deft11e co11tro/ler. Explain PD, Pl and PID coturollers. What are the advantages of PID
controller ? (JanJfeb.2008, 6 Marks)
Ans. : Refer sections 6.1, 6.10, 6.9 and 6.11
(P • 24) ono
M
jG) Nonlinear Systems I

Q.1 £xplai11 the folluwingbehaviour of 11011-lincar systems :


Iii Frequency amplitudedependence .
(ii) Multivalued responses and jump resonances. (Jan/Feb.-2005,10 Marks)
Ans. : Refer section 7.2.
Q.2 Discuss tl1e basic featuresof the followingnon-linearities
i) Non-linear friction
ii) On--0ff controllers
iii) Back lash (Jan.lFcb.-2006, 9 Marks)
Ans. : Refer sections 7.4.5 and 7.4.6.

Q.3 What are inherent nonlinearities ? Explai11 1my three of thmdJuly/Aug.-2006, 6 Marks)
Ans. : Refer section 7.4.

Q.4 Sketch the following non-linearities :


i) Ideal relay ii) Reilly with dead zone iii) Reilly with dead zone and lrystcrisis
io) Relay with hysterisis v) Dead zone. (July/Aug.-2006,4 Marks)
Ans.:

Q.5 Discuss tlte basic features of t/1t Back/as/1 non-linearities wit/1 suital>/efigures.
(July/Aug.-2007,4 Marks)
Ans. : Refer section 7.4.6.

Q.6 Explain any three non-linearities in control systems. QanJFeb.-2008,6 Marks)


Ans. : Refer section 7.4.
000

(P - 25)

Q.1
Phase Plane Method

Determine the kind of si11gularity for tJJch of the fo/1111ui11gdiffermtioleq11atio11s.


(i) y-3y+2y=O
I

(ii) y-8y+17y~34 (JanJfeJ>.·2005,10 Marks)


Ans. : Refer example 8.1.

Q.2 What is a phase 11/a11e 11/ot? Describe delta method or any other method of drawi11g phase
plane trajectories. (JanJFeb.·2005,10 Maries)
Ans. : Refer sections 8.1 and 8.5.

Q.3 Witlr rejerenc«to 11011-lineur system explain :


(i) /1111111 r.•sona11ce
(ii) Limit cycles (July/Aug.·2005,6 Maries)
Ans. : Refer sections 8.3 and 8.2.

Q.4 Whal arc si11g11lar points? Explain tire classification of singular points based 011 the
location of dgm values of tire system. (July/Aug.·2005; JanJfcb.·2008,8 Mark$)
Ans. : Refer section 8.9.

Q.5 /'ig. 1 slunv« pl111se portraits for typt' • 0 systons. Classify tlrem i11to the categories. Stable
focus. stable node. saddle point and w-on. (See Fig. 1 011 next page.)
(JanJfcb.·2006;July/Aug.-2007,
6 Marks)
Ans. : Stable Iocus

Fig. 2 Stable focus


(P • 26)
Modem Control Theory p ·29 Phase Plane Method

Unstable node

x, ~y

Fig. 6 Unstable node


Saddle point

Fig. 7 Saddle point


Q.6 Explain l/1e concept of jump resonance with a suitable example.
(JanJFcb.·2006, 5 Marks)
Ana. : Refer section 8.3.
Q.7 Explain th« delta 1r1ttlrod of constructing phas» trajtctorie.s. OanJFcb.·2006, 7 Morks)

Ana. : Refer section 8.11.

Q.8 Using isocline method, draw lite phas<e trajectory for tltt system.

d2x+o.6'.!!.+x .. o
dt2 di

with x = 1 a11d dx
dt
= 0 as initial amditia11. (JanJFcb.-2006,8 Marks)
Ans. : Refer section 8.4.
Modorn Control Thoory p ·30 Phaso Plano Method

Q.9
.
A linfar second order sen» is described by the equation C+2E,ll\,C+or,c = 0 wliere
E, = 0.15. 10• = l rad/sec, CIOJ = l.5 and C = 0. Detmnirtt tile singular point. Constriid
lite phase trajectory, using the method of isodine». (July/Aug.·2006,10 Marks)
Ans. : Refer example 8.2.

Q.10 Define singular point on a pnase plm1e. &plain diffoent types of sit1gular points
· (July/Aug.-2006, 10 Marks)
Ans. : Reier section 8.9.

Q.11 What are singular points? Explain differc1t singular points adopted in 1wn-li11ear control
;-ystems. (JanJFcb.-2007,8 Marks)
Ans. : Refer section 8.9.

Q.12 Find out singular points for tM followingsystems :

i) x +0.5x+2x=O
.
ii) .v+3y +2y=O
.
iii) y +3y -10=0 (JanJFcb.·2007,12 Marks)
Ans. : Refer example 8.3.
Q.13 Draw tlte phase-plane trajectoryfor thefollowittg equation using Isodine method:

x+2E,ro;+w2x=U

Given, f,=0.5. lll"'l, Initial point (0, 6). QanJFcb.-2007,U Marks)


Ans. : Refer example 8.5.
Q.14 Discuss lllC basic features of the jt••np rtSOna11ce 11011-linearities wit/1 suitable figures :
/ump n~o111111cr. (July/Aug.·2007, 8 Marks)
Ans. : Refer section 8.3.
Q, 15 &plain th« construction of a pllflSt trajectory by Delta method.
QanJFeb.-2008, 6 Markli)
Ans. : Refer section S.S.
ODD
Liapunov's Stability Analysis

Q.1 State and explain Uapu11ov's theorems 011


Ii) Asymptotic stability
(ii) Global asymptotic stability und (iii) l11stabilily.
Qan./Feb.-2005;July/Aug.-2006;JanJFeb.·2008, 10 Marks)
Ans. : Refer sections 9.3, 9.4 and 9.5.

Q.2 Use Krasovskii's theorem lo show that lite equilibrium slate x = 0 of lite system described
by
.r 1 =-3x, +x2
.t2 =x1 -x2 -xi is asymptotically stale i11 I/re large. (Jan./Feb.·2005, 10 Marks)
Ans. : Refer example 9.4.

Q.3 Define:
Ii) Stability, Iii) Asymlolic stability (iii) Asymptotic stability in the large.
Quly/Aug.·2005, 5 Marks, July/Aug.-2007, 6 Marks)
Ans. : Refer sections 9.29.3, 9.4 and 9.5.
Q.4 Investigate I/re stability of tlie following non-linear system using direct method of

.
Liapunou.
x1 =x2

-~2 =-.rl -xfx2 (July/Aug.-2005,S Marks)


Ans. : Refer example 9.5.

Q.5 A seco11d order system is represe11led by,



x=Ax where A= [ _1
(l 1 ]
-:

Assuming matrix Q to be identity matrix, solve for matrix P in tire eqw1lion


ATP + PA =-
Q. Use Liapunou theorem and determine I/re stability of tire origi11 of the
system. Write tire Liapunot» [unction V(x). (July/Aug.-2005, 10 Marks)
Ans. : Refer example 9.6.

(P • 31)
- .. ,. .
Modern Control Theory p -32 Liapunov's Stability Analysis

Q.6 Using Liaprmovs direct 111etl1od, find tlrr range of K lo guarantee sta/1ility of tire system
show11 i11 Fig. I.

•O. _:~•~Ghl-f-
~~I s

Fig. 1

(JonJFeb.-2006,14 Marks)
Ans. : Refer example 9.11.

Q. 7 Choos« an appropriate Liapunov fimction and check tire stability of tire equilibrium state
of tire system described by

X2 = - X7 - X~ X2 O•nJFeb.-2006, 6 Muks)
Ans. : Refer example 9.5.

Q,8 Determine whether or not folll1toing quadraticform is positive definite :


Q (.q,x2) = 10xr +.ix~ +x~ + 2x1x2 -2xzx3 -4x1x3 (Jan.lFeb.-2007, 10 Marks)
Ans. : Refer example 9.10.
Q.9 Explain with a11 example • i) Liapunov main stability thrown ii) Liapunop second
method and iii) Krasooskii's tlrcorem. (JanJFcb.·2007,10 Marks)
Ans. : Refer sections 9.10, 9.11 and 9.13.

Q.10 Fi11d the Liapwrovfunctionfor the system:

X(I) = [~ ~1]x. (JanJFeb.·2007,8 Marks)


Ans. : Refer example 9.6.

Q.11 Explain Llap1111011's stability criterion. (July/Aug.-2007,6 Marks)


Ans. : Refer section 9.1 I.
Modern Control Theory P-33 Liapunov's Stability Analysis

Q.12 Consider tlie system 1uitl1 diffmmt111/equation.

::+k;.+k1e.J +c = U Examine tire stnbility by Uap1111ov's method, gioen thot K > 0


and K 1 > 0. (July/Aug.-2007,6 Marks]
Ans. : Refer example 9.8.

Q.13 Exnmme ti~ stability of the system described by th« following equation by Krasovdskii's.
Ouly/Aug.-2007,8 Marks)
Ans. : Refer example 9.9.
Q.14 A system is described by tire followingequation :

;=Ax Where A =[-t -


1
2].
-4

Assuming matrix Q to be tire identify matrix, solve for matrix P and comment on
the stability of tile system 11si11g the equation ATP+ PA -Q. =
Qan/Fcb.- 2008, 10 Marks)
~ Ans. : Refer example 9.7.

ODO
(P • 34)

Вам также может понравиться