Implementation of Fuzzy Logic Controller Algorithms with MF optimization on FPGA
Abstract
In this work, we propose the design and implementation of a parallel-structured fuzzy logic controller with integral action and anti-windup. The Grey Wolf Optimization (GWO) optimization technique is used to optimize fuzzy rules, which allows for the complicated algebraic ideas of type 1 fuzzy logic algorithms to be reduced to straightforward numerical equations for FPGA target implementation. The techniques for operating a geared DC motor are optimized by the membership function structure of our controller's data propagation. Our proposed controller was implemented in Xilinx System Generator (XSG) and co-simulated on hardware and software with VIVADO and XSG tools.References
M A Mohammed Eltoum, A Hussein, and MA Abido. Hybrid fuzzy fractional-order PID-based speed control for brushless DC motor. Arabian Journal for Science and Engineering, 46(10):9423–9435, 2021.
Hakan Acikgoz. Speed control of DC motor using interval type-2 fuzzy logic controller. International Journal of Intelligent Systems and Applications in Engineering, 6(3):197–202, 2018.
Qasem Al-Tashi, Helmi Md Rais, Said Jadid Abdulkadir, Seyedali Mirjalili, and Hitham Alhussian. A review of Grey Wolf Optimizerbased feature selection methods for classification. Evolutionary Machine Learning Techniques: Algorithms and Applications, pages 273–286, 2020.
Aiman Alabdo, Javier P´erez, Gabriel J Garcia, Jorge Pomares, and Fernando Torres. FPGA-based architecture for direct visual control robotic systems. Mechatronics, 39:204–216, 2016.
Belgacem Bekkar and Khale Ferkous. Design of Online Fuzzy Tuning LQR Controller Applied to Rotary Single Inverted Pendulum: Experimental Validation. Arabian Journal for Science and Engineering, 48(5):6957–6972, 2023.
Tom`as Pallej`a Cabr´e, Albert Saiz Vela, Marcel Tresanchez Ribes, Javier Moreno Blanc, Jose Rib´o Pablo, and Francisco Clari´a Sancho. Didactic platform for DC motor speed and position control in Z-plane. ISA transactions, 118:116–132, 2021.
Gonggui Chen, Zhijun Li, Zhizhong Zhang, and Shuaiyong Li. An improved ACO algorithm optimized fuzzy PID controller for load frequency control in multi area interconnected power systems. IEEE Access, 8:6429–6447, 2019.
Lucian R da Silva, Rodolfo CC Flesch, and Julio E Normey-Rico. Analysis of anti-windup techniques in PID control of processes with measurement noise. IFAC-PapersOnLine, 51(4):948–953, 2018.
PB de Moura Oliveira, H´elio Freire, and EJ Solteiro Pires. Grey wolf optimization for PID controller design with prescribed robustness margins. Soft Computing, 20(11):4243–4255, 2016.
Serdar Ekinci, Davut Izci, and Baran Hekimo˘glu. Optimal FOPID speed control of DC motor via opposition-based hybrid manta ray foraging optimization and simulated annealing algorithm. Arabian Journal for Science and Engineering, 46(2):1395–1409, 2021.
Nabil Farah, Md Hairul Nizam Talib, Zulkifilie Ibrahim, Qazwan Abdullah, ¨Omer Aydo˘gdu, Maaspaliza Azri, Jurifa Binti Mat Lazi, and Zainuddin Mat Isa. Investigation of the computational burden effects of self-tuning fuzzy logic speed controller of induction motor drives with different rules sizes. Ieee Access, 9:155443–155456, 2021.
A Fathima and G Vijayasree. Design of BLDC motor with torque ripple reduction using spider-based controller for both sensored and sensorless approach. Arabian Journal for Science and Engineering, 47(3):2965–2975, 2022.
Sikender Gul, Muhammad Faisal Siddiqui, and Naveed Ur Rehman. FPGA based real-time implementation of online EMD with fixed point architecture. IEEE Access, 7:176565–176577, 2019.
Ahmet Gundogdu, Resat Celikel, and Omur Aydogmus. Comparison of Si-ANN and extended Kalman filter-based sensorless speed controls of a DC motor. Arabian Journal for Science and Engineering, 46(2):1241–1256, 2021.
Handan G¨ursoy and Mehmet ¨Onder Efe. Control system implementation on an FPGA platform. IFAC-PapersOnLine, 49(25):425–430, 2016.
Mahammad A Hannan, Zamre ABD Ghani, Md Murshadul Hoque, Pin Jern Ker, Aini Hussain, and Azah Mohamed. Fuzzy logic inverter controller in photovoltaic applications: Issues and recommendations. Ieee Access, 7:24934–24955, 2019.
Afshan Ilyas, M Rizwan Khan, and Mohammad Ayyub. Original research article FPGA based real-time implementation of fuzzy logic controller for maximum power point tracking of solar photovoltaic system. OPTIK, 213, 2020.
Boutaina EL Kinany, Mohamed Alfidi, and Zakaria Chalh. Fuzzy Logic Control for Balancing a Two-Armed Inverted Pendulum. Statistics, Optimization & Information Computing, 11(1):136–142, 2023.
Jesus Lopez-Gomez, M Aurora D Vargas-Trevi˜no, Sergio Vergara-Limon, Marciano Vargas-Trevi˜no, Jaime Gutierrez-Gutierrez, AD Palomino-Merino, Ferm´ın Mart´ınez-Solis, and Olga Guadalupe Felix-Beltran. Influence of PWM torque control frequency in DC motors by means of an optimum design method. IEEE Access, 8:80691–80706, 2020.
A Lotfy, M Kaveh, MR Mosavi, and AR Rahmati. An enhanced fuzzy controller based on improved genetic algorithm for speed control of DC motors. Analog Integrated Circuits and Signal Processing, 105:141–155, 2020.
Ahmad A Masoud, Mohammad Abu-Ali, and Ali Al-Shaikhi. Experimental determination of an extended DC servo-motor state space model: an undergraduate experiment. IEEE Access, 8:4908–4923, 2019.
A Messai, I Abdellani, and A Mellit. FPGA-based real-time implementation of a digital reactivity-meter. Progress in Nuclear Energy, 150:104313, 2022.
Eric Monmasson, Lahoucine Idkhajine, Marcian N Cirstea, Imene Bahri, Alin Tisan, and Mohamed Wissem Naouar. FPGAs in industrial control applications. IEEE Transactions on Industrial informatics, 7(2):224–243, 2011.
Mourad Nachaoui, Abdeljalil Nachaoui, RY Shikhlinskaya, and Abdelali Elmoufidi. An improved hybrid defuzzification method for fuzzy controllers. Statistics, Optimization & Information Computing, 11(1):29–43, 2023.
´Akos Odry, R´obert Full´er, Imre J Rudas, and P´eter Odry. Fuzzy control of self-balancing robots: A control laboratory project. Computer Applications in Engineering Education, 28(3):512–535, 2020.
Sasmita Padhy and Sidhartha Panda. Application of a simplified Grey Wolf optimization technique for adaptive fuzzy PID controller design for frequency regulation of a distributed power generation system. Protection and Control of Modern Power Systems, 6:1–16, 2021.
K Raja and S Ramathilagam. Washing machine using fuzzy logic controller to provide wash quality. Soft Computing, 25(15):9957–9965, 2021.
Gowthamraj Rajendran, Chockalingam Aravind Vaithilingam, Kanendra Naidu, Ahmad Adel Alsakati, Kameswara Satya Prakash Oruganti, and Mohd Faizal Fauzan. Dynamic voltage stability enhancement in electric vehicle battery charger using Particle Swarm Optimization. IEEE Access, 10:97767–97779, 2022.
Yesset Raziyev, Ramil Garifulin, Almas Shintemirov, and Ton Duc Do. Development of a power assist lifting device with a fuzzy PID speed regulator. IEEE Access, 7:30724–30731, 2019.
Juan Reyes-Reyes, Carlos-M Astorga-Zaragoza, Manuel Adam-Medina, and Gerardo-V Guerrero-Ram´ırez. Bounded neuro-control position regulation for a geared DC motor. Engineering Applications of Artificial Intelligence, 23(8):1398–1407, 2010.
Muhammed Arif S¸EN and Mete KALYONCU. Optimal tuning of PID controller using Grey Wolf Optimizer algorithm for quadruped robot. Balkan Journal of Electrical and Computer Engineering, 6(1):29–35, 2018.
Andr´e Sanches Fonseca Sobrinho and Francisco Granziera Junior. Type-1 fuzzy logic algorithm for low cost embedded systems. Computers & Electrical Engineering, 88:106861, 2020.
Albert Alexander Stonier, Srinivasan Murugesan, Ravi Samikannu, Vinoth Krishnamoorthy, Senthil Kumar Subburaj, Gnanavel Chinnaraj, and Geetha Mani. Fuzzy logic control for solar PV fed modular multilevel inverter towards marine water pumping applications. IEEE Access, 9:88524–88534, 2021.
Muhammad Talha, Furqan Asghar, Ali Rohan, Mohammed Rabah, and Sung Ho Kim. Fuzzy logic-based robust and autonomous safe landing for UAV quadcopter. Arabian Journal for Science and Engineering, 44:2627–2639, 2019.
Alper Kadir Tanyildizi, Oguz Yakut, B Tas¸ar, and Ahmet Burak Tatar. Control of twin-double pendulum lower extremity exoskeleton system with fuzzy logic control method. Neural Computing and Applications, 33:8089–8103, 2021.
MA Vargas-Trevi˜no, J Lopez-Gomez, S Vergara-Limon, A Palomino-Merino, R Torres-Reyes, and P Garcia-Ramirez. A mechatronic approach for ball screw drive system: modeling, control, and validation on an FPGA-based architecture. The International Journal of Advanced Manufacturing Technology, 104:2329–2346, 2019.
Ru Wang, Chao Tan, Jing Xu, Zhongbin Wang, Jingfei Jin, and Yiqiao Man. Pressure control for a hydraulic cylinder based on a self-tuning PID controller optimized by a hybrid optimization algorithm. Algorithms, 10(1):19, 2017.
Tingting Wang, Hongzhi Wang, Chuhang Wang, and Huangshui Hu. A novel PID controller for BLDCM speed control using dual fuzzy logic systems with HSA optimization. Scientific Reports, 12(1):11316, 2022.
Ayman Youssef, Mohammed El Telbany, and Abdelhalim Zekry. Reconfigurable generic FPGA implementation of fuzzy logic controller for MPPT of PV systems. Renewable and Sustainable Energy Reviews, 82:1313–1319, 2018.
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).