CS Chapter 8
CS Chapter 8
Analysis
Frequency
response curve
• Now let the spring be a nonlinear element.
Restoring spring force k1x k2 x
3
Decreasing amplitude x
dt dt
dx
States of the system: x1 x and x2
dt
The state variables (defined in this manner) are
called phase variables.
dx1 dx2
Thus: x2 n2 x1 2n x2
dt dt
Responses and phase-trajectories for various dampings
x
for 1 (0) x1 and x2 (0) 0 are shown.
0
-X2
-X2
-X2
• When the differential eqs. describing the dynamics
are nonlinear, it is in general not possible to obtain a
closed form solution of x1 and x2
(Example: Mass-nonlinear spring-damper system).
x Ax
For this linear autonomous system, the equilibrium
state xe satisfy Axe 0
If A 0 , then xe 0 is the only solution.
1
0 2
z 2 z z
z 2
2 2 2
Stable Node
It is obvious (from previous analysis) that the singular
point is located at the origin.
2
Phase-trajectory: z2 czk1
k1 0
1
1
The phase-portrait is shown for various initial conditions.
k2 2
z2 c( z1 ) k2 0
1 ( z ) k2
z2 c
1
0
j z2
z2
1 j
z1 2 2 y1
Transformation: z2 1 j y2
2 2
y1 y1
y y2
2
y1 y1 y2 and y 2 y1 y2
dy2 y2 ky1
;k
dy1 y1 ky2
y2
Define: r y y
2 2
1
2
2 and tan
y1
t
Then: r (t ) ce
and (t ) t 0
where c is a constant and (0) 0
This is the equation of a spiral. Two plots of this eq., i.e.,
negative values of (stable focus) and positive values
of (unstable focus) are shown.
y2 y1
y1
Stable Focus
y2
y1
y1
Unstable Focus
Centre or Vortex Point:
System eigenvalues: 1 , 2 j
dy2 y1
(from previous section analysis)
dy1 y2
y1dy1 y2dy2 0
Solution: y y2 c Circle.
2 2 2
1
c depends on the initial conditions. This type of
singular point is known as a center or vortex point.
N.B: When one or both eigenvalues are zero, there will
be many singular points.
Example: Say 1 0
Then z1 0 and z2 2 z2
Thus every single ( z1 , z2 ) (c,0) is an equilibrium state
where is c an arbitrary constant.
Example: Nonlinear PD controller for 2nd order system
• With derivative controller, the system damping
increases and setting time reduces ( K v maintained).
However, for a low rise time requirement, the design
specifications become contradictory.
For such a scenario, nonlinearity is intentionally
introduced for advantage in meeting the contradictory
requirements of low rise time and low setting time.
• This can be done by making the derivative term
dependent on error magnitude. By suitably
designing the nonlinear function f e , the derivative
term kD f e e can be kept low under large error
conditions giving smaller rise time. This term can
also be made larger for small errors to reduce the
settling time.
System Eqs: e K f e e K e e er c
D v
If r = constant, e c and e c
So, e 1 Kf e e K ve 0 where K=K D K v
State variables: x1 e x2 e
Kv 1 Kf ( x1 )
So, x1 x2 x2 x1 x2
Let x1 x2 0
The only equilibrium point is at: x1 0 and x2 0
By linearization:
0 1
A Kv 1 Kf (0)
x Ax
Eigenvalues of A are:
1 Kf (0) 1 1 Kf (0) Kv
2
1 , 2
2 4
N.B: A desirable design feature can be that the
system response rises and settles fast without
oscillations. For this, the equilibrium point must be a
stable node.
2
If x 1 initially, the damping factor is large positive.
The system thus behaves like an overdamped system
(it decreases x ). In this process, the damping factor
also decreases and the state finally enters a limit cycle
as shown (outer trajectory).
• Similarly, if x 1 initially, the damping is negative.
Hence x increases till the state again enters the limit
cycle (inner trajectory).
This limit cycle is stable since the paths in its
neighborhood converge toward the limit cycle.
If the paths in the neighbourhood of a limit cycle
diverge away from it, the limit cycle is unstable.
Example (unstable limit cycle):
2
d x 2 dx
(Sign of damping term
2
(1 x ) x 0 is reversed)
dt dt
N.B: In general, limit cycle is an undesirable feature in
a control system. This is tolerable only if its amplitude
is within some defined limits.
In linear autonomous systems, when oscillations
occur, the resulting trajectories will be closed curves.
The amplitude of oscillations (not fixed) changes with
the size of initial conditions. Slight changes in system
parameters (shifting the eigenvalues from the
imaginary axis) will destroy the oscillations.
1 2
A1 y sin t d (t )
0
1 2
B1 y cos t d (t )
0
B1
Y1 A B , 1 tan
1
2 2
1
1
A1
Y1
K N (X, ) 1
So, X
Example: Dead-zone and saturation nonlinearity
Sinusoidal Response
0 , 0 t
K x D , t
2
D
D , where sin 1 and
y K S , t ( ) 2X
2
D S
K x ,( ) t ( ) sin 1
2 X
0 , ( ) t
2 2M H
B1 y cos t d (t )
0 X
2M
sin sin
2 2M
A1
0
y sin t d (t )
(cos cos )
2M D
2 2
D 2H
1 1
2X 2X
2
2
B1 2M H and A1 2M
D
D 2 H
X X
1 1
X X X
2X 2X
D
0 ,X
2
Thus, K N ( X ) = 2 2
A1 B1 tan 1 B1 ,X
D
X X A1 2
• This K N ( X ) is independent of frequency. But, it being
a memory type nonlinearity (i.e., output is dependent
on input history), K N has both magnitude and angle
(lagging angle is equivalent to having effect of pole
in linear system).
Case 1: Ideal Relay: D H 0
4M
KN ( X ) =
X
Case 2: Relay with dead zone: H 0
D
0 ,X
D 2
KN ( X ) 2
M 4D 1 D , X D
X
2 X 2
Case 3: Relay with hysteresis: H D
H
0 ,X
H 2
KN ( X )
M 4 H sin 1 H ,X
H
X 2X 2
Ideal Relay: 1
For the relay: E
K N (E) 4
(E amplitude of sinusoidal error signal e )
• Consider G( j ) plot for K K1which intersects 1 K N ( E )
locus at A resulting in a limit cycle of amplitude E1
and frequency 1 . As an observer traverses G( j )
plot in the direction of increasing the portion OA of
the 1 K N ( E ) locus lies to its right and the portion AC
lies to its left. Thus, this limit cycle is stable.
• If the derivative dV x dt is negative for all x x(t0 ), t
except the equilibrium point, then it follows that the
energy of the system decreases as t increases.
Finally the system will reach equilibrium point.
x1 f x1 Kx1 0
State model: x1 x2 x2 Kx1 fx2
Theorem 3:
If all the conditions of Theorem 2 hold and, in addition,
V x as x ,
x Ax Autonomous system
This linear system is asymptotically stable in-the-large
at the origin if and only if, given any symmetric, positive
definite matrix Q , there exists a symmetric positive
definite matrix P which is the unique solution of
T
A P+PA= - Q
Proof: (Sufficiency Test)
Assume that a symmetric positive definite matrix P
exists which is the unique solution of
A T P+PA= - Q
Consider the scalar function: V x xTPx
V x 0 for x 0 and V 0 0
T
V x x Px+x T P x
xTATPx+xTPAx
x A P PA x -x Qx
T T T
V x x V x as
2
Then and x
T
V x x Px x Px x Qx > 0
T T
There is a contradiction since this V x indicates
instability.
Hence the conditions for positive definiteness of P are
necessary and sufficient for asymptotic stability of the
linear autonomous system.
Example:
x Ax 1 2
A
1 4
Let Q=I
ATP+PA -I
1 1 p11 p12 p11 p12 1 2 1 0
p
2 4 12 p22 p12
p22 1 4 0 1
2 p11 p12 1
2 p11 5 p12 p22 0
4 p12 8 p22 1
Solving these equations,
23 7
p11 p12 60 60
P
p12 p22 7
11
60 60
Using Sylvester’s criterion, it can be ascertained that P
is positive definite.
Krasovskii’s Method:
System: x f x ; f 0 0
T
Lyapunov Function: V = f Pf
where P is a symmetric positive definite matrix.
T
Now, T
V = f Pf+f P f
f x
f= =Jf
x t
f1 f1 f1
x x2 xn
1
f 2 f 2 f 2 is the Jacobian matrix.
J x1 x2 xn
f n f n f n
x x2 xn
1
V f J Pf f PJf f J P PJ f
T T T T T
Hence
Let Q=J P PJ
T
u g e , r 0, c e, ku e e
Let x1 e and x2 x1
So, x1 x2
x2 x2 Kg ( x1 )
The equilibrium point lies at the origin if g (0) 0
0 1
p11 p12
J dg ( x1 ) Let P
K 1
dx1 p12 p22
Now Q=J P PJ
T
dg ( x1 ) 0 1
0 K p11 p12 p11 p12
dx1
p12 p22 p12 p22 K
dg ( x )
1
1
1 1 dx1
dg ( x1 ) dg ( x1 )
2 p12 K p11 p12 p22 K
dx1 dx1
Q
dg ( x1 )
p11 p12 p22 K dx 2( p12 p22 )
1
For the system to be asymptotically stable, Q should
be positive definite.
dg ( x1 )
Thus, 2 p12 K 0 and
dx1
2
dg ( x1 ) dg ( x1 )
4 p12 K ( p12 p22 ) p11 p12 p22 K 0
dx1 dx1
2
dg ( x1 ) dg ( x1 )
4 p12 K ( p22 p12 ) p11 p12 p22 K
dx1 dx1
Assumption: K > 0 and choose p12 > 0
dg ( x1 )
• Thus, the first condition gives 0
dx1
Now choose p11 p12 and p22 p12 , 1
dx1
Now, these are the two conditions for which the
system is asymptotically stable.
For example, if g ( x1 ) x
3
1 (a nonlinearity lying
symmetrically in 1st and 3rd quadrants),
dg ( x1 )
3x1 0 (always)
2
dx1
According to the second condition,
4 1 1
x
2
2
3K
1