Keywords- DC motor, Genetic algorithm, Crossover, Mutation, PID controller.

Similar documents
POSITION CONTROL OF DCMOTOR USING SELF-TUNING FUZZY PID CONTROLLER

Position Control of Servo Systems using PID Controller Tuning with Soft Computing Optimization Techniques

COMPARISON BETWEEN SPEED CONTROL DC MOTOR USING GENETIC ALGORITHM AND PSO-PID ALGORITHM

Evolutionary Computation Techniques Based Optimal PID Controller Tuning

PID Tuning Using Genetic Algorithm For DC Motor Positional Control System

DC Motor Speed Control for a Plant Based On PID Controller

PID Controller Tuning using Soft Computing Methodologies for Industrial Process- A Comparative Approach

A PID Controlled Real Time Analysis of DC Motor

SIMULINK MODELING OF FUZZY CONTROLLER FOR CANE LEVEL CONTROLLING

Research Article Multi-objective PID Optimization for Speed Control of an Isolated Steam Turbine using Gentic Algorithm

TUNING OF PID CONTROLLER USING PSO AND ITS PERFORMANCES ON ELECTRO-HYDRAULIC SERVO SYSTEM

A Comparative Study on Speed Control of D.C. Motor using Intelligence Techniques

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Keywords: Fuzzy Logic, Genetic Algorithm, Non-linear system, PI Controller.

Simulink Based Model for Analysing the Ziegler Nichols Tuning Algorithm as applied on Speed Control of DC Motor

Comparative Study of PID and Fuzzy Controllers for Speed Control of DC Motor

IJITKM Special Issue (ICFTEM-2014) May 2014 pp (ISSN )

International Journal of Innovations in Engineering and Science

Position Control of DC Motor by Compensating Strategies

EVOLUTIONARY ALGORITHM BASED CONTROLLER FOR HEAT EXCHANGER

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

CHAPTER 5 PERFORMANCE EVALUATION OF SYMMETRIC H- BRIDGE MLI FED THREE PHASE INDUCTION MOTOR

Comparative Analysis of PID, SMC, SMC with PID Controller for Speed Control of DC Motor

A COMPARATIVE APPROACH ON PID CONTROLLER TUNING USING SOFT COMPUTING TECHNIQUES

Load Frequency Controller Design for Interconnected Electric Power System

DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller

Design and Development of an Optimized Fuzzy Proportional-Integral-Derivative Controller using Genetic Algorithm

Authors N.K.Poddar 1, R.P.Gupta 2 1,2 Electrical Engineering Department, B.I.T Sindri Dhanbad, India

PID Controller Optimization By Soft Computing Techniques-A Review

Analysis and Comparison of Speed Control of DC Motor using Sliding Mode Control and Linear Quadratic Regulator

Intelligent Methods for Tuning of Different Controllers

A Novel approach for Optimizing Cross Layer among Physical Layer and MAC Layer of Infrastructure Based Wireless Network using Genetic Algorithm

Comparative study of PID and Fuzzy tuned PID controller for speed control of DC motor

Design and Impliment of Powertrain Control System for the All Terrian Vehicle

PID CONTROLLER BASED FULL BRIDGE DC-DC CONVERTER FOR CLOSED LOOP DC MOTOR WITH UNIPOLAR VOLTAGE SWITCHING

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Effective Teaching Learning Process for PID Controller Based on Experimental Setup with LabVIEW

A Case Study of GP and GAs in the Design of a Control System

ANALYSIS OF V/f CONTROL OF INDUCTION MOTOR USING CONVENTIONAL CONTROLLERS AND FUZZY LOGIC CONTROLLER

Available online Journal of Scientific and Engineering Research, 2014, 1(2): Research Article

TUNING OF PID CONTROLLERS USING PARTICLE SWARM OPTIMIZATION

The Genetic Algorithm

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

MANUEL EDUARDO FLORES MORAN ARTIFICIAL INTELLIGENCE APPLIED TO THE DC MOTOR

GENETIC ALGORITHM BASED CONGESTION MANAGEMENT BY USING OPTIMUM POWER FLOW TECHNIQUE TO INCORPORATE FACTS DEVICES IN DEREGULATED ENVIRONMENT

Tuning Methods of PID Controller for DC Motor Speed Control

PID Controller Tuning Optimization with BFO Algorithm in AVR System

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

An Introduction to Proportional- Integral-Derivative (PID) Controllers

Determination of the PID Controller Parameters by Modified Genetic Algorithm for Improved Performance

Differential Evolution and Genetic Algorithm Based MPPT Controller for Photovoltaic System

Simulation Analysis on Proportional Integral and Derivative Control of Closed Loop DC Motor Drive with Bipolar Voltage Switching

Design Of PID Controller In Automatic Voltage Regulator (AVR) System Using PSO Technique

Compare the results of Tuning of PID controller by using PSO and GA Technique for AVR system Anil Kumar 1,Dr. Rajeev Gupta 2

Optimal Control System Design

Control Strategies for BLDC Motor

Pareto Optimal Solution for PID Controller by Multi-Objective GA

Simulation of Optimal Speed Control for a DC Motor Using Conventional PID Controller and Fuzzy Logic Controller

Cohen-coon PID Tuning Method; A Better Option to Ziegler Nichols-PID Tuning Method

DC MOTOR SPEED CONTROL USING PID CONTROLLER. Fatiha Loucif

Speed control of a DC motor using Controllers

CHAPTER 3 HARMONIC ELIMINATION SOLUTION USING GENETIC ALGORITHM

Cantonment, Dhaka-1216, BANGLADESH

Genetic Algorithm Based Performance Analysis of Self Excited Induction Generator

Analysis and Design of Conventional Controller for Speed Control of DC Motor -A MATLAB Approach

Speed control of switched reluctance motor using genetic algorithm and ant colony based on optimizing PID controller

Adaptive PID Dc Motor Speed Controller With Parameters Optimized with Hybrid Optimization Strategy

Performance Analysis of Fuzzy Logic And PID Controller for PM DC Motor Drive Khalid Al-Mutib 1, N. M. Adamali Shah 2, Ebrahim Mattar 3

Time Response Analysis of a DC Motor Speed Control with PI and Fuzzy Logic Using LAB View Compact RIO

A Sliding Mode Controller for a Three Phase Induction Motor

MODEL BASED CONTROL FOR INTERACTING AND NON-INTERACTING LEVEL PROCESS USING LABVIEW

SECTOR SYNTHESIS OF ANTENNA ARRAY USING GENETIC ALGORITHM

Tracking Position Control of AC Servo Motor Using Enhanced Iterative Learning Control Strategy

DC Motor Speed Control Using Machine Learning Algorithm

Simulation and Analysis of Cascaded PID Controller Design for Boiler Pressure Control System

DC SERVO MOTOR CONTROL SYSTEM

Smart Grid Reconfiguration Using Genetic Algorithm and NSGA-II

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

NUMERICAL SIMULATION OF SELF-STRUCTURING ANTENNAS BASED ON A GENETIC ALGORITHM OPTIMIZATION SCHEME

Coordination of overcurrent relay using Hybrid GA- NLP method

ANFIS Based Model Reference Adaptive PID Controller for Speed Control of DC Motor

Design of PID Controller for Higher Order Discrete Systems Based on Order Reduction Employing ABC Algorithm

A Searching Analyses for Best PID Tuning Method for CNC Servo Drive

DESIGN OF FRACTIONAL ORDER PI CONTROLLER USING METAHEURISTIC ALGORITHMS APPLIED TO DC-DC BOOST CONVERTER- A COMPARISION

6545(Print), ISSN (Online) Volume 4, Issue 1, January- February (2013), IAEME & TECHNOLOGY (IJEET)

Performance and Analysis of Optimization Techniques for Speed Control of Dc Motor

INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN ENGINEERING AND TECHNOLOGY (IJARET)

Performance Comparison of P, PI and PID for Speed Control of Switched Reluctance Motor using Genetic Algorith

Comparisons of Different Controller for Position Tracking of DC Servo Motor

PID Controller Based Nelder Mead Algorithm for Electric Furnace System with Disturbance

Dynamic Response of Wound Rotor Induction Generator for. Wind Energy Application

Application of SDGM to Digital PID and Performance Comparison with Analog PID Controller

CS 441/541 Artificial Intelligence Fall, Homework 6: Genetic Algorithms. Due Monday Nov. 24.

Application of genetic algorithm to the optimization of resonant frequency of coaxially fed rectangular microstrip antenna

CHAPTER 2 STATE SPACE MODEL OF BLDC MOTOR

Simulation of BLDC motor control with Reduced Order Model of the System with Observer State using SMC technique

MODEL BASED DESIGN OF PID CONTROLLER FOR BLDC MOTOR WITH IMPLEMENTATION OF EMBEDDED ARDUINO MEGA CONTROLLER

SIMULATION AND IMPLEMENTATION OF PID-ANN CONTROLLER FOR CHOPPER FED EMBEDDED PMDC MOTOR

Enhancement of Voltage Stability by SVC and TCSC Using Genetic Algorithm

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Transcription:

Volume 3, Issue 7, July 213 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Speed Control of DC Motor Using Genetic Algorithm Based PID Controller Megha Jaiswal, Mohna Phadnis (H.O.D. EX) Electrical & Electronics Department Malwa Institute of Technology,Indore R.G.P.V., Bhopal, India Abstract- The tuning aspect of proportional integral-derivative (PID) controllers is a challenge for researchers and plant operators. This paper proposes the tuning of PID controller of a DC motor using genetic Algorithm.Genetic algorithm is a soft computing technique which is used for optimization of PID parameters. The Algorithm functions on three basic genetic operators of selection, crossover and mutation. Based on the types of these operators GA has many variants like Real coded GA, Binary coded GA, These parameters have a great influence on the stability and performance of the control system. This Paper focuses the Binary coded GA & find the value of crossover, mutation of PID controller Keywords- DC motor, Genetic algorithm, Crossover, Mutation, PID controller. I. Introducion Due to its excellent speed control characteristics, the DC motor has been widely used in industry even though its maintenance costs are higher than the induction motor. As a result, Speed control of DC motor has attracted considerable research and several methods have evolved. Proportional-Integral Derivative (PID) controllers have been widely used for speed and position control of DC motor. [1] This paper proposes a new method to design a speed controller of a DC motor by selection of PID parameters using GA To show the efficiency of GA. the results of this method are compared with simple PID Controller.Using genetic algorithms to perform the tuning of the controller results in the optimum controller being evaluated for the system every time. The objective of this paper is to show the Binary coded GA & find the value of crossover, mutation of PID controller. II. Model of Dc Motor As reference we consider a DC shunt motors as is shown in figure 1. DC shunt motors have the field coil in parallel (shunt) with the armature. The current in the field coil and the armature are independent of one another. As a result, these motors have excellent speed and position control. Hence DC shunt motors are typically used applications that require five or more horse power. The equations describing the dynamic behavior of the DC motor are given by the following equations;[1] Fig.1. Diagram of DC shunt motor V = R i + L di + e b (1) T m = K t i (2) T m = J d2 θ + B dθ (3) 2 dθ e b = K b (4) 213, IJARCSSE All Rights Reserved Page 247

ω = dθ (5) After simplification and taking the ratio of ω(s)/v(s) we will get the transfer function as below: ω(s) V(s) = K b Js+B Ls+R +K b 2 +RB (6) R: Armature resistance in ohm L: Armature inductance in henry i: Armature current in ampere V: Armature voltage in volts e b : Back emf voltage in volts K b : Back emf constant in volt/ (rad/sec) K T : Torque constant in N.m/Ampere T m : Torque developed by the motor in N.m θ (t): Angular displacement of shaft in radians J: Moment of inertia of motor and load in Kg.m2/rad B: Frictional constant of motor and load in N.m/ (rad/sec)[2] A. Numerical Values The DC motor under study has the following specifications and parameters. 1) Specifications 2hp, 23 volts, 8.5 amperes, 15rpm 2) Parameters: Ra=.45 ohm, La=.35 H, Kb=.5 volt/(rad/sec), J=.22Kg-m2/rad, B=.2*1^-3N-/(rad/sec). The overall transfer function of the system is given below, ω(s) V(s) =.5.77s 2 +.97s +.2518 III. Conventional Pid Controller A. Fundamentals of PID controller PID controllers are the most widely-used type of controller for industrial applications. They are structurally simple and exhibit robust performance over a wide range of operating conditions. In the absence of the complete knowledge of the process these types of controllers are the most efficient of choices. The three main parameters involved are Proportional (P), Integral (I) and Derivative (D). The proportional part is responsible for following the desired set-point, while the integral and derivative part account for the accumulation of past errors and the rate of change of error in the process respectively. Setpoint r Error K P e(t) t K i e(x). dx Plant Output K d de For the PID controller presented in Fig. 2, Output of the PID controller, Fig.2 Block diagram of a conventional PID controller 213, IJARCSSE All Rights Reserved Page 248

Amplitude Jaiswal et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(7), t d e(t) u(t) = K p e t + K i e x. dx + K d (7) Where, Error, e(t) =Set point- Plant output K p =proportional gain K i = integral gain K d = derivative gain A. Analysis of conventionally tuned PID Controller without Genetic Algorithm Here we are using DC motor with PID Controller without G.A. By the use of matlab programming PID controller is tuned & the result is given below 14 Tuning of PID of D.C Motor 12 1 8 6 4 2 2 4 6 8 1 12 14 16 18 2 Time(sec) Fig.3 result without G.A based PID controller From the above response,we can analyze the system. we can analyze the following parameter: Rise Time, t r Maximum Overshoot, M p Settling time, t s The rise time, t r is the time taken to reach 1 to 9 % of the final value is about.5 sec. The Maximum Overshoot, M p of the system is approximately 1.1. Finally the Settling time, t s is about.25sec. From the analysis above, the system has not been tuned to its optimum. So in order to achieve the following parameters we have to go for genetic algorithm approach. Our system requirements are given below, TABLE 1 System requirements Specification M p t r t s <1.1 <.5 <.25sec IV. Pid Controller Using Genetic Algorithm A. Overview of Genetic Algorithm GA is a stochastic global adaptive search optimization technique based on the mechanisms of natural selection. Recently, GA has been recognized as an effective and efficient technique to solve optimization problems. Compared with other optimization techniques. GA starts with an initial population containing a number of chromosomes where each one represents a solution of the problem which performance is evaluated by a fitness function. Basically, GA consists of three main stages: Selection, Crossover and Mutation. The application of these three basic operations allows the creation of new individuals which may be better than their parents. This algorithm is repeated for many generations and finally stops when reaching individuals that represent the optimum solution to the problem. The GA architecture is shown in Fig.4 213, IJARCSSE All Rights Reserved Page 249

START INITIAL POPULATION K p, K i & K d EVALUATE FITNESS SELECTION CROSSOVER MUTATION ELITIST MODEL TERMINATION CONDITION NO YES END Fig.4 Flow Chart of Genetic Algorithm B. Objective Function of the Genetic Algorithm The most challenging part of creating a genetic algorithm is writing the objective functions. In this project, the objective function is required to evaluate the best PID controller for the system. An objective function could be created to find a PID controller that gives the smallest overshoot, fastest rise time or quickest settling time. However in order to combine all of these objectives an objective function is designed to minimize the performance indices of the controlled system instead. [4] C. Overview of Binary Coded G.A GA has many variants like Real coded GA, Binary coded GA, Saw tooth GA, Micro GA, Improved GA, Differential Evolution GA. This paper is based on Binary coded G.A. The binary coded genetic algorithm is a probabilistic search algorithm that iteratively transforms a set (called a population) of mathematical objects (typically fixed-length binary character strings), each with an associated fitness value, into a new population of offspring objects using the Darwinian principle of natural selection and using operations that are patterned after naturally occurring genetic operations, such as crossover and mutation.[5] 1) Encoding In genetic Algorithm,coding is expressing the individual by the binary strings of s & 1 s. In the instance one every individual has there dimension and every dimension is expressed by a 1- bit string of s & 1 s.[6] 213, IJARCSSE All Rights Reserved Page 25

2) Selection The selection operator selects chromosomes from the current generation to be parents for the next generation. In this method, a few good chromosomes are used for creating new offspring in every iteration. Then some bad chromosomes are removed and the new offspring is placed in their places. The rest of population migrates to the next generation without going through selection process. 3) Crossover Crossover is the GA's primary local search routine. The crossover/reproduction operator computes two offspring for each parent pair given from the selection operator. The crossover operator is used to create new solutions from the existing solutions available in the mating pool after applying selection operator. This operator exchanges the gene information between the solutions in the mating pool. The most popular crossover selects any two solutions strings randomly from the mating pool and some portion of the strings is exchanged between the strings. The selection point is selected randomly. A probability of crossover is also introduced in order to give freedom to an individual solution string to determine whether the solution would go for crossover or not. 4) Mutation Mutations are global searches. A probability of mutation is again predetermined before the algorithm is started which is applied to each individual bit of each offspring chromosome to determine if it is to be inverted. Mutation changes the structure of the string by changing the value of a bit chosen at random.[7] Mutation is the occasional introduction of new features in to the solution strings of the population pool to maintain diversity in the population. Though crossover has the main responsibility to search for the optimal solution, mutation is also used for this purpose. Mutation operator changes a 1 to or vise versa, with a mutation probability of.the mutation probability is generally kept low for steady convergence. A high value of mutation probability would search here and there like a random search technique. V. Proposed Work A. Implementation of G.A based PID Controller In the proposed work a DC Motor model is called by a program which is coded in Matlab for a fitness function i.e cost function. In order to use GA to tune the PID controller for DC motor. Variables K p, K i, & K d are coded to solve string structures. Binary coded string having 1 s & s are mostly used. The length of string is usually determined according to the desired solution accuracy. Here 1 bits are used to code each variable. We can use 8 bit & 4 bit also. Thereafter select the random strings from the population to form the mating pool. In order to use roulette-wheel selection procedure, we calculate the average fitness of the population. Then the mating pool strings are used in the crossover operation. The next step is to perform mutation on strings in the intermediate population. The resulting population becomes the new population. The whole process is coded in matlab & after running the program we get the optimized values of K p, K i & K d. The simulation modal for the entire system is given below and also the genetic algorithm parameters are chosen for the optimization. Fig:5 simulation modal of GA based PID controller Parameter TABLE 2 G.A. PARAMETERS Value Population size 2 Iteration 5 Crossover Probability >.8 Mutation Probability <.5 213, IJARCSSE All Rights Reserved Page 251

Amplitude Amplitude Jaiswal et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(7), From the above table all the parameter values are apply to G.A the PID controller with DC motor is optimized. The system response is given below. 12 Tuning of PID of D.C Motor with genetic algorithm 1 8 6 4 2 5 1 15 2 Time(sec) Fig.6 Result of G.A based PID controller TABLE 3 G.A. PARAMETERS Parameter value M p t r t s PID with G.A.4.33.943 VI. Analysis Of Result It is clear from both results that the simple PID controller is not getting the accurate results but the G.A based PID controller getting the proper optimized gain values of K P, K i and K d. Below fig. shows the comparison of both the result. 14 12 Performance of D.C Motor with PID without G.A with G.A 1 8 6 4 2 2 4 6 8 1 12 14 16 18 2 Time(sec) Fig.7 Comparative results 213, IJARCSSE All Rights Reserved Page 252

TABLE II COMPARISON OF PARAMETER WITH G.A & WITHOUT G.A Parameter k p K i K d T r T s M p Without G.A 1 1.1 1.63 8.66 3.13 With G.A 6.52.8.33.3773.9433.4 VII. Conclusion Research work has been carried out to get an optimal PID tuning by using GA. This paper provides the complete original binary coded G.A program in mat lab, which can be directly run through Mat lab 7.1. G.A is applied to find optimal solution for the parameter of DC motor with PID controller & indicates that G.A is powerful global searching method. The G.A designed PID controller is much better in terms of rise time, settling time, overshoot then simple PID controller. In the future Binary coded G.A. is implement to other system of the plant for the speed control by using PID controller. Refrences [1] Neenu Thomas, Dr.P.Poongodi, 29. Position Control of DC Motor Using Genetic Algorithm Based PID Controller,Proceedings of the World Congress on Engineering 29 Vol II WCE 29, London, U.K. [2] T. O..Mahony, C J Downing and K Fatla, Genetic Algorithm for PID Parameter Optimization: Minimizing Error Criteria, Process Control and Instrumentation 2 26-28 July 2, University of Stracthclyde, pg 148-153. [3] K Ogata, Modern Control Systems, University of Minnesota, Prentice Hall, 1987 [4] B.Nagaraj,Dr.N.Murugananth A Comparative Study of PID Controller Thning Using GA, EP, PSO and ACO ICCCCT-1 IEEE Trans [5] Phillip David Power, Non Linear Multi Layer Perceptron Channel Equalisation,Chapter 4 Genetic Algorithm Optimisation, in IEEE Transactions,The Queen University of Belfast,April 21. [6] Kalyanmoy Deb, Optimization for Engineering Design Algorithm & Examples,Indian Institute Of Technology Kanpur, Prentice Hall, 25. [7] Liu Fan, Er Meng Joo Design for Auto-tuning PID Controller Based on Genetic Algorithms Nanyang Technological University Singapore IEEE Trans on ICIEA 29 [8] Grefenstette, Optimization of control parameters for geneticalgorithms. IEEE Trans on SMC, 1986, 16(1):122-128. [9] ASTROM K.J., HAGGLUND T.: The future of PID control, Control Eng. Pract., 21, 9, (11), pp. 1163 1175. [1] B. C. Kuo, Automatic Control Systems, 5th ed. Englewood Cliffs Prentics-Hall, 1987. [11] J. G. Ziegler and N. B. Nichols, Optimum settings for automatic controllers, Trans. ASME, vol. 64, pp. 759-768, 1942. [12] M. Ge, M. S. Chiu and Q. G. Wang, Robust PID controller design via LMI approach, Journal of Process Control, vol. 12, no.1, pp. 3-13, 22 [13] T. O..Mahony, C J Downing and K Fatla, Genetic Algorithm for PID Parameter Optimization: Minimizing Error Criteria, Process Control and Instrumentation 2 26-28 July 2, University of Stracthclyde, pg 148-153 213, IJARCSSE All Rights Reserved Page 253