PID code collection:
023_STM32 PID algorithm principle and application
https://www.cnblogs.com/luxiaoguogege/p/10230369.html
https://www.arduino.cn/thread-15176-1-2.html
Use PID library, easy to get PID (on)
Github: PID code
https://codeload.github.com/samuelgilonis/Quadcopter-PID-controller/zip/master
https://codeload.github.com/alvinyeats/pid-control/zip/master
https://codeload.github.com/hor789/PID/zip/PID
[Experience] Easily interpret the three parameters self-tuning method of PID control algorithm
http://bbs.elecfans.com/jishu_1900571_1_1.html
PID parameter adjustment tips
Find the best parameter setting, check the order from small to large,
first proportional and then integral, and finally add the differential
curve oscillates very frequently, the proportional dial should be enlarged, the
curve floats around the big bay, the proportional dial
returns to the small deviation curve Slow, the integration time is decreasing. The
curve has a long period of fluctuation, and the integration time is longer. The
curve oscillates faster. First, the differential is lowered. The
difference is large and the fluctuation is slow. The differential time should be lengthened
. Two waves of the ideal curve, four to one before the high and one low after the
first. Look at the two-tone multi-analysis, the quality of the adjustment will not be low