This is a pid algorithm library that I have maintained since the beginning of my freshman year, and it is also the first work of the ALL series
Regarding the ALL series, I have this insistence: A small contribution, an excellent library, an A rating
—–Just a xxx but all in it.
It's a hodgepodge of almost all the common pid's and improvements, and you can easily build a great PID controller without much code modification, which will be very beneficial during the development phase.
- Basic pid and common improvements
- Various advanced improvements
- Automatic pid tuning (beta) as a reference
Function | Description | State |
---|---|---|
pid基础功能 | 基本的增量式,位置式pid | ✅ |
积分限幅 | ✅ | |
误差限幅 | ✅ | |
死区限幅 | ✅ | |
目标值限幅 | ✅ | |
输出值限幅 | ✅ | |
积分分离 | ✅ | |
梯形积分 | ✅ | |
变速积分 | ✅/✍ | |
微分先行 | ✅ | |
不完全微分 | ✅ | |
前馈PID | ✅/✍ | |
手自动切换 | ✅ |
See test/main.c