A ground slope detection method, device and computer readable storage medium

The aircraft's three-dimensional attitude data and downward-looking distance detector are used to calculate the ground slope and generate warning signals, which solves the problem of safe landing of UAVs in unknown sites, realizes simple and efficient slope detection, and reduces hardware costs and difficulty of use.

CN115167512BActive Publication Date: 2024-09-06EHANG INTELLIGENT EQUIP GUANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210875763.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-25
Publication Date
2024-09-06
Estimated Expiration
2042-07-25

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively detect the slope of the landing ground on a drone, especially in unknown sites, which limits the safe landing of the aircraft.

Method used

The unique plane is calculated through the three-dimensional attitude data of the aircraft and the distance data of the downward-looking distance detector, the unit normal vector in the geodetic coordinate system is calculated, and a warning signal is generated based on the angle with the geodetic horizontal plane to realize ground slope detection.

Benefits of technology

It reduces the system hardware cost and maintenance difficulty, is suitable for smaller-scale drone platforms, and provides safety guarantee for aircraft landing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167512B
    Figure CN115167512B
Patent Text Reader

Abstract

The present invention discloses a ground slope detection method, device and computer-readable storage medium. The method includes: calculating a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft according to the three-dimensional attitude data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft; calculating the rotation matrix of the body coordinate system to the earth coordinate system through the three-dimensional attitude data, and calculating the first unit normal vector of the unique plane in the earth coordinate system according to the rotation matrix; calculating the angle between the second unit normal vector of the earth's horizontal plane in the earth coordinate system and the first unit normal vector, and generating a warning signal of excessive ground slope when the angle is greater than or equal to a preset threshold. The present invention reduces the system hardware cost and maintenance and use difficulty of slope detection, and effectively guarantees the landing safety of the aircraft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicles, and in particular to a ground slope detection method, device and computer-readable storage medium. Background Art

[0002] At present, relevant conditions are set for the safe landing of aircraft in aircraft technology. For example, for the safe landing of multi-rotor aircraft, whether it is through fully autonomous control, semi-automatic control or manual control, the landing conditions are closely related to the slope and flatness of the ground to be landed. In particular, for some aircraft with a small vertical distance between the propeller plane and the tripod, if the ground slope is large or there is a significant terrain height difference on the ground, when the aircraft falls vertically, there is a possibility of collision between the propeller and the ground, which will directly lead to damage to the propeller and even the risk of overturning the aircraft.

[0003] In order to avoid the above risks, the aircraft is controlled to land in a known area, that is, the terrain conditions of the landing area can be measured in advance or in real time by ground devices. However, in many scenarios, the aircraft needs to land or make an emergency landing in an unknown area. At this time, there is no ground device to detect, calculate and analyze the terrain conditions of the landing area, which cannot provide effective guarantee for the safe landing of the aircraft.

[0004] In order to solve the above problems, an existing solution is to install a laser radar-based scanner and computing system on the aircraft to obtain accurate radar point cloud data under the aircraft, thereby forming terrain data and realizing terrain detection of the landing ground.

[0005] However, the system hardware cost supported by the above solution is high, and it is difficult to maintain and use. In addition, due to its size and weight, it cannot be widely used on smaller-scale aircraft platforms such as drones.

[0006] In summary, how to detect the slope of the landing ground in a simple and effective way on an aircraft has become a technical problem that needs to be solved urgently. Summary of the invention

[0007] In order to solve the above technical defects in the prior art, the present invention proposes a ground slope detection method, which includes:

[0008] During the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional posture data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft;

[0009] A rotation matrix from the body coordinate system to the earth coordinate system is calculated by using the three-dimensional posture data, and a first unit normal vector of the unique plane in the earth coordinate system is calculated according to the rotation matrix;

[0010] The angle between the second unit normal vector of the geoid in the geodetic coordinate system and the first unit normal vector is calculated, and when the angle is greater than or equal to a preset threshold, a warning signal of excessive ground slope is generated.

[0011] Optionally, during the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional posture data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft, including:

[0012] Acquire at least three detector coordinates of at least three non-collinear downward-looking distance detectors in the body coordinate system;

[0013] Based on the at least three distance data and at least three detection coordinates obtained by the at least three downward-looking distance detectors, at least three expressions of the at least three downward-looking distance detection points corresponding to the at least three downward-looking distance detectors in the body coordinate system are determined, and the unique plane is determined based on the at least three expressions.

[0014] Optionally, the calculating a rotation matrix from the body coordinate system to the earth coordinate system through the three-dimensional posture data, and calculating a first unit normal vector of the unique plane in the earth coordinate system according to the rotation matrix, comprises:

[0015] Obtaining a third unit normal vector of the unique plane in the body coordinate system by vector product and normalization calculation;

[0016] The coordinates of the third unit normal vector are transformed according to the rotation matrix to obtain the first unit normal vector.

[0017] Optionally, the calculating the angle between the second unit normal vector of the geoid in the geodetic coordinate system and the first unit normal vector, and generating a warning signal of excessive ground slope when the angle is greater than or equal to a preset threshold, comprises:

[0018] Calculate the angle between the second unit normal vector and the first unit normal vector by vector inner product and arc cosine as the slope angle between the unique plane and the geoid;

[0019] When the slope angle is greater than or equal to the preset threshold, the warning signal is generated, and when the slope angle is less than the preset threshold, the slope angle is output as data.

[0020] Optionally, the number of the downward-looking distance detectors is greater than three, and the method comprises:

[0021] Acquire a detection plane according to the distance data of every three downward-looking distance detectors to obtain a plane set consisting of a plurality of the detection planes;

[0022] The fourth unit normal vector of each detection plane in the plane set is calculated, and the angle between each fourth unit normal vector and the second unit normal vector is calculated to form a first angle set, and the angle between every two detection planes is calculated to form a second angle set.

[0023] Optionally, the method further comprises:

[0024] When any angle in the first angle set is greater than or equal to the preset threshold, generating the warning signal;

[0025] When the variance of each angle in the first angle set is less than a preset variance value, the mean of each angle is taken as data output.

[0026] Optionally, the method further comprises:

[0027] In the second angle set, the maximum difference angle among the angles is calculated;

[0028] When the maximum difference angle is greater than or equal to the first preset angle value, a reminder signal indicating that the landing ground is uneven is generated.

[0029] Optionally, the method further comprises:

[0030] Acquire the maximum angle among the angles in the first angle set;

[0031] When the maximum angle is greater than or equal to a second preset angle value, the warning signal is generated.

[0032] The present invention also proposes a ground slope detection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the ground slope detection method as described in any one of the above items are implemented.

[0033] The present invention also proposes a computer-readable storage medium, on which a ground slope detection program is stored. When the ground slope detection program is executed by a processor, the steps of the ground slope detection method as described in any one of the above items are implemented.

[0034] The ground slope detection method, device and computer-readable storage medium of the present invention are implemented by calculating the unique plane of at least three downward-sighted distance detection points in the body coordinate system of the aircraft according to the three-dimensional posture data of the aircraft and the distance data of at least three downward-sighted distance detectors set in the aircraft during the landing process of the aircraft; calculating the rotation matrix from the body coordinate system to the earth coordinate system according to the three-dimensional posture data, and calculating the first unit normal vector of the unique plane in the earth coordinate system according to the rotation matrix; calculating the angle between the second unit normal vector of the earth's horizontal plane in the earth coordinate system and the first unit normal vector, and generating a warning signal of excessive ground slope when the angle is greater than or equal to a preset threshold. The present invention realizes a simple and efficient slope detection solution, reduces the system hardware cost and the difficulty of maintenance and use, and when applied to smaller-scale aircraft platforms such as unmanned aerial vehicles, it is no longer limited by volume size and self-weight, which effectively guarantees the landing safety of the aircraft. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0036] Figure 1 is a flow chart of a first embodiment of a ground slope detection method according to the present invention;

[0037] Figure 2 is a first flow chart of a second embodiment of a ground slope detection method according to the present invention;

[0038] Figure 3 is a second flow chart of a second embodiment of the ground slope detection method of the present invention;

[0039] Figure 4 is a third flow chart of the second embodiment of the ground slope detection method of the present invention;

[0040] Figure 5 is a first flow chart of a third embodiment of a ground slope detection method according to the present invention;

[0041] Figure 6 is a second flow chart of a third embodiment of the ground slope detection method of the present invention;

[0042] Figure 7 is a third flow chart of a third embodiment of the ground slope detection method of the present invention;

[0043] Figure 8 is a fourth flow chart of the third embodiment of the ground slope detection method of the present invention;

[0044] Fig. 9 It is a schematic diagram of slope angle detection in the third embodiment of the ground slope detection method of the present invention. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0046] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0047] Embodiment 1

[0048] Figure 1 1 is a flow chart of a first embodiment of a ground slope detection method of the present invention. A ground slope detection method, the method comprising:

[0049] S1. During the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional posture data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft.

[0050] In this embodiment, when the aircraft is preparing to land, the relative distance between the aircraft and the landing area is determined based on the distance data of at least one visual range detector, and when the relative distance is less than a preset distance value, the calculation of the unique plane of at least three lower visual range detection points in the body coordinate system is started, that is, the slope angle of the landing area is calculated.

[0051] In this embodiment, during the vertical landing of the aircraft, if it is detected that the above relative distance is less than the preset distance value, the calculation of the unique plane of at least three downward-looking distance detection points in the body coordinate system is started; during the landing of the aircraft, if it moves horizontally relative to the ground, the above relative distance is updated after the horizontal movement, and when the above relative distance is less than the preset distance value, the unique plane of at least three downward-looking distance detection points in the body coordinate system is recalculated.

[0052] In this embodiment, at least three downward line-of-sight distance detectors arranged on the aircraft are millimeter wave radars, ultrasonic radars or laser radars, wherein each downward line-of-sight distance detector adopts the same type of device.

[0053] In this embodiment, at least three downward sight distance detectors are respectively arranged at dispersed positions at the bottom of the aircraft and where the detection direction is not blocked. Optionally, at least three downward sight distance detectors are respectively installed at the end points of the aircraft's tripod.

[0054] S2. Calculate the rotation matrix from the body coordinate system to the earth coordinate system through the three-dimensional posture data, and calculate the first unit normal vector of the unique plane in the earth coordinate system according to the rotation matrix.

[0055] In this embodiment, first, the three-dimensional attitude data of the aircraft is obtained through the inertial measurement unit of the aircraft, and the three-dimensional attitude data includes pitch, yaw and roll; then, the rotation matrix from the body coordinate system to the earth coordinate system is calculated according to the three-dimensional attitude data. Finally, the unit normal vector of the unique plane is calculated according to the rotation matrix The first unit normal vector in the geodetic coordinate system

[0056] S3. Calculate the angle between the second unit normal vector of the geoid in the geodetic coordinate system and the first unit normal vector, and generate a warning signal indicating excessive ground slope when the angle is greater than or equal to a preset threshold.

[0057] In this embodiment, first, the unit normal vector of the geoid in the geodetic coordinate system is obtained. As the second unit normal vector of this embodiment; then, the first unit normal vector is obtained by the vector inner product formula and arc cosine calculation With the second unit normal vector The angle θ between the two planes is the slope angle between the two planes. In this embodiment, when the angle is greater than or equal to the preset threshold, it is determined that the slope of the landing area is large, that is, a warning signal of excessive ground slope is generated.

[0058] The beneficial effects of this embodiment are that, during the landing process of the aircraft, a unique plane of at least three downward-sighted distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional posture data of the aircraft and the distance data of at least three downward-sighted distance detectors arranged on the aircraft; the rotation matrix of the body coordinate system to the earth coordinate system is calculated based on the three-dimensional posture data, and the first unit normal vector of the unique plane in the earth coordinate system is calculated based on the rotation matrix; the angle between the second unit normal vector of the earth's horizontal plane in the earth coordinate system and the first unit normal vector is calculated, and when the angle is greater than or equal to a preset threshold, a warning signal of excessive ground slope is generated. This embodiment implements a simple and efficient slope detection solution, reduces the system hardware cost and the difficulty of maintenance and use, and when applied to smaller-scale aircraft platforms such as drones, it is no longer limited by volume size and self-weight, which effectively guarantees the landing safety of the aircraft.

[0059] Embodiment 2

[0060] Figure 21 is a first flow chart of a second embodiment of the ground slope detection method of the present invention. Based on the above embodiment, during the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated according to the three-dimensional posture data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft, including:

[0061] S11, obtaining at least three detector coordinates of at least three non-collinear downward-looking distance detectors in the body coordinate system.

[0062] In this embodiment, first, the forward, rightward, and downward body coordinate systems are defined. and the geodetic coordinate system to the north, east, and ground Then, the known coordinates of each downward range detector in the body coordinate system are stored in the flight control computer program (i.e., flight control for short).

[0063] S12. Determine at least three expressions of at least three downward-looking distance detection points corresponding to at least three downward-looking distance detectors in the body coordinate system based on at least three distance data and at least three detection coordinates detected by at least three downward-looking distance detectors, and determine the unique plane based on at least three expressions.

[0064] In this embodiment, first, the flight control obtains the real-time three-dimensional attitude data A (roll, pitch, yaw) of the aircraft and the distance of each downward distance detector. Then, obtain the lower coordinates of any three non-collinear lower-viewing distance detectors in the body coordinate system Combined with the detection distances of the above three non-collinear downward distance detectors The expression of the above three non-collinear detection points in the body coordinate system is calculated as follows: Finally, under the premise of confirming that the above three detection points are not collinear, determine the only plane S in the body coordinate system abc .

[0065] Figure 3 is a second flow chart of the second embodiment of the ground slope detection method of the present invention. In this embodiment, the rotation matrix from the body coordinate system to the earth coordinate system is calculated by the three-dimensional posture data, and the first unit normal vector of the unique plane in the earth coordinate system is calculated according to the rotation matrix, including:

[0066] S21. Obtain a third unit normal vector of the unique plane in the body coordinate system through vector product and normalization calculation.

[0067] In this embodiment, first, for the unique plane Sabc , using its unit normal vector Represented; then, through the vector product and normalization, the unit normal vector is calculated As the third unit normal vector of this embodiment.

[0068] S22. Perform coordinate transformation on the third unit normal vector according to the rotation matrix to obtain the first unit normal vector.

[0069] In this embodiment, first, the rotation matrix from the body coordinate system to the NED earth coordinate system is calculated based on the above three-dimensional posture data A (roll, pitch, yaw): Then, the unique plane S can be obtained by coordinate transformation abc Unit normal vector in the geodetic coordinate system As the first unit normal vector of this embodiment.

[0070] Figure 4 3 is a flow chart of the second embodiment of the ground slope detection method of the present invention. In this embodiment, the angle between the second unit normal vector of the ground horizontal plane in the ground coordinate system and the first unit normal vector is calculated, and when the angle is greater than or equal to a preset threshold, a warning signal of excessive ground slope is generated, including:

[0071] S31. Calculate the angle between the second unit normal vector and the first unit normal vector by vector inner product and arc cosine as the slope angle between the unique plane and the geoid.

[0072] In this embodiment, the unit normal vector of the geoid in the geodetic coordinate system is a known quantity, that is, the second unit normal vector In this embodiment, the first unit normal vector is obtained by using the vector inner product formula and arc cosine calculation. With the second unit normal vector The angle θ between them is also the slope angle between the above-mentioned unique plane and the horizontal plane of the earth.

[0073] S32: When the slope angle is greater than or equal to the preset threshold, the warning signal is generated; when the slope angle is less than the preset threshold, the slope angle is output as data.

[0074] In this embodiment, when the slope angle is greater than or equal to the preset threshold, the warning signal is generated; if the corresponding current landing area changes during the landing process, the slope angle is updated at a preset frequency, thereby assisting the pilot or the ground station to select a flat landing area for the aircraft; if during the landing process, the slope angle is less than the preset threshold, the slope angle is output as data, thereby assisting the pilot or the ground station to control the landing of the aircraft in the current landing area.

[0075] Embodiment 3

[0076] Figure 5 is a first flow chart of a third embodiment of a ground slope detection method according to the present invention, Fig. 9 1 is a schematic diagram of slope angle detection of the third embodiment of the ground slope detection method of the present invention. In this embodiment, the number of the downward viewing distance detectors is greater than three, and the method includes:

[0077] S41. Acquire a detection plane according to the distance data of every three downward-looking distance detectors to obtain a plane set consisting of a plurality of the detection planes.

[0078] In this embodiment, if Fig. 9 As shown, a downward sight distance detector is respectively set at the four end points of the two landing gears of the aircraft, based on which any three of the four downward sight distance detectors are not collinear. In this embodiment, any three of the four downward sight distance detectors detect a unique plane, and thus the plane set formed includes four detection planes.

[0079] S42. Calculate the fourth unit normal vector of each detection plane in the plane set, and calculate the angle between each fourth unit normal vector and the second unit normal vector to form a first angle set, and calculate the angle between every two detection planes to form a second angle set.

[0080] In this embodiment, in the plane set, the fourth unit normal vectors of the four detection planes are calculated respectively, and the angles between the four fourth unit normal vectors and the second unit normal vector are calculated respectively to obtain a first angle set consisting of four angles.

[0081] In this embodiment, in the plane set, the fourth unit normal vectors of the four detection planes are calculated respectively, and the angle between every two of the four fourth unit normal vectors is calculated to obtain a second angle set consisting of six angles.

[0082] Figure 6 is a second flow chart of a third embodiment of the ground slope detection method of the present invention. In this embodiment, the method further includes:

[0083] S51. When any angle in the first angle set is greater than or equal to the preset threshold, generate the warning signal.

[0084] In this embodiment, among the four angles in the first angle set, if any angle is greater than or equal to the preset threshold, it is determined that there is a large slope, and the warning signal is generated.

[0085] S52: When the variance of each angle in the first angle set is less than a preset variance value, take the mean of each angle as data output.

[0086] In this embodiment, among the four angles in the first angle set, if any angle is greater than or equal to the preset threshold value, it is determined that there is a large slope, and the warning signal is generated; at the same time, among the four angles in the first angle set, the difference between the angles is not large, that is, the variance of each angle is less than the preset variance value, the mean of each angle is taken as the data output corresponding to the warning signal.

[0087] Figure 7 3 is a third flow chart of the third embodiment of the ground slope detection method of the present invention. In this embodiment, the method further includes:

[0088] S61. Calculate the maximum difference angle among the angles in the second angle set.

[0089] In this embodiment, the difference between the two angles in the second angle set is taken, and the two angles with the largest interpolation values ​​are used as the maximum difference angles of this embodiment; or, the average of the six angles in the second angle set is taken, and among the six angles, the angle with the largest difference from the average is taken as the maximum difference angle of this embodiment.

[0090] S62: When the maximum difference angle is greater than or equal to a first preset angle value, a warning signal indicating that the landing ground is uneven is generated.

[0091] In this embodiment, when the maximum difference angle is greater than or equal to the first preset angle value, it is determined that the angle difference between the four planes is too large, that is, it is determined that the current landing area is in an uneven state.

[0092] Figure 8 4 is a flow chart of the third embodiment of the ground slope detection method of the present invention. In this embodiment, the method further includes:

[0093] S71. Obtain the maximum angle among the angles in the first angle set.

[0094] In this embodiment, among the four angles in the first angle set, the angle with the largest angle value is obtained as the maximum angle of this embodiment.

[0095] S72. When the maximum angle is greater than or equal to a second preset angle value, generate the warning signal.

[0096] In this embodiment, the warning signal is generated when the maximum angle is greater than or equal to the second preset angle value, wherein the second preset angle value is greater than the first preset angle value. That is, the first preset angle value is only used to indicate the uneven state of the ground, which does not necessarily bring safety hazards to the landing of the aircraft; while the second preset angle value is used to indicate the slope state of the ground, which will definitely affect the safety of the landing of the aircraft.

[0097] Embodiment 4

[0098] Based on the above embodiments, the present invention also proposes a ground slope detection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the ground slope detection method as described in any one of the above items when executed by the processor.

[0099] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.

[0100] Embodiment 5

[0101] Based on the above embodiments, the present invention further proposes a computer-readable storage medium, on which a ground slope detection program is stored. When the ground slope detection program is executed by a processor, the steps of the ground slope detection method as described in any one of the above items are implemented.

[0102] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.

[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0104] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0106] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A ground slope detection method, characterized in that: The method comprises: During the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional posture data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft; A rotation matrix from the body coordinate system to the earth coordinate system is calculated by using the three-dimensional posture data, and a first unit normal vector of the unique plane in the earth coordinate system is calculated according to the rotation matrix; Calculating an angle between a second unit normal vector of a geoid in the geodetic coordinate system and the first unit normal vector, and generating a warning signal indicating excessive ground slope when the angle is greater than or equal to a preset threshold; The number of the downward-looking distance detectors is greater than three, and the method comprises: Acquire a detection plane according to the distance data of every three downward-looking distance detectors to obtain a plane set consisting of a plurality of the detection planes; Calculating the fourth unit normal vector of each detection plane in the plane set, and calculating the angle between each fourth unit normal vector and the second unit normal vector to form a first angle set, and calculating the angle between every two detection planes to form a second angle set; When any angle in the first angle set is greater than or equal to the preset threshold, the warning signal is generated; or, the maximum angle among the angles in the first angle set is obtained, and when the maximum angle is greater than or equal to a second preset angle value, the warning signal is generated; The maximum difference angle among the angles is calculated in the second angle set, and when the maximum difference angle is greater than or equal to the first preset angle value, a warning signal indicating that the landing ground is uneven is generated.

2. The ground slope detection method according to claim 1, characterized in that: During the landing process of the aircraft, a unique plane of at least three downward-looking distance detection points in the body coordinate system of the aircraft is calculated based on the three-dimensional attitude data of the aircraft and the distance data of at least three downward-looking distance detectors arranged on the aircraft, including: Acquire at least three detector coordinates of at least three non-collinear downward-looking distance detectors in the body coordinate system; Based on at least three distance data and at least three detector coordinates obtained by detection by at least three downward-looking distance detectors, at least three expressions of at least three downward-looking distance detection points corresponding to at least three downward-looking distance detectors in the body coordinate system are determined, and the unique plane is determined based on the at least three expressions.

3. The ground slope detection method according to claim 1, characterized in that: The step of calculating a rotation matrix from the body coordinate system to the earth coordinate system through the three-dimensional posture data, and calculating a first unit normal vector of the unique plane in the earth coordinate system according to the rotation matrix, comprises: Obtaining a third unit normal vector of the unique plane in the body coordinate system by vector product and normalization calculation; The coordinates of the third unit normal vector are transformed according to the rotation matrix to obtain the first unit normal vector.

4. The ground slope detection method according to claim 1, characterized in that: The step of calculating the angle between the second unit normal vector of the geoid in the geodetic coordinate system and the first unit normal vector, and generating a warning signal of excessive ground slope when the angle is greater than or equal to a preset threshold, includes: Calculate the angle between the second unit normal vector and the first unit normal vector by vector inner product and arc cosine as the slope angle between the unique plane and the geoid; When the slope angle is greater than or equal to the preset threshold, the warning signal is generated, and when the slope angle is less than the preset threshold, the slope angle is output as data.

5. The ground slope detection method according to claim 1, characterized in that: The method further comprises: When the variance of each angle in the first angle set is less than a preset variance value, the mean of each angle is taken as data output.

6. A ground slope detection device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the ground slope detection method according to any one of claims 1 to 5 are implemented.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a ground slope detection program, and when the ground slope detection program is executed by the processor, the steps of the ground slope detection method according to any one of claims 1 to 5 are implemented.