PID and State Feedback Control of DC Motors
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 (2024). 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 .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Verification, Validation, and Test >
- Control Systems > Control System Toolbox > Control System Design and Tuning > PID Controller Tuning >
- Physical Modeling > Simscape Electrical > Specialized Power Systems >
Tags
Acknowledgements
Inspired by: DC Motor Model
Inspired: Learning Kalman Filter Implementation in Simulink(R)
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.