Skip to content

Датчики швидкості польоту ​

Airspeed sensors are highly recommended for fixed-wing and VTOL frames. Це важливо, туму що автопілот не має інших засобів для виявлення звалювання. Так як швидкість польоту літака відносно повітря гарантує підіймальну силу, а не швидкість відносно землі!

Digital airspeed sensor

Варіанти устаткування ​

Рекомендовані цифрові сенсори швидкості в повітрі включають:

Налаштування ​

Увімкнення датчиків швидкості у повітрі ​

Драйвери датчика швидкості в польоті не запускаються автоматично. Enable each driver and/or variant using its corresponding parameter:

You should also check ASPD_PRIMARY is 1 (see next section - this is the default).

Множинні датчики швидкості польоту ​

main (PX4 v2.0) Experimental

WARNING

Експериментальні налаштування Using multiple airspeed sensors is experimental.

PX4 supports up to three airspeed sensors. Each sensor is converted to airspeed independently, keeps its own zero-offset calibration, and is validated separately, so the selector can fall back to a healthy sensor if one fails in flight.

Selecting the Primary Sensor ​

ASPD_PRIMARY selects the source that is preferred:

  • 0: Groundspeed minus windspeed
  • 1: Airspeed sensor 1 (default)
  • 2: Airspeed sensor 2
  • 3: Airspeed sensor 3
  • 4: Thrust-based (synthetic) airspeed

The sensor numbers 1, 2 and 3 refer to the calibration entry the sensor owns (recorded in CAL_DPRES{n-1}_ID).

TIP

Calibrate every sensor before relying on ASPD_PRIMARY.

Failover ​

The preferred sensor is used while it passes the airspeed checks (ASPD_DO_CHECKS configures which checks run). If it fails, the selector switches to another valid sensor, preferring the configured primary.

ASPD_FALLBACK controls what happens when no sensor is usable: stay without airspeed, fall back to groundspeed minus windspeed, or fall back to thrust-based airspeed.

WARNING

By default a sensor that fails its checks stays failed until the next reboot (ASPD_FS_T_START is -1). Set it to a positive number of seconds to allow a recovered sensor to be used again in the same flight.

The selected sensor is then used to supply data to the estimator (EKF2) and the controllers.

Per-Sensor Calibration ​

Each sensor stores its own zero offset in CAL_DPRES{n}_OFF, linked to the sensor's device ID in CAL_DPRES{n}_ID. A single airspeed calibration calibrates every connected sensor.

Налаштування датчика ​

Крім активації датчика, часто не потрібна конфігурація, специфічна для датчика. If it is needed, it should be covered in the appropriate sensor page (for example TFSLOT > Configuration).

Конкретна конфігурація для датчиків, які не мають окремої сторінки, перерахована нижче:

Калібрування ​

Airspeed sensors should be calibrated by following the instructions: Basic Configuration > Airspeed.

Validation ​

For more advanced validation, configuration and debugging see Airspeed Validation.

Дивіться також ​