DC MOTOR SPEED CONTROL USING PID CONTROLLER. Fatiha Loucif

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

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

Position Control of DC Motor by Compensating Strategies

Cantonment, Dhaka-1216, BANGLADESH

DC Motor Speed Control for a Plant Based On PID Controller

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

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

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

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

Ball Balancing on a Beam

MEM01: DC-Motor Servomechanism

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

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

International Journal of Innovations in Engineering and Science

Optimal Control System Design

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

Penn State Erie, The Behrend College School of Engineering

Digital Control Lab Exp#8: PID CONTROLLER

Tuning PID Controllers for DC Motor by Using Microcomputer

CHAPTER 3 WAVELET TRANSFORM BASED CONTROLLER FOR INDUCTION MOTOR DRIVES

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

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

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Introduction to PID Control

Fundamentals of Servo Motion Control

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

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

Brushed DC Motor System

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

Experiment 9. PID Controller

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

Brushed DC Motor PWM Speed Control with the NI myrio, Optical Encoder, and H-Bridge

Tuning Methods of PID Controller for DC Motor Speed Control

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Actuators. EECS461, Lecture 5, updated September 16,

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

EC CONTROL SYSTEMS ENGINEERING

Open Loop Frequency Response

Electrical Drives I. Week 4-5-6: Solid state dc drives- closed loop control of phase controlled DC drives

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

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

DC SERVO MOTOR CONTROL SYSTEM

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

7 Lab: Motor control for orientation and angular speed


OPTIMAL AND PID CONTROLLER FOR CONTROLLING CAMERA S POSITION IN UNMANNED AERIAL VEHICLES

SIMULINK MODELING OF FUZZY CONTROLLER FOR CANE LEVEL CONTROLLING

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

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Digital Control of MS-150 Modular Position Servo System

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

Position Control of AC Servomotor Using Internal Model Control Strategy

PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SCIENCE AND ENGINEERING

AN EXPERIMENTAL INVESTIGATION OF THE PERFORMANCE OF A PID CONTROLLED VOLTAGE STABILIZER

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

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

Comparisons of Different Controller for Position Tracking of DC Servo Motor

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

A Comparison And Evaluation of common Pid Tuning Methods

Speed control of a DC motor using Controllers

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

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

International Journal of Research in Advent Technology Available Online at:

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

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

Automatic Control Systems 2017 Spring Semester

Module 08 Controller Designs: Compensators and PIDs

MM7 Practical Issues Using PID Controllers

EE 560 Electric Machines and Drives. Autumn 2014 Final Project. Contents

Experiment 3. Performance of an induction motor drive under V/f and rotor flux oriented controllers.

Performance Analysis of Conventional Controllers for Automatic Voltage Regulator (AVR)

LENDI INSTITUTE OF ENGINEERING AND TECHNOLOGY

Comparative Analysis of a PID Controller using Ziegler- Nichols and Auto Turning Method

CDS 101/110: Lecture 8.2 PID Control

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Design Applications of Synchronized Controller for Micro Precision Servo Press Machine

DYNAMIC SYSTEM ANALYSIS FOR EDUCATIONAL PURPOSES: IDENTIFICATION AND CONTROL OF A THERMAL LOOP

Automatic Control Motion control Advanced control techniques

Design of Joint Controller for Welding Robot and Parameter Optimization

Design and implementation of Open & Close Loop Speed control of Three Phase Induction Motor Using PI Controller

Resistance Furnace Temperature Control System Based on OPC and MATLAB

Procidia Control Solutions Dead Time Compensation

ANTI-WINDUP SCHEME FOR PRACTICAL CONTROL OF POSITIONING SYSTEMS

is the angular velocity (speed) and friction in rotor of motor is very small (can be neglected) so Bm = 0.

ME451: Control Systems. Course roadmap

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

A HARDWARE DC MOTOR EMULATOR VAGNER S. ROSA 1, VITOR I. GERVINI 2, SEBASTIÃO C. P. GOMES 3, SERGIO BAMPI 4

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

Controlling Speed of Hybrid Cars using Digital Internal Model Controller

Motor Modeling and Position Control Lab 3 MAE 334

The Design of Switched Reluctance Motor Torque Optimization Controller

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

Open Access Pulse-Width Modulated Amplifier for DC Servo System and Its Matlab Simulation

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

A SOFTWARE-BASED GAIN SCHEDULING OF PID CONTROLLER

UNIT 2: DC MOTOR POSITION CONTROL

Transcription:

DC MOTOR SPEED CONTROL USING PID CONTROLLER Fatiha Loucif Department of Electrical Engineering and information, Hunan University, ChangSha, Hunan, China (E-mail:fatiha2002@msn.com) Abstract. The PID controller design and choosing PID parameters according to system response are proposed in this paper. Here PID controller is employed to control DC motor speed and Matlab program is used for calculation and simulation. Choosing PID parameters are demonstrated by several contrast experiments and a way for setting PID parameters values is discussed. Keywords: PID controller, DC motor, Matlab representation, P control, PI control, PID control. R (. INTRODUCTION The best-nown controllers used in industrial control processes are proportional-integral-derivative (PID) controllers because of their simple structure and robust performance in a wide range of operating conditions. The design of such a controller requires specification of three parameters: proportional gain, integral constant and derivative constant.so far, great effort has been devoted to develop methods to reduce the spent on optimizing the choice of controller parameters []. Setting the PID parameters are called tuning,the classical tuning method is to use the famous Ziegler-Nichols tuning formula. This tuning formula however, is not always effective in the sense that it may completely fail to tune the processes with, for example, relatively large dead. Moreover, its tuning will have to be supplemented with purely experience-based fine-tuning to meet the specifications [2]. The parameters of the PID controller p, i and d (or p, Ti and Td) can be manipulated to produce various response curves from a given process as we will see later. 2. PID CONTROLLER PID controllers are commonly used to regulate the -domain behavior of many different types of dynamic plants. These controllers are extremely popular because they can usually provide good closed-loop response characteristics, can be tuned using relatively simple design rules, and are easy to construct using either analog or digital components. Consider the feedbac system architecture that is shown in Fig. where it can be assumed that the plant is a DC motor whose speed must be accurately regulated. PID Controller Plant Fig. Feedbac system architecture y ( The PID controller is placed in the forward path, so that its output becomes the voltage applied to the motor's armature.the feedbac signal is a velocity, measured by a tachometer.the output velocity signal y ( is summed with a reference or command signal R ( to form the signal e (. Finally, the signal is the input to the PID controller. Before examining the input-output relationships and design methods for the PID controller, it is helpful to review typical characteristics observed for the velocity response of a DC motor to a step voltage input. Different characteristics of the motor response (steady-state, pea overshoot, rise,, etc) are controlled by selection of the three gains that modify the PID controller dynamiclly. This is discussed in detail below.the PID controller is defined by the following relationship between the controller input e ( and the controller output u ( that is applied to the motor armature: t de( u( = p e( + i e( ) dτ + d dt 0 τ () Taing the Laplace transform of this equation gives the transfer function G(s): u( i = ( p + + d s) e( s = (2) This transfer function clearly illustrates the proportional, integral and derivative gains that mae up the PID compensation. Select new definitions for the gain terms according to: p =. i = Ti d = Td = ( + + Td s) = ( + + Td s) = p( + + Td s) (3) The discrete- equation expression is given as: n d u( ) = p e( ) + i e( i) + s T i= T s e( ) (4)

Here, u () is the control signal, e () is the, Ts is the sampling period for the controller, and e ( ) e( ) e( ) 2. Physical setup and system equation: DC motors have speed-control capability, which means that speed, torque and even direction of rotation can be d at any to meet new conditions [3].The electric circuit of the armature and the free body diagram of the rotor are shown in the following figure: Fig. 2 electric circuit and free body diagram For this example, we will assume the following values for the physical parameters. Moment of inertia of the rotor (J) =0.0 g.m^2/s^2. Damping ratio of the mechanical system (b)= 0. nms. Electromotive force constant (=e==0.0 nm/amp. Electric resistance (R) = ohm. Electric inductance (L)= 0.5 H. Input (v): source voltage. Output (theta): position of shaft. The rotor and shaft are assumed to be rigid. The motor torque T, is related to the armature current i, by a constant factor t. The bac emf, is related to the rotational velocity by the following equations: T = t i. = emf = e & θ e. In SI units (which we will use),t (armature constan is equal to e (motor constan. From the figure above we can write the following equations based on Newton s law combined with irchhoff`s law: & &. J θ + b θ = i di L + R i = V θ &. dt 2.2 Transfer function: Using Laplace transforms, the above modeling equations can be expressed in terms of s. S ( J s + b) θ ( s) = i( s). ( L s + R) i( s) = V s θ ( s). by eliminating i(s) we can get the following open-loop transfer function,where the rotational speed is the output and the voltage is the input. θ = V ( J s + b) ( L s + R) +. 2 3. DESIGN REQUIREMENTS: First, our uncompensated motor can only rotate at 0. rad/sec with an input voltage of volt (this will be demonstrated later when the open-loop response is simulated. since the most basic requirement of a motor is that it should rotate At the desired speed, the steady-state of the motor speed should be less than %.the other performance requirement is that the motor must accelerate to its steady-state speed as soon as it turn on. In this case, we want it to have a of less than 2 seconds. Since a speed faster than the reference may damage the equipment, we want to have an overshoot of less than 5%. If we simulate the reference input(r) by a unit step input, then the motor speed output should have: Settling less than 2seconds. Overshoot less than 5%. -state less than %. 4- MATLAB REPRESENTATION AND SYSTEM RESPONSE: 4.. Open-loop response: 4... Transfer function: we can represent the above transfer function into Matlab by the numerator and denominator matrices as follows num = den :=(J*s +b)*(l*s+r) +^ 2 *The m-file is as follow (program ): J=0.0; b=0.; =0.0; R=; L=0. 5; num=; den=[(j*l) ((J*R)+(L*b)) ((b*r) + ^2)]; Step (num, den, 0:0.:3) Title (`step response for the open- loop system `)

calculation results was assumed in Table, and the corresponding plots was gathered in Fig. 4: Table p overshoot State Pea 0 0.488 / 0.5 0.5 0 0.30 / 0.334 0.68 50 0.58 / 0.67 0.94 70 0.25 4 0.25.04 00 0.097 4 0.09.4 200 0.064 32 0.048.32 300 0.05 4 0.032.4 Fig. 3 open loop response. From the plot we see that when volt applied to the system, the motor can only achieve a maximum speed of 0. rad/sec, ten s smaller than our desired speed. Also, it taes the motor 3 seconds to reach its steady-state speed; this does not satisfy our 2 seconds criterion. 4.2. Closed-loop response: The closed-loop program loos lie (program 2): J=0. 0; b=0.; =0.0; R=; L=0. 5; num=; den=[ (J*L) ((J*R)+(L*b)) ((b*r) + ^2)] ; %%%%% Different values of p, i and d %%%%%%%%% p= ; i= ; d= ; numc=[d,p,i]; denc=[0 ]; numa=conv(num,numc); dena=conv(den,denc); [numac,denac]=cloop(numa,dena); step(numac,denac) xlabel(''), ylabel('velocity(rad/sec)') Title (`pid control `) Grid; We see that the proportional controller p have the effect of reducing the rise ; from (0.48sec) for p=0 to (0.05sec) for p=300; and will reduce and never eliminate the steadystate from (0.5) for p=0 to (0.032) for p=300. so the response becomes more and more faster by increasing the gain p. But will the maximum overshoot; from (4% to 4%). Fig. 4 closed loop response with different values of p. 6- PROPORTIONAL INTEGRAL CONTROL (PI): The is still too long, we try now to the gain i with p=00, all the results are shown in the Table 2. And the corresponding plot is gathered in Fig. 5. 5- PROPORTIONAL CONTROL: Let's first try using a proportional controller; so we set i=0, d=0 in program (2) And we tae different values of p the

Table 2 i oversh -oot state / 0. 3.6 0.088.4 0 / 0. 4.4 0.067.4 20 / 0. 5.3 0.05.5 50 2.69 0.07 7.9 0.07.8 00.03 0.04 22.2 0.00.22 200 0.774 0.098 30.5 0.3 Fig. 6 closed loop response with different values of d. So now we now that if we use a pid controller with: p=00,i=200 and d=0; all our design requirements will be satisfied and the response loos lie: Fig. 5 closed loop response with different values of i. Now we see that the response is much faster than before; the becomes (0.774 sec) for i=200, and the steady-state becomes very small and eliminated for i=200. 7-PROPORTIONAL-INTEGRAL-DERIVATIV E CONTROL (PID): Now, we the gain d, with p=00;i=200. All results are illustrated in the Table 3 and the corresponding plots are shown in Fig. 6. From the results we see that the reduced from (0.58 sec to 0.257sec) for (d= to d=0) and the overshoot from (23% to.03%) and there is small in the rise. Table 3 Fig. 7 system closed loop response with PID control. Effects of PID controllers parameters p, i and d on a closed loop system are summarized in the table bellow. d Pea oversh oot state Pea 0.588 0.06 23 0.23 3 0.403 0.6 2.6 0.3 5 0.49 0.2 6.09 0.06 8 0.20 0.27.43 0.0 0 0.257 0.32.03 0.0

closed loop response of p of i of d Table 4 Overshoot Small Small - State eliminate Small CONCLUSION: From the experimental results we now that the proportional controller (p) will have the effect of reducing the rise and will reduce; but never eliminate the steady-state, an integral control (i) will have the effect of eliminating the steady-state, but it may mae the transient response worse.a derivative control (d) will have the effect of increasing the stability of the system, reducing the overshoot, and improving the transient response. REFERENCES [] Zhen-yu zhao,masayoshi Tomizua,and Satoru Isaa, Fuzzy gain of PID controller, Members,IEEE 392p. [2] S.Z.HE S.H.TAN and F.L.Xu2 P.Z.Wang3 department of electrical engineering, NUS0 ent Ridge crescent singapore05 PID selftuning control using a fuzzy adaptive mechanism,,p708. [3] Christopher T.ilian Modern control technology: components and systems, 2end edition, p295. [4] Robert H.Bishop, Modern control system Analysis and Design Using MATLAB, [5] Chapter : plant process characterization and PID see website <http://entc462.tamu.edu/closedloopcontrols ystem.pdf>.