Improved Response Performance of Two-Phase Hybrid Stepping Motor Control Using PID Tuned Outer and Inner Loop Compensators

Author(s): Onyeka E. B.1*, Chidiebere M.2, Nkiruka A. P.2

1 Department of Electronic Engineering, University of Nigeria, Nsukka, Nigeria;
2 Department of Electrical and Electronic Engineering, C. O. Ojukwu University, P.M.B.02 Uli, Nigeria

*Corresponding Author’s Address: [email protected]

Issue: Volume 6; Issue 1 (2019)

Paper received: October 10, 2018
The final version of the paper received: December 8, 2018
Paper accepted online: December 11, 2018

Onyeka, E. B., Chidiebere, M., Nkiruka, A. P. (2019). Improved response performance of two-phase hybrid stepping motor control using PID tuned outer and inner loop compensators. Journal of Engineering Sciences, Vol. 6(1), pp. D1-D6, doi: 10.21272/jes.2019.6(1).d1

DOI: 10.21272/jes.2019.6(1).d1

Research Area: MECHANICAL ENGINEERING: Dynamics and Strength of Machines

Abstract. This paper has presented improved response performance of two-phase hybrid stepping motor control using proportional integral and derivative (PID) tuned outer and inner loop compensators. It is desired to improve the response performance tracking of a two-phase hybrid stepper motor to achieved overshoot less than 5 %, settling time less than 0.16 s, and rise time less then 0.02 with 2 % criterion. To achieve the objective of the study, a dynamic model of a two-phase hybrid stepper motor was obtained in the form of a transfer function. A robust PID tuning technique was adopted using the single input single output (SISO) Graphic User Interface (GUI) of the design task of the Control and Estimation Tool Manager (CETM) of MATLAB software in designing the compensators. A single compensator was designed and added to control loop of a two-phase hybrid stepping motor to improve the response performance. Simulation was performed in MATLAB and an overshoot of 8 % with the single loop compensator. However, the overshoot of the system requires further improvement. A new control loop was proposed using two-compensator loop structure. The outer loop and inner loop compensators were designed and added to the two-phase hybrid stepper motor control. Simulation was performed in MATLAB and the result obtained showed that with the two-compensator loop structure, the overshoot was greatly reduced to 2.6 % with rise time of 12 ms and settling time 11 ms. This indicates that the response tracking performance of the system has been improved by the combined outer and inner loop compensators.

Keywords: compensator, control loop, graphic user interface, proportional integral and derivative, PID tuning.


  1. Attiya, A. J., Shneen, S. W., Abbas, B. A., & Wenyu, Y. (2016). Variable Speed Control Using Fuzzy-PID Controller for Two-phase Hybrid Stepping Motor in Robotic Grinding. Indonesian Journal of Electrical Engineering and Computer Science, Vol. 3(1), pp. 102–118, doi: 10.11591/ijeecs.v3.i1.pp102-118.
  2. Nagrath, I. J., & Gopal, M. (2005). Control Systems Engineering. 4th Edition, New Age International Publishers.
  3. Zhan, R., Wang, X., Yang, Y., & Qiao, D. (2008). Design of two-phase hybrid stepping motor driver with current closed-loop control based on PIC 18F2331. Electrical Machines and Systems, ICEM 2008. International Conference on IEEE.
  4. Bellini, A., Concari, C., Franceschini, G., & Toscani, A. (2004). Mixed mode PWM for high performance stepping motors. Conference of IEEE Industrial Electronics Society, IECON.
  5. Zhaojin, W., Weihai C., Zhiyue, X., & Jianhua, W. (2006). Analysis of Two-Phase Stepper Motor Driver Based on FPGA. IEEE International Conference on Industrial Informatics.
  6. Zhang, S., & Wang, X. (2013). Study of Fuzzy-PID Control in MATLAB for Two-phase Hybrid Stepping Motor. Proceeding of the 2nd International Conference on Systems Engineering and Modeling (ICSEM-13), pp. 1011–1014.
  7. Melin, P., & Oscar, C. (2005). Intelligent control of a stepping motor drive using an adaptive neuro–fuzzy inference system. Information Sciences, Vol. 170(2), pp. 133–151.
  8. Wale, J. D., & Pollock, C. (2001). Hybrid stepping motors and drives. Power Engineering Journal, Vol. 15(1), pp. 5–12.
  9. Baldha, S., Shukla, J., & Tarpara, K. (2015). Design and Simulation of Two-Phase Hybrid Stepper Motor with Current Tracking. National Conference on Emerging Trends in Computer, Electrical & Electronics (ETCEE-2015), International Journal of Advance Engineering and Research Development (IJAERD).
  10. Degang, C., & Brad, P. (1993). Adaptive Linearization of Hybrid Step Motors: Stability Analysis. IEEE Transactions on Automatic Control, Vol. 38(6), 8pp. 74–887.
  11. Xu, W., & Jianhong, Y. (2011). Derivation of Transmission Function Model of Two-phase Hybrid Stepping Motor. Space Electronic Technology, Vol. 3, pp. 50–53.
  12. Salis, V., Chiappinelli, N., Costabeber, A., Zanchetta, P., Bifaretti, S., Tomei, P., Verelli, C. M. (2018). Learning Position Controls for Hybrid Step Motors: from Current-fed to Full-Order Models. IEEE Transactions On Industrial Electronics, Vol. 1, 326543.
  13. Liu, G. F., & Li, H. W. (2017). Design of stepper motor position control system based on DSP. 2nd International Conference on Machinery, Electronics and Control Simulation, Advance in Engineering Research, Vol. 138, pp. 207–211.
  14. Khalilian, M., Abedi, A., & Zadeh, A. D., (2012). Position Control of Hybrid Stepper Motor Using Brain Emotional Controller. Energy Procedia, pp. 1999–2003, doi: 10.1016/j.egypro.2011.12.1200.

Full Text