Skip Navigation Links
Journal of Applied Nonlinear Dynamics
Miguel A. F. Sanjuan (editor), Albert C.J. Luo (editor)
Miguel A. F. Sanjuan (editor)

Department of Physics, Universidad Rey Juan Carlos, 28933 Mostoles, Madrid, Spain


Albert C.J. Luo (editor)

Department of Mechanical and Industrial Engineering, Southern Illinois University Ed-wardsville, IL 62026-1805, USA

Fax: +1 618 650 2555 Email:

An Efficient Single Neuron PID --- Sliding Mode Tracking Control for Simple Electric Vehicle Model

Journal of Applied Nonlinear Dynamics 11(1) (2022) 1--15 | DOI:10.5890/JAND.2022.03.001

Mohamed A. Shamseldin

Department of Mechanical Engineering, Future University in Egypt, Cairo, Egypt

Download Full Text PDF



The paper presents a new scheme for sliding mode control (SMC) using single neuron PID (SNPID) to treat the shuttering signal output of SMC. This study develops a modified technique based on the combination of the SNPID, as a main controller and SMC, as an adaptation technique, to design an optimized self-tuned for SNPID controller that may overcome difficulties faced when a change in system operating points occurs. The purpose of the proposed controller is to track the reference speed of the electric vehicle (EV). A steady MATLAB/Simulink model was established and validated. It was then used to estimate the system performance. The optimal parameters of the proposed controller were obtained using the harmony search optimization based on an effective cost function. The simulation assumes a DC permanent magnet motor, ideal mechanical transmission. Two tests were executed, the first test was implemented at fixed reference speed while the second test was subjected at several commands of reference speed. The SNPID-SMC has been compared to the PID controller to ensure robustness. The obtained results can be summarized as follows. In the first test, The SNPID-SM controller reaches the steady-state speed at 8.8378 seconds while the PID controller stabilizes at 15.4530 seconds. Also, the SNPID-SM controller has a 0.06 % steady-state error however, the PID controller has a 4% steady-state error. Moreover, the settling time of SNPID-SMC is 14.4699 while the PID controller is 28.6823. Besides, the second test shows that the SNPID-SM controller can minimize the mean square by a percentage of 28.12 % compared to the PID controller. Lastly, the proposed SNPID-SM controller can enhance the dynamic response of EV significantly.


  1. [1]  Prasetyo, H.F., Rohman, A.S., Hindersah, H., and Santabudi, M.R.A. (2017), Implementation of model predictive control (mpc) in electric vehicle testing simulator, 2017 4th International Conference on Electric Vehicular Technology (ICEVT), 48-54.
  2. [2]  Zennir, Y. and Allou, S. (2018), Comparison of pid and fuzzy controller for path tracking control of autonomous electrical vehicles, 2018 International Conference on Electrical Sciences and Technologies in Maghreb (CISTEM), 1-6.
  3. [3]  Gaurav, A. and Gaur, A. (2020), Modelling of hybrid electric vehicle charger and study the simulation results, 2020 International Conference on Emerging Frontiers in Electrical and Electronic Technologies (ICEFEET), 1-6.
  4. [4]  Jaya, A., Purwanto, E., Fauziah, M.B., Murdianto, F.D., Prabowo, G., and Rusli, M.R. (2017). Design of pid-fuzzy for speed control of brushless dc motor in dynamic electric vehicle to improve steady-state performance. 2017 International Electronics Symposium on Engineering Technology and Applications (IES-ETA), 179-184.
  5. [5]  Dinc, A. and Otkur, M. (2020), Optimization of electric vehicle battery size and reduction ratio using genetic algorithm, 2020 11th International Conference on Mechanical and Aerospace Engineering (ICMAE), 281-285.
  6. [6]  Jridi, A.B., Chaker, N., Aloui, H., and Neji, R. Sliding mode control for speed's tracking of an electrical vehicle, idea, 13, 14.
  7. [7]  Fuse, H., Kawabe, T., and Kawamoto, M. (2016), Speed control method of electric vehicle for improving passenger ride quality, Intelligent Control and Automation, 8, 29-43.
  8. [8]  Khan-Ngern, W., Keyoonwong, W., Chatsiriwech, N., Sangnopparat, P., Mattayaboon, P., and Worawalai, P. (2018), High performance bldc motor control for electric vehicle, 2018 International Conference on Engineering, Applied Sciences, and Technology (ICEAST), 1-4.
  9. [9]  Shamseldin, M.A., Sallam, M., Bassiuny, A., and Abdel, A. (2019), A new model reference self-tuning fractional order pd control for one stage servomechanism system, WSEAS Transactions on Systems and Control, 14, 8-18.
  10. [10]  Kesarkar, A.A. and Selvaganesan, N. (2015), Tuning of optimal fractional-order pid controller using an artificial bee colony algorithm, Systems Science $\&$ Control Engineering, 3, 99-105.
  11. [11]  Pathak, R.R. and Sengupta, A. (2020), Harmony search based adaptive sliding mode control for inverted pendulum, 2020 IEEE Calcutta Conference (CALCON), 171-175.
  12. [12]  Ibrahim, H., Hassan, F., and Shomer, A.O. (2014), Optimal pid control of a brushless dc motor using pso and bf techniques, Ain Shams Engineering Journal, 5, 391-398.
  13. [13]  Kusumoputro, B. and Rif'An, M. (2015), Performance characteristics of an improved single neuron pid controller using additional error of an inversed control signal, 2015 World Congress on Industrial Control Systems Security (WCICSS), 58-62.
  14. [14]  Irfan, M., Effendy, M., Mardiyah, N.A., Syafa'ah, L., Pakaya, I., and Faruq, A. (2017), Performance comparison of fuzzy logic and proportional-integral for an electronic load controller, International Journal of Power Electronics and Drive System (IJPEDS), 8, 1176-1183.
  15. [15]  Reddy, B.B., Babu, I.S., and Rao, G.S.K. (2014), Modelling and control of 2-dof robotic manipulator using bldc motor, Int. J. Sci. Eng. Technol. Res. (IJSETR), 3, 2760-2763.
  16. [16]  Rivera-Mej{\i}a, J., L{e}on-Rubio, A., and Arzabala-Contreras, E. (2012), Pid based on a single artificial neural network algorithm for intelligent sensors, Journal of applied research and technology, 10, 262-282.
  17. [17]  Wang, Q. and Shuang, Y. (2015), A single neuron pid control algorithm of memristor-based. Computer Information System, 14, 5023-5030.
  18. [18]  Ghany, M.A., Shamseldin, M.A., and Ghany, A.A. (2017), A novel fuzzy self tuning technique of single neuron pid controller for brushless dc motor, vol.8, 1705-1713.
  19. [19]  Siegel, B. (2020), Industrial anomaly detection: A comparison of unsupervised neural network architectures, IEEE Sensors Letters, 4, 1-4.
  20. [20]  Sun, C., Gong, G., Wang, F., Yang, H., and Ouyang, X. (2016), Single neuron adaptive pid control for hydro-viscous drive clutch, 2016 12th IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications (MESA), 1-4.
  21. [21]  Zhu, Y., Feng, M., Wang, X., and Xu, X. (2012), Research on intelligent vehicle autonomous overtaking based on single neuron pid control, 2012 IEEE 2nd International Conference on Cloud Computing and Intelligence Systems, 3, 1192-1195.
  22. [22]  Zhao, P. and Shi, Y. (2014), Robust control of the a-axis with friction variation and parameters uncertainty in five-axis cnc machine tools, Proceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science, 228, 2545-2556.
  23. [23]  Pengbing, Z. and Yaoyao, S. (2014), Adaptive sliding mode control of the a-axis used for blisk manufacturing, Chinese Journal of Aeronautics, 27, 708-715.
  24. [24]  Chen, S.-C. and Kuo, C.-Y. (2017), Design and implementation of double-integral sliding-mode controller for brushless direct current motor speed control, Advances in Mechanical Engineering, 9, 1-9.
  25. [25]  Rajabi, N., Abolmasoumi, A.H., and Soleymani, M. (2018), Sliding mode trajectory tracking control of a ball-screw-driven shake table based on online state estimations using ekf/ukf, Structural Control and Health Monitoring, 25, e2133.