• No results found

An Iterative Technique for Solving Nonlinear Optimal Control Problems Using Legendre Scaling Function

N/A
N/A
Protected

Academic year: 2020

Share "An Iterative Technique for Solving Nonlinear Optimal Control Problems Using Legendre Scaling Function"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

International Journal of Emerging Technology and Advanced Engineering

Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 6, June 2012)

7

An Iterative Technique for Solving Nonlinear Optimal

Control Problems Using Legendre Scaling Function

Hatem Elaydi

1

, Hussein Jaddu

2

, Mohammad Wadi

3 1Islamic University of Gaza, Gaza, Palestine

2Alquds University, Jersusalem, Palestine 3Islamic University of Gaza, Gaza, Palestine

1[email protected]

2[email protected] 3

[email protected]

Abstract In this paper, wavelet based approach will be presented to solve nonlinear optimal control problem. The basis orthogonal functions will be Legendre scaling function. In addition, iteration technique will be used to converts nonlinear optimal control problems to a sequence of time-varying optimal control problems which are easier to solve than original problem. Numerical example will be solved by the proposed method to compare this approach with other research to show effectiveness of the proposed method.

KeywordsWavelets, Legendre scaling functions, nonlinear optimal control problem, quadratic programming.

I. INTRODUCTION

For the last three decades, orthogonal functions and polynomials series [1-4] have been used in approximation methods to obtain the optimal solution of linear time invariant, time varying, and nonlinear systems. The main idea behind the approximation methods is reducing these problems to those of solving a system of algebraic equations; thus simplifying the original problems. Moreover, this technique is based on converting the differential equations into integral equations, then using the operational matrix of integration to eliminate the integration operator.

Recently, wavelets based methods have received considerable attention in the region of approximation and solving various problems of dynamic systems [5-7]. The main reasons for using wavelet functions are that they possess several useful properties such as orthogonality and rapid convergence. Thus, giving satisfactory and very effective results in approximating functions of discontinuities or sharp changes since they are not supported on the whole interval

a t

 

b

which is considered as advantage of wavelet functions.

Generally, there are two basic methods that are used to solve optimal control problems, OCPs, the first is called indirect method in which optimal control problems are converted into two-point boundary value problem (TPBVP), then solved using Euler Lagrange technique or Hamilton-Jacobi-Bellman equation ( HJBE). However, the second method is called direct and it is based on discertization or parameterization.

Parameterization is concerned with using polynomials (orthogonal) in order the cost function and the constraints with these polynomials and the coefficients that make this representation valid. There are some disadvantages of indirect methods such as: (1) difficult to obtain exact solution of nonlinear OCPS using Euler Lagrange or HJBE; (2) using artificial costates

is increase problem computation; (3) complete knowledge of system model is needed. So; this urged researchers to use direct parameterization methods which based on orthogonal functions and polynomials.

This paper presents a novel technique to solve the nonlinear optimal control problem by using Legendre scaling functions to parameterize the state and control for nonlinear optimal control problem combined with an iterative technique.

(2)

International Journal of Emerging Technology and Advanced Engineering

Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 6, June 2012)

8

II. LEGENDRE SCALING FUNCTION

This paper presents Legendre scaling function proposed by Jaddu[7] as follows:

 

1

2

2

2

2

2

1

2

2

2

2

2

0

K K

m K K

nm

n

n

m

P

t

n

for

t

t

otherwise

 

 

 



(1)

where

m

is the Legendre polynomial of order

m

;

n

refers to the section number,

n

1, 2,..., 2

K1;

K

is the scaling parameter and can assume any positive integer and

[0,1]

t

.

Legendre polynomial can be defined as in [8] as follows:

 

1

2

1

2

!

m

m

m m m

d

P x

x

m dx

(2)

N

ow by using equation (2) and choosing

M

3

and

2

K

, then the four basis Legendre scaling function can be given for

n

1

as follows

:

 

 

 

 

10 11 2 12 3 13 2

6 4 1

1

5 0

3 4 1 1 2

2 7

5 4 1 3 4 1

2

t

t t

t

t t

t t t

                                

(3)

For

n

2

as follows:

 

 

 

 

10 11 2 12 3 13 2 6 4 3

1

5 1

3 4 3 1 2

2 7

5 4 3 3 4 3 2

t

t t

t

t t

t t t

                                    

(4)

Figures (1) and Figure (2) illustrate these basis.

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -4 -3 -2 -1 0 1 2 3 4 Time

Legendre Scaling Function For M=3 , K=2

P H I1 0 , P H I1 1

Figure (1): Legendre Scaling Functions Basis forn1

III. PARAMETERIZATION VIA LEGENDRE SCALING

FUNCTION

Researchers have been trying to use parameterization methods solve optimal control problems. Parameterization methods are classified into three types: state, control, and state-control parameterization which will be used in this paper.

0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 -4 -3 -2 -1 0 1 2 3 4 Time

Legendre Scaling Function For M=3 , K=2

P H I2 2 , P H I2 3

Figure (2): Legendre Scaling Functions Basis for n2 State and control variables can be approximated by Legendre scaling function as follows

 

2 1

 

1 0

1, 2, ,

K M

i

i nm nm

n m

x t

a

t i

s

 

[image:2.612.50.291.439.658.2] [image:2.612.338.540.448.615.2]
(3)

International Journal of Emerging Technology and Advanced Engineering

Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 6, June 2012)

9

 

2 1

 

1 0

1, 2, ,

K M

i

i nm nm

n m

u t

b

t i

r

 



(6)

where

 

1 1

nm 10 1 2K 0 2K

T

M M

t



 

 

 

1 1

10 1 2K 0 2K

i i i i i

nm M M

a

a

a a

a

1 1

10 1 2K 0 2K

i i i i i

nm M M

b bb b  b  

IV. NONLINEAR OPTIMAL CONTROL PROBLEM & ITERATIVE TECHNIQUE

The optimal control problem can be considered as finding the optimal controller

u t

 

that minimizes the performance index

0

f t

T T

J

x Qx u Ru dt

(7)

subject to nonlinear constraints and initial condition

   

,

,

x

f x t u t t

   

     

,

0

o

A x x t

B x u t x

x

(8)

where

t

[0, ]

t

f

,

x x

,

o

R

n

,

u

R

m

,

A B

,

are

n n

and

n m

constant matrices respectively.

Q

is an

n n

positive semidefinite matrix and

R

is an

m m

positive definite matrix and

f

is assumed to be continuous differential function with respect to all its arguments.

A modern technique for handling nonlinear dynamical systems is introduced in which the original nonlinear OCPS are replaced by a sequence of linear time varying OCPS under Lipschitz condition [9]. Mathematically if A x

 

is locally Lipschitz, then the nonlinear equation (8) can be replaced by the following linear time varying system.

 0

 

 0

 

 0  0

 

0 0

,

0

0

A x x

B x u

x

x

x

(9)

and for

k

1

 k

k 1

 

 k

k 1

 

 k

A x

t x

t

x

B x

u

 

 

0

0

k

x

x

(10)

Moreover, equations (9) and (10) can be solved by the proposed method in [10]

Theorem

Suppose that the nonlinear equation (8) has a unique solution on the interval [0, ]t denoted by x t

 

and assume that

A x

 

:

R

n

R

n is locally Lipschitz. Then the sequence of functions defined in (9)-(10) converge uniformly on

[0, ]

t

to the solution

x t

 

.

Iteration technique which developed by Banks and Tomas [11-12] have some advantages that makes it an attractive tool for solving any nonlinear equation, that satisfies the local Lipschitz condition. (1) Iteration technique provides an accurate representation of the nonlinear system after small number of iterations. (2) Common linear techniques can be applied on nonlinear systems by using iteration technique.

V. PROPOSED ALGORITHM

The proposed method is illustrated in Figure (3). It starts with representing the nonlinear problem into pseudo-linear model. Next, the problem is reformulated into intervals of [0,1]. Then, the iterative techniques to solve the linear quadratic time invariant OCP. Finally a stopping criteria is used to end the parameterization process

.

Numerical example

Find the optimal control

u t

 

for Van der Pol problem that

5

1

2

2

2

1

2

2 0

J

x

x

u

dt

subject to nonlinear equality constraints and initial conditions as follows

 

1

x x

2

,

1

0

1

x

 

2

2

x

1

x

2

x x

1 2

u x

,

2

0

0

(4)

International Journal of Emerging Technology and Advanced Engineering

Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 6, June 2012)

10

Figure (3): Flow Chart for Solving Nonlinear OCP Using Iteration Technique

To solve this nonlinear OCP using the proposed algorithm, we use the described procedures in flow chart of Figure (3). We solved this problem at

k

0

for K 2 and M 4, the optimal value we get is

0.9537225048

J

. The optimal state and control trajectories for

k

0

are shown in Figures (4) and (5) respectively.

Figure (4): Optimal State Trajectories at k0

Figure (5): Optimal Control Trajectory at k0

Then we solved the same problem in five iteration and the approximated optimal values are summarized in TABLE I.

NO

Represent the Nonlinear System into Pseudo-Linear model

         , 0

x A x x t B x u t xxo

Reformulate the OCP into Interval [0,1] using t

tf  

Minimize   1(        )

0

T T

k k k k k

Jtfx Qxu Ru d

Subject to  

 1 

 

 1 

   ,  0

0

k k k k

dx A xk t x B xk t u x x

d     

Set k0 and Solve Linear Quadratic Time Invariant OCP

Minimize  0 1(  0  0  0  0 ) 0

T T

Jtfx Qxu Ru d

Subject to  

 

 

 

   

 

0

0 0 0

0

, 0

o o

dx

A x x B x u x x

d   

Set k1 and Solve Linear Quadratic Time Varying OCP

Minimize  1 1  1  1  1  1 0

( )

T T

f

Jtx Qxu Ru d

Subject to

 

  

 

  

   

 

1

1 1 1

0 0

0

, 0

dx

A x t x B x t u x x

d   

STOP

Increase k k k,  1

YES

START

[image:4.612.37.281.163.654.2] [image:4.612.327.554.265.428.2] [image:4.612.343.539.460.667.2]
(5)

International Journal of Emerging Technology and Advanced Engineering

Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 6, June 2012)

[image:5.612.72.285.168.318.2]

11

TABLE I

OPTIMAL VALUES FOR VAN DER POL PROBLEM

In order to show applicability and effectiveness of our proposed algorithm, we compare our results with other researchers as shown in TABLE II. This research outperformed the other four who used the same

K

&

M

with five or more iterations.

TABLE II

COMPARISON BETWEEN USED METHODS FOR VAN DER POL PROBLEM

Source

J

Jaddu [1]

1.433487

Bullock and Franklin [13]

1.433508

Bashein and Enns [14]

1.438097

Majdalawi [15]

1.449395

This Research

1.449039

VI. CONCLUSION

This paper is concerned with solving nonlinear optimal control problems using parameterization methods. It presented a novel approach using Legendre scaling function as new and efficient technique for solving nonlinear optimal control problem. The original problem was converted into a sequence of time-varying OCP using iteration technique and Legendre scaling function. A numerical example was shown to prove the validity of this technique. This approached shown better results than similar techniques.

References

[1] H. Jaddu, 1998, “Numerical Methods for Solving Optimal Control Problems Using Chebyshev Polynomials”, Ph.D. Thesis, JAIST, Japan.

[2] M. Razzaghi and G. Elnagar, 1994, “Linear Quadratic Optimal Control Problems via Shifted Legendre State Parameterization”, Int. J. Systems Science, Vol. 25, pp. 393-399.

[3] C.Y. Yang and C. K. Chen, 1994, “Analysis and Optimal Control of Time Varying Systems via Fourier Series”, Int. J. Systems Science, Vol. 25, pp. 1663-16784.

[4] C. F. Chen and C. H. Hsiao, 1975, “Design of Piecewise Constant Gains for Optimal Control via Walsh Functions”, IEEE Trans. Automatic Control, Vol. 20, pp. 596-603.

[5] M. Razzaghi and S. Yousefi, 2002, “Legendre Wavelets Method for Constrained Optimal Control Problems”, Math Meth. Appl. Sci., Vol. 25, pp. 529-539.

[6] M. Dadkhah, M. T. Kajani and S. Mahdavi, 2010, “Numerical Solution of Nonlinear Fredholm-Volterra Integro-Differetial Equation Using Legendre Wavelets”, Proceedings of the 6th IMT-GT Conference on Mathematics, Statistics and its Applications, Malaysia.

[7] H. Jaddu and M. Vlach 2006, , “Wavelet-Based Approach to Optimizing Linear Systems”, Japan Advanced Institute of Science and Technology, Ishikawa 923-1292, Japan.

[8] P. N. Paraskevopoulos, 1985, “Legendre Series Approach to Identification and Analysis of Linear Systems”, IEEE Trans. Automat. Cont., Vol. AC-30, No. 6, pp. 585-589.

[9] H. K. Khalil, 2002, Nonlinear Systems, 3rd ed, Prentice Hall, chapter 3, pp. 87-95.

[10] H. Jaddu, 2006, “Optimal Control of Time-Varying Linear Systems Using Wavelets”, Japan Advanced Institute of Science and Technology, Ishikawa 923-1292, Japan.

[11] M. Tomas-Rodriguez, S.P. Banks, 2006, “An Iterative approach to Eignvalue Assignment for Nonlinear Systems”, Proceedings of the 45th IEEE Conference on Decision & Control, pp. 1-6.

[12] M. Tomas-Rodriguez, S. P. Banks and M.U. Salamci, 2006, “Sliding Mode Control for Nonlinear Systems: An Iterative Approach”, Proceedings of the 45th IEEE Conference on Decision & Control. [13] T. Bullock and G. Franklin, 1967, “A Second Order Feedback

Method for Optimal Control Computations”, IEEE Trans. Automat. Cont., Vol. 12, pp. 666-673.

[14] G. Bashein and M. Enns, 1972, “Computation of Optimal Control by A Method Combining Quasi-linearization and Quadratic Programming”, Int. J. Control, Vol. 16, pp. 177-187.

[15] A. Majdalawi, 2010, “An Iterative Technique for Solving Nonlinear Quadratic Optimal Control Problem Using Orthogonal Functions”, M.S. Thesis, Al-Quds University, Palestine.

Iteration

k

J

0

0.9537225048

1

1.549716935

2

1.476606108

3

1.457374586

4

1.449939834

Figure

Figure (2): Legendre Scaling Functions Basis for n  2
Figure (3). We solved this problem at
TABLE I References

References

Related documents

In the Kaupang graves lead weights are entirely absent as copper alloy/iron weights make up 70% of the finds, and copper alloy types 30%.. Similarly, 68% in the settlement location at

The neutrosophic fuzzy ordered weighted averaging (NFOWA) operator is utilized to aggregate all individual neutrosophic fuzzy decision matrices provided by the

Antisickling Assays: The ability of each plant extract; singly and in combination, to prevent or reverse the sickling process was tested using 2% w/v of

● Paraver, Scalasca ● Allinea DDT 3.1 debugger Scientific Libraries Linux OS Runtime libraries NANOS++ MPICH2 ATLAS FFTW HDF5 GNU compilers gcc gfortran OmpSs compiler Mercurium

FIGURE 1-17: Sample customer data for Colonial Adventure Tours.. Introduction to Colonial Adventure Tours Database

If you want to connect to an existing SQL Server Instance on another machine you need to install “SQL Server 2012 Shared Management Objects”.. Start Web Platform Installer and

1) The newly designed depth-control planting unit, consisted of single-side gauge wheel, double-disc opener and parallel four-bar linkage, could maintain the uniformity

Using predictive data mining—a technology at the heart of the US National Security Agency’s (NSA) surveillance scandal—as an example, it argues that rather than a break with