Control Systems: Yusup Isaev
Control Systems: Yusup Isaev
Yusup Isaev
PREFACE
1
1.5.3. Blocks in parallel…………….……………………………............ 43
1.5.4. Feedback control system ……………………….…………………
1.5.5. Block diagram reduction……….………………………………… 44
1.5.6. Summing point moving……….………..………………………… 44
1.5.7. Branching point moving……..……………………………………
1.5.8. Example of diagrams reduction rules……………………………. 45
1.6. Control system generalized equivalent circuit……………………. 46
1.6.1. Automatic control system property in steady state……………….. 46
1.6.2. Proportional controller (P controller)..…………………………… 47
1.6.3. Proportional derivative controller(PD controller).………………. 48
1.6.4. Integrated controller (I controller)………….……..………………
1.6.5. Proportional integrated controller (PI controller)………………… 50
1.6.6. Proportional integral-derivative controller (PID controller)………
1.7. Transient processes calculation………………….....…………….. 54
1.7.1. Transient process calculation in state space ……………………... 54
1.7.2. Convergence of matrix differential equation to scalar equations… 57
1.7.3. Transient processes calculation with Impulse response function 57
use ……………………………………………………………………….. 58
1.7.4. Analytical method of transient process calculation……………….
1.8. Automatic control linear system stability……………..…………... 59
1.8.1. The Routh-Hurwitz stability criterion(algebraic stability criterion) 61
1.8.2. The Routh-Hurwitz algebraic criterion application………………. 61
1.8.3. Mikhailov stability criterion………………………………………
1.8.4. Nyquist stability criterion ………………………………………... 68
1.8.5. Logarithmic stability criterion………………...…………………..
1.8.6. Application of Nyquist criterion and transient processes quality 74
criteria…………………………………………………………………… 80
1.8.7. Analysis of controller type and parameters on stability in 83
frequency domain ………………………..…….……………………......
2
1.9. Stability areas determination………...………………………….... 85
1.9.1. D decomposition method………………….………………………
1.9.2. Root locus analysis………….……….…………………………… 88
1.9.3. Poles placement method…….……….…………………………… 90
CHAPTER 2. Non-linear dynamic systems………………………….. 92
2.1. Phase space and dynamic systems phase portraits ………………… 102
2.1.1. Phase portraits construction with surface use……………………..
2.2. Phase plane method……......………………………………………. 105
2.2.1.Servomotor equation with ideal relay characteristic……………….
2.2.2. Servomotor equation with real relay characteristic……………….. 107
2.3. Lyapunov straight method………………………………………… 112
2.4. Harmonic linearization method………...………………………….. 112
2.5 Self-exciting oscillations analysis algorithm……………………….. 115
Literature……………………………………………………………….. 118
Appendix 1…………………………………………………………......... 121
Appendix 2………………………………………………………….........
Appendix 3…………………………………………………………......... 121
Appendix 4……………………………………………………………….
Appendix 5………………………………………………………………. 131
Appendix 6………………………………………………………………. 140
140
3
CHAPTER 1. LINEAR SYSTEMS
1.1. Linear systems description and analysis with the help of differential
equations
1.1.1. General notions on automatic control
Automatic control theory and automatic control system are parts of engineering
cybernetics.
Engineering cybernetics studies general principles of technological and
manufacturing processes dynamic system control.
Automatic regulation is defined as the process of keeping up the required value
of some physical variable in technical devices without human involvement with the
help of regulators.
Automatic control is changing process according to some law some physical
variable in technical devices without human.
Technological process of energy production, transmission and distribution is
referred as the ordered interaction of power engineering objects: turbo and
hydrogenerators, transmission lines, transformers and other machinery. Directional
influence on these objects is called control process. Cooperating electric power
objects which are exposed to intended influences are called control objects.
Control systems are based on feedback principle which is so that the state of
controlled object is characterized by the same parameters х1 , х2 , ..., хn
(Figure 1) which is compared with desired values and if current state of
parameters is different from the desired one then the system establishes
actuating signals х р1 , х р 2 , ..., х р m , which return the state of system to the desired
one.
Feedback mechanisms can help today’s increasingly complex computer
systems adapt to changes in workloads or operating conditions. Control theory
offers a principled way for designing feedback loops to deal with unpredictable
changes, uncertainties, and disturbances in systems.
1
For power plants disturbances occur as unexpected change of fuel quantity,
station capacity give to electric system by other power plants and capacity assumed
by consumers etc
xd1 xdn
x1
Object
xn
actuator
Figure 1
Because of the fact that object characteristics are given parameters than the
necessary requirements to control system should be provided by the corresponding
controller characteristics selection.
2
f(t) Both problems are not simple and they can be
solved with the help of mathematics. CS is
y(t) x(t)
divided into subsystems “bricks”. Each
component is described by non-linear equation,
Figure 2
differential in most cases.
F F F F
F y ... f
F ( y0 ,0, x0 ,0,0) x x x y
x 0 x 0 x 0 y 0 y
0
x x(t ) x0 , y y (t ) y0 , x x,....
Ignoring the components of higher order of vanishing subtract from the obtained
equation statics equation and obtain:
F F F F
F
x x x y y f f 0 f
x 0 x 0 x 0 y 0
y 0
F
Divide linearized equation by invariable and obtain:
x 0
F F F
F
y
x 0 x 0 y 0 0 y f
x x x y
F F F F F
x 0 x 0 x 0 x 0 x 0
3
F F
2 x 0
x 0
T2 F , T1 F
x 0 x 0
F F
y
0 , k x 0 ,
T22 x T1 x x k1y k2 y k3f где k1
F F
2
x 0 x 0
k3 1
F
x 0
d
If derivation procedure is set down by p then the equation can be rewritten in
dt
the form of:
T 2
2
p 2 T1 p 1 x k1 k 2 p y k3f
x
k1 k2 p y
k3
f W ( p)y W f ( p)f
T
2
2
p T1 p 1
2
T p T1 p 1
2
2 2
k1 k2 p k3
Formulae W ( p) , W f ( p) are called transfer
T
2
2
p 2 T1 p 1 2
T 2 2
p T1 p 1
functions of deviation of defined variable and of disturbance
The last reduction is to divide all the components into basic variables
x x / x 0 , y y / y 0 , f f / f 0
T 2
2
p 2 T1 p 1 x k1 k2 p y k3 f ,
y0 y0 f0
where k1 0 k1 , k 2 0 k 2 , k3 0 k3
x x x
4
1.1.3 Control system component definition and mathematic description of
linear component properties
To analyze control system component properties their block diagram is used, in
which separate elements are depicted as blocks connected to each other according
to substitute elements connection.
Separate component is characterized by a
definite mathematical connection between input
Figure 3 ( xin ) and output ( xout ) variables (Figure 3).
System components obtain the property of action direction, i.e. ability to one way
signal passing from input to output.
Connection between output and input variables of linear component (or system) is
depicted by linear differential equation with constant coefficients.
d nx d n1 x d 2x dx
a0 a ... a an1 an x
dt n 1
dt n 1 n2
dt 2
dt (1)
m m 1 2
d y d y d y dy
b0 m b1 m1 ... bm2 2 bm1 bm y
dt dt dt dt
Linear differential equations have solution, which consist of two components
x xc x (2)
First component ( xc ) is a complementary solution of homogeneous differential
equation, which is obtained from (1) by making its right part equal zero.
In general homogeneous differential equation has the following solution
5
an x bm y ;
bm
x y .
an
1.2 Systems description and analysis with the help of impulse response
functions
6
The Dirac delta function property:
at t t0
(t t0 )
0 at t t0
, (t t ) f (t )dt f (t )
0 0
0 at t t0
(t t0 ) (t ) (t )
1 at t t0
( x x )dx ( x x )
0 0
1
L (t ) 1, L (t )
p
Figure 4
Differential equation solution with unit step function (t ) in the right part is
impulse response function h(t ) :
dx(t )
x(t ) (t ) equation solution is x(t ) h(t )
dt
,
t
dx (t )
x(t ) f (t ) equation solution is x (t ) h(t ) f (0) w( ) f (t )d
dt 0
Relation between transfer and impulse response functions can be seen using
the following correlations:
Remember that the Laplace transform of integral and derivative has the form of:
t F ( p)
L f (t ) F ( p) L f (t )dt , L f (t ) pF ( p)
0 p
Figure 5
Example 1: Differential equation is given
d 2x dx dy (t ) dx(0) dy (0)
5 2 4 3x y (t ) 2 , x(0) y (0) 0, 0.
dt dt dt dt dt
Determine the transfer function of differential equation
d 2x dx dx(0)
0,1 10 100 x f (t ), x (0) 0, 0.
dt 2 dt dt
9
Determine the transfer function of differential equation
2 2
Z( p ) 0.1 p 10 p 10
1
W ( p )
Z( p )
1 invlaplace p ( 50.) t
w1( t ) .2582 e sinh ( 38.73 t)
2 2 float 4
0.1 p 10 p 10
88.729833462074168852 1
p Z( p ) solve p
11.270166537925831148 p
1
d 1 p 1 t 1 p 0 t ( 11.27) t ( 88.73) t
z( p ) Z( p ) w( t ) e e w( t ) float 4 .1291 e .1291 e
dp 1
zp 0
zp
t 0 0.01 4
0.083
0.062
w1( t )
0.042
w( t )
0.021
d 1 1 p 1 t 1 p 0 t
z( p ) Z( p ) h ( t) e e
dp Z( 0) p z p
1 1 p z p
0 0
( 11.) t1 ( 89.) t1
h ( t1) float 2 .10e-1 .11e-1 e .15e-2 e
t 0 0.01 4
10
0.0098
0.0073
h1( t )
0.0049
h( t )
0.0024
0.083
d 0.062
h1( t )
dt 0.042
w( t )
0.021
20 f( t) 20 sin t
t
Fo( t) w t f d
0
x
1
d
2
d 2
0.1 x( t) 10 x( t) 10 x f( t) D( t x) 2 N 100
2 d t 10 10 f( t)
dt x
1
x
0
0.1 0.1 0.1
0 0
x rkfixed 0 5 N D i 0 N t x
0
0.12
0.065
Fo t i
x1 i 0.01
0 0.11 0.22 0.33 0.44
0.045
0.1
ti
11
1.3 Spectral signal representation
a0 N N
X (t ) ak cos kt bk sin kt Ak cos kt k ,
2 k 1 k 0
k 2 t k 2 t
T /2 T /2
2 2
ak X (t )cos dt , bk X (t )sin dt ,
T T /2 T T T /2 T
0 при a 0
b
Ak ak2 bk2 , k arctg k при a 0
ak / 2 при a 0
a0 N N
1
X (t ) ak cos kt bk sin kt Ak exp jkt , Ak ak jbk
2 k 1 k N 2
12
2 1
T 0.05 t 0 0.01 T 2 T f
T T
t 2 T
f( t) if 0 t
T 2
1.2
1 t 2 if T t T
1
T 2
0.8
0 otherwise f( t ) 0.6
0.4
0.2
0
0 0.017 0.033 0.05
t
1
0.405
T
2 0
M 5 k 0 M a f( t) cos k t dt a
Част ь рису нк а с идент ифик ат ором от ношения rId192 не найдена в файле.
A i a
k T 0.045 k k
0
0
0.016
a M A M
akcos kt
0 0
F( t) F1( t) A sin k t arg A
2 2 k k
k 1 k 1
Expansion check
arg A
A
k
k deg
1.2
1 90
F( t ) 0.405 -90
0 -90
f( t ) 0.6 0.045 -90
F1( t ) 0 -90
0.016 -90
0 0.05 0.1
t
13
superposition of sinusoidal sources with corresponding frequencies, amplitudes
and phase shifts.
2 1
T 0.05 t 0 0.01 T 2 T f
T T
t 3 T
f( t ) if 0 t
T 3
1.2
T 2 1
1 if t T
3 3 0.8
1 t 3 if T 2 t T f( t ) 0.6
T 3 0.4
0 otherwise 0.2
0
0 0.017 0.033 0.05
t
14
1.333
0.456
T
2 0.113
M 5 k 0 M a
k T
f( t ) cos k t dt a
0 k
A i a
k
0
0.028
0.018
a M A M
k
0 0
F( t ) a cos k t F1( t ) A sin k t arg A
2 2 k k
k 1 k1
Expansion check
arg A
A
k
k deg
1.2
1.333 90
F( t ) 0.456 -90
0.113 -90
f( t ) 5.636·10-5 -90
0.6
F1( t ) 0.028 -90
0.018 -90
0 0.05 0.1
t
15
1.3.1. Bode plot
Bode plot is the ratio between complex representation of output variable and
complex representation of input variable which is being changed according to
potential law.
y (t ) Ay sin t . (16)
By y(t ) change according to (16) at linear component output in steady state the
output variable will change according to potential law with the same frequency, but
different amplitude and phase.
x (t ) Ax sin( t ) . (17)
16
jt
x Aye e
W ( j ) jt
e j A( ) e j ( ) . (19)
y Aх e
In (19) А() and () functions are Bode magnitude plot and Bode phase plot.
Bode plot (19) which is a complex variable has the algebraic form of
W ( j ) U ( ) jV ( ) . (20)
In (20) U() and V() are real and imaginary frequency characteristics.
Mind that formula for derivative of n-order from от y and x are equal
dk y
k
( j ) k Ay e j t ( j ) k y;
dt ( 21)
dkx
k
( j ) k Aх e j t ( j ) k x,
dt
W ( j ) A( )e j ( ) U ( ) jV ( )
U ( ) A( )cos( ( )), V A( )sin( ( ))
V ( ) 0 при U 0
A( ) U ( ) 2 V ( ) 2 , ( ) arctg
U ( ) при U 0
As shown in correlation (9) and (22) that formula
for Bode plot is obtained from substituting in
transfer function p j .
Figure 6
17
To solve practical problems of control systems properties Bode plot is plotted on
complex planes U() and V() as locus which is a geometric part of vector end
W(j) at frequency change from 0 to (Figure 3).
bm
x y W (0) k. (23)
an
bm
Coefficient k is called component coefficient of amplification
an
1.3.3. Steady and minimal phase components frequency characteristics
peculiarities.
The system is described by A( ) and e j ( ) or U ( ) and V ( ) variables. But
for some types of components (steady component) there exists the correlation
between the functions which formed these pairs and one of such functions can be
used to describe the system. To determine the weight function for instance the
following ratio should be used:
1 1
w(t )
U cos t dt
or w(t )
V sin t dt
1
U 1
V
h (t ) sin t dt or h(t ) cos t dt .
18
Мinimal phase component is a component which have poles and zeros with
negative real parts. That means they have minimal phase shift at frequency
compared to other components.
Example:
k
W ( p)
Tp 1
V ( )
arctg arctg T arctg T
U ( )
When is changed, is changing from 0 to .
2
k
W ( p)
Tp 1
19
Calculate its real and imaginary parts:
k 1 jT k jkT k kT
W ( j ) U ( ) jV ( ) j
1 jT 1 jT 1 T
2 2
1 T
2 2
1 T 2 2
k kT
U ( ) , V ( ) ,
1 T 2 2 1 T 2 2
k 2 k 2T 2 2 1 T 2 2 k
A U V
2 2
k
1 T
2 2 2
1 T
2 2 2
1 T
2 2
V ( )
arctg arctg T , arctg T (0, / 2)
U ( )
When is changed, is changing from до . Thus the second
2
component makes greater delay.
U2 R
2
U1 R1
U 2 ( p) R
W ( p) 2 k
U1 ( p ) R1
U1 U U2 U U U2
I1 , I2 1 , I1 I 2 1 1
R1 R2 R1 R2
20
U 2 U1 U1 U 2 1 1
, U1 Component transfer function:
R2 R2 R1 R2 R2 R1
U2 1 1
U1 ,
R2 R2 R1
U 2 ( p) 1 1 R
W ( p) R2 1 2 k ,
U1 ( p ) R2 R1 R1
dU C dU
iC C , U C iC R U U C RC C U
dt dt
dU C
UC T U
dt
U C TpU C U 1 Tp U C U
In our case:
X 1
1 Tp X Y W
Y 1 Tp
21
We can obtain the same formula through diagram resistance having complex
representation:
1
Z ( ) R ,
jC
1
Find current I ( ) U / Z ( ) , voltage on the required element U C I ( ) ,
jC
then substitute all the values and obtain:
1 U 1 U 1 U
U C I ( ) ,
jC Z ( ) jC 1 jC jCR 1
R jC
UC 1 1
W ( j ) W ( p)
U jCR 1 pT 1
k
W ( p)
pT 1
1 t /T
And its weight function(Green’s function): w(t ) ke
T
To calculate its transfer function h(t ) its impulse response function W ( p) with
1/ p multiplier can be used
W ( p) 1 k A(0) A( p) pt k
e k et /T k 1 et /T
p p pT 1 B(0) pB( p) 1
T
T
Check
k t /T
w(t ) h(t ) e
T
22
For the second example do the same calculations taking into consideration time
constant equals T L / R :
UR 1 1
W ( j ) W ( p)
U j L / R 1 pT 1
1 100
0.8 80
0.6 60
h( t ) w( t )
0.4 40
0.2 20
0
0 0.01 0.02 0.03 0.04 0.05 0.06 0 0.01 0.02 0.03 0.04 0.05 0.06
t t
k 1 jT k jkT k kT
W ( j ) U ( ) jV ( ) j
1 jT 1 jT 1 T 1 T
2 2 2 2
1 T 2 2
k kT
U ( ) , V ( ) ,
1 T 2 2 1 T 2 2
k 2 k 2T 2 2 1 T 2 2 k
A U V
2 2
k
1 T 2 2 2
1 T 2 2 2
1 T
2 2
V ( )
arctg arctg T arctg T
U ( )
When is changed, is changing from 0 до .
2
Plot the locus for Bode plot at k=1 and T=0.1c using MathCAD
k
T 0.1 k 1 W ( p k) A k W j k U Re A k V Im A k
T p 1
arg A k 3
0 .1 10
deg
23
0.5 1
0.8
0.25
0.6
V( ) A ( k)
0 0.25 0.5 0.75 1 0.4
0.25 0.2
0.5 0 10 20 30 40 50
U( )
0 10 20 30 40 50
30
( )
60
90
dU C di
iC C , U L L L , iC iL , U C iC R U L U
dt dt
d 2U C dU C
L 2
RC Uc U
dt dt
d 2U C dU C
LC 2
RC Uc U LCp 2 RCp 1Uc U
dt dt
Or through resistance:
Z ( p) R pL 1 / Cp, I ( p ) U ( p) / Z ( p )
1 U ( p) 1
U C ( p) I ( p) U ( p) / Lp 2 RCp 1
pC R pL 1 pC
pC
W ( p ) U C ( p ) / U ( p ) 1 / LCp 2 RCp 1
W ( p ) A( p ) / B( p ) 1 / LCp 2 RCp 1 ,
2
RC R 2C 2 4 LC R RC 1
B ( p ) 0, p1,2 , 2
2 LC 2L 2L L
2
R 1 RC
, , p1,2 j
2L L2 2 L
A( p1 ) p1t
w(t ) 2Re e
B p1
W ( p) 1
A( p ) / pB ( p )
p p LCp RCp 1
2
25
In program determine the circuit impedance and transfer function after that. Both
impulse response function and Green’s function are determined with the help of
Laplace transform.
6
L 0.1 C 100 10 R 10
1 1
Z( p ) R p L W ( p )
C p Z( p ) C p
2 d
B( s ) 100. s s 100000 A ( p) 100000 B'( p ) B( p )
dp
invlaplace x ( 50.) t
w( t ) W ( x) 320.3 e sin ( 312.2 t )
float 4
A p2 p 2 t A p 2 p 2 t A ( 0)
w2( t) 2 Re e h2( t) 2 Re e
B' p2 B' p 2 p 2 B( 0)
250 1.6
1.4
200
w( t ) 1.2
150 h( t ) 1
d 100 0.8
h( t ) h2 ( t ) 0.6
50
dt 0.4
0 0.01 0.02 0.03 0.04 0.05 0.06 0.2
w2( t ) 50
100 0 0.01 0.02 0.03 0.04 0.05 0.06
150 t
d 2x dx
a2 2 a1 a0 x b0 y .
dt dt
26
or
a2 d 2 x a1 dx b
2
x 0 y
a0 dt a0 dt a0
d 2x dx
2 2 x ky
dt dt
b0 x
x y x ky W (0) k
a0 y
Characteristic equation:
d 2x dx
2
2 x ky
dt dt
X k A( p )
p 2
2 p 1 X kY W ( p )
Y p 2 p 1 B ( p )
2
k 4 2 2 1 2
2
k
A( ) U ( ) 2 V ( ) 2
4 2 2 1
2 2
4 2 2 1 2
2
27
Let’s consider the example of frequency characteristics of locus assembly with
different values of damp coefficient through transfer function with MathCAD
help.
k
k 0.1 0.01 0.002 W p
2
p 2 p 1
solve p ( 5.) 21.79 i
A W j U Re A
2
p 2 p 1
float 4 ( 5.) 21.79 i
arg A k
V Im A k
2
0 0.01 10 0.5
deg
0.5
U
U( ) U( 2)
2
0.45
0 10 20 30 40 50
0.36
A
2 0.27 60
2
A ( ) ( )
0.18
A ( 2) ( 2) 120
0.09
0 10 20 30 40 50 180
28
d 2x
x ky
dt 2
X k
p 2
1 X kY W ( p )
Y p 2 1
k
2. Aperiodic(Inertial)component: W ( p) , W (0) k
Tp 1
k
3. Oscillatory component: W ( p) , W (0) k
p 2 p 1
2
k
W ( p) , W (0) k
p 2 p 1
2
k
5. Conservativе (self-vibrating) component: W ( p ) , W (0) k
p2 1
29
t
dx
ky pX kY W ( p ) k / p x k ydt
dt 0
Transfer function:
W ( p) 1
W ( p ) k / p, h(t ) L1 L1 2 kt
p p
Check:
w(t ) h(t ) kt k
W ( j ) k / j , W ( j ) U ( ) jV ( ) jk / , U ( ) 0, V ( ) k /
A( ) W ( j ) k / , ( ) / 2 90o
k
k 1 W ( p ) h ( t) t k w( t) k arg W j
p
1.2 0.06
1
w(t)
0.8 0.04
d 0.6 h(t)
h(t)
dt 0.4 0.02
0.2
0 0.012 0.024 0.036 0.048 0.06 0 0.012 0.024 0.036 0.048 0.06
t t
30
0 200 400 600 800 1000
30
()
60
deg
90
120
k
Tp 1 pX kY W ( p)
Tp 1 p
k k 1
W ( p) W ( p )W2 ( p )
Tp 1 p p Tp 1 1
dy
xk , X kpY W ( p) kp
dt
W ( p) 1 p k
h(t ) L1
p L p k (t )
31
w(t ) h(t ) k (t )
x (t )
f ( )h(t ) d kf (t )
Bode plot:
W ( j ) jk U ( ) jV ( ), U ( ) 0, V ( ) k
A( ) W ( j ) k , ( ) / 2
Table 1
2. Ideal
differential
component W ( p ) Tд p
3.Real Tд p
differential W ( p)
component
Tд p 1
4.Integral 1
component Wint ( p )
Tint p
32
5. Inertial K
component W ( p)
of the first
T1 p 1
degree
Things to remember:
1. All the components can be divided into two groups which differ a lot from
each other.
Static components are components which in steady state (at p=0) have a
certain connection between output and input variables. These components
have stable equilibrium. All components given in Table 1 are static
components but integral one.
Astatic components have neutral equilibrium
Integral component is astatic in Table 1. At
p 0 : Wи (0) . This means that at xвх 1(t )
theoretically is xвых .In input influence is
applied on limited time then output variable remains
constant, i.e. equals the integral of input variable,
Figure 7
for this time (Figure 7).
2. There is an interconnection between the transfer function W ( p) and impulse
response function h(t ) capable of transient process h(t ) . When substituing
33
p 0 in impulse response function W (0) h() we obtain steady state in
time domain. When substituting p in impulse response function
W () h(0) we obtain transient process beginning.
3. Frequency response locus always starts from real axis because real part of
frequency response U ( ) is an even function , and imaginary partV ( ) is an
odd function: W ( j ) U ( ) jV ( ) W (0) U (0) , V (0) 0 .
4. Frequency characteristics are determined by the following factors:
oscillation indicator M Amax ( ) / A(0) – characterises system tendency
to oscillations :the higher it is the less qualitative is the system (1.1< M
<1.5)
Resonance frequency is the frequency at which magnitude frequency
response is at its hight(at this frequency oscillations have maximum
amplification)
System bandwidth – interval from 0 to 0 at which the following
More
The greater the peak of resonance frequency the more intensive are the oscillations
34
T 2 / p
The summing point also known as a summing junction is the block used to
represent the addition/subtraction of signal as shown in Figure below
35
or
х4 = х1 + х2 х3.
xвх(p) xвых(p)
W1(p) W2(p) ... Wn(p)
Figure 8
Figure 9
Parallel subsystems have a common input and output formed by the algebraic sum
of the outputs from all the subsystems.
36
1.5.4. Feedback control system
Figure 10
Closed loop control systems are divided into two categories , based upon the nature
of the feedback signal: negative-feedback closed loop and positive-feedback
closed loop systems. The system consists of one block in the forward path and one
block in the feedback path. Hence we can write:
хвх1 ( p ) хвх ( p ) хос ( p ),
(26)
where, хос ( p ) Wос ( p ) хвых ( p ).
The transfer function of reduced form of a closed loop control system can be
obtained from
хвых ( p ) W1 ( p ) хвх ( p ) Wос ( p ) х вых ( p ) . (27)
Notice that when obtaining the formula (28) sings corresponding to positive and
negative feedback are changed into the opposite ones. In (28)"" sign corresponds
to positive feedback and "+" sign is negative.
Original diagram
х2 ( p ) х1 ( p ) W1 ( p ) х3 ( p ) W2 ( p )
.
х1 ( p ) W1 ( p )W2 ( p ) х3 ( p )W2 ( p )
38
1.5.7. Branching point moving
Original diagram
х3 ( p ) W1 ( p ) х1 ( p ) .
х1(p) х2(p)
W1(p) W2(p)
W1(p)
х3(p)
2. Blocks in parallel:
40
W1 ( p) W2 ( p)
1 W1 ( p)Wp1 ( p) 1 W2 ( p)Wp2 ( p)
W1 ( p)W2 ( p)
1 W1 ( p)Wp1 ( p) W2 ( p)Wp 2 ( p) W1 ( p)Wp1 ( p)W2 ( p)Wp 2 ( p) W1 ( p)Wp1 ( p)W ( p)
W1( p)W2 ( p)
1 W4 ( p)W2 ( p) W1( p)W2 ( p)
41
W2 ( p ) W1 ( p ) хin f
хout
1 W1 ( p )W2 ( p )W p ( p )
Applying block diagram reduction rules any block diagram can be reduced
to two blocks diagram (Figure 6). Consider one of the blocks to be equivalent
controlled object with transfer function Wо ( p ) and the second block to be
equivalent controller with transfer function Wc ( p) .
Figure 11
In shown in Figure 8:
x - controlled variable,
xc - control response
To figure out how the control signal influences control system behavior let us
represent controller block diagram as three blocks in parallel: inertialess, ideal
differentiated and integral(Figure 9).
Figure 12
1
Wc ( p ) K р Td p . (29)
Tint p
The obtained equivalent diagram shows the influence of object parameters and
controller on control system properties in steady state and transient processes.
As all system blocks are taken to be linear, then to obtain the required dependences
we use superposition principle. Hence the following transfer functions appear.
43
By reference input By disturbance input
Superposition principle
For analysis use the transfer function for open loop system. To determine the
transfer function break the system at "а" point(Figure 8) let хd ( p ) 0 . Then
х( p)
W раз ( p ) .
хref ( p )
Wо ( p ) Wc ( p )
Wref ( p ) ; (30)
1 Wо ( p ) Wc ( p )
Wо ( p)
Wd ( p) ; (31)
1 Wо ( p) Wc ( p)
44
W раз ( p ) Wо ( p ) Wc ( p ) . (32)
Double sign (36) is used because disturbance in some cases can increase or
decrease the controlled variable.
45
As(36)shows, when P controller is used for the object described by static unit we
have a mistake in reproduction of reference input signal which equals
Kоб K р
xз х хз 1 хз . (37)
1 K K
об р
Residual is the difference of the obtained value x from the desired value х з
(reference value).
From (37) and (38) it follows that, the bigger the gain factor is, the more precisely
is the reproduction of disturbance and the less is the influence of disturbance.
Control systems which possess the after-effect of disturbance are called static
systems. Dependence of controlled variable form disturbance action is shown in
Figure 10.
By letting x and xв some basic values x0 and xв0 statism coefficient can be
determined in relative units
х xв 0
K с* . (39)
x0 хв
46
Figure 13. Controller output characteristic and external characteristic
P0
s , for dependance ( P )
P 0
K об
Example: The object with transfer function is given Wоб ( p ) ,
Tоб p 1
Tоб 0,1 K об 0,5 x з 1 . Calculate transfer function for closed loop at P
controller presence.
WР ( p )WОб ( p ) xЗ x
W ( p) +
WР(p) WОб(p)
1 WР ( p )WОб ( p) -
47
W(p )k W(p ) invlaplace p ( 10.) t
W1( k p ) h ( t ) ( .50000) e .50000
1 W(p )k p float 5
invlaplace p
.50000 k
W1( k p ) 10. 10. ( 1.) ( 10. 5. k) t
h1( t k)
float 5
e
p 10. 5. k 10. 5. k
t 0 .001 6 T
1.2
1
h( t )
h1( t 15)
0.6
h1( t 65)
1 0.4
0.2
Proportional controller minimizes the static error and decreases transient process
time
48
1
Wр ( p) . (41)
Tи p
Wоб ( p ) W р ( p ) Wоб ( p)
Wз ( p ) ; Wв ( p)
1 Wоб ( p ) W р ( p ) 1 Wоб ( p) Wр ( p)
Wоб ( p )
Wз ( p ) , (42)
Tи p Wоб ( p )
Wоб ( p ) Tи p
Wв ( p ) . (43)
Tи p Wоб ( p )
Automatic system control at which the regulated component does not depend on
perturbation action is called astatic.
Wоб ( p) Tи p
Wв ( p ) . (46)
Tи p Wоб ( p ) ( K р Tи p 1)
49
K об
Example: The object with transfer function Wоб ( p ) is given,
Tоб p 1
Tоб 0,1 K об 1, x з 1 . Find the transfer function for closed loop at presence
P W p ( p ) k п , I W р ( p ) kи / p and PI W р ( p ) k п kи / p controllers.
Solution:
WР ( p )WОб ( p)
W ( p)
1 WР ( p)WОб ( p)
K об kп K об kи
P W ( p) , P W ( p)
Tоб p 1 K об kп Tоб p p K об kи
2
K об kп p kи
PI W ( p )
Tоб p 2 p 1 kп K об K об kи
1.4 1.1
1.2 1.06
h1 t 20 0 h1 t 20 0
0.8 0.99
h1 t 15 20 h1 t 15 20
h t 0.6 h t 0.95
1 1
0.4 0.92
0.2 0.88
0.85
0 0.21 0.43 0.64 0.86 1.07 1.29 1.5 0 0.21 0.43 0.64 0.86 1.07 1.29 1.5
t t
50
It is evident that in steady state regime ( p 0 ) system with PID controller
possesses the same qualities as the system with PI controller.
Block diagram
о, k Н is load coefficient.
51
1.7. Transient process calculation
diL R 1 e(t )
iL uC ;
dt L L L
duC iL
dt C
dx(t )
A x(t ) B V(t ) или D(x, t ) A x F(t ) ,
dt
52
For series RLC-circuit matrices are written down:
R 1
iL (t ) L L 1
x(t ) , A , B L.
u (t ) 1
C
0 0
C
The most complicated thing in state space method is A and B state matrices
formation. There exist several effective methods of state space equations
formation, but they all are based on Kirchhoff’s equation system with elimination
of variables which are not state space variables .MathCAD has functions which
help solve equations in symbolic form and this simplifies state space equations
and respective matrices formation. Below we analyze the transient process
calculation by using state space approach in MathCAD.
R2 L i L (t)
e(t ) Е 20 V , J 1 A
E1(t) C1 R2 C2
iC 1 (t)
J(t)
R1 iC 2 (t) если R1 20 , R2 100 ,
Рис. 34 C1 100 F , C2 50 F ,
L 0,1 H .
Solution. To form state space equations let’s
write down circuit equations according to Kirchhoff’s laws, then use computing
unit Given Find. Let’s perform differential equation integration numerically, using
rkfixed function as shown in MathCAD file below.
53
UC2
iL C U'C2 J
2 R
2
E R iL UC1
2
R C
2 1
R iL UC2 J R
A UC1 UC2 iL E J Find U'C1 U'C2 i'L 2 2
C R
2 2
iL R1 UC1 UC2
L
Matrices formation
A augment ( A ( 1 0 0 0 0) A ( 0 1 0 0 0) A ( 0 0 1 0 0) ) B A ( 0 0 0 E J)
54
1 0
1
R C E
C
2 1 1 R2 C1
1 1
A 0 B J
C R C
2 2 2 C2
R
1 1 1
0
L L L
6
R 20 R 100 C 100 10 6 C 50 10 L 0.1 E 20 J 1
1 2 1 2
132.84
eigenvals A 183.58 545.458i
183.58 545.458i
1 1
Z( p ) R L p
1
1 C p 1 C p
R 1 R 2
2 2
solve p
( 183.58) 545.46i
p Z( p ) ( 183.58) 545.46i
float 5
132.84
55
1
34.545 E R J R
A B 45.455 UC1пр R E
2 2
R R R R R R 2
0.545 2 2 1 2 2 1
UC1пр 34.545
UC2пр R
E
R U
J R R
2 1
R R R 2 R R R 2 C2пр 45.455
2 2 1 2 2 1
J R
E 2
iLпр iLпр 0.545
R R R R R R
2 2 1 2 2 1
UR2 E UC1
UR1 R iL
1
UL UC2 UC1 R iL
1
1 0 0
C 0 0 R1
1 1 R
1
0 0
Dt x A x B xo 0 N 400 T 0.05 i 0 N x rkfixed xo 0 T N D t x
0
1
UR1 x i
i E
UR2 C 2 0
i x i
UL 3 0
i
x i
t x 0 i 0 N
56
60
50
x1
i 40
x2 30
i 20
U R1 10
i
UL 20
i 30
40
50
ti
x3 2.5
i
U R1 2
i
R1 1.5
U R2 1
i
R2
0.5
57
Diagram fragment for the 70th frame at FRAME=70 and closed arguments.
k FRAME i 0 k
60 3
50
2.5
40
30 2
20
10 1.5
20 0.5
30
MathCAD
d
x1 x2 A
0 1 B 0 A 1 B 1
eigenvals ( A )
dt 1 1 1 0
d
x2 x1 x2 1
dt
0.5 0.866i 0
D( t x) A x B N 100 i 0 N x rkfixed 0 10 N D
0.5 0.866i 0
Electronics Workbench
58
1.25
0.75
0.5
0.25
0 1 2 3 4 5 6 7 8 9 10
0.25
0.5
MATLAB
59
1.7.2.Convergence of matrix differential equation to scalar equations
It is evident that solution of first order differential equation with one variable
more simple than several variables equation system. Hence it is interesting to
calculate transient processes by substituting space state matrix by scalar equations.
To change matrix equation into scalar equations system keep in mind that state
matrix A has eigenvectors and eigennumbers connected to each other by
AΛ Λ correlation.
dx(t )
In matrix state space A x(t ) F substitute the variables changing
dt
x Λy . As a result we obtain:
dx dy
Ax F Λ AΛy F
dt dt
dy
Λ 1 A Λ y Λ 1F.
dt
1 0
Q Λ AΛ
1 2 ,
.
0 n
That is why state space equation is written in the form of independent scalar first
dy
order equation λ y Λ 1F .
dt
60
dy1
dt 1 y1 b1
dy dy2 y b
1
λ y Λ F dt 2 2 2
.
dt .........................
dyn y b
dt n n n
b1 b2 bn
y1 (t )
1 e ,
1t
y2 (t )
2
1 e , ...,
2t
yn (t )
n
1 e .
nt
x1 y1
M
x2 y
x Λy Λ 2 .
L1 ... ...
L2
R1 R2 xn y3
E
i L1 i L2 C
Example 47. Let’s analyze the diagram
Рис. 38 after switching with zero initial conditions
shown in Figure 38. Determine inductance currents and voltage on capacitance for
the following numerical data:
Е 100 V ; С 40 mcF ; R1 70 ;
R2 50 ; L1 0, 2 H ; L2 0,1 H ; M 0,05 H .
Solution.Write down equation system for instant current values and voltages
according to Kirchoff’s laws taking into account the mutual inductance:
d d
L1 iL1 (t ) M iL 2 (t ) iL1 (t ) R1 iL 2 (t ) R1 E ;
dt dt
d d
L2 iL 2 (t ) M iL1 (t ) iL 2 (t ) R2 uC (t ) iL 2 (t ) iL1 (t ) R1 E ;
dt dt
61
d
C uC (t ) iL 2 (t ).
dt
Using computing unit Given Find, find state space matrix А and independent
influence F.
1
0 0
C 0
M R1 L2 R1 M R1 L2 R2 M R1 M E L2
A , F 2
L1 L2 M L1 L2 M L1 L2 M 2
2 2
L1 L2 M
L1 R1 L1 R1 M R2 L1 R1 L1 R1 M E M
2
L1 L2 M L1 L2 M 2 L1 L2 M 2
2
L
1 2 L M
L1 -M L2 -M Z ( p)
L1 M p R1 Mp
L1 M p R1 Mp .
M R
E 1
L2 M p R2 0
R1 C Cp
iL1 iL2
5
R1 70 R2 50 L1 0.2 L2 0.1 M 0.05 C 40 10
E 100
62
Matrix A eigenvalues
79.294
eigenvals ( A ) 106.354
3
1.186 10
Check А matrix
1186.
solve p
z( p)
L1 M p R1 M p
L2 M p R2
1 z( p) 106.4
float 4
L1 M p R1 Mp C p 79.29
Matrix А eigenvectors
141.978 uC
d
1 4
G S F G 3.155 10 y Q y G iL1 S y
4
dt
3.172 10 iL2
y1 ( t)
G0
1 e t
0
y2 ( t)
( G) 1
1 e t
1
y3 ( t)
( G) 2
1 e t
2
0 1 2
( 79.29 ) t
y1 ( t) float 4 43.44 43.44 e
( 106.4 ) t
y2 ( t) float 4 ( 5.066 ) 5.066 e
63
( 1186. ) t
y3 ( t) float 4 ( .5006e-1 ) .5006e-1 e
y1 ( t)
x( t) S 2
y ( t)
Get back to state space variables:
y3 ( t)
1
min
3
100
2.4 0.013
80 x ti 11.8
60 x
x ti 0 x ti 21.2
40 x T 5
0.6
20
0 T 0.063
0 0 0.013 0.025 0.038 0.05 0.063
0 0.013 0.025 0.038 0.05 0.063
ti
ti
N 100
T
i 0 N t i
i N
Example 48. Determine inductance current iL(t) and voltage on capacity uC(t)
when breaking the circuit at Figure 40 with given elements parameters : Е=50 V;
R=10 Ω; L=0,05 H; С=150 mcF.
64
Solution. Write down the equations for
2R 1
L
L 0
A ; F .
1 0 0
C
E
Initial conditions: iL (0) 2,5 A, uC (0) RiL (0) 25 B.
2R
6 E E
L 0.05 C 150 10 R 10 E 50 iL0 uC0
2 R 2
2 R 1
L L 400 20
A A - state space matrix
1 6.667 10
3
0
C 0
200 305.505i
eigenvals( A)
200 305.505i
65
x Λ y y Λ 1 y
T
T 0.05 N 100 i 0 N ti i
N
iL y t
y1 ( t) y10 e
0t
y2 ( t) y20 e
1t i 1 i
uC y2 ti
i
( 200.00 ) t ( 200.00 ) t
y1 t float 5 2.5000 e cos 305.51 t 3.2732 e sin 305.51 t
y2 t complex ( 200.00 ) t ( 200.00 ) t
cos 305.51 t 70.920 e sin 305.51 t
25.000 e
3 50
2 40
30
1
iL uC
i i
20
0 0.013 0.025 0.038 0.05 10
1
0 0.013 0.025 0.038 0.05
2 10
ti ti
dx(t )
A x(t ) B e(t ) .
dt
Laplace Transform will make its solution easier and let move up from differential
equations to algebraic. At zero initial conditions we have
66
IpX( p) A X( p) B E( p) Ip A X( p) B E( p)
X( p) Ip A B E( p),
1
X( p )
Ip A B .
1
W( p)
E( p )
duC duC
C dt iL R uC RC dt E
RC duC u i R L diL
dt
C L
dt
Given
67
1 3 iLR uC E
2 L
A iL uC E Find i'L u'C
1 iLR uC E
2 R C
6
E 10 L 0.1 C 100 10 R 10
3 R 1 1
2 L 2 L 2 L 250
A F 1 eigenvals( A)
1 1 1 1 400
2 C 2 RC 2 RC
1
W ( p) ( identity( 2) p A) F
5.0000 p 500.
2500.0
2 2
p 650. p .10000e6 p 650.00 p .10000e6
W ( p) float 5
25000. p 150.
2 500.
2
p 650.00 p .10000e6 p 650. p .10000e6
68
T
iL( t ) h L( t ) E u C( t ) h C( t ) E T 0.1 N 100 i 0 N ti i
N
0.6 10
0.48 8
0.36
iL ti uC t i
6
0.24 4
0.12
2
de( ) de( )
t t
iL (t ) hL (t ) E (0) hL ( t ) d ; uC (t ) h(t )C e(0) hC ( t ) d .
0
d 0
d
t
iL( t) hL t e d hL( t) e ( 0)
d
e ( t) 10 cos ( 200 t)
d
0
t
uC ( t) hC t e d hC ( t) e ( 0)
d
d
0
0.3 10
0.15 5
iL t i uC t i
0 0.025 0.05 0.075 0.1 0 0.025 0.05 0.075 0.1
0.15 5
0.3 10
ti ti
69
The example below shows differential equation system solution of DC
motor with independent excitation in MathCAD with state space method
application in Electronics Workbench with structural simulation application.
ke Сe , k м См их в нормальной форме:
Given
ia kм M c J '
70
Ra ke
La La
A augment ( A ( 1 0 0 0) A ( 0 1 0 0) ) A B A 0 0 M 0 A 0 0 0 U
c a
kм
0
J
Ua
La
B
Mc
J
Given parameters
3
Pн 0.17 Uн 110 Rоя 5.84 La 128 10 47.5 n 750 J 0.004
5
Pн 10 n
Iн Rдоп 4.40 Ra Rоя Rдоп Ra 10.24 Iн 3.254 н н 78.54
Uн 30
3
10 Pн Uн Iн Ra La J Ra
kм ke kм 0.665 ke 0.976 Ta Ta 0.013 Tм
н Iн н Ra kм ke
Tм 0.063
Tм
5.045 T 1. U 200 M c( t) Iн ke if 0 t T 0.4 M c( t) Iн ke
Ta
Iн ke 2 if T 0.4 t 0.8 T
Ra ke U
L
La La
B( t) a Iпр
A
1
A B( T) D( t x) A x B( t) N 200
kм Mc( t) пр
0
J J
71
20 200
16 160
12 120
8 80
4 40
7.059 103
b
1
B( 0) b
3
y 1( t)
b
0 t 1
e
0
y 2( t)
b
1 t 1
e
1
0 1
5.919 10
72
( 21.80) t1 ( 58.20) t1
y 1( t1) float 4 162.0 e 162.0 y 2( t1) float 4 416.7 e 416.7
1 i
ii y t
y 2 ti
i
20 200
160
i 15
i
i 120
x
1 10 i 80
x
2
i
5 40
Let differential equations system for state space vector x x1 , x2 , x3 ...xn has
dx
the form of Ax B .
dt
t
x(t ) x(0)e e A ( t )B( ) d
At
where x(0) x1 (0), x2 (0), x3 (0)... xn (0) is initial conditions vector; eAt is matrix
exponent.
73
Coefficients of 0 ,1 , 2 ... n1 row can be found by solving , n system of
algebraic equations written as state matrix own numbers А:
,
. . . . . . . . . . . .
2 .. n1 e nt
0 n 1 n 2 n n 1
1 2 22 ... 2n 1 1 e t
or matrix form:
2
. .
. . . . . .. ..
1 n 1
n n ... n n1
2 ent
1
0 1 1 12 ... 1n1 e t 1
1 1 2 22 ... 2n1 e t 2
.
.. . . . . . . ..
n 1
ent
n1 1 n n ... n
2
E 20 V ; R 10 ; C 50 mcF ; L 0,15 H .
diL du
L iL R iL C C R E;
dt dt
R 1
L 0
L ;
A F E .
1 1
L
C RC
Given
L i'L iL R uC
L i'L iL R iL C u'C R E
iLR uC
L
A iL uC E Find i'L u'C
iLR uC E
R C
A augment( A ( 1 0 0) A ( 0 1 0) ) B A ( 0 0 E)
R 1
0
L L
A 6
B R 10 E 20 C 50 10 L 0.15
1 1 E
C RC RC
R 1
66.667 6.667 0
A
L L
A
F 0
1 1 4 3
F
E 4
2 10 2 10 RC 4 10
C RC
75
E
iL0 3 R iL0 0.667
Initial conditions
uC0 E uC0 6.667
3
matrix А eigenvalues
138.285
3
eigenvals( A)
1.928 10
1 0
1 e 0t
( t)
1 1 1t
e
( 138.29) t ( 1928.4) t
( t) 0 float 5 1.0773 e .77250e-1 e
( 138.29) t ( 1928.4) t
( t) 1 float 5 .55863e-3 e .55863e-3 e
Matrix exponent
1 0
I identity( 2 ) I Exp( t) ( t) 0 I ( t) 1 A
0 1
1.04 e( 138. ) t .400e-1 e( .193e4 ) t .372e-2 e( 138. ) t .372e-2 e( .193e4 ) t
Exp( t) float 3
( 138. ) t ( .193e4 ) t ( 138. ) t ( .193e4 ) t
( 11.2) e 11.2 e ( .400e-1 ) e 1.04 e
Analytical solution
iL0 t
iL( t) Exp( t)
Exp t F d
uC0 0
0 0
iL0 t
uC ( t) Exp( t)
Exp t F d
uC0 1
1 0
76
( 138.3 ) t ( 1928. ) t
iL ( t) float 4 ( .3588 ) e .2575e-1 e 1.000
( 138.3 ) t ( 1928. ) t
uC ( t) float 4 3.855 e 7.191 e 10.00
T 0.03 t 0 0.01 T T
1 15
0.8 12
0.6 9
iL( t ) u C( t )
0.4 6
0.2 3
0 0.006 0.012 0.018 0.024 0.03 0 0.006 0.012 0.018 0.024 0.03
t t
When electric power system runs small disturbances always occur. These
perturbations can occur because of power change, load change, short circuit or
breaking of circuit. They make electrical or mechanical system unstable, it means
that steady state mode breaks. In this case automatic system controls switch on,
they perform according to the situation to balance the system. Such disturbances
should not break down system stable performance. Never let disturbances increase.
The system should be stable at small perturbations, i.e. it should keep static
stability.
Static stability is system ability to regain the initial mode after small
disturbances or the mode close to initial mode (if disturbance remains).
77
2
z( p ) p a p a
1 2
a 26 a1 5.2 a.1 0
1
100 3
2
50
1
1
50
2
100 3
Formula for characteristic second order polynomial is the same for all three
transient processes. But coefficients in polynomial are different and of different
planes. In the first case the coefficients are right half plane and the transient
process slows down – the process is stable. In the second case the coefficients are
of different planes and the magnitude grows much, in the third case one of
oscillations grows unrestrictedly - the process is unstable, in the third case one
of the coefficients, and the coefficient in the first power equals zero, hence
oscillations magnitude remains stable – the process is in the margin of oscillatory
stability.
All the coefficients of the characteristic equation of stable system must have
the same sign (the necessary condition of the Routh-Hurwitz stability criterion). If
78
one of the coefficients turns zero then the system is unstable. If all the coefficients
are right half plane(RHP) then all the roots(if there are roots on the left half
plane)will be left- half-plane(LHP). Complex roots can be right-half-plane.
If the free component coefficient an 0 turns zero it means there is a zero root , i.e.
the system is in the range of dead-beat stability. If some intermediate coefficient
turns zero it means some imaginary roots appear, i.e. the system is in the range of
pendulum stability.
The necessary condition of stability criterion is the Routh –Hurwitz matrix which
is formed as follows:
Complete the matrix from the bottom to the top in order of index increase
In places where indices are outside the boundaries put zeros.
a1 a3 0 0
a a2 a4 0
D( p) a0 p 4 a1 p 3 a2 p 2 a3 p a4 A 0
0 a1 a3 0
0 a0 a2 a4
If all the diagonal minors of matrix are right half plane then the system is stable –
this condition is enough for system stability.
T
a ( 1 2 3 4 5 )
4 3 2
z( p ) a p a p a p a p a
0 1 2 3 4
79
The necessary stability criterion is met(All the coefficients are right half plane)
a1 a
3 0 0
a0 a a 0
2 4
Form the Routh-Hurwitz matrix A A 60
0 a a 0
1 3
0 a a a
0 2 4
a1 0
a 2 2 a a a a 2 2 3 a 2 a
1 1 2 0 3 3 1 a a
0 4
3 12 4 3 a 4 60 The last minor is left half plane(LHP) so the system is
4
unstable.
Example 1. MathCAD
Example 2.
T 3 2
a ( 1 2 3 4 ) z( p ) a p a p a p a
0 1 2 3
a1 a3 0
A a0 a2 0 A 8 a 2 2 a a a a 3 a 2 3 8
1 1 2 0 3 3
0 a1 a3
80
Computing the roots proves the system to be stable.
solve p
1.651
z( p ) ( .1747) 1.547 i
float 4
( .1747) 1.547 i
2 1 0 1 2
Example 3.
T 3 2
a ( 1 1 4 4 ) z( p ) a p a p a p a
0 1 2 3
The necessary criterion is met (all the coefficients are right half plane)
The first diagonal minor is right half plane, the last but one equals zero
a1 a3 0
solve p 1.
A a0 a2 0 A 0 z( p ) 2. i
float 4
0 a1 a3 ( 2.) i
a 1 2 a a a a 2 0 3 a 2 3 0
1 1 2 0 3 3
Example 4.
T 3 2
a ( 1 1 4 0 ) z( p ) a p a p a p a
0 1 2 3
81
The necessary criterion is met (all the coefficients are right half plane)
The first diagonal minor is right half plane, the last minor equals zero. Thus the
roots of polynomial is on aperiodic stability boundary.
a1 a3 0
solve p
0
A a0 a2 0 A 0 z( p ) ( .5000) 1.937 i
float 4
0 a1 a3 ( .5000) 1.937 i
a 1 2 a a a a 2 4 3 a 2 3 0
1 1 2 0 3 3
2 1 0 1 2
Example 5.
T 3 2
a ( 4 1 4 1 ) Z( p ) a p a p a p a
0 1 2 3
The necessary criterion is met (all the coefficients are right half plane)
The first diagonal minor is right half plane. Thus the roots of polynomial is on the
oscillatory stability boundary
a1 a3 0
1 1 0 solve p .25000
A identity ( 3) A a0 a2 0 A 4 4 0 Z( p ) 1. i
float 5
0 a1 a3 0 1 1 ( 1.) i
82
3
Im( )
1 0.5 0 0.5
1
Re( )
1 2 p 3 1 2 p 1 2 p 2 1 2 p 1 p p 1 0
a0 p 3 a1 p 2 a2 p a3 0
2 0, p 2 1 2 1 2 1 2 p 1 2 1 2 0
2
2 2
f 1 2 1 2 1 2 1 2 1 2 2 1
83
1
2
1 221 2 1 22 1 2 41 2 41 2
1 2 2 4 2 2 4 3 2 2 3
2 2
2 1 2 12
f 1 2 solve
1
2
1 221 2 1 22 1 2 41 2 41 2
1 2 2 4 2 2 4 3 2 2 3
2 122 122
1
2
1 2
1
2 2 4 2 2 4 3 2 2 3
2 2 1 2 1 2 2 1 2 4 1 2 4 1 2
2 2 1 ( 1)
2 1 2 1 2
30
N 50 i 0 N j i i
N
i 2 d
i j
i j
Self regulation influences stability much. As p grows, stability area decreases and
invariables of servomotor.
84
1.8.3. Mikhailov stability criterion
D ( ) a0 1 2 ... n .
| D ( ) || a0 1 2 ... n |,
arg D ( ) arg 1 arg 2 arg 3 ...arg n
j n- number of roots,
j
If all the roots are left half plane m 0 :
j i
arg D ( j ) n
n
j arg D( j ) 0
2
Thus Mikhailov criterion for stable system describes a curve (the Mikhailov
hodograph) of characteristic polynomial which starts on the positive part of real
semi-axis, generates an anti-clockwise motion throughТаким n quadrants.
85
Alternative definition of Mikhailov criterion For stable system it is required the
zeros of real and imaginary parts of characteristic polynomial shift, and their
gross number equals n .
1 1
2
p p2 p 1
K
Fig.
1 1
W1 ( p) , W2 ( p ) , W3 ( p) K
p2 p 2 p 1
K
W ( p) 3
p 2 p2 3 p K 2
1 1 W 1( p ) W 2( p ) W 3( p )
W 1( p ) W 2( p ) W 3( p ) K W ( p )
2 p1 1 W 1( p ) W 2( p ) W 3( p )
p p2
K 3 2
W ( p K) D( K p ) p 2 p 3 p 2 K
3 2
p 2 p 3 p 2 K
U K Re D K i V K Im D K i
U K complex ( 2) 2 K
2
V K complex 3 3
0 0.01 3
86
4 System is unstable
3
2 System is in stability
V( 6 )
1 limit
V( 4 )
8 6 4 2 0 2 4 6 8
V( 2 ) 1
2
3 System is stable
4
U( 6 ) U( 4 ) U( 2 )
8 8
4 4
U( 6 ) U( 4 )
8 8
4
U( 2 )
System is stable
87
WР ( p ) M ( p) / D( p) M ( p)
WЗ ( p )
1 WР ( p ) 1 M ( p ) / D ( p ) D ( p ) M ( p )
M ( p)
D( p) M ( p) D( p) 1 D ( p ) 1 W p
D ( p )
If closed loop system is stable then the result should equal n .
2
arg D( j ) (system may be unstable too) (**)
0 2
Taking into consideration (*) и (**) we obtain the formula for variable argument
1 W ( j ) formula:
arg 1 WР ( j ) n arg D( j ) n
0 2 0 2 2
arg 1 WР ( j )
0 2
n
2
2
n
2
n Н 2П Н
2
For stable system it is enough that frequency response locus of open loop system
WР ( j ) at frequency change from 0 up to covers the point (-1, j) for angle
2П Н
2
88
arg 1 WР ( j ) 2R N if the sum of number of right-2R and
0 2
neutral-N roots is equal zero then the angular is equal 0, i.e. the loop should not
cover the point (-1, j).
Magnitude and phase criterion: System will be stable if locus of open loop system
WР ( j ) does not cover the points
2
jV ( )
with 1, j 0 .
coordinates
h
1
h - minimum section of real axis,
U () which characterizes the distance
2 1 0 1 2 3
between a critical point and
nearest point of root locus с
1
crossing with real axis , is called
modulus stability margins.
2
Minimal angle formed by
3
the radius passing through the
point of locus intersection with
unit radius circle (with the center at the beginning of coordinates) and negative
part of real axis is called phase stability margin.
Nyquist – Mikhailov stability criteria let state control system stability with
feedback by bode plot locus of closed loop. Criteria can be used in these cases when
system differential equation (or separate components) is unknown but designer
has the corresponding research characterictics.
Let’s analyze some examples with the help of MathCAD
1. Example of stable open loop and stable closed loop systems
W 1( p ) W 2( p )
10 1
W1 ( p ) W2( p ) W p ( p ) W1 ( p ) W2 ( p )
p2 2
p 2 p 4
89
solve p
2.
denom W p ( p ) float 5
( 1.) 1.7321i
Open loop system is stable
( 1.) 1.7321i
U Re W p i
V Im W p i
10 2
W ( p ) 0 .01 10 t 0 .01 2
3 2
p 4 p 8 p 18
With Trace function help(right click in plot field)determine phase and magnitude
stability margins.
z
0 Phase stability margin
arg z 1
59.826
0.5 j 0.86 deg
0.5
V( )
sin( t )
1.5 1 0.5 0 0.5 1 1.5
Im( z )
0.5
0
1.5
U ( ) cos( t ) Re( z ) x0
90
Determine analytically cutoff frequency – frequency at which locus crosses the
unit circle
2
complex 8
V Im W p j
simplify
10
2 4 2
4 4 16
2
complex 2
U Re W p j
simplify
( 40)
2 4 2
4 4 16
2
8
V 10
4 2 4 4 2 16
2
2
U ( 40)
4 2 4 4 2 16
V 2 U 2 1 solve 1.817
C ( .9085) 1.574 i
C 1.817
0 float 4 0
( .9085) 1.574 i
91
2. Example of stable closed loop system and unstable open loop system
W 1( p ) W 2( p )
10 5
W1 ( p ) W2( p ) W p ( p ) W1 ( p ) W2 ( p )
p2 2
p 2 p 4
solve p
2.
denom W p ( p ) ( 1.) 1.732 i
V Im W p j
U Re W p j
float 4
( 1.) 1.732 i
2
0 .01 10
0
3
U( ) 1
W1( p ) W2( p ) 50
W ( p ) simplify
1 W1( p ) W2( p ) 3 2
p 4 p 8 p 58
92
solve p
4.831
denom( W ( p ) ) .417 3.441 i
float 4
.417 3.441 i
3. Example when open loop system is unstable, closed loop system is stable:
WР ( p )
1.5
T 1 W p ( p ) Open loop system is unstable
T p 1
complex complex
1.500
U Re W p j simplify
2
V Im W p j simplify ( 1.500)
2
float 4 1. float 4 1.
2
0 .01 10
0.25
2 1.5 1 0.5 0
V( ) 0.25 Locus starts from U(0) = -1,5 and
0 0.5
moves to zero, hence closed loop
0.75
system is stable.
1
U( ) 1
4. Example, when open loop system has astaticism of the first order closed loop
system is stable:
W 1( p ) W 2( p )
1 5 5
W1( p ) W2( p ) W p ( p ) W1 ( p ) W2 ( p ) W p( p)
p 2
p 2 p 4 2
p p 2 p 4
93
solve p Open loop system is in aperiodic stability
0
denom W p ( p ) ( 1.) 1.732 i
float 4 margin
( 1.) 1.732 i
complex
10.
U Re W p j simplify
4 2
float 4 4. 16.
complex 2
4.
V Im W p j simplify 5.
float 4
4
4. 16.
2
2
0 .01 10
V( )
1 Locus starts with negative imaginary axis
sin( t ) and moves to zero around the point (-1, j0)
2
below, hence closed loop system is stable.
3
U ( ) cos( t )
5. Example when open loop system has astaticism of the first order а closed loop
system is unstable:
4 5
W1( p ) W2( p ) W p ( p ) W1 ( p ) W2 ( p )
p 2
p 2 p 4
94
solve p
0
denom W p ( p ) float 5
( 1.) 1.7321i
( 1.) 1.7321i
W1( p ) W2( p ) 20
W ( p ) convert parfrac p
1 W1( p ) W2( p ) 3 2
p 2 p 4 p 20
solve p
2.9463
denom( W ( p ) )
float 5
.47313 2.5621i
U Re W p i
V Im W p i
.47313 2.5621i
2
0 0.01 10
4 3 2 1 0
1
V( ) 2
0 3
4
5
6
U( ) 1
Example. When open loop system has astaticism of the first order closed loop
system is at stability margin.
W 1( p ) W 2( p )
1 1
W 1( p ) W 2( p ) W p ( p ) W 1( p ) W 2( p )
p 2
p p1
95
W p j complex
1
1
2
i
2
1 1 1
U V
1
2
2
2
1 2 2 2
solve p 1.
0.1 0.1 0.01 10
2
1 W p( p) 1. i
float 5
( 1.) i
V( )
0 8
1.33 0.67 1.0001 10
U( ) 1
Example.
W 1( p ) W 2( p )
2 1
W 1( p ) W 2( p ) W p ( p ) W 1( p ) W 2( p )
p1 2
p p1
2 3
complex ( 2) 1 i 2 i
W p i
simplify
2
1 2 4 2 1
96
2 2
2 1 2
U1 ( 2)
1 2 4 2 1
V1 2
1 2 4 2 1
1
2
2
o 2 solve
2
1
2
2
1.414
o
U1 o 1 0.667
V1 o 1 0
h 1 U1 o 1 h 0.333
1.414
1 1.2
arg W p 1 i 19.669
deg
2
0.1 0.1 0.01 10
solve p1
1.8106
1 W p ( p1)
( .9474e-1) 1.2837i
float 5
( .9474e-1) 1.2837i
0.5
V1( )
sin( t )
0.5
V1( 1)
1.5
97
arg ( 0.94211 i 0.3333)
19.483
deg
For the system which is stable being open-loop to be stable when being
closed-loop it is enough at frequency , for which L( ) 0 , difference between
the number of positive and negative phase response crossing ( ) through the
straight line ( ) equal zero
98
960
W ( p )
3 2
p 26. p 208. p 480.
Solution. Open-loop system is stable , all the poles are left half plane
960 simplify 3 2
W ( p ) denom ( W ( p ) ) p 26. p 208. p 480
3 2 float 3
p 26. p 208. p 480.
solve p 10.
denom( W ( p ) ) 4.
float 5
12.
complex 2
13. 240.
U Re W i ( 1920.)
simplify 4 2 6
260. 18304. 230400.
complex 2
208.
V Im W i simplify 960.
4 2 6
float 5 260. 18304.
.23040e6
Determine the frequency at which the locus crosses the unit circle – crossover
frequency
W i 1 solve
0 5.1618
0 float 5
Plot locus
99
1
0.5
Im( W( i ) )
Im( Z ) 0.5
1.5
L 20 log W i 2
0.1 0.1 0.05 10 y 360 360 1 0
1
if arg W i 0 arg W i 2 arg W i deg
20
0 1
12
4 60
0.1 41 10 100120 ( )
L( ) 12
180
20 180
L( 1)
Phase stability
28
0
36 240
margin
44
300
52
60 360
Modulus
1 0 stability
margin
The graph shows that magnitude frequency response crosses L( ) 0 earlier
than phase frequency response crosses the axis 180 O thus the system is
stable.
100
0 180 77.196 -phase stability margin
L( 1)
20
1 10 0.805 - modulus stability margin
Solution . The open–loop system is stable, all the poles are left half plane.
Determine the real and imaginary parts of magnitude phase frequency response.
complex 2 4
( 154.) 127. 5.
V Im W i simplify ( 3.)
2 6 8
float 5 100. 100.
Determine the frequency at which the locus crosses the unit circle –crossover
frequency
W i 1 solve
0 1.2370
0 float 5
Determine the frequency at which the locus crosses the real axis
101
V 1 0 solve 1
W 0 j
1 1 0 .92088 Z t 0 .01 2
float 5 W 1 j
U 1 0
0.5
Im( W( i ) )
Im( Z ) 0.5
1.5
Plot magnitude phase frequency response and phase frequency response in one
figure
L 20 log W i 0.1 0.1 0.05 10 y 360 360 1 0
1
if arg W i 0 arg W i 2 arg W i deg
if 180 5 360
10
5
60
0.1 1 10120 ( )
5
L( )
180
10 180
L( 1)
15
0
240
20
300
25
30 360
1 0
102
1.8.6. Application of Niquist criterion and transient processes quality criteria
1. Maximum overshoot
xПm
xПm* xПm*100% .
x 2 x1
2. Setting time.
The time during which the output variable differs from the steady value more than
on five per cent.
Fig 14.
3. Oscillations
Automatic control system which is in stability limit has bad transient process
quality parameters. In this case the transient process represents undamped
oscillations and that is why
хПm* 1; t р ; M .
103
.It is evident the closer the system to stability margin the worse is transient process
quality. Because of this fact we have indirect parameters of transient process
quality using stability criteria.
Let us analyze such criteria based on Nyquist criterion. Figure 15 shows magnitude
and phase characteristic of open loop system which is stable being closed.
As it is shown that the system can be in stability
margin because of magnitude change or
magnitude and phase characteristic vectors
rotation to the point with coordinates 1; j 0 .
As indirect parameters of transient process
quality we have the variables shown at Figure
15:
"с" –modulus stability margin
"" – phase stability margin
Figure 15
Plotting open loop system magnitude and phase response on complex plane
allows us examine the influence of controller type and parameters on stability
margins.
Cotroller type and its parameters influence can be detected when taking the usual
the magnitude and phase locus vector being open at some k frequency in the
following form
104
W раз ( jk ) Wоб ( jk ) W р ( jk )
K
Wоб ( jk ) K р K д jk и (51)
jk
j 90 K и e j 90
Wоб ( jk ) K р Wоб ( jk ) K д k e Wоб ( jk ) .
k
Formula (50) provides the rule of open loop system magnitude and phase
characteristic visualizing.
1 P controller(proportional controller) ( K р 0; Kд 0; Kи 0 ).
Figure 16
As shown above in system with P controller Kр gain сauses static accuracy
increasing.At the same time as Figure 16 shows that Kр gain can cause stability
margins decrease, at some big Kр value can break stability.
2.PD controller ( K р 0; Kд 0; Kи 0 ).
105
W раз ( jk ) Wоб ( jk ) W р ( jk )
Wоб ( jk ) K р K д jk
Wоб ( jk ) K р Wоб ( jk ) K д k e j 90
Wоб ( jk ) 0 Ak ;
Wраз ( jk ) 0 Ak K р Ck Bk ; .
Ck Bk 0 Ak Tд k e j 90
Figure 17
3. I controller ( K р 0; Kд 0; Kи 0 ).
Wоб ( jk ) 0 Ak ;
1
Wраз ( jk ) 0 Bk 0 Ak e j 90
Tи k
Figure 18
106
In steady state operating conditions in system with I controller static errors don’t
occur . But integral controller makes stability margin decrease as all the vectors
Wраз ( j ) rotate 90º to point side 1; j 0 .
Figure 19
Integral component of regulation law turns to complete static errors elimination
but on equal terms decreases stability reserves (by using components Bk Ck ////)
Correlation of controller type and its parameters influence both system property in
steady state operating conditions and on stability margins makes it easy to
determine that improving accuracy of the system and increasing stability margin
are controversial
107
W раз ( jk ) Wоб ( jk ) W р ( jk )
K
Wоб ( jk ) K р K д jk и
jk
Wоб ( jk ) K р
Wоб ( jk ) 0 Ak ;
Wоб ( jk ) K д k e j 90
W раз ( jk ) 0Ck Ck Dk Dk Bk ;
K и e j 90
Wоб ( jk ) .
0Ck 0 Ak K р ; k
e j 90
Ck Dk 0 Ak ;
Tи k
Dk Bk 0 Ak Tд k e j 90
Figure 20
To remember.
1. At amplification coefficient increase in proportional controller transient
process time increase static error decreases, but overregulation increases.
Uncontrolled coefficient’s increase makes the system unstable.
2. Integral controller decreases the static error, but worsens system dynamic
characteristics, i.e. increases transient process time increase, increases
overregulation and regulation time.
3. Differential controller increases system stability, decreases overregulation
and regulation time, i.e. improves system dynamic characteristics, doesn’t
influence the system in steady-state.
108
1.9. Stability areas determination
P( j )
A( j ) P( j ) vQ( j ) v U ( ) jV ( )
Q( j )
Let’s plot the locus with axis U ( ), jV ( ) . The locus divides the complex plane
into subareas with the certain range of varying parameter change. Selecting in
subarea the arbitrary value of the investigated parameter v substitute its value into
the characteristic polynomial and find polynomial roots. If n-left roots of n order
characteristic polynomial are in area then this area is called D(n)- area. If n-m of
left roots but m of right roots m then the area is called D(n-m) area.
Analyze the example using MathCAD
D-decomposition method
3 2
D( p k) p p p k
2 3
k i
2 3
U V
109
solve p
1.1118
D pk
2 float 5
.55901e-1 1.0589i
.55901e-1 1.0589i
0.6
0.4
0.2
V( )
0.4
0.6
U( ) Re( k)
T
ORIGIN 1 T ( 0.04 0.08 0.25 ) T 0.2 T 0.4
T p 0 0 0 1
1 T1 p 1 0 0 0
A p T 0 1 T p 1 1
2
0
0 0 1 T p 0
3
0 0 0 1 T p 1
A p T
collect T
5 3 2 4
.160e-3 p .880e-1 p .49 p p .680e-2 p T 1.
float 3
1
( p )
.160e-3 p 5 3 2
.880e-1 p .49 p p .680e-2 p
4
110
T
20 20 0.01 20 T ( 0.05 0.25 i 0.08 0.025 )
25.614
( 10.227) 7.4396i
solve p
T 0.05 A p T 0 ( 10.227) 7.4396i
1 1 float 5
1.7839 5.2278i
1.7839 5.2278i
25.134
( 8.5027) 4.9867i
solve p
T 0.25 A p T 0 ( 8.5027) 4.9867i
2 2 float 5
( .18014) 3.1945i
( .18014) 3.1945i
( 25.146) .37205i
( 11.589) 4.6065i
solve p
T 0.025 0.08i A p T 0 ( 7.4132) 7.4857i
3 3 float 5
( .77487) 6.0487i
2.4230 2.7975i
A( p) P( p) Q( p) 0
n m
z q
i i
x0 i 1 i 1
nm
P( p)
f ( p )
Q( p)
112
Critical value of the required parameter at which the system is at the stability
margin is determined at branches points of root locus crossing with imaginary axis.
Critical value can be obtained by solving the equation:
A( j ) P( j ) Q( j ) X (, ) jY ( , ) 0
X ( , ) 0
,
Y ( , ) 0
will be stable.
Use MathCAD to solve the problem
k
W с( p k) simplify
4 3 2
k p 8 p 19 p 12 p
Characteristic polynomial of a closed loop system
4 3 2 4 3 2
C( p k) k p 8 p 19 p 12 p P( p ) p 8 p 19 p 12 p Q( p k) k
L( k) polyroots ( k 12 19 8 1 )
T
0
4
The beginning points of root locus branches p P( p) solve p
3
1
i
100
Roots trajectories calculation in locus N 500 i 0 N x
i
i 0.1 Lc L x
i
N
113
3
p
k
k 0
Asymptotes center point calculation x0 x0 2
4
solve p 2.
.4188
d
C p k
dp float 5
3.5812
3.99141 1.21066i
3.99141 1.21066i
L x j 127 x 25.5
j 0.00859 1.21066i j
0.00859 1.21066i
Im Lci
0
Im Lci 1
1
Im Lci
2
Im Lci
3
5 4 3 2 1 0 1
Im L xj
Im( Z )
1
Re Lci Re Lci 1 Re Lci 2 Re Lci 3 Re L xj Re( Z )
0
114
k 4 19 2 solve k 0 0
1.2248 26.250
3 float 5
( 8) 12 1.2248 26.250
N R ( p ) a1 p a0
R( p)
DR ( p ) b1 p b0
( p) p3 2 p 2 1 p1 0
where 0 , 1 , 2 are given numbers. Making the coefficient with the same power
of p in the last two equations we obtain:
115
p 3 : b1 1
p 2 : n1a1 d1b1 b0 2
p : n0 a1 n1a0 d1b0 d 0b1 1
p 0 : n0 a0 d 0b0 0
0 0 1 0 a0 1
n 1
1 0 d1 a1 2
n0 n1 d0 d1 b1 1
0 n0 0 d 0 b0 0
1
a0 0 0 1 0 1
a n 0 d1 1
1 1 2
b1 n0 n1 d0 d1 1
b0 0 n0 0 d0 0
Square matrix in this formula (it is called Sylvester matrix) needs to be reversible.
116
CHAPTER 2. NONLINEAR DYNAMIC SYSTEMS
117
equilibrium point of "saddle" type
118
Let’s analyze phase space method relating to dynamic system of the second
order.
dx
dt F1 ( x, y )
, (1)
dy
F ( x, y )
dt 2
dy F2 ( x, y )
(2)
dx F1 ( x, y )
At equilibrium points time derivative turns zero, then we obtain the expression
0/0 which has no defined value and is called an indeterminate form:
dy F2 ( x, y ) 0
(3)
dx F1 ( x, y ) 0
The points at which there are uncertainties are called singular points. In singular
points on phase plane solutions can bifurcate. Let us describe equilibrium state points
search algorithm.
At equilibrium state the given variables x and y do not change, hence
derivatives equal zero:
0 F1 ( x, y )
(4)
0 F2 ( x, y )
By solving the given nonlinear equations system we find equilibrium state points
x0 , y0 . After determining equilibrium state point coordinates one need to determine
point type. To determine point type expand F1 ( x, y ) and F2 ( x, y) functions in
119
equilibrium state points neighborhood x0 , y0 ,and analyze the first three expansion
terms:
F1 F1
F1 ( x, y ) F1 ( x0 , y0 ) x x x0 y y y0 ...
(5)
F ( x, y ) F ( x , y ) F2 x x F2 y y ...
2 2 0 0
x
0
y
0
F1 F1
x y a a
A ( x0 , y0 ) 11 12 (6)
F2 F2 a21 a22
x y
I A 0 . (7)
120
2. Both eigenvalues are real and negative:
1 0, 2 0
121
1 j , 2 j
Let’s analyze some examples of equilibrium state points determination and determine
their type using MathCAD.
ORIGIN 1
d 2 2
x x y 17
dt
d
y x y 4
dt
2 2
x y 17 0
x y 4 0
4 1
x y 17
2 2
x 1 4
z solve
x y 4 y 1 4
4
1
1 2 1 0
xoz yo z I
0 1
1
xoz Expand nonlinear functions in the neighborhood of equilibrium state
points.
2 2
x y series x 4 y 1 2 ( 17) 8 x 2 y
8 2
a
1 4
122
8.449 point with coordinates x=-4 и y=1 is a stable node
eigenvals ( a)
3.551
x y series x 4 y 1 2 4 4 y x
2
a I 30 12
2 2
x y series x 1 y 4 2 ( 17) 2 x 8 y
2 8
a
4 1
x y series x 1 y 4 2 4 y 4 x
2
a I ( 30) 3
2 2
x y series x 1 y 4 2 ( 17) 2 x 8 y
2 8
a
4 1
x y series x 1 y 4 2 4 y 4 x
2
a I ( 30) 3
2 2
x y series x 4 y 1 2 ( 17) 8 x 2 y
x y series x 4 y 1 2 4 4 y x
8 2
a
1 4
123
Phase portrait of dynamic system
d 2 2
x x y 5
dt
d 2 2
y x y 13
dt
2 2
x y 5 0
2 2
x y 13 0
3 2
x2 y 2 5
z solve x 3 2
2 2 y 3 2
x y 13 3
2
1 2 1 0
xo z yo z I
0 1
2 2
x y series x 3 y 2 2 ( 13) 6 x 4 y
124
6 4 2
a a I 48 10
6 4
eigenvals(a)
5 4.796i point with coordinates x=3 и y=2is called an unstable focus
5 4.796i
2 2
x y series x 3 y 2 2 ( 5) 6 x 4 y
2 2
x y series x 3 y 2 2 ( 13) 6 x 4 y
6 4
a
2
a I ( 48) 2
6 4
2 2
x y series x 3 y 2 2 ( 13) 6 x 4 y
6 4 2
a a I ( 48) 2
6 4
2 2
x y series x 3 y 2 2 ( 5) 6 x 4 y
2 2
x y series x 3 y 2 2 ( 13) 6 x 4 y
6 4 2
a a I 48 10
6 4
125
Example 3. Determine equilibrium state point type of a linearized dynamic
system.
d
x x 4 y
dt
d
y 2x 5 y
dt
A
1 4 1 Point type x=0, y=0 unstable node
eigenvals ( A )
2 5 3
d
x x y
dt
d
y x 3 y
dt
126
2.1.1. Phase portraits construction with the help of surfaces.
d 2x
F ( x) (8)
dt 2
Taking into account that force equals potential function gradient with negative sign
the equation can be presented as:
dU ( x) d 2x dU ( x)
F ( x) (9)
dx dt 2 dx
dv dU dx 1 dv 2 dU d v2
v 0 U 0
dt dx dt 2 dt dt dt 2
From the obtained formula it follows that formula in brackets equals some constant E
v2 x
U ( x) E ( x, v) где U ( x ) F ( x ) dx (10)
2 0
Now let’s investigate the dynamic system having the form of:
dx
dt 2 y
dy 4 x 4 x3
dt
127
Denote velocity in the first equation by 2y , in the second equation denote the right
part by force influencing the particle with unit mass, then auxiliary potential function
U ( x ) 4 x 4 x 3 dx 2 x 2 x 4
0
U ( x) 2 y 2 E 2x2 x4 2 y 2 E
d
x 2y
dt
d 3
y 4x 4x
dt
3
F1( x y ) 2 y F2( x y ) 4 x 4 x
0 0
x 1 y 0
1 0
Find Jacobian
F ( x y ) F1( x y )
x 1 y 0 2
A ( x y ) Ax y
F ( x y ) 4 12 x2 0
F2( x y )
x 2 y
128
0 2
0 0
A 1 A x y A1
4 0
eigenvals A 1
2.828
Saddle point
2.828
4i
Centre
4i
4i
Centre
4i
0.5
129
Surface E
i j i j
E x y
All curves on phase plane are closed curves hence the solutions will be
periodic.
2 x
1
x0 0
x x0 y 0 rkfixed
0 T N D
3
D( t x) N 10 T 10 t x( 0 0)
4 x 4 x 3
0 0 y 0
130
1.25
2
x( 1.5 0)
2
x( 1.3 0)
2
x( 1.3 0)
2
x( 1.15 0) 1.5 0 1.5
2
x( 1.15 0)
2
x( 1.41425 0)
1.25
2 2
1
1 2
x( 1.5 0) 0 x( 1.5 0) 0
2 2
0 5 10 0 5 10
t t
1.42 1
1 0 2
x( 1.41425 0) x( 1.41425 0) 0
1.42 1
0 5 10 0 5 10
t t
131
1 0.5
2 1
x( 1.3 0) 0 x( 1.3 0) 1
1 1.5
0 5 10 0 5 10
t t
0.5 0.8
2 1
x( 1.15 0) 0 x( 1.15 0) 1
0.5 1.2
0 5 10 0 5 10
t t
The more is the field covered by phase curve the longer is oscillation period
Motion equation of generator rotor for small frequency change can be written as:
d 2
PT PГ (11)
dt 2
Rewrite the equation as the system of first order equations .Normalize the presented
equations by and taking into account that PГ Pm sin( ) :
d
PT Pm sin( )
dt
(12)
d
dt
Find equilibrium state points of dynamic system and plot phase portrait using
MathCAD
132
PT 0.7 Pm 1
d
F1( x y ) y F2( x y ) 0.7 sin ( x)
dt
PT Pm sin
d
dt
solve
x
F1( x y) x0
y ( .77540 0 ) zT 0.775 0
z
F2( x y) float 5 y
x x
1 0
y y
1 0
x y
0 2.366 0
Find Jacobian
F ( x y ) F1( x y )
x 1 y 0 1
A ( x y )
A x y cos x 0
F ( x y )
F2( x y )
x 2 y
0.845i
Centre
0.845i
133
0.2
0.1
U ( x)
0.4 0 0.4 0.8 1.2 1.6 2 2.4 2.8 3.2
0.06 0.1
0.2
0.3
Surface E
i j i j
E x y
x x0 0
D( t x) x x0 y 0 rkfixed 0 T N D
1
0.7 sin x0
3
N 10 T 35 y 0
t x( 0 0)
Closed curves on phase plane are periodic solutions, open curves are unstable
solutions.
134
1.25
2
x( 3.2 0.9)
2
x( 0.1 0)
2
x( 0.25 0)
2
x( 1.15 0) 0.4 0 0.4 0.8 1.2 1.6 2 2.4 2.8 3.2
2
x( 3.2 0.774)
2
x( 3.2 0.7)
1.25
10 16
1 2
x( 3.2 0.9) 7
x( 3.2 0.9)
0 5 10 15 2 0 17.5 35
t
t
16 4.4
1 2
x( 3.2 0.774) 7 x( 3.2 0.774) 1.8
0 17.5 35
20 17.5 35 0.79
t t
135
2 1
1 2
x(0.1 0) 1 x( 0.1 0)
0 17.5 35
1
0 10 20 30
t t
1.15
1 2
x(1.15 0) 0.8 x( 1.15 0)
0 17.5 35
0.44
0 17.5 35
t t
Let us apply phase plane technique to detect important features of the process
taking place in nonlinear system of turbine rotation frequency regulation by constant
velocity servomotor described by equations [5]:
c-скорость
F ( )
-c
136
rotor
d
T ; (13)
dt
control element
; (14)
d
F ( ) . (15)
dt
Where F ( ) :
F ( ) сsign( ) . (16)
d
x , y .
dt
dx
dt y
dy F ( ) где F ( ) с sign( x yTx ), x yTx (17)
dt Tx
x yTx 0, y x / Tx (18)
137
dx
dt y dy c 2cx
dy y2 C1 (19)
c dx Tx y Tx
dt Tx
dx
dt y dy c 2cx
dy c y2 C2 (20)
dx Tx y Tx
dt Tx
dy c x c 1
, y yc (21)
dx Tx y Tx Tx y Tx
dx x dx x
y , y x (t ) C3e t /Tx (22)
dt Tx dt Tx
Sliding process
Let’s analyze the solution with phase portrait plotting with use of MathCAD.
138
3
F( x) sign ( x) 1 T1 0.01 N 10
x
1
x0
D( t x) F x T1 x T 0.2 x x0 x1 rkfixed
0 T N D
0 1
x1
T1
1 0
y ( z) z z 0.05 0.05 0.01 0.1 p 0.5 0.5 0.001 0.5 t x( 0 0)
T1
0.12 4
1 2
x( 0.02 4) x( 0.02 4)
0.06 2
1 2
x( 0.03 4) x( 0.03 4)
1 2
x( 0.0 4) 0 0.05 0.1 0.15 0.2 x( 0.0 4) 0 0.05 0.1 0.15 0.2
1 2
x( 0.02 4) 0.06 x( 0.02 4) 2
0.12 4
t t
4 1.2
2 3 0.8
)
x(0.034
2 2 0.4
x( 0.03 4)
1 F(p)
2 0.5 0.25 0 0.25 0.5
x( 0.0 4)
0.4
2 0.15 0.1 0.05 0 0.05 0.1 0.15
x( 0.01 4) 1 0.8
y(z) 2 1.2
3
p
4
b x yTx b x yTx b
F ( )
b x yTx b x yTx b
-c
139
Plot its slopes on phase plane (see MathCAD document below)
In difference from the above ideal example in this case one more area appears
dx
dt y dy
0 y const
dy 0 dx
dt
Straight lines are parallel to axis x .Now equilibrium state is not one point but the
segment.
y 0, b x b
3
F( x) sign ( x) 1 b 0.02 F( x) sign ( x) if( b x b 0 1) T1 0.01 N 10
x
1
x0 0
D( t x) F x T1 x T 0.23 x x0 x1 rkfixed
0 T N D t x( 0 0)
0 1
x1
T1
1 b 1 b
z 0.1 0.1 0.01 0.1 y1( z) z y2( z) z p 0.05 0.05 0.00025 0.05
T1 T1 T1 T1
0.12 4
1 2
x(0.02 4) x( 0.02 4)
0.06 2
1 2
x( 0.03 4) x( 0.03 4)
1 2
x( 0.0 4) 0 0.058 0.12 0.17 0.23 x( 0.0 4) 0 0.058 0.12 0.17 0.23
1 2
x( 0.02 4) 0.06 x( 0.02 4) 2
0.12 4
t t
140
4 1.2
2 3
)
x(0.034 0.8
2 2
x( 0.03 4) 0.4
2 1
x( 0.0 4)
0.05 0.025 0 0.025 0.05
2
x( 0.01 4) 0.15 0.1 0.05 0 0.05 0.1 0.15 0.4
1
y1(z) 0.8
y2(z) 2
1.2
3
dx
dt f1 ( x, y )
(23)
dy f ( x, y )
dt 2
where functions f1, f 2 are arbitrary and possess any kind of nonlinear nature but
always satisfies the condition f1 f 2 0, при x1 x2 0 , as in steady state all
variables deviations and their derivatives equal zero. A certain function of system all
phase coordinates (23) V ( x, y) can be entered where x, y are variables deviations
from some steady values. The function can be presented in two-dimensional space.
Then in each point of phase space V will possess the definite value and at the
beginning of coordinates will equal zero.
The function V is said to be definite sign function in some area if in any point inside
the area function V has definite sign and turns to zero at the beginning of coordinates.
141
Let us analyze the example of definite sign positive function of the second order
system n = 2
V ( x, y ) x 2 y 2 (24)
V ( x, y )
i j V ( x, y) gradV ( x, y)
x x
dV V V dx V dy V V V
V ( x, y ) f1 ( x, y) f2 ( x, y)
dt t x dt y dt t x y
dV
V , v , v f 1 , f2
dt
142
dx
dt x x
3
dy y 3
dt
Let us choose Lyapunov definite sign function of type:
V ( x, y ) x 2 y 2
y F ( x) . (25)
x Asin(t ) (26)
Fourier series
143
2
1
y F ( A sin(t ))
2 F ( A sin( ))d
0
2
1 1 2
F ( A sin( ))sin( )d sin( ) F ( A sin( ))cos( )d cos( )
0 0
high harmonics
2
1
2 F ( A sin( ))d 0
0
(27)
x
y q( A) x q( A) high harmonics (28)
x
y q ( A)a q( A) high harmonics
(29)
p d
q ( A) q( A) x, p
dt
2 2
1 1
q ( A)
A
0
F ( A sin( ))sin( ) d , q( A)
A F ( A sin( ))cos( )d ,
0
(30)
144
p p
y q ( A) q( A) x, W ( A, p ) q ( A) q( A) , p j
(31)
j
W ( A, j ) q ( A) q( A) q ( A) q( A) j
Transfer function does not depend on frequency. It increases the magnitude of input
signal and is called complex amplifying coefficient.
Thus nonlinear element can be substituted by linear element.Its frequency
response depend on amplitude of input signal.
Example. Find amplification complex coefficient of given nonlinear component. We
use MathCAD
F if 0 1 1 b 0.8
F_ if b b 0 F nonlinear component characteristic
4
1 1 10 1
1.5 1.5
1 1
0.5 0.5
F_ ( ) F_ ( sin( t ) )
1 0.5 0 0.5 1 0 2.36 4.71 7.07 9.42
0.5 0.5
1 1
1.5 1.5
t
Nonlinear element characteristic and output signal
145
a( 3) 0.409 f3( t) a( 3) 3 sin ( t)
1.5 1.5
1.5 1.5
t t
1.5
F_ ( 3 sin( t ) )
1.5
f( x) if( bb x bb 0 f( x) )
1.5 1
1
0.5
0.5
f( x) f( sin( t ) )
1.5 0.75 0 0.75 1.5 0 2.36 4.71 7.07 9.42
0.5
0.5
1
1.5 1
x t
Nonlinear element characteristic and output signal
146
2
1
a( A ) F( A sin ( t) ) sin ( t) dt
A 0
a( 1) 0.427 f1( t) 0.427 sin ( t) a( 2) 0.936 f2( t) 0.936 2 sin ( t) a( 3) 1.121 f3( t) 1.121 3 sin ( t)
1 2.5
0.5 1.25
f( sin( t ) ) f( 2 sin( t ) )
f1( t ) 0 1.57 3.14 4.71 6.28 f2( t ) 0 2.36 4.71 7.07 9.42
0.5 1.25
2.5
1
t
t
2
f( 3 sin( t ) )
With the help of nonlinear element harmonic linearization the closed loop
system(Fig.a) equates to the system with linear equivalent element(Fig
b).Investigation of system with nonlinear element
results in linear system investigation.
147
(32)
Where q( A) , q( A) are harmonic linearization coefficients. Equation solution
provides us equilibrium state points П , AП .
At solving the problem Goldfarb diagram is easy to use,its algorithm is given below.
Goldfarb diagram
1. Plot the locus W ( j)
V() 2. Plot the locus 1 / WH ( A)
W(j) 3. Find П , AП solving the equation :
148
4
q ( a)
a
U q ( a) 1 solve
w V q ( a) 0 a ( 1. 1.2732)
float 5
0
0 a0 w 0 1 a0 1.273
1
0 .01 10 M ( a) U( 1) 1 a 0 0.1 2.3
W H( a)
0.3
U( ) Re( M ( a) ) Re M a0
149
Literature
1. Iy.I.Yurevich. Automatic Control Theory. StPb.:BHV- St. Petersburg 2007.
560p.
2. Rao V.Dukkipaty. Control System. Alpha Science International Ltd.
Harrow,U.K. 2005. 698 p.
3. Е.А.Nikulin. Backgrounds of Automatic Control Theory. StPb.:BHV- St.
Petersburg 2007. 640p.
150