This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What do the PID gains do?
#1
This helped scratch the surface of what's going on >>

https://www.youtube.com/watch?v=JFTJ2SS4...ectronoobs
Reply
#2
I know it is a bit confusing, but in the context of pypilot since it is commanding the rate of change of rudder, the P, D, DD gains would translate to I, P, D gains for absolute movement.
This also explains why the I gain is typically zero, but it is useful if you want to avoid average error always slightly port or starboard (but you can also compensate this factor by commanding a slightly different course)

The absolute pilot is different as it commands absolute rudder position, but this actually uses nested PID filters as one is needed just to set the position of the rudder, and the other to determine what the position should be. This could in theory give slightly better performance assuming everything is correctly tuned as it makes use of rudder feedback to eliminate integration error, but this is only a small factor (perhaps 10%) of the error the pilot must correct for in normal use which is why most autopilots do not require rudder feedback as the potential performance improvement is difficult to notice.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)