inav icon indicating copy to clipboard operation
inav copied to clipboard

Limited servo throw for fixed wing in Horizon/Acro mode without throttle.

Open oleost opened this issue 10 years ago • 57 comments

Issue: When in stabilization modes like acro and horizon there is less servo throw when not throttle is engage. Even with airmode enabled.

Why its an issue: Many airplanes are suitables as semi gliders, so we throttle up and throttle all the way down and fly without throttle, when doing this we need all the servo movements we got.

Also when landing an airplane its normal to cut throttle and glide in for landing, and also here we need full servo movement to hold the plane steady. With abit of wind I had to put plane in passtrough mode to be able to correct enough.

With limited servo throws blackbox log I do the following:

Arm Full aileron in passtrough (Getting full aileron throw) Full aileron in horizon (Getting limited aileron throw) Full aileron in horzion + throttle. (Getting full aileron throw again)

CLI dump.txt limited servo throws black box log.TXT

oleost avatar Mar 05 '16 02:03 oleost

Good luck! You may also want to increase ROLL/PITCH P if response to the right stick in flight is not sharp enough

digitalentity avatar Mar 21 '16 10:03 digitalentity

Closing this one.

oleost avatar Apr 03 '16 12:04 oleost

This issue still remains. With zero throttle, the plane's control surfaces are much less maniobrable. I guess we should have the same control with or w/o motor.

It is a problem usually for landing, as I have to increase trottle to get more pitch down !!, instead of cut motor. It is also a problem if we want to glide with nice control when not in 'passthrough'

sppnk avatar May 15 '16 20:05 sppnk

@oleost can you test 3e6204d? Should fix the issue.

digitalentity avatar May 15 '16 22:05 digitalentity

Sure I can test.

But lets recap:

With airmode enable before, there was no I-term attenuation? It was only an interlock so after arming one had to go above a certain % of throttle to get rid of the I-term attenuation? So with airmode one had to throttle up, and then go to zero throttle and test, and there would be no difference in servo movement?

I aggre that "airmode" should be default "on" on airplanes.

But with new code there is no interlock right? So I-term will always wind up after powering up? Not sure if thats good when standing on ground or in hands before launching.

oleost avatar May 16 '16 09:05 oleost

No, with new code I-term will wind-up only if AIR-MODE is disabled. If AIR MODE is enabled I-term is only allowed to shrink, not grow.

digitalentity avatar May 16 '16 10:05 digitalentity

Okey, will test.

One fear is that I term will grow while just standing on ground getting ready to fly.

One solution would be that I-tern is not allowed to grow while unarmed and throttle has not been over 30%. After throttle been over 30% it's allowed to grow below 30% aswell. Resets when it's disarmed. What you think?

oleost avatar May 16 '16 14:05 oleost

@digitalentity tested and confirm that its no difference with throttle on/off now.

Possible to get fw-improvements updated with current master?

oleost avatar May 17 '16 18:05 oleost

great !

sppnk avatar May 17 '16 21:05 sppnk

@digitalentity One still need airmode to get full deflection on fixed-wing. Just tested again with new set of PIDS with not enough P gain to allow full servo movement on P itself.

Airmode OFF = Not full servo throw when no throttle (But armed) Airmode On = Full servo throw with no throttle.

oleost avatar May 28 '16 13:05 oleost

Yes, that's the way it is. At zero throttle with AIR MODE off I-term is inactive and it's the I-term that allows full servo throw when P is not enough.

digitalentity avatar May 28 '16 14:05 digitalentity

@digitalentity Sounds good, just notice you sad "No, with new code I-term will wind-up only if AIR-MODE is disabled. If AIR MODE is enabled I-term is only allowed to shrink, not grow."

oleost avatar May 28 '16 14:05 oleost

I guess I was wrong when typing this :) It's like this at zero throttle:

  1. AIR MODE disabled: I-term reset and inactive
  2. AIR MODE enabled: I-term only allowed to shrink when right stick centered, I-term is fully active when stick in deflected.

digitalentity avatar May 28 '16 14:05 digitalentity

Cloosing this then?

oleost avatar May 28 '16 14:05 oleost

I think so. Just need an update to the wiki that airplanes should use air mode to ensure proper zero throttle operation.

digitalentity avatar May 28 '16 15:05 digitalentity

Added it to Step 5 in fixed wing guide. https://github.com/iNavFlight/inav/wiki/3.-Fixed-wing-guide

oleost avatar May 28 '16 17:05 oleost

AIR MODE why not turn off the engine? how to plan a landing? Flying Wing how to plant running engine? AIR MODE on the video engine is started https://youtu.be/8jKbmxs1y64 firmware made today

odixxx avatar May 29 '16 19:05 odixxx

@odixxx You are saying when turning on airmode the motor is running even with zero throttle? This is not normal, and should not happend.

But in order for us to look at whats wrong, please provide more infomation like CLI dump and a blackbox log.

oleost avatar May 29 '16 21:05 oleost

yes all right, the engine is running I can write the blackbox

odixxx avatar May 29 '16 21:05 odixxx