Chapter 7
Chapter 7
The relative stability and the transient performance of a closedloop system are directly related to the location of the closed-loop roots of the characteristic equation in the s-plane. It is frequently necessary to adjust one or more system parameters in order to obtain suitable root location. It is useful to determine the locus of roots in s-plane as a parameter varied since the roots is a function of the systems parameter. The root locus technique is a graphical method for sketching the locus of roots in the s-plane as a parameter is varied and has been utilized extensively in control engineering practice. It provides the engineer with a measure of the sensitivity of roots of the system a variation in parameter being considered. The root locus technique may be used to great advantage in conjunction with the Routh-Hurwitz criterion. Who and when this method has been developed?
S-Plane
KG ( s ) 1 + KG ( s )
1+KG(s)=0
-1 1
=>
KG(s)=-1
=>
KG(s)=-1+j0
KG(s) KG(s) = e j
KG(s)
KG ( s ) = 1
KG(s) = k 3600 +
The values of s that fulfill the angel and magnitude conditions are The roots of the characteristic equation or the closed-loop poles.
T =
KG ( s ) 1 + KG ( s )
characteristic equation:
1+KG(s)=0
The root locus is the path of the roots of the characteristic equation traced out in the s-plane as a system parameter (K) is changed. (0<k<).
K=0, this collapses to D(s )= 0. Since the roots of D(s )= 0 are the poles of G(s), those are the closed-loop poles for K=0. When K is large,
When thus the closed-loop poles tend to the roots of i.e. the open-loop zeros. If the closed-loop poles tend to infinity.
N(s )=0,
If D(s)->
Geometric Interpretation
If
then the magnitude and phase of some G(s*) may be found by drawing vectors from the singularities to the point s*:
Geometric Interpretation
*
G(s* ) = 1 1 2 3 4
Geometric Interpretation
*
1 1 2 3 4
G(s* ) = 1 1 2 3 4
Assume K>0. For K=0 the roots are 0,-2. For K=1 system is critically damped with poles at s=-1. For 0<K<1, system is overdamped with roots at: s= For K>1, system is underdamped with roots at: s=
2 s 2 + 2n s + n =0
Locate the poles and zeros on the s-plane with selected symbols (o-zero, X-pole) The RL (root locus) starts at the n open-loop poles The RL ends at the open loop zeros, m of which are finite, n-m of which are at infinity
( sr + zi ) = ( sr + p j ) = 1800
( s r + z i ) = ( s r + p j ) = 0
GH ( s) = 1800 (n zr n pr )
where n zr is the number of open-loop zeros to the right of sr and n pr is the number of open-loop poles to the right of sr . The angle
GH ( s ) = (2h + 1) = (2h + 1)180 0 , n = 0,1,2,3...
only if nzr npr = odd, which is equivalent to their sum being odd.
The root locus exists on the real axis to the left of an odd number of poles and zeros.
? ?
Where n p is the number of open loop-poles, n z is the number of open- loop zeros and The asymptotes intersect the real axis at a point called the pivot or centroid given by
p z
j =1 j i =1
np
nz
n p nz
p z
j =1 j i =1
np
nz
n p nz
as approaches infinity :
k = (s )
If the angle of asymptotes is when s ,
= ( s )
(n p nz )( s ) = (n p nz ) = (1 + 2q)1800 = (1 + 2q)1800 n p nz
q = 0,1,...,(np nz 1)
p z
j=1 j i=1
np
nz
np nz
20 = 1 20
A zero-entry appears in the first column, and all other entries in that row are also zero
-Solution: Return to the previous row and form the Auxiliary Polynomial, qa(s), which will be a divisor of the original q(s), divide out qa(s), and proceed. The auxiliary polynomial is the polynomial immediately precedes the zero entry in Routh array. The order of the auxiliary polynomial is always even and indicates the number of symmetrical roots pair. Example:
q( s ) = s 3 + 2 s 2 + 4 s + K ,
s3 s2 s1 s0 1 2 8 K 2 K 4 K 0 0
q(s) / qa (s)
1/ 2s +1 2s2 + 8 s3 + 2s2 + 4s + 8
s3 2s2 2s2 + 4s +8
+8
qa ( s )
0 < K < 8.
When K=8
Breakaway Points
If the root locus branches away (or break-in) the real axis then K has an extremum there for real s . Define 1 = p(s) k (s) = GH ( s ) dk This means to evaluate the points on the real axis where ds = 0 Why? Let us assume that
p ( s ) = ( s r1 ) n ( s r2 )K( s rm ) = K .
r1 is the repeated roots of p(s), therefore the breakaway point, n 2. dK dp ( s ) = = n( s r1 ) n 1 ( s r2 )...( s rm ) Then ds ds + ( s r1 ) n ( s r3 )...( s rm ) + ...
+ ( s r1 ) n ( s r2 )...( s rm 1 ) = 0
Breakaway Points
dK dp ( s ) = = n( s r1 ) n 1 ( s r2 )...( s rm ) ds ds + ( s r1 ) n ( s r3 )...( s rm ) + ... + ( s r1 ) n ( s r2 )...( s rm 1 ) = 0
Hence,
Breakaway Points
Breakaway Points
Each break point is a point where a double (or higher order) root exists for some value of K.
Breakaway Points
Obtaining the breakaway points Rewriting the characteristic equation to isolate :
Breakaway Points
Third-Order System
p z
j =1 j i =1
np
nz
( 2 q + 1)( 180 0 ) = n p nz
i
q = 0,1,2,...(n p nz 1)
n p nz
Third-Order System
Third-Order System
p z
j =1 j i =1
np
nz
( 2 q + 1)( 180 0 ) = n p nz
i
q = 0,1,2,...(n p nz 1)
n p nz
S=-2.45
F ( s) = G( s) H ( s) =
p ( s ) = 1800 q3600 ,
K . 2 2 ( s + p 3 )( s + 2 n s + n ) q = 1,2,....
The angles at a test point s1 , an infinitesimal distance from, must meet the angle criterion.
0 Therefore since 2 = 90, we have
Phase criterion
1 + 2 + 3 = 1 + 90 0 + 3 = +180 0 ,
or the angle of departure at pole p1 is
1 = 90 0 3 ,
1 = 90 0 3 ,
1 + 2 + 3 = 90 0 + 2 + 3 = +180 0 ,
or
2 = 270 0 3 = 90 0 3
2 3 = 1 + 270 0
90 0 + 2 3 = 1 + 360 0.
1 + 360 = 1 = 90 + .
0 0
Determine the parameter value K x at a specific root s x using the magnitude requirement. The magnitude requirement s x at is
Kx =
| (s + p j ) |
j =1 M
| ( s + zi ) |
i =1 s = sx
Fourth-Order System
Fourth-Order System
n=4 and m= 0 implies that there are 4 infinite zeros. N=4 implies that there are 4 separate loci
Fourth-Order System
Asymptotes: Angles:
Centroid:
p z
j =1 j i =1
np
nz
n p nz
Fourth-Order System
Intersection with imaginary axis
=0
Fourth-Order System
Breakaway point: s -1.6
Fourth-Order System
Angle of departure: Angle of departure at pole
Because
Fourth-Order System
=0.707
Fourth-Order System
Step 3:
Step 6:
0.2 Imag Axis 0 -0.2 -0.4 -0.6 -0.8 -1 -3 -2.5 -2 -1.5 -1 Real Axis -0.5 0 0.5 1
0.5
-0.5
-1
-1.5 -2
-1.5
-1
0.5
GH (s) =
2 1.5 1
Imag Axis
0.5 0 -0.5 -1 -1.5 -2 -2.5 -3 -2.5 -2 -1.5 -1 -0.5 Real Axis 0 0.5 1 1.5 2
Imag Axis
2 0 -2 -4 -6 -8 -3
-2.5
-2
-1.5
-1
0.5
1.5
Self-Balancing Scale
Self-Balancing Scale
For small deviations
Self-Balancing Scale
Type 1 system
Design by adjusting Km
Note that the dc gain is lw/Wc and is independent of the motor gain this is the effect of the integrator. (Type one system) The damping ratio requirement implies that the closed loop poles are 60 (cos=) up from the negative real axis, and gives an overshoot of 16%. The settling time constraint requires that Ts<2=4/n or that n>2 for the closed-loop dominant poles. Note also, for this third order system, that the above conditions apply only if the complex closed loop pole pair is dominant (i.e. the third pole is roughly 10 times the distance away from the complex axis of the dominant pair).
Self-Balancing Scale
60 ? ? Type 1 system
double poles
n>2
Self-Balancing Scale
60
Type 1 system
n>2
PID Controller
Textbook
PID controller:
which corresponds to
In practice:
PID Controller
PI controller: Used extensively in process control on a broad range of applications due to simplicity and relatively good performance PI controller: PD controller: Used extensively in controlling electromechanical systems PD controller:
PID Controller
Consider the PID controller
The PID controller introduces a pole at the origin and two zeros
PID Controller
Using a PID:
Z2
Z* 2
Find a suitable K so that ess <0.1 mm for a ramp input r(t)=At where A=1 mm/s
where Hence
To achieve the rapid and accurate control a robot, it is is important to keep arm stiff and yet lightweight. The specification for controlling the motion of a lightweight, flexible arm are 1) a setting time < 2 second 2) a percent overshoot <10% for a step 3) a steady-state error of zero for a step
First we consider K2=0, Complex zeros: Real poles: s=0; s=-10 Complex poles: ? ? double poles
Root locus on real axis? How the root locus look like?
First we consider K2=0, Complex zeros: Real poles: s=0; s=-10 Complex poles: Is this system stable for K1>0? The system is unstable since two roots of closed system appear in the right-hand s-plane for K1>0. double poles
We select in order to the adjustable zero near the origin for canceling the affect of the poles. The system has 5 zeros and 7 poles.
With z=1 and p=5,K2=5, when K1=5 we obtain a step response with an overshoot of 8% and a settling time of 1.6 seconds. The specification for controlling the motion of a lightweight, flexible arm are 1. a setting time < 2 second 2. a percent overshoot <10% for a step 3. a steady-state error of zero for a step
ess=?
The system has integral gain. Goal: selecting K1 and K3, using root locus method, to meet the specifications.
The system as designed meets all the specifications. The 20 ms setting time is the time it takes the system to practically reach the final value. In reality, the system drifts very slowly toward the final value after quickly achieving 97% or 98% of the final value.