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
Gains.... Need some help lease
#8
the servo gain was added for boats that could not get the gains high enough, or wanted to reverse the direction without rewiring.. so it's not usually needed to change for most users, you can increase the other gains.

You may benefit from making the servo gain of 1.5 or 2, but again this is basically the same as increasing all of the gains by this proportion.


If it struggled to make the new course as you describe I suggest:
1) increase P gain, if you overshoot too much, increase D, DD, and/or also increase PR while decreasing P
2) increase FF gain, so it gets a larger initial correction to changing course
3) maybe you already read my guide, but review: https://pypilot.org/wiki/doku.php?id=tuning_gains
4) more patience, maybe?

check the servo.min_speed and servo.max_speed and servo.period settings and let us know what they are set to. This can affect performance and the trade off of noise vs power consumption vs responsiveness.

How long does it take the motor to move the rudder from stop to stop (hard over time) ? If it's longer than 6-8 seconds on typical boats anyway, then the autopilot will not react very quickly, and it may actually consume more power than a faster motor as it constantly corrects in difficult conditions.
Reply


Messages In This Thread
Gains.... Need some help lease - by rastam4n - 2020-11-14, 11:45 PM
RE: Gains.... Need some help lease - by xfactor99 - 2020-11-15, 12:46 AM
RE: Gains.... Need some help lease - by Andreas29 - 2020-11-15, 09:38 AM
RE: Gains.... Need some help lease - by rastam4n - 2020-11-15, 05:21 PM
RE: Gains.... Need some help lease - by rastam4n - 2020-11-15, 08:42 PM
RE: Gains.... Need some help lease - by Andreas29 - 2020-11-15, 09:07 PM
RE: Gains.... Need some help lease - by seandepagnier - 2020-11-15, 10:44 PM
RE: Gains.... Need some help lease - by rastam4n - 2020-11-15, 11:40 PM
RE: Gains.... Need some help lease - by xfactor99 - 2020-11-16, 08:04 AM
RE: Gains.... Need some help lease - by rastam4n - 2020-11-16, 07:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)