Stability: PID tuning vs Geometry changes
Posted: Tue Mar 01, 2016 1:09 am
Hey All
I'm looking to make some stability improvements. All up, the flie is very stable and I'm quite happy with it, but there are a few edge cases -- things LIKE:
1) Fly to a high altitude, cut throttle. Reapply throttle (something close to what I'd expect for a stable hover, not max throttle) during the freefall. The flie seems to oscillate quite hard as it tries to recover, rather than smoothly leveling off
2) Fly at a high velocity pitched forward. Apply a bit of negative pitch, and the flie quickly overcompensates, inverts, and smashes into the ground.
I'm trying to understand how much of this sort of thing can be corrected by tuning the PID gains (or even re-architecting the whole PID loop(s)..but that seems extreme..) versus simple limitations due to the geometry and mass of the flie. For example, in scenario #1 it's really hard to tell if the oscillations are due to the control loop, or due to wind turbulence as it simply fights as hard as it can.
Furthermore, the simple geometry/center-of-mass change of mounting the battery under the deck with a rubber band seems to all but have eliminated problem #2. I expected to see a pretty big agility hit, but I actually didn't notice any.
Would love some thoughts on this -- I'm pretty new to control loop theory.
Thanks!
Sean
I'm looking to make some stability improvements. All up, the flie is very stable and I'm quite happy with it, but there are a few edge cases -- things LIKE:
1) Fly to a high altitude, cut throttle. Reapply throttle (something close to what I'd expect for a stable hover, not max throttle) during the freefall. The flie seems to oscillate quite hard as it tries to recover, rather than smoothly leveling off
2) Fly at a high velocity pitched forward. Apply a bit of negative pitch, and the flie quickly overcompensates, inverts, and smashes into the ground.
I'm trying to understand how much of this sort of thing can be corrected by tuning the PID gains (or even re-architecting the whole PID loop(s)..but that seems extreme..) versus simple limitations due to the geometry and mass of the flie. For example, in scenario #1 it's really hard to tell if the oscillations are due to the control loop, or due to wind turbulence as it simply fights as hard as it can.
Furthermore, the simple geometry/center-of-mass change of mounting the battery under the deck with a rubber band seems to all but have eliminated problem #2. I expected to see a pretty big agility hit, but I actually didn't notice any.
Would love some thoughts on this -- I'm pretty new to control loop theory.
Thanks!
Sean