You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The files include a number of Simulink(R) models with different controllers for a DC motor. There is also a document included that describes the different controllers PID and pole placement with state feedback. The models can serve as a starting point when you develop your control systems in Simulink. The key point is that a text-book controller can almost never be used directly in a real application, there are several additional features needed. There is also an example of a PID controller in C-code and a model that can be used to verify the implementation in Simulink.
To install: Unpack the zip-file in a directory. To run some of the models you also nees the DC Motor library which you can download here: https://www.mathworks.com/matlabcentral/fileexchange/11829
Cite As
Roger Aarenstrup (2026). PID and State Feedback Control of DC Motors (https://www.mathworks.com/matlabcentral/fileexchange/12137-pid-and-state-feedback-control-of-dc-motors), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: DC Motor Model
Inspired: Learning Kalman Filter Implementation in Simulink(R)
General Information
- Version 1.1.0.0 (6.53 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
