A PID Controlled Real Time Analysis of DC Motor

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

DC Motor Speed Control for a Plant Based On PID Controller

International Journal of Innovations in Engineering and Science

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

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

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

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

SPEED CONTROL OF BRUSHLESS DC MOTOR USING FUZZY BASED CONTROLLERS

ISSN: (Online) Volume 2, Issue 1, January 2014 International Journal of Advance Research in Computer Science and Management Studies

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

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

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

Comparisons of Different Controller for Position Tracking of DC Servo Motor

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

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

Comparative Study of PID and FOPID Controller Response for Automatic Voltage Regulation

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

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

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

Cantonment, Dhaka-1216, BANGLADESH

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

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

POSITION CONTROL OF DCMOTOR USING SELF-TUNING FUZZY PID CONTROLLER

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

PI Control of Boost Converter Controlled DC Motor

Speed Control of Brushless DC Motor Using Fuzzy Based Controllers

PID Tuning Using Genetic Algorithm For DC Motor Positional Control System

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

Tuning Methods of PID Controller for DC Motor Speed Control

Speed control of a DC motor using Controllers

An Expert System Based PID Controller for Higher Order Process

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

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

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

Design of Smart Controller for Speed Control of DC Motor

A Review of Implemention of Evolutionary Computational Techniques for Speed Control of Brushless DC Motor Based on PID Controller

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

CHOPPER FED CURRENT CONTROLLED DC MOTOR DRIVE USING PID CONTROLLER WITHOUT SENSOR

Negative Output Multiple Lift-Push-Pull Switched Capacitor for Automotive Applications by Using Soft Switching Technique

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

Design of Fractional Order Proportionalintegrator-derivative. Loop of Permanent Magnet Synchronous Motor

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

SIMULINK MODELING OF FUZZY CONTROLLER FOR CANE LEVEL CONTROLLING

ISSN Vol.05,Issue.01, January-2017, Pages:

Position Control of DC Motor by Compensating Strategies

Optimal Control System Design

ANTI-WINDUP SCHEME FOR PRACTICAL CONTROL OF POSITIONING SYSTEMS

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

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

TUNING OF PID CONTROLLERS USING PARTICLE SWARM OPTIMIZATION

MEM01: DC-Motor Servomechanism

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

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

A Comparative Novel Method of Tuning of Controller for Temperature Process

Speed Control of DC Motor Using Fuzzy Logic Application

Digital Control of MS-150 Modular Position Servo System

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

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

Modeling & Simulation of PMSM Drives with Fuzzy Logic Controller

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

Performance Evaluation of Negative Output Multiple Lift-Push-Pull Switched Capacitor Luo Converter

MATLAB Simulink Based Load Frequency Control Using Conventional Techniques

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

PID, I-PD and PD-PI Controller Design for the Ball and Beam System: A Comparative Study

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering Vol. 2, Issue 6, June 2013

CURRENT FOLLOWER APPROACH BASED PI AND FUZZY LOGIC CONTROLLERS FOR BLDC MOTOR DRIVE SYSTEM FED FROM CUK CONVERTER

MANUEL EDUARDO FLORES MORAN ARTIFICIAL INTELLIGENCE APPLIED TO THE DC MOTOR

Some Tuning Methods of PID Controller For Different Processes

An Implementation for Comparison of Various PID Controllers Tuning Methodologies for Heat Exchanger Model

ADJUSTMENT OF PARAMETERS OF PID CONTROLLER USING FUZZY TOOL FOR SPEED CONTROL OF DC MOTOR

A PID Controller for Real-Time DC Motor Speed Control using the C505C Microcontroller

Comparison of Tuning Methods of PID Controllers for Non-Linear System

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

Design of Different Controller for Cruise Control System

Auto-tuning of PID Controller for the Cases Given by Forbes Marshall

TWO AREA CONTROL OF AGC USING PI & PID CONTROL BY FUZZY LOGIC

Position Control of AC Servomotor Using Internal Model Control Strategy

Design and Implementation of Fractional order controllers for DC Motor Position servo system

Australian Journal of Basic and Applied Sciences. Fuzzy Tuned PI Controller Based Chopper Driven PMDC Motor for Orthopaedic Surgeries

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

Design and Analysis for Robust PID Controller

ADVANCED DC-DC CONVERTER CONTROLLED SPEED REGULATION OF INDUCTION MOTOR USING PI CONTROLLER

PID CONTROLLER BASED FOUR QUADRANT OPERATION OF DC MOTOR WITH UNIPOLAR VOLTAGE SWITCHING

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

Ball Balancing on a Beam

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

AUTOMATIC CLOSED LOOP SPEED CONTROL OF DC MOTOR USING IGBT

Comparative Analysis of PI Controller and Fuzzy Logic Controller for Speed Control of Three Phase Induction Motor Drive

Active sway control of a gantry crane using hybrid input shaping and PID control schemes

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

Fuzzy Logic Based Speed Control System Comparative Study

DC SERVO MOTOR CONTROL SYSTEM

Closed loop speed control of dc motor using PID controller

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

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

6.270 Lecture. Control Systems

Mathematical Modeling, Simulation and Control of Ball and Beam System

Synchronous Current Control of Three phase Induction motor by CEMF compensation

Comparative Analysis of Air Conditioning System Using PID and Neural Network Controller

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

Transcription:

A PID Controlled Real Time Analysis of DC Motor Saurabh Dubey 1, Dr. S.K. Srivastava 2 Research Scholar, Dept. of Electrical Engineering, M.M.M Engineering College, Gorakhpur, India 1 Associate Professor, Dept. of Electrical Engineering, M.M.M Engineering College, Gorakhpur, India 2 ABSTRACT: Conventional PID controllers are used to control the dc motor for various industrial processes from many years due to their simplicity in operation. PID controllers require mathematical models to control the plant for different process control applications. In this paper worked out, speed control analysis of DC motor using PID controller. Speed control of separately excited dc motor is done using armature voltage control method. PID controller basics are briefed and various tuning methods of PID controller are explained. Mathematical modelling of dc motor is done and is simulated in Simulink. The control system consisting of PID controlled dc motor is also simulated in Simulink. Response of dc motor is recorded as simulation result when step input is provided as reference signal. Thereby, performance analysis of dc motor with PID controller is performed by calculating various response parameters such as maximum overshoot, rise time, settling time, etc. Keywords- DC motor, PID controller, Tuning methods. I. INTRODUCTION DC machine is a highly versatile and flexible machine. It can satisfy the demands of load requiring high starting, accelerating and retarding torques. A dc machine is also easily adaptable for drives with range of speed control and fast reversal. They are widely used in industrial applications. The DC motors are used in rolling mills, in traction and in overhead cranes. They are also employed in many control applications as actuators and as speed or position sensors[2]-[6]. In such applications, as that of position sensors and robotics, drives performance must precisely follow the desired performance. A number of control schemes such as proportional (P), proportional integral (PI), proportional derivative integral (PID), adaptive and fuzzy logic controller (FLCs) are used for control of speed of DC motors. The proposed controller system uses the PID control scheme for speed control of dc motor[1]. PID controllers due to their simplicity are widely used in industrial applications for speed and position control of dc motor for several years. Due to its simplicity, clear functionality, applicability and ease of use offered, PID controllers are used in more than 95% of the industrial process control applications[9]. If the PID parameters are tuned properly they provide robust and reliable performance for most systems. In this paper, PID controller is used to control the speed of dc motor and hence its performance evaluation is done. As PID controllers require mathematical model of the system to be controlled, hence mathematical model of separately excited dc motor is derived and is simulated in Simulink[12]. II. MATHEMATICAL MODEL OF DC MOTOR In armature voltage control scheme for separately excited dc motors, voltage applied to armature is varied without varying the voltage applied to the field. Equivalent model of dc motor is shown in following figure.. Copyright to IJIRCCE www.ijircce.com 1965

Fig. 1: DC motor model Where, Va = armature voltage (V) Ra = armature resistance(ω) La = armature inductance (H) Ia = armature current (A) Eb = back emf (V) W = angular speed (rad/s) Tm= motor torque (Nm ) θ = angular position of rotor shaft (rad) Jm = inertia of rotor (Kg-m2) Bm = viscous friction coefficient (Nms/rad) KT = torque constant (N-m/A) Kb = back emf constant (V/rad) Let us combine the upper equations together: (1) (2) (3) (4) Laplace transforms of (5) and (6) are (5) (6) If current is obtained from (8) and substituted in (7) we have (7) (8) Then the transfer function which relates rotor speed and applied armature voltage is given as: (9) Copyright to IJIRCCE www.ijircce.com 1966

Then the transfer function between shaft position and armature voltage at no-load is: (10) The model of dc motor presented in this paper is simulated in MATLAB/Simulink, from its characteristic differential equation and it is shown in Figure 2 Fig 2: Simulink model of dc motor III. PID CONTROLLER Although being an old control technique, PID control scheme is extensively used in control systems for various control applications. The combination of proportional, integral and derivative control action is called PID control action and the controller is called three action controllers [7]. Although PD control deals neatly with the overshoot and rising problems associated with proportional control it does not reduce the problem with the steady-state error. Hence, PID controllers are used to reduce the steady-state error apart having the advantages of PD controllers. In PID controllers, we need to adjust three parameters i.e. proportional gain (Kp), integral gain (KI) and derivative gain (KD) to achieve the desired control performance. The PID controller system block diagram of this paper is shown in Fig 3 [5]. Fig 3. PID controller system block diagram. The relationship between the input e(t) and output u(t) can be formulated in the following Copyright to IJIRCCE www.ijircce.com 1967

The transfer function is expressed as follows The DC motor speed control using PID controller system block diagram is shown in Fig 4 Fig. 4 PID DC motor speed control system block diagram IV. DESIGN OF PID CONTROLLER There are many methods proposed for tuning of PID controller: Process reaction curve (Open-loop) Ziegler Nichols method (Closed-loop) Tyreus and Luyben Process reaction curve (Open-loop): This is a manual procedure which is based on measuring the step response of the system.the input variable r(t) is changed from to ;the output c(t) is monitored carefully and the step response recorded on a chart recorder in Fig 6. Here r(t) should be as small as possible. On the recorded output, draw a tangent to enable the following measurements [4]: Fig. 5 shows step response of the plant. Effective time delay in the system response L ; Recorded output change, M=C1-C0; Copyright to IJIRCCE www.ijircce.com 1968

Measurement of T ; P = percent change in correction unit M (measured variable) = percent of full scale range R (reaction rate) = maximum gradient of the graph Empirical relationships in terms of for P, PI, and PID are by process reaction curve is given in Table.1 Table.1 shows process reaction curve parameters.[4] Type of K p K I K D controller P - - - - PI - 3.33L - PID - - 0.5L 2L 0.5L Ziegler Nichols method (Closed-loop): Another method to tune PID parameters is Ziegler-Nichols frequency response method. The procedure is as follows: 1. Increase KP until system response oscillates with a constant amplitude and record that gain value as Ku (ultimate gain). 2. Calculate the oscillation period and record it as Tu 3. Tune parameters using Table 2 [13] Table 2 shows Ziegler Nichols parameters [13] Type of K p K I K D controller P 0.5 K u - - PI 0.45 K u 1.2 / T u - PID 0.6 K u 2/ T u T u /8 Tyreus and Luyben: A modification to the above Ziegler-Nichols tuning parameters was made by Tyreus and Luyben shown in Table.3 [4] Table.3 shows Tyreus and Luyben parameters Type of K p K I K D controller PI 2.2P u PID 2.2P u V. DESIGN OF REAL TIME PID CONTROLLER Figure 6 shows the block diagram of the real-time digital PID controller, where R(s) is the reference input, y(s) is the system output, C(s) is the controller transfer function, and H(s) is the feedback loop (sensor) transfer function. Copyright to IJIRCCE www.ijircce.com 1969

Discrete PID controller structure There are two possible ways to control the speed of the motor viz. open loop control and closed loop control. In open loop control, the control value is not dependent on the output or the speed of the motor, whereas in closed loop control in which the control value is dependent on the speed of the motor. In the real-time speed control approach a closed loop speed control with a digital PID controller is designed. A potentiometer is used as the reference command signal to set the input voltage at various levels as required. Further, the control value obtained from microcontroller is utilized to generate the average output voltage for adjusting the duty cycle in order to maintain constant motor speed. Algorithm flowchart Figure shows the flowchart of the algorithm that was developed. The controller equations are loaded into the flash memory of the first microcontroller. For simulation purposes, the transfer function equations of the motor were loaded into the flash memory of the second microcontroller. At first, the system output from the transfer function was utilized to generate the controller value from the microcontroller1. The motor speed is read at fixed intervals using the A/D converter of microcontroller1, and the digital inputs were converted into a CAN data frame for two bytes. The object consists of these two bytes and an 11-bit identifier 0x111. This data is then transferred to the CAN bus which is identified by the CAN bus monitor as the system output. Microcontroller2 waits for a CAN message with identifier 0x111.Therefore, as soon as the above object with identifier 0x111 appears on the CAN bus, it Copyright to IJIRCCE www.ijircce.com 1970

is captured by microcontroller2. Microcontroller uses this received data to generate the controller value. The controller value is calculated using the difference between the reference speed (based on the potentiometer setting) and the actual speed measured by microcontroller1. This error is then used to generate the PID constants, which in turn develops the duty cycle (D) equivalent for the discrete closed loop control VI. SIMULATION AND RESULTS Fig.6-Simulation model for PID controlled dc motor Above figure shows the simulation model of control system of speed control of dc motor using PID control. Difference between the reference speed and the actual motor speed is provided as an input to the PID controller. As the error input increases controller adjusts its output parameters accordingly so as to reduce the error between the desired and actual speed. A typical procedure to tune a PID controller using Ziegler Nichols method would be: 1. Increase KP until system response oscillates with a constant amplitude and record that gain value as Ku (ultimate gain). 2. Calculate the oscillation period and record it as Tu [11] Fig. 7-Step response of PID controller Copyright to IJIRCCE www.ijircce.com 1971

Fig. 8-Motor torque of dc motor using PID controller Fig. 9-Motor torque of dc motor using PID controller Figure.1 above shows the speed response of dc motor using PID controller when step input is applied as reference signal. As it is clear from the response curve that an overshoot is obtained along with certain oscillations around reference signal. However overshoot can be reduced by increasing the derivative gain but the rise time also increases as a consequence. Hence, there exists a compromise between overshoot and the speed of response i.e. rise time which means that we have to sacrifice one for improving another. From the above graph of speed response following parameters can be calculated to evaluate the performance of PID controller: Table.3 shows time response parameters of PID controller % overshoot Rise time Settling time 9.36 0.0255 0.0812 VII. CONCLUSIONS In this paper PID controller is designed for speed control of dc motor. From the analysis been done it is clear that PID is a simple controller based on the mathematical model of the system to be controlled. It successfully overcomes the drawback of proportional-derivative (PD) controller of steady-state error as steady-state error is zero in PID controllers. However while reducing steady-state error to zero an overshoot is observed. However overshoot can be reduced by increasing the derivative gain but the rise time also increases as a consequence. Hence, there exists a compromise between overshoot and the speed of response i.e. rise time which means that we have to sacrifice one for improving another. Overall, PID controller gives best speed response of all the linear controllers of its class. It is Copyright to IJIRCCE www.ijircce.com 1972

simple to implement and control the process using PID controllers. REFERENCES [1]. Essam Natsheh and Khalid A. Buragga, Comparison between Conventional and Fuzzy Logic PID Controllers for Controlling DC Motors, International Journal of Computer Science Issues, Vol. 7, Issue 5, September 2010. [2] Ankit Rastogi and Pratibha Tiwari, Optimal Tuning of Fractional Order PID Controller for DC Motor Speed Control Using Particle Swarm Optimization, International Journal of Soft Computing and Engineering, Volume-3, Issue-2, May 2013 [3] Mehdi Ghazavi Dozein, Amin Gholami and Mohsen Kalantar, Speed Control of DC Motor Using Different Optimization Techniques Based PID Controller Journal of Basic and Applied Scientific Research, J. Basic. Appl. Sci. Res., 2(7)6488-6494, 2012 [4] Salim, Sunil Kumar and Jyoti Ohri, LabVIEW Based DC Motor and Temperature Control Using PID Controller, Volume 3, Issue 5, May 2013. [5] Megha Jaiswal and Mohna Phadnis, Speed Control of DC Motor Using Genetic Algorithm Based PID Controller, International Journal of Advanced Research in Computer Science and Software Engineering,Volume 3, Issue 7, July 2013. [6] Dingy u Xue, YangQuan Chen and Chunna Zhao, Fractional Order PID Control of A DC-Motor with Elastic Shaft:A Case Study, Proceedings of the 2006 American Control Conference Minneapolis, Minnesota, USA, June 14-16, 2006 [5] R. Caponetto, L. Fortuna, and D. Porto, A new tuning strategy for a non- integer order PID controller, IFAC2004, Bordeaux, France, 2004 [7]Liu Fan, Er Meng Joo Design for Auto-tuning PID Controller Based on Genetic Algorithms Nanyang Technological University Singapore IEEE Trans on ICIEA 2009 [8]M. Zamani, N. Sadati and M. K. Ghartemani, 2009. Design of an H PID Controller Using Particle Swarm Optimization, International Journal of Control, Automation, and Systems, vol. 7, pp. 273-280. [9] Zhang Lin, Song Yin, Design of PID Temperature Controlling System Based on Virtual Instrument Technique, The Eighth International Conference on Electronic Measurement and Instruments, 2005 [10] Deepyaman Maiti, Sagnik Biswas and Amit Konar, Design of a fractional order PID controller using particle swarm optimization technique, Proc. ReTIS 08, 2008. Copyright to IJIRCCE www.ijircce.com 1973