• 沒有找到結果。

Design of PID controller for precision positioning table using genetic algorithms

N/A
N/A
Protected

Academic year: 2021

Share "Design of PID controller for precision positioning table using genetic algorithms"

Copied!
2
0
0

加載中.... (立即查看全文)

全文

(1)

Proceedings of the 36th

Conference on Decision & Control San Diego, California USA December 1997

Design of PID Controller for Precision Positioning

Using Genetic Algorithms

Pai-Yi Huang and Yung-Yaw Chen

Repeatability Backlash Resolution TM07 2 : l O

Table

0.001“ 0.001mm 1 Onm

Department of Electric Engineering, National Taiwan University, Taipei, Taiwan, R.O.C. E-mail: f810?35@cctwin.ee.ntu.edu.tw

Abstract

In this paper, we demonstrate a PID controller design for high precision positioning table using a real- coded genetic algorithm. We choose the numerical internal presentation of the computer systems (IEEE P754 Standard) as the coding format of the genetic algorithm By this approach, the time-consuming coding and encoding processes on traditional genetic algorithms is not necessary. In order to show the ability of this algorithm, a precision ballscrew table are used for evaluation. The experimental results indicate the success of this algorithm

I. Introduction

In this article, we will try to design the PID controller for the precision positioning system. Generally speaking, the PID control is the most successful control scheme used in current industrial control processes. The Genetic algorithms (GAS) can be viewed as a general-purpose optimization method and have been successfully applied to search, optimization and machine learning tasks [ 11. It has been already shown that GAS can learn to control a dynamic system without any prior knowledge about the system

[2].

In this article, we used real-coded genetic algorithm as an optimizer for the PID controller design. The chromosome coding of this GA is based on IEEE

P754

floating point standard that is used as the internal floating point representation in most computer systems [3]. With this approach, maximum resolution and accuracy of the numerical representation in computer can be achieved. The encoding and the decoding processes in common genetic algorithms become unnecessary due to the fact that the mapping operation from the real values to the encoded binary formats is intrinsically implemented in hardware. Besides, because the extreme wild coding ranges of the floating coding method, the searched parameters’ range needs not to be known in advance. The experimental results on XY tables and precision table are shown to prove the success of this approach.

11. Real-coded Genetic Algorithm

The floating point representation covers a very wild range of the real number with great precision. The upper bounds and lower bounds of the parameters that have to be pre-specified in other real-coded GAS [4,5] are unnecessary now. From engineering point of view, the coding range 8.43. 2 1x1 5 3.37. lo3* with 6-7

decimal significant digits is rather enough for use.

Reproduction is a process based on the principle of survival of the fittest. The strings with a higher fitness value have a higher probability of contributing one or more offspring in the next generation. Crossover

Crossover provides a mechanism for individual strings to exchange information via a probabilistic process. In each generation, If there are n parameters needed to be determined, we define the parentsR,

E R ”

and the children R( E R” ,i = 1,2 .

R; = RI

+

k, x

( 4

-RI)

4

= RI + k, x

( 4

- RI)

I

-2 < k,,k, 2 1

The mutation operation is more like in a binary- coded GA. At each iteration, every gene is subject to a random change with probability of the pre-assigned mutation rate. In the binary-coded case, a mutation operator changes a bit from 0 to 1 or vice versa. There is only a little difference, that is, the mutation rate should be different in different fields. In the exponent part mutation rate should be lower, because the exponent part will have strongest effect on the coded values.

111. Experimental Method

The precision table (Figure 1) is made by NSK Inc. in Japan It is driven by DC motors with low noise linear amplifiers. The specifications of the table are listed in table 1.

Figure 1 Precision Ball Screw

I

N

Stroke ZUUmm

Pitch 2mm

(2)

The PID controller used in this study can be expressed by the following equation:

A

u ( k ) = K,e( k )+ K , e ( m ) + K~ ( e ( k ) - e (k - 1 ))

m=1

The goal of the controller design is to find the set of the gains that minimize the response time and control power. The fitness function is defined as follows:

)r

F, =

[

t

(

a g e 2 ( k ) + 6 A u 2 ( k ) a,6cconstant

k=I X-1

The time weighted fitness function guarantees the response of the table to be as fast as possible. The control power will be minimized at the same time.

The genetic algorithm would evaluate these fitness values and generate the next generation of the PID pairs by selection, crossover and mutation. And these procedures repeated until the suitable PID gain be found.

The parameters of genetic algorithm are listed in

tahle 2

I I I I I I I I

I I I I I I I I

I

II

Crossover Rate 1.0

II

Mutation Rate (Exponent Part)

I

0.001 Mutation Rate (Mantissa Part)

I

0.01

The termination condition for the proposed real- coded genetic algorithms is defined as the best fitness function value remained steady for designated generations.

IV.

Experimental Results

The best fitness values vs. time is in Figure 2 . The best step response of the 133rd generation is in Figure 3. The control commands in Figure 4 has the same smooth characteristic as the results of the XY table. The steady state error is zero from Figure 5. The friction force is compensated successfully in the experiment shown.

PblefBest Flbx6?1 FUT M Genembms

8 I I I I I I I I I I I I I I 1 1 I I I I I 5 - _ _ _ _ r _ _ _ Demmbors

Figure 2 Best Fitness Func. Vs Generations

siep ~svpanss oftm ~ m c i s o n ~ s b l a

w I I 1 I I I I I I I I I I I I I I I I I I I 0 0 5 1 1 5 2 2 5 3 3 5 4 -101 lime (sec) 12 1.4 1.6 1 8 2 2 2 2 4 2.6 2.8 lima (sac)

Figure 5 Position Errors Vs Time

V.

Conclusion

I

In this paper, a real-coded genetic algorithm is proposed and tested by implementation on three different examples successfully. The PID gains found in these examples perform well in point-to-point (PTP) precision positioning. The friction effect is eliminated through the genetic algorithm and zero steady state error is achieved. The smooth control commands generate from the control gains found are very important to lengthen the life of the actuators.

VI.

Reference

[l] D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, Reading, MA: Addison-Wesley, 1989.

[2] M.O. Odetayo and D. R. McGregor, "Genetic Algorithm for Inducing Control Rules for a Dynamic System" in Proceedings of the third International. Conference on Genetic Algorithms. Morgan Kaufmann, pp. 177-182, 1989.

[3] H. M"uhlenbein, M. Schomish and J. Born, ''The Parallel Genetic Algorithm as Function Optimizer", Proceedings of the forth Conference on Genetic Algorithms. Morgan Kaufmann, pp. 27 1-278, 199 1.

Wright, "Genetic Algorithms for Real Parameter Optimization", in Foundations of Genetic Algorithms, G. J. E. Rawlins (editor), Morgan Kaufmann, San Mateo, CA, pp. 205-218, 1991.

M. Caudill, "Evolutionary Neural Networks", AI Expert, pp. 28-32, March 1991

Figure 3 Step Response of The Precision Tables

數據

Figure 1 Precision Ball Screw
Figure 2  Best Fitness Func.  Vs  Generations

參考文獻

相關文件

Then, we tested the influence of θ for the rate of convergence of Algorithm 4.1, by using this algorithm with α = 15 and four different θ to solve a test ex- ample generated as

In this paper, we build a new class of neural networks based on the smoothing method for NCP introduced by Haddou and Maheux [18] using some family F of smoothing functions.

In this paper, we develop a novel volumetric stretch energy minimization algorithm for volume-preserving parameterizations of simply connected 3-manifolds with a single boundary

In this paper we establish, by using the obtained second-order calculations and the recent results of [23], complete characterizations of full and tilt stability for locally

In this paper we establish, by using the obtained second-order calculations and the recent results of [25], complete characterizations of full and tilt stability for locally

This bioinformatic machine is a PC cluster structure using special hardware to accelerate dynamic programming, genetic algorithm and data mining algorithm.. In this machine,

This research is to integrate PID type fuzzy controller with the Dynamic Sliding Mode Control (DSMC) to make the system more robust to the dead-band as well as the hysteresis

Sharma (1999), “An Intergrated Machine Vision Based System for Solving the Non-Covex Cutting Stock Problem Using Genetic Algorithms,” Journal of Manufacturing Systems, Vol..