# 降落伞

PX4 can be configured to trigger a parachute connected to a free PWM output during flight termination.

This topic provides the specific example of how to set up a parachute, using a spring-loaded launcher from Fruity Chutes (opens new window).

注解

In fact PX4 does not know that it is launching a parachute; during flight termination it just turns off all controllers and sets all PWM outputs to their failsafe values. You can therefore use this feature to activate multiple complementary safety devices. For more information see Flight Termination Configuration.

# Using Parachutes

Below are a few notes about using parachutes:

  • Having a parachute does not guarantee that the vehicle will not be destroyed or cause harm!

注意

You must always fly with safety in mind.

  • Parachutes require careful usage to be effective - for example, they must be folded correctly.

  • Parachutes have a minimum effective altitude.

  • A parachute may trigger while the vehicle is upside down. This will increase the time required to slow, and may even result in the drone collapsing the parachute.

  • The system requires a working and powered flight controller. If something causes the flight stack to crash, the parachute will not deploy.

# Parachute Setup

The setup below explains how you might configure a quad multicopter with motors on MAIN 1-4 and a parachute on MAIN PWM port 7. The PWM values mentioned are for the Fruity Chutes parachute we tested.

提示

For the first test, try on the bench, without the props and with an unloaded parachute device!

Hardware setup:

  • Connect the parachute to the IO port (MAIN), channel 7 (starting from 1).
  • Power the servo rail - i.e. connect a 5V BEC to the servo rail.

Enable flight termination:

  • Set Safety action to Flight termination for checks where you want the parachute to trigger
  • Set Failure Detector pitch angles, roll angles and time triggers for crash/flip detection, and disable the failure/IMU timeout circuit breaker (i.e. set CBRK_FLIGHTTERM=0).

注解

You can also configure an external ATS for failure detection.

Parachute settings

  • Set PWM_MAIN_DIS7 to PWM value for parachute "OFF" position (usually between 700 and 1000ms)
  • Set PWM_MAIN_FAIL7 to PWM value for parachute "ON" position (usually between 1800 and 2200ms)

Motor settings:

  • Set PWM_MAIN_FAILn, where n is 1 - 4, to 900ms such that the motors directly go to disarmed values.

注解

There is no way to recover from a Termination state! Reboot/power cycle the vehicle before your next test.

# Parachute Testing

The parachute will trigger during flight termination.

The easiest way to test a (real) parachute is to enable the failure detector attitude trigger and tip the vehicle over.

You can also simulate a parachute/flight termination in Gazebo: Development > Simulation > Gazebo > Simulated Parachute/Flight Termination.