Implementation of Motor Speed Control Using PID Control in Programmable Logic Controller
Implementation of Motor Speed Control Using PID Control in Programmable Logic Controller
Implementation of Motor Speed Control Using PID Control in Programmable Logic Controller
R. E. Samin, N. A. Azmi, M. A. Ahmad, M. R. Ghazali, and M. A. Zawawi Citation: AIP Conf. Proc. 1499, 164 (2012); doi: 10.1063/1.4768981 View online: http://dx.doi.org/10.1063/1.4768981 View Table of Contents: http://proceedings.aip.org/dbt/dbt.jsp?KEY=APCPCS&Volume=1499&Issue=1 Published by the American Institute of Physics.
Related Articles
Fiber-optic rotation of micro-scale structures enabled microfluidic actuation and self-scanning two-photon excitation Appl. Phys. Lett. 101, 221105 (2012) Complete analytical solution of electromagnetic field problem of high-speed spinning ball J. Appl. Phys. 112, 104901 (2012) A simple maximum power point tracking based control strategy applied to a variable speed squirrel cage induction generator J. Renewable Sustainable Energy 4, 053124 (2012) Dynamic optimization of the tracking system for a pseudo-azimuthal photovoltaic platform J. Renewable Sustainable Energy 4, 053117 (2012) Control strategies of doubly fed induction generator-based wind turbine system with new rotor current protection topology J. Renewable Sustainable Energy 4, 043123 (2012)
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions
IMPLEMENTATION OF MOTOR SPEED CONTROL USING PID CONTROL IN PROGRAMMABLE LOGIC CONTROLLER
R.E.Samin, N.A.Azmi, M.A.Ahmad, M.R. Ghazali and M.A. Zawawi
Faculty of Electrical & Electronics Engineering, Universiti Malaysia Pahang reza@ump.edu.my Abstract: This paper presents the implementation of motor speed control using Proportional Integral Derrivative (PID) controller using Programmable Logic Controller (PLC). Proportional Integral Derrivative (PID) controller is the technique used to actively control the speed of the motor. An AC motor is used in the research together with the PLC, encoder and Proface touch screen. The model of the PLC that has been used in this project is OMRON CJIG-CPU42P where this PLC has a build in loop control that can be made the ladder diagram quite simple using function block in CX-process tools. A complete experimental analysis of the technique in terms of system response is presented. Comparative assessment of the impact of Proportional, Integral and Derivative in the controller on the system performance is presented and discussed. Key-words: PLC Omron CJ1G, Proportional-Integral-Derivative Controller, Motor speed control, CX- process tools. PACS: 87.19.It
1. Introduction
The purpose of a motor speed controller is to take a signal representing the demanded speed, and to drive a motor at that speed. The controller may or may not actually measure the speed of the motor. If it does, it is called a Feedback Speed Controller or Closed Loop Speed Controller, if not it is called an Open Loop Speed Controller. Feedback speed control is better, but more complicated, and may not be required for a simple robot design. Motors come in a variety of forms, and the speed controller's motor drive output will be different dependent on these forms. Due to its simple structure and reliable operation, AC induction motor has been applied widely in the industry, however it is difficult to control the speed for AC induction motor because of its multi-variables coupling, nonlinearity, time-varying parameters [1]. AC motor system is extensively applied to robot actuator, machining center, computer numerical control machine and precise industrial robot [2]. AC motor system is competing with DC motor system due to their favorable electrical and mechanical properties, good dynamics and high efficiency [3]. There are still some problems to solve for direct torque control, for instance stator current and flux distortion in low speed phase [4, 5]. In developing this project, Programmable Logic Controller (PLC) ladder diagram programming will be constructed with PID control implementation and the hardware of motor control. In order to simplify the PLC ladder diagram the PLC Omron CJ1G will be used where the CX-Process software will be implemented in addition with the CX-Programmer for the ladder diagram [5, 6]. This paper presents investigations of PID controller approach in order to control the speed of AC Motor by implementing Programmable Logic Controller (PLC). Experimental analysis is developed within the Omron CX-Programmer and CX-Process Tool software for the
evaluation of the control strategies. In this work, various experimental analyses using P, PI and PID are examined in order to demonstrate the effectiveness of the PID control strategy. Performance of PID controller under various P, PI and PID value are examined in terms of settling time, rise time and percent overshoot in comparison with system without controller. Finally, a comparative assessment of the impact of various P, PI and PID of the PID controller on the system performance is presented and discussed.
Proceedings of the Sixth Global Conference on Power Control and Optimization AIP Conf. Proc. 1499, 164-168 (2012); doi: 10.1063/1.4768981 2012 American Institute of Physics 978-0-7354-1113-5/$30.00
164
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions
165
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions
Fig. 5: Tuning screen without controller. there is no feedback to overcome the disturbance. This system is similar to open loop control in Figure 7.
166
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions
Fig. 10: Graph with PID Controller (FT) (P=50%, I=3s, D=1s).
167
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions
(i) Overshoot percentage OS% = [C max C final] x 100% C final (ii) Rise time TR = Tb Ta (sec) (iii) Settling time From control start to the system staying within 5% of the steady state overall the PI controller with fine tuning provide better performance in overshoot reduction and response after disturbance as compared to the others.
References
[1] Wang Tao, Study on Some Methods for Robust Control of Induction Motor Drive, Doctoral Dissertation, Southwest Jiaotong University, 2007. [2] Koki Yamaji, Takeshi Mizuno, Naohiro Ishii, The Motor Driving Control of X-Y-Z Table Utilizing Photoelectric Device and Optical Pattern Recognition, IECON92, Vol.1,1992. [3] Pyoung-Ho Kim, Sa-Hyun Sin, Hyung-Lae Baek, Geum-Bae Cho, Speed Control of AC Servo Motor using Neural Networks, ICEMS 2001, pp 691-694 vol.2, 2001. [4] Behrooz Majidi, Jafar Milimonfared, Kaveh Malekian. Performance Improvement of Direct Torque Controlled Interior Permanent Magnet Synchronous Motor Drive by Considering Magnetic Saturation. Power Electronics and Motion Control Conference, 2008, pp. 763 768. [5] OMRON Manual w468-e1-01.pdf [6] SYSMAC CJ1W-CT021 High Speed Counter Units W401-E1-0_CJ1W-CT021_Operation_Manual.pdf Table I: Performance comparisons response of ac motor
With Controller (AUTO) Fine Tuning (FT) Controller Settling Time(s) Rise Time (s) PI H=5 R=5 OS=5 R=5 OS=5 H=5 R=5 OS=5 H=5 R=4 H=3 H=4 OS=3 R=3 OS=4 R=1 H=4 H=1 OS=4 R=4 OS=1 25 12 33 28 17 21 12 20 19 11 1 2 2 2 1 2 1 1 2 1 26.64 9.14 23.86 26.71 11.71 20.14 12.85 15.71 10.14 1.86 -fast response & stable -bad fluctuate -fast response and stable -bad fluctuate and unstable -good response and stable -good response and stable -fast response and stable -fast response and stable -fast response and stable -fast response and stable -fast response and stable -fast response and stable Overshoot (%) With braking
5. Conclusion
From the theory, it is stated that the control system which is PID controller can provide better performance to a control system due to the transient response. By using the control scheme it can produce better result due to the performance of the maximum percentage overshoot and can avoid the oscillation before reaching the steady state error. The implementation of the Proportional-Integral-Derivative controller with PLC has been achieved by using ladder diagram in CX-Programmer and function block in CXprocess tools. From this implementation it shows that the system without controller there is no feedback however using the Proportional-Integral-Derivative controller scheme it have a feedback in the system to overhaul the error from the disturbance. The performance of the control speed has been evaluated in terms of without controller, with controller and controller with fine tuning. From this implementation it shows that the system without controller is no feedback but using the PID controller it has a feedback in the system to repair an error from the disturbance. A comparison of the results has been demonstrated and the ProportionalIntegral controller produce better control performance in terms of combination fine tuning which are response=4 and overshoot=1.In addition, this combination has lower overshoot. In terms of single fine tuning control performance, Proportional-Integral controller with overshoot=5 produce good response after disturbance. Proportional-Integral controller have better performance compare to Proportional controller, Proportional-Integral controller, Proportional-Integral-Derivative controller with other fine tuning combination and without controller. Cost can be saved by using ProportionalIntegral controller because this controller is good enough to give better control performance for the system.
With Controller (AUTO) Fine Tuning Controller Settling Time(s) Rise Time (s) PID H=5 R=5 26 2 20.86 -fast response and stable -bad fluctuate -bad fluctuate -bad fluctuate 26 35 19 22 22 19 1 1 2 1 1 1 22.86 24.21 14 18.43 23.07 12.57 -good response and stable -good response and stable -fast response and stable -fast response and stable -bad fluctuate -fast response and stable -fast response and stable -bad fluctuate Overshoot (%) With braking
6. Acknowledgement
This work was supported by Faculty of Electrical & Electronics Engineering, Universiti Malaysia Pahang, especially Control & Instrumentation (COINS) Research Group.
OS=5 R=5 OS=5 H=5 R=5 OS=5 H=5 R=4 H=3 H=4 OS=3 R=3 OS=4 R=1 H=4 H=1 OS=4 R=4 OS=1
168
Downloaded 27 Nov 2012 to 117.55.68.141. Redistribution subject to AIP license or copyright; see http://proceedings.aip.org/about/rights_permissions