A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW



Similar documents
A Design of a PID Self-Tuning Controller Using LabVIEW

Implementing PID Temperature Control Using LabVIEW. Abstract. Introduction

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Microcontroller-based experiments for a control systems course in electrical engineering technology

Pulse Width Modulated (PWM) Drives. AC Drives Using PWM Techniques

Degree programme in Automation Engineering

Pulse Width Modulated (PWM)

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

PC BASED PID TEMPERATURE CONTROLLER

Dr. Yeffry Handoko Putra, S.T., M.T

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Programming Logic controllers

The Design of DSP controller based DC Servo Motor Control System

Parametric variation analysis of CUK converter for constant voltage applications

Introduction to Data Acquisition

Implementation of Fuzzy and PID Controller to Water Level System using LabView

Simulation of VSI-Fed Variable Speed Drive Using PI-Fuzzy based SVM-DTC Technique

STEPPER MOTOR SPEED AND POSITION CONTROL

Lab 7: Operational Amplifiers Part I

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

FRC WPI Robotics Library Overview

MECE 102 Mechatronics Engineering Orientation

OPTICAL COMMUNICATION BASED STEPPER MOTOR CONTROL USING PULSE WIDTH MODULATION

Micro-Step Driving for Stepper Motors: A Case Study

Active Vibration Isolation of an Unbalanced Machine Spindle

Control System Definition

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Digital to Analog Converter. Raghu Tumati

Industrial Steam System Process Control Schemes

SuperIOr Controller. Digital Dynamics, Inc., 2014 All Rights Reserved. Patent Pending. Rev:

Analog Signal Conditioning

Fundamentals of Signature Analysis

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

Power Feeding Equipment for Optical Submarine Cable Systems

Wireless Home Security System

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

PID Control. Chapter 10

KINETIC ENERGY RECOVERY SYSTEM BY MEANS OF FLYWHEEL ENERGY STORAGE

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Bipolar Transistor Amplifiers

Measuring Temperature withthermistors a Tutorial David Potter

Automatic Ration Material Distributions and Payment System Based on GSM and RFID Technology

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

A Surveillance Robot with Climbing Capabilities for Home Security

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

Innovative Practices in Optimal Utilization of Solar Energy (Solar Tracking System)

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Discover the power of e-learning! The Quick Guide to AC Variable Frequency

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

RF Network Analyzer Basics

Access Control Using Smartcard And Passcode

Outline Servo Control

ENEE 307 Electronic Circuit Design Laboratory Spring A. Iliadis Electrical Engineering Department University of Maryland College Park MD 20742

Self-Balancing Robot Project Proposal Abstract. Strategy. Physical Construction. Spencer Burdette March 9, 2007

Section 3. Sensor to ADC Design Example

Basic Pulse Width Modulation

LATEST TRENDS on SYSTEMS (Volume I)

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

Chapter 19 Operational Amplifiers

ARCHITECTURE OF INDUSTRIAL AUTOMATION SYSTEMS

Application Note SAW-Components

A simple method to determine control valve performance and its impacts on control loop performance

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Industrial Process Controllers

Implementation of Smart Homes and Industrial Automation System with Secure Communication over GSM

White Paper. Fiber Optics in Solar Energy Applications. By Alek Indra. Introduction. Solar Power Generation

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

DCMS DC MOTOR SYSTEM User Manual

CSEN301 Embedded Systems Trimester 1

Guru Ghasidas Vishwavidyalaya, Bilaspur (C.G.) Institute of Technology. Electronics & Communication Engineering. B.

Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design

Undergraduate Research Projects for Engineering Technology Students

VEHICLE TRACKING ALONG WITH THE ADVANCED RTO TECHNOLOGY

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

ELECTRICAL ENGINEERING

DAQ in MATLAB HANS-PETTER HALVORSEN,

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Adaptive Cruise Control of a Passenger Car Using Hybrid of Sliding Mode Control and Fuzzy Logic Control

REMOTE HOST PROCESS CONTROL AND MONITORING OF INDUSTRY APPLIANCES

PLC Based PV Module Tracking with Microcontroller Backup

Single Transistor FM Transmitter Design

Analysis of Space Vector Pulse Width Modulation VSI Induction Motor on various conditions

Android based Secured Vehicle Key Finder System

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

Quanser NI-ELVIS Trainer (QNET) Series: QNET HVAC. Heating, Ventilation, and Air Conditioning (HVAC) User Manual. User Manual

Four/Five Axis TB6560 CNC Driver Users Manual

Transcription:

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW Priyanka Rajput and Dr. K.K. Tripathi Department of Electronics and Communication Engineering, Ajay Kumar Garg Engineering College, 27 Km Stone, NH-24, Ghaziabad 201009 UP India priyankarajput640@gmail.com, kamlakanttripathi@gmail.com Abstract -- This paper presents a method of controlling the speed of PMDC motor with the auto tuning of parameters of the PID controller for the purpose of on-line speed control and also presents a model of the closed loop system through LabVIEW. Currently, the Proportional-Integral-Derivative (PID) algorithm is the most common control algorithm used in industry. To achieve this objective, an auto tuning PID is used in three steps. In the first step, the PMDC motor-generator set is interfaced to Laptop using NI USB-6008 DAQ card. In the second step, the closed loop system is extracted through the LabVIEW system identification toolkit. In the third step, auto tuning procedure is used to obtain PID parameters and controlling of speed is done. The designed auto tuning PID controller provides minimum steady state error and give better performance compared to the manual tuning PID controller. Keywords: PMDC motor, Auto tune PID, LabVIEW, System identification, State-space model. I. INTRODUCTION DC motors provide excellent control of speed for acceleration and deceleration. The function of a DC motor speed controller is to take as input a signal representing the demanded speed and to drive a motor at that speed. The controller may or may not measure the speed of the motor to use it as a feedback for the purpose of error reduction. If it does so, it is called a closed loop system else an open loop system. Here the closed loop system is considered. Large experiences have been gained in designing trajectory controllers based on self tuning and Proportional Integral Derivative (PID) control. In order to adjust the speed of the system PID controller is widely used. The PID based speed control has many advantages like fast control, low cost and simplified structure. This paper mainly deals with closed loop controlling of DC motor speed using auto tuning PID as speed and current controller with Labview. II. THEORY Closed Loop Control Systems: In a closed-loop system the control input is affected by the system output. In this the signal is fed back from the system output to system input and comparison with a reference input signal is performed, then the result of this comparison is used to obtain the control or actuating system input[6]. Error of such a closed-loop system can be calculated as: Error = Reference input - System output. Mainly there are three types of controllers P, PI and PID. In this paper the PID controller is used to achieve the desired speed. PID Controller: A (PID controller) proportional-integralderivative is a control loop feedback mechanism which is widely used in industrial control systems. A PID controller compares the measured process variable with a desired setpoint and calculate the error. The controller adjust the process through use of a manipulated variable to minimize the error. The PID controller also called three-term-control algorithm because involves three separate constant parameters: the proportional, the integral and derivative values, denoted by P, I, and D. Where P depends on the present error, I depends on the accumulation of past errors, and D is a prediction of future errors, based on current value of change. The weighted sum of these three actions is used to adjust the process via a control element such as the position of a control valve etc. The PID control has three correcting terms, whose sum constitutes the manipulated variable (MV). These three terms (proportional, integral, and derivative) terms are summed to calculate the output of the PID controller[5]. Defining u(t) as the controller output, the final form of the PID algorithm is: u(t) = MV(t)=K p e(t) + K i 0 t e( τ ) d + K d where: K p : Proportional gain, a tuning parameter K i : Integral gain, a tuning parameter (1) d τ d 58

SPEED CONTROL OF PMDC MOTOR k d : Derivative gain, a tuning parameter e: Error = SP-PV t: Time or instantaneous time (the present) τ: Variable of integration; takes on values from time 0 to the present t. The following formula represents the proportional action. u p (t) = K e(t) (2) p The following formula represents the integral action. (3) TABLE 1 - TUNING FORMULA UNDER AUTO TUNE PID CONTROL Controller K c T d T i P 0.26T p /τ - - PI 0.24T p /τ 5.33τ - PID 0.32T p /τ 4τ 0.8τ An auto tuning wizard opens as shown in Figure 2, when the auto tuning procedure runs. A local variable updates the PID gains control. After the completion of control loop, the VI writes the current PID gains. The following formula represents the derivative action. u D (t)= K d (4) d et () dt PID controllers also have some drawbacks. One of the current difficulties with PID controllers is the gain tuning. When the process dynamics or disturbances are unknown PID controllers are difficult to tune[10]. In this paper, an auto tuning PID controller is presented so that the parameters of the PID controller are automatically tuned through LabVIEW. The Auto Tuning Algorithm: Tuning means change in setpoint automatically, and calculation of the controller s parameters from the response. For auto tuning control loop must be stable initially (with P, PI or PID controller). When the system come in steady state the tuning process starts [2]. There is a limit cycle exists with the required number of cycles, and PID parameters are evaluated, hence parameters of PID controller are updated and the auto-tuning process is stopped. Figure 2. Autotuning Wizard. Figure 1. Process Under P ID Control with Setpoint Relay. Figure 1 illustrates the auto tuning procedure. A relay and an extra feedback signal is connected with the set point, a loop is created. The existing controller remains in this the loop. Mostly the nonlinear relay characteristic generates a limiting cycle, from which the auto tuning algorithm identifies the relevant information needed for PID tuning. To determine the parameters of a PID controller, given auto tuning PID uses Ziegler and Nichols heuristic methods. III. EXPERIMENTAL SETUP A. Hardware Optical switch arrangement: MOC7811 is a slotted Opto isolator module, with an IR transmitter and a photodiode mounted on it. This is normally used as a Position Encoder Figure 3. Optical Switch Circuit. 59

sensor which is used to find position of the shaft. LED and Photodiode mounted facing each other. Logic level of the photo diode changes when light emitted by the IR LED is blocked because of alternating slots of the encoder disc. Microcontroller is used to sense this change in logic level [3]. The optical switch for speed measurement is shown in Figure. 3. Motor driver circuit: Motor driving circuitry for driving the motor consists of 2 stages [3]. Voltage amplification Current amplification To meet the voltage specification of the motor, the output voltage from the DAQ [5] needs to be amplified, which is in the range of 0-5V to 0-12V. This is done by using IC 741. Since the output current of the IC 741 is in the range of milli Amperes, therefore amplification of the current is also needed for driving the motor. This amplification is done by connecting the TIP122 NPN power transistor in common collector configuration. Therefore, the current amplified output is given to the motor from the emitter junction of the TIP122. Thus, the motor can be driven properly and circuit connection is made as shown in Figure 4. Figure 5. Frequency to Voltage Converter Circuit. B. Software A LabVIEW platform is used here to interface auto tuning PID controller with the DC motor for controlling the speed of the motor. Interfacing is provided through NI DAQ card USB-6008. LabVIEW by National Instrumentation (NI) USA, is used for development of virtual instrumentation system. It is a graphical programming language called G programming is performed using a graphical block diagram that compiles into machine code and eliminates a lot of syntactical details. Speed controlling of the PMDC motor and system identification are performed on the same platform With the use of the LabVIEW [1]. Closed loop PID speed control: Functional block diagram of closed loop system for controlling the speed of the motor is shown in Figure. 6. Figure 4. Voltage and Current Amplification Circuit. Frequency to voltage converter: The frequency to voltage converter used in those application which requires measurement of a repeating event, such as a wheel making a complete rotation [3]. Here LM2907, frequency to voltage converter with a high gain op amp/comparator is used for measuring the speed of the motor. Optical switch produce pulses which are given as a input to voltage to frequency converter, as a result output is produced in the form of voltage proportional to input pulse frequency. Connection for 2907 is shown in figure 5. Fig. 6: Functional Block Diagram of Closed Loop Speed Control System of DC Motor The desired speed is provided by the user and the actual speed of the motor is received through the DAQ card. A ultimate gain method[8] is used to calculate desired speed, the actual speed and the PID gains which are given as inputs to the PID controller, as a result controller produces output in the range of 0-5V through the DAQ card. High-frequency noise from measured values is filter out by the PID Control Input Filter[9]. 60

SPEED CONTROL OF PMDC MOTOR The LabVIEW block diagram of closed loop speed control system is shown in Figure 7. System identification: Since the parameters of the PMDC motor and the system is unknown, we perform the subspace system identification method[8]. This procedure includes 3 steps. They are- Data logging Model estimation Model validation Figure 7. LabVIEW Block Diagram of Closed Loop Speed Control System. The parameters of tuned PID gains obtained are as follows: Kp=15.2289 ; Ti=0.002027 s ; Td=0.000282 s; Procedure is as follows [4]: i. The actual speed (input) and the desired speed (output) are logged into the measurement file. ii. The first proportion of data is given to the state space estimation VI and the output will be the state space model of the system. This completes the model estimation stage. iii. The optimum model can be obtained by changing the user defined order and thus model validation is done. System identification block diagram is shown in Figure 11. The comparison is made between the desired speed and output speed. The simulation output is as shown in Figure 12. The hardware setup is shown in Figure 8. Figure 11. LabVIEW Block Diagram of System Identification. Figure 8. Hardware Setup. The result front panel is with the as shown in Fig. 10 Figure 10. Output Shown in LabVIEW Front Panel. Figure 12. Model Simulation Output. 61

IV. CONCLUSION The virtual instruments makes data analyzing more accurate by decreasing the measuring time significantly. In this paper an auto tuning PID controller is presented for controlling the speed of the PMDC motor using LabVIEW. Here a closed loop system is used to identify the initial parameters of the PID which controls the speed to a more precise value and error can be easily reduced by giving feedback signal from the sensor to the controller using the DAQ card. Simulation result with LabVIEW shows that PID controller can be the best option for both command following control and disturbance rejection controll. The response of the System shows the fast rise time, fast setting time as well as fast recovering time. V. ACKNOWLEDGEMENT The Author is grateful to Ajay Kumar Garg Engineering College for providing facilities. VI. REFERENCES [1]. LabVIEW DAQ USB-6008/6009 User Manual, National Instruments, 2008. [2]. LabVIEW PID Control Toolset User Manual, National Instruments, 2001. [3]. A. S. R. Kiran, T. K. Manoj, S. S. Mansi, M. P. K. Prem, R. Suchithra and K. Varun, LabVIEW based PID speed control and system.identification of a PMDC motor, in Proc. International Conference on Computing and Control Engineering, 12 & 13 April, 2012. [4]. LabVIEW System Identification Toolkit User Manual, National Instruments, 2006. [5]. http://en.wikipedia.org/wiki/pid_controller [6]. Comparative study on dc motor speed control using various controllers http://researchdirection.orguploadarticle80.pdf. [7]. G. S. Huang and S. C. Lee, PC-based PID speed control in DC motor, in Proc. ICALIP International Conference on Audio, Language and Image Processing, 2008, pp. 400 407. [8]. V. Vibunjaroen1 and Y. Prempraneerach, Tuning of PI and PID controller designed by SO, in Proc. PSU-UNS International Conference on Engineering and Environment, Phuket, May10-11, 2007. [9]. S. Preitl and R. E. Precup, An extension of tuning relations after symmetrical optimum method for PI and PID controllers, Automatica, Vol. 35, pp. 1731-1736, 1999. [10]. D. V. P. Latha and S. Devabhaktuni, On Line Speed Control of PMDC Motor Using Auto Tuning PID through LabVIEW, International Journal of Electronics and Electrical Engineering Vol. 1, No. 4, December, 2013. Priyanka Rajput (b. Feb 1992) obtained B. Tech in Electronics and communication engineering from Lords Institute of Engineering and Technology for Women, Alwar (Rajasthan) in 2012. Her areas of interest are Embedded System and Application of LabView to Industrial Drives. Currently, pursuing M.Tech (VLSI Design) in the Department of Electronics and Communication Engineering at Ajay Kumar Garg Engineering College, Ghaziabad. After completing M. Tech she plans to pursue career in teaching. Dr. K.K. Tripathi possesses in-depth experience of 48 years in field of technical education, in teaching, guiding research and administration. He was founder Professor and HoD of Electronics Engineering Department of H.B.T.I. Kanpur. After completing 36 years of distinguished service at H.B.T.I. Kanpur, he joined premier technical institutions AKGEC, RKGIT, IMS and HRIT, Ghaziabad. He is a voracious reader. His areas of research interest include Embedded Systems, Wireless Optical Communication. His current area of interest is I.C.T. specially Adhoc and Sensor networks. Presently, he is Professor Emeritus in ECE Department of AKGEC, Ghaziabad. 62