15-May-2022, 08:37 AM
Does anybody have an idea about the lenght of time constants involved in
PID regulation? I'm specifically referring to Integral action.
Briefly, for Integral action: at each tick, the difference between setpoint and
sensor value is evaluated and such error is added up to formerly calculated
values, probably eliminating the oldest one.
This algorithm should contrast backgroud sources of error (wind?) that
Derivative action doesn't detect (or not much) because those are not
that abrupt (betweek one tick and another, error has a small value).
So, the question is: what's the tick frequency? Can it be trimmed?
My experience is about Ardupilot for Pixhawk but any other information
is welcome.
In this context there is parameter ATC_RAT_RLL_FLTD defined "Roll axis rate
controller derivative frequency in Hz" that seems to control Derivative
action tick. But nothig like that exists for Integral action.
I find relatively easy to trim for Derivative action parameters. For Integral
is a mess mainly because it is almost impossible to have the same background
conditions.
Thank you.
PID regulation? I'm specifically referring to Integral action.
Briefly, for Integral action: at each tick, the difference between setpoint and
sensor value is evaluated and such error is added up to formerly calculated
values, probably eliminating the oldest one.
This algorithm should contrast backgroud sources of error (wind?) that
Derivative action doesn't detect (or not much) because those are not
that abrupt (betweek one tick and another, error has a small value).
So, the question is: what's the tick frequency? Can it be trimmed?
My experience is about Ardupilot for Pixhawk but any other information
is welcome.
In this context there is parameter ATC_RAT_RLL_FLTD defined "Roll axis rate
controller derivative frequency in Hz" that seems to control Derivative
action tick. But nothig like that exists for Integral action.
I find relatively easy to trim for Derivative action parameters. For Integral
is a mess mainly because it is almost impossible to have the same background
conditions.
Thank you.