# VTOL后转换调参

注解

Some of the following features will be available in PX4 version 1.7 and are currently only available on the experimental development branch.

When a VTOL performs a back-transition (transition from fixed wing mode to multicopter) it needs to slow down before the multicopter can take proper control. As of PX4 version 1.7, and on the current developer branch, the vehicle will consider the back-transition complete when the horizontal speed has reached multicopter cruise speed (MPC_XY_CRUISE) or when the back-transition duration (VT_B_TRANS_DUR) has passed (whichever comes first).

# 后转换持续时间

Setting a high back-transition time (VT_B_TRANS_DUR) will give the vehicle more time to slow down. During this period the VTOL will shut down its fixed wing motor and slowly ramp up its MC motors while gliding. The higher this time is set the longer the vehicle will glide in an attempt to slow down. The caveat of this behavior is that the vehicle will only control altitude and not position during this period, so some drift can occur.

# 设置期望的减速加速度

When flying missions that make use of a VTOL_LAND (opens new window) waypoint the autopilot will attempt to calculate the proper distance at which to initiate the back-transition. It does this by looking at the current velocity (comparable to ground speed) and the expected deceleration. To get the vehicle to come out of back-transition very close to its landing point you can tune the expected deceleration (VT_B_DEC_MSS) parameter. Make sure you have a large enough back-transition duration to allow the vehicle to reach its intended position before this timeout kicks in.

# 应用空气制动

If your vehicle is equipped with airbrakes, and your selected airframe supports them (in code), you can set the airbrake position during back-transition in VT_B_REV_OUT. The values scale from 0 to 1, so a value of 0.7 equals 70% output.

# 用固定翼电机进行反向推力

To get the shortest possible back-transition, PX4 supports active breaking by reversing the fixed wing motor direction. To use this feature you will require an ESC that supports motor rotation reversing.

注解

A typical fixed wing propeller is not optimized to spin in reverse, when the throttle during reverse thrust is set too high the propeller can stall.

Generally there are 2 ways a reverse-capable ESC can implement reverse thrust.

# 用油门缩放功能

Normally the throttle stick is used purely for forward thrust.

3D ESCs assume 0 thrust at 50% throttle, positive (forward) thrust above 50% and negative thrust (reverse) below 50%. The airframe can be modified to implement this behaviour only during back transition, allowing reverse thrust to be applied during the transition.

注意

Support for 3D throttle scaling during back-transition requires code support in the airframe.

The amount of negative thrust during back transition can then be configured using the VT_B_TRANS_THR parameter (set to a negative value between 0 and -1).

# 用一个通道来控制

ESCs that use a separate control channel to control the motor direction (e.g. Hobbywing Platinum series (opens new window)) can use the airbrakes channel to apply reverse thrust during back-transition.

Airframes that have been configured to support this behavior (like the DeltaQuad airframe) can be configured to do so by setting both VT_B_REV_OUT to 1 and VT_B_TRANS_THR to the desired throttle level to apply for active breaking. The values scale from 0 to 1, so a value of 0.7 equals 70% throttle.

# 典型设置

An example of a setup that employs most features listed above would be the following:

  • 机型: 任何支持反向推力的VTOL机型 (例如 DeltaQuad)
  • 电调: 支持推力反向的固定翼电调(例如 Hobbywing Platinum Pro 60A)
  • 估计减速加速度 (单位m/s/s) VT_B_DEC_MSS: 2.5
  • 后转换持续时间,(单位是秒) VT_B_TRANS_DUR: 10
  • 激活后转换的推力反向控制通道 VT_B_REV_OUT: 1.0
  • 在推力反向时使用70%的推力 VT_B_TRANS_THR: 0.7