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

Similar documents
CHAPTER 4 FUZZY LOGIC CONTROLLER

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

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

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

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

SPEED CONTROL OF BRUSHLESS DC MOTOR USING FUZZY BASED CONTROLLERS

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

Control Of Three Phase BLDC Motor Using Fuzzy Logic Controller Anjali. A. R M-Tech in Powerelectronics & Drives,Calicut University

Modeling & Simulation of PMSM Drives with Fuzzy Logic Controller

SIMULINK MODELING OF FUZZY CONTROLLER FOR CANE LEVEL CONTROLLING

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

Fuzzy Controllers for Boost DC-DC Converters

Performance Analysis of Boost Converter Using Fuzzy Logic and PID Controller

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

Speed Control of Brushless DC Motor Using Fuzzy Based Controllers

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

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

CHAPTER-III MODELING AND IMPLEMENTATION OF PMBLDC MOTOR DRIVE

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

Fuzzy Logic Based Speed Control System Comparative Study

IMPLEMENTATION OF FUZZY LOGIC SPEED CONTROLLED INDUCTION MOTOR USING PIC MICROCONTROLLER

TRACK VOLTAGE APPROACH USING CONVENTIONAL PI AND FUZZY LOGIC CONTROLLER FOR PERFORMANCE COMPARISON OF BLDC MOTOR DRIVE SYSTEM FED BY CUK CONVERTER

Speed control of a DC motor using Controllers

Sensors and Sensing Motors, Encoders and Motor Control

FUZZY LOGIC CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

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

Sensors and Sensing Motors, Encoders and Motor Control

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

CHAPTER 6 NEURO-FUZZY CONTROL OF TWO-STAGE KY BOOST CONVERTER

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

Development of a Fuzzy Logic Controller for Industrial Conveyor Systems

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

A PID Controlled Real Time Analysis of DC Motor

Development of a Fuzzy Logic based Photovoltaic Maximum Power Point Tracking Control System using Boost Converter

Matlab Simulation Model Design of Fuzzy Controller based V/F Speed Control of Three Phase Induction Motor

Investigations of Fuzzy Logic Controller for Sensorless Switched Reluctance Motor Drive

Speed Control of BLDC Motor Using FPGA

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

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

Control of DC-DC Buck Boost Converter Output Voltage Using Fuzzy Logic Controller

Tuning PID Controllers for DC Motor by Using Microcomputer

A DUAL FUZZY LOGIC CONTROL METHOD FOR DIRECT TORQUE CONTROL OF AN INDUCTION MOTOR

Efficiency Optimized Brushless DC Motor Drive. based on Input Current Harmonic Elimination

Fuzzy logic control implementation in sensorless PM drive systems

Permanent Magnet Brushless DC Motor Control Using Hybrid PI and Fuzzy Logic Controller

Simulation of Fuzzy Controller based Isolated Zeta Converter fed BLDC motor drive

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

Design and Implementation of PID Controller for a two Quadrant Chopper Fed DC Motor Drive

Tuning Of Conventional Pid And Fuzzy Logic Controller Using Different Defuzzification Techniques

MEM01: DC-Motor Servomechanism

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

Designing and Fabricating Fuzzy Controller of DC Servo Motor with HMI

(Haryana) India. Control action of PID controller Proportional gain Integral gain Derivative gain

CHAPTER 3 MAXIMUM POWER TRANSFER THEOREM BASED MPPT FOR STANDALONE PV SYSTEM

DC motor position control using fuzzy proportional-derivative controllers with different defuzzification methods

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

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

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

ISSN: [Appana* et al., 5(10): October, 2016] Impact Factor: 4.116

Speed control of sensorless BLDC motor with two side chopping PWM

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

A Brushless DC Motor Speed Control By Fuzzy PID Controller

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

HIGH-PERFORMANCE DOUBLE BOOST DC-DC CONVERTER BASED ON FUZZY LOGIC CONTROLLER

A Fuzzy Knowledge-Based Controller to Tune PID Parameters

Teaching Mechanical Students to Build and Analyze Motor Controllers

[Patel, 2(7): July, 2013] ISSN: Impact Factor: 1.852

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF BLDC MOTOR DRIVE BY PID, FUZZY AND ANFIS CONTROLLER

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

Speed Control of DC Motor Using Fuzzy Logic Application

UG Student, Department of Electrical Engineering, Gurunanak Institute of Engineering & Technology, Nagpur

Fuzzy Logic Controller on DC/DC Boost Converter

Swinburne Research Bank

Comparisons of Different Controller for Position Tracking of DC Servo Motor

Chapter 4 SOFT SWITCHED PUSH-PULL CONVERTER WITH OUTPUT VOLTAGE DOUBLER

PI Control of Boost Converter Controlled DC Motor

A PHOTOVOLTAIC POWERED TRACKING SYSTEM FOR MOVING OBJECTS

Control Strategies for BLDC Motor

Design and Implementation of Self-Tuning Fuzzy-PID Controller for Process Liquid Level Control

DC Motor Speed Control using PID Controllers

OPTIMAL TORQUE RIPPLE CONTROL OF ASYNCHRONOUS DRIVE USING INTELLIGENT CONTROLLERS

A Comparative Study of P-I, I-P, Fuzzy and Neuro-Fuzzy Controllers for Speed Control of DC Motor Drive

A PLC-based Self-tuning PI-Fuzzy Controller for Linear and Non-linear Drives Control

Speed Control of BLDC Motor-A Fuzzy Logic Approach

International Journal of Advance Engineering and Research Development. PI Controller for Switched Reluctance Motor

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

Adaptive Fuzzy Logic PI Control for Switched Reluctance Motor Based on Inductance Model

Penn State Erie, The Behrend College School of Engineering

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

Performance Improvement of Buck-Boost Converter Using Fuzzy Logic Controller

Simulation and Experimental Based Four Switch Three Phase Inverter Fed Induction Motor Drive

USED OF FUZZY TOOL OR PID FOR SPEED CONTROL OF SEPRATELY EXCITED DC MOTOR

DC Motor Speed Control for a Plant Based On PID Controller

Simulation of Synchronous Machine in Stability Study for Power System: Garri Station as a Case Study

A Novel Fuzzy Control Approach for Modified C- Dump Converter Based BLDC Machine Used In Flywheel Energy Storage System

Simulation Study of MOSFET Based Drive Circuit Design of Sensorless BLDC Motor for Space Vehicle

Controlling of Permanent Magnet Brushless DC Motor using Instrumentation Technique

An Expert System Based PID Controller for Higher Order Process

Digital Control of MS-150 Modular Position Servo System

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

Transcription:

Time Response Analysis of a DC Motor Speed Control with PI and Fuzzy Logic Using LAB View Compact RIO B. Udaya Kumar 1, Dr. M. Ramesh Patnaik 2 1 Associate professor, Dept of Electronics and Instrumentation, GITAM University, Visakhapatnam, India 2 Sr. Assistant professor, Dept of Instrument Technology, Andhra University, Visakhapatnam, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - This paper presents the implementation of speed control of a DC motor using classical PI control and rule based Fuzzy Logic by with LABView 2. FUZZY LOGIC compactrio and comparative analysis of its time response parameters. Control of a DC motor can be implemented by different methods with either microcontrollers or discrete IC s and FPGA, but implementation with FPGA has advantage because of its parallel computation of the logic blocks increase the speed of execution and reduces time delay. In this paper, measurement of speed of a DC motor has been implemented with the photoelectric method and control has been done with the PWM method by LABView FPGA. Key Words: DC motor, PID, fuzzy logic, FPGA, LABView compactrio. 1. INTRODUCTION DC motors are being used as an actuators in the process control applications and also extensively used in industry for applications such as robot arm drives, machine tools, rolling mills, and aircraft control [1], [2].This paper presents the implementation of a control algorithm, mostly used in real-time control applications, a classical PI controller and a rule based Fuzzy Logic controller to control the speed of a DC motor. Design of a PID controller needs a mathematical model. However, exact modeling becomes complicated when the control algorithm is to be designed for a non-linear system. Due to the linear nature of the controller, even if a superlative control design is achieved, the efficiency of the algorithm will be reduced. In order to eliminate these concerns, the concept of nonlinear Fuzzy Logic controller (FLC) is being used. The FLC s are used in processes where the exact mathematical modeling and transfer functions are not known for both linear and non-linear applications. Although an accurate understanding of the inputs and outputs is required, a precise mathematical correlation between the system characteristics is not necessary. The relationship between inputs and outputs of the system are specified by the user through a rule-based approach. This paper discuss about the comparative Time response analysis of both PI and Fuzzy Logic controller for the speed control of DC motor. The term "Fuzzy Logic" was introduced by Lofti A. Zadeh in the year 1965. Fuzzy Logic is a many valued logic relative to binary logic. Binary logic mainly deals with only two values i.e. 0 s and 1 s whereas the Fuzzy Logic is concerned about the intermediate values also i.e. between 0 s and 1 s. Fuzzy Logic is a rule based algorithm is used where the exact mathematical model of the system is not known. It converts the rules which are in the form of human languages into mathematical equivalents. The beauty of the Fuzzy Logic is that it mimics human thinking, and adds a common sense element to the control strategy [9]. Figure 1 shows a generalized Fuzzy Logic controller consists of 1. Fuzzification module (Fuzzifier) 2. Rule base and Inference engine (Database) 3. Defuzzification module (Defuzzifier) Fig -1: Block diagram of a Fuzzy controller Fuzzification is the process of assigning suitable linguistic variables for the crisp input data, consists of membership functions that are obtained from the inputs and outputs of the system. The knowledge-base consists of a collection of rules that describe the control strategy. These rules are evaluated by an inference mechanism.[4] The rules commonly used are the IF- THEN rules. The defuzzification is the process of aggregation of the linguistic information as well as an inference process to convert output linguistic variables to crisp output by various methods such as center of area, max of means etc. Two popular models available to develop fuzzy control are 1. Mamdani model 2. Takaki-Suguno model[5]. 2015, IRJET ISO 9001:2008 Certified Journal Page 392

3. THE DC MOTOR MODEL An electric motor converts electric energy to mechanical energy by using interacting magnetic fields. The generalized equations governing the dynamic behavior of the DC motor based on the schematic diagram on Fig 2 are given by the following equations[3]. of 8 Teethes. The speed of the DC motor is measured with the Opto coupler which contains of a photo diode and a photo transistor is placed between the teeth. When the rotor of the DC motor is made to rotate in between the photo diode and transistor, the light is obstructed by the teeth of the rotor which produces a pulse. 8 pulses are obtained for every revolution which is measured with the LABView compactrio and control is done by the PWM Technique. Fig -2: The schematic diagram of a DC motor V a = R a.i a (t)+l a. d i a(t ) +e dt b (t ) ---- (1) e b(t) = K b.w(t) ---- (2) T m(t) = K T.i a (t ) ---(3) T m = J m. T m = J m. dθ 2 (t) dt dw (t ) +B dt m.w(t ) -- (4) + B m. dθ (t) dt --(5) Fig -3: Block diagram of a DC motor speed control An Opto coupler MOC3011 has been used to measure the speed which gives the output voltage of 0.2V when the tooth is present and 4.7V in the absence of the teeth. The LABView compactrio can measure pulses only in the range of 6V-24V; hence the output of the Opto coupler is given to the Schmitt trigger designed by LM358 to shift the voltage levels from 4.8V when the teeth is present and 10V when the teeth is absence. This output is interfaced to CompactRIO Digital input (DI0).The TIP122 darlingtonpair transistor has been used to control the motor using PWM. The Fig 4 shows the detailed circuit diagram of the developed system. a R a J +B L J L a S 3 + θ (s) V (s) = K b -- (6) V Where a R = armature voltage (V), a = armature L resistance (Ω), a i = armature inductance (H), a = e armature current (A), b = back emf (V), w = angular T speed (rad/s), m = motor torque (Nm), θ= angular position of rotor shaft (rad), J m = rotor inertia (kg), B m = viscous friction coefficient (Nms/rad), K T = torque constant (Nm/A), K b = back emf constant (Vs/rad). 4. HARDWARE DESIGN DETAILS The Fig 3 shows the block diagram of the speed control of a DC motor. The DC motor is attached with a disc consists Fig -4: circuit diagram 5. IMPLEMENTATION OF FUZZY LOGIC CONTROL ALGORITHM ON COMPACTRIO The National Instruments CompactRIO is a real time embedded controller combines an open embedded architecture with small size, and hot swappable industrial I/O modules. CompactRIO is a rugged, reconfigurable embedded system containing three components a real 2015, IRJET ISO 9001:2008 Certified Journal Page 393

time controller, a reconfigurable field programmable gate array (FPGA) and industrial I/O modules to make control applications easier to design. LABView software has builtin tools to implement a PID and Fuzzy Logic algorithms. Implementation of any control algorithm using LABView CompactRIO requires two VI programs 1.Host VI 2.FPGA VI. The Block diagram and Front panel FPGA VI of the Fuzzy Logic control of DC motor is shown in the Figure 5 and Figure 6. Measurement of speed is done with the Digital Input (DI0) of CompactRIO for every 1sec and PWM signal is generated from the Digital Output (DO1). The Block diagram and Front panel Host VI is shown in the Figure 7 and Figure 8 reads the speed after every second in rpm and error is calculated by comparing its value with the set point. The Fuzzy Controller generates the PWM ticks corresponding to the error. The Host VI transfers this PWM ticks to the FPGA VI that controls the speed of the DC motor. Fig-7 Block Diagram of Host VI of Fuzzy Logic Controller Fig -5: Block Diagram of FPGA VI of Fuzzy Logic Controller 16000 clock ticks are required to generate a 10 KHz PWM frequency from CompactRIO which has an on board clock of 40 MHz. Fig- 8 Front Panel of HOST VI of Fuzzy Logic Controller The PWM frequency of 10 KHz has been selected based on the trial and error. The Figure 9 shows the Fuzzy Logic implemented in the LABView Fuzzy tool box. The membership functions in the Fuzzy Logic have selected based on the calibration data. obtained from the experiment. The data obtained experimentally varies linearly with the PWM duty cycle vs. speed of the motor. 25 rules were prepared from the input membership functions. Input Membership Functions 1) Set point: 2) Speed: Fig- 6 Front Panel of FPGA VI of Fuzzy Logic Controller 2015, IRJET ISO 9001:2008 Certified Journal Page 394

Fig- 11 Front Panel of FPGA VI of PI Controller Output Membership function: 1) PWM Ticks: Fig-12 Block diagram of Host VI of PI Controller Fig-9 Fuzzy Logic in LABView 6. IMPLEMENTATION OF PI CONTROLLER ON COMPACTRIO The Fig numbers 10, 11, 12, and 13 shows the Block diagram and Front panel controls of FPGA VI and Host VI of PI controller of the DC motor. Fig- 13 Block diagram of FPGA VI of PI Controller The only difference between Fuzzy Logic controller and PI controller is that a FPGA PID is available in the compact RIO has been used to generate the PWM signal corresponding to the error. The gain constant of proportional K p is 4 and KI is 0.05 Sec is obtained by tuning. The Figure 14 shows the Experimental setup. Fig10 Block diagram of FPGA VI of PI Controller Fig-14 Experimental setup 7. RESULTS AND CONCLUSIONS 2015, IRJET ISO 9001:2008 Certified Journal Page 395

The results of the Time response parameters of DC motor speed control are calculated using LABView Control system tool box are depicted in Table1. The results shows that speed control of the DC motor using PI controller takes more rising time and oscillations for a step input, where as Fuzzy Logic control provides the smooth control. Figures 15, 16 show the response of fuzzy and PI control. PI Controller Fuzzy Logic Overshoot 28% 1% Rise Time 1.785 Sec 1.1 Sec Settling Time 9.45 Sec 3.6 Sec Table 1 Sugeno-Type Fuzzy Logic Controller on a Two- Wheeled Mobile Robot, IEEE transactions on Industrial Electronics, Vol. 60, no. 12, December 2013 [6] Ahmed Rubaai, Member IEEE, Daniel Ricketts, and M. David Kankam, Senior Member, IEEE Development and Implementation of an Adaptive Fuzzy-Neural- Network Controller for Brushless Drives IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 38, NO. 2, MARCH/APRIL 2002 [7] V. S. C. Raviraj and P. C. Sen, Comparative study of proportional-integral,sliding mode, and fuzzy logic controllers for power converters, IEEE Trans. Ind. Applicat., vol. 33, pp. 518 524, Mar./Apr. 1997. [8] P. Thepsatom, A. Numsomran, V. Tipsuwanpom and T. Teanthong "DC Motor Speed Control using Fuzzy Logic based on LabVIEW SICE-ICASE International Joint Conference, Bexco, Busan, Korea, pp. 3317-3320, Oct. 18-2 1, 2006. [9] Fuzzy Logic with Engineering Applications, third edition by Timothy J. Ross Fig-15 PI Response for Step Input Fig- 16 Fuzzy Logic Response for Step Input REFERENCES [1] B. C. Kuo and J. Tal, DC Motors and Control Systems. Champaign, IL: SRL Publishing, 1978. [2] M. G. Say and E. 0. Taylor, Direct Current Machines. New York: Wiley, 1980. [3] Walaa M. Elsrogy, M. A. Fkirin M. A. Moustafa Hassan Speed Control of DC Motor Using PID Controller Based on Artificial Intelligence Techniques CoDIT'13,pp 196-201,2013. [4] CompactRIO Hands-On Tutorial- Basics, Oct 29, 2007 [5] Jian-Xin Xu, Fellow, IEEE, Zhao-Qin Guo, and Tong Heng Lee Design and Implementation of a Takagi 2015, IRJET ISO 9001:2008 Certified Journal Page 396