Abstract

This paper addresses real-time DC motor speed and position control using the low-cost TMS320C31 digital signal processing starter kit (DSK). A PID controller is designed using MATLAB functions to generate a set of coefficients associated with a desired controller's characteristics. The controller coefficients are then included in an assembly language program that implements the PID controller. Code Explorer is used to load and run the PID controller to achieve real-time control. Furthermore, the PID parameters can be adjusted while the motor is running, so that online adjustment is achieved. This avoids shutting-down the system, re-assembling and re-compiling the source code each time the PID parameters are adjusted. Both speed and position control are investigated on a DC motor system with speed feedback and position feedback. Results show the improvement of system outputs as expected with a PID controller, with actual system outputs matching theoretical calculations.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.