Part 2 of the EastBay RC Guide to PID Controllers.
Building on the intuitive model presented in part 1, we take a look at the mathematical model and write a PID control loop based on that model. Hang in there if you're unfamiliar with the math... it turns out to be pretty straight-forward code in the end!
Like part 1, this is a first take. Your comments are welcome!
The printed formula is from wikipedia. I tried doing this Khan Academy style with a tablet... wow that's hard to write with, so I did it on paper instead.
Comments
Nicely done! Thanks!
Great stuff!
Fantastic vizualization, without any boring power point stuff.
I like it.
Thanks a lot
Fantastic, thanks for this!
Hi Mark, Another great and useful video have added it here to the APMCopter tuning section:
http://copter.ardupilot.com/wiki/tuning/#PIDs_Part_2_The_Math_and_t...
Thanks again, this is useful to all of us and really puts PIDs in practical terms.