PID Control: Description, Examples, and Tuning

Use and tune a PID (Proportional, Integral, Derivative) Controller for your project


Updated 12 Jul 2017

View License

PID controllers are popular and effective in many systems. i explain how to implement and tune a PID controller through concrete examples of MATLAB controlling a VEX EDR Robot through a wireless serial link. The download contains software, documentation, and additional references. Examples include control of Robot direction and synchronization of motor speeds under variable loads. Please see video:

Cite As

Edward Belcher (2023). PID Control: Description, Examples, and Tuning (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Uploaded a new zip file which contains the C code needed in the VEX EDR to receive and execute commands from the XBee serial link. More details to use the XBee transceivers are in the FX submissions listed in this submission.

Corrected Video to make public!