Elman Neural Network Optimized by the Gravitational Search Algorithm for Robust Inverse Control of Nonlinear Dynamical Systems
DOI:
https://doi.org/10.22153/kej.2026.04.003Keywords:
Gravitational search algorithm; feed-forward controller; modified Elman neural network; self-recurrent neural network; direct inverse controlAbstract
In this paper, a modified self-recurrent Elman neural network (MSRENN) is used as an intelligent feedforward controller in the direct inverse control structure to control nonlinear dynamical systems. The proposed multiscale recursive neural network learns a function that approximates a nonlinear plant’s inverse dynamics, enabling sufficient control to follow a trajectory in real time. The conventional training methods for tuning network parameters are replaced by the gravitational search algorithm (GSA), which supports the global optimization of weights and biases and avoids common local-minimum problems. It also presents a novel cost function incorporating both tracking error and control effort. Because it penalizes overly aggressive control actions, this formulation encourages smoother torque responses and more stable behavior with relatively low input energy. This work mainly contributes to the field by combining a self-recurrent Elman neural network, tuned using GSA, within a direct inverse control framework, along with a hybrid cost function that improves tracking precision and robustness for nonlinear plants with uncertainties. Two standard nonlinear benchmark systems with sinusoidal and step reference inputs are used to demonstrate the usefulness of the proposed MSRENN–GSA controller, and results are statistically analyzed. The ISEs are 0.0529 and 0.157 for the first system, and 0.0315 and 0.369 for the second system, with better tracking compared with traditional controllers. The proposed controller also possesses good robustness against external disturbances and parameter variation. Hence, the MSRENN–GSA framework provides a scalable, robust control method for nonlinear dynamical systems by combining intelligent recurrent modeling with global optimization.
Downloads
References
[1] J. I. Canelon, L. S. Shieh, and N. B. Karayiannis, "A new approach for neural control of nonlinear discrete dynamic systems," Information Sciences, vol. 174, no. 3-4, pp. 177-196, 2005, doi: https://doi.org/10.1016/j.ins.2004.08.002.
[2] L. Cheng, Z. Wang, F. Jiang, and J. Li, "Adaptive neural network control of nonlinear systems with unknown dynamics," Advances in Space Research, vol. 67, no. 3, pp. 1114-1123, 2021, doi: https://doi.org/10.1016/j.asr.2020.10.052.
[3] M. Krstic, "On the applicability of PID control to nonlinear second-order systems," National Science Review, vol. 4, no. 5, pp. 668-668, 2017, doi: https://doi.org/10.1093/nsr/nwx048.
[4] N. Hu, "The Limitations of Traditional PID Controllers and Modern Optimization Methods," Applied and Computational Engineering, vol. 147, pp. 238-244, 2025, doi: https://doi.org/10.54254/2755-2721/2025.22912.
[5] A. Alexandridis, M. Stogiannos, A. Kyriou, and H. Sarimveis, "An offset-free neural controller based on a non-extrapolating scheme for approximating the inverse process dynamics," Journal of Process Control, vol. 23, no. 7, pp. 968-979, 2013, doi: https://doi.org/10.1016/j.jprocont.2013.04.008.
[6] J. L. Elman, "Finding structure in time," Cognitive science, vol. 14, no. 2, pp. 179-211, 1990, doi: https://doi.org/10.1207/s15516709cog1402_1.
[7] Z. Liu, D. Ning, and J. Hou, "A novel Elman neural network based on Gaussian kernel and improved SOA and its applications," Expert Systems with Applications, vol. 249, p. 123453, 2024/09/01/ 2024, doi: https://doi.org/10.1016/j.eswa.2024.123453.
[8] R. Shobana, B. Jaint, and R. Kumar, "Design of a novel robust recurrent neural network for the identification of complex nonlinear dynamical systems," Soft Computing, vol. 28, no. 3, pp. 2737-2751, 2024/02/01 2024, doi: https://doi.org/10.1007/s00500-023-09187-5.
[9] M. Krok, W. P. Hunek, S. Mielczarek, F. Buchwald, and A. Kolender, "Application of feedforward and recurrent neural networks for model-based control systems," Control Theory and Technology, vol. 23, no. 1, pp. 91-104, 2025/02/01 2025, doi: https://doi.org/10.1007/s11768-024-00234-6.
[10] L. Ma, K. Y. Lee, and Z. Wang, "Intelligent coordinated controller design for a 600 MW supercritical boiler unit based on expanded-structure neural network inverse models," Control Engineering Practice, vol. 53, pp. 194-201, 2016, doi: https://doi.org/10.1016/j.conengprac.2015.09.002.
[11] W. C. Ariza-Zambrano and A. L. Serpa, "Direct inverse control for active vibration suppression using artificial neural networks," Journal of Vibration and Control, vol. 27, no. 1-2, pp. 31-42, 2021, doi: https://doi.org/10.1177/1077546320924253.
[12] M. E. Sancı and G. Öke Günel, "Neural network based adaptive inverse optimal control for non-affine nonlinear systems," Neural Processing Letters, vol. 56, no. 2, p. 46, 2024. [Online]. Available: https://link.springer.com/article/10.1007/s11063-024-11456-9.
[13] A. Winnicki and B. Guś, "Neural Network Based on Direct Inverse Control for Electro−Hydraulic Servo Drive," Acta Physica Polonica A, vol. 146, no. 4, p. 406, 11/14 2024, doi: https://doi.org/10.12693/APhysPolA.146.406.
[14] L. Ma, Z. Wang, and K. Y. Lee, "Neural network inverse control for the coordinated system of a 600MW supercritical boiler unit," IFAC Proceedings Volumes, vol. 47, no. 3, pp. 999-1004, 2014, doi: https://doi.org/10.3182/20140824-6-ZA-1003.01750.
[15] K. Saini, N. Kumar, B. Bhushan, and R. Kumar, "Artificial neural network-based adaptive control for nonlinear dynamical systems," International Journal of Adaptive Control and Signal Processing, vol. 38, no. 8, pp. 2693-2715, 2024, doi: https://doi.org/10.1002/acs.3823.
[16] E. Rashedi, H. Nezamabadi-Pour, and S. Saryazdi, "GSA: a gravitational search algorithm," Information sciences, vol. 179, no. 13, pp. 2232-2248, 2009, doi: https://doi.org/10.1016/j.ins.2009.03.004.
[17] O. Avalos, "GSA for machine learning problems: A comprehensive overview," Applied Mathematical Modelling, vol. 92, pp. 261-280, 2021, doi: https://doi.org/10.1016/j.apm.2020.11.013.
[18] C.-H. Lin, "Recurrent modified Elman neural network control of PM synchronous generator system using wind turbine emulator of PM synchronous servo motor drive," International Journal of Electrical Power & Energy Systems, vol. 52, pp. 143-160, 2013, doi: https://doi.org/10.1016/j.ijepes.2013.03.021.
[19] M. J. Mahmoodabadi and N. Danesh, "Gravitational search algorithm-based fuzzy control for a nonlinear ball and beam system," Journal of Control and Decision, vol. 5, no. 3, pp. 229-240, 2018/07/03 2018, doi: https://doi.org/10.1080/23307706.2017.1403864.
[20] A. L. Jassim, "A Simplified Recurrent Neural Network Trained by Gbest-Guided Gravitational Search Algorithm to Control Nonlinear Systems," Engineering and Technology Journal, vol. 36, no. 12 Part A, 2018, doi: http://dx.doi.org/10.30684/etj.36.12A.11.
[21] O. F. Lutfy and A. L. Jassim, "Model Reference Adaptive Control based on a Simplified Recurrent Neural Network Trained by Gbest-Guided Gravitational Search Algorithm to Control Nonlinear Systems," ASRJETS-Journal, vol. 51, no. 1, pp. 103-125, 2019. [Online]. Available: https://asrjetsjournal.org/American_Scientific_Journal/article/view/4604.
[22] B. Yin, Z. Guo, Z. Liang, and X. Yue, "Improved gravitational search algorithm with crossover," Computers & Electrical Engineering, vol. 66, pp. 505-516, 2018, doi: https://doi.org/10.1016/j.compeleceng.2017.06.001.
[23] S. Suyanto, A. A. Ariyanto, and A. F. Ariyanto, "Komodo mlipir algorithm," Applied Soft Computing, vol. 114, p. 108043, 2022, doi: https://doi.org/10.1016/j.asoc.2021.108043.
[24] S. Rhode, S. Van Vaerenbergh, and M. Pfriem, "Power prediction for electric vehicles using online machine learning," Engineering Applications of Artificial Intelligence, vol. 87, p. 103278, 2020/01/01/ 2020, doi: https://doi.org/10.1016/j.engappai.2019.103278.
[25] U. Imtiaz, A. Assadzadeh, S. S. Jamuar, and J. Sahu, "Bioreactor temperature profile controller using inverse neural network (INN) for production of ethanol," Journal of Process Control, vol. 23, no. 5, pp. 731-742, 2013, doi: https://doi.org/10.1016/j.jprocont.2013.03.005.
[26] M. Y. Amir, "Modeling and neural control of quadrotor helicopter," Yanbu Journal of Engineering and Science, vol. 2, no. 1, pp. 35-49, 2011, doi: https://doi.org/10.53370/001c.23745.
[27] M. T. Frye and R. S. Provence, "Direct inverse control using an artificial neural network for the autonomous hover of a helicopter," in 2014 IEEE international conference on systems, Man, and cybernetics (SMC), 2014: IEEE, pp. 4121-4122, doi: https://doi.org/10.1109/SMC.2014.6974581.
[28] O. F. Lutfy, "An integrated feedforward-feedback control structure utilizing a simplified global gravitational search algorithm to control nonlinear systems," Sādhanā, vol. 45, no. 1, p. 252, 2020, doi: https://doi.org/10.1007/s12046-020-01491-2.
[29] T. S. Mahmood and O. F. Lutfy, "A wavelet neural network-based NARMA-L2 feedforward controller using genetic algorithms to control nonlinear systems," Journal européen des systèmes automatisés, vol. 55, no. 4, p. 439, 2022, doi: https://doi.org/10.18280/jesa.550402.
[30] E. Schiassi, F. Calabrò, and D. E. De Falco, "Pontryagin Neural Networks for the Class of Optimal Control Problems With Integral Quadratic Cost," (in English), Aerospace Research Communications, Original Research vol. Volume 2 - 2024, 2024-November-19 2024, doi: https://doi.org/10.3389/arc.2024.13151.
[31] M. A. Patterson, W. W. Hager, and A. V. Rao, "A ph mesh refinement method for optimal control," Optimal Control Applications and Methods, vol. 36, no. 4, pp. 398-421, 2015, doi: https://doi.org/10.1002/oca.2114.
[32] J. J. Abdulkareem, H. I. Ali, and O. F. Lutfy, "A combined feedforward-feedback controller design for nonlinear systems," Open Engineering, vol. 14, no. 1, p. 20240091, 2024, doi: https://doi.org/10.1515/eng-2024-0091.
[33] J. J. Abdulkareem, H. I. Ali, and O. F. Lutfy, "Robust and Intelligent Feedforward-Feedback Controller Design for Nonlinear Systems," Journal Européen des Systèmes Automatisés, vol. 57, no. 3, p. 823, 2024, doi: https://doi.org/10.18280/jesa.570321.
[34] T. S. Mahmood and O. F. Lufty, "An Intelligent Feedforward Controller Utilizing a Modified Gorilla Troops Optimization for Nonlinear Systems," Mathematical Modelling of Engineering Problems, vol. 9, no. 4, 2022, doi: https://doi.org/10.18280/mmep.090411.
[35] O. F. Lutfy, "Adaptive direct inverse control scheme utilizing a global best artificial bee colony to control nonlinear systems," Arabian Journal for Science and Engineering, vol. 43, no. 6, pp. 2873-2888, 2018, doi: https://doi.org/10.1007/s13369-017-2928-x.
[36] C. P. Vo, X. D. To, and K. K. Ahn, "A novel adaptive gain integral terminal sliding mode control scheme of a pneumatic artificial muscle system with time-delay estimation," IEEE Access, vol. 7, pp. 141133-141143, 2019. [Online]. Available: https://ieeexplore.ieee.org/document/8851132.
[37] I. F. Tayyeh and H. I. Ali, "Full State Feedback H-Infinity Controller Design for Nonlinear Systems," Journal Européen des Systèmes Automatisés, vol. 55, no. 4, p. 503, 2022, doi: https://doi.org/10.18280/jesa.550409.
[38] J. J. Abdulkareem, O. F. Lutfy, and H. I. Ali, "Intelligent Direct Inverse Control for Nonlinear Systems," IRAQI JOURNAL OF COMPUTERS, COMMUNICATIONS, CONTROL AND SYSTEMS ENGINEERING, vol. 24, no. 4, pp. 31-44, 2024, doi: https://doi.org/10.33103/uot.ijccce.24.4.3.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Al-Khwarizmi Engineering Journal

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright: Open Access authors retain the copyrights of their papers, and all open access articles are distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided that the original work is properly cited. The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations. While the advice and information in this journal are believed to be true and accurate on the date of its going to press, neither the authors, the editors, nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.







