Skip to content
/ pid.c Public

Standard form discrete PID controller implementation using the incremental (velocity) algorithm for embedded systems in C

License

Notifications You must be signed in to change notification settings

houlihaj/pid.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pid.c

Standard form discrete PID controller implementation using the incremental (velocity) algorithm for embedded systems in C

Summary

This package contains files (pid.h and pid.c) to implement a simple PID controller.

Features

  • Full PID implementation using the standard form (i.e. Kp, Ti, Td)
  • Derivative kick attenuation via applying a low-pass filter to the error signal
  • Control signal anti-windup
  • Statically allocated memory

Integration details

  • Integrate pid.h and pid.c files into your project.
  • Include the pid.h header file in your code like below.
#include "pid.h"

File information

  • pid.h : This header file contains the definitions of the user API.
  • pid.c : This source file contains the implementation of the PID.

References

About

Standard form discrete PID controller implementation using the incremental (velocity) algorithm for embedded systems in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages