UAV positioning method, device, computer equipment and storage medium
By combining the positioning methods of GPS, UWB and relay drones, and using laser radar to assist positioning, the problem of low drone positioning accuracy in bridge inspections is solved and higher positioning accuracy and stability are achieved.
Patent Information
- Application Number
- CN202210784039.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-07-05
AI Technical Summary
The existing UAV bridge inspection and positioning method is not very accurate because the GPS signal is weakly affected by the multipath effect under the bridge body and the UWB positioning accuracy is low in windy weather.
Using the method of combining GPS, UWB and relay drones, the final positioning information is obtained by obtaining the first, second and third position information of the target drone, and weighting it according to the status information of the drone. The relay drone is set up on the side of the bridge, using laser radar to assist positioning, and combining UWB and GPS signals to improve positioning accuracy.
It improves the positioning accuracy of UAVs in bridge inspections, enhances positioning stability under weak GPS signals and strong wind conditions, and ensures the accuracy and efficiency of inspection tasks.
Smart Images

Figure CN115379390B
Abstract
Description
Technical Field
[0001] The present application relates to the field of drone technology, and in particular to a drone positioning method, device, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of drone technology, a technology for bridge inspection using drones has emerged. This technology can realize bridge inspection through drones. When the inspection drone detects a problem with the bridge, the location of the problematic bridge can be determined by obtaining the location of the inspection drone.
[0003] In traditional technology, inspection drones are usually positioned using GPS or UWB. However, due to the multipath effect caused by the reflection of satellite signals from the steel structure of the bridge and the water surface under the bridge, the GPS signal under the bridge is weak. At the same time, if there is interference from strong winds during the inspection mission, the UWB will not converge when the drone is hovering. Therefore, the positioning accuracy of existing inspection drones used for bridge inspection is low. Summary of the invention
[0004] Based on this, it is necessary to provide a drone positioning method, device, computer equipment, computer-readable storage medium and computer program product that can improve the positioning accuracy of patrol drones in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a method for positioning a drone, the method comprising:
[0006] By using GPS positioning technology, first position information of a target UAV to be located is obtained; the target UAV is used to inspect the target bridge;
[0007] Acquire the second position information of the target UAV through the UWB positioning system;
[0008] Using a relay drone pre-set for the target bridge, obtaining third position information of the target drone;
[0009] According to the drone state information of the target drone, respectively obtain a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information;
[0010] The first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
[0011] In one embodiment, the relay drone is set at a preset position on the side of the target bridge; the relay drone includes: a first relay drone, a second relay drone, and a third relay drone; the use of the relay drone pre-set for the target bridge to obtain the third position information of the target drone includes: obtaining the first relay position information of the first relay drone, the second relay position information of the second relay drone, and the third relay position information of the third relay drone; obtaining the first distance between the target drone and the first relay drone, the second distance between the target drone and the second relay drone, and the third distance between the target drone and the third relay drone; based on the first relay position information, the second relay position information, and the third relay position information, and the first distance, the second distance and the third distance, the third position information is obtained.
[0012] In one embodiment, the relay UAV and the target UAV are at the same altitude; the third position information is obtained based on the first relay position information, the second relay position information, and the third relay position information, and the first distance, the second distance, and the third distance, including: setting the first relay position information as the coordinate origin of the relay coordinate system, and obtaining the first coordinate information of the second relay position information in the relay coordinate system, and the second coordinate information of the third relay position information in the relay coordinate system; using the first coordinate information and the second coordinate information, and the first distance, the second distance, and the third distance, to obtain the third coordinate information of the target UAV in the relay coordinate system; based on the third coordinate information, obtaining the third position information.
[0013] In one embodiment, the drone status information includes the GPS signal strength of the target drone; and according to the drone status information of the target drone, respectively obtaining a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information, including: if the GPS signal strength is greater than or equal to a preset GPS signal strength threshold, setting the first weight to 1, and setting the second weight and the third weight to 0; and / or if the GPS signal strength is less than the GPS signal strength threshold, setting the first weight to 0, and setting the sum of the second weight and the third weight to 1.
[0014] In one of the embodiments, the drone status information further includes: a UWB mean square error value corresponding to the target drone; after setting the sum of the second weight and the third weight to 1, it may also include: as the UWB mean square error value increases, reducing the second weight and increasing the third weight.
[0015] In one embodiment, reducing the second weight as the UWB mean square error value increases includes: if the UWB mean square error value is less than a preset first mean square error value, setting the second weight to a first value, and setting the third weight to 1-the first value; if the UWB mean square error value is greater than or equal to the first mean square error value and less than a preset second mean square error value, setting the second weight to a second value, and setting the third weight to 1-the second value; wherein the first mean square error value is less than the second mean square error value; the second value is less than the first value; and / or if the UWB mean square error value is greater than or equal to the second mean square error value, setting the second weight to a third value, and setting the third weight to 1-the third value; the third value is less than the second value.
[0016] In a second aspect, the present application also provides a drone positioning device, the device comprising:
[0017] A first position acquisition module is used to acquire first position information of a target UAV to be located by using GPS positioning technology; the target UAV is used to inspect the target bridge;
[0018] A second position acquisition module, used to acquire second position information of the target UAV through a UWB positioning system;
[0019] A third position acquisition module, used to acquire third position information of the target UAV by using a relay UAV pre-set for the target bridge;
[0020] a position weight acquisition module, configured to respectively acquire a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information according to the drone state information of the target drone;
[0021] The positioning information acquisition module is used to use the first weight, the second weight and the third weight to perform weighted processing on the first position information, the second position information and the third position information to obtain the positioning information of the target drone.
[0022] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0023] By using GPS positioning technology, first position information of a target UAV to be located is obtained; the target UAV is used to inspect the target bridge;
[0024] Acquire the second position information of the target UAV through the UWB positioning system;
[0025] Using a relay drone pre-set for the target bridge, obtaining third position information of the target drone;
[0026] According to the drone state information of the target drone, respectively obtain a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information;
[0027] The first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
[0028] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0029] By using GPS positioning technology, first position information of a target UAV to be located is obtained; the target UAV is used to inspect the target bridge;
[0030] Acquire the second position information of the target UAV through the UWB positioning system;
[0031] Using a relay drone pre-set for the target bridge, obtaining third position information of the target drone;
[0032] According to the drone state information of the target drone, respectively obtain a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information;
[0033] The first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
[0034] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0035] By using GPS positioning technology, first position information of a target UAV to be located is obtained; the target UAV is used to inspect the target bridge;
[0036] Acquire the second position information of the target UAV through the UWB positioning system;
[0037] Using a relay drone pre-set for the target bridge, obtaining third position information of the target drone;
[0038] According to the drone state information of the target drone, respectively obtain a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information;
[0039] The first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
[0040] The above-mentioned UAV positioning method, device, computer equipment, storage medium and computer program product obtain the first position information of the target UAV to be located through GPS positioning technology; the target UAV is used to inspect the target bridge; the second position information of the target UAV is obtained through the UWB positioning system; the third position information of the target UAV is obtained by using a relay UAV pre-set for the target bridge; according to the UAV status information of the target UAV, the first weight corresponding to the first position information, the second weight corresponding to the second position information, and the third weight corresponding to the third position information are respectively obtained; the first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV. The present application can obtain the first position information of the target UAV through GPS positioning technology, obtain the second position information of the target UAV through a UWB positioning system, and obtain the third position information of the target UAV using a relay UAV, and obtain the weights of the above-mentioned each position information through the status information of the target UAV, so as to finally determine the positioning information of the target UAV. Compared with only using the GPS coordinates of the UAV or only using the UWB coordinates of the UAV as UAV positioning, the present application realizes the fusion of UAV position information obtained by multiple positioning methods, thereby further improving the positioning accuracy of UAVs used for bridge inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a flow chart of a method for positioning a drone in one embodiment;
[0042] Figure 2 A schematic diagram of a process of obtaining third position information of a target UAV in one embodiment;
[0043] Figure 3 It is a schematic diagram of a process of obtaining third position information of a target UAV in another embodiment;
[0044] Figure 4 Schematic diagram of the structure of a bridge bottom inspection drone swarm system in one embodiment;
[0045] Figure 5 A block diagram of the communication system and control software of a mission drone and a relay drone in one embodiment;
[0046] Figure 6 A schematic diagram of laser radar assisted positioning in one embodiment;
[0047] Figure 7 is a structural block diagram of a UAV positioning device in one embodiment;
[0048] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] In one embodiment, Figure 1 As shown, a method for positioning a drone is provided. This embodiment uses the method applied to a terminal as an example for illustration. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0051] Step S101, obtaining first position information of a target UAV to be located by using GPS positioning technology; the target UAV is used to inspect a target bridge.
[0052] The target drone refers to a drone that needs to be positioned. The drone may be an inspection drone for inspecting a target bridge, and the target bridge refers to a bridge for drone inspection. The first location information refers to the location information of the inspection drone obtained by GPS positioning technology. Specifically, the terminal can obtain the location information of the target drone obtained by GPS positioning technology, and can use the location information as the first location information.
[0053] Step S102: Acquire the second position information of the target UAV through the UWB positioning system.
[0054] The second location information refers to the location information of the target drone obtained by the UWB positioning system, that is, by using ultra-wideband technology. In this embodiment, the terminal can also obtain the location information of the inspection drone obtained by the UWB positioning system and use it as the second location information of the target drone.
[0055] Step S103, using a relay drone pre-set for the target bridge to obtain third position information of the target drone.
[0056] A relay drone is a drone used to provide laser radar positioning coordinates for a target drone. There can be multiple relay drones. The third location information refers to the location information of the target drone obtained by the terminal based on the set relay drone, for example, the laser radar positioning coordinates of the target drone. Specifically, the user can also pre-set a corresponding relay drone for providing laser radar auxiliary positioning coordinates for the target bridge, so that the relevant information of the relay drone can be used to obtain the laser radar positioning coordinates of the target drone as the third location information.
[0057] Step S104, according to the drone state information of the target drone, respectively obtaining a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information;
[0058] Step S105, using the first weight, the second weight and the third weight, weighted processing is performed on the first position information, the second position information and the third position information to obtain the positioning information of the target UAV.
[0059] The first weight refers to the weight of the first position information of the target drone in the positioning information of the target drone, the second weight refers to the weight of the second position information of the target drone in the positioning information of the target drone, and the third weight refers to the weight of the third position information of the target drone in the positioning information of the target drone. The determination of the above-mentioned first weight, second weight and third weight is related to the drone state information of the target drone, that is, when the target drone is in different states, the first weight, second weight and third weight can also be changed accordingly. For example, when the target drone is in different positions, the corresponding GPS signal strength may also be different. Then, in some locations with relatively high GPS signal strength, the first weight corresponding to the first position information obtained by using GPS positioning technology can be adaptively increased, and for places with weak GPS signal strength, the first weight can be adaptively reduced. In the above manner, the terminal can determine the weights corresponding to each position information obtained in different ways by determining the drone state of the target drone, so that the above weights can be used to weight the above position information to obtain the final positioning information of the target drone.
[0060] In the above-mentioned UAV positioning method, the first position information of the target UAV to be positioned is obtained through GPS positioning technology; the target UAV is used to inspect the target bridge; the second position information of the target UAV is obtained through the UWB positioning system; the third position information of the target UAV is obtained using a relay UAV pre-set for the target bridge; according to the UAV status information of the target UAV, the first weight corresponding to the first position information, the second weight corresponding to the second position information, and the third weight corresponding to the third position information are respectively obtained; the first position information, the second position information and the third position information are weighted using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV. The present application can obtain the first position information of the target UAV through GPS positioning technology, obtain the second position information of the target UAV through a UWB positioning system, and obtain the third position information of the target UAV using a relay UAV, and obtain the weights of the above-mentioned each position information through the status information of the target UAV, so as to finally determine the positioning information of the target UAV. Compared with only using the GPS coordinates of the UAV or only using the UWB coordinates of the UAV as UAV positioning, the present application realizes the fusion of UAV position information obtained by multiple positioning methods, thereby further improving the positioning accuracy of UAVs used for bridge inspection.
[0061] In one embodiment, the relay drone is set at a preset position on the side of the target bridge; the relay drone includes: a first relay drone, a second relay drone, and a third relay drone; Figure 2As shown, step S103 may further include:
[0062] Step S201: Acquire the first relay location information of the first relay drone, the second relay location information of the second relay drone, and the third relay location information of the third relay drone.
[0063] In this embodiment, the relay drone can act as a base station. Since the positioning of the target drone requires the simultaneous construction of three base stations, the relay drones provided in this embodiment can also be three, namely, the first relay drone, the second relay drone, and the third relay drone. In addition, the above-mentioned relay drones can be set at a preset position on the side of the bridge of the target bridge to ensure the accuracy of the signal received by the relay drone and to ensure the relative fixity of the position of each relay drone. The first relay position information refers to the position information of the first relay drone, which can be measured by GPS information and laser radar information. The second relay position information refers to the position information of the second relay drone. The third relay position information refers to the position information of the third relay drone. Similar to the first relay position information, the second relay position information and the third relay position information can be measured by GPS information and laser radar information.
[0064] Step S202: acquiring a first distance between the target UAV and the first relay UAV, a second distance between the target UAV and the second relay UAV, and a third distance between the target UAV and the third relay UAV.
[0065] The first distance is the distance between the target drone and the first relay drone, the second distance is the distance between the target drone and the second relay drone, and the third distance is the distance between the target drone and the third relay drone. After determining the first relay drone, the second relay drone, and the third relay drone, the terminal can also obtain the distances between the target drone and the first relay drone, the second relay drone, and the third relay drone in real time as the first distance, the second distance, and the third distance, respectively.
[0066] Step S203, obtaining third position information based on the first relay position information, the second relay position information, and the third relay position information, and the first distance, the second distance, and the third distance.
[0067] Finally, after the terminal obtains the first relay location information, the second relay location information, and the third relay location information in step S201, and obtains the first distance, the second distance, and the third distance in step S202, the terminal can use the above information to calculate the third location information of the target drone.
[0068] In the above embodiment, the terminal can also use the first relay position information of the first relay drone, the second relay position information of the second relay drone, and the third relay position information of the third relay drone, and the first distance between the target drone and the first relay drone, the second distance between the target drone and the second relay drone, and the third distance between the target drone and the third relay drone to obtain the third position information, thereby further improving the accuracy of obtaining the third position information.
[0069] Furthermore, the relay UAV and the target UAV are at the same altitude; e.g. Figure 3 As shown, step S203 may further include:
[0070] Step S301, setting the first relay position information as the coordinate origin of the relay coordinate system, and obtaining the first coordinate information of the second relay position information in the relay coordinate system, and the second coordinate information of the third relay position information in the relay coordinate system.
[0071] In this embodiment, all relay drones are at the same height as the target drone. At this time, when determining the third position information, it is only necessary to determine the x-coordinate and y-coordinate of the target drone. At the same time, in order to reduce the amount of calculation, after obtaining the first relay position information, the present application can construct a relay coordinate system, and set the coordinate origin of the relay coordinate system to the first relay position information, thereby obtaining the corresponding coordinate conversion relationship. Afterwards, the terminal can use the above-mentioned coordinate conversion relationship to perform coordinate conversion on the second relay position information and the third relay position information, thereby obtaining the first coordinate information corresponding to the second relay position information in the relay coordinate system, and the second coordinate information of the third relay position information in the relay coordinate system.
[0072] Step S302, using the first coordinate information and the second coordinate information, and the first distance, the second distance and the third distance, obtain the third coordinate information of the target UAV in the relay coordinate system.
[0073] The third coordinate information refers to the coordinate information of the target drone in the relay coordinate system. Specifically, after obtaining the first coordinate information and the second coordinate information, and the first distance, the second distance, and the third distance, the terminal can substitute the above information into the pre-constructed coordinate calculation formula to obtain the x-axis coordinate and the y-axis coordinate of the target drone in the relay coordinate system, and then obtain the third coordinate information.
[0074] For example, the coordinate calculation formula can be shown as follows:
[0075]
[0076]
[0077] Among them, (x t ,y t ) represents the third coordinate information, (x2, y2) is the first coordinate information, (x3, y3) is the second coordinate information, s1, s2, s3 are the first distance, the second distance and the third distance respectively.
[0078] Step S303, obtaining third position information based on the third coordinate information.
[0079] Finally, after the terminal obtains the third coordinate information of the target UAV in the relay coordinate system, it can further use the corresponding coordinate conversion relationship of the relay coordinate system to convert the third coordinate information into corresponding third position information.
[0080] In this embodiment, the third position information can also be determined by setting the first relay position information as the coordinate origin of the relay coordinate system and obtaining the third coordinate information of the target drone in the relay coordinate system. Compared with directly calculating the third position information, this embodiment can reduce the amount of calculation of the third position information, thereby improving the efficiency of obtaining the third position information.
[0081] In one embodiment, the drone status information may include the GPS signal strength of the target drone; step S104 may further include: if the GPS signal strength is greater than or equal to a preset GPS signal strength threshold, setting the first weight to 1, and setting the second weight and the third weight to 0; and / or if the GPS signal strength is less than the GPS signal strength threshold, setting the first weight to 0, and setting the sum of the second weight and the third weight to 1.
[0082] The GPS signal strength threshold is a pre-set strength threshold for characterizing the GPS signal strength. In this embodiment, if the GPS signal strength of the target UAV is greater than or equal to the above-set GPS signal strength threshold, it indicates that at the current position, the GPS signal of the target UAV is relatively strong. At this time, the position information of the target UAV obtained by GPS positioning is relatively accurate. Therefore, the terminal can set the position information of the target UAV obtained by GPS positioning technology, that is, the first weight corresponding to the first position information, to 1, and set the position information of the target UAV obtained by the UWB positioning system and the laser radar positioning coordinates provided by the relay UAV, that is, the second weight corresponding to the second position information, and the third weight corresponding to the third position information to 0, so that the first position information can be directly used as the positioning information of the target UAV.
[0083] If the GPS signal strength of the target UAV is less than the above-set GPS signal strength threshold, it means that the GPS signal of the target UAV is weak at the current location. At this time, the accuracy of the location information of the target UAV obtained by GPS positioning is low. Therefore, the terminal can set the first weight to 0 and the sum of the second weight and the third weight to 1, so as to discard the first location information of the target UAV and directly use the second location information and the third location information of the target UAV to determine the location information of the target UAV.
[0084] In this embodiment, the first weight can also be adjusted by the GPS signal strength of the target drone, and when the GPS signal strength is greater than or equal to the preset GPS signal strength threshold, the first position information obtained by the GPS positioning technology can be directly used as the positioning information of the target drone, so that when the GPS signal is strong, the positioning efficiency of the target drone can be improved. When the GPS signal strength is less than the GPS signal strength threshold, the first position information of the target drone can be discarded, and the second position information and the third position information of the target drone can be used to determine the positioning information of the target drone, so that when the GPS signal is weak, the positioning accuracy of the target drone can also be guaranteed.
[0085] In addition, the drone status information may also include: the UWB mean square error value corresponding to the target drone; after setting the sum of the second weight and the third weight to 1, it may also include: as the UWB mean square error value increases, reducing the second weight and increasing the third weight.
[0086] The UWB mean square error value can be used to characterize the positioning stability of the UWB positioning system. The smaller the UWB mean square error value, the more stable the position information obtained by the UWB positioning system, and the higher the credibility of the position information obtained. If the UWB mean square error value is larger, the more unstable the position information obtained by the UWB positioning system, the lower the credibility of the position information obtained. Therefore, when the UWB mean square error value continues to increase, it indicates that the credibility of the second position information of the target UAV obtained by the UWB positioning system will continue to decrease. Therefore, the accuracy of the positioning information of the target UAV obtained can be further improved by reducing the second weight of the second position information and increasing the third weight of the third position information.
[0087] In this embodiment, the terminal can also obtain the UWB mean square error value corresponding to the target drone, and in the process of increasing the UWB mean square error value, the terminal can reduce the second weight and increase the third weight. In the above manner, the accuracy of the positioning information of the target drone can be further improved.
[0088] Further, as the UWB mean square error value increases, the second weight is reduced and the third weight is increased, which may further include: if the UWB mean square error value is less than a preset first mean square error value, the second weight is set to the first value, and the third weight is set to 1-first value; if the UWB mean square error value is greater than or equal to the first mean square error value and less than a preset second mean square error value, the second weight is set to the second value, and the third weight is set to 1-second value; wherein the first mean square error value is less than the second mean square error value; the second value is less than the first value; and / or if the UWB mean square error value is greater than or equal to the second mean square error value, the second weight is set to the third value, and the third weight is set to 1-third value; the third value is less than the second value.
[0089] Among them, the first mean square error value and the second mean square error value are pre-set UWB mean square error thresholds, and the first mean square error value is smaller than the second mean square error value. Specifically, if the UWB mean square error value is smaller than the set first mean square error value, it indicates that the stability of the second position information of the target drone currently obtained by the UWB positioning system is relatively high, so the second weight can be set to a larger value, that is, the first value, and the third weight can be set to 1-first value accordingly. As the UWB mean square error value increases, if the UWB mean square error value is greater than or equal to the first mean square error value at this time, but is still less than the second mean square error value, then the terminal can reduce the set second weight, that is, reduce the set first value to the set second value, and set the third weight to 1-second value accordingly. If as the UWB mean square error value increases, the UWB mean square error value is greater than or equal to the second mean square error value, then it indicates that the stability of the second position information of the target drone obtained by the UWB positioning system is already very low. In this case, the set second weight can be further reduced, that is, the second weight is set to a third value that is smaller than the second value, and the third weight is correspondingly set to 1-the third value.
[0090] For example, the first mean square error value may be 0.3m, and the second mean square error value may be set to 3m. If the UWB mean square error value is <0.3m, the terminal may set the second weight to the first value 0.8, and the third weight to 0.2. If the UWB mean square error value is ≥0.3m, but <3m, the terminal may set the second weight to the second value 0.3, and the third weight to 0.7. If the UWB mean square error value is ≥3m, the terminal may set the second weight to the third value 0.05, and the third weight to 0.95, which may be expressed by the following formula:
[0091]
[0092] Among them, b represents the second weight, c represents the third weight, σ uIndicates the UWB mean square error value.
[0093] In this embodiment, the terminal can determine the second weight and the third weight by setting the first mean square error value and the second mean square error value and comparing the magnitude relationship between the first mean square error value and the second mean square error value, thereby further improving the efficiency of determining the second weight and the third weight.
[0094] In one embodiment, a bridge bottom inspection drone swarm system is also provided. Figure 4 As shown, it includes a task drone 1, a task payload 2, a relay drone 3 and a vehicle-mounted ground station 4. The task drone 1 is used to carry the task payload 2 and perform operations according to the instructions of the vehicle-mounted ground station 4; the task payload 2 is carried on the task drone 1 and electrically connected to the task drone 1, and is used to collect picture information of various positions under the bridge and corresponding position information in real time and transmit them to the vehicle-mounted ground station 4; the relay drone 3 is equipped with a UWB positioning module and a 5G module, and is combined to form a planar positioning system, which is used to provide the task drone 1 with local positioning information under no / weak GPS conditions; the vehicle-mounted ground station 4 is respectively connected to the task drone 1, the relay drone 3, the UWB positioning module, and the task payload 2, and is used to control the inspection task of the task drone 1, the positioning task of the relay drone 3, form UWB and 5G networks, and receive data transmission from the task payload 2.
[0095] Among them, there are several relay drones 3, and specifically three relay drones 3 are arranged on the same side of the bridge, forming a UWB base station array and forming a UWB network with the control end and UWB tag of the vehicle-mounted ground station 4, exchanging data independently, completing positioning and communication. The relay drone 3 communicates data with the 5G server of the vehicle-mounted ground station 4 through the 5G module carried on it. The vehicle-mounted ground station exchanges data with the relay drone, and the relay drones do not exchange data with each other. The vehicle-mounted ground station 4 is equipped with RTK base stations for task drones 1 and relay drones 3, which are used to control the task drones 1 and relay drones 3 to take off from the bridge deck to perform corresponding inspection tasks. The task drone 1 can be equipped with several units for multi-directional photography of the bottom of the bridge. The L-band digital link communication is used between the vehicle-mounted ground station 4. The vehicle-mounted ground station 4 exchanges data with the task drone 1, and the task drones 1 do not exchange data with each other. The image acquisition computer carried by the task drone 1 transmits data directly to the 5G server of the vehicle-mounted ground station through the airborne 5G module. The entire system communication includes three parts: 5G core network, mission drone dedicated link, and UWB network. Figure 5 As shown. The vehicle-mounted ground station 4 is equipped with a vehicle-mounted antenna, including the ground-end antennas of the above three networks. At the same time, the laser radar auxiliary positioning module carried by the relay drone and the laser radar and UWB module of the mission drone together form an auxiliary navigation system to complete the positioning and navigation of the mission drone under weak GPS signals.
[0096] The mission UAV 1 includes a low-resistance wind-resistant body, on which a wind-resistant power system, an onboard computer, a navigation flight control system, a multi-mode obstacle avoidance system, and a power battery are installed. The onboard computer is electrically connected to the wind-resistant power system, the navigation flight control system, the multi-mode obstacle avoidance system, and the power battery, respectively. The power battery is also electrically connected to the wind-resistant power system, the navigation flight control system, the multi-mode obstacle avoidance system, and the mission payload, respectively.
[0097] Specifically, the low-resistance wind-resistant body of this embodiment includes a central body and a detachable support arm. CFD grid computing technology is used to optimize the body for drag reduction, and a larger attitude threshold is used to improve the ability to resist continuous winds. The optimal flight attitude and body shape at the target wind speed are obtained through CFD calculation iteration.
[0098] The wind-resistant power system is driven by six brushless motors to generate lift through carbon fiber propellers. The power group has a large lift margin to improve maneuverability and wind resistance. The propellers are optimized for the target speed to adapt to the coastal wind environment. High-energy-density power batteries are used to meet the endurance requirements.
[0099] The multi-mode obstacle avoidance system includes a 360-degree laser radar for horizontal obstacle avoidance, a millimeter-wave radar for ground detection, and an upper laser radar for top detection. The 360-degree laser radar, millimeter-wave radar, and upper laser radar are all connected to the onboard computer. The obstacle information received by the onboard computer can be monitored at the vehicle-mounted ground station through the drone data link to achieve human-in-the-loop control.
[0100] The navigation flight control system includes a redundant flight control system, Beidou / GPS differential positioning and orientation system, redundant GPS / INS integrated navigation system, UAV data link system, and UWB tag, and the redundant flight control system, Beidou / GPS differential positioning and orientation system, redundant GPS / INS integrated navigation system, UAV data link system, and UWB tag are all connected to the onboard computer. Specifically, a military-grade redundant flight control system is used to provide reliable flight control, and the navigation system uses a Beidou / GPS differential positioning system to improve flight positioning accuracy. In terms of navigation, a heterogeneous dual-redundancy inertial measurement unit is used as the core sensor system. The IMU uses industrial-grade devices, and the operating temperature range can reach -45℃ to 85℃. A dual-redundancy magnetic compass and dual-redundancy GNSS positioning system are used for full-automatic switching; in terms of flight control, an improved L1 guidance law and ADRC controller are used as the core algorithm of navigation flight control, which has extremely high control accuracy.
[0101] The power battery is a 12S high-capacity lithium polymer battery with a voltage range of 44.4V to 50.4V. After passing through the BMS, it supplies power to the ESC and flight control, and then passes through two UBEC modules to convert it to 12V and 5V to supply power to other devices. The BMS module can exchange data with the flight control and can provide multi-dimensional data monitoring such as power, voltage, current, power, temperature, and balance.
[0102] The mission payload 2 includes a 100-megapixel CMOS, a custom lens, a CAMlink bus acquisition card, a 3-axis stabilized gimbal, an image acquisition computer and an airborne 5G module. The 100-megapixel CMOS and the custom lens are used to collect high-resolution image data and transmit it to the image acquisition computer. The 3-axis stabilized gimbal is used to fix the connection with the mission drone 1 and adjust the shooting angle. The image acquisition computer is used to read the image data to form a high-resolution picture and obtain the photo position MARK of the spatial 6-degree-of-freedom information and transmit it to the 5G server of the vehicle-mounted ground station 4 through the airborne 5G module. The 100-megapixel CMOS, the custom lens, the 3-axis stabilized gimbal, the airborne 5G module, and the CAMlink bus acquisition card are all electrically connected to the image acquisition computer. The photo position MARK of the spatial 6-degree-of-freedom information includes the RTK / UWB coordinates of the flight control of the mission drone 1 and the heading attitude data of the gimbal camera optical axis. Among them, the 100-megapixel CMOS camera, the custom lens, the CAMlink bus acquisition card, and the image acquisition computer constitute the image acquisition system. The SDK is used to develop software suitable for airborne image acquisition and preprocessing, and it is sent to the vehicle-mounted ground station 4 through the airborne wifi and 5G CPE. The airborne 5G module, namely the airborne 5G CPE module, provides downlink bandwidth to meet the requirements of real-time transmission of high-resolution images. To ensure the clarity of the captured images, the 3-axis stabilized gimbal provides a stable platform for the image acquisition system. The gimbal receives instructions from the airborne image acquisition software, points to a specific direction, and provides the camera's optical axis pointing information to the airborne image acquisition software. The airborne image acquisition software runs on the image acquisition computer, sets the camera's exposure parameters, acquisition parameters, controls the shutter, generates images, sends images and synchronizes the position and optical axis pointing information of 6 degrees of freedom.
[0103] In this embodiment, a relay drone 3 equipped with a UWB system is used for positioning under a bridge where the GPS signal is weakened. UWB is a carrier-free communication technology that uses non-sinusoidal narrow pulses in the nanosecond to microsecond range to transmit data. UWB has the advantages of high time resolution, strong penetration, low power consumption, good anti-multipath effect, and high security. Therefore, it is often used in the fields of communication and positioning, especially in situations where GNSS (such as GPS, BDS, Glonass, Galileo) signals cannot cover.
[0104] The principle of UWB positioning is similar to that of GPS, where: ANCHOR (base station) is equivalent to the satellite in the sky, TAG (tag) is equivalent to the GNSS receiver on the user side, and CONSOLE (console) is equivalent to the monitoring station on the ground. ANCHOR is generally used as a reference position point and is generally installed at a fixed reference point; TAG is generally used as a point to be positioned and is generally installed on the carrier to be positioned (such as a drone or unmanned vehicle); CONSOLE is generally used to monitor the operating status of the system and issue instructions to other nodes (ANCHOR, TAG, generally received by Terminal, such as a computer, tablet computer, etc. The three relay machines are set as three base stations (A1, A2, A3), the mission machine is set as a tag (T), and the vehicle-mounted UWB console is set as a console (C).
[0105] However, in the inspection of large bridge structures, UAVs are often disturbed by strong winds when performing inspection tasks, which causes the UWB to fail to converge when performing hovering positioning of UAVs, resulting in poor accuracy. Using lidar-assisted positioning, the results are integrated with UWB positioning data to jointly solve the positioning coordinates of UAVs under weak GPS signals, improving the accuracy and robustness of the system.
[0106] like Figure 6 As shown in the figure, when the mission aircraft and the relay aircraft are at the same level, the UWB and laser radar combined navigation system works. The coordinate information of the three relay aircraft points A1, A2, and A3 can be obtained through GPS information and laser radar information, which are (x1, y1), (x2, y2), and (x3, y3), respectively, and the distances between point T and points A1, A2, and A3 are s1, s2, and s3, respectively. According to the UWB relay positioning principle, point A1 is set as the coordinate origin, that is, (x1, y1) = (0, 0).
[0107] With this information, we can solve the laser radar assisted positioning coordinates (x t ,y t )for:
[0108]
[0109]
[0110] The mission machine coordinates measured by the UWB positioning system are marked as (x u ,y u ), the GPS coordinates of the mission machine measured when the GPS signal is available are marked as (x g ,y g ). By integrating GPS coordinates, UWB coordinates and laser radar-assisted coordinates, the formula for integrating the mission aircraft coordinates (x, y) is:
[0111] (x,y)=a(xg ,y g )+b(x u ,y u )+c(x t ,y t ), a+b+c=1
[0112] The vehicle-mounted ground station can provide real-time feedback on the GPS signal strength. When the GPS signal is not interfered by the bridge structure, a=1 and b=c=0 are set. When the ground station detects that the GPS signal strength is weak, a=0 is set. At this time, the coordinate formula of the fusion mission aircraft is:
[0113] (x,y)=b(x u ,y u )+c(x t ,y t )
[0114] By recording the mean square error σ of UWB u To allocate the values of coefficients b and c to determine the coordinates (x, y) of the mission machine, the formula is as follows:
[0115]
[0116] Furthermore, when this embodiment is deployed, the scheme is as follows:
[0117] Under-bridge operation: The vehicle-mounted ground station 4 is deployed on the bridge deck, and the RTK base stations of the relay drone 3 and the mission drone 1 are also deployed on the bridge deck. The relay drone 3 takes off first, is deployed on one side of the bridge and forms a UWB base station array, and the mission drone 1 takes off after it is ready.
[0118] Bridge deck operation: The vehicle-mounted ground station 4 is deployed on the bridge deck, and the RTK base station of the mission drone 1 is also arranged on the bridge deck. The mission drone 1 takes off directly from the bridge deck to work.
[0119] The mission drone 1 provided in this embodiment carries image payload and relay payload to perform operations, sends HDMI video of inspection to the vehicle-mounted ground station 4, and obtains high-resolution images. The body is optimized in aerodynamic shape and power configuration to meet the environmental requirements of strong wind, high humidity, and salt spray conditions on the sea surface. The mission drone has a one-station multi-machine capability, and can automatically and at one time control 3 drones to take multi-directional photos of the bridge tower, thereby improving work efficiency.
[0120] Mission Payload 2 consists of a 100-megapixel CMOS, a customized lens, a customized gimbal, an image acquisition computer, and an airborne 5G CPE to form a 100-megapixel real-time acquisition and transmission system, which meets the requirements of real-time analysis of high-resolution images for bridge inspections. Using a 100-megapixel CMOS, the image acquisition computer reads image data through the CAMlink bus to form a high-resolution picture, and simultaneously obtains the RTK / UWB coordinates of the UAV flight control and the heading attitude data of the gimbal camera optical axis, thereby forming a photo position MARK with 6 degrees of freedom information in space, which is sent to the ground station in real time through 5G together with the high-resolution picture. The airborne image acquisition software is developed using C++ and related SDK software.
[0121] The relay drone 3 is equipped with a UWB positioning module and a 5G module. The three relay drones form a planar positioning system, providing local positioning information for the mission drone under no / weak GPS conditions. The typical 2D positioning accuracy of the UWB module is 10cm; the positioning frequency is up to 200Hz. The drone platform is used as the UWB carrier, which has the characteristics of high hovering accuracy and strong wind resistance.
[0122] The main control system of the vehicle-mounted ground station 4 is two computers, which respectively run the mission drone 1 ground station software, auxiliary positioning and obstacle avoidance software, and the relay drone 3 ground station software and camera control software. It is also equipped with communication antennas for several systems, including the mission drone link (around 1.4GHz), UWB antenna (3.5-6.5GHz), and relay drone link (2.4GHz, 5.8GHz).
[0123] Through the above embodiments, it is possible to combine the GPS positioning method, the UWB positioning method, and the lidar-assisted positioning method, thereby solving the problem of low positioning accuracy of the mission drone caused by the weak GPS signal in the area under the bridge or the failure of UWB to converge during drone hovering positioning due to interference from strong winds.
[0124] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0125] Based on the same inventive concept, the embodiment of the present application also provides a drone positioning device for implementing the drone positioning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more drone positioning device embodiments provided below can refer to the limitations of the drone positioning method above, and will not be repeated here.
[0126] In one embodiment, Figure 7 As shown, a drone positioning device is provided, including: a first position acquisition module 701, a second position acquisition module 702, a third position acquisition module 703, a position weight acquisition module 704 and a positioning information acquisition module 705, wherein:
[0127] The first position acquisition module 701 is used to acquire the first position information of the target UAV to be located by using GPS positioning technology; the target UAV is used to inspect the target bridge;
[0128] The second position acquisition module 702 is used to acquire the second position information of the target UAV through the UWB positioning system;
[0129] The third position acquisition module 703 is used to acquire the third position information of the target UAV by using the relay UAV pre-set for the target bridge;
[0130] The position weight acquisition module 704 is used to respectively acquire a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information according to the drone state information of the target drone;
[0131] The positioning information acquisition module 705 is used to perform weighted processing on the first position information, the second position information and the third position information using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
[0132] In one embodiment, the relay drone is set at a preset position on the side of the target bridge; the relay drone includes: a first relay drone, a second relay drone, and a third relay drone; the third position acquisition module 703 is further used to obtain the first relay position information of the first relay drone, the second relay position information of the second relay drone, and the third relay position information of the third relay drone; obtain the first distance between the target drone and the first relay drone, the second distance between the target drone and the second relay drone, and the third distance between the target drone and the third relay drone; based on the first relay position information, the second relay position information, and the third relay position information, and the first distance, the second distance and the third distance, obtain the third position information.
[0133] In one embodiment, the relay UAV and the target UAV are at the same altitude; the third position acquisition module 703 is further used to set the first relay position information as the coordinate origin of the relay coordinate system, and obtain the first coordinate information of the second relay position information in the relay coordinate system, and the second coordinate information of the third relay position information in the relay coordinate system; use the first coordinate information and the second coordinate information, and the first distance, the second distance and the third distance to obtain the third coordinate information of the target UAV in the relay coordinate system; based on the third coordinate information, obtain the third position information.
[0134] In one embodiment, the drone status information includes the GPS signal strength of the target drone; the position weight acquisition module 704 is further used to set the first weight to 1 and the second weight and the third weight to 0 if the GPS signal strength is greater than or equal to a preset GPS signal strength threshold; and to set the first weight to 0 and the sum of the second weight and the third weight to 1 if the GPS signal strength is less than the GPS signal strength threshold.
[0135] In one embodiment, the drone status information further includes: a UWB mean square error value corresponding to the target drone; and the position weight acquisition module 704 is further used to reduce the second weight and increase the third weight as the UWB mean square error value increases.
[0136] In one embodiment, the position weight acquisition module 704 is also used to set the second weight to the first value and the third weight to 1-the first value if the UWB mean square error value is less than a preset first mean square error value; set the second weight to the second value and the third weight to 1-the second value if the UWB mean square error value is greater than or equal to the first mean square error value and less than a preset second mean square error value; wherein the first mean square error value is less than the second mean square error value; the second value is less than the first value; and set the second weight to the third value and the third weight to 1-the third value if the UWB mean square error value is greater than or equal to the second mean square error value; the third value is less than the second value.
[0137] Each module in the above-mentioned drone positioning device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0138] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for positioning a drone is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0139] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0140] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0141] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0142] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for positioning a drone, characterized in that: The method comprises: By using GPS positioning technology, first position information of a target UAV to be located is obtained; the target UAV is used to inspect the target bridge; Acquire the second position information of the target UAV through the UWB positioning system; Using a relay drone pre-set for the target bridge, the relay drone is set at a preset position on the side of the target bridge; the relay drone and the target drone are at the same height; the relay drone includes: a first relay drone, a second relay drone, and a third relay drone; Acquire first relay location information of the first relay drone, second relay location information of the second relay drone, and third relay location information of the third relay drone; Acquire a first distance between the target UAV and the first relay UAV, a second distance between the target UAV and the second relay UAV, and a third distance between the target UAV and the third relay UAV; Setting the first relay position information as the coordinate origin of the relay coordinate system to obtain a coordinate conversion relationship corresponding to the relay coordinate system; Acquire, according to the coordinate conversion relationship, first coordinate information of the second relay position information in the relay coordinate system and second coordinate information of the third relay position information in the relay coordinate system; Input the first coordinate information and the second coordinate information, the first distance, the second distance and the third distance into a pre-constructed coordinate calculation formula to obtain the third coordinate information of the target UAV in the relay coordinate system; Among them, (x t ,y t ) represents the third coordinate information, (x2, y2) is the first coordinate information, (x3, y3) is the second coordinate information, s1, s2, s3 are the first distance, the second distance and the third distance respectively; Based on the third coordinate information and the coordinate conversion relationship, obtain third position information; According to the drone state information of the target drone, respectively obtain a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information, wherein the drone state information includes: the GPS signal strength of the target drone and the UWB mean square error value corresponding to the target drone; The acquiring, according to the drone state information of the target drone, a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information respectively specifically includes: If the GPS signal strength is greater than or equal to a preset GPS signal strength threshold, the first weight is set to 1, and the second weight and the third weight are set to 0; and / or If the GPS signal strength is less than the GPS signal strength threshold, the first weight is set to 0, and the sum of the second weight and the third weight is set to 1, and as the UWB mean square error value increases, the second weight is reduced and the third weight is increased, including: If the UWB mean square error value is less than a preset first mean square error value, setting the second weight to a first value, and setting the third weight to 1-the first value; If the UWB mean square error value is greater than or equal to the first mean square error value and less than a preset second mean square error value, the second weight is set to a second value, and the third weight is set to 1-the second value; wherein the first mean square error value is less than the second mean square error value; and the second value is less than the first value; and / or If the UWB mean square error value is greater than or equal to the second mean square error value, the second weight is set to a third value, and the third weight is set to 1-the third value; the third value is less than the second value; wherein the first mean square error value is set to 0.3 meters, and the second mean square error value is set to 3 meters; It can be expressed by the following formula: Among them, b represents the second weight, c represents the third weight, σ u Indicates the UWB mean square error value; The first position information, the second position information and the third position information are weighted by using the first weight, the second weight and the third weight to obtain the positioning information of the target UAV.
2. A drone positioning device, characterized in that: The device comprises: A first position acquisition module is used to acquire first position information of a target UAV to be located by using GPS positioning technology; the target UAV is used to inspect the target bridge; A second position acquisition module, used to acquire second position information of the target UAV through a UWB positioning system; A third position acquisition module is used to use a relay drone pre-set for the target bridge, the relay drone is set at a preset position on the side of the target bridge; the relay drone and the target drone are at the same height; the relay drones include: a first relay drone, a second relay drone, and a third relay drone; Acquire first relay location information of the first relay drone, second relay location information of the second relay drone, and third relay location information of the third relay drone; Acquire a first distance between the target UAV and the first relay UAV, a second distance between the target UAV and the second relay UAV, and a third distance between the target UAV and the third relay UAV; Setting the first relay position information as the coordinate origin of the relay coordinate system to obtain a coordinate conversion relationship corresponding to the relay coordinate system; Acquire, according to the coordinate conversion relationship, first coordinate information of the second relay position information in the relay coordinate system and second coordinate information of the third relay position information in the relay coordinate system; Input the first coordinate information and the second coordinate information, the first distance, the second distance and the third distance into a pre-constructed coordinate calculation formula to obtain the third coordinate information of the target UAV in the relay coordinate system; Among them, (x t ,y t ) represents the third coordinate information, (x2, y2) is the first coordinate information, (x3, y3) is the second coordinate information, s1, s2, s3 are the first distance, the second distance and the third distance respectively; Based on the third coordinate information and the coordinate conversion relationship, obtain third position information; A position weight acquisition module, used to respectively acquire a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information according to the drone state information of the target drone, wherein the drone state information includes: the GPS signal strength of the target drone and the UWB mean square error value corresponding to the target drone; The acquiring, according to the drone state information of the target drone, a first weight corresponding to the first position information, a second weight corresponding to the second position information, and a third weight corresponding to the third position information respectively specifically includes: If the GPS signal strength is greater than or equal to a preset GPS signal strength threshold, the first weight is set to 1, and the second weight and the third weight are set to 0; and / or If the GPS signal strength is less than the GPS signal strength threshold, the first weight is set to 0, and the sum of the second weight and the third weight is set to 1, and as the UWB mean square error value increases, the second weight is reduced and the third weight is increased, including: If the UWB mean square error value is less than a preset first mean square error value, setting the second weight to a first value, and setting the third weight to 1-the first value; If the UWB mean square error value is greater than or equal to the first mean square error value and less than a preset second mean square error value, the second weight is set to a second value, and the third weight is set to 1-the second value; wherein the first mean square error value is less than the second mean square error value; and the second value is less than the first value; and / or If the UWB mean square error value is greater than or equal to the second mean square error value, the second weight is set to a third value, and the third weight is set to 1-the third value; the third value is less than the second value; wherein the first mean square error value is set to 0.3 meters, and the second mean square error value is set to 3 meters; It can be expressed by the following formula: Among them, b represents the second weight, c represents the third weight, σ u Indicates the UWB mean square error value; The positioning information acquisition module is used to use the first weight, the second weight and the third weight to perform weighted processing on the first position information, the second position information and the third position information to obtain the positioning information of the target drone.
3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.
5. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.
