Journal of Aerospace Science and Technology

Journal of Aerospace Science and Technology

Deep Reinforcement Learning-Based Optimization of an Innovative Fuzzy Inference System Structure for Quadrotor UAV Control

Document Type : Original Article

Authors
Institute of Intelligent Control System, K. N. Toosi University of Technology, Tehran, Iran
Abstract
The optimization of membership function parameters in Fuzzy-PID controllers presents significant computational and design challenges, often relying on time-consuming and heuristic-based methods that lack generalizability. In this paper, we present a novel and efficient technique to enhance the performance of Fuzzy Inference Systems (FIS) by employing Deep Reinforcement Learning (DRL) for automatic and intelligent parameter tuning. Fuzzy logic offers significant advantages in handling nonlinear, uncertain, and highly dynamic systems due to its rule-based reasoning and flexibility. Meanwhile, DRL has demonstrated outstanding capabilities in learning optimal control strategies in complex environments through trial-and-error interactions and policy optimization. By combining the strengths of both paradigms, our proposed method enables the automatic adjustment of membership function parameters without manual tuning, leading to improved control accuracy and system adaptability. The proposed DRL-Fuzzy PID framework is specifically applied to the control of Unmanned Aerial Vehicles (UAVs), which are highly nonlinear systems that demand robust, adaptive, and precise trajectory tracking. Additionally, by strategically reducing the number of parameters involved in the optimization process, we significantly shorten the learning time and reduce computational overhead. Extensive UAV simulation studies confirm the robustness and efficiency of the proposed approach, showing substantial improvements in tracking performance and overall flight stability compared to traditional fuzzy controllers. This hybrid DRL-Fuzzy strategy offers a promising solution for advanced UAV control applications where adaptability and precision are critical.
Keywords
Subjects

[1]  A.D. Boursianis, M. S. Papadopoulou, P. Diamantoulakis, A. Liopa-Tsakalidi, P. Barouchas, G. Salahas, G. Karagiannidis, S. Wan, and S. K. Goudos, “Internet of things (IoT) and agricultural unmanned aerial vehicles (UAVs) in smart farming: A comprehensive review,” Internet of Things, Vol. 18, 2022, p. 100187, https://doi.org/10.1016/j.iot.2020.100187.
[2]   R. Gupta, A. Shukla, P. Mehta, P. Bhattacharya, S. Tanwar, S. Tyagi, and N. Kumar, “Vahak: A blockchain-based outdoor delivery scheme using uav for healthcare 4.0 services,” IEEE INFOCOM 2020-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), IEEE, 2020, pp. 255–260, https://doi.org/10.1109/INFOCOMWKSHPS50562.2020.9162738
[3]   M. Mahfouz, and et al. "PID tuning approaches for UAVs unmanned aerial vehicles." IOP Conference Series: Materials Science and Engineering. vol. 1172. no. 1. IOP Publishing, https://doi.org/2021.10.1088/1757-899X/1172/1/012040
[4]   K. Jinho, S. A. Wilkerson, and S. Andrew Gadsden, "Comparison of gradient methods for gain tuning of a pd controller applied on a UAV system." Unmanned Systems Technology XVIII. Vol. 9837. SPIE, 2016, https://doi.org/10.1117/12.2223329
[5]   M. N. Duc, T. N. Trong, Y. S. Xuan, “The MAV system using PID control.” In Proceedings of the 2015 IEEE International Conference on Mechatronics and Automation (ICMA), Beijing, China, 2–5 August 2015; pp. 506–510, https://doi.org/10.1109/ICMA.2015.7237537.
[6]   J. Li, and Y. Li. "Dynamic analysis and PID control for a UAV." 2011 IEEE International Conference on Mechatronics and Automation. IEEE, 2011, https://doi.org/10.1109/INTECH.2017.8102445.
[7]   I. M. Khairuddin, A. P. Majeed, A. Lim, M Jizat, J. A. Jaafar, A.A. “Modelling and PID Control of a UAV Aerial Robot.” In Advanced Materials Research; Trans Tech Publications Ltd.: Bäch, Switzerland, 2014; Vol. 903, pp. 327–331, https://doi.org/10.1007/978-981-97-5337-6_18.
[8]   A.R. Al Tahtawi, M. Yusuf, Low-cost quadrotor hardware design with PID control system as flight controller. TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. no. 4, 2019, pp.1923–1930, http://doi.org/10.12928/telkomnika.v17i4.9529
[9]   Sh. Khatoon, D. Gupta, L. Das,  “PID and LQR control for a UAV: Modeling and simulation.” In Proceedings of the 2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Delhi, India, 24–27 September 2014; pp. 796–802, https:doi.org/10.1109/ICACCI.2014.6968232.
[10]     H. Jafari, M. Zareh, J. Roshanian, A. Nikkhah, “An optimal guidance law applied to UAV using LQR method.” Trans. Jpn.Soc. Aeronaut. Space Sci. vol. 53, 2010, pp. 32–39, https://doi.org/10.2322/TJSASS.53.32.
[11]    X. C. Méndez Cubillos, de Souza, L.C.G. “Using of H-infinity control method in attitude control system of rigid-flexible satellite.” Math. Probl. Eng. vol. 2009, Article ID 173145, 9 pages,  https://doi.org/10.1155/2009/173145.
[12]     C. I. Pop, E.H. Dulf, A. Mueller,  “Robust feedback linearization control for reference tracking and disturbance rejection in nonlinear systems.” In Recent Advances in Robust Control-Novel Approaches and Design Methods, Technical University of  Cluj-Napoca, Romania, 2011, pp. 273–290.
[13]     M. J. Kurtz and Henson, M.A. “Feedback linearizing control of discrete-time nonlinear systems with input constraints.” Int. J. Control, vol. 70, 1998, pp. 603–616, https://doi.org/10.1109/SSST.1996.493465.
[14]     C.W. Chung and Y. Chang, “Design of Adaptive Backstepping Controller for Systems with Mismatched Perturbations to Achieve Asymptotical Stability.” Available online: https://digital-library.theiet.org/content/journals/10.1049/iet-cta_20050383 (accessed on 30 April 2021).
[15]     M.A. Mohd Basri, K.A. Danapalasingam, A.R. Husain, “Design and optimization of backstepping controller for an underactuated autonomous UAV unmanned aerial vehicle.” Trans. FAMENA 2014, vol. 38, 2014, pp, 27–44.
[16]     G.V. Raffo,  M.G. Ortega, F.R. Rubio, “MPC with nonlinear H∞ control for path tracking of a quad-rotor helicopter.” IFAC Proc. vol. 41, Issue 2, 2008, 8564–8569, https://doi.org/10.3182/20080706-5-KR-1001.01448.
[17]     P. Bouffard, “On-Board Model Predictive Control of a UAV Helicopter: Design, Implementation, and Experiments;” Technical ReportCalifornia Univ. Berkeley Dept. of Computer Sciences: Berkeley, CA, USA, 2012.
[18]     K.J. Åström, B. Wittenmark,  Adaptive Control; Courier Corporation: Chelmsford, MA, USA, 2013.
[19]     H. Boudjedir, O. Bouhali, and N. Rizoug, Adaptive neural network control based on neural observer for UAV unmanned aerial vehicle. Adv. Robot. 2014, vol. 28, 1151–1164, https://doi.org/10.1080/01691864.2014.913498
[20]     J.P. Hespanha, D. Liberzon, A.S. Morse, “Overcoming the limitations of adaptive control by means of logic-based switching.” Syst. Control Lett., vol. 49, 200349–65, https://doi.org/10.1016/S0167-6911(02)00342-0.
[21]     R. S. Sutton, and A. G. Barto, Reinforcement learning: An introduction, 1.1, Cambridge: MIT press, 1998.
[22]     L. P. Kaelbling, M. L. Littman and A. W. Moore, Reinforcement learning: A survey, Journal of artificial intelligence research, vol. 4, 1996, pp. 237-285, https://doi.org/10.1613/jair.301
[23]     W. D. Smart and L. P. Kaelbling, “Effective reinforcement learning for mobile robots,” IEEE International Conference on Robotics and Automation, Proceedings ICRA'02, vol. 4, 2002.
[24]     J. Dunfied, M. Tarbouchi, and G. Labonte, “Neural network based control of a four rotor helicopter.” In Proceedings of the 2004 IEEE International Conference on Industrial Technology, 2004, IEEE ICIT’04, Hammamet, Tunisia, 8–10 December 2004; Volume 3, pp. 1543–1548, https://doi.org/10.1109/ICIT.2004.1490796
[25]    F. Khajeh Mohammadi, J. Roshanian, and A. Moltajaei Farid, “A novel approach to tune Fuzzy-PID membership function based on reinforcement learning.” Proceedings of the Institution of Mechanical Engineers, Part G: Journal of Aerospace Engineering, sage journal, Vol. 240, Issue 6, 2021, https://doi.org/10.1177/09544100251404995.
[26]     M, Zarourati, M, Mirshams, M.  Taefi, “Integrated vibration suppression-based attitude tracking control of a flexible satellite in rapid imaging maneuver”, Aerospace Systems, Springer, 2025, pp. 555–571 https://doi.org/10.1007/s42401-025-00388-4.
[27]     M, Zarourati, M. Mirshams, and M.  Taefi, “A Review on Underactuated Attitude Control of Reaction Wheel Actuated Satellites”, Journal of Space Science and Technology, vol 18, pp. 83-119, 2025, https://doi.org/10.22034/jsst.2025.1528.
[28]     M. Zarourati, M. Mirshams, M. Taefi,  “Active underactuation fault-tolerant backstepping attitude tracking control of a satellite with interval error constraints”, Advanced control for applications, vol. 6, 2024, https://doi.org/10.1002/adc2.215.
[29]     G. Feng, “A survey on analysis and design of model-based fuzzy control systems.” IEEE Trans. Fuzzy Syst. vol. 14, 2006, pp. 676–697, https:doi.org/10.1109/TFUZZ.2006.883415.
[30]     X. Huang, A.L. Ralescu, H. Gao, H. Huang, “A survey on the application of fuzzy systems for underactuated systems.” Proc. Inst.Mech. Eng. Part I J. Syst. Control Eng., vol. 233, 2019, pp. 217–244, https://doi.org/10.1177/0959651818791027.
[31]     A. Rabhi, M. Chadli, C. Pégard, “Robust fuzzy control for stabilization of a UAV.” In Proceedings of the 2011 15th International Conference on Advanced Robotics (ICAR), Tallinn, Estonia, 20–23 June 2011, pp. 471–475, https://doi.org/10.1109/ICAR.2011.6088629.
[32]     N.M. Raharja, O. Wahyunggoro, A.I. Cahyadi, “Altitude control for UAV with mamdani fuzzy model.” In Proceedings of the 2015 International Conference on Science in Information Technology (ICSITech), Yogyakarta, Indonesia, 27–28 October 2015, pp. 309-314, https://doi.org/10.1109/ICSITech.2015.7407823
[33]     X. Chen, D. Li, Z. Xu, Y. Bai, “Gain adaptive sliding mode controller based on interval type-II fuzzy neural network designed for attitude control for micro aircraft vehicle.” Int. J. Intell. Comput. Cybern. vol. 7, 2014, pp. 209–226, https://doi.org/10.1108/IJICC-03-2012-0010.
[34]     H.J. Lee, J.B. Park, and G. Chen, “Robust fuzzy control of nonlinear systems with parametric uncertainties.” IEEE Trans. Fuzzy Syst., vol.9, 2001, pp. 369–379, https://doi.org/10.1109/91.919258.
[35]     C.L. Chen and M.H. Chang, “Optimal design of fuzzy sliding-mode control: A comparative study.” Fuzzy Sets Syst., vol. 93, 1998, pp. 37–48, https:doi.org/10.1016/S0165-0114(96)00221-7.
[36]     H. Mo,  G. Farid, “Nonlinear and adaptive intelligent control techniques for UAV uav–a survey. Asian J. Control, vol. 21, 2019, pp. 989–1008,  https://doi.org/10.1002/asjc.1758.
[37]     Papa, N., et al. "Autotuning of fuzzy inference system with RL." 2007 American Control Conference, New York City, USA, July 11-13, 2007, https://doi.org/10.1109/ACC.2007.4282156.
[38]     Dai, X., et al, "An Approach to Fuzzy Controller Based on Reinforcement Learning for Autonomous Vehicle Control.", IEEE, Vol. 6, No. 3, September 2005. https://doi.org/10.1109/TITS.2005.853698   
[39]    V. Tavakol Aghaei, et al, "Tuning Scaling Factors of Fuzzy Logic Controllers via Reinforcement Learning Policy Gradient Algorithms.", ICMRE 2017: Proceedings of the 3rd International Conference on Mechatronics and Robotics Engineering, February 2017, Paris, France, pp. 146–151, http://dx.doi.org/10.1145/3068796.3068827.
[40]     P., Kofinas, et al. "Fuzzy Q-Learning Agent for Online Tuning of PID Controller for DC Motor Speed Control.", 2018 MDPI, vol. 11, Issue 10, 2018,  https://doi.org/10.3390/a11100148.
[41]    D. Park, et al, "Online Tuning of PID Controller Using a Multilayer Fuzzy Neural Network Design for Quadcopter Attitude Tracking Control." Hypothesis and Theory article, vol. 14, 2021, https://doi.org/10.3389/fnbot.2020.619350
[42]    V. Tran, "Robust Fuzzy Q-Learning-Based Strictly Negative Imaginary Tracking Controllers for the Uncertain Quadrotor Systems." IEEE, vol. 53, Issue 8, 2023, https://doi.org/10.1109/TCYB.2022.3175366.
[43]    P. Hu, "A Hierarchical Control Algorithm for a Pursuit–Evasion Game Based on Fuzzy Actor–Critic Learning and Model Predictive Control.", MDPI, vol. 9, no. 3, Drones 2025, 184; https://doi.org/10.3390/drones9030184.
[44]    S. Qu, "An Adaptive Fuzzy Reinforcement Learning Cooperative Approach for the Autonomous Control of Flock Systems.", 2021 IEEE International Conference on Robotics and Automation (ICRA), 2022, https://doi.org/10.1109/ICRA48506.2021.9561204.
[45]    S. Sönmez, L. Montecchio, S. Martini, et al, "Reinforcement Learning Based Prediction of PID Controller Gains for Quadrotor UAVs", MDPI, vol. 9, no. 8, Dornes 2025, https://doi.org/10.3390/drones9080581.
[46]    Wu, L., Ch. Wang, P. Zhang, and Ch. Wei “Deep Reinforcement Learning with Corrective Feedback for Autonomous UAV Landing on a Mobile Platform,” MDPI  vol. 6, Issue 9, 238, Drones 2022, https://doi.org/10.3390/drones6090238.
[47]    A. Javeed, V. López Jiménez, “Reinforcement Learning-Based Control of CrazyFlie 2.X Quadrotor”, arXiv:2306.0395, 2023, https://doi.org/10.48550/arXiv.2306.03951.
[48]    Zh. Fang Zhu, Y. Liu, Y. Ling He, W. Wu, H. Wang, Ch. Huang, B. Ye, “Fuzzy PID Control of the Three-Degree-of-Freedom Parallel Mechanism Based on Genetic Algorithm,” Appl. Sci. vol. 12, no. 21  2022, https://doi.org/10.3390/app122111128.
[49]    S. Troia, et al. "On Deep Reinforcement Learning for Traffic Engineering in SD-WAN", IEEE, vol. 39, Issu 7, December 2020, pp. 2198-2212, http://dx.doi.org/10.1109/JSAC.2020.3041385.
[50]  R, Ma, J. Han, and L. Ding, “Finite-time trajectory tracking control of UAV UAV via adaptive RBF neural network with lumped uncertainties", Mathematical Biosciences and Engineering, vol. 20, Issue 2, 2023, pp. 1841-1855, https://doi.org/10.3934/mbe.2023084.
Volume 19, Issue 1
April 2026
Pages 54-73

  • Receive Date 25 May 2025
  • Revise Date 26 August 2025
  • Accept Date 14 September 2025
  • First Publish Date 23 September 2025