ELG4152L5
ELG4152L5
ELG4152L5
State Variable Compensator Employing Full-State Feedback in Series with a Full State Observer
x = Ax + B u
.
System Model
Control Law
-K
x
.
+
Observer
x = Ax + B u + L y
Compensator
C
3
Controllability
A system described by the matrices (A, B) can be said to be controllable
if there exists an unconstrained control u that can transfer any initial state x(0) to any other desired location x(t). That means that over time, some or all of the scalar time functions in u can be arbitrarily large in magnitude.
x = Ax + Bu
0 x + 0 u 1
1 0 0 0, AB = 1 , A 2 B = - a B= 2 2 1 - a 2 a 2 a1
0 Pc = 0 1
0 1 - a2
Determinant of Pc is nonzero 2 a 2 a1 1 - a2
Continue..
Uncontrollable system has a subsystem that is physically disconnected from the input. For a partially controllable system, if the uncontrollable modes are stable and the unstable modes are controllable, the system is said to be stabilized. For example such system
. x1 = 1 0 x1 + 1 u . 0 - 1 x 0 2 x2
Is not controllable. The stable mode that corresponds to the eigenvalue of -1 is not controllable. The unstable mode that corresponds to the eigenvalue of 1 is controllable. Such a system can be made stable by the use of a suitable feedback. Therefore the system is stabilizable.
7
Observability
All the roots of the characteristic equation can be placed where desired in the s-plane if, and only if, a system is observable and controllable. Observability refers to the ability to estimate a state variable. Thus we say a system may be observable if the output has a component due to each state variable. A system is observable if, and only if, there exists a finite time T such that the initial state x(t) can be determined from the observation history y(t) given the control u(t). Consider the single-input, single-output system . x = Ax + Bu and y = Cx This system is observable when the determinant of Q is nonzero, where
C CA Q= .. n-1 CA
CA= [0 1 0] andCA2 = [0 0 1] 1 Q = 0 0 0 1 0
0 0 A= - a0
1 0 - a1
0 andC = [1 0 0] 1 - a2
10
u = -Kx
Determining the gain matrix K is the objective of the full-state feedback design procedure .
x = Ax + Bu
System Model
y Control Law
-K
11
The closed-loop system has no input. The objective is to maintain zero output. Because of disturbances the output will deviate from zero. The nonzero output will be returned to zero reference input because of the state feedback scheme.
x = Ax + Bu; u = Ku x = Ax + Bu = Ax BKx = ( A BK )x det(I ( A BK )) = 0 If all the roots of the characteristic equation lie in the left half - plane then the closed loop system is stable. x(t) = e ( A BK )t x(t 0 ) 0 as t Given the pair ( A, B), we can determine K to place all the system closed loop poles in the left half plane if the system is completely controllable. The addition of a reference input can be considered as u (t ) = -Kx(t ) + Nr (t ) where r (t ) is the reference input. When r (t ) = 0 for all t t 0 the control design problem is regular
12
. .
Chose = 0.8 for minimal overshoot. If we want a settling time equal to 1 s, then 4 4 = 1; If we chose n = 6, then we hav Ts = n 0.8n
Then we require k1 = 9.4; k 2 = 79.1; k3 = 170.8 The step response has no overshoot
13
Ackermanns Formula
For a single-input, single-output system, Ackermanns formula is useful for determining the state variable feedback matrix
+ 1
n-1
+ .... + n
q ( A) = A n + 1 A n 1 + .... n 1A + n I
14
Observer Design
If the system is completely observable with a given set of outputs, then it is possible to determine or estimate the states that are not directly measured
u Estimate of the matrix Observer y
x = Ax + Bu + L~ y
~ = y Cx y
15
The goal of the observer is to provide an estimate x so that x x as t . We do not know x(t 0 ) precisely; we should provide an intial estimate x(t 0 ) to the observer. The observer estimation error is e(t ) = x(t ) - x(t ). The observer design should produce e(t ) 0 as t . Take the time derivative of the estimation error of the previous equation e = x- x x = Ax + Bu + L( y Cx) e = Ax + Bu Ax Bu L( y Cx) e(t ) = ( A LC)e(t ) e(t ) 0 as t as Det(I - ( A - LC)) = 0 has its all roots in the left half plane.
16
. .
E11.3: A system is described by the matrix equation. Determine whether the system is controllable and observable.
0 x= 0
.
1 0 x + 1 u; y = 2 x2 - 3
0 1 Pc = [B AB] = 1 - 3 Since Pc is not equal to zero, the system is controllable. The observability matrix is C 0 2 Q= = CA 0 - 6 Since Det Q is equal to zero, therefore the system is unobservable!
17
E11.4: A system is described by the matrix equation. Determine whether the system is controllable and observable.
0 - 4 0 x = x + 1 u; and y = x1 -1 0 First find the controllability matrix 0 0 Pc = [A AB] = 1 -1 Since Det Pc = 0, the system is uncontrollable. The observability matrix is C 1 0 Q= = CA - 4 0 Since Det Q = 0, the system is unobservable.
18