Software Listing of Author : "Gilles"
- 16-bits fixed-point PID controller
- License: Freeware
- Price: 0.00


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).
- Platform: Matlab, Scripts
- 16-bits fixed-point PID implementations in C
- License: Freeware
- Price: 0.00


The effect of fixed-point arithmetic in 16-bits PID controller C routines on the closed-loop precision is shown in this Simulink model. Two Simulink blocks that implement single and double precision 16-bits PID C routines are generated with the LCT. The C sources are supplied for user modifications if required. Controllers work with 16-bits data and coefficients word lengths. Coefficients and data fixed-point numbers have respectively 12-bits and 10-bits fractionnal part. For a reference step excitation, you will see that the permanent errors for the fixed-point pids do not equal zero. Without rounding (look inside model for rounding mode switching), the single precision pid exibits an error about 8 data lsb when the double precision one is just around 2 lsb. After changing the rounding mode to "nearest", the single precision...
- Platform: Matlab, Scripts
- Anti-windup digital PID
- License: Freeware
- Price: 0.00


ANTI WIND UP is a simple Matlab Simulink file that allows user to analyze the behavior of 2 digital pid implementations. You can focus on command and process output when the actuator is saturated. You will see that the basic PID exibits an overshoot after an saturation of the actuator. This problem is avoided by using the anti-windup PID that controls the integration term.
- Platform: Matlab, Scripts
- Design of a robust digital controller with PPR toolbox
- License: Freeware
- Price: 0.00


Design of a robust digital controller with PPR toolbox This script shows the basic steps for the "digital two degrees of freedom controller" (2DOF) design with the PPR toolbox. The illustration of our methodology is based on a difficult plant control. To get a 2DOF controller, only 2 "high level" parameters that have deterministic action on the closed-loop performances are required. Taking account in the modelisation of the external signals that act on the plant lead to a controller with better performances than a classical PID regulator. The action on 2 high-level parameters give the user a powerfull tool to deal clearly with the performance/robustness dilemma : the more closed-loop performances (in a disturbance rejection meaning) the more sensitivity to uncertainties on the plant's model that can lead to unstability. Required...
- Platform: Matlab, Scripts
- Fixed-point value
- License: Freeware
- Price: 0.00


Run demo file included. Double to fixed-point conversion with setting options like word length, signed/unsigned, automatic or manual scaling, guard bits...
- Platform: Matlab, Scripts
- Simulink pseudo-random binary sequence generators
- License: Freeware
- Price: 0.00


The PRBS are based on 3 to 9 bits memory delays and put out 2^3 -1 to 2^9 -1 binary sequence length. Usage: these generators can be used in process identification as noise source on command signal
- Platform: Matlab, Scripts
