Minkowski distance-based unmanned aerial vehicle positioning data optimization method
By optimizing UAV trajectory data using Kiminkowski distance, the problems of UAV trajectory point accumulation and abrupt changes were solved, enabling efficient UAV monitoring and data transmission.
Patent Information
- Application Number
- CN202410681626.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-13
AI Technical Summary
The accumulation and sudden changes in drone trajectory points result in low efficiency of flight safety monitoring, and existing monitoring equipment struggles to effectively handle redundant and erroneous data.
The Minkowski distance method is used to optimize UAV positioning data. By calculating the Minkowski distance between trajectory data, redundant or abrupt data is filtered and supplemented to achieve optimized processing of trajectory data.
It effectively reduces redundant data, avoids the accumulation of trajectory points, ensures the accuracy of data transmission, achieves smooth drone trajectory display, and reduces the computing burden on base stations.
Smart Images

Figure BDA0004865758480000022 
Figure BDA0004865758480000031 
Figure BDA0004865758480000032
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of low-altitude intelligent networking, and specifically, relates to a method for optimizing unmanned aerial vehicle positioning data based on Minkowski distance. Background Art
[0002] With the rapid development of aviation technology, drones have been widely promoted. Due to the characteristics of drones such as reliability, flexibility, strong adaptability and high efficiency, they are widely used in agriculture, aerial photography, logistics, monitoring, rescue, forestry, environmental protection and other fields. However, with the increase in the number of drones, flight safety has become an issue that cannot be ignored. Therefore, it is necessary to strengthen flight flow control and low-altitude safety supervision to ensure that the flight of drones does not affect public safety and personal privacy.
[0003] We can equip drones with communication equipment to achieve effective monitoring of drones. Commonly used communication equipment includes ADS-B and 5G. However, in the actual monitoring process, two abnormal situations will occur on the ground monitoring end: accumulation of drone track points and sudden change of drone track points. The occurrence of these two abnormal situations is not conducive to the controller's efficient monitoring of drones.
[0004] Track point accumulation is caused by the presence of some redundant data or data with less information in the drone trajectory information received by the base station. These redundant data not only increase the computational burden, but also cause track point accumulation when the radar displays the drone trajectory.
[0005] The sudden change of trajectory points is caused by data errors or data collisions during the transmission of data packets. These erroneous or collided data will be discarded by the base station, which will cause the radar to display the trajectory of the drone with sudden changes in trajectory points. Summary of the invention
[0006] In view of the problems existing in the prior art, the present invention provides a method for optimizing UAV positioning data based on Minkowski distance. The method can optimize the trajectory data of the UAV after the UAV communicates with the ground monitoring terminal, so as to achieve efficient monitoring of the UAV by the management and control personnel.
[0007] In order to achieve the above technical purpose, the technical solution adopted by the present invention is:
[0008] A method for optimizing UAV positioning data based on Minkowski distance includes the following steps:
[0009] Step 1: The first N trajectory data (I 1 ,I 2 ,I 3 ,...,I N ) for storage;
[0010] Step 2: Calculate the Minkowski distance between the first N data points, denoted as (m 1 ,m 2 ,m 3 ,...,m N-1 ), and the Minkowski index is ρ;
[0011] Step 3: Store the calculated N-1 Minkowski distances as an N-1-dimensional vector M = (m 1 ,m 2 ,m 3 ,...,m N-1 );
[0012] Step 4: Receive the N+1th trajectory data I N+1 When the Minkowski distance between the Nth data and the N+1th data is calculated, it is recorded as m N ;
[0013] Step 5, if m N <min(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is considered redundant data and I N+1 Directly discard and set max(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by m N , go to step 9;
[0014] Step 6, if min(m 1 ,m 2 ,m 3 ,...,m N-1 )≤m N ≤max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 It is regarded as normal data and stored for subsequent processing, and then goes to step 9;
[0015] Step 7, if m N >max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is regarded as mutation data, min(m 1 ,m 2 ,m3 ,...,m N-1 ) is replaced by m N , go to step 8;
[0016] Step 8: Use spherical filling method to fill the I N+1 Insert another track data I before * , go to step 9;
[0017] Step 9: loop steps 4-8 in sequence until the last trajectory data is received.
[0018] Furthermore, in step 1, the trajectory data includes the longitude, latitude and altitude information of the drone.
[0019] Furthermore, in step 1,
[0020] The kth trajectory data is represented as I k , specifically, I k is a three-dimensional vector:
[0021] I k =[Lon k ,Lat k ,Alt k ]
[0022] Lon k Represents trajectory data I k Longitude information in Lat k Represents trajectory data I k Dimension information in Alt k Represents trajectory data I k Height information in .
[0023] Furthermore, in step 2, the Minkowski distances between the first N data are calculated, and the calculation formula for the Minkowski distance between the kth trajectory data and the k+1th trajectory data is:
[0024]
[0025] Further, in step 8, by filling the sphere, N+1 Insert another track data I before * The specific method is:
[0026] First, based on the data I N+1 , I N , I N-1 , I N-2 The corresponding coordinate position in 3D space is to find the only sphere that passes through the four trajectory points. Secondly, find I N with I N-1 The line connecting the midpoint of the line and the center of the sphere is denoted as lN Finally, l N The intersection position information with the upper hemisphere is the trajectory data I * .
[0027] Furthermore, trajectory data I * The specific process of calculating longitude, latitude and altitude information is as follows:
[0028] (1) Calculate the coefficient determinant |D|:
[0029]
[0030] (2) Calculate the constant determinant |L|:
[0031]
[0032] (3) Coordinates of the center of the sphere (x 0 ,y 0 , z 0 )for:
[0033]
[0034]
[0035]
[0036] (4) The radius of the sphere r is:
[0037]
[0038] (5) By combining the following two equations, we can obtain the supplementary trajectory data I * Location information, where I * Coordinates (x, y, z):
[0039]
[0040] Where D represents the coefficient determinant of trajectory data, L represents the constant determinant of trajectory data, α 1 Represents: the first column vector of D, α 2 Represents: the second column vector of D, α 3 Represents: the third column vector of D.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] (1) It can effectively reduce redundant trajectory data, which not only reduces the computational burden of the base station, but also avoids the accumulation of trajectory points and blurring of the trajectory when displaying the UAV trajectory.
[0043] (2) It can effectively avoid data loss caused by data errors and data collisions, which in turn causes the problem of sudden changes in the UAV trajectory points, and perform spherical smoothing on the sudden changes based on the historical flight track. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a schematic diagram of patching mutation data involved in the present invention;
[0045] Figure 2 This is a schematic diagram of discarding redundant data involved in the present invention;
[0046] Figure 3 This is a schematic diagram of the packet replenishing method involved in the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0048] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0049] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0050] In the method for optimizing the positioning data of unmanned aerial vehicles based on Minkowski distance provided by the present invention, Figure 1As shown, the UAV will transmit flight trajectory information to the base station according to a certain time pattern during the flight. However, in actual operation, the trajectory information may be lost due to data errors or data collisions. Due to the influence of path loss and channel fading, data may generate erroneous code elements during the propagation process. When the base station cannot correct these erroneous code elements, the data will be discarded; and due to the limited receiving capacity of the base station, when multiple data arrive at the base station at the same time, it may cause base station data overflow, and then cause part of the data to be lost. The UAV positioning data optimization method based on Minkowski distance of the present invention can effectively supplement the lost data according to the historical trajectory information, thereby preventing the sudden change of the UAV trajectory caused by data loss.
[0051] like Figure 2 As shown, the drone will transmit flight trajectory information to the base station according to a certain time pattern during the flight. However, when the drone is in a low-speed state, the base station does not need to update the trajectory information at a high frequency. Therefore, there is some redundant information in the trajectory data transmitted by the drone, which not only increases the calculation burden of the base station, but also causes the accumulation of drone trajectory points, thereby causing the drone trajectory to be blurred. The present invention can effectively filter out redundant trajectory information, reduce the calculation burden, and avoid the accumulation of trajectory points when displaying the drone trajectory.
[0052] like Figure 3 As shown in the figure, when the drone trajectory points are supplemented, the first four historical trajectory points are used to fix the sphere, and a point is found on the sphere to approximate the lost trajectory point, so as to prevent the drone trajectory point from changing suddenly.
[0053] Specifically, the method for optimizing UAV positioning data based on Minkowski distance comprises the following steps:
[0054] Step 1: The first N trajectory data (I 1 ,I 2 ,I 3 ,...,I N ) for storage, the trajectory data includes the longitude, latitude, and altitude information of the drone;
[0055] Step 2: Calculate the Minkowski distance between the first N data points, denoted as (m 1 ,m 2 ,m 3 ,...,m N-1 ), and the Minkowski index is ρ;
[0056] Step 3: Store the calculated N-1 Minkowski distances as an N-1-dimensional vector M = (m 1 ,m 2 ,m3 ,...,m N-1 );
[0057] Step 4: Receive the N+1th trajectory data I N+1 When the Minkowski distance between the Nth data and the N+1th data is calculated, it is recorded as m N ;
[0058] Step 5, if m N <min(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is considered redundant data and I N+1 Discard it directly. Finally, max(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by m N , then proceed to step 9;
[0059] Step 6, if min(m 1 ,m 2 ,m 3 ,...,m N-1 )≤m N ≤max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 It is regarded as normal data and stored for subsequent processing, and then goes to step 9.
[0060] Step 7, if m N >max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is regarded as mutation data, min(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by m N , and perform the spherical filling in step 8, in I N+1 Insert another track data I before * .
[0061] Step 8: Perform spherical surface filling and find supplementary trajectory data I * The corresponding longitude, latitude, and altitude information. Then proceed to step 9.
[0062] Step 9: loop step 4, step 5, step 6, step 7 and step 8 in sequence until the last trajectory data is received.
[0063] Step 10: After the above steps, the base station will discard redundant data to reduce the computational burden and avoid the problem of track point accumulation when displaying the drone track. At the same time, the base station will also supplement the mutated data accordingly to achieve smooth drone track display.
[0064] In step 1, the kth trajectory data is represented as I k , specifically, I k is a three-dimensional vector:
[0065] I k =[Lon k ,Lat k ,Alt k ]
[0066] Lon k Represents trajectory data I k Longitude information in Lat k Represents trajectory data I k Dimension information in Alt k Represents trajectory data I k The base station first sends the first N trajectory data (I 1 ,I 2 ,I 3 ,...,I N ) for storage.
[0067] In step 2, the Minkowski distances between the first N data are calculated. The Minkowski distance between the kth trajectory data and the k+1th trajectory data is calculated as follows:
[0068]
[0069] In step 3, the calculated (m 1 ,m 2 ,m 3 ,...,m N-1 ) are stored in the N-1 dimensional vector M in sequence.
[0070] In step 4, the N+1th trajectory data I is received N+1 When the Minkowski distance between the Nth data and the N+1th data is calculated, it is recorded as m N .
[0071] In step 5, determine the received N+1th trajectory data I N+1 Whether it is redundant data, if:
[0072] m N <min(m 1 ,m 2 ,m 3 ,...,m N-1 )
[0073] Then I N+1 is regarded as redundant data, and the base station will discard the data. N+1 , and the vector M=(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by the largest element in the Minkowski distance m N , then proceed to step 9.
[0074] In step 6, determine the received N+1th trajectory data I N+1 Is it normal data? If:
[0075] min(m 1 ,m 2 ,m 3 ,...,m N-1 )≤m N ≤max(m 1 ,m 2 ,m 3 ,...,m N-1 )
[0076] Then I N+1 It is regarded as normal data, and the base station will store the data for subsequent calculation and processing, and then enter step 9.
[0077] In step 7, determine the received N+1th trajectory data I N+1 Whether it is mutation data, if:
[0078] m N >max(m 1 ,m 2 ,m 3 ,...,m N-1 )
[0079] Then I N+1 is regarded as mutation data, and the vector M=(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by the Minkowski distance m N , and perform the spherical filling in step 8, in I N+1 Insert another track data I before * .
[0080] In step 8, the spherical surface is filled and the supplementary trajectory data I is found. * The corresponding longitude, latitude and altitude information. First, based on data I N+1 , I N , I N-1 , I N-2 At the corresponding coordinate position in 3D space, find the only sphere that passes through the four trajectory points. N with I N-1 The line connecting the midpoint of and the center of the sphere is denoted as l N Finally, l N The location information of the intersection with the upper hemisphere is the longitude, latitude and altitude information contained in the supplementary trajectory point. The specific process is as follows:
[0081] (1) Calculate the coefficient determinant |D|:
[0082]
[0083] (2) Calculate the constant determinant |L|:
[0084]
[0085] (3) Coordinates of the center of the sphere (x 0 ,y 0 , z 0 )for:
[0086]
[0087]
[0088]
[0089] (4) The radius of the sphere r is:
[0090]
[0091] (5) By combining the following two equations, we can obtain the supplementary trajectory data I * Location information:
[0092]
[0093] In step 9, step 4, step 5, step 6, step 7 and step 8 are looped in sequence until the base station receives the last trajectory data.
[0094] In step 10, based on the above steps, the base station will discard redundant data to reduce the computational burden and avoid the problem of track point accumulation when displaying the drone track. At the same time, the base station will also supplement the mutated data accordingly to achieve a smooth drone track display.
[0095] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A method for optimizing UAV positioning data based on Minkowski distance, characterized in that: The following steps are involved: Step 1: The first N trajectory data (I 1 ,I 2 ,I 3 ,...,I N ) for storage; Step 2: Calculate the Minkowski distance between the first N data points, denoted as (m 1 ,m 2 ,m 3 ,...,m N-1 ), and the Minkowski index is ρ; Step 3: Store the calculated N-1 Minkowski distances as an N-1-dimensional vector M = (m 1 ,m 2 ,m 3 ,...,m N-1 ); Step 4: Receive the N+1th trajectory data I N+1 When the Minkowski distance between the Nth data and the N+1th data is calculated, it is recorded as m N ; Step 5, if m N <min(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is considered redundant data and I N+1 Directly discard and set max(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by m N , go to step 9; Step 6, if min(m 1 ,m 2 ,m 3 ,...,m N-1 )≤m N ≤max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 It is regarded as normal data and stored for subsequent processing, and then goes to step 9; Step 7, if m N >max(m 1 ,m 2 ,m 3 ,...,m N-1 ), then I N+1 is regarded as mutation data, min(m 1 ,m 2 ,m 3 ,...,m N-1 ) is replaced by m N , go to step 8; Step 8: Use spherical filling method to fill the I N+1 Insert another track data I before * , go to step 9; Step 9: loop steps 4-8 in sequence until the last trajectory data is received.
2. The method for optimizing UAV positioning data based on Minkowski distance according to claim 1, characterized in that: In step 1, the trajectory data contains the longitude, latitude and altitude information of the drone.
3. The method for optimizing UAV positioning data based on Minkowski distance according to claim 2, characterized in that: In step 1, The kth trajectory data is represented as I k , specifically, I k is a three-dimensional vector: AND k =[Lon k ,Years k ,Alt k ] Lon k Represents trajectory data I k Longitude information in Lat k Represents trajectory data I k Dimension information in Alt k Represents trajectory data I k Height information in .
4. The method for optimizing the positioning data of unmanned aerial vehicles based on Minkowski distance according to claim 3, characterized in that: In step 2, the Minkowski distance between the first N data is calculated. The calculation formula for the Minkowski distance between the kth trajectory data and the k+1th trajectory data is:
5. The method for optimizing UAV positioning data based on Minkowski distance according to claim 3, characterized in that: In step 8, the spherical surface is filled in I N+1 Insert another track data I before * The specific method is: First, based on the data I N+1 , I N , I N-1 , I N-2 The corresponding coordinate position in 3D space is to find the only sphere that passes through the four trajectory points. Secondly, find I N+1 with I N The line connecting the midpoint of the line and the center of the sphere is denoted as l N Finally, l N The intersection position information with the upper hemisphere is the trajectory data I * .
6. The method for optimizing UAV positioning data based on Minkowski distance according to claim 5, characterized in that: Trajectory Data I * The specific process of calculating longitude, latitude and altitude information is as follows: (1) Calculate the coefficient determinant |D|: (2) Calculate the constant determinant |L|: (3) The coordinates of the center of the sphere (x0, y0, z0) are: (4) The radius of the sphere r is: (5) By combining the following two equations, we can obtain the supplementary trajectory data I * Location information, where I * Coordinates (x, y, z): (x0-x) 2 +(y0-y) 2 +(z0-z) 2 =r 2 Wherein, D represents: the determinant of trajectory data coefficients, L represents: the determinant of trajectory data constants, α1 represents: the first column vector of D, α2 represents: the second column vector of D, and α3 represents: the third column vector of D.
