CLOSED LOOP SYSTEM IDENTIFICATION USING GENETIC ALGORITHM

Similar documents
Adaptive Crossover in Genetic Algorithms Using Statistics Mechanism

Genetic Algorithm Performance with Different Selection Methods in Solving Multi-Objective Network Design Problem

CONCEPT FORMATION AND DECISION TREE INDUCTION USING THE GENETIC PROGRAMMING PARADIGM

The Genetic Algorithm for finding the maxima of single-variable functions

Revision of a Floating-Point Genetic Algorithm GENOCOP V for Nonlinear Programming Problems

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

ISSN: [Keswani* et al., 7(1): January, 2018] Impact Factor: 4.116

Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

A HYBRID APPROACH IN GENETIC ALGORITHM: COEVOLUTION OF THREE VECTOR SOLUTION ENCODING. A CASE-STUDY

A GENETIC ALGORITHM APPROACH TO OPTIMAL TOPOLOGICAL DESIGN OF ALL TERMINAL NETWORKS

Learning Adaptive Parameters with Restricted Genetic Optimization Method

Evolutionary Computation. Chao Lan

Fault Detection in Control Systems via Evolutionary Algorithms

Genetic Algorithms For Vertex. Splitting in DAGs 1

EVOLVING LEGO. Exploring the impact of alternative encodings on the performance of evolutionary algorithms. 1. Introduction

Binary Representations of Integers and the Performance of Selectorecombinative Genetic Algorithms

An Integrated Genetic Algorithm with Clone Operator

Network Routing Protocol using Genetic Algorithms

Partitioning Sets with Genetic Algorithms

Using Genetic Algorithms in Integer Programming for Decision Support

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Genetic Algorithms for Real Parameter Optimization

Genetic Model Optimization for Hausdorff Distance-Based Face Localization

Image Classification and Processing using Modified Parallel-ACTIT

Performance Limitations of Some Industrial PID Controllers

Real Coded Genetic Algorithm Particle Filter for Improved Performance

Multi-objective pattern and feature selection by a genetic algorithm

Research Article Path Planning Using a Hybrid Evolutionary Algorithm Based on Tree Structure Encoding

MINIMAL EDGE-ORDERED SPANNING TREES USING A SELF-ADAPTING GENETIC ALGORITHM WITH MULTIPLE GENOMIC REPRESENTATIONS

Task Graph Scheduling on Multiprocessor System using Genetic Algorithm

Genetic algorithms and finite element coupling for mechanical optimization

Using CODEQ to Train Feed-forward Neural Networks

International Conference on Computer Applications in Shipbuilding (ICCAS-2009) Shanghai, China Vol.2, pp

Automata Construct with Genetic Algorithm

Dejong Function Optimization by means of a Parallel Approach to Fuzzified Genetic Algorithm

GENERATIONAL MODEL GENETIC ALGORITHM FOR REAL WORLD SET PARTITIONING PROBLEMS

International Journal of Mechatronics, Electrical and Computer Technology

Research on Applications of Data Mining in Electronic Commerce. Xiuping YANG 1, a

Improving interpretability in approximative fuzzy models via multi-objective evolutionary algorithms.

MAXIMUM LIKELIHOOD ESTIMATION USING ACCELERATED GENETIC ALGORITHMS

Calc Redirection : A Structure for Direction Finding Aided Traffic Monitoring

Evolutionary Computation Algorithms for Cryptanalysis: A Study

Optimization of Association Rule Mining through Genetic Algorithm

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

Evolving SQL Queries for Data Mining

Ant colony optimization with genetic operations

March 19, Heuristics for Optimization. Outline. Problem formulation. Genetic algorithms

Experimental Comparison of Different Techniques to Generate Adaptive Sequences

Multi-objective Optimization

Using Genetic Algorithms to optimize ACS-TSP

CHAPTER 4 GENETIC ALGORITHM

Information Fusion Dr. B. K. Panigrahi

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

An Adaption of the Schema Theorem to Various Crossover and Mutation Operators for a Music Segmentation Problem

Automatic Selection of GCC Optimization Options Using A Gene Weighted Genetic Algorithm

Outline. CS 6776 Evolutionary Computation. Numerical Optimization. Fitness Function. ,x 2. ) = x 2 1. , x , 5.0 x 1.

Solving A Nonlinear Side Constrained Transportation Problem. by Using Spanning Tree-based Genetic Algorithm. with Fuzzy Logic Controller

MIC 2009: The VIII Metaheuristics International Conference. A Comparative Study of Adaptive Mutation Operators for Genetic Algorithms

Genetic algorithm based on number of children and height task for multiprocessor task Scheduling

Hyperplane Ranking in. Simple Genetic Algorithms. D. Whitley, K. Mathias, and L. Pyeatt. Department of Computer Science. Colorado State University

Relationship between Genetic Algorithms and Ant Colony Optimization Algorithms

A NOVEL APPROACH FOR PRIORTIZATION OF OPTIMIZED TEST CASES

A Genetic Based Fault Location Algorithm for Transmission Lines

Improved Multiprocessor Task Scheduling Using Genetic Algorithms

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

Adaptive QoS Control Beyond Embedded Systems

Genetic Algorithms and their Testing

Mobile Robots Path Planning using Genetic Algorithms

Image Processing algorithm for matching horizons across faults in seismic data

Inducing Parameters of a Decision Tree for Expert System Shell McESE by Genetic Algorithm

Role of Genetic Algorithm in Routing for Large Network

Genetically Enhanced Parametric Design for Performance Optimization

Optimal Facility Layout Problem Solution Using Genetic Algorithm

The Continuous Genetic Algorithm. Universidad de los Andes-CODENSA

AN EVOLUTIONARY APPROACH TO DISTANCE VECTOR ROUTING

A New Crossover Technique for Cartesian Genetic Programming

Inductive Sorting-Out GMDH Algorithms with Polynomial Complexity for Active Neurons of Neural Network

Chapter 9: Genetic Algorithms

Topological Machining Fixture Layout Synthesis Using Genetic Algorithms

The Binary Genetic Algorithm. Universidad de los Andes-CODENSA

A Genetic Approach to Analyze Algorithm Performance Based on the Worst-Case Instances*

User Guide for FOPDT and SOPDT Model Regression 1 April 2018 R. Russell Rhinehart

ADAPTATION OF REPRESENTATION IN GP

A HYBRID ALGORITHM BASED ON PARTICLE SWARM OPTIMIZATION

FINGERPRINT REGISTRATION USING GENETIC ALGORITHMS

ET-based Test Data Generation for Multiple-path Testing

Evolution of the Discrete Cosine Transform Using Genetic Programming

Extending MATLAB and GA to Solve Job Shop Manufacturing Scheduling Problems

A Memetic Heuristic for the Co-clustering Problem

Reducing Graphic Conflict In Scale Reduced Maps Using A Genetic Algorithm

A Modified Genetic Algorithm for Process Scheduling in Distributed System

Central Manufacturing Technology Institute, Bangalore , India,

Heuristic Optimisation

John R. Koza Computer Science Department Stanford University Stanford, CA USA

SPATIAL OPTIMIZATION METHODS

Automating the Construction of Neural Models for Control Purposes using Genetic Algorithms

Comparative Study on VQ with Simple GA and Ordain GA

A GENETIC ALGORITHM AND AN INDIFFERENCE-ZONE RANKING AND SELECTION FRAMEWORK FOR SIMULATION OPTIMIZATION. Henrik E. Hedlund Mansooreh Mollaghasemi

Metaheuristic Optimization with Evolver, Genocop and OptQuest

Transcription:

CLOSED LOOP SYSTEM IDENTIFICATION USING GENETIC ALGORITHM Lucchesi Alejandro (a), Campomar Guillermo (b), Zanini Aníbal (c) (a,b) Facultad Regional San Nicolás Universidad Tecnológica Nacional (FRSN-UTN), Argentina (c) Universidad de Buenos Aires - CONICET, Argentina (a) alucchesi@frsn.utn.edu.ar, (b) gcampomar@frsn.utn.edu.ar, (c) azanini@fi.uba.ar ABSTRACT Time-delay processes are frequently found in industry and the most common representation is a first order plus delay time (FOPDT) transfer function. The identification of time delay systems is a challenging tas. Usually, the process has to be disturbed in order to excite enough the system to provide the information for identification. This wor presents a genetic algorithm to identify the system using closed loop information. Therefore, a setpoint change in the reference is used, avoiding disturbances to the process. the mathematical model of the system is presented. In Section 2, a description of the genetic algorithm for the identification. In Section 3, the data set generation for testing the algorithm. In section 4, the results and a test using data from a closed loop system in an industrial facility and conclusions in Section 5. Finally, future wors in Section 6. 1.1. Plant model A first order plus dead time model (FOPDT) is used (1). Keywords: time-delay system, identification, genetic algorithm G ( s) s K. e s 1 (1) 1. INTRODUCTION Despite of the growth of Model Predictive Controllers (MPC) in the industry, the PID (Proportional-Integral- Derivative) is the dominant feedbac control algorithm. In most MPC applications, the manipulated variables are the setpoints of PID controllers. Therefore, the performance of the regulatory control loops is important. As indicated by Desborough and Miller (22), only one third of the controllers performance found in the continuous process industry are acceptable. Lots of benefits can be obtained by improving performance of PID loops, and the identification of the systems dynamics is the first step. Yang and Seested (213) used a genetic algorithm method for identifying first order plus dead time (FOPDT) transfer functions and compared the results with other identification techniques using open loop data and different excitation signals. The present wor consist in the study and implementation of a real coded genetic algorithm to identify FOPDT transfer functions from the inputoutput data obtained from a closed loop step test. Therefore, correlated information will be used to identify the process, as data is obtained from a setpoint change in the controller. Considering a system which is controlled by a PID algorithm, three vectors containing information of sample time, controller output and system output are necessary to feed the identification software. The structure of this paper is as follows. In this section The discrete form of the model preceded by a ZOH is described in (2). G ( z) b. z z a d a. yˆ 1 b. u 1d (2) yˆ (3) where b K. 1 e Ts a e Ts d (4) Ts 2. THE GENETIC ALGORITHM FOR IDENTIFICATION In the FOPDT model, the parameters to be identified are gain, delay time and time constant. Yang and Seested (213) showed that the identification of unnown time delay systems is often a non-convex optimization problem and that the cost surface could have more than one minimum. They also showed that better results are obtained while using the continuous time parameters rather than the discrete ones, because of the exponential relationship between them (4) that affects the performance of the genetic algorithm. In the algorithm, the output of each system in the population is calculated using the real data input vector. 68

The cost function to minimize is defined as the sum of the absolute error between the real output and the model estimated output. J N 1 y yˆ (5) 2.1. The genetic algorithm The genetic algorithm is a well nown tool to solve optimization problems. It s based in principles of genetics and natural selection. It s composed by a population of individuals, that evolves on each iteration to minimize (or maximize) a cost function. One of the most important benefits of the genetic algorithm is that it can handle a complex cost surface and its possibilities to jump out of a local minimum. The algorithm was introduced by Holland (1975) and De Jong (1975) and popularized by Goldberg (1989). The population of solutions can be described as in (6), and the best solution at the time t is x. P,..., t t ( t ) x1 x (6) N Where x K,, (7) The initial values of P are randomly generated between the established limits for each variable. At each iteration, the population evolves through the application of the genetic operators: heuristic crossover, static mutation and dynamic mutation. Janiow and Michalewicz (1991) described the benefits regarding processing speed and precision of the real coded algorithm compared to the binary coded one. Therefore, a real coded genetic algorithm is used. The population number is set to 5, and the execution is limited to 2 iterations. The survival rate is 6% and the mutation rate is set to 2%. 2.1.1. Heuristic crossover On each iteration, the population is sorted by the function cost, and natural selection occurs. The worst 2 individuals are discarded, to mae room to the new ones. 2 pairs of individuals are selected randomly to generate the offsprings to be included in the population. The heuristic crossover method, which is described in Wright (199), is used. The function is (8) t i With this operator, the information of the better solutions is combined to generate new solutions. It explores a point by moving outward of the better parent. The constrain is that no new information is introduced in the population. 2.1.2. Static mutation The genetic algorithm can converge to a local minimum solution quicly. To avoid this issue, the mutation operator is introduced, which enables the exploration of other surfaces of the cost function by producing random changes in the variables. As the mutation rate is set in 2%, 1 variables will be changed by random numbers on each iteration. This operator is important in the early phases of the algorithm, as searches on different surfaces areas. 2.1.3. Dynamic mutation When the iteration number is in 1, the dynamical mutation described by Janiow and Michalewicz (199) is introduced. The operator is described in (9). x t, UB x x' x t, x LB if a random bit is if a random bit is 1 (9) Where LB and UB are the limits of the variable. The t, x is defined in (1) function t t, x x. r. f 1 (1) T Where f is a scale factor equal to.1, r is a random number between and 1, and T is the maximal iteration number. This operator improves the fine tuning, as the searched space decreases at the later stages of the population life. 2.1.4. Genetic algorithm flowchart In Figure 1 a flow chart describing the genetic algorithm implementation is shown. x (8) x2 x1 2 3 x Where is a random number between and 1, and with x 2 better than x 1. With this function exists the possibility to create an offspring outside the limits. This condition must be checed, and in case it occurs, another offspring should be generated with a new random number. 69

Generate randomly initial population Calc. cost function for each individual Sort the population according to cost Select parents and generate offsprings Static mutation Iteration < 1? Yes No Dynamic mutation Table 1: parameters of the testing transfer functions Gain ().8.8.8 Delay (θ) 4 1 2 Time constant 2 1 4 (τ) Delay (θ) / Time constant (τ).2 1 5 Three different PI controllers are designed, in order to obtain under, critical, and over simulated closed loop information. Three different levels of white noise are added to the process variable, with a variance of (no noise),.1 and.1. Therefore, 27 sets of simulated closed loop information are used to test the identification algorithm. No Iteration > 2? r + Gcs - n G s + + y Yes Figure 1: genetic algorithm flowchart. 2.2. Variables limits The boundaries of the searched variables are defined. For the gain, the maximum and minimum values of the input and output vectors are used, with a margin of 1, as indicated in (11) max{ y} min{ y} 1 (11) LIM max{ u} min{ u} The delay time limit is calculated as (12) N (12) LIM Ts With N the length of the vector. The constant time limit is calculated as (13) 5 (13) LIM LIM 3. TESTING DATA Done 3.1. Generation of the testing data For the testing of the identification algorithm, three different transfer functions are used, as described in Table 1, with a relationship between the time delay and time contant of.2, 1 and 5. Figure 2: simulation bloc diagram for testing data generation. 4. RESULTS 4.1. Gain parameter The identification of the gain parameter can be seen in Figure 3. The value is normalized to 1. Normalized value 1.2 1.1.99.98.97.96.95.94 Gain (K) Model Nominal Noise Noise.1 Noise.1 Figure 3: gain parameter for different models and noises variance. 4.2. Time delay parameter The identification of the time delay parameter can be seen in Figure 4. The value is normalized to 1. 7

Normalized value 1.4 1.3 1.2 1.1.9.8.7 Time delay (θ) Model Nominal Noise Noise.1 Noise.1 Figure 4: time delay parameter for different models and noises variance. 4.3. Time constant parameter The identification of the time constant parameter can be seen in Figure 5. The value is normalized to 1. Normalized value 1.3 1.2 1.1.9.8.7 Time constant (τ) Nominal Noise Noise.1 Noise.1 Model Figure 5: time delay parameter for different models and noises variance. 4.4. Noise influence The influence of noise in the identification is shown in figure 6. It can be seen that for higher noise, the standard deviation of the estimated parameters is higher, showing the negative impact of noise..14 Parameters estandar deviation 4.5. Influence of the controller tuning parameters of the closed loop data The controller a is the one tuned with the more aggressive parameters, with an under closed loop response. The identifications with the information from this controller show the minimum standard deviation in the time constant and time delay parameters figure 7..18.16.14.12.1.8.6.4.2. Parameters estandar deviation Gain Time constant Time delay Controller a Controller b Controller c Figure 7: standard deviation of the estimated parameters under different controllers. 4.6. Examples of responses for the higher noises The identification results are shown as an example for data with higher noise. It can be seen the data from the simulation used for the identification, and the identified system output. In figure 8 the system with K =.8 / τ = 2 / θ = 4 is used, with a controller generating an under response. In figure 9 the system with K =.8 / τ = 1 / θ = 1 is used, with a controller generating a critical response. In figure 1 the system with K =.8 / τ = 4 / θ = 2 is used, with a controller generating an over response. It can be seen the data from the simulation used for the identification, and the identified system output..12 2. Identification results 34.1 1.5 29.8.6 Noise Noise 1 Noise 2.5 24 19.4.2. Gain Time constant Time delay Figure 6: standard deviation of the estimated parameters under different noises variances.. 14 1 2 3 4 5 6 7 8 9 1 -.5 9-4 -1.5-1 -2. -6 Figure 8: identification results for model 1. 71

1.5 Identification results 5 97.35 Closedloop setpoint step 68.5 4 3 97.3 97.25 678 676 674. 1 2 3 4 5 6 7 8 9 1 2 -.5 % Oxygen 97.2 672 67 Nm3/h - 1 97.15 668-1.5 97.1 666 664-2. 1.5.5 Figure 9: identification results for model 2.. 1 2 3 4 5 6 7 8 9 1 2 -.5 - -1.5-2. Figure 1: identification results for model 3. 4.7. Test of the algorithm with industrial data. A closed loop information from an industrial facility is used to test the algorithm. The production site is an air separation unit (ASU) that produces gaseous oxygen by cryogenic distillation. The purity is controlled with the oxygen flow production. Even though the loops are in cascade (the purity controller Gcp output is the setpoint of the flow controller Gcf), the dynamics of the flow loop are much faster than the purity one. Therefore, the data from the output of the master purity controller is used as input vector (setpoint of the flow controller), and the purity as output vector. Purity SP Figure 1: data collection bloc diagram. A purity setpoint step from 97.3% to 97.2% is used for identification. The results are: K = -.56 τ = 13.29 min θ = 51.24 min Purity controller Input data vector Identification results Flow controller Flow system Purity system + Gcp + Gcf Gf Gp - - -1 5 4 3 1-1 Output data vector PV Figure 11: identified system from industrial facility. The identification software had to be adapted for the real data usage. The Setpoint vector was included, in order to detect a change in the reference. The system data, until the setpoint change, is considered in steady state, and the average of those samples are calculated as in (14) and (15). Then, those values are substracted from the u and v vector. u 1 y 97.5 4 8 12 16 2 24 28 32 36 Min 1 u y (14) (15) This ind of loops, where the delay time and time constant values are relatively high, are difficult to tune with a trial and error approach, and it s common to see them in Manual mode in the industries. 5. CONCLUSIONS The algorithm showed a good performance and robustness. Even with the higher noise variance, the estimated parameters are acceptable and suitable for controller design. The results obtained on a real system were satisfactory and allow the identification application for closed-loop tuning controllers. 6. FUTURE WORK After showing the capabilities of the genetic algorithm in the identification of FOPDT systems, the objective is to extend the scope to integrating process with time delay and second order plus delay time (SOPDT). Several rules exist for controller design based on the transfer function parameters, as described by O Dwyer (2a and 2b). In the future, the design of the controller using optimization methods based on a desired closed loop response will be proposed. 662 72

REFERENCES De Jong, K. A. 1975. Analysis of the behavior of a class of genetic adaptive systems. Ph.D. Dissertation. University of Michigan, Ann Arbor. Desborough L., Miller R., 22. Increasing Customer Value of Industrial Control Performance Monitoring Honeywell s Experience. AIChE Symposium Series. pp. 169 189. Goldberg,D. E. 1989. Genetic Algorithms in Search, Optimization, and Machine Learning. Reading, MA: Addison-Wesley. Holland, J. H. 1975. Adaptation in Natural and Artificial Systems. Ann Arbor: University of Michigan Press. Janiow C.Z., Michalewicz, Z., 1991. An experimental comparison of binary and floating point representations in genetic algorithms. Proceedings of the 4th International Conference on Genetic Algorithms, San Diego, CA, USA. Janiow C.Z., Michalewicz Z., 199. A specialized genetic algorithm for numerical optimization problems, Proceedings of the 2nd International IEEE Conference on Tools for Artificial Intelligence, p.798-84. AUTHORS BIOGRAPHY Lucchesi, Alejandro: Electronic Engineer graduated from the National Technological University College St. Nicholas (UTN- FRSN), Argentina in 26. Actually woring on his Master degree thesis in numerical simulation and control, from the College of Engineering of the University of Buenos Aires (UBA), Argentina. Assistant professor of control systems in Electronic Engineering career and researcher of the control systems study group (GESiC) in the UTN - FRSN since 22. Campomar, Guillermo: Electronic Engineer graduated from the National Technological University College St. Nicholas (UTN- FRSN), Argentina in 21. Magister in numerical simulation and control, graduated from the College of Engineering of the University of Buenos Aires (UBA), Argentina in 26. Professor of control systems in Electronic Engineering career and coordinator of the control systems study group (GESiC) in UTN - FRSN since 22. Zanini, Aníbal: Electrical Engineer from National University of Rosario Argentina (1977) and the Phd. in Automatica from Universidad Politécnica de Madrid Spain (1983). Associate Professor with University of Buenos Aires Argentina. O'Dwyer A., 2a. A summary of PI and PID controller tuning rules for processes with time delay. Part 1: PI controller tuning rules. Proceedings of PID IFAC Worshop on Digital Control, pp. 175-18, Terrassa, Spain. O'Dwyer A., 2b. A summary of PI and PID controller tuning rules for processes with time delay. Part 2: PID controller tuning rules. Proceedings of PID IFAC Worshop on Digital Control, pp. 242-247, Terrassa, Spain. Wright, A.H., 199. Genetic Algorithms for Real Parameter Optimization. In Rawlins, G. (Ed.), Foundations of Genetic Algorithms, First Worshop on the Foundations of Genetic Algorithms and Classier Systems, Morgan Kaufmann Publishers, Los Altos, CA, pp.25-218. Yang Z., Seested G.T., 213. Time-Delay System Identification Using Genetic Part One: Precise FOPDT Model Estimation. Proceedings of the 3rd IFAC International Conference on Intelligent Control and Automation Science. Vol. 3, pp. 561-567. 73