16-bits fixed-point PID controller

Version 1.2.0.0 (13.9 KB) by Gilles
Effects of the fixed-point computations on the closed-loop precision for a 16-bits PID controller.
1.9K Downloads
Updated 12 Nov 2008

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
Created with R2007a
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
1.2.0.0

Replace the mdl file by the zip file.

1.1.0.0

download error : replace the mdl by the compressed zip file one.

1.0.0.0