Beruflich Dokumente
Kultur Dokumente
x Ax +B u
•
y Cx
The state equation for
the closed loop system in
(b) can be written as
y Cx
a. State-space representation of a plant;
b. plant with state-feedback
Controller Design
x Ax +B u
•
y Cx
y Cx
0 1 0 .... 0 0
0 0 1 .... 0 0
A ; B 0 ;C c1 c 2 ... c n
a0 a1 a2 ... an 1 1
0 1 0 .... 0
0 0 1 .... 0
A BK
(a0 k 1 ) (a1 k 2 ) (a2 k 3) ... (an 1 k n )
And the charac. Equation by inspection is
det(sI (A BK )) s n (an 1 k n )s n 1 (an 2 k n 1 )s n 2
+....... (a1 k 2 )s (a0 k 1 ) 0
a1 0 0 1
For figure (a) x 0 a2 1 x 1 u
0 0 a3 1
a4 0 0 0
x 0 a5 1 x 1 u
For figure (b)
0 0 a6 1 a. controllable and
b. uncontrollable systems
Controllability matrix
•
An nth-order plant whose state equation is x Ax Bu
Is completely controllable if the matrix C M B AB A 2 B ... A n 1B
Is of rank n, where CM is called controllability matrix.
Problem given the system in figure, determine its controllability
Solution: the state equation for the system is 1 1 0 0
x 0 1 0 x 1 u
The controllability matrix is 0 1 2 0 0 2 1
C M B AB A 2 B 1 1 1
1 2 4
The rank of CM is 3, so
The system is controllable
Controller design by matching coefficients
Problem Given a plant Y(s)/U(s)= 10/[(s + 1)(s + 2)], design state feedback to
yield a 15% overshoot with settling time of 0.5 second.
Solution: writing the state equation
for (b) we have.
2 1 0
x x r; y= 10 0 x
k 1 (k 2 1) 1
1
We solve for P as
P C Mz C Mx
Controller design by transformation Example
For the desired design (20.8% overshoot and settling time of 4 seconds),
the dominant poles would give s 2 2s 5 we choose the third pole at
-4 to cancel the zero. So the total charac. Equation is
D (s ) s 3 6s 2 13s 20 0
Controller design by transformation Example
The state equation for the phase-variable form with feedback are
0 1 0
x (A x B x K x )x x
•
0 0 1
(10 k 1x ) (17 k 2 x ) (8 k 3x )
y 4 1 0 x
K z K x P 1 20 10 2
The final closed-loop system with state-variable feedback is shown in figure in
next slide
Designed system with state-variable feedback for Example
To verify our
design, the state
equation for
shown system is
given below and
the closed-loop
transfer function is
obtained as shown
below as well.
5 1 0 0
z ( A z B z K z ) z B z r 0 1 x 0 r
•
2
20 10 1 1
y C z z 4 1 0 z
(s 4) 1 So design requirements
T (s )
s 3 6s 2 13s 20 s 2 2s 5 have been met
Observer Design
If the sate variables are not available because of system configuration
or cost, it is possible to estimate the states. Estimated states are then
fed to the controller. An observer, sometimes called an estimator, is
used to calculate state variables that are not accessible from the plant.
Here the observer is a model of the plant.
Assume a plant And
an observer
x Ax Bu x A x Bu
y Cx y C x
Subtract the observer from the plant, we obtain
x x A (x x )
y y C (x x )
Observer Design
State-feedback design
using an observer to
estimate unavailable
state variables:
a. open-loop observer;
b. closed-loop observer;
c. exploded view of a
closed-loop observer,
showing feedback
arrangement to
reduce state-variable
estimation error
Observer Design
Writing the state equations
of
the observer from figure
x A x Bu L ( y y )
y C x
But the state equation for
plant is
x Ax Bu
y Cx
Subtract, we get
(x x ) A (x x ) L ( y y )
y y C (x x )
Where x x is the error between actual and estimated state vectors
Observer Design
Substitute
the output equation into the state equation, we get
(x x ) (A LC )(x x )
y y C (x x )
Let ex x x we have, e (A LC )e and y y Ce
x x x
Solving for L, the chara. Equation is det[ I (A LC )] 0
For an nth-order plant, the chara. Equation A-LC is
s n (an 1 l1 )s n 1 (an 2 l 2 )s n 2
+....... (a1 l n 1 )s (a0 l n ) 0
This can be written by inspection if compared to chara. Equation for plant, if
the plant is represented in observer canonical form.
det(sI A ) s n an 1s n 1 an 2 s n 2 ....... a1s a0 0
We equate this to desired chara. Equation, and solve for li’s
s n d n 1s n 1 d n 2 s n 2 ....... d 2 s 2 d 1s d 0 0
Third-order observer in observer canonical form:
Next find the chara. Polynomial. The state equation for the estimated plant is
8 1 0 0
x A x Bu 17 0 1 x 1 u
10 0 0 4 and the observer error is
(8 l1 ) 1 0
y C x 1 0 0 x
e x (A LC )e x (17 l 2 ) 0 1 e x
(10 l 3 ) 0 0
The chara. Polynomial is
det[ I (A LC )] s 3 (8 l1 )s 2 (17 l 2 )s (10 l 3 ) 0
The closed-loop controlled system has dominant 2nd order poles at 1 j 2
To make the observer 10 times faster, we design the observer poles at 10 j 20
We select the 3rd pole at -100, the desired chara. Is then
(s 100)(s 2 20s 500) s 3 120s 2 2500s 50000
a. closed-loop;
b. open-loop with observer gains disconnected
C 0 5 1
OM CA 4 3 3
CA n 1 12 13 9
C 5 4
OM
CA 20 16
We now design the observer for the observer canonical form, first
form
8 1 0 l1 (8 l1 ) 1 0
A x L x D x 17 0 1 l 2 1 0 0 = (17 l ) 0 1
2
10 0 0 l 3 (10 l 3 ) 0 0
Observer design by transformation Example
Problem design an observer for the phase variable with transient response described by
0.7 and n 100 for the plant
407(s 0.916) 407s 372.81
G (s ) 2
(s 1.27)(s 2.69) s 3.96s 3.42
Solution first represent the system in phase-variable form as shown in figure (a). For the
plant we have 0 1
A ; C 372.81 407
3.42 3.96
Calculating the observability matrix, O M C CA shows the plant is observable.
T
Thus, the system type has been increased, and we can use the characteristic
equation to design K and Ke to yield the desired transient response.
Example: Design of Integral Control
Since the plant has no zeros, we assume no zeros for the closed-loop system and
augment the desired eqn with a third pole, (s + 100), which has a real part greater
than five times that of the desired dominant second-order poles. The desired third-
order closed-loop system characteristic polynomial is
In order to check our assumption for the zero, we now apply values and find
the closed-loop transfer function to be
Since the transfer function matches our design, we have the desired transient
response. Now let us find the steady-state error for a unit step input.
PROBLEM: Using the simplified block diagram of the plant for the antenna
azimuth position control system shown in Figure, design a controller to yield
a 10% overshoot and a settling time of 1 second. Place the third pole 10 times as
far from the imaginary axis as the second-order dominant pair.
Assume that the state variables of the plant are not accessible and design an
observer to estimate the states. The desired transient response for the observer is a
10% overshoot and a natural frequency 10 times as great as the system response
above. As in the case of the controller, place the third pole 10 times as far from the
imaginary axis as the observer's dominant second-order pair.
Next we find the actual characteristic equation of the closed-loop system. The
first step is to model the closed-loop system in state space and then find its
characteristic equation. From Figure, the transfer function of the plant is
From the problem statement, the poles of the observer are to be placed to
yield a 10% overshoot and a natural frequency 10 times that of the system's
dominant pair of poles. Thus, the observer's dominant poles yield
[s2 + (2 x 0.591x 67.7)s + 67.72] = (s2 + 80s + 4583). The real part of the roots of this
polynomial is -40. The third pole is then placed 10 times farther from the imaginary axis
at -400. The composite characteristic equation for the observer is