Dynamic anchor point decentralized multi-machine cooperative positioning planning system, method, device and medium
By using a dynamic anchor point decentralized multi-aircraft collaborative positioning and planning system, which combines UWB/IMU fusion positioning and decentralized DDS communication, the problems of high deployment cost, limited coverage, and scalability bottleneck of centralized communication for UWB base stations are solved. This system achieves high-precision and stable multi-aircraft collaborative positioning and autonomous flight planning, and is suitable for scenarios such as logistics distribution, infrastructure inspection, and emergency rescue.
Patent Information
- Application Number
- CN202611402998.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies suffer from high deployment costs, limited coverage, and single points of failure in UWB fixed base stations. Satellite and SLAM positioning also have insufficient accuracy in indoor or complex environments. Furthermore, centralized communication architectures suffer from single points of failure and scalability bottlenecks.
A decentralized multi-aircraft collaborative positioning and planning system with dynamic anchor points is adopted. It combines UWB/IMU fusion positioning, decentralized DDS communication and distributed conflict negotiation. Through the dynamic anchor point mechanism, it achieves low-cost, high-precision, all-scenario adaptability and large-scale scalability of multi-aircraft collaborative positioning and autonomous flight planning.
It achieves the goal of eliminating the need to deploy a large number of fixed base stations, ensuring that the positioning accuracy does not decrease as the cluster size increases, and enabling the system to operate stably and continuously in complex environments. It supports plug-and-play functionality and is suitable for large-scale drone swarm application scenarios.
Smart Images

Figure CN123177422A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of multi-UAV collaborative positioning and autonomous flight planning technology, and in particular to a dynamic anchor point decentralized multi-UAV collaborative positioning planning system, method, device and medium. Background Technology
[0002] The demand for collaborative operations of drone swarms in scenarios such as warehousing and logistics, inspection and search and rescue, and cultural performances is growing. In terms of positioning and navigation, current multi-drone collaborative positioning mainly adopts three technical approaches: first, satellite navigation-based solutions, utilizing the Global Positioning System (GPS) or Real-Time Kinematic (RTK) to provide a globally covered absolute position benchmark; second, Simultaneous Localization and Mapping (SLAM)-based solutions, achieving high-precision positioning in local environments through airborne vision or LiDAR; and third, ultra-wideband (UWB) fixed base station solutions, achieving centimeter-level positioning by deploying multiple base stations. Regarding multi-drone collaborative planning, existing communication architectures mainly fall into two categories: centralized and decentralized. Centralized architectures achieve data sharing and coordination through ground stations or master drones; decentralized architectures involve direct data exchange and collaborative computation among drones.
[0003] However, all of the above-mentioned technical solutions have significant limitations. Satellite positioning solutions fail in signal-denied environments such as indoor spaces, tunnels, and urban canyons, and their low update rate and susceptibility to interference make them unsuitable for highly dynamic collaborative tasks. SLAM solutions are computationally burdensome, highly dependent on the environment, and suffer from cumulative error issues, making it difficult to support the long-term stable operation of large-scale clusters. UWB fixed base station solutions are costly to deploy, have fixed coverage areas, and base station failures can lead to partial or complete failure of the positioning network. Centralized communication architectures suffer from single-point-of-failure risks and scalability bottlenecks; as the cluster size increases, latency and bandwidth may become limiting factors. While decentralized architectures can avoid single-point-of-failure, their distributed collaborative algorithms typically have high computational complexity, and frequent data exchanges between nodes lead to a large communication load. As the cluster size increases, network congestion and computational latency increase dramatically, severely restricting system scalability. Summary of the Invention
[0004] The purpose of this invention is to provide a dynamic anchor point decentralized multi-aircraft collaborative positioning and planning system, method, device, and medium. This aims to address the problems of high deployment costs, limited coverage, and single-point failures of existing UWB fixed base stations; insufficient accuracy of satellite and SLAM positioning in indoor or complex environments; and single-point failures and scalability bottlenecks in centralized communication architectures. By organically combining dynamic anchor points, UWB / IMU fusion positioning, decentralized DDS communication, and distributed conflict negotiation, this invention achieves low-cost, high-precision, all-scenario adaptability, and large-scale scalability for multi-aircraft collaborative positioning and autonomous flight planning.
[0005] To achieve the above objectives, this invention provides a decentralized multi-drone cooperative positioning and planning system with dynamic anchor points, comprising at least two drone nodes, each drone node including: Flight control unit, used for underlying attitude control and status awareness; The onboard computing unit is equipped with a robot operating system; The positioning and ranging unit uses a wireless ranging module, which can be configured as a base station or a node. The UAV configured as a base station acts as an anchor point UAV, and the UAV configured as a node acts as other UAVs. The communication middleware builds a decentralized communication network based on the Data Distribution Service (DDS) protocol to realize data distribution between various drone nodes. The airborne computing unit is equipped with: a) Data fusion and positioning node, used to fuse absolute positioning information provided by the wireless ranging module, inter-machine ranging information and inertial data from the flight control unit, and output the fused global pose of the UAV; b) Distributed collaborative planning nodes are used to generate collision-free local trajectories based on the fused UAV global pose, the global poses of neighboring UAVs obtained through a decentralized communication network, and task information. c) Interface and communication management node, used to manage communication in the decentralized communication network and send local trajectories to the flight control unit for execution via communication middleware; The anchor point drone obtains its absolute position through external reference positioning and broadcasts its absolute position information to other drones through a wireless ranging module, acting as a base station. Other drones, acting as nodes, measure the distance between themselves and the anchor point drone and neighboring drones in real time through wireless ranging modules and exchange data with neighboring drones.
[0006] This invention also provides a decentralized multi-machine collaborative positioning planning method with dynamic anchor points, comprising the following steps: Step S1: System initialization. The wireless ranging modules of each UAV form a self-organizing network. The anchor point UAV obtains its own absolute position through external reference positioning. Other UAVs establish inter-UAV ranging links. The robot operating system node starts up and establishes a decentralized communication network. Step S2: Each UAV performs distributed collaborative positioning, integrates the absolute position of the anchor point UAV, the relative distance between UAVs and inertial data, calculates the global pose estimate and publishes it through a decentralized communication network. Step S3: Each UAV receives the task. Based on global pose estimation and the global pose of neighboring UAVs obtained through a decentralized communication network, a distributed model predictive control algorithm is adopted to generate a local collision-free trajectory through predictive trajectory exchange and iterative negotiation. Step S4: Each UAV converts its local collision-free trajectory into flight control commands and sends them to the flight control unit via communication middleware to execute trajectory tracking; Step S5: The system monitors the positioning and communication health status in real time. If a drone loses the signal of the base station, it switches to pure relative positioning mode and relies solely on inter-drone ranging and the global pose of neighboring drones for navigation. Alarm information is also issued through the decentralized communication network. If a neighboring drone is detected to be in failure, the remaining drones re-perform conflict detection and planning to achieve dynamic system reconstruction.
[0007] The present invention also provides a computer device, including: a memory and a processor; the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described dynamic anchor point decentralized multi-machine collaborative positioning planning method.
[0008] The present invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described dynamic anchor point decentralized multi-machine collaborative positioning and planning method.
[0009] Therefore, the present invention employs the above-mentioned dynamic anchor point decentralized multi-machine collaborative positioning and planning system, method, equipment, and medium, and the beneficial technical effects are as follows: (1) This invention configures some UAVs in the cluster as mobile positioning reference sources through a dynamic anchor point mechanism, without the need to deploy a large number of fixed UWB base stations. As the cluster size increases, no additional investment in positioning infrastructure is required. Combined with a completely decentralized distributed architecture, each UAV constructs a relatively constrained network through inter-UAV ranging, and the positioning accuracy does not decrease with the increase of the cluster size, thus theoretically realizing the infinite expansion of the positioning and communication network.
[0010] (2) This invention does not rely on any fixed base station or centralized node. The failure or withdrawal of any UAV will not affect the collaborative positioning and planning capabilities of the remaining UAVs. Combining UWB / IMU fusion positioning and real-time health status monitoring, it automatically switches to pure relative positioning mode and triggers planning renegotiation when satellite signal is lost or node fails, ensuring that the system continues to operate stably in complex environments.
[0011] (3) This invention integrates UWB absolute positioning, inter-device relative ranging and IMU inertial data, supports seamless switching between anchor point absolute positioning mode and pure relative positioning mode, and can maintain high-precision global position estimation under complex conditions such as indoor and outdoor, occluded environment, and satellite denial; based on the automatic discovery mechanism of Micro XRCE-DDS middleware, it supports plug-and-play for new UAVs without manual configuration of network parameters, and realizes immediate use in a wide range of complex scenarios, which is suitable for large-scale UAV swarm application scenarios such as logistics distribution, infrastructure inspection, and emergency rescue. Attached Figure Description
[0012] Figure 1 This is a schematic diagram of the overall system composition; Figure 2 This is a schematic diagram of the structural components of a single unmanned aerial vehicle (UAV). Figure 3 This is a schematic diagram of the positioning and ranging unit structure; Figure 4 This is a schematic diagram of the communication unit structure; Figure 5 This is a schematic diagram of the airborne computing unit structure; Figure 6 This refers to the method and process.
[0013] Figure Labels 10. Anchor point UAV; 20. Other UAVs; 30. Ground station; 100. Flight control unit; 101. Flight control motherboard; 200. Positioning and ranging unit; 201. UWB transceiver and ranging module; 202. Omnidirectional antenna; 203. Serial communication interface; 300. Communication unit; 301. Micro XRCE-DDS Client; 302. Micro XRCE-DDS Agent; 400. Airborne computing unit; 401. Data acquisition interface; 402. Cooperative positioning solver; 403. DDS publish / subscribe module. Detailed Implementation
[0014] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.
[0015] Unless otherwise defined, the technical or scientific terms used in this invention shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention pertains.
[0016] Example 1 like Figure 1 As shown, in this embodiment, the multi-UAV cooperative positioning and autonomous flight planning system consists of 7 identically configured UAV nodes, including 4 anchor UAVs 10 and 3 other UAVs 20, and also includes a ground station 30 that issues tasks and targets to the swarm of UAVs. All UAVs build a decentralized ROS2 (Robot Operating System 2) communication network through the Micro XRCE-DDS middleware to achieve real-time sharing of status information within the swarm. Each UAV includes a flight control unit 100, a positioning and ranging unit 200, a communication unit 300, and an onboard computing unit 400.
[0017] like Figure 2 As shown, the flight control unit 100 of each UAV adopts the Pixhawk series open-source flight controller, running the PX4 flight control stack, and is responsible for the UAV's underlying attitude control and state perception. The positioning and ranging unit 200 adopts an ultra-wideband (UWB) module, which can be configured as a base station or a node; the UWB module of the anchor UAV 10 is configured as a base station, and the UWB modules of the other UAVs 20 are configured as nodes. The communication unit 300 is built based on the MicroXRCE-DDS framework, including the Micro XRCE-DDS Client 301 running on the flight control motherboard 101 and the Micro XRCE-DDS Agent 302 running on the onboard computing unit 400. The Micro XRCE-DDS Client 301 and the Micro XRCE-DDS Agent 302 are connected through the flight control serial port to build a decentralized ROS2 communication network, and a publish-subscribe model is used to achieve low-latency and high-reliability data distribution between UAV nodes. The airborne computing unit 400 uses a Raspberry Pi single-board computer, runs on the ROS2 operating system, and is equipped with data fusion and positioning nodes, distributed collaborative planning nodes, and interface and communication management nodes.
[0018] like Figure 3As shown, the positioning and ranging unit 200 includes a UWB transceiver and ranging module 201, an omnidirectional antenna 202, and a serial communication interface 203. The anchor point UAV 10 obtains its absolute position in the global coordinate system through its built-in GPS module and, acting as a base station, publishes its absolute position information to other UAVs 20 via its UWB module. The UWB modules of other UAVs 20 operate as nodes in a distributed ranging mode, measuring the distance to the anchor point UAV 10 and neighboring UAVs in real time, receiving data from the anchor point UAV 10 and other UAVs, and simultaneously transmitting their own data to other UAVs via the serial communication interface 203. The transceiver and ranging processing module 201 outputs anchor point absolute position data packets and relative distance data packets between UAVs at a specific frequency. Each data packet contains information such as distance value, received signal strength (RSSI), first path RSSI (FP_RSSI), and timestamp, and is transmitted to the onboard computing unit 400 via the serial communication interface 203.
[0019] like Figure 4 As shown, in communication unit 300, the Micro XRCE-DDS Client 301 encapsulates flight control uORB messages (including inertial measurement unit (IMU) data, attitude estimation, flight control status, etc.) into ROS2 topics and publishes them to the DDS network; the Micro XRCE-DDS Agent 302 shares the UWB data output by the positioning and ranging unit 200 and the cooperative positioning results calculated by the onboard computing unit 400 in the form of ROS2 topics. Communication unit 300 has an automatic discovery mechanism. When a new UAV joins the cluster, its Micro XRCE-DDS Client 301 automatically registers with the DDS network, and the Micro XRCE-DDS Agent 302 automatically discovers and establishes a communication link, achieving plug-and-play functionality. Simultaneously, communication unit 300 provides differentiated Quality of Service (QoS) policies, configuring reliable transmission for critical data such as anchor point absolute position and low-latency best-effort transmission for high-frequency ranging data, ensuring real-time and reliable sharing of cluster status information.
[0020] like Figure 5As shown, the airborne computing unit 400 includes a data acquisition interface 401, a cooperative positioning solver 402, and a DDS publish-subscribe module 403. The data acquisition interface 401 receives raw UWB data (including anchor point absolute position data and inter-unit ranging data) from the positioning and ranging unit 200 via a serial port, and simultaneously subscribes to IMU data from the flight control unit 100 and cooperative positioning results published by other UAVs via the DDS publish-subscribe module 403. The cooperative positioning solver 402 runs a distributed cooperative positioning algorithm based on factor graph optimization, constructing an optimization model containing three types of factors: the first type is the prior factor, with the absolute position published by the anchor UAV 10 as a strong constraint, and the weights are dynamically adjusted according to the GPS signal quality. The cooperative positioning solver 402 adopts a dynamic weight function strategy based on sliding window standardized residuals for the GPS prior factors of the anchor UAV. Let the sliding window length be... The first one in the window GPS observation residuals at each sampling time for: ; in, for GPS observations at each sampling time, These are the observed estimates calculated based on the predicted state. The mean of the residuals within the calculation window is also included. with standard deviation Then construct the standardized residual. : ; Construct the following three-segment dynamic weight function: ; in, and The value used in this embodiment is the preset threshold for residual abnormality detection. , These correspond to the cutoff points when the residuals deviate from the mean by 1.5 times and 3.0 times the standard deviation, respectively. When When the GPS signal quality is deemed excellent, prior factors are maintained at full weight and participate in optimization; when When the signal is slightly disturbed, the weights are adaptively reduced according to the aforementioned quadratic smooth transition function; when If the signal is deemed severely abnormal, its weight is reduced to zero, and the GPS observation is completely isolated in the factor graph optimization. Within each optimization cycle, the solver 402 calculates the dynamic weights of each GPS factor in real time based on the current sliding window and substitutes them into the factor graph, thereby achieving continuous monitoring of GPS signal quality and adaptive adjustment of weights.
[0021] The second category is the ranging factor, which uses the relative UWB distance between all UAVs as a relative constraint and employs a Gaussian noise model. The weights are automatically reduced in non-line-of-sight states. The cooperative positioning solver 402 uses a robust estimation strategy based on the chi-square test and IGGIII equivalent weight function for the UWB inter-UAV ranging factor. Let the UAVs... With drones UWB ranging observations between The location of the drone estimated based on the current factor map. , Calculate the predicted distance: ; Construction observation residuals : ; Let the observation noise covariance matrix be... Construct the chi-square test statistic : ; in, It is a transpose; theoretically, under line-of-sight (LOS) conditions, It follows a chi-square distribution with 1 degree of freedom. Two test thresholds are set. and (Preferred value) , (corresponding to significance levels of 0.05 and 0.01 respectively), constructing the IGGIII three-stage equivalent weighting factor: ; Equivalent weight factor The original weights that directly affect the UWB ranging factor That is, the equivalent weight in the non-line-of-sight state. for: ; when When the distance measurement is determined to be in line-of-sight mode, the original weights remain unchanged; when When the ranging is contaminated by non-line-of-sight errors, the weights are smoothly reduced according to the above function; when If a ranging anomaly is detected, its weight is reduced to zero, and the ranging factor is completely eliminated. Simultaneously, solver 402 introduces equivalent weights into the adaptive update of the measurement noise covariance matrix, systematically suppressing the influence of low-weighted NLOS observations in fusion localization. As an improvement, the system can also combine the first-path signal strength (FP_RSSI) with statistical characteristics such as kurtosis and skewness of the channel impulse response (CIR) for joint discrimination, further improving the accuracy of NLOS identification.
[0022] The third category is the IMU pre-integration factor, which uses IMU data to construct motion constraints between adjacent time points. The solver 402 operates at a frequency of 10Hz, fusing the absolute position of the anchor point, the relative ranging between drones, and the IMU motion constraints to calculate the global high-precision position estimate of itself and all drones in the network in real time. It outputs the global position estimate and covariance matrix of all drones at the current time, and publishes it as a ROS2 topic through the DDS publish-subscribe module 403. Each drone subscribes to this topic to form a globally consistent position awareness, thereby providing accurate and robust cluster spatial state information for upper-layer applications.
[0023] Taking a certain moment as an example, the position of anchor point UAV 10 is (0.02, 0.01, 10.03), the position of another anchor point UAV 10 is (10.01, 0.02, 10.02), and the positions of other UAVs 20 calculated by relative ranging and factor graph optimization are (4.98, 5.01, 10.01), (9.99, 9.98, 10.00), and (15.02, 5.00, 10.02), respectively. The errors between these positions and the actual positions are all within 5cm.
[0024] like Figure 6 As shown, the multi-UAV cooperative localization and autonomous flight planning method in this embodiment specifically includes the following steps: Step S1: System Initialization and Self-Organizing Network. After each UAV is powered on, the UWB module starts, automatically searching for and joining the hybrid network consisting of anchor UAV 10 and other UAVs 20. Anchor UAV 10 obtains its absolute position through its built-in GPS module and publishes it as base station coordinates through the UWB module. All UAVs use the UWB distributed ranging mode to measure distances to each other at a specific frequency, establishing inter-UAV ranging links. The UWB module sends the ranging data to the onboard computing unit 400 via serial port. The data transmission module establishes a communication link with the ground station 30 for task distribution and status monitoring. Subsequently, the ROS2 node is started, and through the DDS automatic discovery mechanism, all UAVs discover each other and establish communication within the same DDS domain.
[0025] Step S2, Distributed Cooperative Positioning. Each UAV acquires the anchor point UAV position data through the UWB module. Inter-machine ranging set Meanwhile, each UAV broadcasts its own position and its covariance estimate via the ROS2 DDS network: , ;in The state prediction covariance matrix, For the first The system state transition matrix at each sampling time, For the first The state estimation covariance matrix at each sampling time point For the first The system process noise covariance matrix at each sampling time. For the first Kalman gain at each sampling time, For the first The observation matrix at each sampling time, It is an identity matrix.
[0026] Each UAV's data fusion node subscribes to the following topics: the absolute position topic / uwb / self_position published by the anchor UAV 10, the ranging topic / uwb / range output by the local UWB module, and the IMU topic / PX4 / imu obtained from the PX4 via Micro XRCE-DDS. The cooperative positioning solver 402 utilizes its own IMU data and position data from the anchor base station. Actual measurements from neighbors The factor graph optimization algorithm is used to integrate the absolute position of anchor points, the relative ranging between machines, and the motion constraints of the IMU, to calculate a more accurate and robust global pose estimate in real time. The solution results are published via the topic / fusion / pose, and each drone subscribes to this topic to form a globally consistent positional awareness.
[0027] Step S3: Distributed Cooperative Trajectory Planning. Ground station 30 sends a global task (such as target point sequence, formation parameters, etc.) to the cluster via a data transmission link. The task is then disseminated within the cluster through the ROS2 network. Each UAV's cooperative planning node plans its trajectory based on the task and current conditions. Generate a local reference trajectory and send it to neighboring drones. Based on the obtained neighbor and local reference trajectories, enter an iterative negotiation and planning loop: a. Calculate the local predicted spatiotemporal trajectory based on the current state and the reference trajectory. ; b. Publish via ROS2 DDS And receive the predicted trajectories from neighbors. ; c. Inspection With all Does a spatiotemporal conflict exist? Specifically, the spatiotemporal corridor method is used to dilate the drone and its safe zone in the time dimension, detecting whether the spatiotemporal corridors of different drones overlap. The spatiotemporal corridor of each drone is defined as its predicted trajectory. Center, safety radius The scan volume of a sphere with radius on the time axis, i.e. ;in For drones The spatiotemporal corridor occupied within the planned time window is defined as a cylindrical region in four-dimensional space (three-dimensional location space plus one-dimensional time axis); Let be the position vector of any point in space. and drones The start and end times of the predicted trajectory constitute the drone's trajectory. Planning time window; conflict detection is equivalent to determining whether a time window exists. This causes the areas occupied by the spheres of the two drones to intersect, that is... satisfy . and drones and drones The predicted position vector is generated in real time by distributed coordinated planning nodes based on the UAV dynamics model. and For drones and The safe radius.
[0028] This method simplifies the complex four-dimensional intersection problem into solving inequalities of the distance function within a common time interval. It can incorporate probabilistic inflation to address the uncertainty in trajectory prediction, thereby improving detection robustness. If there is no conflict, then... This is the final planning result; if there is a conflict, the local trajectory is adjusted according to the preset strategy priority (minimizing the overall trajectory change), and the process returns to step a.
[0029] Step S4: Trajectory Tracking Execution. The distributed planning node converts the finalized short-term trajectory (or the next target point and velocity) into a setpoint command (such as SET_POSITION_TARGET_LOCAL_NED) recognizable by the PX4, and sends it to the PX4 flight controller via the MicroXRCE-DDS middleware. The PX4 flight controller's built-in controller performs trajectory tracking to achieve precise flight.
[0030] Step S5: System Dynamic Reconstruction and Anomaly Handling. During flight, the system continuously monitors UWB signal quality, communication latency, battery status, etc. When a UAV enters a building-obstructed area and loses line-of-sight connection with the anchor base station, its UWB module detects anchor signal loss (RSSI below the threshold). The cooperative positioning solver 402 automatically switches to pure relative positioning mode, relying entirely on the IMU and distributed ranging with other UAVs for state estimation, and only relying on inter-UAV UWB ranging and pose shared with neighbors for navigation, and broadcasting alarm information through the DDS network.
[0031] RSSI threshold The settings are determined based on the physical model of UWB signal propagation and engineering measurement data. In a free-space environment, the received power of the UWB signal... and transmission / reception distance Satisfies the logarithmic distance path loss model: ; in, For transmission power, For reference distance Path loss at the location, This is the path loss index. With a mean of zero and a standard deviation of The normally distributed shadowing fading random variable. Taking a certain series of UWB chips as an example, under typical indoor / semi-outdoor environments... Reference distance Damage Path loss index Standard deviation of shadow fading Based on this model, it is estimated that when the communication distance reaches 25 to 30 meters and there is partial obstruction, the received signal strength is approximately in the range of -90 dBm to -95 dBm.
[0032] Based on the above theoretical analysis, this system sets the threshold in the range of -90dBm to -95dBm. Simultaneously, upon receiving an alarm, other drones adjust their trust weight towards that drone, reducing its constraint weight in the factor graph while maintaining the relative positioning relationship. This ensures that the overall positioning function of the system degrades without completely failing. When the original anchor drone 10 loses its GPS signal or malfunctions, other drones with GPS signals automatically switch to become the new anchor drone 10 and reconfigure their UWB modules as base stations to maintain the continuity of the positioning network. If a neighboring drone is detected to be faulty, the remaining drones re-perform conflict detection and planning, achieving dynamic system reconfiguration.
[0033] This embodiment achieves collaborative positioning and autonomous flight planning for multiple UAVs without fixed infrastructure by deeply integrating dynamic anchor point mechanism, UWB hybrid positioning, decentralized DDS communication architecture and factor graph optimized positioning algorithm. The system has been verified to have high-precision positioning (error within 5cm), strong robustness (single node failure does not affect the whole) and convenient deployment that is ready to use immediately in a cluster of 7 UAVs. It can be widely used in collaborative operations of UAV clusters in scenarios such as logistics delivery, formation performance, and regional inspection.
[0034] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0035] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0036] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0037] It is worth noting that all contents not described in detail in this invention are existing technologies and are well known to those skilled in the art.
[0038] Therefore, this invention adopts the above-mentioned dynamic anchor point decentralized multi-drone collaborative positioning planning system, method, equipment and medium. By using the dynamic anchor point mechanism and UWB / IMU fusion positioning, it gets rid of the dependence on fixed infrastructure. By using the decentralized DDS communication architecture, it eliminates single point of failure and realizes plug-and-play nodes. By using distributed conflict negotiation and spatiotemporal corridor detection, it realizes efficient and reliable online trajectory planning. Thus, while reducing deployment costs, it enables large-scale collaborative autonomous operation of multiple UAV swarms in complex environments such as indoor and outdoor, occlusion and satellite denial.
[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A decentralized multi-machine collaborative positioning and planning system with dynamic anchor points, characterized in that: Includes at least two drone nodes, each drone node comprising: Flight control unit, used for underlying attitude control and status awareness; The onboard computing unit is equipped with a robot operating system; The positioning and ranging unit uses a wireless ranging module, which can be configured as a base station or a node. The UAV configured as a base station acts as an anchor point UAV, and the UAV configured as a node acts as other UAVs. The communication middleware builds a decentralized communication network based on the Data Distribution Service (DDS) protocol to realize data distribution between various drone nodes. The airborne computing unit is equipped with: a) Data fusion and positioning node, used to fuse absolute positioning information provided by the wireless ranging module, inter-machine ranging information and inertial data from the flight control unit, and output the fused global pose of the UAV; b) Distributed collaborative planning nodes are used to generate collision-free local trajectories based on the fused UAV global pose, the global poses of neighboring UAVs obtained through a decentralized communication network, and task information. c) Interface and communication management node, used to manage communication in the decentralized communication network and send local trajectories to the flight control unit for execution via communication middleware; The anchor point drone obtains its absolute position through external reference positioning and broadcasts its absolute position information to other drones through a wireless ranging module, acting as a base station. Other drones, acting as nodes, measure the distance between themselves and the anchor point drone and neighboring drones in real time through wireless ranging modules and exchange data with neighboring drones.
2. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 1, characterized in that, The flight control unit uses an open-source flight controller running the PX4 flight control stack; the onboard computing unit uses a single-board computer running the ROS2 operating system; the wireless ranging module is an ultra-wideband (UWB) module; and the external reference positioning methods include satellite navigation positioning or preset calibration point positioning.
3. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 1, characterized in that, The data fusion and the fusion algorithm executed by the positioning node are extended Kalman filtering, weighted least squares algorithm or factor graph optimization algorithm; the fusion algorithm uses the inter-drone ranging values from neighboring UAVs and the shared global pose estimation to collaboratively optimize its own positioning results; The factor graph optimization algorithm constructs an optimization model that includes prior factors, ranging factors, and inertial data pre-integration factors. The prior factors are constrained by the absolute position of the anchor point UAV and their weights are dynamically adjusted according to the signal quality of the external reference positioning method. The weight of the ranging factor is automatically reduced in non-line-of-sight states.
4. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 1, characterized in that, The specific method for generating collision-free local trajectories by distributed collaborative planning nodes is as follows: generate a local reference trajectory based on the task, predict the future spatiotemporal trajectory of the local drone based on the drone dynamics model, exchange predicted trajectories with neighboring drones through a decentralized communication network, perform spatiotemporal conflict detection, and if a conflict is detected, optimize and iterate the local trajectory online according to the preset distributed negotiation rules until the conflict is eliminated.
5. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 4, characterized in that, Spatiotemporal conflict detection employs the spatiotemporal corridor method, which expands the drone and its safe zone in the time dimension to detect whether there is an intersection of the spatiotemporal corridors of different drones; spatiotemporal conflict detection combines the uncertainty of trajectory prediction with probabilistic expansion.
6. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 1, characterized in that, The communication middleware is based on the Micro XRCE-DDS framework and includes the Micro XRCE-DDSClient running on the flight control unit and the Micro XRCE-DDS Agent running on the airborne computing unit. The Micro XRCE-DDS Client and the Micro XRCE-DDS Agent are connected via a serial port.
7. The dynamic anchor point decentralized multi-machine collaborative positioning and planning system according to claim 1, characterized in that, The system supports dynamic switching of anchor point drones. When the original anchor point drone loses its external reference positioning capability or malfunctions, other drones with external reference positioning capabilities automatically switch to become the new anchor point drone and reconfigure their wireless ranging modules as base stations.
8. A decentralized multi-machine collaborative positioning and planning method with dynamic anchor points, characterized in that, Includes the following steps: Step S1: System initialization. The wireless ranging modules of each UAV form a self-organizing network. The anchor point UAV obtains its own absolute position through external reference positioning. Other UAVs establish inter-UAV ranging links. The robot operating system node starts up and establishes a decentralized communication network. Step S2: Each UAV performs distributed collaborative positioning, integrates the absolute position of the anchor point UAV, the relative distance between UAVs and the inertial data, calculates the global pose estimate and publishes it through a decentralized communication network. Step S3: Each UAV receives the task. Based on global pose estimation and the global pose of neighboring UAVs obtained through a decentralized communication network, a distributed model predictive control algorithm is adopted to generate a local collision-free trajectory through predictive trajectory exchange and iterative negotiation. Step S4: Each UAV converts its local collision-free trajectory into flight control commands and sends them to the flight control unit via communication middleware to execute trajectory tracking; Step S5: The system monitors the positioning and communication health status in real time. If a drone loses the signal of the base station, it switches to pure relative positioning mode and relies solely on inter-drone ranging and the global pose of neighboring drones for navigation. Alarm information is also issued through the decentralized communication network. If a neighboring drone is detected to be in failure, the remaining drones re-perform conflict detection and planning to achieve dynamic system reconstruction.
9. A computer device, comprising: Memory and processor; The memory stores a computer program, characterized in that when the processor executes the computer program, it implements the steps of the dynamic anchor point decentralized multi-machine collaborative positioning planning method as described in claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the dynamic anchor point decentralized multi-machine collaborative positioning planning method as described in claim 8.
