Stepper Motor Position Control Using PD and MPC Algorithms Embedded in Programmable Logic Controller
Open Access
- 21 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 39096-39106
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. 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 limited by the need for 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 a 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 the 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 the position than the PI and MPC controllers. Implementing MPC on PLCs presents 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.Keywords
Funding Information
- Graduate Research Experience and Training Grant Program of Pennsylvania State University (104623)
This publication has 23 references indexed in Scilit:
- Designing MPC algorithms for velocity control of brushed DC motor and verification with SIL testsAutomatika, 2023
- Research on PLC DC Motor Speed Control System Based on Quantum Fuzzy Control Algorithm2022
- A New Approach for PLC Ladder Diagram Design2021
- A review of PID control, tuning methods and applicationsInternational Journal of Dynamics and Control, 2020
- PLC implementation of a real-time embedded MPC algorithm based on linear input/output modelsIFAC-PapersOnLine, 2020
- Model predictive control of sensorless hybrid stepper motors in auxiliary adjuster for stereotactic frame fixationMechatronics, 2017
- A review on the applications of programmable logic controllers (PLCs)Renewable and Sustainable Energy Reviews, 2016
- Programmable Logic Controllers2015
- Application of infinite model predictive control methodology to other advanced controllersISA Transactions, 2009
- Precision microstepping system for bipolar stepper motor control2007