Cooperative positioning and mapping method for unmanned aerial vehicle cluster
Through deep learning and visual-inertial information fusion, combined with PNP pose solution and dynamic sliding window factor graph optimization, high-precision, real-time collaborative positioning of UAV clusters in interference environments is achieved, solving the problem of traditional positioning systems in interference environments. Problems with high accuracy and algorithm complexity.
Patent Information
- Application Number
- CN202410781473.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional UAV positioning systems cannot provide high-precision positioning when they are attacked by network attacks, radio interference or satellite shielding, and the UAV cluster collaborative positioning algorithm is complex in calculation and is not suitable for large-scale real-time positioning scenarios.
A monocular camera is used to collect images, a deep learning algorithm is used for image noise reduction and feature extraction, visual and inertial information is combined for fusion positioning, and the PNP pose parameter calculation algorithm is used to calculate the relative pose of the UAV, and a multi-unmanned aerial vehicle is constructed. Human-machine collaborative map improves positioning accuracy and timeliness through dynamic sliding window factor graph optimization algorithm.
Achieve high-precision, real-time collaborative positioning of UAV clusters when satellites are rejected or have limited computing power, ensuring real-time positioning and effective tracking during flight, and solving the accuracy problems and algorithm complexity of traditional positioning systems in interference environments high question.
Smart Images

Figure CN118747772A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of collaborative positioning of unmanned aerial vehicle clusters, and in particular to a collaborative positioning and mapping method for unmanned aerial vehicle clusters. Background Art
[0002] When drones are performing tasks, traditional positioning systems may encounter interference, satellite shielding, or insufficient accuracy in the case of cyber attacks, radio interference, interception and destruction, thus affecting accurate task implementation and judgment. In recent years, the positioning methods of drone clusters are mainly divided into the following two categories: one is the autonomous positioning method based on a single drone, including traditional positioning and mapping (SLAM) technology, inertial navigation system (INS) auxiliary technology, etc., but these methods have inherent error accumulation and high cost problems; the second is the collaborative positioning method of drone clusters. The research on collaborative positioning of drone clusters in complex environments has achieved some research results both at home and abroad, but while pursuing high-precision positioning, the computational complexity of the algorithm also increases, which is not suitable for real-time positioning scenarios such as large-scale drone cluster collaborative positioning. Summary of the invention
[0003] In view of this, the present invention provides a method for collaborative positioning and mapping of a drone cluster, which can achieve high-precision and real-time collaborative positioning of a drone cluster under conditions of satellite denial or limited computing power.
[0004] The present invention discloses a method for collaborative positioning and mapping of a drone cluster, which comprises:
[0005] Step 1: Collect the original image in the satellite denial environment through the monocular camera carried by the drone;
[0006] Step 2: Construct a residual network to learn the noise pattern of the original image and optimize the network parameters, and use the multi-scale Retinex method to adjust the contrast and brightness of the original image data, thereby denoising and enhancing the image to obtain a denoised image;
[0007] Step 3: Extract and match the features of the denoised and enhanced image based on the deep learning algorithm to obtain feature points;
[0008] Step 4: Fuse the visual information and inertial information of the extracted feature points;
[0009] Step 5: According to the coordinate values of the feature points, the relative posture of the UAV is calculated by the PNP posture parameter calculation algorithm to obtain the relative position and posture of the UAV;
[0010] Step 6: Build a map based on the relative positions of multiple drones and the extracted feature point coordinate information.
[0011] Furthermore, the step 2 comprises:
[0012] The noise-free image is used as the network output, and the noisy image with the same noise pattern as the original image is used as the network input. A residual network model is constructed, and the structural similarity loss is defined. The network parameters are optimized by minimizing the loss function, and finally an image denoising model is obtained, which is used to denoise the images taken by the drone to obtain the denoised images.
[0013] Based on the Retinex method in the field of image brightness enhancement methods, the denoised image sequence is decomposed at multiple scales, and the local features and detail information of the image sequence are retained as much as possible; the image obtained by multi-scale decomposition is decomposed into an incident component and a reflected component by a Gaussian filter; the proportion of the incident component is reduced, and the proportion of the reflected component is increased to achieve image sequence enhancement; the Retinex algorithm decomposes the denoised image into an illumination component and a reflected component, performs contrast enhancement on the reflected component, performs color correction on the illumination component, and combines the enhanced reflection component and illumination component into the final enhanced image.
[0014] Furthermore, the step 3 comprises:
[0015] The deep learning algorithm combines convolutional neural networks and attention mechanisms. The CNN network gradually increases the receptive field and encodes features from local to global. Transformer starts with global self-attention and finally restores local details. TransFuse captures global information while maintaining sensitivity to context, and learns image features from both global and local perspectives to extract feature points.
[0016] The LoFTR algorithm is used to perform feature matching on the extracted feature points;
[0017] The fast averaging method and RANSAC algorithm are combined to remove the points with incorrect feature matching and obtain the feature points.
[0018] Furthermore, the step 4 comprises:
[0019] The extracted feature points are fused with visual information and inertial information based on the visual-inertial sensor to obtain high-precision feature point coordinate values, and the feature point coordinate values are screened and saved according to the far-near distance point sampling method;
[0020] At the front end of the algorithm, whenever the visual sensor inputs image frame information, the KLT tracking algorithm is used to track the feature point set extracted from the previous image frame according to the feature point set obtained by the system in step 3, and the threshold constraint method is combined to obtain the valid feature point set of the current frame. The observation value of the feature point is input into the back-end filter as the processed visual observation information for fusion with the IMU measurement data;
[0021] The back-end optimization part of the algorithm limits the scale of data calculations through sliding windows, and then constructs and optimizes the factor graph of the state quantity to be optimized in the window; at the same time, the sliding window prior information is dynamically set to maintain the inter-frame constraints, ensuring the accuracy of the relative pose estimation of the drone after optimization in the window.
[0022] Furthermore, at the same time, the front-end IMU data is processed by the IMU pre-integration method at the front end of the VINS algorithm, and the IMU measurement values between two adjacent image frames are integrated into a constraint so that the processed IMU information is aligned with the image information, and the processed visual-inertial data is transmitted to the back end for fusion with the visual observation information.
[0023] Furthermore, based on the visual-inertial information processed by the front end, the VINS back end uses the L-UKF algorithm and the InEKF algorithm to fuse the processed visual and IMU information; the VINS back end first establishes the motion state space model of the carrier, and then derives the optimal filtering method based on the constructed state model, and finally uses the derived filtering method to fuse the visual-inertial information processed by the front end to obtain high-precision feature point coordinate values.
[0024] Furthermore, the step 5 comprises:
[0025] The PNP pose parameter calculation algorithm is used to convert the feature point coordinate values into the relative position and rotation angle parameter identification results of the dual UAVs, thereby obtaining the relative pose of the UAVs.
[0026] Furthermore, the step 5 specifically includes:
[0027] The input of the PNP pose parameter solution algorithm is the measured feature point coordinate value, and the output is the relative position and rotation angle parameter identification result of the dual UAVs: input the camera internal parameter matrix and distortion coefficient, input the 2D feature points and the corresponding 3D coordinate values, solve the camera pose, calculate the three-axis Euler angle, solve the value in the camera coordinate system, and output the relative position and rotation angle parameters of the UAVs;
[0028] In the process of imaging space targets, a mathematical model of monocular camera imaging is established to describe the transformation relationship from the two-dimensional pixel information on the camera image plane to the three-dimensional coordinates of the real world; the origin of the world coordinate system is placed at the geometric center of the non-cooperative target model, and the three-dimensional coordinate axes are set according to the model characteristics of the target aircraft, that is, the world coordinate system is the same as the model body coordinate system, also known as the space coordinate system;
[0029] The coordinate values of the feature points are converted into the relative position and posture of the drone through monocular vision. According to the coordinate values of the feature points in the spatial coordinate system and their projection to the feature points on the camera, the relative position and posture of the spatial coordinate system relative to the camera coordinate system are calculated by the camera projection model.
[0030] Furthermore, for the skeleton envelope of the fixed-wing UAV, multiple key joints are set for the significant feature points. The multiple key joints are not vertically symmetrical, so the pose estimation can be performed directly without prejudging the conditions of looking down or looking up.
[0031] Considering the communication transmission between two UAVs, constraints of ground feature points are added; for the ground, the road network structure and key terrain feature points are extracted, and the odometer is calculated using the VIO algorithm; at the same time, the public field of view is segmented by direct detection, and then feature point matching is performed, or feature point matching is performed first, and then the overlapping area is extracted and the matching point pairs in the area are stored; the matching points in the overlapping area generate temporary constraints at the same time; the odometer contains the motion information of the UAV and can generate long-term constraints.
[0032] Further, the step 6 comprises:
[0033] During the flight, the UAV can obtain relevant information fused by the visual-inertial sensor at fixed time intervals, including posture and speed; therefore, in the images of different consecutive frames, the coordinate values of the feature points obtained by the method in step 4 are combined with the relative posture obtained in step 5 to generate point cloud maps of different frames; in the process of constructing the point cloud map by the UAV, due to the error in the estimated information, it is necessary to continuously optimize and screen the extracted environmental point cloud features, and at the same time calculate the changes in different point cloud maps between each frame, and retain the feature points that are closer and farther away from the UAV through the far-short distance point sampling method; the UAV saves the screened feature points during the movement, and forms an environmental point cloud map for estimating the position of the UAV through continuous accumulation;
[0034] During the map fusion process, the point cloud map is constructed based on the coordinate system of the drone that constructs the map. In a multi-drone system, the point cloud map constructed by each drone based on its own coordinates is relatively independent and cannot provide positioning information for other drones, nor can it reflect the positional relationship between drones in the system. This map is also called a sub-map. To complete the positioning of a multi-drone system, it is necessary to establish a connection between the various local maps so that each sub-map is converted to the same coordinate system to form a point cloud map containing the positioning and attitude information of all drones, that is, a unified coordinate system map, to achieve the association of drone positioning data;
[0035] The transformation relationship of the environmental point cloud maps of the two UAVs is established through overlapping feature matching and coordinate transformation. Then the environmental point cloud maps of the two UAVs are fused in the same coordinate system and reconstructed into a new multi-UAV collaborative map. This map reflects the positional relationship of multiple UAVs and provides positioning information for multi-UAV collaborative search.
[0036] Due to the adoption of the above technical scheme, the present invention has the following advantages: by constructing a sliding window factor graph optimization algorithm that dynamically constructs sliding window prior information, the accuracy and timeliness of the multi-UAV collaborative positioning system are improved, ensuring real-time positioning and effective tracking of collaborative UAVs during flight; through fusion positioning through visual data, inertial sensor (IMU) and other data, visual-inertial tight coupling is constructed based on optimal filtering, and a multi-rate data fusion method is used to solve the problem of inconsistent working frequencies of visual and inertial sensors, thereby achieving high-precision and high-efficiency positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0038] Figure 1 The architecture diagram of the visual positioning system provided by the present invention;
[0039] Figure 2 The residual network structure used for denoising;
[0040] Figure 3 This is the Retinex algorithm flow chart for multi-scale decomposition;
[0041] Figure 4 This is the TransFuse architecture diagram;
[0042] Figure 5 This is the Lofter architecture diagram;
[0043] Figure 6 This is a flowchart of visual observation information processing in the VINS visual-inertial fusion method based on optimal filtering;
[0044] Figure 7 The overall framework of a sliding window factor graph optimization algorithm (DSWFG) for dynamically constructing sliding window prior information proposed by the present invention;
[0045] Figure 8 This is the flow chart of the algorithm for solving the relative posture of the UAV;
[0046] Fig. 9 This is the flow chart of the relative pose solution algorithm;
[0047] Fig.10 and Fig.11 Field of view for tracking aircraft and target aircraft;
[0048] Fig.12 A flowchart for constructing a map with a unified coordinate system; DETAILED DESCRIPTION
[0049] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.
[0050] See also Figure 1 The present invention provides an embodiment of a method for collaborative positioning and mapping of a drone cluster, which includes:
[0051] Step 1: Collect original image data in battlefield environment using a monocular camera mounted on a drone.
[0052] Step 2: Enhance and denoise the collected original image.
[0053] (1) Image denoising algorithm
[0054] When drones acquire and transmit aerial images, image noise is generated due to the shaking of the aircraft, the environment, and other external interferences. The noise will greatly affect the image quality. This makes image segmentation and feature extraction more difficult, which has a great impact on the subsequent pose calculation process. Therefore, the image needs to be denoised before feature extraction. This study proposes an image denoising method based on the residual network in deep learning. The residual network structure is as follows: Figure 2 shown.
[0055] The noise-free image is used as the network output, and the noisy image is used as the network input. A residual network model is constructed, and the structural similarity loss is defined. The network parameters are optimized by minimizing the loss function, and finally an image denoising model is obtained.
[0056] (2) Image brightness enhancement algorithm
[0057] When a drone shoots a moving object, due to insufficient lighting and other reasons as well as the limitations of the imaging system itself, the image sequence or video sequence shot has bright or dark brightness, which reduces the image quality. Therefore, this scheme is based on the Retinex method in the field of image brightness enhancement methods, which decomposes the image sequence with uneven brightness into multiple scales to retain more local features and detail information of the image sequence. The image to be enhanced is decomposed into an incident component and a reflected component by a Gaussian filter. The proportion of the incident component is reduced and the proportion of the reflected component is increased to enhance the image sequence. The Retinex algorithm decomposes the original image into an illumination component and a reflected component, performs a contrast enhancement operation on the reflected component, performs color correction on the illumination component, and synthesizes the enhanced reflected component and illumination component into the final enhanced image.
[0058] The algorithm first decomposes the input image into three parts: low frequency, medium frequency and high frequency through a Gaussian filter, and then performs single-scale Retinex enhancement on each part. The enhanced images are fused by adjusting the weight parameters, and the enhanced image sequence is obtained by using the global color enhancement algorithm. The image is divided into incident component and reflected component through an improved multi-scale decomposition method, and the ratio of the incident component and the reflected component is adjusted. The image fused by the original color restoration function is improved by weighted combination of single scales at different scales, which will cause color distortion and unsaturation, and the image information is not rich. By introducing the tone mapping algorithm, the contrast and gradient of the edge area can be adjusted, so that the contrast of the entire image becomes gentle, highlighting the detailed features of the image, and the improved average color enhancement process can reduce the amount of calculation and improve the calculation rate of motion image sequence enhancement.
[0059] Step 3: Perform feature extraction and matching on the processed image data based on deep learning algorithms.
[0060] (1) Feature extraction based on deep learning
[0061] With the development of artificial intelligence technology, the commonly used feature extraction algorithms include traditional pixel-level feature extraction and deep learning algorithms. Traditional pixel-level feature extraction algorithms mainly include texture features, shape features, and frequency domain features. Deep learning algorithms combine convolutional neural networks (CNN) and attention mechanisms (Transformer). Figure 4As shown in the figure, the CNN network gradually increases the receptive field and encodes features from local to global; the Transformer starts with global self-attention and finally restores local details. By leveraging the advantages of CNN and Transformer, TransFuse (Transformer CNNFusion) can capture global information without building a very deep network while maintaining sensitivity to low-level context, and learn high-level features of images from both global and local perspectives, thereby extracting more discriminative and robust feature points. Figure 3 This is the Retinex algorithm flow chart for multi-scale decomposition; Figure 5 This is the Lofter architecture diagram.
[0062] (2) Feature matching based on deep learning
[0063] To improve the accuracy and robustness of the multi-UAV collaborative positioning system, the LoFTR feature matching algorithm based on deep learning can improve the accuracy and robustness of feature matching by learning the method of image registration. The LoFTR algorithm can generate high-quality matches even in blurred areas with low texture, motion blur or repeated patterns. It mainly consists of four modules: the first is to extract local features using CNN, extract coarse-grained image feature maps and fine-grained image feature maps from image pairs; the second is coarse-grained level local feature conversion: the coarse-grained image feature map is flattened and added with position encoding, and then input into the LoFTR module. Its purpose is to convert the features into an easy-to-match score matrix through the global receptive field of Attention; the third is coarse-grained matching, matching the converted coarse-grained features, and using OTlayer to calculate a matching confidence matrix. Based on this matrix, matches with confidence higher than a certain threshold are selected as the results of coarse-grained matching. The fourth is fine-grained matching. After the coarse-grained matching, the coarse-grained to fine-grained module is used to refine these matches to the original image resolution, and a correlation-based method is used to generate fine-grained matches based on the aggregated features. The LoFTR algorithm can better match low-texture images and similar areas without relying on traditional feature descriptors (such as SIFT, ORB, etc.). This greatly improves the accuracy of feature point matching, especially in areas with repeated patterns or similar textures.
[0064] Step 4: The extracted features are fused based on the visual-inertial sensor to obtain high-precision feature point coordinate values.
[0065] (1) VINS visual-inertial fusion method based on optimal filtering
[0066] With the increasing complexity of battlefield environments, in order to further obtain environmental perception information, UAVs can use visual data, inertial sensors (IMU) and other data for fusion positioning. Based on the VINS method of optimal filtering, a visual-inertial tight coupling is constructed, and two improved optimal filtering algorithms are derived. The front end of the algorithm uses a monocular vision sensor to track and observe three-dimensional fixed targets on the global map to obtain observation information, and uses a multi-rate data fusion method to solve the problem of inconsistent working frequencies of visual and inertial sensors; the back end of the algorithm is based on the front end's processing of visual-inertial information, and uses two improved optimal filtering algorithms, L-UKF and InEKF, to fuse visual observation information with IMU measurement data to achieve filtered estimation of navigation status. Figure 6 As shown in the figure, whenever the visual sensor inputs image frame information, the system will extract, match and track the feature point information on the image frame through deep learning technology, use the KLT tracking algorithm to track the feature point set extracted from the previous image frame, and combine the threshold constraint method to obtain the valid feature point set of the current frame. The observation quantity of the feature point is input into the back-end filter as the processed visual observation information for fusion with the IMU measurement data. Based on the visual inertial information processed by the front end, the VINS back end uses the improved L-UKF algorithm and InEKF algorithm to fuse the processed visual inertial information. The VINS back end first establishes the motion state space model of the carrier, then derives the optimal filtering method based on the constructed state model, and finally uses the derived filtering method to fuse the visual inertial information processed by the front end.
[0067] The proposed algorithm was verified by measured data. The results showed that the two improved optimal filtering algorithms proposed can effectively improve the positioning accuracy and locate the UAV according to the continuously updated information.
[0068] (2) VINS method based on factor graph optimization
[0069] Traditional factor graph optimization has the problem of computational scale. Unlike the optimal filtering method, the factor graph optimization method only needs to consider the impact of the previous moment, and it needs to consider the overall state quantity. As time goes by, the data to be optimized gradually accumulates, making the amount of data too large to be processed in real time. In order to improve the accuracy and timeliness of the multi-UAV collaborative positioning system, ensure the real-time positioning and effective tracking of collaborative UAVs during flight. Based on the VINS method of factor graph optimization, this study proposed a sliding window factor graph optimization algorithm (DSWFG) that dynamically constructs sliding window prior information. Figure 7As shown in the figure, the front-end IMU pre-integration method of the VINS algorithm processes the front-end IMU data, integrates the IMU measurement values between two adjacent image frames into a constraint, so that the processed IMU information is aligned with the image information, and the processed visual inertial data is transmitted to the back-end; the back-end optimization part of the algorithm limits the data operation scale through the sliding window, and then constructs and optimizes the factor graph of the state quantity to be optimized in the window; at the same time, the sliding window prior information is dynamically set to maintain the inter-frame constraints to ensure the accuracy of the state estimation after optimization in the window. The factor graph optimized VINS method can fuse and interact the information of drone sensors, analyze complex battlefield targets and spatiotemporal trajectory planning characteristics, and improve collaborative positioning and autonomous navigation capabilities.
[0070] The proposed algorithm was verified by measured data. The results showed that the proposed DSWFG algorithm can effectively improve the positioning capability and maintain relatively optimal solution accuracy, good stability and robustness in multiple scenarios.
[0071] Step 5: Calculate the relative position of the drone based on the coordinate values of the feature points obtained after information fusion.
[0072] Traditional UAV pose estimation methods rely on the scene structure of 3D motion estimation, which reduces robustness and makes it difficult to generalize across datasets. In order to perform more efficient UAV pose estimation, this solution uses the PNP pose parameter solution algorithm. The system input is the measured feature point coordinates, and the output is the relative position and angle parameter identification results of the two UAVs. The solution process is as follows: Figure 8 shown.
[0073] In the process of imaging space targets, by establishing a mathematical model of monocular camera imaging, it is possible to describe the transformation relationship from the two-dimensional pixel information on the camera image plane to the three-dimensional coordinates of the real world. The world coordinate system is a Cartesian coordinate system in three-dimensional space. The origin can be any point in three-dimensional space, and the coordinate axis can be any orientation that satisfies the Cartesian coordinate system. In this scheme, the origin of the world coordinate system is placed at the geometric center of the non-cooperative target model, and the three-dimensional coordinate axis is set according to the model characteristics of the target aircraft, that is, the world coordinate system is the same as the model body coordinate system, also known as the space coordinate system.
[0074] The pose measurement of monocular vision is based on the coordinate values of the feature points in the spatial coordinate system and their projection to the feature points on the camera. The relative position and pose of the spatial coordinate system relative to the camera coordinate system are calculated by the camera projection model.
[0075] For the skeleton envelope of the fixed-wing UAV, the following are set for the significant feature points: Fig. 9The key joints shown are not vertically symmetrical, so pose estimation can be performed directly without prejudging the top-down and top-down situations. In the case of visual observation only, pose estimation can be performed using a direct method or iteratively optimized using an optimization method.
[0076] Considering that two drones can communicate with each other, the constraints of ground feature points can be added. For the ground, the road network structure and key terrain feature points can be extracted, and the odometer can be calculated using the VIO algorithm; at the same time, the public field of view area can be segmented by direct detection methods (such as Fig.10 and Fig.11 As shown in the figure, the method of performing feature point matching first, extracting the overlapping area and storing the matching point pairs in the area can be used to generate temporary constraints at the same time; the odometer contains the motion information of the drone and can generate long-term constraints. The two can perform long-term joint optimization on the relative pose estimation and gradually improve the accuracy of relative pose estimation.
[0077] Step 6: Build a map based on multi-UAV positioning information.
[0078] (1) Single UAV sub-map construction
[0079] During the flight, the UAV can obtain image information fused by the visual-inertial sensor at fixed time intervals. Therefore, in the images of different consecutive frames, the VINS visual-inertial fusion method based on optimal filtering or the VINS method based on factor graph optimization is combined to generate point cloud maps of different frames. In the process of constructing point cloud maps by UAV, due to the error in the estimated information, it is necessary to continuously optimize and filter the extracted environmental point cloud features, and calculate the changes in different point cloud maps between each frame. Through the far-short distance point sampling method, the feature points that are closer to the UAV and the feature points that are farther away are retained. The UAV saves the filtered feature points during the movement, and forms an environmental point cloud map for estimating the position of the UAV through continuous accumulation.
[0080] (2) Fusion of multiple drone sub-maps
[0081] During the map fusion process, the point cloud map is constructed based on the coordinate system of the drone that constructs the map. In a multi-drone system, the point cloud map constructed by each drone based on its own coordinates is relatively independent and cannot provide positioning information for other drones, nor can it reflect the positional relationship between drones in the system. This map is also called a sub-map. To complete the positioning of a multi-drone system, it is necessary to establish a connection between the various local maps so that each sub-map is converted to the same coordinate system to form a point cloud map containing the positioning and posture information of all drones, that is, a unified coordinate system map, to achieve the association of drone positioning data. Fig.12 As shown in the figure, this study establishes the transformation relationship between the two maps through overlapping feature matching and coordinate transformation, and then fuses the two maps in the same coordinate system to reconstruct a new multi-UAV collaborative map, which reflects the positional relationship of multiple UAVs and provides positioning information for multi-UAV collaborative search.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for collaborative positioning and mapping of drone clusters, characterized in that: include: Step 1: Collect the original image in the satellite denial environment through the monocular camera carried by the drone; Step 2: Construct a residual network to learn the noise pattern of the original image and optimize the network parameters, and use the multi-scale Retinex method to adjust the contrast and brightness of the original image data, thereby denoising and enhancing the image to obtain a denoised image; Step 3: Extract and match the features of the denoised and enhanced image based on the deep learning algorithm to obtain feature points; Step 4: Fuse the visual information and inertial information of the extracted feature points; Step 5: According to the coordinate values of the feature points, the relative posture of the UAV is calculated by the PNP posture parameter calculation algorithm to obtain the relative position and posture of the UAV; Step 6: Build a map based on the relative positions of multiple drones and the extracted feature point coordinate information.
2. The method according to claim 1, characterized in that The step 2 comprises: The noise-free image is used as the network output, and the noisy image with the same noise pattern as the original image is used as the network input. A residual network model is constructed, and the structural similarity loss is defined. The network parameters are optimized by minimizing the loss function, and finally an image denoising model is obtained, which is used to denoise the images taken by the drone to obtain the denoised images. Based on the Retinex method in the field of image brightness enhancement methods, the denoised image sequence is decomposed at multiple scales, and the local features and detail information of the image sequence are retained as much as possible; the image obtained by multi-scale decomposition is decomposed into an incident component and a reflected component by a Gaussian filter; the proportion of the incident component is reduced, and the proportion of the reflected component is increased to achieve image sequence enhancement; the Retinex algorithm decomposes the denoised image into an illumination component and a reflected component, performs contrast enhancement on the reflected component, performs color correction on the illumination component, and combines the enhanced reflection component and illumination component into the final enhanced image.
3. The method according to claim 1, characterized in that: The step 3 comprises: The deep learning algorithm combines convolutional neural networks and attention mechanisms. The CNN network gradually increases the receptive field and encodes features from local to global. Transformer starts with global self-attention and finally restores local details. TransFuse captures global information while maintaining sensitivity to context, and learns image features from both global and local perspectives to extract feature points. The LoFTR algorithm is used to perform feature matching on the extracted feature points; The fast averaging method and RANSAC algorithm are combined to remove the points with incorrect feature matching and obtain the feature points.
4. The method according to claim 1, characterized in that: The step 4 comprises: The extracted feature points are fused with visual information and inertial information based on the visual-inertial sensor to obtain high-precision feature point coordinate values, and the feature point coordinate values are screened and saved according to the far-near distance point sampling method; At the front end of the algorithm, whenever the visual sensor inputs image frame information, the KLT tracking algorithm is used to track the feature point set extracted from the previous image frame according to the feature point set obtained by the system in step 3, and the threshold constraint method is combined to obtain the valid feature point set of the current frame. The observation value of the feature point is input into the back-end filter as the processed visual observation information for fusion with the IMU measurement data; The back-end optimization part of the algorithm limits the scale of data calculations through sliding windows, and then constructs and optimizes the factor graph of the state quantity to be optimized in the window; at the same time, the sliding window prior information is dynamically set to maintain the inter-frame constraints, ensuring the accuracy of the relative pose estimation of the drone after optimization in the window.
5. The method according to claim 4, characterized in that At the same time, the IMU pre-integration method at the front end of the VINS algorithm processes the front-end IMU data and integrates the IMU measurement values between two adjacent image frames into a constraint so that the processed IMU information is aligned with the image information. The processed visual inertial data is transmitted to the back end for fusion with the visual observation information.
6. The method according to claim 4, characterized in that Based on the visual-inertial information processed by the front end, the VINS back end uses the L-UKF algorithm and the InEKF algorithm to fuse the processed visual and IMU information; the VINS back end first establishes the motion state space model of the carrier, and then derives the optimal filtering method based on the constructed state model, and finally uses the derived filtering method to fuse the visual-inertial information processed by the front end to obtain high-precision feature point coordinate values.
7. The method according to claim 1, characterized in that The step 5 comprises: The PNP pose parameter calculation algorithm is used to convert the feature point coordinate values into the relative position and rotation angle parameter identification results of the dual UAVs, thereby obtaining the relative pose of the UAVs.
8. The method according to claim 7, characterized in that The step 5 specifically includes: The input of the PNP pose parameter solution algorithm is the measured feature point coordinate value, and the output is the relative position and rotation angle parameter identification result of the dual UAVs: input the camera internal parameter matrix and distortion coefficient, input the 2D feature points and the corresponding 3D coordinate values, solve the camera pose, calculate the three-axis Euler angle, solve the value in the camera coordinate system, and output the relative position and rotation angle parameters of the UAVs; In the process of imaging space targets, a mathematical model of monocular camera imaging is established to describe the transformation relationship from the two-dimensional pixel information on the camera image plane to the three-dimensional coordinates of the real world; the origin of the world coordinate system is placed at the geometric center of the non-cooperative target model, and the three-dimensional coordinate axes are set according to the model characteristics of the target aircraft, that is, the world coordinate system is the same as the model body coordinate system, also known as the space coordinate system; The coordinate values of the feature points are converted into the relative position and posture of the drone through monocular vision. According to the coordinate values of the feature points in the spatial coordinate system and their projection to the feature points on the camera, the relative position and posture of the spatial coordinate system relative to the camera coordinate system are calculated by the camera projection model.
9. The method according to claim 8, characterized in that For the skeleton envelope of fixed-wing UAVs, multiple key joints are set for significant feature points. The multiple key joints are not vertically symmetrical, so the pose estimation can be performed directly without prejudging the downward and upward viewing conditions. Considering the communication transmission between two UAVs, constraints of ground feature points are added; for the ground, the road network structure and key terrain feature points are extracted, and the odometer is calculated using the VIO algorithm; at the same time, the public field of view is segmented by direct detection, and then feature point matching is performed, or feature point matching is performed first, and then the overlapping area is extracted and the matching point pairs in the area are stored; the matching points in the overlapping area generate temporary constraints at the same time; the odometer contains the motion information of the UAV and can generate long-term constraints.
10. The method according to claim 1, characterized in that The step 6 comprises: During the flight, the UAV can obtain relevant information fused by the visual-inertial sensor at fixed time intervals, including posture and speed; therefore, in the images of different consecutive frames, the coordinate values of the feature points obtained by the method in step 4 are combined with the relative posture obtained in step 5 to generate point cloud maps of different frames; in the process of constructing the point cloud map by the UAV, due to the error in the estimated information, it is necessary to continuously optimize and screen the extracted environmental point cloud features, and at the same time calculate the changes in different point cloud maps between each frame, and retain the feature points that are closer and farther away from the UAV through the far-short distance point sampling method; the UAV saves the screened feature points during the movement, and forms an environmental point cloud map for estimating the position of the UAV through continuous accumulation; During the map fusion process, the point cloud map is constructed based on the coordinate system of the drone that constructs the map. In a multi-drone system, the point cloud map constructed by each drone based on its own coordinates is relatively independent and cannot provide positioning information for other drones, nor can it reflect the positional relationship between drones in the system. This map is also called a sub-map. To complete the positioning of a multi-drone system, it is necessary to establish a connection between the various local maps so that each sub-map is converted to the same coordinate system to form a point cloud map containing the positioning and attitude information of all drones, that is, a unified coordinate system map, to achieve the association of drone positioning data; The transformation relationship of the environmental point cloud maps of the two UAVs is established through overlapping feature matching and coordinate transformation. Then the environmental point cloud maps of the two UAVs are fused in the same coordinate system and reconstructed into a new multi-UAV collaborative map. This map reflects the positional relationship of multiple UAVs and provides positioning information for multi-UAV collaborative search.
Citation Information
Patent Citations
Indoor distributed unmanned aerial vehicle cluster positioning and mapping method
CN117830879A
Cited By
Orchard plant protection robot cluster operation system
CN119472668A
Camera system adjusting method under complex light application condition
CN119893259A
Unmanned aerial vehicle visual navigation and positioning method, system and related equipment
CN120043532A
Air-ground cooperative robot cooperative positioning system and method
CN120091264A
Unmanned aerial vehicle sensing house safety appraisal management system and method based on BIM
CN120808214A
