DC Motor Speed Control with Proportional Integral Derivative (PID) Control on the Prototype of a Mini-Submarine

Authors

  • Qolil Ariyansyah Univesitas Ahmad Dahlan
  • Alfian Ma'arif Universitas Ahmad Dahlan

DOI:

https://doi.org/10.59247/jfsc.v1i1.26

Keywords:

Robot, PID, PWM, DC Motor

Abstract

DC (Direct Current) motors are widely used as controllers in the industrial and robotics fields. In the rotation of the DC motor, there is still an unstable rotational speed so that a controller is needed to be able to stabilize the speed at the rotation of the DC motor. The control used in this study used the PID (Proportional Integral Derivative) control method. The PID control system works by processing calculations based on control variables Kp, Ki, and Kd to achieve conditions according to the expected setpoints. To achieve the expected conditions, the trial and error method is used. PID control in this study was implemented on a DC motor with a brushed type using an Arduino Mega microcontroller. The speed of the DC motor is read by the encoder sensor and entered in the PID equation. The output of the PID value will produce data in the form of PWM (Pulse Width Modulation) which will be the input of the L298N driver via Arduino Mega. The DC motor will produce a rotational speed in the form of RPM (Revolution Per Minute) data up to the specified set point. The implementation of PID was produced by giving parameter values to Kp, Ki, and Kd. The best PID parameter usage in this study was in the form of Kp = 0.6; Ki=0.3; and Kd=0.01. The application of the PID parameter obtains a stable system response curve at a predetermined set point. The resulting Kp, Ki, and Kd parameter data is used as graph data in MATLAB software.

References

A. Ma’arif, N. R. Setiawan, dan E. S. Rahayu, “Embedded Control System of DC Motor Using Microcontroller Arduino and PID Algorithm,” vol. 6, no. 1, pp. 30–42, 2021, https://doi.org/10.25299/itjrd.2021.vol6(1).6125.

A. Latif, A. Z. Arfianto, H. A. Widodo, R. Rahim, dan E. T. Helmy, “Motor DC PID system regulator for mini conveyor drive based-on matlab,” J. Robot. Control, vol. 1, no. 6, pp. 185–190, 2020, https://doi.org/10.18196/jrc.1636.

M. M. Maung, M. M. Latt, dan C. M. Nwe, “DC Motor Angular Position Control using PID Controller with Friction Compensation,” Int. J. Sci. Res. Publ., vol. 8, no. 11, 2018, https://doi.org/10.29322/IJSRP.8.11.2018.p8321.

K. S. Chia, “Ziegler-nichols based proportional-integral-derivative controller for a line tracking robot,” Indones. J. Electr. Eng. Comput. Sci., vol. 9, no. 1, pp. 221–226, 2018, https://doi.org/10.11591/ijeecs.v9.i1.pp221-226.

D. İzci dan S. Ekinci, “Comparative performance analysis of slime mould algorithm for efficient design of proportional–integral–derivative controller,” Electrica, vol. 21, no. 1, pp. 151–159, 2021, https://doi.org/10.5152/electrica.2021.20077.

E. Widya Suseno dan A. Ma’arif, “Tuning of PID Controller Parameters with Genetic Algorithm Method on DC Motor,” Int. J. Robot. Control Syst., vol. 1, no. 1, pp. 41–53, 2021, https://doi.org/10.31763/ijrcs.v1i1.249.

H. Hu, T. Wang, S. Zhao, dan C. Wang, “Speed control of brushless direct current motor using a genetic algorithm–optimized fuzzy proportional integral differential controller,” Adv. Mech. Eng., vol. 11, no. 11, pp. 1–13, 2019, https://doi.org/10.1177/1687814019890199

J. Abraham dan S. Shrivastava, “Dc Motor Speed Control Using Machine Learning Algorithm,” Int. J. Eng. Res. Technol., vol. 7, no. 04, pp. 456–470, 2018, [Online]. Available on: www.ijert.org.

S. J. Hammoodi, K. S. Flayyih, dan A. R. Hamad, “Design and implementation speed control system of DC motor based on PID control and matlab simulink,” Int. J. Power Electron. Drive Syst., vol. 11, no. 1, pp. 127–134, 2020, https://doi.org/10.11591/ijpeds.v11.i1.pp127-134.

M. K. Joyo et al., “Optimized proportional-integral-derivative controller for upper limb rehabilitation robot,” Electron., vol. 8, no. 8, 2019, https://doi.org/10.3390/electronics8080826.

T. Herlambang, Subchan, dan H. Nurhadi, “Design of motion control using proportional integral derivative for UNUSAITS AUV,” Int. Rev. Mech. Eng., vol. 12, no. 11, pp. 928–938, 2018, https://doi.org/10.15866/ireme.v12i11.15758.

M. R. Khan, A. A. Khan, dan U. Ghazali, “Speed Control of DC Motor under Varying Load Using PID Controller,” Int. J. Eng., vol. 9, no. 3, pp. 38–48, 2015, [Online]. Available on: https://www.cscjournals.org/manuscript/Journals/IJE/Volume9/Issue3/IJE-485.pdf.

M. W. Fatma dan M. I. Hamid, “PWM speed control of dc permanent magnet motor using a PIC18F4550 microcontroller,” IOP Conf. Ser. Mater. Sci. Eng., vol. 602, no. 1, 2019, https://doi.org/10.1088/1757-899X/602/1/012017.

K. Priyanka dan A. Mariyammal, “Dc Motor Speed Control Using Magnetic Amplifier,” Int. J. Recent Trends Eng. Res., vol. 3, no. 2, pp. 584–587, 2018, https://doi.org/10.23883/IJRTER.2018.4273.TN5B3.

M. A. Ibrahim, A. K. Mahmood, dan N. S. Sultan, “Optimal PID controller of a brushless DC motor using genetic algorithm,” Int. J. Power Electron. Drive Syst., vol. 10, no. 2, pp. 822–830, 2019, https://doi.org/10.11591/ijpeds.v10.i2.pp822-830.

M. Daud, V. Handika, dan A. Bintoro, “Design and realization of fuzzy logic control for Ebb and flow hydroponic system,” Int. J. Sci. Technol. Res., vol. 7, no. 9, pp. 138–144, 2018, http://www.ijstr.org/final-print/sep2018/Design-And-Realization-Of-Fuzzy-Logic-Control-For-Ebb-And-Flow-Hydroponic-System.pdf.

P. Peerzadaa, W. H. Larika, dan A. A. Maharb, “DC Motor Speed Control Through Arduino and L298N Motor Driver Using PID Controller,” Int. J. Electr. Eng. Emerg. Technol., vol. 4, no. 2, pp. 21–24, 2021, http://www.ijeeet.com/index.php/ijeeet/article/view/94.

A. Musyafa’, I. Abadi, R. D. Noriyati, M. F. Afif, dan M. K. Asy’ari, “Design and Implementation Wind Turbine Power Control System Base Particle Swam Optimization at Low Rate Wind Farm,” Int. J. Mech. Mechatronics Eng. IJMME-IJENS, vol. 19, no. 5, pp. 149–157, 2019, https://scholar.googleusercontent.com.

E. S. Rahayu, A. Ma’arif, dan A. Çakan, “Particle Swarm Optimization (PSO) Tuning of PID Control on DC Motor,” Int. J. Robot. Control Syst., vol. 2, no. 2, pp. 435–447, 2022, https://doi.org/10.31763/ijrcs.v2i2.476.

A. Idir, M. Kidouche, Y. Bensafia, K. Khettab, dan S. A. Tadjer, “Speed control of DC motor using PID and FOPID controllers based on differential evolution and PSO,” Int. J. Intell. Eng. Syst., vol. 11, no. 4, pp. 241–249, 2018, https://doi.org/10.22266/ijies2018.0831.24.

P. Vikhe, N. Punjabi, dan C. Kadu, “Real Time DC Motor Speed Control using PID Controller in LabVIEW,” Int. J. Adv. Res. Electr. Electron. Instrum. Eng., vol. 03, no. 09, pp. 12162–12167, 2014, https://doi.org/10.15662/ijareeie.2014.0309046.

S. Ibrahim Khather, M. Almaged, dan A. I. Abdullah, “Fractional order based on genetic algorithm PID controller for controlling the speed of DC motors,” Int. J. Eng. Technol., vol. 7, no. 4, pp. 5386–5392, 2018, https://scholar.googleusercontent.com.

Downloads

Published

2023-03-11

How to Cite

[1]
Qolil Ariyansyah and A. Ma’arif, “DC Motor Speed Control with Proportional Integral Derivative (PID) Control on the Prototype of a Mini-Submarine”, J Fuzzy Syst Control, vol. 1, no. 1, pp. 18–24, Mar. 2023.