Document Type : Research Paper


1 Future university in Egypt

2 Helwan University


This paper presents a practical implementation for a new formula of nonlinear PID (NPID) control. The purpose of the controller is to accurately trace a preselected position reference of one stage servomechanism system. The possibility of developing a transfer function model for experimental setup is elusive because of the lack of system data. So, the identified model has been developed via gathering experimental input/output data. The performance of the enhanced nonlinear PID (NPID) controller had been investigated by comparing it with linear PID controller. The harmony search (HS) tuning system had built to determine the optimum parameters for each control technique based on an effective objective function. The experimental outcomes and the simulation results show that the proposed NPID controller has minimum rise time and settling time through constant position reference test. Also, the NPID control is faster than the linear PID control by 40% in case of variable position reference test.

Graphical Abstract

LabVIEW implementation of an enhanced nonlinear PID controller based on harmony search for one-stage servomechanism system


Main Subjects

[1]      E. Yuliza, H. Habil, R. A. Salam, M. M. Munir, and M. Abdullah, “Development of a Simple Single-Axis Motion Table System for Testing Tilt Sensors,” Procedia Eng., Vol. 170, pp. 378–383, (2017).


[2]      P. Zhao, J. Huang, and Y. Shi, “Nonlinear dynamics of the milling head drive mechanism in five-axis CNC machine tools,” Int. J. Adv. Manuf. Technol., (2017).


[3]      P. Perz, I. Malujda, D. Wilczy, and P. Tarkowski, “Methods of controlling a hybrid positioning system using LabVIEW,” Procedia Eng., Vol. 177, pp. 339–346, (2017).


[4]      F. L. Li, M. L. Mi, and Y. Z. N. Jin, “Friction identification and compensation design for precision positioning,” Springer, pp. 120–129, (2017).


[5]      M. Irfan, M. Effendy, N. Alif, S. Lailis, I. Pakaya, and A. Faruq, “Performance Comparison of Fuzzy Logic and Proportional-integral for an Electronic Load Controller,” Int. J. Power Electron. Drive Syst., Vol. 8, No. 3, pp. 1176–1183, (2017).


[6]      A. Franchi and A. Mallet, “Adaptive Closed-loop Speed Control of BLDC Motors with Applications to Multi-rotor Aerial Vehicles,” IEEE International Conference on Robotics and Automation (ICRA) Singapore, No. 978, pp. 5203–5208, (2017).


[7]      S. Wen, T. Wang, Z. Ma, and X. Li, “Dynamics Modeling and Fuzzy PD Control of Humanoid Arm,” in Proceedings of the 36th Chinese Control Conference, No. 3, pp. 616–621, (2017).


[8]      M. Engineering and S. Issn, “Second order sliding mode control for direct drive positioning system,” J. Mech. Eng. Sci., Vol. 11, No. 4, pp. 3206–3216, (2017).


[9]      V. Nguyen and C. Lin, “Adaptive PD Networks Tracking Control with Full- State Constraints for Redundant Parallel Manipulators,” in IFSA-SCIS, No. 4, pp. 0–4, (2017).


[10]    R. Madiouni, “Robust PID Controller Design based on Multi-Objective Particle Swarm Optimization Approach,” in ICEMIS2017, pp. 1–7, (2017).


[11]    M. Chang, G. Guo, and S. Member, “Sinusoidal Servocompensator Implementations With Real-Time Requirements and Applications,” IEEE Trans. Control Syst. Technol., pp. 1–8, (2016).


[12]    Altuğ İftar, Robust Servomechanism Problem for Robotic Systems Described by Delay-Differential-Algebraic Equations,” IEEE 7th Int. Conf. CIS RAM, vol. 2, No. 1, pp. 13–18, (2015).


[13]    J. Cloutier, “Simulation and Control of a Ball Screw System Actuated by a Stepper Motor with Feedback by a Stepper Motor with Feedback,” Masters Thesis., (2014).


[14]    C. Abeykoon, “Control Engineering Practice Single screw extrusion control : A comprehensive review and directions for improvements,” Control Eng. Pract., Vol. 51, pp. 69–80, (2016).


[15]    M. Omar, M. A. Ebrahim, A. M, and F. Bendary, “Tuning of PID Controller for Load Frequency Control Problem via Harmony Search Algorithm,” Indones. J. Electr. Eng. Comput. Sci., Vol. 1, No. 2, pp. 255–263, (2016).


[16]    B. Feng, D. Zhang, J. Yang, and S. Guo, “A Novel Time-Varying Friction Compensation Method for Servomechanism,” Hindawi Publ. Corp. Math. Probl. Eng., Vol. 2015, p. 16, (2015).


[17]    B. Zhang, G. Cheng, and J. Hu, “An Expanded Proximate Time-optimal Servo Controller Design for Fast Set-point Motion,” Proc. 35th Chinese Control Conf. July, No. 2, pp. 4465–4470, (2016).


[18]    C. Wang, M. Yang, W. Zheng, X. Lv, K. Hu, and D. Xu, “Analysis of Limit Cycle Mechanism for Two-mass System with Backlash Nonlinearity,” Major Proj. Minist. Sci. Technol. China, pp. 500–505, (2016).


[19]    W. Lee, C. Lee, Y. Hun, and B. Min, “ Friction compensation controller for load varying machine tool feed drive,” Int. J. Mach. Tools Manuf., Vol. 96, pp. 47–54, (2015).


[20]    L. Abdullah, Z. Jamaludin, Q. Ahsan, J. Jamaludin, N. A. Rafan, C. T. Heng, K. Jusoff, and M. Yusoff, “Evaluation on Tracking Performance of PID , Gain Scheduling and Classical Cascade P / PI Controller on XY Table Ballscrew Drive System” World Applied Sciences Journal, Vol. 21, pp. 1–10, (2013).


[21]    T. Nadu and P. Magnet, “Modeling and Implementation of Intelligent Commutation System for BLDC Motor in Underwater Robotic Applications,” in 1st IEEE International Conference on Power Electronics. Intelligent Control and Energy Systems (ICPEICES-2016) Modeling, pp. 1–4, (2016).


[22]    Y. X. Su, D. Sun, and B. Y. Duan, “Design of an enhanced nonlinear PID controller,” Mechatronics, Vol. 15, pp. 1005–1024, (2005).


[23]    S. B. U, “Multivariable Centralized Fractional Order PID Controller tuned using Harmony search Algorithm for Two Interacting Conical Tank Process,” in SAI Intelligent Systems Conference 2015 November 10-11,|London, UK, pp. 320–327, (2015).


[24]    P. Zhao and Y. Shi, “Robust control of the A-axis with friction variation and parameters uncertainty in five-axis CNC machine tools,” J. Mech. Eng. Sci., (2014).


[25]    B. B. Reddy, “Modelling and Control of 2-DOF Robotic Manipulator Using BLDC Motor,” Int. J. Sci. Eng. Technol. Res. (IJSETR), Vol. 3, Issue 10, Oct. 2014 Model., Vol. 3, No. 10, pp. 2760–2763, (2014).


 [26]   M. A. Shamseldin and A. A. El-samahy, “Speed Control of BLDC Motor By Using PID Control and Self-tuning Fuzzy PID controller,” (2014).


[27]    D. V. L. N. Sastry and M. S. R. Naidu, “An Implementation of Different Non Linear PID Controllers on a Single Tank level Control using Matlab,” Int. J. Comput. Appl., Vol. 54, No. 1, pp. 6–8, (2012).


[28]    A. A. El-samahy and M. A. Shamseldin, “Brushless DC motor tracking control using self-tuning fuzzy PID control and model reference adaptive control,” Ain Shams Eng. J., (2016).


[29]   M. Omar, A. M. A. Ghany, and F. Bendary, “Harmony Search based PID for Multi Area Load Frequency Control Including Boiler Dynamics and Nonlinearities,” WSEAS Trans. CIRCUITS Syst., Vol. 14, pp. 407–414, (2015).


[30]    M. A. Ebrahim and F. Bendary, “Reduced Size Harmony Search Algorithm for Optimization,” J. Electr. Eng., pp. 1–8, (2016).