Stepper Motor Position Control Using PD and MPC Algorithms Embedded in Programmable Logic Controller

Research output: Contribution to journalArticlepeer-review

Abstract

This research studies the implementation of Proportional-Derivative (PD) and Model Predictive Control (MPC) approaches embedded in an industrial Programmable Logic Controller (PLC) to achieve the precise position control of a stepper motor. The MPC algorithm is widely used in industrial plants, particularly in slower processes, such as press machines and heat treatment. However, their application in faster processes, such as servomotors and robotics, is often require faster optimization algorithms or more powerful processors. In this project, MATLAB Simulink® was used to model the motor and test the controller in advance to reduce the field commissioning time. Once validated, the model was exported to PLC-compatible code for real-time system integration. In addition, this study compares the result of MPC algorithm with traditional control strategies, such as PD. To generate pulses and read the motor encoder signal, the project used special function modules and implemented IEC 61131 programming code in ladder logic, function blocks, and structured text. The integration of Simulink with PLCs proved successful, demonstrating the adaptability and responsiveness of the system under varying conditions. Detailed analyses of motor position and speed further highlight the performance of the system. The PD controller exhibited more effective results in controlling position than the PI and MPC controllers. Implementing MPC on PLCs present challenges such as limited computational power, memory, and programming flexibility. PLCs often lack the processing capacity for real-time optimization and fast sampling rates required for accurate predictions.

Original languageEnglish (US)
Pages (from-to)39096-39106
Number of pages11
JournalIEEE Access
Volume13
DOIs
StatePublished - 2025

All Science Journal Classification (ASJC) codes

  • General Computer Science
  • General Materials Science
  • General Engineering

Fingerprint

Dive into the research topics of 'Stepper Motor Position Control Using PD and MPC Algorithms Embedded in Programmable Logic Controller'. Together they form a unique fingerprint.

Cite this