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.
Funding Information
  • Graduate Research Experience and Training Grant Program of Pennsylvania State University (104623)