# Betaflight

**Betaflight** 是一款免费、开源的无人机飞控软件，用于操控竞速与花飞四轴飞行器、影视机架、远航机、微型机和固定翼。它运行在飞控上——飞控是机载计算机，负责读取陀螺仪、加速度计和 GPS 等传感器，计算维持飞行所需的动作，并向驱动电机的电子调速器（ESC，电调）发送指令。如果你飞的是 FPV 四轴，那你多半用的就是 Betaflight。<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 用于 FPV 无人机的免费开源飞控固件，2015 年从 Cleanflight 分叉而来<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup> |
| 硬件 | 运行于 STM32 F4、F7 和 H7 微控制器；支持 Matek、Holybro、JHEMCU 等厂商的数百款飞控板<sup>[2](https://blog.uavmodel.com/5933-2/)</sup><sup> • </sup><sup>[3](https://zbotic.in/inav-vs-betaflight-vs-ardupilot-which-flight-firmware/)</sup> |
| 控制环 | PID 环以固定频率运行，F7/H7 默认 8 kHz，F4 默认 4 kHz；在现代硬件上，从读取陀螺仪到电机输出的整个流水线在 125 微秒内完成<sup>[2](https://blog.uavmodel.com/5933-2/)</sup> |
| 协议 | 接收机协议包括 CRSF、Ghost、FPort、SBUS 和 Spektrum；主要电调协议为 DShot，同时支持 Oneshot、Multishot 和 PWM<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup> |
| 传感器与 OSD | 陀螺仪用于基本飞行，加速度计用于自稳，另有磁力计、气压计和 GPS；模拟与数字图传系统均支持屏幕显示（OSD）<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup> |
| 领域地位 | FPV 竞速与花飞领域的主导固件，也是研究中敏捷无人机飞行最常用的底层控制器<sup>[3](https://zbotic.in/inav-vs-betaflight-vs-ardupilot-which-flight-firmware/)</sup><sup> • </sup><sup>[4](https://aerial-core.eu/wp-content/uploads/2023/10/Past-Present-and-Future-of-Autonomous-Drone-Racing-A-Survey.pdf)</sup> |
| 当前版本 | 2026.6 版新增对 ESP32 和 STM32H5/N6/C5 的支持、光流定点、重建的 GPS 救援、DroneCAN GPS 支持，以及仅限仿真的自动驾驶基础<sup>[5](https://betaflight.com/docs/wiki/release/Betaflight-2026-6-Release-Notes)</sup> |

## 历史

这一谱系始于 [MultiWii](https://www.edgepedia.org/zh/multiwii)——最早的飞控软件，运行于 Arduino 等 8 位微控制器上，使用从任天堂 Wii 手柄中拆出的陀螺仪板。随后 Baseflight 将 MultiWii 移植到 32 位微控制器。该项目内部出现分歧后，Baseflight 分叉出 Cleanflight，后者一度成为行业标准。之后又从 Cleanflight 分叉出 Betaflight，作为单独开发更前沿特性的场所；这个名字由 Grimreach 于 2015 年 7 月提出。此后 Betaflight 的人气便超过了 Cleanflight。<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup>

INAV 是 Cleanflight 的另一主要后裔，与 Betaflight 同源，且配置器约定相似，因此 Betaflight 用户上手相对容易。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>

## 控制环的工作原理

**陀螺仪主导调度。** 陀螺仪更新主导着环路：当一次中断标志出新的陀螺仪采样时，环路启动，PID 控制器始终基于最新的陀螺仪数值进行计算。陀螺仪与控制环之间不存在漂移，因此 PID 调参保持一致，而且由于采样率与陀螺仪本身绑定，混叠得以避免。<sup>[7](https://betaflight.com/docs/wiki/guides/current/Deep-Dive)</sup>

**滤波。** Betaflight 支持一系列可配置的数字滤波器，在陀螺仪信号进入 PID 环之前对其进行净化。DShot RPM 滤波通过双向 DShot 链路读取每个电机的转速，并在电机谐波噪声频率处放置极窄的陷波滤波器；这需要双向 DShot（`dshot_bidir = ON`）以及支持该功能的电调固件，例如 BLHeli_32、AM32 或 BlueJay。<sup>[8](https://betaflight.com/docs/wiki/guides/current/Cli)</sup> 在 4.3 版固件中启用 RPM 滤波后，噪声较低的整机上通常可以完全禁用第一级陀螺仪低通，而将单个第二级陀螺仪低通设在 500 至 1000 Hz 之间即可获得良好效果。<sup>[9](https://betaflight.com/docs/wiki/app/pid-tuning-tab)</sup>

**D 项设计。** Betaflight 的微分项可以基于陀螺仪信号的变化率而非控制误差来计算。基于陀螺仪的 D 项始终抑制陀螺仪信号的变化，起到类似减震器的阻尼作用，并且避免了基于误差的 D 项在突然打杆时产生的“微分冲击”尖峰。<sup>[7](https://betaflight.com/docs/wiki/guides/current/Deep-Dive)</sup>

## 功能

Betaflight 能飞从微型涵道四轴到竞速与花飞四轴、影视机架、远航机、三轴、六轴、八轴乃至固定翼的各种机型，并正在向 GPS 救援和自主飞行扩展。调参有预设的 PID 与滤波器作为支持，几秒内即可获得良好的起点；RGB LED 灯带（WS2811）可以显示电池警告、飞行模式等飞行信息。<sup>[1](https://betaflight.com/docs/wiki/getting-started)</sup>

配置通过 Betaflight Configurator 应用完成，涵盖端口、接收机设置、飞行模式、电机方向、PID 与速率设置、OSD 以及失控保护。<sup>[10](https://blog.dronetrader.com/betaflight-setup-guide/)</sup> 从 4.4 版起，固件更新采用在线构建流程：在项目服务器上构建自定义固件 hex 文件，下载后安装到飞控上。<sup>[11](https://betaflight.com/docs/wiki/app/firmware-flasher-tab)</sup>

## 与 INAV 和 ArduPilot 的比较

多旋翼领域三大主流开源固件生态是 Betaflight、INAV 和 [ArduPilot](https://www.edgepedia.org/zh/ardupilot)，各自面向这一爱好中的不同部分。<sup>[2](https://blog.uavmodel.com/5933-2/)</sup>

- **花飞与竞速。** Betaflight 是这一领域的行业标准。INAV 也能很好地飞多旋翼，但在激进 FPV 飞行的性能优化上不及 Betaflight，而 ArduPilot 通常是三者中最不适合此类用途的。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>
- **导航。** INAV 面向 GPS 导航与自主飞行，具备航点导航、返航、定高、定点以及自动起飞功能，同时还支持固定翼、飞翼和地面车辆。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>
- **复杂度。** ArduPilot 是三者中最复杂的，通常需要更多知识才能正确配置；Betaflight 和 INAV 更易上手，配置器界面更现代，FPV 专属教程与社区资源也丰富得多。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>
- **硬件支持。** 在硬件兼容性方面，Betaflight 远超其他选择：几乎所有主流 FPV 飞控的设计都以 Betaflight 为首要考量。能运行 Betaflight 的板子并不自动支持 INAV 或 ArduPilot，因此在购买或刷写前应确认官方固件支持情况。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>

还有一些较小的替代方案。KISS 是闭源选项，EmuFlight 提供一种被部分用户形容为独特的打杆手感，但它的用户群小得多，文档更少，对现代硬件的支持也比 Betaflight 有限。<sup>[6](https://oscarliang.com/fc-firmware/)</sup>

## 在科研中的应用

在敏捷无人机飞行的底层控制方面，Betaflight 的使用量超过任何其他控制器，FPV 竞速社区对其广泛接纳；同样，自主竞速的研究平台也将其用作底层控制器，正如职业人类竞速飞手所做的那样。<sup>[4](https://aerial-core.eu/wp-content/uploads/2023/10/Past-Present-and-Future-of-Autonomous-Drone-Racing-A-Survey.pdf)</sup>

## 近期版本

2026.6 版通过新增的“飞行计划”标签页及底层自动驾驶，为自主飞行奠定了最初的基础，两者目前仅限仿真。它还新增了对 ESP32 和 STM32H5/N6/C5 处理器（包括 NUCLEOC562RE 开发板）、STM32H757 双核 MCU 以及 X-CORE Labs X32M7 平台的支持，同时还加入了可切换的电池配置、光流定点、重建且更精确的 GPS 救援、对 DroneCAN GPS 的首次支持、扩展的 MAVLink 遥测（兼容 [QGroundControl](https://www.edgepedia.org/zh/qgroundcontrol)，包括航点任务传输）、Android 原生 USB 刷写固件、应用内 Blackbox 日志查看器、专用 iOS 应用，以及用于将仅支持 Wi-Fi 的设备无线连接到飞控的 Betaflight Bridge 配套工具。<sup>[5](https://betaflight.com/docs/wiki/release/Betaflight-2026-6-Release-Notes)</sup> 固件与应用下载通过项目的下载站点和 GitHub 发布页面 分发。<sup>[12](https://downloads.betaflight.com/)</sup>

## References

1. [About Betaflight, Betaflight documentation](https://betaflight.com/docs/wiki/getting-started)
2. [Betaflight vs iNav vs ArduPilot: Flight Controller Firmware Comparison 2026, UAVMODEL Insights](https://blog.uavmodel.com/5933-2/)
3. [INAV vs Betaflight vs ArduPilot: Which Flight Firmware?, Zbotic](https://zbotic.in/inav-vs-betaflight-vs-ardupilot-which-flight-firmware/)
4. [Autonomous Drone Racing: A Survey, IEEE Transactions on Robotics (2024)](https://aerial-core.eu/wp-content/uploads/2023/10/Past-Present-and-Future-of-Autonomous-Drone-Racing-A-Survey.pdf)
5. [2026.6 Release Notes, Betaflight documentation](https://betaflight.com/docs/wiki/release/Betaflight-2026-6-Release-Notes)
6. [Flight Controller Firmware for FPV Drones: Betaflight vs INAV vs ArduPilot and More, Oscar Liang](https://oscarliang.com/fc-firmware/)
7. [Deep Dive, Betaflight documentation](https://betaflight.com/docs/wiki/guides/current/Deep-Dive)
8. [Command Line Interface (CLI), Betaflight documentation](https://betaflight.com/docs/wiki/guides/current/Cli)
9. [PID Tuning Tab, Betaflight documentation](https://betaflight.com/docs/wiki/app/pid-tuning-tab)
10. [Betaflight Setup Guide: Step-by-Step for New FPV Pilots, Drone Trader](https://blog.dronetrader.com/betaflight-setup-guide/)
11. [Firmware Flasher Tab, Betaflight documentation](https://betaflight.com/docs/wiki/app/firmware-flasher-tab)
12. [Betaflight downloads](https://downloads.betaflight.com/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Aerial robots and drones › Autopilots and open-source flight software

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/betaflight

English original: https://www.edgepedia.org/betaflight
