0% found this document useful (0 votes)
22 views

Simulation_Model_of_PID_Controller_for_DC_Servo_Mo

This paper presents a simulation model for controlling the speed of a DC servo motor (DCSM) using a PID controller in MATLAB, focusing on both constant and variable speed conditions. The study demonstrates the effectiveness of PID parameters in improving motor performance, with optimal values identified as kp=5, ki=3, and kd=5. Results indicate that implementing the PID controller significantly enhances the motor's speed control and overall operational efficiency.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Simulation_Model_of_PID_Controller_for_DC_Servo_Mo

This paper presents a simulation model for controlling the speed of a DC servo motor (DCSM) using a PID controller in MATLAB, focusing on both constant and variable speed conditions. The study demonstrates the effectiveness of PID parameters in improving motor performance, with optimal values identified as kp=5, ki=3, and kd=5. Results indicate that implementing the PID controller significantly enhances the motor's speed control and overall operational efficiency.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Journal of Robotics and Control (JRC)

Volume 4, Issue 1, January 2023


ISSN: 2715-5072, DOI: 10.18196/jrc.v4i1.15866 54

Simulation Model of PID Controller for DC Servo


Motor at Variable and Constant Speed by Using
MATLAB
Zainab B. Abdullah 1, Salam Waley Shneen 2*, Hashmia S. Dakheel 3
1,3
Department of Electro-mechanical Engineering, University of Technology, Baghdad, Iraq
2
Nanotechnology and Advanced Material Center, University of Technology, Baghdad, Iraq
Email: 1 Zainab.B.Abdullah@uotechnology.edu.iq, 2 salam.w.shneen@uotechnology.edu.iq,
3
Hashmia.S.Dakheel@uotechnology.edu.iq
*Corresponding Author

Abstract—The current simulation is conducted in order to the DCSM by adjusting the PID parameters (𝐾𝑑, 𝐾𝑝 𝑎𝑛𝑑
develop an appropriate design for the control systems and 𝐾𝑖) as well as the use of MATLAB in accounts that applied
control the speed of the electric motor. To obtain the to multiple cases depending on the ideal coefficient to
appropriate and required design, work is carried out for two
integrate the time-doubled absolute error criterion into the
cases, a constant speed and the other case at variable speed in
different conditions for operation of dc servo motor, these unit step and slope. In Mezher [14] refer two types of
conditions include rotating in a clockwise direction, break and conventional controllers, PI and PID, were used to control
returns rotating in the opposite clockwise direction. Through the speed of a DCSM. Multiple inputs were tested in a
the proposed working conditions, it is possible to obtain the simulation program and the results were presented using
best values for the parameters of the control unit that improve LABVIEW. The researcher presented in the paper [15]
the working performance of dc servo motor, which were shown building a dynamic model of DC motor and using
by the simulation results and their values were kp =5, ki=3 and Matlab/Simulation as a sub-system of the motor, and then
kd=5 for PID controller. Which changed the system response using PID and FLC as a logic controller to control the motor
speed, rise time and the upper and lower bypass ratio at
speed. For centuries, PID controllers have been used in
acceptable rates and ratios to prove an improvement
procedure in the work of the electric motor. industrial applications for their ease of application, high
efficiency and robustness [16-22]. PID controllers have
Keywords— DCSM; PID Controller; Speed; Position three basic control modes (kp, ki, kd), which are
characterized by ease of implementation and good
I. INTRODUCTION performance, enabling them to be widely used in industrial
Due to the high specifications that DC servo motors fields [23-28]. When designing the PID control mechanism,
(DCSM) possess, high torque, low inertia torque, so they are its parameters are adjusted in order to reach the optimum
used in computers and drives (printers, disks, tapes and operation of the motor (reduce rise time, overshoot, steady
word processing) and all of these fields require speed state error and hold time [29-34]. This paper proposes using
control, high accuracy and precise positioning. Where the PID controller to speed control of DCSM in order to
speed and position of the servo motor are controlled by the develop and obtain best results.
control unit that sends signals in the feedback [1-5]. In II. MATHEMATICAL MODELS OF DCSM
addition to the above advantages, the servo motors (SM)
have other advantages of high flexibility, low cost, and high Due to the good electrical and mechanical performance
reliability. There are problems when controlling the motor of the (SM) when compared with a DC motor therefore, this
speed where the characteristics are non-linear and the engine paper includes the study of controlling the speed of this type
is a time-varying nature, so servo motor needs highly of motor because of its importance in the practical and
efficient control units or they are called expert controllers it industrial fields, especially the field of control. Fig. 1 show
is added to the traditional controllers to control the speed model representation of the motor [35], while Fig. 2
and position of the motor or to improve the performance [6- illustrates dynamic behavior of DCSM by block diagram.
10]. The study presented [11] a simulation model of the [36-41].
(SM), the use of the PID controller, and the simulation of Equation (1) refers to the transfer function of (DCSM),
the mathematical model of the motor in improving the also Table 1 shows parameters of (DCSM) [42]:
performance of the motor. In research [12], the PI controller
was used to control the speed of the (SM), the use of data Ɵ𝑠 𝐾𝑡
= (1)
for real experiments, and the use of genetic algorithms 𝑉𝑎 𝑠(𝐿𝑎 𝑠 + 𝑅𝑎 )(𝐽𝑚 𝑠 + 𝐵𝑚 ) + 𝐾𝑡 𝐾𝑏 𝑠
technology to reach the best results, which are used as input
to the pi controller, so that pi became fast response, less
raise and sufficient stability time. Paper [13] include a
powerful PID regulator was used to control the position of

Journal Web site: http://journal.umy.ac.id/index.php/jrc Journal Email: jrc@umy.ac.id


Journal of Robotics and Control (JRC) ISSN: 2715-5072 55

model refers to speed control at constant value of speed


while second model deals with variable speed at multi
conditions. Fig. 3 indicates to simulation model for each
with and without PID controller whereas Fig. 4 shows the
model at variable speed at different conditions.

Fig. 1. Model representation of DCSM

Fig. 4. The simulation model with and without PID controller at variable
speed

IV. SIMULATION RESULTS AND DISCUSSION


Fig. 2. Block Diagram representation of a (DCSM)
In this part, the results will be discussed. These results
TABLE I. TABLE TYPE STYLES also are in two cases, first case deals with speed control for
DCSM with constant speed with and without PID controller
Criterion Symbols Amounts Units while the second case at a variable speed in different
Armature resistance Ra 2.23 ohm
Armature inductance La 0.23 H
conditions.
Moment of inertia Jm 0.00006286 Kg.m2 A. Simulation results at constant speed
Friction coefficient Bm 0.0000708 Rad /sec
Torque constant KT 0.121 N-m-s / rad When speed constant the Simulink response of PID
Back emf constant KB 0.121 V/(rad/s) controller for speed control of DCSM at no load that can be
shown in the Figures. Fig. 5 refers to characteristics of
speed whereas Fig. 6 indicates the torque of motor while
other characteristics can be shown in Figs. 8, 9 and 10
respectively.

Fig. 3. The simulation model with and without PID controller at constant
speed

III. SIMULATION MODEL TO SPEED CONTROL OF DCSM


The simulation model of DCSM is implemented by
using Math Lab program [43-46], this type of traditional Fig. 5. speed control of DCSM
controllers has advantages using to improve the work and
performance of operation for machines to get better results,
especially in the field of control, so this paper proposes two
models when DCSM operates at no load [47-54], the first

Zainab B. Abdullah, Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using
MATLAB
Journal of Robotics and Control (JRC) ISSN: 2715-5072 56

Fig. 9. Error of system


Fig. 6. Torque characteristic of DCSM

B. Simulation results at variable speed


In this section, the results are obtained at variable speed
in three condition, first condition when the motor rotates at a
clockwise direction, the second condition when the motor
breaks and third condition when the motor returns rotating
in opposite clockwise direction as available in Table 2.

TABLE II. CONDITION OF OPERATION FOR DCSM


Conditions of operation for DCSM Time (sec)
Rotates at a clockwise direction 0-5
Break 5-10
Rotate opposite clockwise direction 10-15
Break 15-20
Rotates at a clockwise direction 20-25

Simulink responses and the characteristics of DCSM at


above conditions can be shown in Fig. 10 – 15.

Fig. 7. The Current

Fig. 10. reference speed of DCSM

Fig. 8. The Voltage

Zainab B. Abdullah, Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using
MATLAB
Journal of Robotics and Control (JRC) ISSN: 2715-5072 57

Fig. 11. speed control of DCSM Fig. 14. Torque of DCSM

Fig. 12. The current Fig. 15. The voltage

The simulation results indicate obtaining better results


for each speed control and Simulink response of DCSM
when using PID control by minimize in ever shoot in order
to develop and improve performance of DCSM to obtain
good simulation results.
V. CONCLUSION
In this simulation, the process of designing and
implementing a conventional control unit was conducted to
control the speed of the motor. A model was built that
simulates the electric motor in two cases at no load with
constant speed and with variable speed. Simulation results
Possibility to improve the performance of the motor by
setting the conventional control unit for all the proposed
conditions and given in your results section .
REFERENCES
[1] H. S. Dakheel, Z. B. Abdullah, N. S. Jasim, and S. W. Shneen,
"Simulation model of ANN and PID controller for direct current servo
motor by using Matlab/Simulink," TELKOMNIKA
Fig. 13. The Error of system

Zainab B. Abdullah, Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using
MATLAB
Journal of Robotics and Control (JRC) ISSN: 2715-5072 58

Telecommunication Computing Electronics and Control, vol. 20, no. [21] S. W. Shneen, "Advanced optimal for power-electronic systems for
4, pp. 922-932, 2022. the grid integration of energy sources," Indonesian Journal of
[2] N. M. Zakaria and A. O. Elnady, "Implementation of Position Control Electrical Engineering and Computer Science, vol. 1, no. 3, pp. 543-
Servo DC Motor with PID Controller to Humanoid Robot Arm," 5 th 555, pp. 2016.
IUGRC International Undergraduate Research Conference, Military [22] S. Memon and A. N. Kalhoro, "Design of Multivariable PID
Technical College, Cairo, Egypt, Aug 9th – Aug 12st, 2021. Controllers: A Comparative Study," IJCSNS International Journal of
[3] J. Priya, A. Jeevanandham, K. Rajalashmi, "Fuzzy Logic Controller Computer Science and Network Security, vol. 21, no. 8, pp. 212-218,
for Position Control of Servo Motor," International Journal of 2021.
Innovative Technology and Exploring Engineering (IJITEE), vol. 8, [23] M. Ahmed, N. M. Tahir, A. Y. Zimit, M. Idi, K. A. Abubakar, and S.
no. 3, pp. 99-102, 2019. A. Jalo, "Improved PID Controller for DC Motor Control Improved
[4] A. A. Hassen, "Real Time Digital Speed Control System for DC PID Controller for DC Motor Control," IOP Conference Series
Servo Motor Using LabVIEW 8.5 Package," Engineering and Materials Science and Engineering, vol. 1052, no. 1, p. 12058, 2021.
Technology Journal, vol. 28, no. 6, 2010. [24] S. W. Shneen, "Advanced optimal for three phase rectifier in power-
[5] S. W. Shneen, M. Q. Sulttan, and M. H. Jaber, "Variable speed electronic systems," Indonesian Journal of Electrical Engineering
control for 2Ph-HSM in RGS: a comparative simulation and Computer Science, vol. 11, no. 3, pp. 821-830, 2018.
study," International Journal of Electrical and Computer [25] S. W. Shneen, D. H. Shaker, F. N. Abdullah, "Simulation model of
Engineering, vol. 10, no. 3, p. 2285, 2020. single phase PWM inverter by using MATLAB/Simulink,"
[6] E. H. Abdelhameed, T. H. Mohamed and G. El-saady, "Design of International Journal of Electrical and Computer Engineering
Hybrid Fuzzy and Position-Velocity Controller for Precise (IJECE), vol. 11, no. 5, pp. 3791-3797, 2021.
Positioning of a Servo System," International Journal of Applied [26] W. Cai, et al., "Review and development of electric motor systems
Energy Systems, vol. 2, no. 2, pp. 111-115, 2020. and electric powertrains for new energy vehicles," Automotive
[7] R. Manikandan and R. Arulmozhiyal, "Position Control of DC Servo Innovation, vol. 4, no. 1, pp. 3-22, 2021.
Drive Using Fuzzy Logic Controller," 2014 International Conference [27] S. W. Shneen, “Advanced optimal for three phase rectifier in power-
on Advances in Electrical Engineering (ICAEE), pp. 1-5, 2014. electronic systems," Indonesian Journal of Electrical Engineering
[8] M, H. Jasim, "Tuning of a PID controller by bacterial foraging and Computer Science, vol. 11, no. 3, pp. 821-830, 2018.
algorithm for position control of DC servo motor," Engineering and [28] H. Hayashi, et al., "Efficiency improvements of switched reluctance
Technology Journal, vol. 36, no. 3A, pp. 287-294, 2018. motors with high-quality iron steel and enhanced conductor slot
[9] S. W. Shneen, H. S. Dakheel, and Z. B. Abdulla, "Design and fill," IEEE Transactions on Energy Conversion, vol. 24, no. 4, pp.
implementation of variable and constant load for induction 819-825, 2009.
motor," International Journal of Power Electronics and Drive [29] F. W. Lewis, S. Jagannathan, and A. Yesildirak, “Neural network
Systems, vol. 11, no. 2, p. 762, 2020. control of robot manipulators and non-linear systems,” CRC press,
[10] T. T. Lynn and Eaint, "Position Control of DC Servo Drive by Fuzzy 1998.
Logic Controller in Flat-Bed Screen Printing Machine," American [30] S. W. Shneen, et al, "Application of LFAC {16 2/3Hz} for electrical
Scientific Research Journal for Engineering, Technology, and power transmission system: a comparative simulation
Sciences (ASRJETS), vol. 26, no 1, pp 8-19, 2016. study," TELKOMNIKA (Telecommunication Computing Electronics
[11] F. N. Abdullah, G. A. Aziz, S. W. Shneen, "Simulation Model of and Control), vol. 17, no. 2, pp. 1055-1064, 2019.
Servo Motor by Using Matlab," Journal of Robotics and Control [31] T. K. Nizami, et al., "Enhanced dynamic performance in DC–DC
(JRC), vol. 3, no. 2, pp. 176-179, 2022. converter‐PMDC motor combination through an intelligent non‐linear
[12] H. Alzarok, H. M. Aiyoub, "Tuning of a Speed Control System for adaptive control scheme," IET Power Electronics, vol. 15, no. 15, pp.
DC Servo Motor Using Genetic Algorithm," The International 1607-1616, 2022.
Journal of Engineering and Information Technology (IJEIT), vol. 6, [32] D. Somwanshi, M. Bundele, G. Kumar, G. Parashar, "Comparison of
no. 2, pp. 141-150, 2020. Fuzzy-PID and PID Controller for Speed Control of DC Motor using
[13] L. S. Mezher, "Characteristics of Servo DC Motor with PID LabVIEW," Procedia Computer Science, vol. 152, pp. 252–260,
Controller," Journal of Mechanical Engineering Research and 2019.
Developments, vol. 44, no 2, pp 392-400, 2021. [33] S. W. Shneen, and G. A. Aziz, "Simulation model of 3-phase PWM
[14] L. S. Mezher, "Speed control for servo DC motor with different rectifier by using MATLAB/Simulink," International Journal of
tuning PID controller with," Journal of Mechanical Engineering Electrical and Computer Engineering, vol. 11, no. 5, p. 3736, 2021.
Research and Developments, vol. 44, no. 1, pp. 294-303, 2021. [34] M. A. Akbar, "Simulation of Fuzzy Logic Control for DC Servo
[15] A.-A. S. A. -Salam, "Comparison between FLC and PID Controller Motor using Arduino based on Matlab/Simulink," International
for Speed Control of DC Motor," International Robotics & Conference of Intelligent Autonomous Agents, Network & System,
Automation Journal, vol. 8, no. 2, pp. 40-45, 2022. pp.42-46, 2014.
[16] A. M. Abba, T. Karataev, S. Thomas and A. M. Ali, "Optimal PID [35] M. Akar and I. Temiz, "Motion controller design for the speed control
Controller Tuning for DC Motor Speed Control Using Smell Agent of dc servo motor," International Journal of Applied Mathematics and
Optimization Algorithm," FUOYE Journal of Engineering and Informatics, vol. 1, no. 4, pp. 131-137, 2007.
Technology, vol. 7, no. 1, pp.23-27, 2022. [36] D. K. Meena and S. Chahar, "Speed Control of DC Servo using
[17] M. A. Baballe, et al., "A Look at the Different Types of Servo Motors Genetic Algorithm," IEEE Conference on Information,
and Their Applications," Global Journal of Research in Engineering Communication, Instrumentation and Control (ICICIC), pp. 1-7,
& Computer Sciences, vol. 2, no. 3, pp. 1-6, 2022. 2017.
[18] V. Balgur, A. Gonzalez, P. Garcia, and F. Blanes, "Enhanced 2-DOF [37] S. W. Shneen, "Advanced Optimal for PV system coupled with
PID Controller Tuning Based on an Uncertainty and Disturbance PMSM," Indonesian Journal of Electrical Engineering and Computer
Estimator with Experimental Validation," IEEE Access, vol. 9, pp. Science, vol. 1, no. 3, pp. 556-565, 2016.
99092-99102, 2021. [38] R. Kristiyono and W. Wiyono, "Autotuning Fuzzy PID Controller for
[19] H. S. Dakheel, Z. B. Abdulla, H. J. Jawad, A. J. Mohammed, " Speed Control of BLDC Motor," Journal of Robotics and Control
Comparative analysis of PID and neural network controllers for (JRC), vol. 2, no. 5, pp. 400-407, 2021.
improving starting torque of wound rotor induction motor," [39] A. M. Alsayed, E. K. Elsayed, "Optimize Position Control of DC
TELKOMNIKA Telecommunication, Computing, Electronics and Servo Motor using PID Controller Tuning with Krill Herd algorithm,"
Control, vol. 18, no. 6, pp. 3142-3154, 2020. International Journal of Engineering and Information Systems
[20] S. T. Kurdi, and N. M. Ameen, "DC Servo Position Control (IJEAIS), vol. 4, no. 12, pp. 141-147, 2020.
Parameter Estimation," Engineering and Technology Journal, vol. 28, [40] S. W. Shneen, C. Mao, and D. Wang, "Advanced optimal PSO, Fuzzy
no. 5, 2010. and PI controller with PMSM and WTGS at 5Hz side of generation

Zainab B. Abdullah, Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using
MATLAB
Journal of Robotics and Control (JRC) ISSN: 2715-5072 59

and 50Hz Side of Grid," International Journal of Power Electronics [49] H. Maghfiroh, A. Ramelan, and F. Adriyanto, "Fuzzy-PID in BLDC
and Drive Systems, vol. 7, no. 1, p. 173, 2016. Motor Speed Control Using MATLAB/Simulink," Journal of
[41] G. Vasudevarao, V. Rangavalli, "Comparison of Speed Control of Dc Robotics and Control (JRC), vol. 3, no. 1, pp. 8-13, 2022.
Servo Motor using Pi, PID, Fuzzy, SMC," International Advanced [50] R. Subasri, et al., "Comparison of BPN, RBFN and wavelet neural
Research Journal in Science, Engineering and Technology, vol. 3, no. network in induction motor modelling for speed
11, pp. 151-156, 2016. estimation," International Journal of Ambient Energy, vol. 43, no. 1,
[42] C. Bharatiraja, et al., "Low cost real time centralized speed control of pp. 3246-3251, 2022.
DC motor using lab view-NI USB 6008," International Journal of [51] N. Rosjat, and S. Daun, "DST (Dynamic Synchronization Toolbox):
Power Electronics and Drive Systems, vol. 7, no. 3, p. 656, 2016. A MATLAB Implementation of the Dynamic Phase-Locking Pipeline
[43] K. J. Åström, H. Elmqvist, and S. E. Mattsson, "Evolution of from Stimulus Transformation into Motor Action: Dynamic Graph
continuous-time modeling and simulation," Esm, pp. 9-18, 1998. Analysis Reveals a Posterior-to-Anterior Shift in Brain Network
Communication of Older Subjects," Journal of Open Research
[44] S. W. Shneen, D. H. Shaker, and F. N. Abdullah, "Simulation model
Software, vol. 10, no. 1, 2022.
of PID for DC-DC converter by using MATLAB," International
Journal of Electrical and Computer Engineering, vol. 11, no. 5, p. [52] A. B. Martínez, et al., "MATLAB/Simulink modeling of electric
3791, 2021. motors operating with harmonics and unbalance," International
Journal of Electrical and Computer Engineering (IJECE), vol. 12, no.
[45] S. Ayasun, and C. O. Nwankpa, "Induction motor tests using
5, pp. 4640-4648, 2020.
MATLAB/Simulink and their integration into undergraduate electric
machinery courses," IEEE Transactions on education, vol. 48, no. 1, [53] S. Ghosh, "MATLAB Simulation of Circle Diagram in Three Phase
pp. 37-46, 2005. Induction Motor," IETE Journal of Education, vol. 63, no. 2, pp. 63-
67, 2022.
[46] A. Banik, et al., "Design, modelling, and analysis of novel solar PV
system using MATLAB," Materials today: proceedings, vol. 51, pp. [54] M. K. Oudah, M. Q. Sulttan, and S. W. Shneen, "Fuzzy type 1 PID
756-763, 2022. controllers design for TCP/AQM wireless networks," Indonesian
Journal of Electrical Engineering and Computer Science, vol. 21, no.
[47] R. Newby, et al., "Geste antagoniste effects on motor performance in
1, pp. 118-127, 2021.
dystonia—a kinematic study," Movement Disorders Clinical Practice,
vol. 9, no. 6, pp. 759-764, 2022.
[48] P. F. Le Roux, and M. K. Ngwenyama, "Static and Dynamic
Simulation of an Induction Motor Using Matlab/Simulink," Energies,
vol. 15, no. 10, p. 3564, 2022.

Zainab B. Abdullah, Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using
MATLAB

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy