16-bits fixed-point PID controller
No License
This simulation illustrates the effects of the fixed-point
computations on the closed-loop precision for a 16-bits PID controller.
The rounding mode, the point where the truncations take place and the
format width for the internal variable have a significant action on the
closed-loop permanent error.
Three versions of the same PI(D=0) controller are
implemented : i) double (floating point), ii) 16 bits single
precision (fixed point) and iii) 16-bits double precision (fixed point).
Cite As
Gilles (2024). 16-bits fixed-point PID controller (https://www.mathworks.com/matlabcentral/fileexchange/22048-16-bits-fixed-point-pid-controller), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Control System Design and Tuning > PID Controller Tuning >
Tags
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.