ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Plane: Cruise Mode Throttle/Pitch Behaviour Different to RTL

Open SlipstreamFPV opened this issue 8 years ago • 6 comments

On Arduplane 3.5 I noticed that the way the cruise throttle behaves is different to other auto modes such as loiter and RTL. The output differs as does the speed scaling.

On RTL mode mid throttle = TRIM_ARSPD_CM, on Cruise mode mid throttle = Speed 1/2 way between ARSPD_FBW_MAX and ARSPD_FBW_MIN.

Also cruise appears to be subject to more noise than RTL and Loiter throttle:

Cruise Pitch: cruise pitch

RTL Pitch: rtl pitch

Cruise Throttle: cruise throttle

RTL Throttle: rtl throttle

Cruise Requested Throttle vs Airspeed: cruise speed vs throttle input

RTL Requested Throttle vs Airspeed rtl speed vs throttle input

Notice that in Cruise despite the demanded throttle being lower the airspeed is still higher.

It would be good if all auto modes functioned the same regarding use of the throttle as the wiki pages suggests they should.

Using the users TRIM_THROTTLE setting as the middle point in all auto modes makes sense. TRIM_ARSPD_CM should be used as the speed the autopilot will fly at when the throttle is at this point. After the throttle has not been moved by the user in an auto mode for more than 2 seconds a deadband of 10/20us should be set around that point to prevent CRUISE adjusting the throttle due to small output dither from the controller Tx.

SlipstreamFPV avatar Mar 08 '16 07:03 SlipstreamFPV

Do you fly with an air-speed sensor? ARSPD_ENABLE=1 and ARSPD_USE=1?

On Mon, Mar 7, 2016 at 11:51 PM, SlipstreamFPV [email protected] wrote:

On Arduplane 3.5 I noticed that the way the cruise throttle behaves is different to other auto modes such as loiter and RTL. The output differs as does the speed scaling.

On RTL mode mid throttle = TRIM_ARSPD_CM, on Cruise mode mid throttle = Speed 1/2 way between ARSPD_FBW_MAX and ARSPD_FBW_MIN.

Also cruise appears to be subject to more noise than RTL and Loiter throttle:

Cruise Pitch: [image: cruise pitch] https://cloud.githubusercontent.com/assets/6742745/13595017/fbdeaf8c-e553-11e5-837e-3b24bdfee80a.png

Cruise Throttle: [image: cruise throttle] https://cloud.githubusercontent.com/assets/6742745/13595018/fcee5300-e553-11e5-8673-df2780fa70a5.png

RTL Pitch: [image: rtl pitch] https://cloud.githubusercontent.com/assets/6742745/13595020/fdf3bdf8-e553-11e5-9b2e-a43e32a1baf9.png

RTL Throttle: [image: rtl throttle] https://cloud.githubusercontent.com/assets/6742745/13595022/ff1c56c2-e553-11e5-907f-d8bf78398b7d.png

It would be good if all auto modes functioned the same regarding use of the throttle.

Using the users TRIM_THROTTLE setting as the middle point in all auto modes makes sense. TRIM_ARSPD_CM should be used as the speed the autopilot will fly at when the throttle is at this point. After the throttle has not been moved by the user in an auto mode for more than 2 seconds a deadband of 10/20us should be set around that point to prevent CRUISE adjusting the throttle due to small output dither from the controller Tx.

— Reply to this email directly or view it on GitHub https://github.com/diydrones/ardupilot/issues/3720.

magicrub avatar Mar 08 '16 15:03 magicrub

Yes, I fly with the digital airspeed sensor and it has been tuned. ENABLE=1 and USE=1 as well. The tuned value is very close to the default of 2.0.

SlipstreamFPV avatar Mar 08 '16 20:03 SlipstreamFPV

edited above

SlipstreamFPV avatar Mar 08 '16 20:03 SlipstreamFPV

@SlipstreamFPV is this still a issue on 4.1?

IamPete1 avatar Sep 12 '21 11:09 IamPete1

I will test. I know there was another issue about this that is more recent, I will try and find the post.

SlipstreamFPV avatar Sep 12 '21 20:09 SlipstreamFPV

@SlipstreamFPV any update?

peterbarker avatar Sep 16 '22 08:09 peterbarker

Closing this as it's had NeedAnswer on it for years.

peterbarker avatar May 24 '24 00:05 peterbarker