24.08.2013 Views

NONLINEAR CONTROLLER COMPARISON ON A BENCHMARK ...

NONLINEAR CONTROLLER COMPARISON ON A BENCHMARK ...

NONLINEAR CONTROLLER COMPARISON ON A BENCHMARK ...

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.

the new control, then update the control again and so on. Thus we actually perform<br />

two simultaneous iterations, one for w (x) and one for u (x):<br />

@V (ij)T<br />

(f + gu<br />

@x<br />

(i) + kw (ij) )<br />

(i)<br />

2<br />

+ l + u<br />

R ; 2 (ij) 2<br />

w<br />

P<br />

=0 (3.29)<br />

w (ij+1) (x) = 1<br />

2 2 P ;1 k T (ij)<br />

@V<br />

(x) (x) (3.30)<br />

@x<br />

u (i+1) (x) =; 1<br />

2 R;1g T (i1)<br />

@V<br />

(x) (x) (3.31)<br />

@x<br />

where i and j range from zero to 1. If u (0) (x) asymptotically stabilizes the system<br />

_x = f + gu (0) on IR n , then Equations (3.29), (3.30) and (3.31) converge to<br />

the solution of the HJI equation pointwise on as shown in [5]. V (ij) (x) is again<br />

approximated via a global Galerkin approximation scheme where the coe cients are<br />

found by solving the algebraic Galerkin equation:<br />

Z @V (ij)T<br />

@x<br />

(f + gu + kw)+l + kuk 2<br />

R<br />

!<br />

k dx =0<br />

k = 1:::N and is found via a bisection search algorithm. The le hji.m is a<br />

straightforward implementation of this algorithm in Matlab code, where the integrals<br />

are computed numerically using Matlab's quad function. This software package again<br />

only requires three things: the set , the basis elements f jg N<br />

j=1, and an initial<br />

stabilizing control u (0) . To implement this control in hardware we used the following:<br />

=[;:2:2] [;2:5 2:5] [; 2 2 ] [;20 20]<br />

f jg = fx 2<br />

1x 2<br />

2x 2<br />

3x 2<br />

4x 1x 2x 1x 3x 1x 4x 2x 3x 2x 4x 3x 4g<br />

u (0) (x) =41y ; 1:5_y ; 2:6 ; :19 _ :<br />

We used the same basis functions, , and initial control as in the HJB case. This<br />

control strategy has all of the strengths of the HJB law, and it additionally improves<br />

the robustness of the control.<br />

28

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

Saved successfully!

Ooh no, something went wrong!