25.01.2015 Views

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JOURNAL OF COMPUTERS, VOL. 8, NO. 6, JUNE 2013 1565<br />

From LMI and ARE equivalence relation [28], S1<br />

is equal<br />

to:<br />

T T T T<br />

S1 = A PA + A PBK + ( BK) PA + BK P( BK)<br />

T<br />

T<br />

− P+ Q+<br />

K RK<br />

= ( A+ BK) P( A+ BK)<br />

− P+ Q+<br />

K RK<br />

Therefore, LMI form of (23)-(28) can be gotten and the<br />

solution of Q is diagonal matrix.<br />

F. MPC Tun<strong>in</strong>g Based on Extended MVC 3<br />

Consider system (3), outputs and manipulative variable<br />

constra<strong>in</strong>ts are as y ( k)<br />

< y and u ( k)<br />

< u , respectively,<br />

i<br />

i<br />

where, yi ( k)<br />

is i th element of y( k ) and u j ( k)<br />

is j th<br />

element of u ( k ) . When the MPC controller is put <strong>in</strong>to<br />

operation, extended MVC 3 performance evaluation<br />

criteria is used to monitor controller performance. If the<br />

performance evolution <strong>in</strong>dexη is below the thresholdψ ,<br />

weighted parameter R can be updated with extended<br />

MVC 3 to improve the robustness of the controlled system.<br />

The block diagram of MPC tun<strong>in</strong>g is shown <strong>in</strong> Fig. 2.<br />

Figure 2. Block diagram of MPC controller-tun<strong>in</strong>g<br />

IV. MPC CONTROLLER PERFORMANCE EVALUATION<br />

AND TUNING SYSTEM IN SINGLE INVERTED PENDULUM<br />

CONTROL<br />

A. Model Preprocess<strong>in</strong>g<br />

• Stabilizer design<br />

The s<strong>in</strong>gle <strong>in</strong>verted pendulum is unstable system,<br />

while, tun<strong>in</strong>g system of <strong>in</strong>f<strong>in</strong>ite MPC require a stable<br />

controlled object. Hence a stabilizer u =− Kx+ v is<br />

needed. For the <strong>in</strong>verted pendulum system (2), Use<br />

command K=acker(A,B,P) <strong>in</strong> Matlab, to configure<br />

closed-loop pole to:<br />

( 8 8 2 2 2 2 )<br />

j<br />

P = − − − + i − − i . (32)<br />

j<br />

T<br />

.<br />

The feedback ga<strong>in</strong> is obta<strong>in</strong>ed as:<br />

K = ( −17.4150 − 13.0612 60.9383 11.0204)<br />

. (33)<br />

The generalized system matrix after stabilization is as<br />

follows:<br />

⎛x<br />

⎞ ⎛ 0 1 0 0 ⎞⎛x<br />

⎞ ⎛0⎞<br />

⎜<br />

x<br />

⎟ ⎜<br />

0 0 1 0<br />

⎟⎜ x<br />

⎟ ⎜<br />

1<br />

⎟<br />

⎜ ⎟<br />

<br />

= ⎜ ⎟⎜ ⎟+<br />

⎜ ⎟u<br />

⎜ θ ⎟ ⎜ 0 0 0 1 ⎟⎜θ<br />

⎟ ⎜0⎟<br />

⎜ θ ⎟ ⎜ ⎟<br />

512 384 136 20 ⎜θ<br />

⎟ ⎜ ⎟<br />

⎝− − − − ⎠<br />

<br />

⎝ ⎠<br />

⎝ ⎠ ⎝3⎠<br />

. (34)<br />

⎛x<br />

⎞<br />

⎜<br />

x 1 0 0 0 x<br />

⎟<br />

⎛ ⎞ ⎛ ⎞ ⎛0⎞<br />

y = = ⎜ ⎟<br />

⎜ + u<br />

θ<br />

⎟ ⎜<br />

0 0 1 0<br />

⎟⎜θ<br />

⎟ ⎜<br />

0<br />

⎟<br />

⎝ ⎠ ⎝ ⎠ ⎝ ⎠<br />

⎜ <br />

θ ⎟<br />

⎝ ⎠<br />

The follow<strong>in</strong>g MPC controller performance evaluation,<br />

tun<strong>in</strong>g system based on extended MVC 3 was built on the<br />

stabilized generalized system (34).<br />

• Discretization<br />

S<strong>in</strong>ce the derivation of the above extended MVC 3<br />

algorithm is based on discrete state space model (3),<br />

discretization of system (34) and construct<strong>in</strong>g a suitable<br />

noise are needed. Use command sys=c2d(A,B,Ts) <strong>in</strong><br />

Matlab, here Ts = 1s<br />

, and consider the noise to be<br />

stationary, Gaussian White-noise processes, the follow<strong>in</strong>g<br />

system can be obta<strong>in</strong>ed as:<br />

⎛ xk ( + 1) ⎞ ⎛ 0.2584 0.1707 0.0306 0.0017 ⎞<br />

⎜<br />

xk ( 2)<br />

⎟ ⎜<br />

0.8519 0.3805 0.0556 0.0027<br />

⎟<br />

⎜<br />

+<br />

⎟<br />

− − − −<br />

= ⎜ ⎟<br />

⎜θ<br />

( k + 1) ⎟ ⎜ 1.3646 0.1716 −0.0181 −0.0023⎟<br />

⎜ ⎟ ⎜ ⎟<br />

⎝θ<br />

( k + 2) ⎠ ⎝ 1.1850 2.2534 0.4863 0.0282 ⎠<br />

⎛ xk ( ) ⎞ ⎛ 0.2319 ⎞ ⎛0⎞<br />

⎜<br />

xk ( + 1)<br />

⎟ ⎜<br />

0.1757<br />

⎟ ⎜<br />

⎜ ⎟<br />

1<br />

⎟<br />

× + ⎜ ⎟uk<br />

( ) + ⎜ ⎟wk<br />

( )<br />

⎜ θ ( k) ⎟ ⎜−1.<br />

3885⎟ ⎜0⎟<br />

⎜ ⎟ ⎜ ⎟ ⎜ ⎟<br />

⎝θ<br />

( k + 1) ⎠ ⎝ 0.1646 ⎠ ⎝1⎠<br />

where, ∑ w = 0.01 .<br />

⎛ xk ( ) ⎞<br />

xk ( ) 1 0 0 0<br />

⎜<br />

xk ( 1)<br />

⎟<br />

⎛ ⎞ ⎛ ⎞ +<br />

yk ( ) = ⎜ ⎟<br />

⎜<br />

θ( k) ⎟=<br />

⎜<br />

0 0 1 0<br />

⎟ , (35)<br />

⎝ ⎠ ⎝ ⎠ ⎜ θ( k)<br />

⎟<br />

⎜ ⎟<br />

⎝θ<br />

( k + 1) ⎠<br />

B. MPC Tun<strong>in</strong>g Design<br />

• MPC controller<br />

For system (35), choose the <strong>in</strong>itial objective function<br />

of extended MVC 3 as<br />

J = Y + Y + U ,where R = 1, Q = diag(1,1)<br />

,output<br />

1 2<br />

variance bounds as yi<br />

= 0.3, i = 1,2 , manipulative<br />

variable variance bounds to be u = 0.8 .Us<strong>in</strong>g the<br />

command of LMI toolbox <strong>in</strong> Matlab ,the MPC controller<br />

weight matrix of the nom<strong>in</strong>al model (35), R = 0.0167 ,<br />

Q = diag(0.0204,0.1234,0.0007,0.0160) can be gotten.<br />

© 2013 ACADEMY PUBLISHER

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!