PID Controller Design for a DC Motor

This file shows PID Controller tuning in MATLAB and Simullink for DC Motor control.
39.4K Downloads
Updated 5 Nov 2025

View License

This is the demo file for video demo:
http://www.mathworks.com/videos/pid-controller-design-for-a-dc-motor-68881.html
The demo shows the PID Controller block in Simulink and PID Tuner in Simulink Control Design:
http://www.mathworks.com/products/simcontrol/
PID Controller is used to control a simple DC Motor modeled in Simulink.
To see how to tune the PID Controller, please see the video demo and/or read the blog post.
You can also visit the web page with resources for designing and tuning PID controllers:
http://www.mathworks.com/discovery/pid-control.html

Cite As

Arkadiy Turevskiy (2025). PID Controller Design for a DC Motor (https://uk.mathworks.com/matlabcentral/fileexchange/26275-pid-controller-design-for-a-dc-motor), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

PID_Control_DC_Motor

Version Published Release Notes
1.2.0.2

Removed broken links.

1.2.0.1

Updated license

1.2.0.0

Updated the broken links

1.1.0.0

Added the link to the PID summary page:
http://www.mathworks.com/discovery/pid-control.html

1.0.0.0