Product Center
1. Interaction and Logic Layer: Digitization of Intent
When the pilot marks an area on the screen of the universal ruggedized GCS, or clicks the "Take Off" button, the control software inside the GCS (usually developed based on C++ and Qt, or using C# combined with WPF to build the user interface) will perform the first step of processing.
Route calculation: GCS software will combine the two-dimensional polygons or discrete points on the screen with the built-in elevation map (DEM) to calculate a three-dimensional space waypoint set containing longitude, latitude, absolute altitude and relative altitude.
Action encapsulation: Each waypoint not only contains coordinates, but also binds specific control parameters. For example, how long to hover at this waypoint (HoldTime), what is the yaw angle of the camera when it reaches this point, whether to trigger the shutter or release the hoist, etc.
2. Protocol layer: the “Esperanto” of dialogue between heaven and earth
After generating logical waypoints, GCS needs to translate these human-readable data into binary machine language that the underlying flight controller (such as PX4 or ArduPilot) can understand.
Backbone Control (MAVLink): This is currently the absolute industry standard for unmanned systems.GCS will encapsulate the above route data into dozens to hundreds of tiny MAVLink data packets (such as MISSION_ITEM_INT messages). Each packet has a header, system ID, component ID, and the crucial CRC check code. The subtlety of the MAVLink protocol is that it is extremely lightweight. A complete control instruction usually only takes up a few dozen bytes, making it very suitable for bandwidth-limited field environments.
High-throughput data streaming (ROS2/DDS): In advanced applications (such as vision-based fine control or multi-machine collaboration), MAVLink alone is not enough. Modern GCS will establish another high-speed Ethernet link based on middleware such as XRCE-DDS to directly talk to the onboard computer (Companion Computer) for transmitting high-resolution point cloud data or video streaming instructions.
3. Physical link layer: the “highway” of data
The serialized binary byte stream needs to be sent to the drone across physical space. Ruggedized GCS usually integrates a variety of radio frequency modules to cope with the complex low-altitude electromagnetic environment:
Telemetry Radio: Usually operates in the 900MHz or 2.4GHz frequency band, using frequency hopping spread spectrum (FHSS) technology. The GCS's serial port is connected to the data transmission module through a USB to TTL chip, which modulates the data into radio waves and sends them out.
Cellular network (4G/5G-A): For beyond visual line of sight (BVLOS) flight, GCS will send instructions to the operator's base station through the internal 5G module, and then route them to the 5G receiver on the drone through the core network, achieving "control as long as there is a network."
4. Execution layer: from instructions to actions
When the antenna on the drone receives the electromagnetic waves, the process begins to reverse:
Unpacking and verification: The airborne digital transmission demodulates the signal and restores it to a byte stream, which is sent to the main control chip of the flight control (such as STM32H7 series) through the serial port (such as UART). The underlying driver of the flight control reads the serial port buffer in real time, performs CRC verification, and discards garbled packets.
Topic Release (uORB): Advanced flight controllers like PX4 run a real-time operating system (RTOS) and a publish/subscribe micro message bus called uORB. The received waypoint command will be converted into the internal vehicle_command topic and published.
Mixing control and output: After the position control node (PositionController) inside the flight controller subscribes to the new waypoint, it calculates the required attitude angle based on the current GPS/RTK coordinates. The attitude control node (AttitudeController) further calculates the required rotational torque, and finally distributes the torque to the electric control (ESC) through the mixer, changing the PWM signal of each brushless motor, and the drone changes the flight trajectory accordingly.
WhatsApp
8613681434749