ELG4152L5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Chapter 11

Design of State Variable Feedback Systems


This chapter deals with the design of controllers utilizing state feedback. We will consider three major subjects: Controllability and observability and then the procedure for determining an optimal control system. Ackermanns formula can be used to determine the state variable feedback gain matrix to place the system poles at the desired locations. The closed-loop system pole locations can be arbitrarily placed if and only if the system is controllable. When the full state is not available for feedback, we utilize an observer. The observer design process is described and the applicability of Ackermanns formula is established. The state variable compensator is obtained by connecting the full-state feedback law to the observer. We consider optimal control system design and then describe the use of internal model design to achieve prescribed steady-state response to selected input commands.
1

Pole Placement Using State Feedback


The state-space design method is based on the pole-placement method and the quadratic optimal regulator method. The pole placement method is similar to the root-locus method. In that we place closed-loop poles at desired locations. The basic difference is that in the root-locus design we place only the dominant closed loop poles at the desired locations, while in the pole-placement method we place all closed-loop poles at desired locations. The state variable feedback may be used to achieve the desired pole locations of the closed-loop transfer function T(s). The approach is based on the feedback of all the state variables, and therefore u = Kx. When using this state variable feedback, the roots of the characteristic equation are placed where the transient performance meets the desired response.

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 and Observability


The concept of controllability and observability were introduced by Kalman in 1960. They play an important role in the design of control systems in state space. The conditions of controllability and observability may govern the existence of a complete solution to the control system design problem. The solution of the problem may not exist if the system is not controllable.

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

Pc = B AB A 2 B...A n -1 B (Controllability matrix P) If Pc is nonzero, the system is controllable


Another method of determining whether a system is controllable is to draw the state variable flow diagram and determine whether the control signal, u, has a path to each state variable. If a path to each state exists, the system may be controllable.
5

Example of a Controllable system!


Y (s) 1 = T (s) = 3 U (s) s + a 2 s 2 + a1s + ao 1 0 0 x = 0 0 1 - a0 - a1 - a 2
.

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

Example of Observable System!

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

0 0 , DetQ =1, and thesystem observable is ! 1


9

Is this System Controllable and Observable?


. x1 = 1 1 x1 + 0u . - 2 - 1 x 1 2 x 2 x1 y = [1 0] x2 0 1 Since the rank of the matrix [B AB] = is 2, 1 - 1 the system is fully state controllable 1 1 To test the observability condition, examine the rank of [C AC] = is 2, 0 1 the system is observable

10

Full-State Feedback Control System


to achieve the desired pole locations of the closed loop system First we should assume that all the states are available for feedback The system input u(t) is given by

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

. .

Design of a Third Order System


d3y dt 3 +5 d2y dt 2 +3 dy + 2y = u dt Select the state variables as : x1 = y; x2 = dy / dt ; x3 = d 2 y / dt 2 1 0 0 0 . 0 x + 0 u = Ax + Bu x= 0 1 - 2 - 3 - 5 1 x = Ax - BKx = (A - BK )x; The state feedback matrix is 0 [A - BK ] = 0 (-2 - k1 ) 1 0 (-3 - k 2 ) 0 1 (-5 - k3 )
.

If the state variable feedback matrix K is : K = [k1 k 2 k3 ]and u = -Kx

The characteristic equation is Det [A - BK] = s 3 + (5 + k3 ) s 2 + (3 + k 2 ) s + (2 + k1 )


2 Chose the desired characteristic equation : s 2 + 2n s + n (s + n );

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

(s 2 + 9.6s + 36)(s + 4.8) = s3 + 14.4s 2 + 82.1s + 172.8

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

K = [k1 k 2 ....k n ] u = -Kx Given the desired characteristic equation q ( ) =


n

+ 1

n-1

+ .... + n

The state feedback gain matrix is


K = [0 0 ... 1]Pc1q ( A)

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

C L is the observer gain matrix and to be determined

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

You might also like