Created: 2014-05-18 23:22
Updated: 2019-01-08 14:30


Simple PID controllers template for general control problems solving, it contains a common interface and user can select between numerical or 2p2z alghoritm, this template are intented to be used with 32bit microcontrollers/processors preferably with FPU.


  • Fast, execute the complete PID loop plus history updtade in <200ns @ 80MHz (ARM CORTEX M4F)
  • Simple, create a pid, tune on the fly, and use it, only 3 apis;
  • Common interface, user selectable algorithm;


Inside of example folder you will find a code which can be used as starting point of your PID control project, it is buildable and you need only to modify /add specific chip code to get it running. If you are in linux a simple makefile was provided to build it and get the things running just type:

$ make all
  • and a executable ready to use will be provided.


Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more