Skip to content

LED 含义(Pixhawk系列)

Pixhawk系列飞行控制器 使用LED来显示当前飞行器的状态。

  • The UI LED provides user-facing status information related to readiness for flight.
  • LEDs状态 提供PX4IO 和 FMU SoC的状态。 它们表示电量、驱动模式和活动以及错误。

LED 界面

The RGB UI LED indicates the current readiness for flight status of the vehicle. This is typically a superbright I2C peripheral, which may or may not be mounted on the flight controller board (i.e. FMUv4 does not have one on board, and typically uses an LED mounted on the GPS).

下图显示LED和飞行器状态的关系。

WARNING

有可能出现GPS锁定 (绿色LED) 但仍然无法解锁的情况,这是因为PX4还没有通过起飞前检查. A valid global position estimate is required to takeoff!

TIP

In the event of an error (blinking red), or if the vehicle can't achieve GPS lock (change from blue to green), check for more detailed status information in QGroundControl including calibration status, and errors messages reported by the Preflight Checks (Internal). 还要检查GPS模块是否正确连接,Pixhawk是否正确读取GPS信息,GPS是否发送正确的GPS位置。

LED meanings

  • [Solid Blue] Armed, No GPS Lock: Indicates vehicle has been armed and has no position lock from a GPS unit. 当飞行器已经解锁,PX4会解锁对电机的控制,允许你操纵无人机飞行。 像往常一样,在解锁时要小心,因为大型螺旋桨在高速旋转时可能很危险。 飞行器在这种模式下无法执行引导任务。

  • [Pulsing Blue] Disarmed, No GPS Lock: Similar to above, but your vehicle is disarmed. 这意味着你将不能控制电机,但是其他子系统正在工作。

  • [Solid Green] Armed, GPS Lock: Indicates vehicle has been armed and has a valid position lock from a GPS unit. 当飞行器已经解锁,PX4会解锁对电机的控制,允许你操纵无人机飞行。 像往常一样,在解锁时要小心,因为大型螺旋桨在高速旋转时可能很危险。 在这种模式下,飞行器可以执行引导任务。

  • [Pulsing Green] Disarmed, GPS Lock: Similar to above, but your vehicle is disarmed. 这意味着你讲无法控制电机,但是其他子系统包括GPS位置锁正在工作。

  • [Solid Purple] Failsafe Mode: This mode will activate whenever vehicle encounters an issue during flight, such as losing manual control, a critically low battery, or an internal error. 在故障保护模式时,飞行器将试图返回起飞位置,或者降落在当前位置。

  • [Solid Amber] Low Battery Warning: Indicates your vehicle's battery is running dangerously low. 在某一点之后,飞行器将进入故障保护模式。 但是,此模式警告此次飞行应该结束。

  • [Blinking Red] Error / Setup Required: Indicates that your autopilot needs to be configured or calibrated before flying. 将飞行器连接到地面站以找出问题所在。 如果您已经完成设置过程,飞行器仍然闪烁红色,这表明还有其他错误。

LED 状态

Three Status LEDs provide status for the FMU SoC, and three more provide status for the PX4IO (if present). 它们表示电量、驱动模式和活动以及错误。

Pixhawk 4

从上电开始,FMU和PX4IO的CPU首先运行引导程序(BL) 然后运行程序(APP)。 下表显示了Bootloader 和 APP 如何使用 LED 指示状态。

颜色标签引导加载程序使用APP使用
蓝色ACT(激活)引导加载程序接收数据的时候闪烁表示ARM状态
红色/琥珀色B/E(在引导加载程序/错误)在引导加载程序时闪烁表示错误状态
绿色PWR(电源)引导加载程序不使用表示ARM状态

INFO

The LED labels shown above are commonly used, but might differ on some boards.

下面给出了LED更详细的信息(“x”表示任意状态)

红色/琥珀色蓝色绿色含义
10HzxxOverload CPU load > 80%, or RAM usage > 98%
关闭xxOverload CPU load <= 80%, or RAM usage <= 98%
不可用关闭4 赫兹actuator_armed->armed && failsafe
不可用打开4 赫兹actuator_armed->armed && !failsafe
不可用关闭1 赫兹!actuator_armed-> armed && actuator_armed->ready_to_arm
不可用关闭10 赫兹!actuator_armed->armed && !actuator_armed->ready_to_arm