Be the first to rate this file! 7 Downloads (last 30 days) File Size: 13.87 KB File ID: #22048

16-bits fixed-point PID controller

by Gilles

 

10 Nov 2008 (Updated 12 Nov 2008)

Effects of the fixed-point computations on the closed-loop precision for a 16-bits PID controller.

| Watch this File

File Information
Description

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).

Required Products Fixed-Point Toolbox
Simulink
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
12 Nov 2008

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

12 Nov 2008

Replace the mdl file by the zip file.

Tag Activity for this File
Tag Applied By Date/Time
pid controller Cristina McIntire 10 Nov 2008 12:40:18
simulation Cristina McIntire 10 Nov 2008 12:40:25
control design Gilles 10 Nov 2008 12:40:38
fixedpoint Cristina McIntire 12 Nov 2008 12:55:25

Contact us at files@mathworks.com