遥控系统
A Radio Control (RC) system can be used to manually control your vehicle from a handheld RC controller. This topic provides an overview of how RC works, how to choose an appropriate radio system for your vehicle, and how to connect it to your flight controller.
TIP
PX4 can also be manually controlled using a Joystick or gamepad-like controller: this is different to an RC system! The COM_RC_IN_MODE parameter can be set to choose whether RC (default), Joystick, both, or neither, are enabled.
INFO
PX4 does not require a remote control system for autonomous flight modes.
遥控系统是如何工作的?
An RC system has a ground-based remote control unit that is used by the operator to command the vehicle. The remote has physical controls that can be used to specify vehicle movement (e.g. speed, direction, throttle, yaw, pitch, roll, etc.) and to enable autopilot flight modes (e.g. takeoff, land, return to land, mission etc.). On telemetry-enabled RC systems, the remote control unit can also receive and display information from the vehicle, such as battery level, flight mode, and warnings.
The ground based RC controller contains a radio module that is bound to, and communicates with, a (compatible) radio module on the vehicle. 飞机上的单元连接到飞控上。 自驾仪根据当前飞机的飞行模式和飞机状态来发送命令,正确驱动电机和伺服器。
INFO
The ground- and vehicle- based radio modules are referred to as the transmitter and receiver respectively (even if they support bidirectional communication) and are collectively referred to as a transmitter/receiver pair. The RC controller and it's included radio module are commonly referred to as a "transmitter".
遥控系统的一个重要质量指标是它支持多少个通道。 通道的数量决定了远程控制单元上多少个物理控制器可以用来发送命令来控制无人机(比如多少开关、转盘、控制摇杆可以用)。
一个飞行器最少支持4个通道(横滚、俯仰、偏航、油门)。 地面车辆最少需要两个通道(转向和油门)。 An 8 or 16 channel transmitter provides additional channels that can be used to control other mechanisms or activate different flight modes provided by the autopilot.
Types of Remote Controllers
飞机的远程控制单元
The most popular form of remote control unit for UAVs is shown below. 横滚/俯仰和油门/偏航的控制分别布置在摇杆上(飞行器最少需要4个通道)。
摇杆、开关等有许多可能的布局。 最常用的布局被给予了特定的“模式”号。 Mode 1 and Mode 2 (shown below) differ only in the placement of the throttle.
INFO
The choice of mode is largely one of taste (Mode 2 is more popular).
地面设备的远程控制单元
一个 UGV/车辆最少需要两个发射机通道来发送转向和速度指令。 常见的发射机使用一个滚轮和扳机、两个单自由度的摇杆、或一个双自由度的摇杆来发射这些指令。
当然你也可以使用更多的通道/控制机构,其他有趣的激励器和飞行模式也非常有用。
选择 RC 系统组件
你需要选择互相兼容的成对发射机/接收机。 In addition, receivers have to be compatible with PX4 and the flight controller hardware.
兼容的无线系统通常一起销售。 For example, FrSky Taranis X9D and FrSky X8R are a popular combination.
成对的发射机/接收机
One of the most popular RC units is the FrSky Taranis X9D. It has an internal transmitter module can be used with the recommended FrSky X4R-SB (S-BUS, low delay) or X4R (PPM-Sum, legacy) receivers out of the box. 它还有一个可以自定义的无线发射机模块接口和自定义的 OpenTX 开源固件。
INFO
This remote control unit can display vehicle telemetry when used with FrSky or TBS Crossfire radio modules.
其他常用的成对发射机/接收机。
- Turnigy,例如,FrSky的发射机/接收机模块。
- Futaba 发射机和兼容 Futaba S-Bus 接收机。
- 远距离~900MHz,低延迟:“黑羊的Crossfire”或“Crossfire Micro”。(例如,Taranis)。
- 长距离 ~433MHz:ImmersionRC EzUHF(例如,Taranis)。
PX4-Compatible Receivers
另外接收机和发射机需要兼容,接收机也必须和 PX4 和其他控制硬件兼容。
PX4 and Pixhawk have been validated with:
PPM sum receivers
S.BUS and S.BUS2 receivers from:
- Futaba
- FrSky S.BUS and PPM models
- TBS Crossfire with SBUS as output protocol
- Herelink
TBS Crossfire with (CRSF protocol)
Express LRS with (CRSF protocol)
TBS Ghost with (GHST protocol)
Spektrum DSM
Graupner HoTT。(一种新的2.4 g 无线通信技术,可以语音遥测和搭配大量传感器,可以进行4 km或100 mW 范围内的控制 )
Receivers from other vendors that use a supported protocol are likely to work but have not been tested.
INFO
Historically there were differences and incompatibilities between receiver models, largely due to a lack of detailed specification of protocols. The receivers we have tested all now appear to be compatible, but it is possible that others may not be.
连接接收机
作为一般指导,接收器连接到飞行控制器使用支持其协议的端口:
- Spektrum/DSM receivers connect to the "DSM" input. Pixhawk flight controllers variously label this as:
SPKT/DSM
,DSM
,DSM/SBUS RC
,DSM RC
,DSM/SBUS/RSSI
. - Graupner HoTT receivers: SUMD output must connect to a SPKT/DSM input (as above).
- PPM-Sum and S.BUS receivers must connect directly to the RC ground, power and signal pins. This is typically labeled:
RC IN
,RCIN
orRC
, but has in some FCs has been labeledPPM RC
orPPM
. - PPM receivers that have an individual wire for each channel must connect to the RCIN channel via a PPM encoder like this one (PPM-Sum receivers use a single signal wire for all channels).
- TBS Crossfire/Express LRS Receivers using CRSF Telemetry connect via a spare UART.
Flight controllers usually include appropriate cables for connecting common receiver types.
Instructions for connecting to specific flight controllers are given in their quick-start guides (such as CUAV Pixhawk V6X Wiring Quick Start: Radio Control or Holybro Pixhawk 6X Wiring Quick Start: Radio Control).
TIP
See the manufacturer's flight controller setup guide for additional information.
发射机/接收机对频
Before you can calibrate/use a radio system you must bind the receiver and transmitter so that they communicate only with each other. 各种遥控器的对频方法各不相同(参照遥控器说明书)。
If you are using a Spektrum receiver, you can put it into bind mode using QGroundControl: Radio Setup > Spectrum Bind.
设置信号丢失动作
遥控器接收器有不同方式指示信号损失:
- 无输出(由PX4自动检测)
- Output a low throttle value (you can configure PX4 to detect this).
- 输出最后收到的信号 (PX4 无法处理此情况!)
首选一个当RC断开时无输出的接收机,然后才是低油门的接收机。 可能需要配置接收器(请参阅手册)。
For more information see Radio Control Setup > RC Loss Detection.
相关章节
- Radio Control Setup - Configuring your radio with PX4.
- Manual Flying on multicopter or fixed wing - Learn how to fly with a remote control.
- TBS Crossfire (CRSF) Telemetry
- FrSky Telemetry