Multi-device collaborative operation method and device, electronic device and storage medium
By using UWB equipment to detect obstacles in target areas during agricultural drone operations, the problem of low efficiency in multi-equipment collaborative operations caused by difficulties in material transportation is solved, and road condition detection without increasing flight time is achieved, improving efficiency and safety. sex.
Patent Information
- Application Number
- CN202410838956.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-11
AI Technical Summary
In agricultural drone operations, due to the difficulty in transporting materials, existing technology takes a long time to detect road conditions, resulting in low efficiency in multi-equipment collaborative operations.
Determine the destination by obtaining flight status information, and use UWB equipment to detect obstacles in the target area within the preset detection range when approaching the destination, obtain target obstacle information, and achieve road condition detection without increasing flight time.
It greatly reduces the obstacle detection time and improves the efficiency and safety of multi-device collaborative operations.
Smart Images

Figure CN118759928A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle technology, and in particular to a multi-device collaborative operation method, device, electronic equipment and storage medium. Background Art
[0002] In certain scenarios, due to the difficulty of transporting materials, multiple devices need to work together. For example, when agricultural drones are working on farmland, small unmanned vehicles are used to transfer materials in real time. At present, generally one device goes to the destination in advance to detect the road conditions to determine whether another device can pass the road to the destination, so as to guide another device to the destination. However, the above method has the problem that it takes a long time to detect, resulting in low efficiency of multi-device collaborative operation. Summary of the invention
[0003] The present invention provides a method, apparatus, electronic device and storage medium for collaborative operation of multiple devices. By performing obstacle detection on the driving area of a second device heading to a first destination during the operation process, it is possible for a flying device to detect road conditions without adding additional flight time, thereby greatly reducing the time required for the flying device to detect obstacle conditions in road conditions and improving the efficiency and safety of collaborative operation of multiple devices.
[0004] A first aspect of the present invention provides a multi-device collaborative operation method, comprising:
[0005] Acquiring flight status information of the first device during operation, and determining the first destination according to the flight status information during operation;
[0006] During the operation process of approaching the first destination, obstacle detection is performed on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area, wherein the target area is a driving area of the second device heading to the first destination.
[0007] A second aspect of the present invention provides a multi-device collaborative operation apparatus, comprising:
[0008] a determination module, configured to obtain flight status information of the first device during operation, and determine the first destination according to the flight status information during operation;
[0009] The detection module is used to perform obstacle detection on a target area within a preset detection range through at least one UWB device during the operation process approaching the first destination, and obtain target obstacle information of the target area, wherein the target area is the driving area of the second device heading to the first destination.
[0010] A third aspect of the present invention provides an electronic device, which includes a processor and a memory, the memory storing machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned multi-device collaborative operation method.
[0011] A fourth aspect of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned multi-device collaborative operation method.
[0012] In the technical solution provided by the present invention, the flight status information of the first device during operation is obtained, and the first destination is determined by the flight status information during operation; in the process of approaching the first destination, obstacle detection is performed on the target area within the preset detection range by at least one UWB device to obtain target obstacle information of the target area, wherein the target area is the driving area of the second device going to the first destination. In the embodiment of the present invention, obstacle detection is performed on the driving area of the second device going to the first destination during the operation, so that the flight device does not need to increase the additional flight time to detect the road condition, which greatly reduces the time required for the flight device to detect the obstacle condition in the road condition, and improves the efficiency and safety of the collaborative operation of multiple devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A schematic diagram of an embodiment of a method for collaborative operation of multiple devices in an embodiment of the present invention;
[0014] Figure 2 It is a schematic diagram of an embodiment of a scenario in which each UWB device in at least one UWB device respectively detects obstacles in a target area in an embodiment of the present invention;
[0015] Figure 3 It is a schematic diagram of another embodiment of a scenario in which at least one UWB device performs real-time obstacle detection on a target area within a preset detection range in an embodiment of the present invention;
[0016] Figure 4 A schematic diagram of another embodiment of the multi-device collaborative operation method in an embodiment of the present invention;
[0017] Figure 5 It is a schematic diagram of an embodiment of a transmission and reception condition between a transmitting end and a receiving end, taking one of the receiving ends as an example in an embodiment of the present invention;
[0018] Figure 6 A schematic diagram of an embodiment of a scenario in which reflected wave detection is performed on a target area by at least one UWB device in an embodiment of the present invention;
[0019] Figure 7 A schematic diagram of an embodiment of a multi-device collaborative operation apparatus in an embodiment of the present invention;
[0020] Figure 8 FIG. 1 is a schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The embodiments of the present invention provide a multi-device collaborative operation method, apparatus, electronic device and storage medium, which improve the efficiency and security of the multi-device collaborative operation.
[0022] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] When agricultural drones are operating on farmland, it is difficult to transport materials (fertilizers, pesticides, batteries, generators, gasoline, etc.), and large vehicles find it difficult to enter the ridges. Small unmanned vehicles (for example, unmanned vehicles with certain ridge off-road capabilities) are needed to transfer the above materials in real time. It is necessary to use the advantages of drones such as fast flight speed, strong aerial bird's-eye view and strong computing power to "reconnaissance" at the "transfer destination" in advance. It is necessary to know whether the unmanned vehicle can pass the road to the destination in order to guide the unmanned vehicle to go there. However, this method has the problem of taking a long time to detect road conditions.
[0024] Based on the above problems, the embodiments of the present disclosure provide a method, apparatus, electronic device and storage medium for collaborative operation of multiple devices, which are mainly used in the scenario of collaborative operation of multiple devices during the operation of agricultural unmanned aircraft.
[0025] It is understandable that the execution subject of the present invention can be a multi-device collaborative operation device, for example, a first device, the first device can be an agricultural unmanned aircraft), or a terminal or a server (the server can be a server corresponding to the multi-device collaborative operation, and the multi-device collaborative operation system includes the first device and the second device), which is not specifically limited here. The embodiment of the present invention is described by taking the first device as the execution subject as an example.
[0026] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the multi-device collaborative operation method in an embodiment of the present invention includes:
[0027] 101. Obtain flight status information of the first device during operation, and determine the first destination according to the flight status information during operation;
[0028] The first device is a flying device used for operation, such as an agricultural drone. The first destination is a regional location where the first device and the second device interact, such as a transfer destination, which can be understood as a location where the first device performs the next transfer maintenance, wherein the transfer destination is an area range.
[0029] As an example but not limitation, the flight status information when the first device is operating may be the flight status information when the first device is currently turned on. The current operation can also be understood as the time when the first device is turned on and has been operating for a period of time and is in the operating area of the first device and the material status needs to be detected (for example, it may be the starting point of the operation in the operating area of the first device), where the materials include but are not limited to fertilizers, pesticides, batteries, generators and gasoline.
[0030] Among them, the flight status parameter information is used to determine the location of the first device for the next transfer maintenance (including but not limited to the replacement and addition operations of materials), and the flight status information includes but is not limited to the flight speed, flight time, material status information, operation mode, operation route and weather condition data; among them, the material status information includes but is not limited to the available amount and available time of the materials, for example, the remaining power of the battery of the first device and the estimate of the remaining flight time; the operation mode can determine the type of materials, for example, if the operation mode is fertilization, the materials for the next transfer maintenance of the first device are fertilizers and batteries; the operation route can be understood as the flight route of the first device in the operation area; the weather condition data is the weather data that affects the flight of the first device, and the weather condition data is but not limited to wind direction and wind speed.
[0031] As an example but not limitation, based on the flight status information during operation, the flight distance corresponding to the transition time is calculated; a map of the first equipment operation area and a map of the non-first equipment operation area within a specified range from the first equipment operation area are obtained; based on the flight distance corresponding to the transition time, a corresponding position range is determined in the map to obtain a stop operation position range in the first equipment operation area; based on the stop operation position range, an initial transition position range is determined in a map of the non-first equipment operation area within a specified range from the first equipment operation area; terrain condition information corresponding to the initial transition position range is obtained, wherein the terrain condition information includes but is not limited to terrain information, vegetation information and regional area; based on the terrain condition information, whether the initial transition position range is suitable as a transition destination is determined. if so, the initial transition position range is determined as the transition destination; if not, the initial transition position range is iteratively adjusted and judged until the adjusted position range is suitable as the transition destination, and the transition destination is obtained, wherein the iterative adjustment and judgment of the initial transition position range includes: adjusting the initial transition position range according to a preset adjustment range to obtain an adjusted position range, obtaining terrain condition information of the adjusted position range, and judging whether the adjusted position range is suitable as the transition destination based on the terrain condition information of the adjusted position range; if so, determining the adjusted position range as the transition destination, if not, adjusting and judging the adjusted position again until the adjusted position range is suitable as the transition destination, and the transition destination is obtained.
[0032] 102. During the operation process of approaching the first destination, obstacle detection is performed on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area, wherein the target area is a driving area of the second device heading to the first destination.
[0033] Among them, the second device is a ground device that cooperates with the first device, that is, a device that moves on the ground. Furthermore, the second device has off-road capabilities, for example, an agricultural unmanned vehicle.
[0034] Among them, the above-mentioned operation process approaching the first destination can be understood as the operation process before reaching the stop operation position range in the operation area of the first equipment, wherein the stop operation position range can be understood as the position range where the first equipment in the operation area of the first equipment needs to stop the operation when the next transfer maintenance is required; the above-mentioned operation process approaching the first destination can also be understood as the process of operating in the operation area approaching the first destination; the above-mentioned operation process approaching the first destination can also be understood as the operation process on the way to the first destination. As an example and not limitation, the target area can be a part of the complete driving area of the second device going to the first destination. The UWB device is an ultra-wideband (UWB) device used to locate and track obstacles in the target area. The preset detection range is the detectable range of at least one UWB device, wherein the predicted detection range may be less than or equal to the maximum detection range of at least one UWB device.
[0035] Among them, the target obstacle information includes but is not limited to information indicating whether there is an obstacle, and when there is an obstacle, the type of obstacle and the relative speed and relative position between the obstacle and the second device, wherein the type of obstacle includes but is not limited to stationary obstacles, moving obstacles, vertebrates and non-vertebrate animals.
[0036] Wherein, as an example but not limitation, a UWB device is installed on each arm of the first device, and each UWB device corresponds to an angle. Each UWB device in at least one UWB device corresponds to an angle, and each UWB device is a UWB device installed on an arm. For example, if the at least one UWB device includes three UWB devices, the three UWB devices are UWB devices installed on three arms respectively.
[0037] Can be as Figure 2 As shown, the operation area of the first device is a farmland, and the complete driving area of the second device is a ridge. Figure 2 The direction of the middle arrow indicates the moving direction. Before the first device moves from the first device starting point in the farmland to the stop operation position in the farmland (i.e., during the operation process approaching the first destination), the first device performs real-time obstacle detection on the target area within the preset detection range through at least one UWB device to obtain target obstacle information of the target area.
[0038] In one implementation, during the operation process approaching the first destination, obstacle detection is performed on the target area with at least one target UWB device within a preset detection range to obtain target obstacle information of the target area, wherein the target UWB device is the UWB device closest to the target area.
[0039] During the operation process approaching the first destination, when it is detected that the target area is within a preset range, obstacle detection is performed on the target area through at least one UWB device that is closest to the target area to obtain target obstacle information of the target area.
[0040] The at least one target UWB device can be understood as at least one UWB device corresponding to the nose and / or tail of the aircraft when the first device is running in a preset curved route (for example, a serpentine route or an I-shaped route) and is within a preset range from the target area, wherein the target UWB device is the UWB device closest to the target area within the preset detection range. Figure 3 As shown, the operation area of the first device is a farmland, and the complete driving area of the first device is a ridge. Figure 3 The direction of the arrow in the middle indicates the direction of movement. Figure 3 The "①" in the figure indicates at least one UWB device corresponding to the front of the aircraft within the preset range, and the "②" indicates at least one UWB device corresponding to the rear of the aircraft within the preset range.
[0041] As an example but not a limitation, when the number of at least one UWB device is more than one, each UWB device in the at least one UWB device performs obstacle detection on the target area respectively to obtain detection information corresponding to each UWB device; the target obstacle information of the target area is determined based on the detection information corresponding to all UWB devices. Further, when the detection information corresponding to each UWB device is the relative distance between the obstacle and the first device, the detection information corresponding to all UWB devices is fused to obtain the fused distance, and the relative speed and relative position between the obstacle and the second device are calculated based on the fused distance and the preset sampling time interval (preset measurement time interval) to obtain the target obstacle information of the target area; when the detection information corresponding to each UWB device is the relative speed and relative position between the obstacle and the second device, the detection information corresponding to all UWB devices is weighted averaged to obtain the target obstacle information of the target area.
[0042] During the operation, at least one UWB device that is closest to the target area within the preset detection range is used to detect obstacles in the target area. This can reduce the amount of calculation and improve the real-time, accuracy and reliability of obstacle detection without adding additional flight time to detect road conditions, thereby improving the efficiency and safety of collaborative operations of multiple devices.
[0043] In one implementation, during an operation approaching a first destination, obstacle detection is performed on a target area within a preset detection range through at least one UWB device of the first device, and direct wave detection is performed on the target area to obtain third detection information; reflected wave detection is performed on the target area through at least one UWB device of the first device to obtain fourth detection information; and target obstacle information of the target area is determined based on the third detection information and the fourth detection information.
[0044] Among them, as an example but not limitation, direct wave detection can detect whether there is an obstacle between the first device and the second device in the target area within a preset detection range, the distance between the obstacle and the first device, the distance between the obstacle and the second device, the relative speed and relative position between the obstacle and the second device, that is, the first detection information may be information indicating whether there is an obstacle between the first device and the second device in the target area, the distance between the obstacle and the first device, and the distance between the obstacle and the second device, or the third detection information may be information indicating whether there is an obstacle between the first device and the second device in the target area, the relative speed and relative position between the obstacle and the second device.
[0045] Through reflected wave detection, the type of obstacles in the target area within the preset detection range, the distance between the obstacle and the second device, the distance between the obstacle and the second device, the relative speed and relative position between the obstacle and the second device can be detected. That is, the fourth detection information may be the type of obstacles in the target area, the distance between the obstacle and the first device, and the distance between the obstacle and the second device, and may also be the relative speed and relative position between the obstacle and the second device.
[0046] As an example but not a limitation, the third detection information and the fourth detection information are fused to obtain the target obstacle information of the target area, wherein the third detection information is the relative speed and relative position between the obstacle and the second device, and the fourth detection information is the relative speed and relative position between the obstacle and the second device. Specifically, the angle between at least one UWB device of the first device and the obstacle can be obtained, and the detection accuracy corresponding to the direct wave detection and the reflected wave detection can be matched by the angle, and the corresponding first fusion weight is matched based on the detection accuracy corresponding to the direct wave detection, and the corresponding second fusion weight is matched based on the detection accuracy corresponding to the reflected wave detection; based on the first fusion weight and the second fusion weight, the third detection information and the fourth detection information are weighted averaged to obtain the target obstacle information of the target area.
[0047] As an example but not limitation, the third detection information and the fourth detection information are fused to obtain a fused distance, wherein the third detection information is the relative distance between the obstacle and the second device, and the fourth detection information is the relative distance between the obstacle and the second device; based on the fused distance and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are calculated to obtain the target obstacle information of the target area. Specifically, when the third detection information and the fourth detection information are fused to obtain the fused distance, the angle between at least one UWB device of the first device and the obstacle can be obtained, and the detection accuracies corresponding to the direct wave detection and the reflected wave detection are matched respectively by the angle, and the corresponding third fusion weight is matched based on the detection accuracy corresponding to the direct wave detection, and the corresponding fourth fusion weight is matched based on the detection accuracy corresponding to the reflected wave detection; based on the third fusion weight and the fourth fusion weight, the third detection information and the fourth detection information are weighted averaged to obtain the fused distance.
[0048] Specifically, when the relative speed and relative position between the obstacle and the second device are calculated based on the fused distance and the preset measurement time interval to obtain the target obstacle information of the target area, the first historical distance and the second device driving speed before the current preset measurement time interval can be obtained, wherein the first historical distance is the distance after the fusion of the distance detected by the direct wave and the distance detected by the reflected wave; the relative speed and relative position between the obstacle and the second device, that is, the target obstacle information of the target area, are obtained by performing calculations based on the trigonometric function relationship and equations through the fused distance, the first historical distance, the second device driving speed and the preset measurement time interval.
[0049] By performing direct wave detection and reflected wave detection and fusing them through at least one UWB device, and combining detection data from multiple angles, it helps to reduce the impact of multipath effects on positioning accuracy and achieve lower hardware costs. It not only eliminates the need for the first device to increase additional flight time to detect road conditions, but also improves the accuracy and stability of obstacle detection in the target area, thereby improving the efficiency and safety of collaborative operations of multiple devices.
[0050] In one implementation, during an operation process approaching a first destination, obstacle detection is performed on a target area within a preset detection range through at least one UWB device. After obtaining target obstacle information of the target area, target navigation information is generated based on the target obstacle information of the target area, and sent to a second device, wherein the target navigation information is the optimal navigation information for the second device to travel to the first destination.
[0051] As an example but not a limitation, multiple paths are constructed based on target obstacle information and target areas; multiple paths are retrieved and analyzed based on a preset optimal path algorithm and driving rule information to obtain an optimal path; an environmental map is constructed based on the optimal path to obtain optimal navigation information instructing the second device to travel to the first destination, i.e., target navigation information, which may include but is not limited to the driving route. After the first device obtains the target navigation information, it sends the target navigation information to the second device in real time, so that the second device travels to the first destination based on the target navigation information (for example, transporting materials to the transfer destination).
[0052] By generating target navigation information based on target obstacle information in the target area, the accuracy, efficiency, safety and adaptability of multi-device collaborative operations can be improved.
[0053] In one implementation, during an operation process approaching a first destination, obstacle detection is performed on a target area within a preset detection range through at least one UWB device. After obtaining target obstacle information of the target area, the target obstacle information of the target area is sent to a second device, so that the second device generates target navigation information based on the target obstacle information of the target area, wherein the target navigation information is the optimal navigation information for the second device to travel to the first destination.
[0054] The execution process of the second device generating the target navigation information based on the target obstacle information of the target area is similar to the execution process of generating the target navigation information based on the target obstacle information of the target area, which is not repeated here. As an example but not a limitation, the second device can generate the target navigation information based on the target obstacle information of the target area through the corresponding cloud.
[0055] By sending the target obstacle information based on the target area to the second device, it can help to make the target navigation information generated by the second device more reliable, thereby helping to improve the accuracy, efficiency, safety and adaptability of multi-device collaborative operations.
[0056] In an embodiment of the present invention, obstacle detection is performed on the driving area of the second device heading to the first destination during the operation process, so that the flying device does not need to increase additional flight time to detect road conditions, which greatly reduces the time required for the flying device to detect obstacle conditions in the road conditions, and improves the efficiency and safety of collaborative operations of multiple devices.
[0057] See also Figure 4 Another embodiment of the multi-device collaborative operation method in the embodiment of the present invention includes:
[0058] 401. Obtain flight status information of a first device during operation, and determine a first destination according to the flight status information during operation;
[0059] The execution process of step 401 is similar to the execution process of step 101, and will not be repeated here.
[0060] 402. Obstacle detection is performed on a target area within a preset detection range by at least one UWB device of the first device to obtain first device detection information, wherein the target area is a driving area of the second device heading to the first destination;
[0061] In one implementation, at least one UWB device of the first device performs direct wave detection on a target area within a preset detection range to obtain first detection information; at least one UWB device of the first device performs reflected wave detection on the target area to obtain second detection information; the first detection information and the second detection information are merged to obtain first device detection information.
[0062] Among them, at least one UWB device is at least one UWB device that is closest to the target area within the preset detection range, that is, at least one UWB device corresponding to the nose and / or tail when the first device is running in a preset curved route (for example, a serpentine route or an I-shaped route) and is within a preset range from the target area.
[0063] Among them, as an example but not limitation, direct wave detection can detect whether there is an obstacle between the first device and the second device in the target area within a preset detection range, the distance between the obstacle and the first device, the distance between the obstacle and the second device, the relative speed and relative position between the obstacle and the second device, that is, the first detection information may be information indicating whether there is an obstacle between the first device and the second device in the target area, the distance between the obstacle and the first device, and the distance between the obstacle and the second device, or the first detection information may be information indicating whether there is an obstacle between the first device and the second device in the target area, the relative speed and relative position between the obstacle and the second device.
[0064] Through reflected wave detection, the type of obstacles in the target area within the preset detection range, the distance between the obstacle and the first device, the distance between the obstacle and the second device, and the relative speed and relative position between the obstacle and the second device can be detected. That is, the second detection information may be the type of obstacles in the target area, the distance between the obstacle and the first device, and the distance between the obstacle and the second device, or the relative speed and relative position between the obstacle and the second device.
[0065] Among them, in one implementation, when the first detection information and the second detection information are merged to obtain the first device detection information, the first detection information and the second detection information can be weighted averaged to obtain the first device detection information, wherein the first detection information is the relative speed and relative position between the obstacle and the second device in the target area, and the second detection information is the relative speed and relative position between the obstacle and the second device in the target area. Specifically, the angle between at least one UWB device closest to the target area within the preset detection range and the obstacle can be obtained; the detection accuracy corresponding to the direct wave detection and the reflected wave detection is matched by the angle, the corresponding first weight is matched based on the detection accuracy corresponding to the direct wave detection, and the corresponding second weight is matched based on the detection accuracy corresponding to the reflected wave detection; based on the first weight and the second weight, the first detection information and the second detection information are weighted averaged to obtain the target obstacle information of the target area.
[0066] In one implementation, when the first detection information and the second detection information are fused to obtain the first device detection information, the first detection information and the second detection information can be weighted averaged to obtain the fused distance, wherein the first detection information includes the relative distance between the obstacle in the target area and the second device and information indicating the positional relationship between the obstacle and the second device (for example, angle, direction relationship, position vector), and the second detection information includes the relative distance between the obstacle in the target area and the second device and information indicating the positional relationship between the obstacle and the second device (for example, angle, direction relationship, position vector); based on the fused distance and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are calculated to obtain the first device detection information. Specifically, when the first detection information and the second detection information are weightedly averaged to obtain the fused distance, the angle between at least one UWB device that is closest to the target area within the preset detection range and the obstacle can be obtained, and the detection accuracy corresponding to the direct wave detection and the reflected wave detection is matched by the angle, and a corresponding third weight is matched based on the detection accuracy corresponding to the direct wave detection, and a corresponding fourth weight is matched based on the detection accuracy corresponding to the reflected wave detection; based on the third weight and the fourth weight, the first detection information and the second detection information are weighted averaged to obtain the fused distance.
[0067] In one implementation, when the relative speed and relative position between the obstacle and the second device are calculated based on the fused distance and the preset measurement time interval to obtain the first device detection information, the first historical distance and the second device driving speed before the current preset measurement time interval can be obtained, wherein the first historical distance is the distance after the distance based on direct wave detection and the distance based on the reflection wave detection are fused; the relative speed and relative position between the obstacle and the second device, i.e., the first device detection information, are obtained by performing calculations based on the trigonometric function relationship and equations using the fused distance, the first historical distance, the second device driving speed, and the preset measurement time interval. As an example but not limitation, the first historical distance can be subtracted from the fused distance to obtain the first distance value; the second distance value can be obtained by calculating the product of the second device's driving speed and a preset measurement time interval; the sum of the first distance value and the second distance value can be calculated to obtain a distance change; the distance change can be divided by the preset measurement time interval to obtain a relative speed and relative position between the obstacle and the second device; the fused distance can be used as the relative position between the obstacle and the second device, or the relative position between the obstacle and the second device can be determined based on information indicating the positional relationship between the obstacle and the second device in the first detection information and information indicating the positional relationship between the obstacle and the second device in the second detection information, thereby obtaining the first device detection information.
[0068] In one implementation, when the relative speed and relative position between the obstacle and the second device are calculated based on the fused distance and the preset measurement time interval to obtain the first device detection information, the fused distance can be divided by the preset measurement time interval to obtain the relative speed between the obstacle and the second device, and the fused distance can be used as the relative position between the obstacle and the second device, or the relative position between the obstacle and the second device can be determined based on the information indicating the positional relationship between the obstacle and the second device in the first detection information and the information indicating the positional relationship between the obstacle and the second device in the second detection information, thereby obtaining the first device detection information.
[0069] By performing direct wave detection and reflected wave detection and fusing them through at least one UWB device, and combining detection data from multiple angles, it helps to reduce the impact of multipath effects on positioning accuracy and achieve lower hardware costs. It improves the accuracy and stability of the first device in detecting obstacles in the target area without adding additional flight time to detect road conditions, thereby improving the efficiency and safety of collaborative operations of multiple devices.
[0070] In one implementation, when at least one UWB device of the first device performs direct wave detection on a target area within a preset detection range to obtain first detection information, at least one UWB device of the first device can perform direct wave detection on the target area within the preset detection range according to a first preset number of times to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times at least one UWB device of the first device and the second device alternately serve as receiving ends; the detection information corresponding to the first preset number of times is fused to obtain first detection information, wherein the first detection information includes the target distance between the obstacle and the second device, or the first detection information includes the target relative speed and the target relative position between the obstacle and the second device.
[0071] In one implementation, each detection information includes information indicating whether there is an obstacle between the first device and the second device in the target area and the relative distance between the obstacle and the second device when the obstacle exists. When the detection information corresponding to the first preset number of times is fused to obtain the first detection information, the detection information corresponding to the first preset number of times can be weighted averaged to obtain the first detection information, wherein the first detection information is the target distance between the obstacle and the second device.
[0072] In one implementation, each detection information includes information indicating whether there is an obstacle between the first device and the second device in the target area and the relative speed and relative position between the obstacle and the second device when the obstacle exists. When the detection information corresponding to the first preset number of times is fused to obtain the first detection information, the relative speed in the detection information corresponding to the first preset number of times can be weighted averaged to obtain the target relative speed, and the relative position in the detection information corresponding to the first preset number of times can be weighted averaged to obtain the target relative position. The target relative speed and the target relative position are determined as the first detection information, wherein the first detection information includes the target relative speed and the target relative position between the obstacle and the second device.
[0073] In one implementation, when at least one UWB device of a first device performs direct wave detection on a target area within a preset detection range according to a first preset number of times and obtains detection information corresponding to the first preset number of times, specifically, for each of the first preset times, a direct wave characteristic and an analysis result corresponding to a direct wave signal between at least one UWB device closest to the target area and a second device in the target area are obtained, wherein the analysis result is used to indicate whether there is an obstacle; if the analysis result indicates that there is an obstacle, the distance between at least one UWB device and the second device in the target area is calculated based on the direct wave characteristic, and the corresponding distance value is matched from a preset database according to the direct wave characteristic to obtain the first distance between the obstacle and the second device, and obtain the corresponding detection information each time.
[0074] In one implementation, when obtaining the direct wave characteristics and analysis results corresponding to the direct wave signal between at least one UWB device closest to the target area and the second device in the target area for each of the first preset times, the first direct wave signal between the at least one UWB device closest to the target area and the second device in the target area can be obtained through the first UWB device among the at least one UWB device closest to the target area, and the second direct wave signal between the at least one UWB device closest to the target area and the second device in the target area can be obtained through the second UWB device among the at least one UWB device closest to the target area, wherein the at least one UWB device closest to the target area includes the first UWB device and the second UWB device; a first characteristic corresponding to the first direct wave signal and a second characteristic corresponding to the second direct wave signal are obtained to obtain the direct wave characteristics; obstacle analysis is performed based on the direct wave characteristics to obtain analysis results.
[0075] In one implementation, when calculating the distance between at least one UWB device and a second device in a target area based on the direct wave feature, and matching the corresponding distance value from a preset database according to the direct wave feature to obtain a first distance between the obstacle and the second device, and obtaining each corresponding detection information, specifically, a first time for the direct wave to pass through the air can be calculated based on the first feature in the direct wave feature, and a second time for the direct wave to pass through the air can be calculated based on the second feature in the direct wave feature; the air flight distance of the direct wave between the first UWB device and the second device is calculated based on the first time and the speed of light wave propagation to obtain the distance between the first UWB device and the second device, and the distance between the first UWB device and the second device can be obtained based on the second time and the speed of light wave propagation. Speed calculates the air flight distance of the direct wave between the second UWB device and the second device to obtain the distance between the second UWB device and the second device; matches the corresponding distance value from the preset database according to the first feature in the direct wave feature to obtain the first distance between the obstacle and the second device, and matches the corresponding distance value from the preset database according to the second feature in the direct wave feature to obtain the second distance between the obstacle and the second device; determines the distance between the first device and the second device based on the distance between the first UWB device and the second device and the distance between the second UWB device and the second device; determines the distance between the first device and the second device, the first distance, and the second distance as the corresponding detection information each time.
[0076] As an example but not a limitation, direct wave detection is divided into a total of 4 times to improve azimuth resolution. In the first time, one of the UWB devices in the second device is used as a transmitter, and the first UWB device and the second UWB device of the first device are used as receivers; in the second time, another UWB device in the second device is used as a transmitter, and the first UWB device and the second UWB device of the first device are used as receivers; in the third time, the first UWB device of the first device is used as a transmitter, and the two UWB devices of the second device are used as receivers; in the fourth time, the second UWB device of the first device is used as a transmitter, and the two UWB devices of the second device are used as receivers. The transmitter transmits a waveform with a wide bandwidth in the frequency domain and a very short time domain (ns level), and performs related detection at the receiving end to identify the waveform of this feature (if there is non-line-of-sight communication, when there is an obstacle, a waveform with attenuated amplitude but early time will be detected, and this waveform is a wave of direct obstruction. If there is line-of-sight communication, the receiving end cannot detect a waveform with no significant reduction in amplitude and early time, and this waveform is considered to be a direct unobstructed waveform). It can be as follows Figure 5 As shown, Figure 5 The figure is a schematic diagram of the transmission and reception conditions between the transmitting end and the receiving end, taking one of the receiving ends as an example.
[0077] In one implementation, at least one UWB device of the first device performs direct wave detection on the target area according to a first preset number of times to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times that at least one UWB device of the first device and the second device alternately act as receiving ends, and each detection information includes information indicating whether there is an obstacle between the first device and the second device and the relative speed and relative position between the obstacle and the second device when there is an obstacle; the detection information corresponding to the first preset number of times is fused to obtain the first detection information.
[0078] Specifically, at least one UWB device is used to perform direct wave detection on the target area according to a first preset number of times, and initial information corresponding to the first preset number of times is obtained, wherein the initial information corresponding to each time includes the second distance between the obstacle and the second device; the third historical distance before the current preset measurement time interval and the driving speed of the second device are obtained, wherein the third historical distance is the distance obtained for each direct wave detection in the first preset number of times; the first target distance, the third historical distance, the driving speed of the second device and the preset measurement time interval are calculated based on trigonometric function relationships and equations to obtain the relative speed and relative position between the obstacle and the second device, that is, the detection information for each time. As an example but not a limitation, the third historical distance may be subtracted from the first target distance to obtain a fifth distance value; the sixth distance value may be obtained by calculating the product of the second device's travel speed and a preset measurement time interval; the sum of the fifth distance value and the sixth distance value may be calculated to obtain a first target distance difference; the first target distance difference may be divided by the preset measurement time interval to obtain a relative speed and relative position between the obstacle and the second device; the first target distance may be used as the relative position between the obstacle and the second device to obtain each detection information; or, the initial information each time may also include information indicating the positional relationship between the obstacle and the second device (e.g., angle, direction relationship, position vector), and the relative position between the obstacle and the second device may be determined based on the information indicating the positional relationship between the obstacle and the second device in the initial information each time, thereby obtaining each corresponding detection information. Alternatively, the first target distance may be divided by the preset measurement time interval to obtain a relative speed between the obstacle and the second device.
[0079] By performing direct wave detection and fusion according to a first preset number of times by at least one UWB device, the inherent time difference between the transmitting end and the receiving end is offset, the ranging accuracy is improved, and the accuracy, reliability, stability and adaptability of the first detection information are improved, thereby improving the efficiency and security of collaborative operations of multiple devices.
[0080] In one implementation, when at least one UWB device of a first device performs direct wave detection on a target area within a preset detection range to obtain first detection information, at least one UWB device of the first device can perform direct wave detection on the target area within the preset detection range according to a first preset number of times to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times at least one UWB device of the first device and the second device alternately serve as receiving ends, and each detection information includes information indicating whether there is an obstacle between the first device and the second device and the relative distance between the obstacle and the second device when there is an obstacle; based on the detection information corresponding to the first preset number of times and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the first detection information.
[0081] Among them, when the at least one UWB device of the first device performs direct wave detection on the target area within the preset detection range to obtain the first detection information, the at least one UWB device of the first device can perform direct wave detection on the target area within the preset detection range according to the first preset number of times to obtain the execution process of the detection information corresponding to the first preset number of times. The direct wave characteristics and analysis results corresponding to the direct wave signal between at least one UWB device closest to the target area and the second device in the target area are obtained for each of the first preset times, wherein the analysis result is used to indicate whether there is an obstacle; if the analysis result indicates that there is an obstacle, the distance between the at least one UWB device and the second device in the target area is calculated based on the direct wave characteristics, and the corresponding distance value is matched from the preset database according to the direct wave characteristics to obtain the first distance between the obstacle and the second device, and the execution process of obtaining the corresponding detection information each time is similar, and will not be repeated here.
[0082] In one implementation, each detection information also includes information indicating the positional relationship between the obstacle and the second device (for example, an angle, a direction relationship, a position vector). When the relative speed and relative position between the obstacle and the second device are determined based on the detection information corresponding to the first preset number of times and the preset measurement time interval to obtain the first detection information, specifically, the relative distance between the obstacle and the second device in the detection information corresponding to the first preset number of times can be divided by the preset measurement time interval to obtain the speed corresponding to the first preset number of times; the speed corresponding to the first preset number of times is weighted averaged to obtain the relative speed between the obstacle and the second device; the relative distance between the obstacle and the second device in the detection information corresponding to the first preset number of times is weighted averaged as the relative position between the obstacle and the second device; or, the relative position between the obstacle and the second device is determined based on the information indicating the positional relationship between the obstacle and the second device in each detection information, thereby obtaining the first detection information.
[0083] In one implementation, each detection information also includes information indicating the positional relationship between the obstacle and the second device (for example, angle, direction relationship, position vector). When the relative speed and relative position between the obstacle and the second device are determined based on the detection information corresponding to the first preset number of times and the preset measurement time interval to obtain the first detection information, specifically, the detection information corresponding to the first preset number of times can be weighted averaged to obtain the second target distance; the fourth historical distance before the current preset measurement time interval and the second device driving speed are obtained, wherein the fourth historical distance is the distance after the distance obtained by the first preset number of direct wave detections is fused; the second target distance, the fourth historical distance, the second device driving speed and the preset measurement time interval are calculated based on the trigonometric function relationship and equations to obtain the relative speed and relative position between the obstacle and the second device, that is, the first detection information. As an example but not limitation, the fourth historical distance can be subtracted from the second target distance to obtain the first value; the second value can be obtained by calculating the product of the second device's driving speed and a preset measurement time interval; the sum of the first value and the second value is calculated to obtain the second target distance difference; the second target distance difference is divided by the preset measurement time interval to obtain the relative speed and relative position between the obstacle and the second device; the second target distance is used as the relative position between the obstacle and the second device, or the relative position between the obstacle and the second device is determined based on information indicating the positional relationship between the obstacle and the second device in each detection information, thereby obtaining the first detection information.
[0084] By performing direct wave detection and fusion according to a first preset number of times by at least one UWB device, the inherent time difference between the transmitting end and the receiving end is offset, the ranging accuracy is improved, and a more accurate detection result is obtained by fusing the data of multiple sensors, which reduces the amount of calculation, simplifies the sensor data processing process, and thus improves the efficiency and safety of multi-device collaborative operation.
[0085] In one implementation, when the reflected wave detection is performed on the target area through at least one UWB device of the first device to obtain the second detection information, the reflected wave signal of the target area can be obtained through the at least one UWB device of the first device, wherein the at least one UWB device of the first device includes a UWB device as a transmitting end and a UWB device as a receiving end; based on the reflected wave signal and a preset Doppler frequency shift theorem, the second detection information is determined, wherein the second detection information is the relative distance between the obstacle and the second device, or the second detection information is the relative speed and relative position between the obstacle and the second device.
[0086] In one implementation, when obtaining the reflected wave signal of the target area through at least one UWB device, specifically, the first UWB device among at least one UWB device closest to the target area can transmit a signal to the target area, and the reflected wave signal based on the transmitted signal can be received by the second UWB device and the third UWB device among at least one UWB device, wherein the second UWB device and the third UWB device are UWB devices installed on two arms of the first device close to the obstacle. Figure 6 shown.
[0087] Among them, in one implementation, when determining the second detection information based on the reflected wave signal and the preset Doppler frequency shift theorem, the relative distance between the obstacle and the second device can be determined based on the reflected wave signal and the preset Doppler frequency shift theorem to obtain the second detection information. Specifically, the Doppler frequency shift analysis of the received reflected wave signal can be performed and the time difference calculation can be performed to obtain the obstacle type and the receiving time difference; based on the receiving time difference, the preset distance between the second UWB device and the third UWB device, the preset distance between the first UWB device and the second UWB device, and the distance between the first device and the second device in the first detection information, the relative distance between the obstacle and the second device is calculated to obtain the second detection information.
[0088] In one implementation, when the relative distance between the obstacle and the second device is calculated based on the reception time difference, the preset distance between the second UWB device and the third UWB device, the preset distance between the first UWB device and the second UWB device, and the distance between the first device and the second device in the first detection information, and the second detection information is obtained, a first angle and a second angle can be obtained, wherein the first angle is the angle between the direction in which the second UWB device receives the reflected wave signal and the direction of the first preset device distance, and the second angle is the angle between the direction in which the third UWB device receives the reflected wave signal and the direction of the first preset device distance. The first preset device distance is the distance between the second UWB device and the third UWB device; based on the first angle, the second angle, the first preset device distance, the second preset device distance and the receiving time difference, a first obstacle distance between the obstacle and the second UWB device and a second obstacle distance between the obstacle and the third UWB device are calculated, wherein the second preset device distance is the distance between the first UWB device and the second UWB device; based on the first obstacle distance and the second obstacle distance, a relative distance between the obstacle and the first device is calculated to obtain second detection information.
[0089] As an example but not a limitation, reflected wave detection is slightly more complicated than direct wave detection and requires hardware requirements. It requires the simultaneous presence of two receivers (i.e., the second UWB device and the third UWB device) for multi-path reception. Since the human body reflection waveform will be affected by multi-path, when the first UWB device transmits to an obstacle (human body) in the target area, the reflected wave passing through the human body will be delayed compared to the direct wave that has not been reflected by the human body. Therefore, the reflected wave can be effectively detected, and the principle of Doppler frequency shift can be utilized (the transmitting end (first UWB device) needs to send out a narrowband carrier signal in the frequency domain, and use FFT to detect the peak position of the carrier at the receiving antenna (second UWB device and third UWB device), identify the direct wave peak and reflected wave peak from the frequency domain, and identify the human heartbeat from the reflected wave). Other reflected waves do not have heartbeat characteristics. Relative to the direct wave, the reflected wave is Due to the different antenna positions, a phase shift or frequency shift is generated (depending on the distance between the two receiving antennas (the second UWB device and the third UWB device). Generally, in the drone scene, due to the short antenna distance, it is a phase shift, and the phase difference is detected by software and hardware means). That is, in one implementation, when the Doppler frequency shift analysis is performed on the received reflected wave signal and the time difference is calculated to obtain the obstacle type and the receiving time difference, the Doppler frequency shift analysis can be performed on the received reflected wave signal to obtain the obstacle type and the phase difference. The calculation is performed based on the phase difference and the preset phase difference conversion formula to obtain the receiving time difference, wherein the preset phase difference conversion formula is as follows: Δt is the receiving time difference, is the local oscillator frequency of the first UWB device, -Δφ m The phase difference. Since the "slow movement" of the person at this time is almost static relative to the "teleportation" of the antenna (UWB device) (received by the second UWB device, which is equivalent to the first UWB device moving a distance, the physical distance between the first UWB device and the second UWB device), there will be a large phase difference or even frequency difference between different second UWB devices (the frequency will increase or decrease accordingly after a 360° phase shift, but for this relative speed, there is basically only a phase shift). By detecting the tiny frequency of the phase shift, it is possible to identify whether there is a person (the human heartbeat rate is generally 50-150 times / second).
[0090] The first angle and the second angle are known (the angle can be obtained in advance by solving the angle between the UWB device electrically adjusted by the four arms and the UWB device of the central controller). The first angle and the second angle can be obtained as follows Figure 6 As shown, Figure 6 D1 is the distance to the first obstacle, Figure 6 D2 is the distance to the second obstacle, Figure 6 D3 is the first preset device distance, Figure 6 D4 in FIG. 1 is the second preset device distance.
[0091] According to multiple trigonometric function relationships, based on the first angle, the second angle, the first preset device distance, the second preset device distance and the reception time difference, a first obstacle distance between the obstacle and the second UWB device and a second obstacle distance between the obstacle and the third UWB device are calculated.
[0092] Among them, in one implementation, when determining the second detection information based on the reflected wave signal and the preset Doppler frequency shift theorem, the relative speed and relative position between the obstacle and the second device can be determined based on the reflected wave signal, the preset Doppler frequency shift theorem and the preset measurement time interval to obtain the second detection information. Specifically, the target relative distance between the obstacle and the second device can be determined based on the received reflected wave signal; the historical relative distance before the current preset measurement time interval and the driving speed of the second device are obtained, wherein the historical relative distance is the relative distance between the obstacle and the second device determined based on the received reflected wave signal; based on the target relative distance, the historical relative distance, the driving speed of the second device and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the second detection information.
[0093] Among them, this step determines the relative speed and relative position between the obstacle and the second device based on the target relative distance, the historical relative distance, the second device driving speed and the preset measurement time interval, and the execution process of obtaining the second detection information is similar to the above-mentioned execution process of obtaining the relative speed and relative position between the obstacle and the second device by calculating based on the trigonometric function relationship and equations through the fused distance, the first historical distance, the second device driving speed and the preset measurement time interval, and will not be repeated here.
[0094] Among them, in one implementation, when determining the target relative distance between the obstacle and the second device based on the received reflected wave signal, the received reflected wave signal can be subjected to Doppler frequency shift analysis and time difference calculation to obtain the obstacle type and the receiving time difference; based on the receiving time difference, the preset distance between the second UWB device and the third UWB device, the preset distance between the first UWB device and the second UWB device, and the distance between the first device and the second device in the first detection information, the target relative distance between the obstacle and the second device is calculated. The execution process of this step is similar to the above-mentioned execution process of performing Doppler frequency shift analysis on the received reflected wave signal and time difference calculation to obtain the obstacle type and the receiving time difference; based on the receiving time difference, the preset distance between the second UWB device and the third UWB device, the preset distance between the first UWB device and the second UWB device, and the distance between the first device and the second device in the first detection information, the relative distance between the obstacle and the second device is calculated to obtain the second detection information, and will not be repeated here.
[0095] By performing reflected wave detection based on the reflected wave signal and the preset Doppler frequency shift theorem by at least one UWB device to obtain the second detection information, the misjudgment rate is reduced, the accuracy and richness of the second detection information are improved, and the adaptability and robustness of the reflected wave detection of the first device are improved, thereby improving the efficiency and security of the collaborative operation of multiple devices.
[0096] In one implementation, when at least one UWB device of the first device performs reflected wave detection on the target area to obtain second detection information, at least one target UWB device of the first device can perform reflected wave detection on the target area according to a second preset number of times to obtain detection information corresponding to the second preset number of times, wherein the target UWB device is the UWB device closest to the target area; the detection information corresponding to the second preset number of times is fused to obtain second detection information.
[0097] Among them, the execution process of performing reflected wave detection on the target area through at least one UWB device that is closest to the target area for each of the second preset times is similar to the above-mentioned acquisition of the reflected wave signal of the target area through at least one UWB device, wherein the at least one UWB device includes a UWB device as a transmitting end and a UWB device as a receiving end, and determines the relative speed and relative position between the obstacle and the second device based on the reflected wave signal, a preset Doppler frequency shift theorem and a preset measurement time interval to obtain the execution process of the second detection information, or the above-mentioned acquisition of the reflected wave signal of the target area through at least one UWB device, wherein the at least one UWB device includes a UWB device as a transmitting end and a UWB device as a receiving end, and determines the relative distance between the obstacle and the second device based on the reflected wave signal and the preset Doppler frequency shift theorem to obtain the execution process of the second detection information, and will not be repeated here.
[0098] By fusing the detection information obtained from the second preset number of reflected wave detections, errors are reduced, the accuracy, reliability and stability of the second detection information are improved, and the efficiency and safety of collaborative operations of multiple devices are thereby improved.
[0099] 403. Acquire second device detection information, where the second device detection information is information obtained by the second device performing obstacle detection on the target area;
[0100] Among them, the second device detection information may be information obtained by the second device through at least one UWB device on the second device performing reflected wave detection on the target area, wherein the execution process of the information obtained by the second device through at least one UWB device on the second device performing reflected wave detection on the target area is similar to the execution process of obtaining the second detection information through at least one UWB device, which will not be repeated here; the second device detection information may also be information obtained by the second device through at least one UWB device on the second device performing direct wave detection and reflected wave detection on the target area and fusing them, wherein the execution process of the information obtained by the second device through at least one UWB device on the second device performing direct wave detection and reflected wave detection on the target area and fusing them is similar to the execution process of performing direct wave detection on the target area within a preset detection range through at least one UWB device to obtain first detection information, performing reflected wave detection on the target area through at least one UWB device to obtain second detection information, and obtaining the first device detection information based on the fusion of the first detection information and the second detection information, which will not be repeated here.
[0101] After the second device detects obstacles in the target area through at least one UWB device on the second device to obtain second device detection information, the second device detection information is sent to the first device, and the first device obtains the second device detection information.
[0102] 404. Determine target obstacle information of the target area based on the first device detection information and the second device detection information.
[0103] The target obstacle information of the target area is determined by the detection information of the first device and the detection information of the second device. On the basis of realizing that the first device does not need to increase additional flight time to detect the road condition, various types of obstacles can be accurately detected by fusing data from multiple sensors (multi-angles), thereby improving the accuracy, reliability, stability and adaptability of the collaborative operation of multiple devices and achieving lower hardware costs.
[0104] In one implementation, the first device detection information and the second device detection information are fused to obtain the target obstacle information of the target area; wherein the first device detection information is the relative speed and relative position between the obstacle detected by the first device and the second device, and the second device detection information is the relative speed and relative position between the obstacle detected by the second device and the second device.
[0105] As an example but not limitation, the first device detection information and the second device detection information may be weighted averaged to obtain target obstacle information of the target area.
[0106] By first calculating the relative speed between the obstacle and the second device with multiple sensors (multiple angles) and then fusing them, a more accurate detection result is obtained by fusing the data of multiple sensors, which greatly improves the accuracy and robustness of the relative speed calculation.
[0107] In one implementation, the detection information of the first device and the detection information of the second device are fused to obtain a fused target distance; wherein the detection information of the first device includes the relative distance between the obstacle detected by the first device and the second device, and the detection information of the second device includes the relative distance between the obstacle detected by the second device and the second device; based on the fused target distance and a preset detection time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the target obstacle information of the target area.
[0108] In one implementation, the first device detection information also includes information indicating the positional relationship between the obstacle and the second device (e.g., angle, direction relationship, position vector), and the second device detection information also includes information indicating the positional relationship between the obstacle and the second device (e.g., angle, direction relationship, position vector). When determining the relative speed and relative position between the obstacle and the second device based on the fused target distance and the preset detection time interval to obtain the target obstacle information of the target area, the fused distance can be divided by the preset detection time interval to obtain the relative speed between the obstacle and the second device, and the fused target distance is used as the relative position between the obstacle and the second device. Alternatively, the relative position between the obstacle and the second device is determined based on the information indicating the positional relationship between the obstacle and the second device in the first device detection information and the information indicating the positional relationship between the obstacle and the second device in the second device detection information, thereby obtaining the target obstacle information of the target area.
[0109] In one implementation, when the relative speed and relative position between the obstacle and the second device are determined based on the fused target distance and the preset detection time interval to obtain the target obstacle information of the target area, the second historical distance (the relative distance between the obstacle and the second device) and the second device driving speed before the current preset detection time interval are obtained, wherein the second historical distance is a distance fused based on the detection information of the first device and the detection information of the second device; by performing calculations based on the trigonometric function relationship and equations using the fused target distance, the second historical distance, the second device driving speed and the preset detection time interval, the relative speed and relative position between the obstacle and the second device, i.e., the target obstacle information of the target area, are obtained. As an example but not limitation, the fused target distance may be subtracted from the second historical distance to obtain a third distance value; the product of the second device's driving speed and a preset detection time interval is calculated to obtain a fourth distance value; the sum of the third distance value and the fourth distance value is calculated to obtain a distance value to be processed; the distance value to be processed is divided by the preset detection time interval to obtain a relative speed and a relative position between the obstacle and the second device; the fused target distance is used as the relative position between the obstacle and the second device, or the relative position between the obstacle and the second device is determined based on information indicating the positional relationship between the obstacle and the second device in the detection information of the first device and information indicating the positional relationship between the obstacle and the second device in the detection information of the second device, thereby obtaining target obstacle information of the target area.
[0110] By first fusing the relative distance between the obstacle and the second device calculated by multiple sensors (multiple angles) and then calculating the relative speed, a more accurate detection result is obtained by fusing the data of multiple sensors, which reduces the amount of calculation, simplifies the sensor data processing process, and thus improves the efficiency and safety of collaborative operation of multiple devices.
[0111] In the embodiment of the present invention, by detecting obstacles in the driving area of the second device heading to the first destination during the operation, the flying device can detect the road conditions without adding extra flight time, and obtain a more accurate detection result by fusing the data of multiple sensors, and lower the hardware cost, which greatly reduces the time required for the flying device to detect obstacles in the road conditions, and improves the efficiency and safety of the collaborative operation of multiple devices. It can continuously improve the irregular ridge terrain (through this means, it is known which ridges need to be transformed), pave the way for the unmanned era of drones in the future, and bring more new business opportunities.
[0112] The above describes the multi-device collaborative operation method in the embodiment of the present invention. The following describes the multi-device collaborative operation apparatus in the embodiment of the present invention. Figure 7 In one embodiment of the present invention, a multi-device collaborative operation apparatus includes:
[0113] A determination module 701 is used to obtain flight status information of the first device during operation, and determine the first destination according to the flight status information during operation;
[0114] The detection module 702 is used to perform obstacle detection on a target area within a preset detection range through at least one UWB device during the operation process of approaching the first destination, and obtain target obstacle information of the target area, wherein the target area is the driving area of the second device heading to the first destination.
[0115] In an embodiment of the present invention, by detecting the road condition of the driving area of the second device heading to the first destination during the operation process, the time required for the flight equipment to detect the obstacle status in the road condition is greatly reduced, thereby improving the efficiency and safety of the collaborative operation of multiple devices.
[0116] Optionally, the detection module 702 can also be specifically used for: during the operation process approaching the first destination, obtaining target obstacle information of the target area by performing obstacle detection on the target area with at least one target UWB device within a preset detection range, wherein the target UWB device is the UWB device closest to the target area.
[0117] Optionally, the detection module 702 may also be specifically used for:
[0118] Obstacle detection is performed on a target area within a preset detection range by at least one UWB device of the first device to obtain first device detection information;
[0119] Acquire second device detection information, wherein the second device detection information is information obtained by the second device performing obstacle detection on the target area;
[0120] Target obstacle information of the target area is determined based on the first device detection information and the second device detection information.
[0121] Optionally, the detection module 702 may also be specifically used for:
[0122] The first device detection information and the second device detection information are integrated to obtain the target obstacle information of the target area; wherein the first device detection information is the relative speed and relative position between the obstacle detected by the first device and the second device, and the second device detection information is the relative speed and relative position between the obstacle detected by the second device and the second device.
[0123] Optionally, the detection module 702 may also be specifically used for:
[0124] The first device detection information and the second device detection information are integrated to obtain the integrated target distance; wherein the first device detection information includes the relative distance between the obstacle detected by the first device and the second device, and the second device detection information includes the relative distance between the obstacle detected by the second device and the second device;
[0125] Based on the fused target distance and the preset detection time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the target obstacle information of the target area.
[0126] Optionally, the detection module 702 may also be specifically used for:
[0127] Performing direct wave detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first detection information;
[0128] Performing reflected wave detection on the target area by at least one UWB device of the first device to obtain second detection information;
[0129] The first detection information and the second detection information are merged to obtain first device detection information.
[0130] Optionally, the detection module 702 may also be specifically used for:
[0131] By using at least one UWB device of the first device, direct wave detection is performed on a target area within a preset detection range according to a first preset number of times, so as to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times that at least one UWB device of the first device and the second device alternately serve as receiving ends;
[0132] The detection information corresponding to the first preset number of times is merged to obtain first detection information, wherein the first detection information includes the target distance between the obstacle and the second device, or the first detection information includes the target relative speed and target relative position between the obstacle and the second device.
[0133] Optionally, the detection module 702 may also be specifically used for:
[0134] By means of at least one UWB device of the first device, direct wave detection is performed on a target area within a preset detection range according to a first preset number of times, and detection information corresponding to the first preset number of times is obtained; wherein the first preset number of times is the number of times that the at least one UWB device of the first device and the second device alternately serve as receiving ends, and each detection information includes information indicating whether there is an obstacle between the first device and the second device and a relative distance between the obstacle and the second device when there is an obstacle;
[0135] Based on the detection information corresponding to the first preset number of times and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the first detection information.
[0136] Optionally, the detection module 702 may also be specifically used for:
[0137] Acquire a reflected wave signal of a target area through at least one UWB device of a first device, wherein the at least one UWB device of the first device includes a UWB device as a transmitting end and a UWB device as a receiving end;
[0138] Based on the reflected wave signal and a preset Doppler frequency shift theorem, second detection information is determined, wherein the second detection information is a relative distance between the obstacle and the second device, or the second detection information is a relative speed and relative position between the obstacle and the second device.
[0139] Optionally, the detection module 702 may also be specifically used for:
[0140] Performing reflected wave detection on the target area according to a second preset number of times by at least one target UWB device of the first device to obtain detection information corresponding to the second preset number of times, wherein the target UWB device is the UWB device closest to the target area;
[0141] The detection information corresponding to the second preset number of times is merged to obtain second detection information.
[0142] Optionally, the detection module 702 may also be specifically used for:
[0143] Performing obstacle detection on a target area within a preset detection range by at least one UWB device of the first device, and performing direct wave detection on the target area to obtain third detection information;
[0144] Performing reflected wave detection on the target area by at least one UWB device of the first device to obtain fourth detection information;
[0145] Target obstacle information of the target area is determined based on the third detection information and the fourth detection information.
[0146] Optionally, the multi-device collaborative operation apparatus further includes a first generating module 703, which is used to:
[0147] The target obstacle information of the target area is sent to the second device, so that the second device generates target navigation information based on the target obstacle information of the target area, wherein the target navigation information is optimal navigation information for the second device to travel to the first destination.
[0148] Optionally, the multi-device collaborative operation apparatus further includes a second generating module 704, which is used to:
[0149] Target navigation information is generated based on target obstacle information of the target area and sent to the second device, wherein the target navigation information is optimal navigation information for the second device to travel to the first destination.
[0150] The functional implementation of each module and each unit in the above-mentioned multi-device collaborative operation apparatus corresponds to each step in the above-mentioned multi-device collaborative operation method embodiment, and their functions and implementation processes will not be repeated here one by one.
[0151] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned scenario-based text generation method. The electronic device can be a server or a terminal device.
[0152] See also Figure 8 As shown, the electronic device includes a processor 800 and a memory 801 , wherein the memory 801 stores machine executable instructions that can be executed by the processor 800 , and the processor 800 executes the machine executable instructions to implement the above-mentioned scenario-based text generation method.
[0153] Further, Figure 8 The electronic device shown further includes a bus 802 and a communication interface 803 , and the processor 800 , the communication interface 803 and the memory 801 are connected via the bus 802 .
[0154] The memory 801 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 803 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 802 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0155] The processor 800 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 800. The above processor 800 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 800 reads the information in the memory 801 and completes the steps of the multi-device collaborative operation method in combination with its hardware.
[0156] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program runs on a computer, the computer executes the steps of the multi-device collaborative operation method.
[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several computer programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0159] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-device collaborative operation method, characterized in that: include: Acquiring flight status information of the first device during operation, and determining the first destination according to the flight status information during operation; During the operation process of approaching the first destination, obstacle detection is performed on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area, wherein the target area is a driving area of the second device heading to the first destination.
2. The multi-device collaborative operation method according to claim 1, characterized in that: During the operation process of approaching the first destination, performing obstacle detection on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area includes: During the operation process approaching the first destination, obstacle detection is performed on the target area with at least one target UWB device within a preset detection range to obtain target obstacle information of the target area, wherein the target UWB device is the UWB device closest to the target area.
3. The multi-device collaborative operation method according to claim 1, characterized in that: The performing obstacle detection on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area includes: Performing obstacle detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first device detection information; Acquire second device detection information, wherein the second device detection information is information obtained by the second device performing obstacle detection on the target area; Target obstacle information of the target area is determined based on the first device detection information and the second device detection information.
4. The multi-device collaborative operation method according to claim 3, characterized in that: The determining the target obstacle information of the target area based on the first device detection information and the second device detection information includes: The first device detection information and the second device detection information are merged to obtain the target obstacle information of the target area; wherein the first device detection information is the relative speed and relative position between the obstacle detected by the first device and the second device, and the second device detection information is the relative speed and relative position between the obstacle detected by the second device and the second device.
5. The multi-device collaborative operation method according to claim 3, characterized in that: The determining the target obstacle information of the target area based on the first device detection information and the second device detection information includes: The first device detection information and the second device detection information are integrated to obtain a fused target distance; wherein the first device detection information includes a relative distance between an obstacle detected by the first device and the second device, and the second device detection information includes a relative distance between an obstacle detected by the second device and the second device; Based on the fused target distance and the preset detection time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain the target obstacle information of the target area.
6. The multi-device collaborative operation method according to claim 3, characterized in that: The performing obstacle detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first device detection information includes: Performing direct wave detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first detection information; Performing reflected wave detection on the target area by at least one UWB device of the first device to obtain second detection information; The first detection information and the second detection information are merged to obtain first device detection information.
7. The multi-device collaborative operation method according to claim 6, characterized in that: The performing direct wave detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first detection information includes: By means of at least one UWB device of the first device, direct wave detection is performed on a target area within a preset detection range according to a first preset number of times, so as to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times that at least one UWB device of the first device and the second device alternately serve as receiving ends; The detection information corresponding to the first preset number of times is merged to obtain first detection information, wherein the first detection information includes the target distance between the obstacle and the second device, or the first detection information includes the target relative speed and target relative position between the obstacle and the second device.
8. The multi-device collaborative operation method according to claim 6, characterized in that: The performing obstacle detection on a target area within a preset detection range by at least one UWB device of the first device to obtain first detection information includes: By means of at least one UWB device of the first device, direct wave detection is performed on a target area within a preset detection range according to a first preset number of times, so as to obtain detection information corresponding to the first preset number of times; wherein the first preset number of times is the number of times that at least one UWB device of the first device and the second device alternately serve as receiving ends, and each detection information includes information indicating whether there is an obstacle between the first device and the second device and a relative distance between the obstacle and the second device when there is an obstacle; Based on the detection information corresponding to the first preset number of times and the preset measurement time interval, the relative speed and relative position between the obstacle and the second device are determined to obtain first detection information.
9. The multi-device collaborative operation method according to claim 6, characterized in that: The performing reflected wave detection on the target area by at least one UWB device of the first device to obtain second detection information includes: Acquire a reflected wave signal of the target area through at least one UWB device of the first device, wherein the at least one UWB device of the first device includes a UWB device as a transmitting end and a UWB device as a receiving end; Based on the reflected wave signal and a preset Doppler frequency shift theorem, second detection information is determined, wherein the second detection information is a relative distance between the obstacle and the second device, or the second detection information is a relative speed and relative position between the obstacle and the second device.
10. The multi-device collaborative operation method according to claim 6, characterized in that: The performing reflected wave detection on the target area by at least one UWB device of the first device to obtain second detection information includes: Performing reflected wave detection on the target area according to a second preset number of times by at least one target UWB device of the first device, and obtaining detection information corresponding to the second preset number of times, wherein the target UWB device is the UWB device closest to the target area; The detection information corresponding to the second preset number of times is merged to obtain second detection information.
11. The multi-device collaborative operation method according to claim 1, characterized in that: The performing obstacle detection on a target area within a preset detection range by at least one UWB device to obtain target obstacle information of the target area includes: Performing obstacle detection on a target area within a preset detection range by at least one UWB device of the first device, and performing direct wave detection on the target area to obtain third detection information; Performing reflected wave detection on the target area by at least one UWB device of the first device to obtain fourth detection information; Target obstacle information of the target area is determined based on the third detection information and the fourth detection information.
12. The multi-device collaborative operation method according to any one of claims 1 to 9, characterized in that: In the process of approaching the first destination, after performing obstacle detection on a target area within a preset detection range by at least one UWB device and obtaining target obstacle information of the target area, the method further includes: Target navigation information is generated based on the target obstacle information of the target area and sent to the second device, wherein the target navigation information is optimal navigation information for the second device to travel to the first destination.
13. The multi-device collaborative operation method according to any one of claims 1 to 9, characterized in that: In the process of approaching the first destination, after performing obstacle detection on a target area within a preset detection range by at least one UWB device and obtaining target obstacle information of the target area, the method further includes: The target obstacle information of the target area is sent to the second device, so that the second device generates target navigation information based on the target obstacle information of the target area, wherein the target navigation information is optimal navigation information for the second device to travel to the first destination.
14. A multi-device collaborative operation device, characterized in that: The multi-device collaborative operation device comprises: a determination module, configured to obtain flight status information of the first device during operation, and determine the first destination according to the flight status information during operation; The detection module is used to perform obstacle detection on a target area within a preset detection range through at least one UWB device during the operation process approaching the first destination, and obtain target obstacle information of the target area, wherein the target area is the driving area of the second device heading to the first destination.
15. An electronic device, characterized in that: It includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the multi-device collaborative operation method described in any one of claims 1-13.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the multi-device collaborative operation method as described in any one of claims 1-13.
