UAV navigation method, device, equipment and storage medium in a denied environment

By performing image clipping and feature matching on UAV camera data, and correcting inertial navigation errors, the problem of low UAV navigation and positioning accuracy in a denied environment is solved, and higher navigation accuracy and autonomous navigation capabilities are achieved.

CN118640899BActive Publication Date: 2024-10-29WUHAN ZHUOMU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411138447.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-29
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

In a denied environment, the drone's inertial navigation system cannot autonomously correct the accumulated errors, resulting in the inability to navigate and position autonomously when the GPS fails, which may result in an forced landing or crash.

Method used

By obtaining the internal parameters and pose data of the UAV camera, the satellite reference image is clipped, key points and feature descriptors are extracted and matched, and feature matching algorithms are used to perform resection, correct inertial navigation errors, and improve positioning accuracy.

Benefits of technology

In a denied environment, the positioning accuracy of the drone is improved, the autonomous navigation capability of the drone is ensured, and the risk of forced landing or crash is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118640899B_ABST
    Figure CN118640899B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for navigating a drone in a denied environment, comprising the following steps: obtaining the internal parameters of the current drone camera, the captured image, and the pose data provided by the inertial navigation; cropping the satellite reference image based on the pose data; extracting the respective key points and feature descriptors based on the captured image and the cropped image respectively; matching the key points of the captured image with the key points of the cropped image using a feature matching algorithm; performing a rear intersection based on the matching result to obtain calibrated pose data; performing error correction on the drone pose data provided by the inertial navigation system based on the calibrated pose data; and navigating the drone using the corrected drone pose data in combination with the airborne inertial navigation system. The present invention improves the positioning accuracy of the drone in a denied environment by extracting the key points of the captured image and the key points of the cropped image respectively, and calibrating the drone pose data using the matching results of the key points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drone navigation technology, and in particular to a drone navigation method, device, equipment and storage medium in a denied environment. Background Art

[0002] At present, the navigation methods of UAVs mainly rely on inertial navigation and GPS. The inertial navigation system uses the angular velocity information measured by the gyroscope to calculate the attitude matrix. It does not rely on external information and is not susceptible to electromagnetic interference. However, since the navigation information is generated through integration, the positioning error will increase over time, and the accuracy is poor during long-term flight. GPS navigation has high accuracy, but in the wild with severe obstruction or under strong electromagnetic interference, the accuracy, availability, continuity and integrity of GPS are seriously threatened.

[0003] In a denied environment, the drone's satellite navigation system, such as Beidou or GPS, will be subject to external interference or fail directly. The traditional autonomous navigation method cannot continuously update accurate position data to correct the accumulated errors caused by inertial navigation, so that the drone cannot autonomously navigate and position in a GPS denied environment, resulting in forced landing or crash. Summary of the invention

[0004] The present invention proposes a method, device, equipment and storage medium for unmanned aerial vehicle navigation in a denied environment, which solves the problem that the traditional autonomous navigation method cannot correct the accumulated error generated by inertial navigation in a denied environment, resulting in the unmanned aerial vehicle being unable to autonomously navigate and position in a GPS denied environment.

[0005] The technical solution of the present invention is achieved in this way:

[0006] A first aspect of the present invention provides a method for unmanned aerial vehicle navigation in a denied environment, comprising the following steps:

[0007] Obtain the internal parameters and captured images of the current drone camera, and obtain the drone posture data provided by the onboard inertial navigation system;

[0008] The satellite reference image is cropped based on the acquired UAV posture data to obtain a cropped image;

[0009] Extracting key points and feature descriptors based on the captured image and the cropped image respectively;

[0010] Use a feature matching algorithm to match the key points of the captured image with the key points of the cropped image to obtain a matching result;

[0011] Perform resection based on the matching results to obtain the calibrated posture data of the UAV;

[0012] Based on the calibrated posture data, error correction is performed on the UAV posture data provided by the airborne inertial navigation system;

[0013] The UAV is navigated using the corrected UAV posture data combined with the onboard inertial navigation system.

[0014] The UAV navigation method provided by the present invention clips the satellite reference image according to the UAV posture data provided by inertial navigation, extracts the key points of the captured image and the key points of the clipped image respectively, and calibrates the UAV posture data using the matching results of the key points, and finally uses the calibrated UAV posture data to correct the inertial navigation error, thereby improving the positioning accuracy of the UAV in a denied environment.

[0015] Specifically, the internal parameters of the camera include: camera focal length, pixel size, principal point coordinates and distortion parameters; the drone posture data includes: longitude and latitude, altitude, heading angle, pitch angle and roll angle.

[0016] Specifically, the method for clipping the satellite reference image based on the drone posture data includes:

[0017] Estimate the longitude and latitude coordinates corresponding to the center pixel of the camera based on the drone’s posture data;

[0018] Calculate the geographic coordinate range of the captured image based on the estimated latitude and longitude coordinates corresponding to the center pixel of the camera and the internal parameters of the camera;

[0019] According to the geographic coordinate range of the captured image, an image that is consistent with the geographic coordinate range is cropped on the reference image as a cropped image.

[0020] Specifically, the method of extracting key points and feature descriptors based on captured images or cropped images includes:

[0021] Preprocessing the captured image or the cropped image;

[0022] The preprocessed captured image or cropped image is convolved through the VGG style encoder to obtain a 64-channel feature map with a side length of 1 / 8 of the captured image or cropped image.

[0023] Use softmax as the activation function to process the feature map of the captured image or the cropped image, and discard the channel with the smallest processing probability to obtain the feature tensor of the captured image or the cropped image;

[0024] Rearranging the shape of the feature tensor of the captured image or the cropped image to obtain the feature tensor of the captured image or the cropped image with the same size as the original image;

[0025] Using a non-maximum suppression algorithm to process the feature tensor of the captured image or the cropped image, the key points of the captured image or the cropped image and their corresponding confidence levels are obtained;

[0026] Using the UCN network to process the feature map of the captured image or the cropped image, a semi-dense feature descriptor of the captured image or the cropped image is obtained;

[0027] Using a bicubic interpolation algorithm to process the semi-dense feature descriptor of the captured image or the cropped image, to obtain a complete feature descriptor of the captured image or the cropped image;

[0028] Use the L2-normalizes normalization algorithm to process the complete feature descriptor of the captured image or the cropped image to obtain a normalized feature descriptor of the captured image or the cropped image;

[0029] Specifically, before matching the key points of the captured image with the key points of the cropped image, a non-maximum suppression algorithm is used to optimize the key points of the captured image and the cropped image. The specific method includes:

[0030] A non-maximum suppression algorithm is used to process the key points of the captured image or the cropped image to obtain sparse key points of the captured image or the cropped image;

[0031] The confidences corresponding to the sparse key points of the captured or cropped images are processed using a quick sorting algorithm, and the 300 key points of the captured or cropped images with the highest confidences are selected to obtain the optimized key points of the captured or cropped images.

[0032] Specifically, the method of matching the key points of the captured image with the key points of the cropped image using the feature matching algorithm includes:

[0033] The key points of the captured image and the key points of the cropped image are encoded using a key point encoder, and their coordinates and corresponding feature descriptors are used to form a captured image mixed vector and a cropped image mixed vector;

[0034] The inner product calculation graph neural network is used to process the feature descriptors of the captured image and the feature descriptors of the cropped image to obtain the similarity of the matching feature descriptors;

[0035] The similarity of the matching feature descriptors is processed using a matching pair score calculation algorithm to obtain a score matrix;

[0036] The Sinkhorn algorithm is used to process the score matrix to obtain the matching results.

[0037] Specifically, the method for performing resection based on the matching result includes:

[0038] Using the matching results, the corresponding relationship between the pixel coordinates of the key points of the captured image and the key points of the cropped image is obtained;

[0039] Use geographic information related software to read the correspondence between the pixel coordinates of the key points of the cropped image and the geographic coordinates;

[0040] The corresponding relationship between the pixel coordinates of the key points of the captured image and the cropped image and the corresponding relationship between the pixel coordinates of the key points of the cropped image and the geographic coordinates are obtained;

[0041] The error equation is formed by using the UAV posture data provided by the airborne inertial navigation system and the geographic coordinate relationship corresponding to the pixel coordinates of the captured image, and then normalized to obtain the correction number of the exterior orientation element;

[0042] The normalized error equation is iterated until the correction number of the external orientation element is less than the limit error, thus obtaining the calibrated posture data of the UAV.

[0043] A second aspect of the present invention provides a drone navigation device in a denied environment, comprising:

[0044] The acquisition module is used to obtain the internal parameters and captured images of the current drone camera and the drone posture data provided by the airborne inertial navigation system;

[0045] A clipping module is used to clip the satellite reference image according to the acquired UAV posture data to obtain a clipped image;

[0046] An extraction module, used for extracting key points and feature descriptors of the captured image and the cropped image respectively;

[0047] A matching module matches the key points of the captured image with the key points of the cropped image;

[0048] The calibration module is used to perform rear intersection according to the matching results to obtain calibrated posture data of the UAV. The calibrated posture data is used to perform error correction on the UAV posture data provided by the airborne inertial navigation system. The airborne inertial navigation system uses the corrected UAV posture data to navigate the UAV.

[0049] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the above-mentioned navigation method when executing the computer program.

[0050] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned navigation method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 A schematic flow chart of a method for navigating a drone in a denied environment according to the present invention;

[0053] Figure 2 A schematic diagram of a VGG-style encoder-decoder network structure for extracting image key points and feature descriptors in the present invention;

[0054] Figure 3 It is a schematic diagram of matching and iteratively optimizing key points of captured images and cropped images based on the attention graph neural network of the present invention. DETAILED DESCRIPTION

[0055] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Reference Figure 1 The first aspect of the present invention provides a method for navigating a drone in a denied environment, comprising the following steps:

[0057] Obtain the internal parameters and captured images of the current drone camera, and obtain the drone posture data provided by the onboard inertial navigation system;

[0058] The satellite reference image is cropped based on the acquired UAV posture data to obtain a cropped image;

[0059] Extracting key points and feature descriptors based on the captured image and the cropped image respectively;

[0060] Use a feature matching algorithm to match the key points of the captured image with the key points of the cropped image to obtain a matching result;

[0061] Perform resection based on the matching results to obtain the calibrated posture data of the UAV;

[0062] Based on the calibrated posture data, error correction is performed on the UAV posture data provided by the airborne inertial navigation system;

[0063] The UAV is navigated using the corrected UAV posture data combined with the onboard inertial navigation system.

[0064] The UAV navigation method provided by the present invention clips the satellite reference image according to the UAV posture data provided by inertial navigation, extracts the key points of the captured image and the key points of the clipped image respectively, and calibrates the UAV posture data using the matching results of the key points, and finally uses the calibrated UAV posture data to correct the inertial navigation error, thereby improving the positioning accuracy of the UAV in a denied environment.

[0065] Specifically, the internal parameters of the camera include: camera focal length, pixel size, principal point coordinates and distortion parameters; the UAV posture data includes attitude, elevation and geographic coordinate information, specifically: longitude and latitude, altitude, heading angle, pitch angle and roll angle.

[0066] Specifically, the method for clipping the satellite reference image based on the drone posture data includes:

[0067] Estimate the longitude and latitude coordinates corresponding to the center pixel of the camera based on the drone's posture data:

[0068]

[0069] Among them, X and Y are the longitude and latitude corresponding to the estimated camera center pixel; X0 and Y0 are the longitude and latitude of the drone provided by the inertial navigation system; is the ratio of unit longitude to unit length, is the ratio of unit latitude to unit length; H, h, p, and r are the altitude, heading angle, pitch angle, and roll angle of the drone provided by the inertial navigation system respectively;

[0070] According to the estimated latitude and longitude coordinates corresponding to the center pixel of the camera and the internal parameters of the camera, the geographic coordinate range of the captured image is calculated:

[0071]

[0072] Among them, (x - ,y - ) is the geographic coordinate of the lower left corner of the captured image, (x + ,y + ) is the geographic coordinate of the upper right corner of the captured image; f is the focal length of the camera, and N is the proportional constant;

[0073] According to the geographic coordinate range of the captured image, an image that is consistent with the geographic coordinate range is cropped on the reference image as a cropped image.

[0074] Specifically, the method of extracting key points and feature descriptors based on captured images or cropped images includes:

[0075] Preprocessing the captured image or the cropped image, the preprocessing including grayscale conversion, denoising, scale normalization, rough correction and histogram equalization processing;

[0076] The specific method of preprocessing the captured image or the cropped image is as follows:

[0077] 1) Using OpenCV to directly perform grayscale operation when reading the captured image or cropping the image;

[0078] 2) roughly correcting the captured image or the cropped image using the heading angle so that the lateral positive direction of the image coordinate system roughly points to the true north direction;

[0079] 3) Using the fastNlMeansDenoising function in OpenCV to process the grayscaled captured image or cropped image to eliminate some noise points in the image;

[0080] 4) Using the resize function in OpenCV to process the denoised image or the cropped image, and resize it to 640 pixels × 480 pixels;

[0081] 5) Using the equalizeHist function in OpenCV, the resized captured image or cropped image is processed to make its texture features more prominent.

[0082] like Figure 2 As shown, the preprocessed captured image or cropped image is convolved through a VGG style encoder to obtain a 64-channel feature map with a side length of 1 / 8 of the captured image or cropped image;

[0083] The network structure of the encoder can be expressed as:

[0084]

[0085] Among them, pic is the captured image or cropped image, feature represents a 64-channel feature map with a side length of 1 / 8 of the captured image or cropped image, and the function The expression is as follows:

[0086]

[0087] Among them, x is the input tensor, Pooling is pooling with a stride of 2, Conv is a convolution with a convolution kernel of 3×3, and Relu is an activation function; each time the captured image or cropped image input to the VGG style encoder network undergoes a convolution operation, the channels of the feature map are doubled and further input into the activation function Relu for processing; after the above steps are repeated twice, pooling with a stride of 2 is performed to reduce the size of the feature map by half; after the above two steps are repeated 3 times, a 64-channel feature map with a side length of 1 / 8 of the captured image or cropped image is obtained.

[0088] Use softmax as the activation function to process the feature map of the captured image or the cropped image, and discard the channel with the smallest processing probability to obtain the feature tensor of the captured image or the cropped image;

[0089] It can be divided into the following steps:

[0090] Step 1: For each channel feature map, calculate its softmax activation value at that position. Assume that the feature map has C channels and the size is H×W, where H is the height of the feature map and W is the width of the feature map. For a specific position The pixel value at is calculated as:

[0091]

[0092] Among them, i is the horizontal coordinate of the pixel in the tensor, j is the vertical coordinate of the pixel in the tensor, is channel c at position The original eigenvalues ​​of is the probability value after softmax processing;

[0093] Step 2: discard the channel with the smallest probability after processing, and at each position On the graph, find the channel C with the smallest softmax activation value min :

[0094]

[0095] Among them, argmin C Represents the operation of finding the channel with the minimum softmax activation value; then, the value of this channel at that position is set to zero:

[0096]

[0097] Step 3: Recombine the feature map after discarding the channel with the minimum probability value to obtain a new feature tensor Specifically, for each position , the new feature tensor The values ​​are:

[0098]

[0099] Rearranging the shape of the feature tensor of the captured image or the cropped image to obtain the feature tensor of the captured image or the cropped image with the same size as the original image;

[0100] Use the non-maximum suppression algorithm to process the feature tensor of the captured image or the cropped image to obtain the key points of the captured image or the cropped image and their corresponding confidence levels. The specific steps are as follows:

[0101] Suppose the feature map is F, and its size is H×W×C, where H is the height of the feature map, W is the width of the feature map, and C is the number of channels of the feature map. The response value at each position is , where i is the horizontal coordinate of the pixel in the tensor and j is the vertical coordinate of the pixel in the tensor; for each position in the feature map , do the following:

[0102] 1) Set a suppression window of size 3×3 and obtain all response values ​​in the current window. The center of the window is , the window range is:

[0103] ;

[0104] 2) Determine the current point Is it a local maximum in the window?

[0105] ;

[0106] If the current point If it is a local maximum, then the value is retained and recorded as a key point; otherwise, it is set to zero. Finally, the key point of the captured image or cropped image is obtained. , the size is H×W×65, and the corresponding confidence is The value of .

[0107] Use the UCN network to process the feature map of the captured image or the cropped image to obtain a semi-dense feature descriptor of the captured image or the cropped image. The specific method is as follows:

[0108] The feature map F of size H×W×C is input into the UCN network, where H is the height of the feature map, W is the width of the feature map, and C is the number of channels of the feature map. After passing through the UCN network consisting of four convolutional layers and one fully connected layer, a semi-dense feature descriptor D of size H×W×256 is obtained.

[0109] Use the bicubic interpolation algorithm to process the semi-dense feature descriptor of the captured image or the cropped image to obtain the complete feature descriptor of the captured image or the cropped image. The specific method is as follows:

[0110] Bicubic interpolation is to calculate the value of the interpolation point based on the values ​​of the 16 nearest neighbor points in the semi-dense feature descriptor D of the captured image or the cropped image. The size of the semi-dense feature descriptor D of the captured image or the cropped image is H×W×256. For each interpolation point, the 16 pixel values ​​are used for weighted averaging, and the specific method is:

[0111]

[0112] Among them, x is the horizontal coordinate of the interpolation point, y is the vertical coordinate of the interpolation point, I(x,y) is the value of the corresponding coordinate interpolation point, w(i,j) is the cubic spline function, and the output semi-dense feature descriptor I(x,y) of the captured image or cropped image is of size H×W×256.

[0113] Use the L2-normalizes normalization algorithm to process the complete feature descriptor of the captured image or cropped image to obtain the normalized feature descriptor of the captured image or cropped image. The specific method is as follows:

[0114] For each complete feature descriptor I(x,y) of the captured image or cropped image, calculate its L2 norm and divide each element by the norm. The L2 norm calculation formula is as follows:

[0115]

[0116] Normalized feature vector The calculation formula is:

[0117] .

[0118] Specifically, before matching the key points of the captured image with the key points of the cropped image, a non-maximum suppression algorithm is used to optimize the key points of the captured image and the cropped image. The specific method includes:

[0119] The non-maximum suppression algorithm is used to process the key points of the captured image or the cropped image to obtain the sparse key points of the captured image or the cropped image. The specific method is as follows:

[0120] The image key point is F, and its size is H×W×C, where H is the height of the key point, W is the width of the key point, and C is the number of key points. The response value at each position, that is, the confidence of the key point at that position is , where i∈[0,H] is the horizontal coordinate of the position in the key point, and j∈[0,W] is the vertical coordinate of the position in the key point; for each position in the key point , do the following:

[0121] 1) Set a suppression window of size 3×3 and obtain all response values ​​in the current window. The center of the window is , the window range is:

[0122] ;

[0123] 2) Determine the current point Is it a local maximum in the window?

[0124]

[0125] If the current point If it is a local maximum, then keep the value and record it as a new key point; otherwise, set it to zero. Finally, the key point of the captured image or cropped image is obtained. , the size is H×W×65, and the corresponding confidence is The value of .

[0126] Use the quick sorting algorithm to process the confidence corresponding to the sparse key points of the captured image or cropped image, select the 300 key points of the captured image or cropped image with the highest confidence, and obtain the optimized key points of the captured image or cropped image. The specific method is as follows:

[0127] The image key point is F, and its size is H×W×C, where H is the height of the key point, W is the width of the key point, and C is the number of key points. The response value at each position, that is, the confidence of the key point at that position is , the confidence corresponding to all key points forms an array F all , where i∈[0,H] is the horizontal coordinate of the position in the key point, and j∈[0,W] is the vertical coordinate of the position in the key point; for each position in the key point , do the following:

[0128] 1) Set a cutoff value ρ = 0.015, through which the array F consisting of the confidence scores of the key points is all Divide into two parts, left and right;

[0129] 2) The key points with confidence greater than or equal to the cutoff value are concentrated on the right side of the array, and the key points with confidence less than the cutoff value are concentrated on the left side of the array. At this time, each element in the left part is less than or equal to the cutoff value, and each element in the right part is greater than or equal to the cutoff value;

[0130] 3) Then, the confidences corresponding to the key points on the left and right can be sorted independently; for the confidences corresponding to the key points on the left, a cutoff value can be taken to divide the data into two parts, with smaller values ​​on the left and larger values ​​on the right. The confidences corresponding to the key points on the right can also be processed similarly.

[0131] 4) Repeat the above process, and you can see that this is a recursive definition. After recursively sorting the left part, recursively sort the right part. When the confidence scores corresponding to the key points of the left and right parts are sorted, the entire array F all The sorting is completed.

[0132] 5) Select the key points extracted from the 300 captured images or cropped images with the highest confidence, and obtain the filtered captured image or cropped image key points F ed (i, j) and the feature descriptor I of the corresponding position ed (i,j).

[0133] Specifically, the method of matching the key points of the captured image with the key points of the cropped image using the feature matching algorithm includes:

[0134] Use the key point encoder to encode the key points of the captured image and the key points of the cropped image, and encode their coordinates (i, j) and the corresponding feature descriptor I ed (i, j) constitutes the mixed vector of the captured image and the mixed vector of the cropped image;

[0135] The inner product calculation graph neural network is used to process the feature descriptors of the captured image and the feature descriptors of the cropped image to obtain the similarity of the matching feature descriptors;

[0136] like Figure 3 As shown, in order to simulate the process of humans browsing back and forth when matching, the above inner product calculation graph neural network uses the MultiHeadedAttention function in pytorch to construct self-attention aggregation and cross-attention aggregation networks to process the mixed vectors of captured images and the mixed vectors of cropped images to obtain the captured image matching feature descriptors and the cropped image matching feature descriptors.

[0137] The similarity of the matching feature descriptors is processed using a matching pair score calculation algorithm to obtain a score matrix;

[0138] The score matrix is ​​obtained by adding a multi-layer perceptron (MLP layer) after the above self-attention aggregation and cross-attention aggregation networks to process the features of all key points.

[0139] Adding a trash bin channel at the end of the score matrix to filter out erroneous key points to obtain an optimized score matrix;

[0140] In order to let the network suppress some key points, the present invention uses a trash bin to explicitly assign unmatched key points to it. This technique is very common in graph matching and is often used to eliminate image units that may not be detected. By adding a new row and column after the score matrix, the trash bin score part is the newly added row and column, and a learnable parameter is added, which is used to determine whether each key point is assigned to the trash bin, that is, whether the key point is a valid key point.

[0141] The Sinkhorn algorithm is used to process the score matrix to obtain the matching results.

[0142] The Sinkhorn algorithm converts the matching problem into an assignment problem, that is, how to assign the key points c of the captured image to the key points r of the cropped image and achieve the best overall assignment result. Therefore, the following assignment matrix U can be listed:

[0143]

[0144] Wherein, m and n are the number of key points of the cropped image and the number of key points of the captured image, respectively, R represents all allocation matrices, P represents the allocation matrix of size not 0 included in the matrix R, P1 m With P T 1 n Represent the number of rows and columns of the matrix P respectively.

[0145] Furthermore, the loss matrix M is listed according to the optimal allocation scheme:

[0146]

[0147] where d M is a scalar, called the earth mover distance, which indicates the optimal number of steps required to complete the allocation; P ij With M ij Represent the values ​​of the elements located in the i-th row and j-th column in the matrix P and the matrix M respectively.

[0148] Define a distribution matrix based on the loss matrix M , where λ is the entropy regularization parameter, which is responsible for adjusting the influence of information entropy; then iterative calculation is performed, and each iteration first normalizes the value of each row and multiplies it by r, that is, the sum of all the values ​​of this row of the allocation matrix is ​​exactly r. Similarly, each column is normalized and multiplied by c, and the iteration is repeated until convergence. The converged allocation matrix is ​​the final optimal allocation result.

[0149] Specifically, the method for performing resection based on the matching result includes:

[0150] The matching results are used to obtain the corresponding relationship between the pixel coordinates of the key points of the captured image and the key points of the cropped image. The specific method is as follows:

[0151] The matching result provides a series of indices, namely F b (i b , j b )->F a (i a , j a ), where F b The key points extracted from the captured image, i b and j b are the pixel horizontal and vertical coordinates of the key points extracted from the captured image on the captured image, respectively, a The key points extracted for the cropped image, i a and j a are the pixel horizontal coordinates and vertical coordinates of the key points extracted from the cropped image on the captured image. This correspondence shows that the coordinates in the cropped image are (i a , j a ) and the pixel with coordinates (i b , j b ) are actually the same geographical location in different images, that is, these two points are matching points.

[0152] Using geographic information related software, such as GDAL (Geographic Data Library), you can read the correspondence between the pixel coordinates and geographic coordinates of the key points of the clipped image. The specific method is as follows:

[0153] GDAL can be used to directly read the pixel coordinates of the key points extracted from the above cropped image (i a , j a ) and the actual latitude and longitude coordinates of the point (i l , j l ), where i l and j l are longitude and latitude respectively; further, the pixel coordinates F of the key points extracted from the above cropped image can be obtained a (i a , j a ) and the actual latitude and longitude coordinates of the point F l (i l , j l ) a (i a , j a )->F l (i l , j l ).

[0154] The corresponding relationship between the pixel coordinates of the key points of the captured image and the cropped image and the corresponding relationship between the pixel coordinates of the key points of the cropped image and the geographic coordinates are used to obtain the corresponding relationship between the pixel coordinates of the key points of the captured image and the geographic coordinates. The specific method is as follows:

[0155] Using a series of indexes provided by the matching results, namely F b (i b , j b )->F a (i a , j a ), the correspondence between the matching points of the two images can be obtained; on the other hand, the pixel coordinates F of the key points extracted by the above cropped image are a (i a , j a ) and the actual latitude and longitude coordinates of the point F l (i l , j l ) can get the corresponding relationship F a (i a , j a )->F l (i l , j l ), we can further get the corresponding relationship F b (i b , j b )->F l (i l , j l ), that is, the correspondence between the pixel coordinates of the key points extracted from the captured image and the geographic coordinates.

[0156] The error equation is formed by using the UAV posture data (attitude, elevation and geographic coordinate information) provided by the airborne inertial navigation system and the geographic coordinate relationship corresponding to the pixel coordinates of the captured image, and then normalized to obtain the correction number of the exterior orientation element. The specific method is as follows:

[0157] 1) Read in the original data:

[0158] ① Intrinsic orientation elements, namely the camera principal pixel coordinates and camera focal length;

[0159] ②The pixel coordinates of the key points and the coordinates of their corresponding ground control points in the ground coordinate system.

[0160] 2) Determine the initial values ​​of the image position and attitude, which are usually 0 in actual situations;

[0161] 3) Use the quaternion method to solve the attitude matrix of the drone, form the error equation and construct the constraint equation;

[0162] 4) Calculate the most probable correction of the image position and attitude, and correct the image position and attitude parameters;

[0163] 5) Repeat steps 3 and 4 above until the correction number of the image position and attitude is less than the limit error (generally 1e-6), and the calibrated position and attitude data of the drone is obtained.

[0164] Specifically, based on the calibrated posture data, the error correction of the UAV posture data provided by the airborne inertial navigation system is performed. The specific method is as follows:

[0165] The Kalman filter algorithm is used to process the UAV attitude, elevation and geographic coordinate parameters calculated above and the attitude, elevation and geographic coordinate parameters of inertial navigation to obtain more accurate UAV attitude, elevation and geographic coordinate parameters.

[0166] The process of Kalman filtering is as follows:

[0167] The Kalman filter equations are established by the system's state equation and measurement equation:

[0168] The state equation of the system is:

[0169]

[0170] Measurement equation:

[0171]

[0172] In the formula, k is the symbol of the number of iterations, x k is the state vector of k iterations, A k is the state transfer matrix, u k is the state control vector, B k is the control variable matrix, w k is the noise of the control system, which obeys Gaussian distribution: wk~N(0,Q), Q is the system noise covariance matrix, z k is the measurement vector for k iterations, H k is the transformation matrix from state vector to measurement vector.

[0173] The Kalman filter equations can be established from the above two equations:

[0174]

[0175] The iterative equation of the parameters is:

[0176]

[0177] In the formula, and The posterior state estimates at time k-1 and time k are one of the filtering results, that is, the updated result, also called the optimal estimate; represents the prior state estimate at time k, that is, predicting the state at time k based on the optimal estimate at time k-1; P k-1 and P k are the posterior estimated covariances at time k-1 and time k respectively (i.e. and The covariance of , indicating the uncertainty of the state), is one of the filtering results; is the prior estimated covariance at time k ( covariance); K k is the Kalman gain; I is the unit matrix.

[0178] After 100 iterations, output the iteration results , which is a vector composed of the UAV attitude, elevation and geographic coordinate parameters obtained after iteration. By querying the elements of this vector, more accurate UAV attitude, elevation and geographic coordinate parameters obtained by iterating the measured values ​​and calculated values ​​can be obtained.

[0179] A second aspect of the present invention provides a drone navigation device in a denied environment, comprising:

[0180] The acquisition module is used to obtain the internal parameters and captured images of the current drone camera and the drone posture data provided by the airborne inertial navigation system;

[0181] A clipping module is used to clip the satellite reference image according to the acquired UAV posture data to obtain a clipped image;

[0182] An extraction module, used for extracting key points and feature descriptors of the captured image and the cropped image respectively;

[0183] A matching module matches the key points of the captured image with the key points of the cropped image;

[0184] The calibration module is used to perform rear intersection according to the matching results to obtain calibrated posture data of the UAV. The calibrated posture data is used to perform error correction on the UAV posture data provided by the airborne inertial navigation system. The airborne inertial navigation system uses the corrected UAV posture data to navigate the UAV.

[0185] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the above-mentioned navigation method when executing the computer program.

[0186] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned navigation method are implemented.

[0187] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for unmanned aerial vehicle navigation in a denied environment, characterized in that: The following steps are involved: Obtain the internal parameters and captured images of the current drone camera, and obtain the drone posture data provided by the onboard inertial navigation system; The satellite reference image is cropped based on the acquired UAV posture data to obtain a cropped image; Extracting key points and feature descriptors based on the captured image and the cropped image respectively; Use a feature matching algorithm to match the key points of the captured image with the key points of the cropped image to obtain a matching result; Perform resection based on the matching results to obtain the calibrated posture data of the UAV; Based on the calibrated posture data, error correction is performed on the UAV posture data provided by the airborne inertial navigation system; The UAV is navigated using the corrected UAV posture data combined with the airborne inertial navigation system; Methods for performing resection based on matching results include: Using the matching results, the corresponding relationship between the pixel coordinates of the key points of the captured image and the key points of the cropped image is obtained; Use geographic information related software to read the correspondence between the pixel coordinates of the key points of the cropped image and the geographic coordinates; The corresponding relationship between the pixel coordinates of the key points of the captured image and the cropped image and the corresponding relationship between the pixel coordinates of the key points of the cropped image and the geographic coordinates are obtained; The error equation is formed by using the UAV posture data provided by the airborne inertial navigation system and the geographic coordinate relationship corresponding to the pixel coordinates of the captured image, and then normalized to obtain the correction number of the exterior orientation element; The normalized error equation is iterated until the correction number of the external orientation element is less than the limit error, thus obtaining the calibrated posture data of the UAV.

2. A method for unmanned aerial vehicle navigation in a denied environment as claimed in claim 1, characterized in that: The internal parameters of the camera include: camera focal length, pixel size, principal point coordinates and distortion parameters; the UAV posture data includes: longitude and latitude, altitude, heading angle, pitch angle and roll angle.

3. The method for unmanned aerial vehicle navigation in a denied environment as claimed in claim 1, characterized in that: Methods for clipping satellite reference images based on UAV posture data include: Estimate the longitude and latitude coordinates corresponding to the center pixel of the camera based on the drone’s posture data; Calculate the geographic coordinate range of the captured image based on the estimated latitude and longitude coordinates corresponding to the center pixel of the camera and the internal parameters of the camera; According to the geographic coordinate range of the captured image, an image that is consistent with the geographic coordinate range is cropped on the reference image as a cropped image.

4. The method for unmanned aerial vehicle navigation in a denied environment as claimed in claim 1, characterized in that: Methods for extracting key points and feature descriptors based on captured or cropped images include: Preprocessing the captured image or the cropped image; The preprocessed captured image or cropped image is convolved through the VGG style encoder to obtain a 64-channel feature map with a side length of 1 / 8 of the captured image or cropped image. Use softmax as the activation function to process the feature map of the captured image or the cropped image, and discard the channel with the smallest processing probability to obtain the feature tensor of the captured image or the cropped image; Rearranging the shape of the feature tensor of the captured image or the cropped image to obtain the feature tensor of the captured image or the cropped image with the same size as the original image; Using a non-maximum suppression algorithm to process the feature tensor of the captured image or the cropped image, the key points of the captured image or the cropped image and their corresponding confidence levels are obtained; Using the UCN network to process the feature map of the captured image or the cropped image, a semi-dense feature descriptor of the captured image or the cropped image is obtained; Using a bicubic interpolation algorithm to process the semi-dense feature descriptor of the captured image or the cropped image, to obtain a complete feature descriptor of the captured image or the cropped image; The L2-normalizes normalization algorithm is used to process the complete feature descriptor of the captured image or the cropped image to obtain a normalized feature descriptor of the captured image or the cropped image.

5. The method for unmanned aerial vehicle navigation in a denied environment as claimed in claim 1, characterized in that: Before matching the key points of the captured image with the key points of the cropped image, the non-maximum suppression algorithm is used to optimize the key points of the captured image and the cropped image. The specific methods include: A non-maximum suppression algorithm is used to process the key points of the captured image or the cropped image to obtain sparse key points of the captured image or the cropped image; The confidences corresponding to the sparse key points of the captured or cropped images are processed using a quick sorting algorithm, and the 300 key points of the captured or cropped images with the highest confidences are selected to obtain the optimized key points of the captured or cropped images.

6. The method for unmanned aerial vehicle navigation in a denied environment as claimed in claim 1, characterized in that: Methods for matching the key points of the captured image with the key points of the cropped image using a feature matching algorithm include: The key points of the captured image and the key points of the cropped image are encoded using a key point encoder, and their coordinates and corresponding feature descriptors are used to form a captured image mixed vector and a cropped image mixed vector; The inner product calculation graph neural network is used to process the feature descriptors of the captured image and the feature descriptors of the cropped image to obtain the similarity of the matching feature descriptors; The similarity of the matching feature descriptors is processed using a matching pair score calculation algorithm to obtain a score matrix; The Sinkhorn algorithm is used to process the score matrix to obtain the matching results.

7. A drone navigation device in a denied environment, based on the drone navigation method according to any one of claims 1 to 6, characterized in that: include: The acquisition module is used to obtain the internal parameters and captured images of the current drone camera and the drone posture data provided by the airborne inertial navigation system; A clipping module is used to clip the satellite reference image according to the acquired UAV posture data to obtain a clipped image; An extraction module, used for extracting key points and feature descriptors of the captured image and the cropped image respectively; A matching module matches the key points of the captured image with the key points of the cropped image; The calibration module is used to perform rear intersection according to the matching results to obtain calibrated posture data of the UAV. The calibrated posture data is used to perform error correction on the posture data of the UAV provided by the airborne inertial navigation system. The airborne inertial navigation system uses the corrected posture data of the UAV to navigate the UAV.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the navigation method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the navigation method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Autonomous absolute positioning and navigation method of aircraft under satellite navigation denial condition

    CN118225087A

  • Unmanned aerial vehicle image matching and positioning method based on data preprocessing

    CN118262127A