Fuzzy Logic Controller Implementation for Motor DC Control Position With Real-Time Operating System

M Martin(1*), Dodi Budiman Margana(2), Endang Habinuddin(3),

(1) Politeknik Negeri Bandung, Jawa Barat, Indonesia
(2) Politeknik Negeri Bandung, Jawa Barat, Indonesia
(3) Politeknik Negeri Bandung, Jawa Barat, Indonesia
(*) Corresponding Author


A fuzzy Logic Controller (FLC) is a control system that expresses in linguistics, there are several ways to defuzzification such as Sugeno. This paper proposes FLC to control the Motor DC Module position within -180 to 180 degrees using Real-Time Operating System (RTOS) running in the microcontroller. The FLC design based on input errors and changes of errors get from the feedback module, and defuzzification uses Sugeno rules. The FLC design simulates in the simulator program with the motor dc ideal model to show the output response transient. Experimental is done by using step input and variable inputs, step input is used to calculate the output response transient, and variable input to show the reliability of the control scheme. The output response shows that the motor DC control position has 0% of overshoot, 0.9 seconds of settling time, and 2.7769 rise time from position -80 to 0. The FLC success controls the position motor, and RTOS can be implemented in a microcontroller based on ATMega 2560 series.

Full Text:



C. C. Lee, “Fuzzy Logic in Control Systems: Fuzzy Logic Controller—Part I,” IEEE Trans Syst Man Cybern, vol. 20, no. 2, pp. 404–418, 1990, doi: 10.1109/21.52551.

C. C. Lee, “Fuzzy Logic in Control Systems: Fuzzy Logic Controller, Part II,” IEEE Trans Syst Man Cybern, vol. 20, no. 2, pp. 419–435, 1990, doi: 10.1109/21.52552.

J. M. Mendel, “Fuzzy Logic Systems for Engineering: A Tutorial,” Proceedings of the IEEE, vol. 83, no. 3, pp. 345–377, 1995, doi: 10.1109/5.364485.

X. J. Ma, Z. Q. Sun, and Y. Y. He, “Analysis and design of fuzzy controller and fuzzy observer,” IEEE Transactions on Fuzzy Systems, vol. 6, no. 1, pp. 41–51, 1998, doi: 10.1109/91.660807.

S. L. Tan and T. N. B. Anh, “Real-time operating system (RTOS) for small (16-bit) microcontroller,” Digest of Technical Papers - IEEE International Conference on Consumer Electronics, pp. 1007–1011, 2009, doi: 10.1109/ISCE.2009.5156833.

S. K. Das, N. Mondol, and N. A. Sultana, “Design And Implement Of A State Feedback Position Output Controller For A Maxon S-Dc Motor With Dspace,” in International Conference on Mechanical Engineering 2011, 2011, vol. 2011, no. December, pp. 18–20.

K. Ogata, Modern Control Engineering, Fifth. Prentice Hall, 2010. [Online]. Available: www.pearsonhighered.com

G. F. Franklin, J. D. Powell, and A. Emami-Naeini, Feedback Control of Dynamic Systems, Eight. Pearson, 2018. [Online]. Available: www.pearsonhighered.com

J. Chotai and K. Narwekar, “Modelling and Position Control of a DC Motor,” in IEEE Proceedings: Electric Power Applications, 2017, pp. 1–8.

P. Mukherjee and M. Sengupta, “Closed loop speed control of a laboratory fabricated brush-less DC motor drive prototype using position sensor,” in 2017 National Power Electronics Conference, NPEC 2017, 2018, vol. 2018-Janua, no. 1, pp. 166–171. doi: 10.1109/NPEC.2017.8310453.

H. P. Wang, “Design of fast fuzzy controller and its application on position control of DC motor,” in 2011 International Conference on Consumer Electronics, Communications and Networks, CECNet 2011 - Proceedings, 2011, pp. 4902–4905. doi: 10.1109/CECNET.2011.5768497.

K. Sharma and D. K. Palwalia, “A modified PID control with adaptive fuzzy controller applied to DC motor,” IEEE International Conference on Information, Communication, Instrumentation and Control, ICICIC 2017, vol. 2018-January, pp. 1–6, Feb. 2018, doi: 10.1109/ICOMICON.2017.8279151.

R. Manikandan and R. Arulmozhiyal, “Position control of DC servo drive using fuzzy logic controller,” in 2014 International Conference on Advances in Electrical Engineering, ICAEE 2014, 2014. doi: 10.1109/ICAEE.2014.6838474.

Aripin, Riyanto, Martin, D. I. H. Putri, and C. Machbub, “Maintaining Trajectory of CoM for Stable Locomotion of Humanoid Robot Using Kalman Filter and Fuzzy Logic Controller,” in 2019 IEEE International Conference on Signals and Systems (ICSigSys), Jan. 2019, pp. 97–102. doi: 10.1109/ICSIGSYS.2019.8811090.

N. Farah et al., “A Novel Self-Tuning Fuzzy Logic Controller Based Induction Motor Drive System: An Experimental Approach,” IEEE Access, vol. 7, pp. 68172–68184, 2019, doi: 10.1109/ACCESS.2019.2916087.

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, no. 3, pp. 594–598. doi: 10.1109/ICMCS.2016.7905590.

M. A. Aravind, N. Saikumar, and N. S. Dinesh, “Optimal position control of a DC motor using LQG with EKF,” 2017 International Conference on Mechanical, System and Control Engineering, ICMSC 2017, no. 2, pp. 149–154, 2017, doi: 10.1109/ICMSC.2017.7959461.

M. Mohamed and A. Mahmoud, “Design of State Feedback Gain Matrix for DC Motor Control Based on Damping Ratio and Natural Frequency,” International Journal of Engineering and Computer Science, vol. 2, no. 7, pp. 2186–2188, 2013.

S. A. Kamilu, M. D. A. Hakeem, and L. Olatomiwa, “Design and Comparative Assessment of State Feedback Controllers for Position Control of 8692 DC Servomotor,” International Journal of Intelligent Systems and Applications, vol. 7, no. 9, pp. 28–33, 2015, doi: 10.5815/ijisa.2015.09.04.

Martin, “Sistem kendali posisi motor DC menggunakan state feedback controller dan real-time operating system,” JITEL (Jurnal Ilmiah Telekomunikasi, Elektronika, dan Listrik Tenaga), vol. 1, no. 1, pp. 69–78, Mar. 2021, doi: 10.35313/JITEL.V1.I1.2021.69-78.

F. Rammig et al., “Basic concepts of real time operating systems,” Hardware-dependent Software: Principles and Practice. Springer, pp. 15–45, 2009. doi: 10.1007/978-1-4020-9436-1_2.

DOI: https://doi.org/10.30645/ijistech.v6i5.283


  • There are currently no refbacks.

Jumlah Kunjungan:

View My Stats

Published Papers Indexed/Abstracted By: