A method for visualizing low-altitude flight situation
Through intelligent perception and data processing, a distortion perception model is established to identify and adjust drone attitude abnormalities, solving the problems of map projection and scale distortion in low-altitude flight situation visualization, and improving flight safety and accuracy.
Patent Information
- Application Number
- CN202410998481.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-24
AI Technical Summary
During the visualization process of low-altitude UAV flight status, map projection and scale distortion make it difficult for users to accurately identify the ground terrain, which increases flight risks. Existing technology cannot effectively eliminate the impact of abnormal changes in UAV attitude.
By intelligently sensing map projection and scale distortion, using flight data to establish a distortion perception model, collecting and preprocessing UAV data in real time, matching the map coordinate system, calculating the map resolution consistency index and projection coordinate deviation index, and generating distortion quantification value, promptly prompt relevant personnel, identify abnormal changes in the drone's attitude, and adjust the flight attitude to eliminate distortion.
It achieves intelligent perception and quantitative assessment of map projection and scale distortion, improves flight safety, accurately determines whether distortion is caused by attitude abnormalities, guides users to adjust flight attitude, reduces flight risks, and improves flight efficiency and accuracy.
Smart Images

Figure CN118570681B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of low-altitude flight situation visualization of unmanned aerial vehicles, and in particular to a low-altitude flight situation visualization method. Background Art
[0002] Low-altitude flight situation visualization refers to presenting the flight path, track, speed, altitude and other data of low-altitude drones in a graphical and visual way so that users can intuitively understand the flight status and behavior of the drone. This visualization can be presented in the form of various charts, maps, animations, etc., aiming to help users better monitor and manage the flight activities of drones and improve flight efficiency and safety. Specifically, the visualization system can display the real-time position, route planning, flight speed, altitude changes and other information of the drone in the air in real time. At the same time, it can also perform data analysis and prediction according to the needs of the flight mission, provide relevant alarms and prompts, and help operators adjust flight strategies and control the flight process in a timely manner.
[0003] In order to visualize the flight status of low-altitude drones, it is necessary to use sensors, positioning systems, communication equipment and other technologies to collect drone flight data in real time, and convert these data into a visualized form through data processing and analysis algorithms. These data may include basic information such as the real-time position, heading, speed, altitude, attitude of the drone, as well as external factors such as environmental parameters and air traffic control information. In terms of data processing and visualization, commonly used technologies include mapping, data mining, graphics rendering and other methods, which can display a large amount of complex data to users in an intuitive and easy-to-understand way. Through this visualization method, users can quickly and accurately understand the flight status of drones, promptly discover and deal with potential risks and problems, and improve the efficiency and safety of flight missions.
[0004] The prior art has the following deficiencies:
[0005] During the visualization of low-altitude UAV flight situation, when the UAV flight data is visualized on the map, if map projection and scale distortion occur, resulting in the position, distance and direction of the UAV on the map not being consistent with the actual situation, it may make it difficult for users to accurately identify the ground terrain and fail to promptly discover and avoid potential dangerous areas or obstacles, which will increase the risk of UAV flight and may cause the aircraft to be obstructed or crash, resulting in serious casualties and property losses;
[0006] The attitude of a drone includes parameters such as pitch, roll and yaw. If these parameters change abnormally, the flight attitude of the drone on the map may be inaccurately displayed. For example, when the drone pitches or rolls, the flight path on the map will be offset or deformed, resulting in distortion of the map projection and scale of the flight situation. When map projection and scale distortion occur, existing technology cannot rule out the impact of abnormal changes in the drone's attitude.
[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0008] The purpose of the present invention is to provide a method for visualizing low-altitude flight situations, which can intelligently perceive map projection and scale distortion, establish a distortion perception model by using multi-source data information visualized on a map of flight data, realize quantitative evaluation of distortion, and intelligently perceive map projection and scale distortion to ensure that relevant personnel are promptly prompted when map projection and scale distortion occur, so that relevant personnel can promptly discover potential risks and improve flight safety, so as to solve the problems in the above-mentioned background technology.
[0009] In order to achieve the above object, the present invention provides the following technical solution: a low-altitude flight situation visualization method, comprising the following steps:
[0010] Collect the flight data of the drone in real time and pre-process the flight data so that it can be accurately interpreted and used by the visualization system;
[0011] Select a suitable map as the visualization background according to the needs and usage scenarios, and project the flight data of the drone onto the map according to the projection method of the selected map;
[0012] Match the collected UAV flight data with the map coordinate system to make the UAV flight data consistent with the location and mark on the map, and present the matched UAV flight data on the map in a graphical manner;
[0013] Obtain multi-source data information to visualize UAV flight data on the map, and intelligently perceive map projection and scale distortion based on the acquired information;
[0014] Acquire the data information of the UAV's flight attitude change, analyze the UAV's flight attitude change based on the acquired information, divide the UAV's flight attitude change into abnormal attitude change and normal attitude change, and further analyze the hidden dangers of map projection and scale distortion under abnormal attitude change and normal attitude change.
[0015] Preferably, the collected UAV flight data is matched with the map coordinate system through the positioning information of the GPS data and the geographic coordinate system on the map.
[0016] Preferably, the multi-source data information for visualizing the UAV flight data on the map includes map resolution information, projection coordinate system information and map coordinate system information. After acquisition, the map resolution information is processed to generate a map resolution consistency index, and the map resolution consistency index is used to evaluate the consistency of the resolutions of different areas of the map; after comparing the projection coordinate system and the map coordinate system, a projection coordinate deviation index is generated, and the deviation between the projection coordinate system and the map coordinate system is evaluated by the projection coordinate deviation index.
[0017] Preferably, the logic for obtaining the map resolution consistency index is as follows:
[0018] The map image is divided into blocks of the same size, denoted as I and K ;
[0019] For each image block I and K , calculate its brightness, contrast and structure respectively, and convert each image block I and K The average brightness of and Representation, each image block I and K The contrast ratio is respectively and Represented as I and K The structural information of and To express;
[0020] Calculate the similarity measures between brightness, contrast and structure, denoted as , and , brightness similarity measure The calculation formula is: , contrast similarity measure The calculation formula is: , structural similarity measure The calculation formula is: , where , , is a constant;
[0021] Calculate each image block I and KThe structural similarity index between them is calibrated as , structural similarity index The calculation formula is: ,in, , , are the weight parameters for brightness, contrast, and structure;
[0022] Divide the map into different regions and calculate the structural similarity index of each region separately , by calculating the structural similarity index of all regions The weighted average is performed to calculate the map resolution consistency index. The calculation expression of the map resolution consistency index is: ,in, N is the number of regions in the map, Represents the map resolution consistency index.
[0023] Preferably, the logic of obtaining the projection coordinate deviation index is as follows:
[0024] The SIFT feature extraction algorithm is used to extract local feature points from the map images of the projection coordinate system and the map coordinate system. Suppose the feature set of the projection coordinate system is , the feature set of the map coordinate system is ;
[0025] For the extracted feature points, the descriptors of the features are calculated to describe the local appearance information of the feature points;
[0026] Use feature descriptors to match feature points and find the correspondence between feature points in the projection coordinate system and feature points in the map coordinate system;
[0027] For the matched feature point pairs, calculate the coordinate difference between the projection coordinate system and the map coordinate system, assuming M is the number of matched feature point pairs. k For the feature point, let its coordinates in the projection coordinate system be , the coordinates in the map coordinate system are , then the coordinate difference of the matched feature points is expressed by the Euclidean distance It is expressed as: ;
[0028] Coordinate differences by matching feature points Calculate the projection coordinate deviation index. The calculation expression is: , where Represents the projection coordinate deviation index.
[0029] Preferably, the specific steps of extracting local feature points are as follows:
[0030] Preprocessing of map images in projected coordinate systems and map coordinate systems;
[0031] In the preprocessed image, a Gaussian pyramid is constructed to filter the image at different scales, and then the local extreme points of the image at different scales are detected using the scale space extreme value detection algorithm;
[0032] Based on the detected extreme points in the scale space, the extreme information of the scale space is used to locate the key points;
[0033] Filter the detected key points;
[0034] For each filtered key point, the main direction of the key point is determined using the gradient information;
[0035] Finally, for each key point, a corresponding descriptor is generated.
[0036] Preferably, the map resolution consistency index generated when the drone visualizes the flight data on the map is obtained and the projection coordinate deviation index Then, the map resolution consistency index and the projection coordinate deviation index Build map projection and scale distortion perception models to generate distortion quantification values , through the distortion quantization value Get intelligent awareness of map projection and scale distortions.
[0037] Preferably, the distortion quantization value generated when the flight data is visualized on the map is compared and analyzed with a preset distortion quantization value reference threshold, and the result of the comparison and analysis is as follows:
[0038] If the distortion quantization value is greater than or equal to the distortion quantization value reference threshold, a distortion hidden danger signal is generated, and an intelligent detection prompt is issued for the distortion hidden danger signal. When the UAV generates a distortion hidden danger signal by visualizing the flight data on the map, it indicates that there is a hidden danger of map projection and scale distortion;
[0039] If the distortion quantization value is less than the distortion quantization value reference threshold, a visualization signal is generated, and no prompt is issued for the visualization signal. When the UAV visualizes the flight data on the map to generate a visualization signal, it indicates that the UAV can efficiently visualize the flight data on the map.
[0040] Preferably, the process of dividing the flight attitude change of the drone into an abnormal attitude change period and a normal attitude change period is as follows:
[0041] Collect the attitude data of the UAV during flight, arrange the data in chronological order, and pre-process the attitude data;
[0042] Model the posture data as a time series. Assume that the time series of the posture data is ,in, n is the number of data points, Indicates i The attitude parameter value at each time point;
[0043] The ARIMA model is used for time series modeling. The ARIMA model includes three parts: autoregression, difference, and moving average. The formula of the ARIMA model is: ,in, Indicates time point t The attitude parameter value of c is a constant term, and are the coefficients of the autoregressive term and the moving average term, respectively. p and q are the orders of the autoregressive term and the moving average term, respectively. represents the error term;
[0044] Perform anomaly detection on the residuals of the ARIMA model, identify outliers, and calculate residuals , , is the value predicted by the ARIMA model;
[0045] The mean of the residual plus or minus several times the standard deviation is used as the threshold, and the residuals exceeding the threshold are identified as outliers;
[0046] The abnormal attitude change index of the drone is calculated according to the number and size of abnormal values, and the abnormal attitude change index is calculated using the following formula: , where Represents the abnormal posture change index, where Indicates i Outliers at each time point, n Represents the total number of data points.
[0047] Preferably, the abnormal attitude change index generated during the flight of the UAV is compared and analyzed with a preset abnormal attitude change index reference threshold, and the result of the comparison and analysis is as follows:
[0048] If the abnormal posture change index is greater than or equal to the abnormal posture change index reference threshold, the corresponding moment is marked as abnormal posture change; if the abnormal posture change index is less than the abnormal posture change index reference threshold, the corresponding moment is marked as normal posture change;
[0049] The process of analyzing the hidden dangers of map projection and scale distortion under abnormal and normal posture changes is as follows:
[0050] If the drone generates a distortion risk signal when visualizing flight data on the map and the drone flight is marked as a normal attitude change at the corresponding moment, it means that the map projection and scale distortion risks when the drone visualizes flight data on the map are not caused by the abnormal flight attitude of the drone. At this time, a warning signal is issued to remind relevant personnel that the drone has the risk of map projection and scale distortion and needs to be maintained and managed in time;
[0051] If the UAV generates a distortion risk signal when visualizing the flight data on the map and the UAV flight is marked as an abnormal attitude change at the corresponding moment, it indicates that the map projection and scale distortion risks that exist when the UAV visualizes the flight data on the map are caused by the abnormal flight attitude of the UAV or are caused by the UAV itself. At this time, a further judgment signal is issued to prompt relevant personnel to adjust the flight attitude of the UAV in time to ensure the accuracy of the UAV flight situation. When the UAV is marked as a normal attitude change during flight, further map projection and scale distortion risk judgment is performed to eliminate the map projection and scale distortion risks caused by the abnormal flight attitude of the UAV.
[0052] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0053] The present invention realizes quantitative evaluation of distortion through intelligent perception of map projection and scale distortion, and establishes a distortion perception model by using multi-source data information visualized on the map of flight data. It also realizes intelligent perception of map projection and scale distortion, and ensures timely notification to relevant personnel when map projection and scale distortion occur, so that relevant personnel can timely discover potential risks and improve flight safety.
[0054] The present invention can not only detect map projection and scale distortion, but also identify abnormal flight attitude of the UAV, and instantly determine whether the distortion is caused by abnormal attitude. By further analyzing the distortion under abnormal attitude changes and normal attitude changes, it can accurately determine whether the distortion is related to the flight attitude of the UAV, thereby guiding the user to adjust the flight attitude to eliminate the hidden dangers of map projection and scale distortion, and improve the accuracy and stability of UAV flight.
[0055] The present invention not only focuses on the problems of map projection and scale distortion, but also considers the impact of abnormal UAV flight posture on distortion, and provides a complete flight situation management solution. Through intelligent perception of distortion and identification of abnormal posture, it can effectively reduce flight risks, improve flight efficiency and safety, and provide users with comprehensive flight situation management support. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0057] Figure 1 The present invention is a method flow chart of a low-altitude flight situation visualization method. DETAILED DESCRIPTION
[0058] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art.
[0059] The present invention provides Figure 1 A low-altitude flight situation visualization method shown includes the following steps:
[0060] Collect the flight data of the drone in real time and pre-process the flight data so that it can be accurately interpreted and used by the visualization system;
[0061] Various sensors and GPS devices, such as inertial navigation system (IMU) and global positioning system (GPS), are installed on drones to collect flight data in real time. These devices can record the position, speed, altitude, heading, attitude and other information of the drone in real time, and transmit the data to the ground station or flight control center for processing and analysis. The ground station can receive the flight data of the drone in real time through the communication link established with the drone. The ground station can communicate with the drone through radio, satellite communication and other means to obtain the real-time status and location information of the drone, and transmit the data to the ground server or monitoring center for processing and visualization. In the above way, the flight data of the drone can be collected in real time, providing timely and accurate data support for the visualization of the flight situation of low-altitude drones.
[0062] The collected flight data may contain noise or incomplete information, so data processing and cleaning are required to ensure the accuracy and completeness of the data. This includes data denoising, outlier processing, data interpolation and other operations, so that the data can be accurately interpreted and used by the visualization system.
[0063] Use filtering algorithms to smooth the UAV flight data and remove noise and jitter in the data. Common smoothing algorithms include moving average filtering, Kalman filtering, Markov model, etc. These algorithms can effectively smooth the UAV flight data and improve the accuracy and stability of the data. For missing or incomplete data points, interpolation algorithms can be used to fill in the missing values to make the data complete and continuous. Common interpolation algorithms include linear interpolation, polynomial interpolation, spline interpolation, etc. These algorithms can estimate missing values based on the characteristics of known data points, so that the data is continuous in time or space. Use outlier detection algorithms to identify and process outliers in flight data to ensure the accuracy and reliability of the data. Common outlier detection algorithms include box plot methods, Z-score methods, clustering-based methods, etc. These algorithms can help identify abnormal data that deviates from the normal range and process or correct them according to needs.
[0064] Select a suitable map as the visualization background according to the needs and usage scenarios, and project the flight data of the drone onto the map according to the projection method of the selected map;
[0065] The map can be a traditional map image, a map tile, or a map service, including satellite images, street maps, terrain maps, etc. Choosing the appropriate map type can better display the drone's flight path and surrounding environment.
[0066] Different map projections will produce different degrees of distortion on the shape, size, and direction of the earth's surface. Therefore, it is very important to choose the right map projection. Some common map projections include Mercator, Stereographic, Lambert, etc. According to the specific application scenario and needs, choose a projection that minimizes distortion.
[0067] Match the collected UAV flight data with the map coordinate system to make the UAV flight data consistent with the location and mark on the map, and present the matched UAV flight data on the map in a graphical manner;
[0068] Match the collected drone flight data with the map coordinate system, which can be achieved by matching the positioning information of the GPS data with the geographic coordinate system on the map. The matched drone flight data is presented on the map in a graphical way. This can include drawing the flight trajectory of the drone, marking the location of the drone, and displaying information such as the flight speed and altitude of the drone. At the same time, other layers such as topographic maps, landmarks, flight restriction areas, etc. can be added as needed to provide more comprehensive environmental information.
[0069] Obtain multi-source data information to visualize UAV flight data on the map, and intelligently perceive map projection and scale distortion based on the acquired information;
[0070] The multi-source data information for visualizing UAV flight data on the map includes map resolution information, projection coordinate system information and map coordinate system information. After obtaining, the map resolution information is processed to generate a map resolution consistency index, and the map resolution consistency index is used to evaluate the consistency of resolutions in different areas of the map; after comparing the projection coordinate system and the map coordinate system, a projection coordinate deviation index is generated, and the deviation between the projection coordinate system and the map coordinate system is evaluated through the projection coordinate deviation index.
[0071] The deviation of resolution in different areas of the map may cause map projection and scale distortion problems when visualizing UAV flight data on the map. First, the inconsistent resolution of spatial information in different areas of the map means that the accuracy of the geographic features and details displayed on the map is different. For example, in urban areas, the resolution of the map is usually high, which can show subtle features such as buildings and roads; while in rural or remote areas, the resolution of the map may be low and can only show some basic geographic features. If there is a large deviation in the resolution of different areas of the map when visualizing UAV flight data on the map, it may cause the flight path on the map to be displayed with inconsistent accuracy in different areas, thereby affecting the accuracy and consistency of the flight situation. Second, the resolution deviation of different areas of the map may cause the scale distortion of the flight path displayed on the map. When the resolution of the map is inconsistent, the flight path may be displayed more finely and clearly in the high-resolution area, while it may be displayed blurred or discontinuous in the low-resolution area. This scale distortion will cause the length and shape of the flight path on the map to be distorted, making the flight situation on the map inconsistent with the actual situation, which in turn affects the visualization of the flight data.
[0072] Therefore, monitoring the resolution of different areas when the drone visualizes the flight data onto the map can intelligently perceive the large differences in resolution between different areas of the map that may lead to map projection and scale distortion problems.
[0073] The logic for obtaining the map resolution consistency index is as follows:
[0074] The map image is divided into blocks of the same size, denoted as I and K ;
[0075] For each image block I and K , calculate its brightness, contrast and structure respectively, and convert each image block I and K The average brightness of and Represented as I andK The contrast ratio is respectively and Represented as I and K The structural information of and To express;
[0076] Calculate the similarity measures between brightness, contrast and structure, denoted as , and , brightness similarity measure The calculation formula is: , contrast similarity measure The calculation formula is: , structural similarity measure The calculation formula is: , where , , is a constant used to prevent the denominator from being zero, usually set to a small positive number;
[0077] Calculate each image block I and K The structural similarity index between them is calibrated as , structural similarity index The calculation formula is: ,in, , , are the weight parameters of brightness, contrast and structure, which are used to balance the importance of brightness, contrast and structure;
[0078] Divide the map into different regions and calculate the structural similarity index of each region separately , by calculating the structural similarity index of all regions The weighted average is performed to calculate the map resolution consistency index. The calculation expression of the map resolution consistency index is: ,in, N is the number of regions in the map, Represents the map resolution consistency index.
[0079] From the calculation expression of the map resolution consistency index, it can be seen that when the UAV visualizes the flight data on the map, the larger the performance value of the map resolution consistency index generated by the resolution calculation of different areas, the smaller the resolution deviation of different areas, and thus the smaller the hidden danger of map projection and scale distortion. Conversely, the smaller the hidden danger of map projection and scale distortion.
[0080] The deviation between the projection coordinate system and the map coordinate system may cause map projection and scale distortion when visualizing drone flight data on the map. First, maps usually use planar projections (such as Mercator projection and Mercator projection) to project the earth's surface onto a flat map. However, the curved surface of the earth will be deformed when it is projected onto a plane, especially in the edge areas, and the projection deformation may cause distortion of distance and angle. If the flight path data of the drone is collected in the spherical coordinate system of the earth, and the map uses a planar projection, the length and shape of the flight path displayed on the map may not match the actual situation, resulting in map projection and scale distortion. Secondly, some parameters need to be set during the map projection process, such as the central meridian and standard parallels, and the selection of these parameters will affect the projection effect of the map. Different projection parameter settings may cause distortion of information such as shape, direction, size, etc. on the map. If the map projection parameters are not considered when the drone flight data is collected, or the map projection parameters do not match the actual situation, the flight path on the map will inaccurately reflect the actual flight situation of the drone, resulting in map projection and scale distortion. Finally, when converting drone flight data from a spherical coordinate system to a map coordinate system, there is the issue of coordinate conversion accuracy. Errors in the conversion process may accumulate and cause inaccurate flight paths on the map. Especially in areas with long distances or large latitude differences, the inevitable errors in the conversion between the earth's curved surface and the flat surface may cause large distortions in the flight path on the map.
[0081] Therefore, by comparing and monitoring the projection coordinate system and the map coordinate system when the UAV visualizes the flight data on the map, it is possible to intelligently perceive the problems that may cause map projection and scale distortion due to large deviations between the projection coordinate system and the map coordinate system.
[0082] The logic for obtaining the projection coordinate deviation index is as follows:
[0083] The SIFT feature extraction algorithm is used to extract local feature points from the map images of the projection coordinate system and the map coordinate system. Suppose the feature set of the projection coordinate system is , the feature set of the map coordinate system is ;
[0084] The specific steps for extracting local feature points are as follows:
[0085] Preprocessing of map images in projected coordinate systems and map coordinate systems;
[0086] Preprocessing includes operations such as grayscale conversion and noise removal of the image to prepare for feature extraction.
[0087] In the preprocessed image, a Gaussian pyramid is constructed to filter the image at different scales, and then the local extreme points of the image at different scales are detected using the scale space extreme value detection algorithm;
[0088] These extreme points often correspond to feature points in the image.
[0089] Based on the detected extreme points in the scale space, the extreme information of the scale space is used to locate the key points;
[0090] The exact location of the key point is determined by analyzing the Gaussian curvature of the area around the extreme point. Gaussian curvature is a method of representing curvature in an image, which measures the degree of curvature of a curve at a certain point. By calculating the Gaussian curvature of the area around the extreme point, it can be determined whether the point is a key point. According to the characteristics of Gaussian curvature, the extreme points are screened, and the extreme points with Gaussian curvature within a certain range are usually selected as the final key points. For example, only the extreme points with Gaussian curvature within a positive or negative range are selected as key points. These points usually correspond to the positions with obvious edges or corners in the image.
[0091] Filter the detected key points;
[0092] The detected key points are screened based on their stability and repeatability in the image. Generally speaking, key points with low contrast, at the image boundary, and in areas with unclear texture are excluded to improve the quality of feature points.
[0093] For each filtered key point, the main direction of the key point is determined using the gradient information;
[0094] Usually, a directional histogram of gradients is calculated in the area around the key point, and the direction with the largest gradient magnitude is selected as the main direction of the key point.
[0095] Finally, for each key point, generate the corresponding descriptor;
[0096] This usually involves sampling the pixel values in the area around the key point and using its local gradient information to build a descriptor. The SIFT descriptor usually has a 128-dimensional vector that describes the local features around the key point.
[0097] For the extracted feature points, the descriptors of the features are calculated to describe the local appearance information of the feature points;
[0098] The descriptor here is SIFT descriptor.
[0099] Use feature descriptors to match feature points and find the correspondence between feature points in the projection coordinate system and feature points in the map coordinate system;
[0100] Commonly used feature matching algorithms include nearest neighbor-based matching, RANSAC algorithm based on best approximate matching, etc.
[0101] For the matched feature point pairs, calculate the coordinate difference between the projection coordinate system and the map coordinate system, assuming M is the number of matched feature point pairs. k For the feature point, let its coordinates in the projection coordinate system be , the coordinates in the map coordinate system are , then the coordinate difference of the matched feature points is expressed by the Euclidean distance It is expressed as: ;
[0102] Coordinate differences by matching feature points Calculate the projection coordinate deviation index. The calculation expression is: , where Represents the projection coordinate deviation index.
[0103] It can be seen from the calculation expression of the projection coordinate deviation index that when the UAV visualizes the flight data on the map, the larger the performance value of the projection coordinate deviation index calculated after comparing the projection coordinate system and the map coordinate system, the greater the deviation between the projection coordinate system and the map coordinate system, which in turn indicates that the hidden danger of map projection and scale distortion is greater. Conversely, the smaller the hidden danger of map projection and scale distortion is.
[0104] Get the map resolution consistency index generated when the drone visualizes the flight data on the map and the projection coordinate deviation index Then, the map resolution consistency index and the projection coordinate deviation index Build map projection and scale distortion perception models to generate distortion quantification values , through the distortion quantization value Get intelligent awareness of map projection and scale distortions.
[0105] The above map projection and scale distortion perception model are not specifically limited here, and can achieve the map resolution consistency index and the projection coordinate deviation index Perform comprehensive analysis and generate distortion quantification values In order to realize the technical solution of the present invention, the present invention provides a specific implementation method;
[0106] Distortion quantization value The resulting calculation formula is: , where , Map resolution consistency index and the projection coordinate deviation index The preset scaling factor of , Both are greater than 0.
[0107] From the calculation formula, we can see that when the drone visualizes the flight data on the map, the smaller the performance value of the map resolution consistency index generated, the larger the performance value of the projection coordinate deviation index, that is, the generated distortion quantization value The larger the performance value, the greater the hidden danger of map projection and scale distortion. Conversely, the smaller the hidden danger of map projection and scale distortion.
[0108] The distortion quantization value generated when the flight data is visualized on the map is compared and analyzed with the pre-set distortion quantization value reference threshold. The results of the comparison and analysis are as follows:
[0109] If the distortion quantization value is greater than or equal to the distortion quantization value reference threshold, a distortion hidden danger signal is generated, and an intelligent detection prompt is issued for the distortion hidden danger signal. When the UAV generates a distortion hidden danger signal by visualizing the flight data on the map, it indicates that there is a hidden danger of map projection and scale distortion;
[0110] If the distortion quantization value is less than the distortion quantization value reference threshold, a visualization signal is generated, and no prompt is issued for the visualization signal. When the UAV visualizes the flight data on the map to generate a visualization signal, it indicates that the UAV can efficiently visualize the flight data on the map.
[0111] Obtain the flight attitude change data information of the UAV, analyze the flight attitude change of the UAV based on the acquired information, divide the flight attitude change of the UAV into abnormal attitude change and normal attitude change, and further analyze the hidden dangers of map projection and scale distortion under abnormal attitude change and normal attitude change;
[0112] The process of dividing the flight attitude change of the drone into abnormal attitude change period and normal attitude change period is as follows:
[0113] Collect the attitude data of the UAV during flight, arrange the data in chronological order, and pre-process the attitude data;
[0114] Attitude data includes parameters such as pitch, roll, and yaw. Preprocessing includes removing outliers and data interpolation.
[0115] Model the posture data as a time series. Assume that the time series of the posture data is ,in, n is the number of data points, Indicates i The attitude parameter value at each time point;
[0116] The ARIMA model is used for time series modeling. The ARIMA model includes three parts: autoregression, difference, and moving average. The formula of the ARIMA model is: ,in, Indicates time point t The attitude parameter value of c is a constant term, and are the coefficients of the autoregressive term and the moving average term, respectively. p and q are the orders of the autoregressive term and the moving average term, respectively. represents the error term;
[0117] Attitude parameter values are usually used to describe the direction and attitude state of an aircraft (such as a drone, airplane, etc.) in space. Specifically, attitude parameters usually include pitch, roll, and yaw parameters, which describe the rotation state of the aircraft around three axes:
[0118] Pitch: Pitch is the rotational motion of the aircraft around its vertical axis. The pitch angle describes how much the aircraft's head is tilted up or down, expressed as an angle relative to the horizontal plane. Positive pitch means the aircraft's head is tilted up, negative pitch means it is tilted down.
[0119] Roll: Roll is the rotational motion of the aircraft around its lateral axis. The roll angle describes how much the aircraft is tilting sideways, expressed as an angle relative to the horizontal plane. A positive roll means the aircraft is tilting to the right, and a negative roll means it is tilting to the left.
[0120] Yaw: Yaw is the rotational movement of the aircraft around the vertical axis. The yaw angle describes the degree of rotation of the aircraft's heading, expressed as an angle relative to a reference direction. Positive yaw indicates clockwise rotation, and negative yaw indicates counterclockwise rotation.
[0121] These attitude parameter values are usually measured by sensors such as inertial measurement units and are used in applications such as aircraft navigation, control, and attitude stabilization.
[0122] Perform anomaly detection on the residuals of the ARIMA model, identify outliers, and calculate residuals , , is the value predicted by the ARIMA model;
[0123] The mean of the residual plus or minus several times the standard deviation is used as the threshold, and the residuals exceeding the threshold are identified as outliers;
[0124] Using the mean of the residual plus or minus several times the standard deviation as the threshold is a common anomaly detection method. The principle behind it is based on the assumption of normal distribution. In a normal distribution, most data points are concentrated near the mean, while a few outliers deviate far from the mean. Therefore, using the mean plus or minus several times the standard deviation as the threshold can effectively identify outliers that deviate far from the mean without setting a fixed threshold in advance. This method not only considers the central position of the data (mean), but also the distribution range of the data (standard deviation), which can better adapt to the characteristics of different data sets and improve the accuracy and robustness of anomaly detection.
[0125] The abnormal attitude change index of the drone is calculated according to the number and size of abnormal values, and the abnormal attitude change index is calculated using the following formula: , where Represents the abnormal posture change index, where Indicates i Outliers at each time point, n Represents the total number of data points.
[0126] From the calculation formula of the abnormal attitude change index, it can be seen that a higher abnormal attitude change index indicates that there are more abnormal changes in the attitude parameters, which may cause the flight path on the map to shift or deform. It is necessary to adjust the flight attitude of the drone in time to ensure the accuracy of the flight situation.
[0127] The abnormal attitude change index generated by the drone during flight is compared and analyzed with the preset abnormal attitude change index reference threshold. The results of the comparison and analysis are as follows:
[0128] If the abnormal posture change index is greater than or equal to the abnormal posture change index reference threshold, the corresponding moment is marked as an abnormal posture change;
[0129] If the abnormal posture change index is less than the abnormal posture change index reference threshold, the corresponding moment is marked as a normal posture change.
[0130] The process of analyzing the hidden dangers of map projection and scale distortion under abnormal and normal posture changes is as follows:
[0131] If the drone generates a distortion risk signal when visualizing flight data on the map and the drone flight is marked as a normal attitude change at the corresponding moment, it means that the map projection and scale distortion risks when the drone visualizes flight data on the map are not caused by the abnormal flight attitude of the drone. At this time, a warning signal is issued to remind relevant personnel that the drone has the risk of map projection and scale distortion and needs to be maintained and managed in time;
[0132] If the UAV generates a distortion risk signal when visualizing the flight data on the map and the UAV flight is marked as an abnormal attitude change at the corresponding moment, it indicates that the map projection and scale distortion risks that exist when the UAV visualizes the flight data on the map are caused by the abnormal flight attitude of the UAV or are caused by the UAV itself. At this time, a further judgment signal is issued to prompt relevant personnel to adjust the flight attitude of the UAV in time to ensure the accuracy of the UAV flight situation. When the UAV is marked as a normal attitude change during flight, further map projection and scale distortion risk judgment is performed to eliminate the map projection and scale distortion risks caused by the abnormal flight attitude of the UAV.
[0133] Adjusting the flight attitude of the drone to ensure the accuracy of the flight situation can be achieved in the following ways: First, the heading, pitch and roll angles of the aircraft can be adjusted through the attitude control system of the drone to keep it in a stable flight state. Secondly, the flight speed and altitude of the drone can be adjusted through the flight controller to adapt to the changes in the flight path on the map. Finally, the flight parameters can be monitored in real time through the remote control or autopilot system of the ground station, and real-time adjustments can be made to ensure the stability of the drone's attitude, thereby ensuring the accuracy and safety of the flight situation.
[0134] The present invention realizes quantitative evaluation of distortion through intelligent perception of map projection and scale distortion, and establishes a distortion perception model by using multi-source data information visualized on the map of flight data. It also realizes intelligent perception of map projection and scale distortion, and ensures timely notification to relevant personnel when map projection and scale distortion occur, so that relevant personnel can timely discover potential risks and improve flight safety.
[0135] The present invention can not only detect map projection and scale distortion, but also identify abnormal flight attitude of the UAV, and instantly determine whether the distortion is caused by abnormal attitude. By further analyzing the distortion under abnormal attitude changes and normal attitude changes, it can accurately determine whether the distortion is related to the flight attitude of the UAV, thereby guiding the user to adjust the flight attitude to eliminate the hidden dangers of map projection and scale distortion, and improve the accuracy and stability of UAV flight.
[0136] The present invention not only focuses on the problems of map projection and scale distortion, but also considers the impact of abnormal UAV flight posture on distortion, and provides a complete flight situation management solution. Through intelligent perception of distortion and identification of abnormal posture, it can effectively reduce flight risks, improve flight efficiency and safety, and provide users with comprehensive flight situation management support.
[0137] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0138] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0139] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. A method for visualizing low-altitude flight situation, characterized in that: The following steps are involved: Collect the flight data of the drone in real time and pre-process the flight data so that it can be accurately interpreted and used by the visualization system; Select a suitable map as the visualization background according to the needs and usage scenarios, and project the flight data of the drone onto the map according to the projection method of the selected map; Match the collected UAV flight data with the map coordinate system to make the UAV flight data consistent with the location and mark on the map, and present the matched UAV flight data on the map in a graphical manner; Obtain multi-source data information to visualize UAV flight data on the map, and intelligently perceive map projection and scale distortion based on the acquired information; The multi-source data information for visualizing UAV flight data on the map includes map resolution information, projection coordinate system information and map coordinate system information. After obtaining, the map resolution information is processed to generate a map resolution consistency index, and the map resolution consistency index is used to evaluate the consistency of resolutions in different areas of the map; after comparing the projection coordinate system with the map coordinate system, a projection coordinate deviation index is generated, and the deviation between the projection coordinate system and the map coordinate system is evaluated through the projection coordinate deviation index; Get the map resolution consistency index generated when the drone visualizes the flight data on the map and the projection coordinate deviation index Then, the map resolution consistency index and the projection coordinate deviation index Build map projection and scale distortion perception models to generate distortion quantification values , through the distortion quantization value Intelligent perception of map projection and scale distortion; Distortion quantization value The resulting calculation formula is: , where , Map resolution consistency index and the projection coordinate deviation index The preset scaling factor of , All are greater than 0; Acquire the data information of the UAV's flight attitude change, analyze the UAV's flight attitude change based on the acquired information, divide the UAV's flight attitude change into abnormal attitude change and normal attitude change, and further analyze the hidden dangers of map projection and scale distortion under abnormal attitude change and normal attitude change.
2. A low-altitude flight situation visualization method according to claim 1, characterized in that: The collected UAV flight data is matched with the map coordinate system through the positioning information of GPS data and the geographic coordinate system on the map.
3. A low-altitude flight situation visualization method according to claim 1, characterized in that: The logic for obtaining the map resolution consistency index is as follows: The map image is divided into blocks of the same size, denoted as I and K ; For each image block I and K , calculate its brightness, contrast and structure respectively, and convert each image block I and K The average brightness of and Representation, each image block I and K The contrast ratio is respectively and Representation, each image block I and K The structural information of and To express; Calculate the similarity measures between brightness, contrast and structure, denoted as , and , brightness similarity measure The calculation formula is: , contrast similarity measure The calculation formula is: , structural similarity measure The calculation formula is: , where , , is a constant; Calculate each image block I and K The structural similarity index between them is calibrated as , structural similarity index The calculation formula is: ,in, , , are the weight parameters for brightness, contrast, and structure; Divide the map into different regions and calculate the structural similarity index of each region separately , by calculating the structural similarity index of all regions The weighted average is performed to calculate the map resolution consistency index. The calculation expression of the map resolution consistency index is: ,in, N is the number of regions in the map, Represents the map resolution consistency index.
4. A low-altitude flight situation visualization method according to claim 1, characterized in that: The logic for obtaining the projection coordinate deviation index is as follows: The SIFT feature extraction algorithm is used to extract local feature points from the map images of the projection coordinate system and the map coordinate system. Suppose the feature set of the projection coordinate system is , the feature set of the map coordinate system is ; For the extracted feature points, the descriptors of the features are calculated to describe the local appearance information of the feature points; Use feature descriptors to match feature points and find the correspondence between feature points in the projection coordinate system and feature points in the map coordinate system; For the matched feature point pairs, calculate the coordinate difference between the projection coordinate system and the map coordinate system, assuming M is the number of matched feature point pairs. k For the feature point, let its coordinates in the projection coordinate system be , the coordinates in the map coordinate system are , then the coordinate difference of the matched feature points is expressed by the Euclidean distance It is expressed as: ; Coordinate differences by matching feature points Calculate the projection coordinate deviation index. The calculation expression is: , where Represents the projection coordinate deviation index.
5. A low-altitude flight situation visualization method according to claim 4, characterized in that: The specific steps for extracting local feature points are as follows: Preprocessing of map images in projected coordinate systems and map coordinate systems; In the preprocessed image, a Gaussian pyramid is constructed to filter the image at different scales, and then the local extreme points of the image at different scales are detected using the scale space extreme value detection algorithm; Based on the detected extreme points in the scale space, the extreme information of the scale space is used to locate the key points; Filter the detected key points; For each filtered key point, the main direction of the key point is determined using the gradient information; Finally, for each key point, a corresponding descriptor is generated.
6. A low-altitude flight situation visualization method according to claim 1, characterized in that: The distortion quantization value generated when the flight data is visualized on the map is compared and analyzed with the pre-set distortion quantization value reference threshold. The results of the comparison and analysis are as follows: If the distortion quantization value is greater than or equal to the distortion quantization value reference threshold, a distortion hidden danger signal is generated, and an intelligent detection prompt is issued for the distortion hidden danger signal. When the UAV generates a distortion hidden danger signal by visualizing the flight data on the map, it indicates that there is a hidden danger of map projection and scale distortion; If the distortion quantization value is less than the distortion quantization value reference threshold, a visualization signal is generated, and no prompt is issued for the visualization signal. When the UAV visualizes the flight data on the map to generate a visualization signal, it indicates that the UAV can efficiently visualize the flight data on the map.
7. A low-altitude flight situation visualization method according to claim 1, characterized in that: The process of dividing the flight attitude change of the drone into abnormal attitude change period and normal attitude change period is as follows: Collect the attitude data of the UAV during flight, arrange the data in chronological order, and pre-process the attitude data; Model the posture data as a time series. Assume that the time series of the posture data is ,in, n is the number of data points, Indicates i The attitude parameter value at each time point; The ARIMA model is used for time series modeling. The ARIMA model includes three parts: autoregression, difference, and moving average. The formula of the ARIMA model is: ,in, Indicates time point t The attitude parameter value of c is a constant term, and are the coefficients of the autoregressive term and the moving average term, respectively. p and q are the orders of the autoregressive term and the moving average term, respectively. represents the error term; Perform anomaly detection on the residuals of the ARIMA model, identify outliers, and calculate residuals , , is the value predicted by the ARIMA model; The mean of the residual plus or minus several times the standard deviation is used as the threshold, and the residuals exceeding the threshold are identified as outliers; The abnormal attitude change index of the drone is calculated according to the number and size of abnormal values, and the abnormal attitude change index is calculated using the following formula: , where Represents the abnormal posture change index, where Indicates i Outliers at each time point, n Represents the total number of data points.
8. A low-altitude flight situation visualization method according to claim 7, characterized in that: The abnormal attitude change index generated by the drone during flight is compared and analyzed with the preset abnormal attitude change index reference threshold. The results of the comparison and analysis are as follows: If the abnormal posture change index is greater than or equal to the abnormal posture change index reference threshold, the corresponding moment is marked as abnormal posture change; if the abnormal posture change index is less than the abnormal posture change index reference threshold, the corresponding moment is marked as normal posture change; The process of analyzing the hidden dangers of map projection and scale distortion under abnormal and normal posture changes is as follows: If the drone generates a distortion risk signal when visualizing flight data on the map and the drone flight is marked as a normal attitude change at the corresponding moment, it means that the map projection and scale distortion risks when the drone visualizes flight data on the map are not caused by the abnormal flight attitude of the drone. At this time, a warning signal is issued to remind relevant personnel that the drone has the risk of map projection and scale distortion and needs to be maintained and managed in time; If the UAV generates a distortion risk signal when visualizing the flight data on the map and the UAV flight is marked as an abnormal attitude change at the corresponding moment, it indicates that the map projection and scale distortion risks that exist when the UAV visualizes the flight data on the map are caused by the abnormal flight attitude of the UAV or are caused by the UAV itself. At this time, a further judgment signal is issued to prompt relevant personnel to adjust the flight attitude of the UAV in time to ensure the accuracy of the UAV flight situation. When the UAV is marked as a normal attitude change during flight, further map projection and scale distortion risk judgment is performed to eliminate the map projection and scale distortion risks caused by the abnormal flight attitude of the UAV.
