Modern Control Engineering

(Chris Devlin) #1
800 Chapter 10 / Control Systems Design in State Space

EXAMPLE 10–11 Consider the system described by


where

The performance index Jis given by

where

Assume that the following control uis used.

Determine the optimal feedback gain matrix K.
The optimal feedback gain matrix Kcan be obtained by solving the following Riccati equation
for a positive-definite matrix P:

The result is

Substituting this Pmatrix into the following equation gives the optimal Kmatrix:

Thus, the optimal control signal is given by

MATLAB 10–19 also yields the solution to this problem.

u=-Kx=-x 1 - x 2

=[ 1 ][ 0 1 ]B


2

1

1

1

R=[ 1 1 ]


K=R-^1 B¿ P

P= B


2

1

1

1

R


A¿ P+PA-PBR-^1 B¿ P+Q= 0

u=-Kx

Q= B


1

0

0

1

R, R=[1]


J=

3

q

0

(x¿ Qx+u¿ Ru)dt

A= B


0

0

1

- 1

R, B=B


0

1

R


x# =Ax+Bu

MATLAB Program 10–19


% ---------- Design of quadratic optimal regulator system ----------


A = [0 1;0 -1];


B = [0;1];


Q = [1 0; 0 1];


R = [1];


K = lqr(A,B,Q,R)


K =


1.0000 1.0000


Openmirrors.com

Free download pdf