PID loops can be pretty confusing when you're first getting started with autopilots.

Here's my attempt at explaining them "intuitively", i.e. with no math.

I'm working on plugging in a physics engine into the demo. Two more videos in this series are planned:

- Understanding the math behind PID controllers.

- Tuning PIDs (using the physics engine as a testbed)

Anyways, this is my first go at this.  I'll probably make a second attempt in the future, so any feedback is appreciated!

(update) thanks for all the feedback! I'm getting ready to start part 2 which will decipher the math and show the basic simplicity of PID loop programming.

Views: 2193

Tags: controller, pid


Admin
Comment by Thomas J Coyle III on February 21, 2014 at 5:19pm

@Mark,

Sounds like a plan! I am sure that it will be of great help to the new members who are unfamiliar with PID theory.

Regards,

TCIII Admin

Comment by Don LeRoi on February 21, 2014 at 6:26pm

And, the old members that are unfamiliar with PID theory!

Comment by Paul Jenness on February 21, 2014 at 10:00pm

Good video, one less thing I have to wonder about. Look forward to your simulator to test actual values to get an idea  what they react like.

Comment by Swift on February 22, 2014 at 12:27am

Thank you Mark. please do the second attempt!

And +1 with Don, Thank you Mark for all the old members around here that are unfamiliar with PID theory.

Comment by John Githens on February 22, 2014 at 7:30am

Thanks Mark! Looking forward to the next video. A link to this blog post can now be found here, and will be updated as more videos on this important topic are available.


Moderator
Comment by Nathaniel Caner on February 22, 2014 at 8:33am

@Mark,

Good explanation! If you're planning on doing an interactive version, perhaps doing something like Jason Shorts Flash demo for Cross Track error would be good. For those who aren't familiar with it, it can be found here.

Keep up the great work Mark!

Regards,

Nathaniel ~KD2DEY

Comment by John Githens on February 22, 2014 at 9:49am

I knew I saw it somewhere...  THIS entertaining explanation from a DIYD member in Portugal. Includes subtitles in English and Russian. More for the next mix!

Comment by Gary McCray on February 22, 2014 at 3:18pm

Hi Mark,

This is a really great little intro to understanding PIDs and I have included it in the APMCopter tuning section of the Wiki here:

http://copter.ardupilot.com/wiki/tuning/#Understanding_PIDs

If you want it removed or you want any changes made, please let me know and I will be happy to accomodate.

This should probably also go in the Plane and Rover wikis as well, but not quite sure where yet.

And I am looking forward to including a link to your physics engine animation when it is available.

This is a topic not very well understood, often even by engineers and which is critical and central to our Autopilot.

Best Regards,

Gary

Comment by Oliver on February 23, 2014 at 10:26am

Super!

Comment by R. D. Starwalt on February 26, 2014 at 5:33am

Well done Mark! Keeping the discussion to one axis helps a great deal. I took control systems theory for my degree so being able to explain this without the math and calculus should help many in our community.

It reminds me of the old lunar lander games of the late 70's.

Lunar Lander
Click to Run

-=Doug

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2014   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service