Cover Image

Simulation and Arduino Hardware Implementation of DC Motor Control Using Sliding Mode Controller

Alfian Ma'arif, Abdullah Çakan

Abstract


The research proposed an alternative controller to control the Direct Current (DC) Motor using a sliding mode controller (SMC) in Matlab Simulink simulation and Arduino hardware implementation. The proposed controller, SMC, was designed using the system model (equivalent control) and Lyapunov control design (also to prove the stability). The sliding mode controller had a better response than PID Controller, with no overshoot response in the simulation result. In the Arduino hardware implementation result, the augmented system could reach the reference but has an oscillation and chattering effect in the control signal. The chattering could be reduced by modifying the switching control. Comparing with PID, SMC had a better response with no overshoot. Thus, the SMC could be used as an alternative controller for the DC Motor.


Keywords


DC Motor; Sliding Mode Controller; Arduino; PID Control; Matlab

Full Text:

PDF

References


M. A. Hassanin, F. E. Abdel-Kader, S. I. Amer, and A. E. Abu-Moubarka, “Operation of Brushless DC Motor to Drive the Electric Vehicle,” in 2018 20th International Middle East Power Systems Conference, MEPCON 2018 - Proceedings, 2019, pp. 500–503.

P. Vishnu Sidharthan and Y. Kashyap, “Brushless DC hub motor drive control for electric vehicle applications,” in 2020 1st International Conference on Power, Control and Computing Technologies, ICPC2T 2020, 2020, pp. 448–453.

J. Meng, A. Liu, Y. Yang, Z. Wu, and Q. Xu, “Two-Wheeled Robot Platform Based on PID Control,” in Proceedings - 2018 5th International Conference on Information Science and Control Engineering, ICISCE 2018, 2019, pp. 1011–1014.

K. Sharma and D. K. Palwalia, “A modified PID control with adaptive fuzzy controller applied to DC motor,” in IEEE International Conference on Information, Communication, Instrumentation and Control, ICICIC 2017, 2018, vol. 2018-Janua, pp. 1–6.

R. R. Carmona, H. G. Sung, Y. S. Kim, and H. A. Vazquez, “Stable PID Control for Mobile Robots,” in 2018 15th International Conference on Control, Automation, Robotics and Vision, ICARCV 2018, 2018, pp. 1891–1896.

M. Ahmed, N. M. Tahir, A. Y. Zimit, M. Idi, K. A. Abubakar, and S. A. Jalo, “Improved PID Controller for DC Motor Control,” IOP Conference Series: Materials Science and Engineering, vol. 1052, no. 1, p. 012058, Jan. 2021.

V. Yadav and V. K. Tayal, “Optimal Controller Design for a DC Motor using PID Tuner,” in 2018 International Conference on Power Energy, Environment and Intelligent Control, PEEIC 2018, 2019, pp. 442–445.

S. A. Bhatti, S. A. Malik, and A. Daraz, “Comparison of P-I and I-P controller by using Ziegler-Nichols tuning method for speed control of DC motor,” in 2016 International Conference on Intelligent Systems Engineering, ICISE 2016, 2016, pp. 330–334.

I. Khanam and G. Parmar, “Application of SFS algorithm in control of DC motor and comparative analysis,” in 2017 4th IEEE Uttar Pradesh Section International Conference on Electrical, Computer and Electronics, UPCON 2017, 2017, vol. 2018-Janua, pp. 256–261.

N. M. A. Mohamed, A. A. A. Abdalaziz, A. A. Ahmed, and A. A. A. Ahmed, “Implementation of a PID control system on microcontroller (DC motor case study),” in Proceedings - 2017 International Conference on Communication, Control, Computing and Electronics Engineering, ICCCCEE 2017, 2017.

R. V. Jain, M. V. Aware, and A. S. Junghare, “Tuning of Fractional Order PID controller using particle swarm optimization technique for DC motor speed control,” in 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems, ICPEICES 2016, 2017.

I. S. Okoro and C. O. Enwerem, “Robust control of a DC motor,” Heliyon, vol. 6, no. 12, Dec. 2020.

K. Boudaraia, H. Mahmoudi, M. Abbou, and M. Hilal, “DC motor position control of a solar tracking system using second order sliding mode,” in International Conference on Multimedia Computing and Systems -Proceedings, 2017, vol. 0, pp. 594–598.

N. L. Ismail, K. A. Zakaria, N. S. M. Nazar, M. Syaripuddin, A. S. N. Mokhtar, and S. Thanakodi, “DC motor speed control using fuzzy logic controller,” in AIP Conference Proceedings, 2018, vol. 1930, no. 1, p. 020026.

Y. A. Almatheel and A. Abdelrahman, “Speed control of DC motor using Fuzzy Logic Controller,” in Proceedings - 2017 International Conference on Communication, Control, Computing and Electronics Engineering, ICCCCEE 2017, 2017.

K. Sreeram, “Design of Fuzzy Logic Controller for Speed Control of Sensorless BLDC Motor Drive,” in 2018 International Conference on Control, Power, Communication and Computing Technologies, ICCPCCT 2018, 2018, pp. 18–24.

A. Mousmi, Y. Houm, and A. Abbou, “Implementation of a fuzzy logic controller for a BLDC motor,” in 3rd Renewable Energies, Power Systems and Green Inclusive Economy, REPS and GIE 2018, 2018.

D. Perdukova, P. Fedor, and V. Fedak, “A fuzzy approach to optimal DC motor controller design,” in International Conference on Electical Drives and Power Electronics, 2019, vol. 2019-Septe, pp. 48–53.

B. Ananthababu, C. Ganesh, and C. V. Pavithra, “Fuzzy based speed control of BLDC motor with bidirectional DC-DC converter,” in Proceedings of 2016 Online International Conference on Green Engineering and Technologies, IC-GET 2016, 2017.

G. Liu and X. Zhang, “State Feedback Control and Applied to PV Systems Under Improved MPPT Control,” in 2018 IEEE 4th International Conference on Control Science and Systems Engineering, ICCSSE 2018, 2018, pp. 145–149.

M. Ahmad, A. Khan, M. A. Raza, and S. Ullah, “A study of state feedback controllers for pole placement,” in 5th International Multi-Topic ICT Conference: Technologies For Future Generations, IMTIC 2018 - Proceedings, 2018.

D. M. Soares, H. A. M. Calil, and R. M. Stephan, “Cascade Control vs Full-State Feedback,” in 2019 IEEE 15th Brazilian Power Electronics Conference and 5th IEEE Southern Power Electronics Conference, COBEP/SPEC 2019, 2019.

J. Yang, S. Li, and X. Yu, “Sliding-mode control for systems with mismatched uncertainties via a disturbance observer,” IEEE Transactions on Industrial Electronics, vol. 60, no. 1, pp. 160–169, 2013.

M. Zhou, D. Mao, M. Zhang, L. Guo, and M. Gong, “A Hybrid Control with PID–Improved Sliding Mode for Flat-Top of Missile Electromechanical Actuator Systems,” Sensors, vol. 18, no. 12, p. 4449, Dec. 2018.

E. S. Sinekli and R. Coban, “Dynamic integral sliding mode control of an electromechanical system,” in 2017 International Conference on Mechanical, System and Control Engineering, ICMSC 2017, 2017, pp. 160–164.

R. Uswarman, S. Istiqphara, and D. H. Tri Nugroho, “Sliding Mode Control with Gain Scheduled for Magnetic Levitation System,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, vol. 5, no. 1, pp. 36–43, 2019.

H. M. M. Adil, S. Ahmed, and I. Ahmad, “Control of MagLev System Using Supertwisting and Integral Backstepping Sliding Mode Algorithm,” IEEE Access, vol. 8, pp. 51352–51362, 2020.

K. G. Shankar, D. Jena, and R. Reddivari, “Comparative Overview of Internal Model Control Based PID, State Feedback Integral, and Sliding Mode Controllers for Buck Converter,” in 2019 IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics, DISCOVER 2019 - Proceedings, 2019.

L. Du, P. Huang, and W. Tong, “Research on full-order sliding mode control method for buck converter,” in 2019 IEEE 3rd International Conference on Electronic Information Technology and Computer Engineering, EITCE 2019, 2019, pp. 1171–1175.

R. Uswarman, S. Istiqphara, R. A. Yunmar, and A. Z. Rakhman, “Robust Control of a Quadcopter Flying Via Sliding Mode,” Journal of Science and Application Technology, vol. 2, no. 1, pp. 135–143, Jun. 2019.

R. Uswarman and S. Istiqphara, “Perancangan Sistem Kendali Quadcopter Menggunakan Modified Sliding Mode Control,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi (JNTETI), vol. 8, no. 3, p. 273, Aug. 2019.

D. J. Almakhles, “Robust Backstepping Sliding Mode Control for a Quadrotor Trajectory Tracking Application,” IEEE Access, vol. 8, pp. 5515–5525, 2020.

C. Xiu and P. Guo, “Global Terminal Sliding Mode Control with the Quick Reaching Law and Its Application,” IEEE Access, vol. 6, pp. 49793–49800, Sep. 2018.

S. Lee, Y. C. Jeung, and D. C. Lee, “Voltage balancing control of IPOS modular dual active bridge DC/DC converters based on hierarchical sliding mode control,” IEEE Access, vol. 7, pp. 9989–9997, 2019.

W. Boukadida, R. Bkekri, A. Benamor, and H. Messaoud, “Trajectory tracking of robotic manipulators using optimal sliding mode control,” in 2017 International Conference on Control, Automation and Diagnosis, ICCAD 2017, 2017, pp. 545–550.

S. Ilgen, A. Durdu, E. Gulbahce, and A. Cakan, “Sliding mode control of a two-link robot manipulator using adams matlab software,” in 2018 6th International Conference on Control Engineering and Information Technology, CEIT 2018, 2018.

T. N. Truong, A. T. Vo, and H. J. Kang, “A Backstepping Global Fast Terminal Sliding Mode Control for Trajectory Tracking Control of Industrial Robotic Manipulators,” IEEE Access, 2021.

H. Maghfiroh, A. Sujono, C. Hermanu, and B. Apribowo, “Basic Tutorial on Sliding Mode Control in Speed Control of DC-motor,” Apr. 2020.

B. A. Reddy and D. Sowjanya, “Control of D.C Motor Using Sliding Mode Control under Disturbance Conditions,” in Proceedings of the 3rd International Conference on Inventive Systems and Control, ICISC 2019, 2019, pp. 32–36.

R. Coban, “Backstepping integral sliding mode control of an electromechanical system,” Automatika, vol. 58, no. 3, pp. 266–272, 2017.

S. A. Al-Samarraie and M. Hussein Mishary Me, “A Chattering Free Sliding Mode Observer with Application to DC Motor Speed Control,” in 2018 3rd Scientific Conference of Electrical Engineering, SCEE 2018, 2018, pp. 259–264.

S. Rakhonde and V. Kulkarni, “Sliding mode controller (SMC) governed speed control of DC motor,” in 2018 3rd IEEE International Conference on Recent Trends in Electronics, Information and Communication Technology, RTEICT 2018 - Proceedings, 2018, pp. 1657–1662.

Z. Tir, O. Malik, M. A. Hamida, H. Cherif, Y. Bekakra, and A. Kadrine, “Implementation of a fuzzy logic speed controller for a permanent magnet dc motor using a low-cost Arduino platform,” in 2017 5th International Conference on Electrical Engineering - Boumerdes, ICEE-B 2017, 2017, vol. 2017-Janua, pp. 1–4.

A. A. C. Carcamo, M. G. M. Reyes, and S. M. S. Urbina, “Low cost Pulse Oximeter using Arduino,” in IEEE CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies, CHILECON 2019, 2019.

M. S. Kumar, T. R. Chandra, D. P. Kumar, and M. S. Manikandan, “Monitoring moisture of soil using low cost homemade Soil moisture sensor and Arduino UNO,” in ICACCS 2016 - 3rd International Conference on Advanced Computing and Communication Systems: Bringing to the Table, Futuristic Technologies from Arround the Globe, 2016.

G. Gasparesc, “PID control of a DC motor using Labview Interface for Embedded Platforms,” in 2016 12th International Symposium on Electronics and Telecommunications, ISETC 2016 - Conference Proceedings, 2016, pp. 145–148.

S. Gunputh, A. P. Murdan, and V. Oree, “Design and implementation of a low-cost Arduino-based smart home system,” in 2017 9th IEEE International Conference on Communication Software and Networks, ICCSN 2017, 2017, vol. 2017-Janua, pp. 1491–1495.

J. Sheng, “Real Time DC Water Tank Level Control using Arduino Mega 2560,” in IEEE International Symposium on Industrial Electronics, 2019, vol. 2019-June, pp. 635–640.

S. Dhingra, R. B. Madda, A. H. Gandomi, R. Patan, and M. Daneshmand, “Internet of things mobile-air pollution monitoring system (IoT-Mobair),” IEEE Internet of Things Journal, vol. 6, no. 3, pp. 5577–5584, Jun. 2019.

M. Lobur, D. Korpyljov, N. Jaworski, M. Iwaniec, and U. Marikutsa, “Arduino Based Ambient Air Pollution Sensing System,” in 2020 IEEE 16th International Conference on the Perspective Technologies and Methods in MEMS Design, MEMSTECH 2020 - Proceedings, 2020, pp. 32–35.

J. H. Li, “Control system laboratory with arduino,” in Proceedings - 2018 International Symposium on Computer, Consumer and Control, IS3C 2018, 2019, pp. 181–184.

B. Hekimoglu, “Optimal Tuning of Fractional Order PID Controller for DC Motor Speed Control via Chaotic Atom Search Optimization Algorithm,” IEEE Access, vol. 7, pp. 38100–38114, 2019.




DOI: https://doi.org/10.18196/jrc.26140

Refbacks

  • There are currently no refbacks.


Copyright (c) 2021 Alfian Ma'arif

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 


Journal of Robotics and Control (JRC)

P-ISSN: 2715-5056 || E-ISSN: 2715-5072
Organized by Peneliti Teknologi Teknik Indonesia
Published by Universitas Muhammadiyah Yogyakarta in collaboration with Peneliti Teknologi Teknik Indonesia, Indonesia and the Department of Electrical Engineering
Website: http://journal.umy.ac.id/index.php/jrc
Email: jrcofumy@gmail.com


Kuliah Teknik Elektro Terbaik