#pid #standard #no-alloc #controller

no-std standard-pid

Standard PID implementation in Rust for serious embedded projects

1 unstable release

0.1.0 Aug 31, 2024

#716 in Embedded development

Download history 188/week @ 2024-08-27 7/week @ 2024-09-03 9/week @ 2024-09-10 9/week @ 2024-09-17 16/week @ 2024-09-24 20/week @ 2024-10-01 3/week @ 2024-10-08

57 downloads per month

MIT license

9KB
135 lines

Implemention of the industry standard PID algorithm for serious embedded projects

PID is a ubiquitous form of output control used very commonly in all sorts of embedded applications. The goal of this library is to provide the standard PID implementation found across most industrial devices and allows for compatability across controllers and with autotuning algorithms.

The core struct also allows a few niceties to combat common PID issues and is time aware, as in you supply the delta-time between updates to ensure reliable computation and cross-device compatability.

This crate is entirely no_std and is intended to be used with your embedded project.

See Wikipedia for more information regarding standard form PID.

Dependencies

~150KB