WO2021217341A1 - Obstacle avoidance method, moveable platform, control device, and storage medium - Google Patents

Obstacle avoidance method, moveable platform, control device, and storage medium Download PDF

Info

Publication number
WO2021217341A1
WO2021217341A1 PCT/CN2020/087239 CN2020087239W WO2021217341A1 WO 2021217341 A1 WO2021217341 A1 WO 2021217341A1 CN 2020087239 W CN2020087239 W CN 2020087239W WO 2021217341 A1 WO2021217341 A1 WO 2021217341A1
Authority
WO
WIPO (PCT)
Prior art keywords
movable platform
point cloud
cloud data
obstacle
radar
Prior art date
Application number
PCT/CN2020/087239
Other languages
French (fr)
Chinese (zh)
Inventor
高迪
王俊喜
王石荣
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/087239 priority Critical patent/WO2021217341A1/en
Priority to CN202080004381.4A priority patent/CN112753000A/en
Publication of WO2021217341A1 publication Critical patent/WO2021217341A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0257Control of position or course in two dimensions specially adapted to land vehicles using a radar
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0214Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle

Definitions

  • the invention relates to the field of obstacle avoidance, in particular to an obstacle avoidance method, a movable platform, a control device and a storage medium.
  • the movable platform usually uses multiple obstacle avoidance sensors arranged at different positions to obtain a full range of environmental information, so as to realize obstacle avoidance.
  • the obstacle avoidance sensor can be a vision sensor, an ultrasonic sensor, a radar sensor, and so on.
  • the use of multiple obstacle avoidance sensors often fails to make the movable platform have a better obstacle avoidance effect, which makes the movable platform have a greater risk of damage during operation.
  • the invention provides an obstacle avoidance method, a movable platform, a control device and a storage medium, which are used to ensure the obstacle avoidance effect.
  • the first aspect of the present invention is to provide an obstacle avoidance method, which includes:
  • the movable platform is controlled to avoid obstacles.
  • the second aspect of the present invention is to provide a movable platform, which at least includes: a body, a power system, a radar, and a control device;
  • the power system is arranged on the body and used to provide power for the movable platform
  • the radar is arranged on the body and is used to collect point cloud data
  • the control device includes a memory and a processor
  • the memory is used to store a computer program
  • the processor is configured to run a computer program stored in the memory to realize:
  • the movable platform is controlled to avoid obstacles.
  • the third aspect of the present invention is to provide a control device including:
  • Memory used to store computer programs
  • the processor is configured to run a computer program stored in the memory to realize:
  • the movable platform is controlled to avoid obstacles.
  • the fourth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect.
  • the invention provides an obstacle avoidance method, a movable platform, a control device and a storage medium.
  • the movable platform controls the rotation of the radar configured by itself, and the radar can collect point cloud data during the rotation.
  • the control device can obtain all-round point cloud data in the operating environment of the mobile platform. Then, according to the omnidirectional point cloud data, it is determined whether there are obstacles in the operating environment of the movable platform. If there are obstacles, control the movable platform to avoid obstacles.
  • the mobile platform can use the point cloud data collected by a radar to achieve its own omni Interference with each other, resulting in poor obstacle avoidance, greatly reducing the risk of damage to the movable platform.
  • Figure 1 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention.
  • FIG. 2 is a flowchart of an obstacle avoidance method provided by an embodiment of the present invention.
  • FIG. 3a is a schematic diagram of an orientation division according to an embodiment of the present invention.
  • Figure 3b is a schematic diagram of another orientation division provided by an embodiment of the present invention.
  • FIG. 5 is a flowchart of another obstacle avoidance method provided by an embodiment of the present invention.
  • Figure 6a is a schematic diagram of a first trajectory of the movable platform
  • Figure 6b is a schematic diagram of a second trajectory of the movable platform
  • Figure 6c is a schematic diagram of another first trajectory of the movable platform
  • FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention.
  • Fig. 9 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
  • the movable platform mentioned in the present invention may be an unmanned aerial vehicle, an autonomous vehicle, an unmanned boat, or an intelligent robot with mobile capabilities, and so on.
  • the obstacle avoidance function is one of the important functions that it needs to have.
  • the movable platform is specifically an unmanned aerial vehicle, it can be applied to various fields such as electric power, agriculture, film and television entertainment.
  • the schematic diagram of the structure of the unmanned aerial vehicle can be shown in Figure 1.
  • the movable platform is an unmanned aerial vehicle as an example for description. And if there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other.
  • FIG. 2 is a schematic flowchart of an obstacle avoidance method provided by an embodiment of the present invention.
  • the main body of execution of this obstacle avoidance method is the control device.
  • the control device can be implemented as software or a combination of software and hardware.
  • the control device can make the movable platform realize obstacle avoidance by executing the obstacle avoidance method.
  • the control device in this embodiment and the following embodiments may specifically be a control device, and the control device may specifically be a controller configured on a movable platform, or a remote server.
  • the method may include:
  • S101 Control the rotation of the radar configured on the movable platform to obtain a full range of point cloud data in the operating environment where the movable platform is located.
  • the movable platform is equipped with a radar. After the movable platform is turned on, the control device can control the radar to turn on to collect point cloud data through the radar.
  • the radar configured on the movable platform may be a millimeter wave radar, and the rotation axis of the radar may be parallel to the yaw axis of the movable platform.
  • the radar can rotate 360 degrees around the rotation axis, so as to collect all-round point cloud data in the operating environment of the movable platform during continuous rotation.
  • S102 Determine whether there is an obstacle in the operating environment according to the point cloud data.
  • the control device After the control device obtains a full range of point cloud data, it can optionally perform clustering processing on the point cloud data through its own preset clustering algorithm, and determine the current operation of the movable platform according to the clustering result. Whether there are obstacles in the environment.
  • the clustering result may include at least one cluster. If the number of point cloud data contained in the target cluster is greater than or equal to the preset number, it can be determined that there is an obstacle in the operating environment, that is, the flight environment, and the target cluster may be at least one cluster. Any one of, this target cluster corresponds to an obstacle, that is, the point cloud data in the target cluster is used to describe the obstacle. If in at least one cluster, the number of point cloud data contained in each cluster is less than the preset number, it can be determined that the current operating environment of the mobile platform does not contain obstacles.
  • the clustering algorithm used above may be a density-based clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN for short) algorithm with noise.
  • the preset clustering algorithm may also be any mature algorithm in the prior art, such as the k-means clustering algorithm, that is, the K-means algorithm and so on.
  • control device may further determine the positional relationship between the obstacle and the movable platform based on the point cloud data in the target cluster corresponding to the obstacle. Then plan the running path for the movable platform according to the path planning algorithm configured by the control device itself, so that the movable platform runs according to the planned path and avoids obstacles.
  • the movable platform controls the rotation of the radar configured by itself, and the radar can collect point cloud data during the rotation.
  • the control device can obtain all-round point cloud data in the operating environment of the mobile platform.
  • the omnidirectional point cloud data it is determined whether there are obstacles in the operating environment of the movable platform. If there are obstacles, control the movable platform to avoid obstacles. It can be seen that in the above obstacle avoidance method, the mobile platform can use the point cloud data collected by a radar to achieve its own omni Interference with each other, resulting in poor obstacle avoidance, greatly reducing the risk of damage to the movable platform.
  • the radar can continuously rotate 360 degrees, so as to continuously collect corresponding point cloud data in the 360-degree operating environment of the movable platform.
  • the control device can only start to determine whether there are obstacles in the operating environment after acquiring the 360-degree point cloud data.
  • the radar can rotate intermittently around the rotation axis, and the radar stays for a preset time when it rotates to a preset angle, and collects point cloud data within the preset time. And based on the point cloud data collected within the preset time to determine obstacles. For example, the radar can sequentially collect the point cloud data corresponding to at least one azimuth of the movable platform through intermittent rotation, and determine the obstacle after obtaining the point cloud data of at least one azimuth.
  • the aforementioned at least one orientation may be at least one of front, back, left, and right, as shown in Fig. 3a.
  • Each azimuth corresponds to an area of 90 degrees, and the corresponding relationship between the preset angle and the azimuth can be considered as front-45 degrees, right-135 degrees, rear--225 degrees, and left-275 degrees.
  • the division of the orientation or the preset angle is not limited to the above-mentioned "front, rear, left, and right" division method, and may also have a smaller division granularity, as shown in FIG. 3b.
  • FIG. 4 is a schematic flowchart of another obstacle avoidance method provided by an embodiment of the present invention. As shown in Figure 4, the obstacle avoidance method may further include the following steps:
  • S201 Control the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located.
  • step 201 The execution process of the foregoing step 201 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 2, which will not be repeated here.
  • S202 Filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data.
  • the point cloud data used to describe these invalid obstacles can also be considered as invalid data, and the invalid data can be filtered out before the clustering process.
  • the point cloud data remaining after filtering is the effective point cloud data used for obstacle determination, that is, the target point cloud data.
  • the safe movement range of the unmanned aerial vehicle may be a space range formed by 0.5 meters below the airframe and 2 meters above the airframe.
  • S203 Perform clustering processing on the target point cloud data to obtain at least one cluster.
  • S204 Determine whether the number of point cloud data contained in the target cluster is greater than or equal to a preset number, the target cluster is any one of at least one cluster, if it is greater, step 205 to step 207 are executed, otherwise, step 208 is executed.
  • S206 Determine the size information of the obstacle according to the point cloud data in the target cluster.
  • the control device can cluster the target point cloud data.
  • the clustering algorithm may be any one mentioned in the embodiment shown in FIG. 2, and the clustering result may include at least one cluster.
  • the clustering algorithm may be any one mentioned in the embodiment shown in FIG. 2, and the clustering result may include at least one cluster.
  • clusters A that is, the target cluster
  • the point cloud data may be specifically represented as three-dimensional coordinates. Therefore, the size information of the obstacle, such as the length, width, and height of the obstacle, may also be determined according to the three-dimensional coordinates in the target cluster.
  • control device can also plan a path for the movable platform according to the path planning algorithm configured by itself, combined with the size information of the obstacle, so that the movable platform can avoid the obstacle with the shortest running distance.
  • the movable platform can continue to move in the current posture.
  • steps 203 to 204 in this embodiment are not described in detail, and reference may also be made to related descriptions in the embodiment shown in FIG. 2, which will not be repeated here.
  • the target point cloud data that is closely related to the safe operation of the mobile platform can be retained.
  • the control device judges obstacles according to the retained target point cloud data, so as to realize obstacle avoidance of the movable platform.
  • the amount of target point cloud data is greatly reduced, which can improve the efficiency of the control equipment to determine obstacles, ensure the accuracy and timeliness of obstacle avoidance, and avoid damage to the movable platform.
  • FIG. 5 is a schematic flowchart of another obstacle avoidance method provided by an embodiment of the present invention. As shown in Figure 5, the obstacle avoidance method may further include the following steps:
  • S301 Control the rotation of the radar configured on the movable platform to obtain all-round point cloud data in the operating environment where the movable platform is located.
  • step 301 The execution process of the foregoing step 301 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 2, which will not be repeated here.
  • S302 Convert the three-dimensional coordinates of the point cloud data from the spherical coordinate system to the body coordinate system of the movable platform.
  • the point cloud data can be expressed as three-dimensional coordinates.
  • the three-dimensional coordinates of the point cloud data are specifically spherical coordinates. In this case, you need to convert the spherical coordinates to rectangular coordinates first. Make the three-dimensional coordinates of the converted point cloud data correspond to the rectangular coordinate system.
  • the rectangular coordinate system may be the airframe coordinate system.
  • the body coordinate system can be defined as: the center of mass of the unmanned aerial vehicle is the origin of the coordinate, the direction of the X axis is located in the reference plane of the unmanned aerial vehicle, parallel to the fuselage axis and pointing to the front of the unmanned aerial vehicle, and the Y axis is perpendicular to the unmanned aerial vehicle
  • the reference plane points to the right of the UAV, and the Z axis is perpendicular to the XOY plane in the reference plane and points above the UAV.
  • S303 Convert the three-dimensional coordinates from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data, if there is an obstacle, perform step 304; otherwise, perform step 306.
  • the three-dimensional coordinates of the point cloud data can be converted from the body coordinate system to the inertial coordinate system.
  • the inertial coordinate system is the northeast coordinate system.
  • control device can also use a clustering algorithm to determine whether there are obstacles in the operating environment of the movable platform.
  • a clustering algorithm to determine whether there are obstacles in the operating environment of the movable platform.
  • the point cloud data collected by the radar may have noise, and the interference of the noise will further affect the accuracy of the obstacle determination result. Therefore, the judgment result of the obstacle can also be verified.
  • the control movable platform will avoid obstacles according to the path planning algorithm. If the verification result shows that there is no obstacle, it can be considered that the control device has misdetected the obstacle. At this time, the control device will continue to control the movable platform to continue to move in the current direction in the current posture.
  • the radar on the movable platform can rotate around an axis to collect point cloud data. It can be considered that the time required for each rotation of the radar by a preset angle is a collection period, and the preset angle can be, for example, 360 degrees, 180 degrees, and so on.
  • the control device can obtain the point cloud data collected by the radar from time T0 to time T1. Among them, time T0 to time T1 corresponds to the first number of acquisition cycles of the radar.
  • the control device can determine whether there is an obstacle in the operating environment of the movable platform according to the point cloud data collected in each collection period, and determine the distance between the obstacle and the movable platform. Then the control device can obtain the first number of distance values, which can be collectively referred to as the first distance value. From this first distance value, the first trajectory of the movable platform from time T0 to time T1 is generated, and this first trajectory can be regarded as a true trajectory.
  • the filtered point cloud data determines the distance between the obstacle and the movable platform.
  • time T0 to time T2 corresponds to the second number of acquisition cycles of the radar, and time T2 is earlier than time T1, that is, the second number is less than the first number.
  • control device can determine whether there are obstacles in the operating environment of the movable platform based on the point cloud data collected in each collection period, and determine the distance between the obstacle and the movable platform, and the control device can obtain The second number of distance values.
  • the control device can predict the distance between the movable platform and the obstacle in this M collection period according to the operating speed of the movable platform at time T2.
  • M distance values, and the M distance values and the aforementioned second number of distance values form the first number of distances, and the distance values of these two parts can be collectively referred to as the second distance value.
  • the second trajectory of the movable platform from time T0 to time T1 is generated.
  • both the first track and the second track contain the first number of distance values, M distance values in the second track are predicted values. Therefore, this second track can be regarded as a predicted track.
  • the first point cloud data collected in the second number of collection periods can also be filtered. And determine the distance between the obstacle and the movable platform according to the filtered point cloud data.
  • the similarity between the two can be determined. If the similarity meets the preset range, it is determined that there are obstacles in the operating environment of the movable platform. Otherwise, it is considered that there are no obstacles in the operating environment.
  • the control device can control the movable platform to continue to move in the current motion direction in the current posture. And because there is no need to plan the obstacle avoidance path based on the trajectory at this time. Therefore, the control device can also delete the above-mentioned first track and second track.
  • the moving speed of the movable platform is 1m/s
  • the radar acquisition period is 1 second
  • the first number is 5 and the second number is 3.
  • the control device can determine the distances between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar in the 1st to 5th seconds respectively. Meters, 7 meters, 6 meters. At this time, the control device can draw the first track based on the above five actual distance values, as shown in Fig. 6a.
  • the control device can also respectively determine the distances between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar in the first to third seconds. At the same time, the control device can also predict that the distance between the movable platform and the obstacle is 7 meters and 6 meters in the 4th and 5th seconds according to the operating speed of the movable platform. At this time, the second trajectory drawn by the control device based on the above three actual distance values and the two predicted distance values can be as shown in Figure 6b.
  • the first track and the second track are completely coincident, the actual distance between the movable platform and the obstacle is the same as the predicted distance, and the similarity of the two tracks meets the preset range, indicating the obstacle in front of the movable platform Things are real.
  • control device determines that the distance between the movable platform and the obstacle in front is 10 meters, 9 meters, 8 meters, and 6 meters based on the point cloud data sequentially collected from the first second to the fifth second. 2 meters. From these 5 actual distance values, that is, the first distance value, the first track can be obtained as shown in Fig. 6c.
  • the control device can also determine the distance between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar from the first second to the third second respectively. At the same time, the control device can predict the distance between the movable platform and the obstacle to be 6 meters and 5 meters in the 4th and 5th seconds according to the operating speed of the movable platform.
  • the second trajectory that can be drawn from the three actual distance values and the two predicted distance values can be as shown in Figure 6b. At this time, the similarity between the first trajectory and the second trajectory does not meet the preset range, indicating that the movable platform has misjudged the obstacle.
  • the control device can determine whether there are obstacles in the operating environment of the movable platform. Because the judgment result will directly affect the running posture of the movable platform. Therefore, in order to ensure the normal operation of the movable platform, the judgment result of the obstacle can also be verified, and the movable platform can be determined according to the verification result to further adjust the operating posture of the movable platform, so that the movable platform will not appear due to obstacles. Operational errors or even damage caused by incorrect determination of objects.
  • FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention. referring to FIG. 7, this embodiment provides a control device that can execute the above obstacle avoidance method; specifically, the control device include:
  • the control module 11 is used to control the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located.
  • the determining module 12 is configured to determine whether there is an obstacle in the operating environment according to the point cloud data.
  • the control module 11 is also used to control the movable platform to avoid obstacles if there are obstacles in the operating environment.
  • the device shown in FIG. 7 can also execute the method of the embodiment shown in FIG. 1 to FIG. 6c.
  • parts that are not described in detail in this embodiment please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c.
  • the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
  • FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention. referring to FIG. 8, an embodiment of the present invention provides a movable platform, and the movable platform is at least one of the following: Aircraft, self-driving vehicles, unmanned ships, intelligent robots with mobile functions, etc.
  • the movable platform includes: a body 21, a power system 22, a radar 23, and a control device 24.
  • the power system 22 is arranged on the body of the machine 21 and used to provide power for the movable platform.
  • the radar 23 is arranged on the body 21 for collecting point cloud data.
  • the control device 24 includes a memory 241 and a processor 242.
  • the memory 241 is used to store computer programs
  • the processor 242 is configured to run a computer program stored in the memory to implement:
  • the movable platform is controlled to avoid obstacles.
  • the processor 242 is further configured to: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation includes any of the following: front, rear, left ,right.
  • the processor 242 is further configured to: filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
  • the target cluster is any one of the at least one cluster.
  • processor 242 is further configured to: determine the size information of the obstacle according to the point cloud data in the target cluster;
  • the movable platform is controlled to avoid obstacles according to the size information of the obstacle.
  • the processor 242 is further configured to: convert the three-dimensional coordinates of the point cloud data from a spherical coordinate system to the movable platform In the body coordinate system;
  • the three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
  • the processor 242 is further configured to: check whether there are obstacles in the operating environment according to the point cloud data and the movement speed of the movable platform. Test.
  • the processor 242 is further configured to: according to the point cloud data collected by the radar in the first number of collection periods, determine that the obstacle is different from the movable platform in the first number of collection periods. The first distance value between;
  • a second distance value between the two, the first number is greater than the second number
  • processor 242 is further configured to: generate a first track according to the first distance value
  • the processor 242 is further configured to: if the similarity between the first trajectory and the second trajectory does not meet a preset range, determine that there is no obstacle in the operating environment;
  • the radar 23 is a millimeter wave radar.
  • the rotation axis of the radar 23 is parallel to the yaw axis of the movable platform.
  • the radar 23 can continuously rotate 360 degrees around the rotation axis, and collect point cloud data during the continuous rotation.
  • the radar 23 can intermittently rotate around the rotation axis, the radar stays for a preset time when rotating to a preset angle, and collects point cloud data within the preset time.
  • the movable platform shown in FIG. 8 can execute the method of the embodiment shown in FIG. 1 to FIG. 6c.
  • parts that are not described in detail in this embodiment please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c.
  • the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
  • the structure of the control device shown in FIG. 9 can be implemented as an electronic device, which can be a controller or a remote server configured in a movable platform.
  • the electronic device may include: one or more processors 31 and one or more memories 32.
  • the memory 32 is used to store a program that supports the electronic device to execute the obstacle avoidance method provided in the embodiments shown in FIGS. 1 to 6c.
  • the processor 31 is configured to execute a program stored in the memory 32.
  • the program includes one or more computer instructions, and the following steps can be implemented when one or more computer instructions are executed by the processor 31:
  • the movable platform is controlled to avoid obstacles.
  • control device may also include a communication interface 33 for the electronic device to communicate with other devices or a communication network.
  • the processor 31 may be configured to execute: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation includes any of the following: front, rear, about.
  • the movable platform includes any one of unmanned aerial vehicles, autonomous vehicles, and intelligent robots with mobile functions.
  • the radar is a millimeter wave radar, and the rotation axis of the radar is parallel to the heading axis of the movable platform.
  • the radar can continuously rotate 360 degrees around the rotation axis and collect point cloud data during the continuous rotation, or the radar can intermittently rotate around the rotation axis, and the radar stays for a preset time when rotated to a preset angle, And collect point cloud data within the preset time.
  • the processor 31 may be configured to perform: screening the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
  • the target cluster is any one of the at least one cluster.
  • the processor 31 may be configured to execute: determine the size information of the obstacle according to the point cloud data in the target cluster;
  • the movable platform is controlled to avoid obstacles according to the size information of the obstacle.
  • the processor 31 may be configured to execute: transform the three-dimensional coordinates of the point cloud data from the spherical coordinate system to the body coordinate system of the movable platform;
  • the three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
  • the processor 31 may be configured to execute: check whether there is an obstacle in the operating environment according to the point cloud data and the movement speed of the movable platform.
  • the processor 31 may be configured to execute: according to the point cloud data collected by the radar in a first number of collection periods, determine that the obstacle is different from the movable object in the first number of collection periods. The first distance value between the platforms;
  • a second distance value between the two, the first number is greater than the second number
  • the processor 31 may be configured to execute: generate a first track according to the first distance value;
  • the processor 31 may be configured to execute: if the similarity between the first trajectory and the second trajectory does not meet a preset range, determine that there is no obstacle in the operating environment;
  • the device shown in FIG. 9 can execute the method of the embodiment shown in FIG. 1 to FIG. 6c.
  • parts that are not described in detail in this embodiment please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c.
  • the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
  • an embodiment of the present invention provides a computer-readable storage medium.
  • the storage medium is a computer-readable storage medium.
  • the computer-readable storage medium stores program instructions. Barrier method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

Provided in the embodiments of the present application are an obstacle avoidance method, a moveable platform, a control device, and a storage medium. The method comprises: a moveable platform controlling the rotation of a radar configured on the moveable platform, and the radar being able to collect point cloud data during the rotation; at this time, a control device acquiring omnidirectional point cloud data corresponding to the operating environment of the moveable platform; then, according to the omnidirectional point cloud data, determining whether there is an obstacle in the operating environment of the moveable platform; and if there is an obstacle, controlling the moveable platform to avoid the obstacle. It can be seen that in the obstacle avoidance method, a movable platform can realize an omnidirectional obstacle avoidance function thereof using point cloud data collected by a radar, thereby avoiding a poor obstacle avoidance effect caused by mutual interference between multiple obstacle avoidance sensors while ensuring the obstacle avoidance effect, and greatly reducing the risk of damaging the movable platform.

Description

避障方法、可移动平台、控制设备和存储介质Obstacle avoidance method, movable platform, control equipment and storage medium 技术领域Technical field
本发明涉及避障领域,尤其涉及一种避障方法、可移动平台、控制设备和存储介质。The invention relates to the field of obstacle avoidance, in particular to an obstacle avoidance method, a movable platform, a control device and a storage medium.
背景技术Background technique
近年来,如自动驾驶车辆、无人飞行器等的可移动平台已经广泛地应用到工业和日常生活中。为保证可移动平台的正常运行,其往往需要具有全方向的避障功能。In recent years, mobile platforms such as autonomous vehicles and unmanned aerial vehicles have been widely used in industry and daily life. In order to ensure the normal operation of the movable platform, it often needs to have an omnidirectional obstacle avoidance function.
现有技术中,可移动平台通常是使用配置在不同位置上的多个避障传感器来获取全方位的环境信息,从而实现避障。其中,避障传感器可以为视觉传感器、超声波传感器或者雷达传感器等等。但多个避障传感器的使用往往不能使可移动平台具有较好的避障效果,也就使可移动平台在运行过程中存在更大的损毁风险。In the prior art, the movable platform usually uses multiple obstacle avoidance sensors arranged at different positions to obtain a full range of environmental information, so as to realize obstacle avoidance. Among them, the obstacle avoidance sensor can be a vision sensor, an ultrasonic sensor, a radar sensor, and so on. However, the use of multiple obstacle avoidance sensors often fails to make the movable platform have a better obstacle avoidance effect, which makes the movable platform have a greater risk of damage during operation.
发明内容Summary of the invention
本发明提供了一种避障方法、可移动平台、控制设备和存储介质,用于保证避障效果。The invention provides an obstacle avoidance method, a movable platform, a control device and a storage medium, which are used to ensure the obstacle avoidance effect.
本发明的第一方面是为了提供一种避障方法,所述方法包括:The first aspect of the present invention is to provide an obstacle avoidance method, which includes:
控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据;Controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located;
根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
本发明的第二方面是为了提供一种可移动平台,所述移动平台至少包括:机体、动力系统、雷达以及控制装置;The second aspect of the present invention is to provide a movable platform, which at least includes: a body, a power system, a radar, and a control device;
所述动力系统,设置于所述机体上,用于为所述可移动平台提供动力;The power system is arranged on the body and used to provide power for the movable platform;
所述雷达,设置于所述机体上,用于采集点云数据;The radar is arranged on the body and is used to collect point cloud data;
所述控制装置包含存储器和处理器;The control device includes a memory and a processor;
所述存储器,用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的所述点云数据;Controlling the rotation of the radar configured on the movable platform to obtain the omnidirectional point cloud data in the operating environment where the movable platform is located;
根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
本发明的第三方面是为了提供一种控制设备,所述控制设备包括:The third aspect of the present invention is to provide a control device including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据;Controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located;
根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
本发明的第四方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第一方面所述的避障方法。The fourth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect. The obstacle avoidance method described.
本发明提供的避障方法、可移动平台、控制设备和存储介质,可移动平台控制自身配置的雷达旋转,雷达在旋转的过程中可以采集点云数据。此时,控制设备即可获取到可移动平台所处运行环境内,全方位的点云数据。接着,再根据此全方位的点云数据确定可移动平台的运行环境内是否存在障碍物。若存在障碍物,则控制可移动平台进行避障。The invention provides an obstacle avoidance method, a movable platform, a control device and a storage medium. The movable platform controls the rotation of the radar configured by itself, and the radar can collect point cloud data during the rotation. At this point, the control device can obtain all-round point cloud data in the operating environment of the mobile platform. Then, according to the omnidirectional point cloud data, it is determined whether there are obstacles in the operating environment of the movable platform. If there are obstacles, control the movable platform to avoid obstacles.
可见,在上述的避障方法中,可移动平台使用一个雷达采集到的点云数据即可实现自身全方位的避障功能,保证避障效果的同时,也避免了因多个避障传感器之间互相干扰,而导致的避障效果不佳的情况,大大降低可移动平台的损毁风险。It can be seen that in the above obstacle avoidance method, the mobile platform can use the point cloud data collected by a radar to achieve its own omni Interference with each other, resulting in poor obstacle avoidance, greatly reducing the risk of damage to the movable platform.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1为本发明实施例提供的无人飞行器的结构示意图;Figure 1 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention;
图2为本发明实施例提供的一种避障方法的流程图;FIG. 2 is a flowchart of an obstacle avoidance method provided by an embodiment of the present invention;
图3a为本发明实施例提供的一种方位的划分示意图;FIG. 3a is a schematic diagram of an orientation division according to an embodiment of the present invention;
图3b为本发明实施例提供的另一种方位的划分示意图;;Figure 3b is a schematic diagram of another orientation division provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种避障方法的流程图;4 is a flowchart of another obstacle avoidance method provided by an embodiment of the present invention;
图5为本发明实施例提供的又一种避障方法的流程图;FIG. 5 is a flowchart of another obstacle avoidance method provided by an embodiment of the present invention;
图6a为可移动平台的一种第一航迹的示意图;Figure 6a is a schematic diagram of a first trajectory of the movable platform;
图6b为可移动平台的一种第二航迹的示意图;Figure 6b is a schematic diagram of a second trajectory of the movable platform;
图6c为可移动平台的另一种第一航迹的示意图;Figure 6c is a schematic diagram of another first trajectory of the movable platform;
图7为本发明实施例提供的一种控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention;
图8为本发明实施例提供的一种可移动平台的结构示意图;FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention;
图9为本发明实施例提供的一种控制设备的结构示意图。Fig. 9 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
在实际应用中,本发明中提及的可移动平台可以是无人飞行器、自动驾驶车辆、无人船又或者是具有移动能力的智能机器人等等。为了设备的正常运动,避障功能是其需要具有的重要功能之一。当可移动平台具体为无人飞行器时,其可以应用于电力、农业、影视娱乐等多种领域。无人飞行器的结构示意图可以如图1所示。In practical applications, the movable platform mentioned in the present invention may be an unmanned aerial vehicle, an autonomous vehicle, an unmanned boat, or an intelligent robot with mobile capabilities, and so on. For the normal movement of the equipment, the obstacle avoidance function is one of the important functions that it needs to have. When the movable platform is specifically an unmanned aerial vehicle, it can be applied to various fields such as electric power, agriculture, film and television entertainment. The schematic diagram of the structure of the unmanned aerial vehicle can be shown in Figure 1.
下面结合附图对本发明的一些实施方式作详细说明,下述各实施例中均以可移动平台是无人飞行器为例进行说明。并且在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following embodiments, the movable platform is an unmanned aerial vehicle as an example for description. And if there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other.
图2为本发明实施例提供的一种避障方法的流程示意图。该避障方法的执 行主体是控制装置。可以理解的是,该控制装置可以实现为软件、或者软件和硬件的组合。控制装置通过执行该避障方法可以使可移动平台实现避障。本实施例以及下述各实施例中的控制装置具体来说可以是控制设备,此控制设备具体可以是可移动平台上配置的控制器,或者是远端服务器。具体的,该方法可以包括:FIG. 2 is a schematic flowchart of an obstacle avoidance method provided by an embodiment of the present invention. The main body of execution of this obstacle avoidance method is the control device. It can be understood that the control device can be implemented as software or a combination of software and hardware. The control device can make the movable platform realize obstacle avoidance by executing the obstacle avoidance method. The control device in this embodiment and the following embodiments may specifically be a control device, and the control device may specifically be a controller configured on a movable platform, or a remote server. Specifically, the method may include:
S101,控制可移动平台配置的雷达旋转,以得到可移动平台所处运行环境内全方位的点云数据。S101: Control the rotation of the radar configured on the movable platform to obtain a full range of point cloud data in the operating environment where the movable platform is located.
可移动平台上配置有雷达,在可移动平台开启后,控制设备可以控制雷达开启,以通过雷达采集点云数据。可选地,可移动平台上配置的雷达可以是毫米波雷达,且雷达的旋转轴可以平行于可移动平台的航向轴。The movable platform is equipped with a radar. After the movable platform is turned on, the control device can control the radar to turn on to collect point cloud data through the radar. Optionally, the radar configured on the movable platform may be a millimeter wave radar, and the rotation axis of the radar may be parallel to the yaw axis of the movable platform.
可选地,一种最常见的方式:雷达可以绕旋转轴旋转360度,从而在连续旋转过程中采集到可移动平台所处运行环境内的、全方位的点云数据。Optionally, one of the most common methods: the radar can rotate 360 degrees around the rotation axis, so as to collect all-round point cloud data in the operating environment of the movable platform during continuous rotation.
S102,根据点云数据确定运行环境中是否存在障碍物。S102: Determine whether there is an obstacle in the operating environment according to the point cloud data.
控制设备在获取到全方位的点云数据后,可选地,可以通过自身预设的聚类算法对点云数据进行聚类处理,并根据聚类结果结果确定可移动平台当前所处的运行环境中是否存在障碍物。其中,聚类结果可以包括至少一个簇,若目标簇中包含的点云数据的数量大于或等于预设数量,则可以确定运行环境即飞行环境中存在障碍物,目标簇可以为至少一个簇中的任意一个,此目标簇对应于障碍物,即目标簇中的点云数据用于描述障碍物。若至少一个簇中,每个簇中包含的点云数据数量都小于预设数量,则可以确定可移动平台当前的运行环境中不包含障碍物。After the control device obtains a full range of point cloud data, it can optionally perform clustering processing on the point cloud data through its own preset clustering algorithm, and determine the current operation of the movable platform according to the clustering result. Whether there are obstacles in the environment. Wherein, the clustering result may include at least one cluster. If the number of point cloud data contained in the target cluster is greater than or equal to the preset number, it can be determined that there is an obstacle in the operating environment, that is, the flight environment, and the target cluster may be at least one cluster. Any one of, this target cluster corresponds to an obstacle, that is, the point cloud data in the target cluster is used to describe the obstacle. If in at least one cluster, the number of point cloud data contained in each cluster is less than the preset number, it can be determined that the current operating environment of the mobile platform does not contain obstacles.
可选地,上述使用到的聚类算法可以是具有噪声的基于密度聚类(Density-Based Spatial Clustering of Applications with Noise,简称DBSCAN)算法。当然,预设的聚类算法也可以是现有技术中任一种成熟的算法,比如k均值聚类算法即K-means算法等等。Optionally, the clustering algorithm used above may be a density-based clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN for short) algorithm with noise. Of course, the preset clustering algorithm may also be any mature algorithm in the prior art, such as the k-means clustering algorithm, that is, the K-means algorithm and so on.
S103,若运行环境中存在障碍物,则控制可移动平台进行避障。S103: If there are obstacles in the operating environment, control the movable platform to avoid obstacles.
若根据聚类结果确定出运行环境中存在障碍物,则控制设备可以进一步根据对应于障碍物的目标簇中的点云数据,确定障碍物与可移动平台之间的位置关系。再根据控制设备自身配置的路径规划算法为可移动平台规划运行路径,以使可移动平台按照规划好的路径运行,避开障碍物。If it is determined based on the clustering result that there is an obstacle in the operating environment, the control device may further determine the positional relationship between the obstacle and the movable platform based on the point cloud data in the target cluster corresponding to the obstacle. Then plan the running path for the movable platform according to the path planning algorithm configured by the control device itself, so that the movable platform runs according to the planned path and avoids obstacles.
本实施例中,可移动平台控制自身配置的雷达旋转,雷达在旋转的过程 中可以采集点云数据。此时,控制设备即可获取到可移动平台所处运行环境内,全方位的点云数据。接着,再根据此全方位的点云数据确定可移动平台的运行环境内是否存在障碍物。若存在障碍物,则控制可移动平台进行避障。可见,在上述的避障方法中,可移动平台使用一个雷达采集到的点云数据即可实现自身全方位的避障功能,保证避障效果的同时,也避免了因多个避障传感器之间互相干扰,而导致的避障效果不佳的情况,大大降低可移动平台的损毁风险。In this embodiment, the movable platform controls the rotation of the radar configured by itself, and the radar can collect point cloud data during the rotation. At this point, the control device can obtain all-round point cloud data in the operating environment of the mobile platform. Then, according to the omnidirectional point cloud data, it is determined whether there are obstacles in the operating environment of the movable platform. If there are obstacles, control the movable platform to avoid obstacles. It can be seen that in the above obstacle avoidance method, the mobile platform can use the point cloud data collected by a radar to achieve its own omni Interference with each other, resulting in poor obstacle avoidance, greatly reducing the risk of damage to the movable platform.
需要说明的有,上述实施例中说明了雷达可以连续旋转360度,从而连续采集到可移动平台360度的运行环境内对应的点云数据。控制设备可以在获取360度的点云数据后,才开始判定运行环境内是否存在障碍物。It should be noted that the foregoing embodiment illustrates that the radar can continuously rotate 360 degrees, so as to continuously collect corresponding point cloud data in the 360-degree operating environment of the movable platform. The control device can only start to determine whether there are obstacles in the operating environment after acquiring the 360-degree point cloud data.
但为了提高障碍物判定的实时性,可选地,雷达可以绕旋转轴间断性旋转,雷达在旋转到预设角度时停留预设时间,并在预设时间内采集点云数据。并根据在预设时间内采集到的点云数据进行障碍物的判定。比如,雷达通过间断性旋转能够依次采集到可移动平台至少一个方位分别对应的点云数据,在得到至少一个方位的点云数据后即进行障碍物的判定。However, in order to improve the real-time performance of obstacle determination, optionally, the radar can rotate intermittently around the rotation axis, and the radar stays for a preset time when it rotates to a preset angle, and collects point cloud data within the preset time. And based on the point cloud data collected within the preset time to determine obstacles. For example, the radar can sequentially collect the point cloud data corresponding to at least one azimuth of the movable platform through intermittent rotation, and determine the obstacle after obtaining the point cloud data of at least one azimuth.
其中,上述的至少一个方位可以是前、后、左、右中的至少一个,如图3a所示。每一个方位对应于一个90度的区域,并且预设角度和方位之间的对应关系可以认为是前方—45度,右方—135度,后方---225度度,左方—275度。当然方位或者说预设角度的划分不限于上述“前后左右”的划分方式,也可以具有更小的划分粒度,如图3b所示。Wherein, the aforementioned at least one orientation may be at least one of front, back, left, and right, as shown in Fig. 3a. Each azimuth corresponds to an area of 90 degrees, and the corresponding relationship between the preset angle and the azimuth can be considered as front-45 degrees, right-135 degrees, rear--225 degrees, and left-275 degrees. Of course, the division of the orientation or the preset angle is not limited to the above-mentioned "front, rear, left, and right" division method, and may also have a smaller division granularity, as shown in FIG. 3b.
容易理解地,障碍物可以位于可移动平台的任一方位,而是否存在障碍物的判定依据的又是点云数据。因此,为了保证点云数据的准确、有效,图4为本发明实施例提供的另一种避障方法的流程示意图。如图4所示,该避障方法还可以包括以下步骤:It is easy to understand that the obstacle can be located in any position of the movable platform, and the determination of whether there is an obstacle is based on the point cloud data. Therefore, in order to ensure the accuracy and effectiveness of the point cloud data, FIG. 4 is a schematic flowchart of another obstacle avoidance method provided by an embodiment of the present invention. As shown in Figure 4, the obstacle avoidance method may further include the following steps:
S201,控制可移动平台配置的雷达旋转,以得到可移动平台所处运行环境内全方位的点云数据。S201: Control the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located.
上述步骤201的执行过程与前述实施例的相应步骤相似,可以参见如图2所示实施例中的相关描述,在此再不赘述。The execution process of the foregoing step 201 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 2, which will not be repeated here.
S202,从点云数据中筛选对应于可移动平台安全运动范围的目标点云数据。S202: Filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data.
在实际应用中,对于一些距离可移动平台较远的障碍物,其可以认为是位于可移动平台安全运动范围之外的障碍物。而用于描述这些无效障碍物的点云数据也可以认为是无效数据,在聚类处理之前,可以将无效数据进行滤除。滤除后剩余的点云数据即为用于进行障碍物判定的有效点云数据,也即是目标点云数据。In practical applications, some obstacles far away from the movable platform can be considered as obstacles outside the safe movement range of the movable platform. The point cloud data used to describe these invalid obstacles can also be considered as invalid data, and the invalid data can be filtered out before the clustering process. The point cloud data remaining after filtering is the effective point cloud data used for obstacle determination, that is, the target point cloud data.
可选地,以无人飞行器为例,无人飞行器的安全运动范围可以是距离机体下方0.5米以及距离机体上方2米所构成的空间范围。Optionally, taking an unmanned aerial vehicle as an example, the safe movement range of the unmanned aerial vehicle may be a space range formed by 0.5 meters below the airframe and 2 meters above the airframe.
S203,对目标点云数据进行聚类处理,以得到至少一个簇。S203: Perform clustering processing on the target point cloud data to obtain at least one cluster.
S204,确定目标簇中包含的点云数据的数量是否大于或等于预设数量,目标簇是至少一个簇中的任一个,若大于,则执行步骤205~步骤207,否则执行步骤208。S204: Determine whether the number of point cloud data contained in the target cluster is greater than or equal to a preset number, the target cluster is any one of at least one cluster, if it is greater, step 205 to step 207 are executed, otherwise, step 208 is executed.
S205,确定运行环境中存在障碍物。S205: Determine that there is an obstacle in the operating environment.
S206,根据目标簇中的点云数据确定障碍物的尺寸信息。S206: Determine the size information of the obstacle according to the point cloud data in the target cluster.
S207,根据障碍物的尺寸信息控制可移动平台进行避障。S207: Control the movable platform to avoid the obstacle according to the size information of the obstacle.
S208,确定运行环境中不存在障碍物,可移动平台沿当前运动方向运动。S208: It is determined that there are no obstacles in the operating environment, and the movable platform moves in the current direction of movement.
接着,控制设备可以对目标点云数据进行聚类。其中,聚类算法可以是图2所示实施例中提及的任意一种,并且聚类结果中可以包含至少一个簇。对于其中的任意一个簇A即目标簇来说,若簇A中包含的点云数据的数量大于或等于预设数量,则确定可移动平台的运行环境内存在障碍物,此簇A就用于描述一个障碍物。在对每个簇都进行上述判断即可确定出在可移动平台的运动环境中存在几个障碍物。Then, the control device can cluster the target point cloud data. Wherein, the clustering algorithm may be any one mentioned in the embodiment shown in FIG. 2, and the clustering result may include at least one cluster. For any one of clusters A, that is, the target cluster, if the number of point cloud data contained in cluster A is greater than or equal to the preset number, it is determined that there are obstacles in the operating environment of the movable platform, and this cluster A is used for Describe an obstacle. After performing the above judgment on each cluster, it can be determined that there are several obstacles in the movement environment of the movable platform.
然后,可选地,点云数据具体可以表现为三维坐标,因此,还可以根据目标簇中的三维坐标确定出障碍物的尺寸信息,比如障碍物的长、宽、高。Then, optionally, the point cloud data may be specifically represented as three-dimensional coordinates. Therefore, the size information of the obstacle, such as the length, width, and height of the obstacle, may also be determined according to the three-dimensional coordinates in the target cluster.
接着,控制设备还可以根据自身配置的路径规划算法,同时结合障碍物的尺寸信息,为可移动平台规划路径,以使可移动平台能够以最短的运行距离避开障碍物。Then, the control device can also plan a path for the movable platform according to the path planning algorithm configured by itself, combined with the size information of the obstacle, so that the movable platform can avoid the obstacle with the shortest running distance.
在聚类结果中包含的至少一个簇中,若每个簇中包含的点云数据的数据量都小于预设数量,则确定运行环境中不存在障碍物。此时,可移动平台可以继续以当前姿态进行运动。In at least one cluster included in the clustering result, if the amount of point cloud data included in each cluster is less than the preset amount, it is determined that there is no obstacle in the operating environment. At this point, the movable platform can continue to move in the current posture.
需要说明的有,本实施例步骤203~步骤204中未详细描述还可以参见图2所示实施例中的相关描述,在此不再赘述。It should be noted that steps 203 to 204 in this embodiment are not described in detail, and reference may also be made to related descriptions in the embodiment shown in FIG. 2, which will not be repeated here.
本实施例中,通过对点云数据的滤除处理,可以将对可移动平台的安全运行有紧密关系的目标点云数据保留下来。控制设备再根据保留下的目标点云数据进行障碍物的判定,以实现可移动平台的避障。相比于全部的点云数据,目标点云数据的数量大大降低,从而能够提高控制设备的对障碍物的判定效率,保证避障的准确性和及时性,避免出现可移动平台损毁的情况。In this embodiment, by filtering the point cloud data, the target point cloud data that is closely related to the safe operation of the mobile platform can be retained. The control device then judges obstacles according to the retained target point cloud data, so as to realize obstacle avoidance of the movable platform. Compared with all the point cloud data, the amount of target point cloud data is greatly reduced, which can improve the efficiency of the control equipment to determine obstacles, ensure the accuracy and timeliness of obstacle avoidance, and avoid damage to the movable platform.
基于上述各实施例的描述可知,雷达采集的点云数据能够反映障碍物的位置。为了使点云数据能够正确的反映障碍物的位置,使其不会被可移动平台的运动姿态所干扰,因此,图5为本发明实施例提供的又一种避障方法的流程示意图。如图5所示,该避障方法还可以包括以下步骤:Based on the description of the foregoing embodiments, it can be known that the point cloud data collected by the radar can reflect the position of the obstacle. In order to enable the point cloud data to accurately reflect the position of the obstacle, so that it will not be disturbed by the movement posture of the movable platform, therefore, FIG. 5 is a schematic flowchart of another obstacle avoidance method provided by an embodiment of the present invention. As shown in Figure 5, the obstacle avoidance method may further include the following steps:
S301,控制可移动平台配置的雷达旋转,以得到可移动平台所处运行环境内全方位的点云数据。S301: Control the rotation of the radar configured on the movable platform to obtain all-round point cloud data in the operating environment where the movable platform is located.
上述步骤301的执行过程与前述实施例的相应步骤相似,可以参见如图2所示实施例中的相关描述,在此再不赘述。The execution process of the foregoing step 301 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 2, which will not be repeated here.
S302,将点云数据的三维坐标由球坐标系转换到可移动平台的机体坐标系下。S302: Convert the three-dimensional coordinates of the point cloud data from the spherical coordinate system to the body coordinate system of the movable platform.
对获取到的点云数据进行坐标转换,点云数据可以表现为三维坐标,并且可选地,点云数据的三维坐标具体为球坐标,此时则需要先将球坐标转换成直角坐标,以使转换后的点云数据的三维坐标对应于直角坐标系。以可移动平台是无人飞行器为例,此直角坐标系可以是机体坐标系。其中,机体坐标系可以定义为:无人飞行器的质心为坐标原点,X轴的方向为位于无人飞行器参考平面内、平行于机身轴线并指向无人飞行器前方,Y轴垂直于无人飞行器参考面并指向无人飞行器右方,Z轴在参考面内垂直于XOY平面,指向无人机飞行器上方。Perform coordinate conversion on the acquired point cloud data. The point cloud data can be expressed as three-dimensional coordinates. Optionally, the three-dimensional coordinates of the point cloud data are specifically spherical coordinates. In this case, you need to convert the spherical coordinates to rectangular coordinates first. Make the three-dimensional coordinates of the converted point cloud data correspond to the rectangular coordinate system. Taking the movable platform as an unmanned aerial vehicle as an example, the rectangular coordinate system may be the airframe coordinate system. Among them, the body coordinate system can be defined as: the center of mass of the unmanned aerial vehicle is the origin of the coordinate, the direction of the X axis is located in the reference plane of the unmanned aerial vehicle, parallel to the fuselage axis and pointing to the front of the unmanned aerial vehicle, and the Y axis is perpendicular to the unmanned aerial vehicle The reference plane points to the right of the UAV, and the Z axis is perpendicular to the XOY plane in the reference plane and points above the UAV.
S303,将三维坐标由机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定运行环境中是否存在障碍物,若存在,则执行步骤304,否则执行步骤306。S303: Convert the three-dimensional coordinates from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data, if there is an obstacle, perform step 304; otherwise, perform step 306.
进一步可选地,再可以将点云数据的三维坐标由机体坐标系转换到惯性坐标系下。其中,惯性坐标系即为东北地坐标系。通过上述的坐标转换即可抵消无人飞行器飞行姿态对点云数据的准确性的影响。Further optionally, the three-dimensional coordinates of the point cloud data can be converted from the body coordinate system to the inertial coordinate system. Among them, the inertial coordinate system is the northeast coordinate system. Through the above coordinate conversion, the influence of the flight attitude of the unmanned aerial vehicle on the accuracy of the point cloud data can be offset.
对于转换后的点云数据,控制设备同样可以通过聚类算法来判定可移动 平台的运行环境中是否存在障碍物,具体过程可以参见图1或图4所示实施例中的相关描述,在此不再赘述。For the converted point cloud data, the control device can also use a clustering algorithm to determine whether there are obstacles in the operating environment of the movable platform. For the specific process, please refer to the relevant description in the embodiment shown in Figure 1 or Figure 4, here No longer.
另外,由于雷达采集到的点云数据有可能存在噪点,并且由于噪点的干扰,还会进一步影响障碍物判定结果的准确性。因此,还可以对障碍物的判定结果进行校验。In addition, the point cloud data collected by the radar may have noise, and the interference of the noise will further affect the accuracy of the obstacle determination result. Therefore, the judgment result of the obstacle can also be verified.
S304,根据点云数据以及可移动平台的运动速度,对运行环境中是否存在障碍物进行校验,若校验结果表明存在障碍物,则执行步骤305,否则执行执行步骤306。In S304, according to the point cloud data and the movement speed of the movable platform, check whether there is an obstacle in the operating environment. If the check result shows that there is an obstacle, perform step 305; otherwise, perform step 306.
S305,控制可移动平台进行避障。S305: Control the movable platform to avoid obstacles.
S306,控制可移动平台沿当前运动方向运动。S306: Control the movable platform to move along the current direction of movement.
若校验结果表明可移动平台的运行环境内存在障碍物,则控制可移动平台会根据路径规划算法进行避障。若校验结果表明不存在障碍物,可以认为控制设备对障碍物出现了误检测。此时,控制设备会继续控制可移动平台以当前姿态,沿当前方向继续运动。If the verification result shows that there are obstacles in the operating environment of the movable platform, the control movable platform will avoid obstacles according to the path planning algorithm. If the verification result shows that there is no obstacle, it can be considered that the control device has misdetected the obstacle. At this time, the control device will continue to control the movable platform to continue to move in the current direction in the current posture.
对于障碍物判定结果的验证过程,可以采用以下的可选方式:For the verification process of obstacle judgment results, the following optional methods can be used:
可移动平台上的雷达可以绕轴旋转采集点云数据,可以认为雷达每旋转预设角度所需的时间就是一个采集周期,预设角度比如可以是360度、180度等等。当可移动平台在T1时刻处于运行状态I时,控制设备可以获取雷达在T0时刻~T1时刻内雷达采集到点云数据。其中,T0时刻~T1时刻对应于雷达第一数目个的采集周期。The radar on the movable platform can rotate around an axis to collect point cloud data. It can be considered that the time required for each rotation of the radar by a preset angle is a collection period, and the preset angle can be, for example, 360 degrees, 180 degrees, and so on. When the movable platform is in the operating state I at time T1, the control device can obtain the point cloud data collected by the radar from time T0 to time T1. Among them, time T0 to time T1 corresponds to the first number of acquisition cycles of the radar.
此时,控制设备可以依次根据每个采集周期内采集到的点云数据判定可移动平台的运行环境内是否存在障碍物,以及确定障碍物与可移动平台之间的距离。则控制设备可以得到第一数目个距离值,可以将此第一数目个距离值统称为第一距离值。由此第一距离值生成可移动平台在T0时刻~T1时刻内的第一航迹,此第一航迹可以认为一条真实航迹。At this time, the control device can determine whether there is an obstacle in the operating environment of the movable platform according to the point cloud data collected in each collection period, and determine the distance between the obstacle and the movable platform. Then the control device can obtain the first number of distance values, which can be collectively referred to as the first distance value. From this first distance value, the first trajectory of the movable platform from time T0 to time T1 is generated, and this first trajectory can be regarded as a true trajectory.
可选地,在确定可移动平台与障碍物的距离之前,还可以如图4所示实施例中描述的,还可以对在第一数目个采集周期内采集的点云数据进行筛选,并根据筛选后的点云数据确定障碍物与可移动平台之间的距离。Optionally, before determining the distance between the movable platform and the obstacle, as described in the embodiment shown in FIG. The filtered point cloud data determines the distance between the obstacle and the movable platform.
当可移动平台在T2时刻处于运行状态II时,控制设备可以获取雷达在T0时刻~T2时刻内雷达采集到点云数据。其中,T0时刻~T2时刻对应于雷达第二 数目个采集周期,且T2时刻早于T1时刻也即是第二数目小于第一数目。When the movable platform is in operating state II at time T2, the control device can obtain the point cloud data collected by the radar from time T0 to time T2. Among them, time T0 to time T2 corresponds to the second number of acquisition cycles of the radar, and time T2 is earlier than time T1, that is, the second number is less than the first number.
此时,控制设备可以依次根据每个采集周期内采集到的点云数据判定可移动平台的运行环境内是否存在障碍物,以及确定障碍物与可移动平台之间的距离,则控制设备可以得到第二数目个距离值。At this time, the control device can determine whether there are obstacles in the operating environment of the movable platform based on the point cloud data collected in each collection period, and determine the distance between the obstacle and the movable platform, and the control device can obtain The second number of distance values.
接着,第一数目与第二数目的差值为M,则控制设备可以根据可移动平台在T2时刻的运行速度,依次预测出在此M个采集周期内,可移动平台与障碍物之间的M个距离值,并由此M个距离值与上述的第二数目个距离值组成第一数目个距离,这两部分的距离值可以统称为第二距离值。由此第二距离值生成可移动平台在T0时刻~T1时刻内的第二航迹。虽然第一航迹与第二航迹都包含第一数目个距离值,但第二航迹中有M个距离值是预测值,因此,此第二航迹可以认为一条预测航迹。Then, the difference between the first number and the second number is M, then the control device can predict the distance between the movable platform and the obstacle in this M collection period according to the operating speed of the movable platform at time T2. M distance values, and the M distance values and the aforementioned second number of distance values form the first number of distances, and the distance values of these two parts can be collectively referred to as the second distance value. From this second distance value, the second trajectory of the movable platform from time T0 to time T1 is generated. Although both the first track and the second track contain the first number of distance values, M distance values in the second track are predicted values. Therefore, this second track can be regarded as a predicted track.
同样可选地,在确定可移动平台与障碍物的距离之前,还可以如图4所示实施例中描述的,还可以对第二数目个采集周期内采集的第一点云数据进行筛选,并根据筛选后的点云数据确定障碍物与可移动平台之间的距离。Also optionally, before determining the distance between the movable platform and the obstacle, as described in the embodiment shown in FIG. 4, the first point cloud data collected in the second number of collection periods can also be filtered. And determine the distance between the obstacle and the movable platform according to the filtered point cloud data.
[根据细则91更正 04.03.2021] 
进一步的,在得到两条航迹后,可以确定二者之间的相似度。若相似度符合预设范围,则确定可移动平台的运行环境中存在障碍物。否则,则认为运行环境中不存在障碍物,此时,控制设备可以控制可移动平台继续以当前姿态,沿当前运动方向运动。并且由于此时已经无需根据航迹进行避障路径的规划。因此,控制设备还可以删除上述的第一航迹和第二航迹。
[Corrected according to Rule 91 04.03.2021]
Furthermore, after the two tracks are obtained, the similarity between the two can be determined. If the similarity meets the preset range, it is determined that there are obstacles in the operating environment of the movable platform. Otherwise, it is considered that there are no obstacles in the operating environment. At this time, the control device can control the movable platform to continue to move in the current motion direction in the current posture. And because there is no need to plan the obstacle avoidance path based on the trajectory at this time. Therefore, the control device can also delete the above-mentioned first track and second track.
对于上述的校验过程,还可以通过具体举例说明:For the above verification process, specific examples can also be used to illustrate:
假设,可移动平台的运行速度为1m/s,雷达的采集周期为1秒,且第一数目为5,第二数目为3。Assume that the moving speed of the movable platform is 1m/s, the radar acquisition period is 1 second, and the first number is 5 and the second number is 3.
基于上述假设,一种情况,控制设备可以根据雷达分别在第1秒~第5秒采集到的点云数据依次确定出可移动平台与前方障碍物之间的距离为10米、9米、8米、7米、6米。此时,控制设备可以根据上述的五个实际的距离值绘制出的第一航迹,如图6a所示。Based on the above assumptions, in one case, the control device can determine the distances between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar in the 1st to 5th seconds respectively. Meters, 7 meters, 6 meters. At this time, the control device can draw the first track based on the above five actual distance values, as shown in Fig. 6a.
控制设备还可以分别根据第1~3秒雷达采集到的点云数据,依次确定出可移动平台与前方障碍物之间的距离为10米,9米,8米。同时控制设备还可以根据可移动平台的运行速度,预测出在第4秒以及第5秒时,可移动平台与障碍物之间的距离为7米和6米。此时,控制设备可以根据上述的三个实际的距 离值以及两个预测的距离值绘制出的第二航迹可以如图6b所示。此时,第一航迹和第二航迹完全重合,可移动平台与障碍物之间的实际距离值与预测距离值相同,二条航迹的相似度符合预设范围表明可移动平台前方的障碍物是真实存在的。The control device can also respectively determine the distances between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar in the first to third seconds. At the same time, the control device can also predict that the distance between the movable platform and the obstacle is 7 meters and 6 meters in the 4th and 5th seconds according to the operating speed of the movable platform. At this time, the second trajectory drawn by the control device based on the above three actual distance values and the two predicted distance values can be as shown in Figure 6b. At this time, the first track and the second track are completely coincident, the actual distance between the movable platform and the obstacle is the same as the predicted distance, and the similarity of the two tracks meets the preset range, indicating the obstacle in front of the movable platform Things are real.
另一种情况,控制设备根据在第1秒~第5秒依次采集到的点云数据,确定出可移动平台与前方障碍物之间的距离为10米,9米,8米,6米,2米。由这5个实际距离值即第一距离值可以得到第一航迹如图6c所示。In another case, the control device determines that the distance between the movable platform and the obstacle in front is 10 meters, 9 meters, 8 meters, and 6 meters based on the point cloud data sequentially collected from the first second to the fifth second. 2 meters. From these 5 actual distance values, that is, the first distance value, the first track can be obtained as shown in Fig. 6c.
控制设备还可以分别根据第1秒~第3秒雷达采集到的点云数据,依次确定出可移动平台与前方障碍物之间的距离为10米,9米,8米。同时控制设备可以根据可移动平台的运行速度,预测出在第4秒以及第5秒时,可移动平台与障碍物之间的距离为6米和5米。可以由三个实际距离值以及两个预测距离值绘制出的第二航迹可以如图6b所示。此时,第一航迹和第二航迹之间的相似度不符合预设范围,表明可移动平台出现对障碍物的误判。The control device can also determine the distance between the movable platform and the obstacle in front as 10 meters, 9 meters, and 8 meters based on the point cloud data collected by the radar from the first second to the third second respectively. At the same time, the control device can predict the distance between the movable platform and the obstacle to be 6 meters and 5 meters in the 4th and 5th seconds according to the operating speed of the movable platform. The second trajectory that can be drawn from the three actual distance values and the two predicted distance values can be as shown in Figure 6b. At this time, the similarity between the first trajectory and the second trajectory does not meet the preset range, indicating that the movable platform has misjudged the obstacle.
本实施例中,控制设备可以对可移动平台运行环境中是否存在障碍物进行判定。由于判定结果会直接影响可移动平台的运行姿态。因此,为了保证可移动平台的正常运行,还可以对障碍物的判定结果进行校验,并根据校验结果确定可移动平台进一步调整可移动平台的运行姿态,使得可移动平台不会出现因障碍物判定错误而导致的运行失误,甚至是损毁。In this embodiment, the control device can determine whether there are obstacles in the operating environment of the movable platform. Because the judgment result will directly affect the running posture of the movable platform. Therefore, in order to ensure the normal operation of the movable platform, the judgment result of the obstacle can also be verified, and the movable platform can be determined according to the verification result to further adjust the operating posture of the movable platform, so that the movable platform will not appear due to obstacles. Operational errors or even damage caused by incorrect determination of objects.
图7为本发明实施例提供的一种控制装置的结构示意图;参考附图7所示,本实施例提供了一种控制装置,该控制装置可以执行上述的避障方法;具体的,控制置包括:FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention; referring to FIG. 7, this embodiment provides a control device that can execute the above obstacle avoidance method; specifically, the control device include:
控制模块11,用于控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据。The control module 11 is used to control the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located.
确定模块12,用于根据所述点云数据确定所述运行环境中是否存在障碍物。The determining module 12 is configured to determine whether there is an obstacle in the operating environment according to the point cloud data.
所述控制模块11,还用于若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。The control module 11 is also used to control the movable platform to avoid obstacles if there are obstacles in the operating environment.
图7所示装置还可以执行图1~图6c所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6c所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6c所示实施例中的描述,在此不再赘述。The device shown in FIG. 7 can also execute the method of the embodiment shown in FIG. 1 to FIG. 6c. For parts that are not described in detail in this embodiment, please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
图8为本发明实施例提供的一种可移动平台的结构示意图;参考附图8所示,本发明实施例的提供了一种可移动平台,该可移动平台为以下至少之一:无人飞行器、自动驾驶车辆、无人轮船、具有移动功能的智能机器人等。具体的,该可移动平台包括:机体21、动力系统22、雷达23以及控制装置24。FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention; referring to FIG. 8, an embodiment of the present invention provides a movable platform, and the movable platform is at least one of the following: Aircraft, self-driving vehicles, unmanned ships, intelligent robots with mobile functions, etc. Specifically, the movable platform includes: a body 21, a power system 22, a radar 23, and a control device 24.
所述动力系统22,设置于所述机21体上,用于为所述可移动平台提供动力。The power system 22 is arranged on the body of the machine 21 and used to provide power for the movable platform.
所述雷达23,设置于所述机体21上,用于采集点云数据。The radar 23 is arranged on the body 21 for collecting point cloud data.
所述控制装置24包括存储器241和处理器242。The control device 24 includes a memory 241 and a processor 242.
所述存储器241,用于存储计算机程序;The memory 241 is used to store computer programs;
处理器242,用于运行所述存储器中存储的计算机程序以实现:The processor 242 is configured to run a computer program stored in the memory to implement:
控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的所述点云数据;Controlling the rotation of the radar configured on the movable platform to obtain the omnidirectional point cloud data in the operating environment where the movable platform is located;
根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
进一步的,处理器242还用于:控制所述雷达旋转,以依次得到所述可移动平台至少一个方位分别对应的点云数据,所述至少一个方位包括如下任一种:前、后、左、右。Further, the processor 242 is further configured to: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation includes any of the following: front, rear, left ,right.
进一步的,处理器242还用于:从所述点云数据中筛选对应于所述可移动平台安全运动范围的目标点云数据;Further, the processor 242 is further configured to: filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
对所述目标点云数据进行聚类处理,以得到至少一个簇;Performing clustering processing on the target point cloud data to obtain at least one cluster;
若目标簇中包含的点云数据的数量大于或等于预设数量,则确定所述运行环境中存在障碍物,所述目标簇是所述至少一个簇中的任一个。If the number of point cloud data included in the target cluster is greater than or equal to the preset number, it is determined that there is an obstacle in the operating environment, and the target cluster is any one of the at least one cluster.
进一步的,处理器242还用于:根据所述目标簇中的点云数据确定所述障碍物的尺寸信息;Further, the processor 242 is further configured to: determine the size information of the obstacle according to the point cloud data in the target cluster;
根据所述障碍物的尺寸信息控制所述可移动平台进行避障。The movable platform is controlled to avoid obstacles according to the size information of the obstacle.
进一步的,所述根据所述点云数据确定所述运行环境中是否存在障碍物之前,处理器242还用于:将所述点云数据的三维坐标由球坐标系转换到所述可移动平台的机体坐标系下;Further, before determining whether there is an obstacle in the operating environment according to the point cloud data, the processor 242 is further configured to: convert the three-dimensional coordinates of the point cloud data from a spherical coordinate system to the movable platform In the body coordinate system;
将所述三维坐标由所述机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定所述运行环境中是否存在障碍物。The three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
进一步的,所述控制所述可移动平台进行避障之前,处理器242还用于:根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是否存在障碍物进行校验。Further, before controlling the movable platform to avoid obstacles, the processor 242 is further configured to: check whether there are obstacles in the operating environment according to the point cloud data and the movement speed of the movable platform. Test.
进一步的,处理器242还用于:根据所述雷达在第一数目的采集周期采集到的点云数据,确定在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第一距离值;Further, the processor 242 is further configured to: according to the point cloud data collected by the radar in the first number of collection periods, determine that the obstacle is different from the movable platform in the first number of collection periods. The first distance value between;
根据所述可移动平台的运动速度以及所述雷达在第二数目的采集周期采集到的点云数据,预测在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第二距离值,所述第一数目大于所述第二数目;According to the moving speed of the movable platform and the point cloud data collected by the radar in the second number of acquisition periods, it is predicted that the obstacle will be different from the movable platform in the first number of acquisition periods. A second distance value between the two, the first number is greater than the second number;
根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验。Check whether there is an obstacle in the operating environment according to the first distance value and the second distance value.
进一步的,处理器242还用于:根据所述第一距离值生成第一航迹;Further, the processor 242 is further configured to: generate a first track according to the first distance value;
根据所述第二距离值生成第二航迹;Generating a second track according to the second distance value;
若所述第一航迹和所述第二航迹之间的相似度符合预设范围,则确定所述运行环境中存在障碍物。If the similarity between the first track and the second track meets a preset range, it is determined that there is an obstacle in the operating environment.
进一步的,处理器242还用于:若所述第一航迹和所述第二航迹之间的相似度不符合预设范围,则确定所述运行环境中不存在障碍物;Further, the processor 242 is further configured to: if the similarity between the first trajectory and the second trajectory does not meet a preset range, determine that there is no obstacle in the operating environment;
删除所述第一航迹和所述第二航迹;Delete the first track and the second track;
控制所述可移动平台沿当前运动方向运动。Control the movable platform to move along the current direction of movement.
进一步的,所述雷达23为毫米波雷达。Further, the radar 23 is a millimeter wave radar.
进一步的,所述雷达23的旋转轴平行于所述可移动平台的航向轴。Further, the rotation axis of the radar 23 is parallel to the yaw axis of the movable platform.
进一步的,所述雷达23能够绕旋转轴连续旋转360度,并在连续旋转过程中采集点云数据。Further, the radar 23 can continuously rotate 360 degrees around the rotation axis, and collect point cloud data during the continuous rotation.
进一步的,所述雷达23能够绕旋转轴间断性旋转,所述雷达在旋转到预设角度时停留预设时间,并在所述预设时间内采集点云数据。Further, the radar 23 can intermittently rotate around the rotation axis, the radar stays for a preset time when rotating to a preset angle, and collects point cloud data within the preset time.
图8所示的可移动平台可以执行图1~图6c所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6c所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6c所示实施例中的描述,在此不再赘述。The movable platform shown in FIG. 8 can execute the method of the embodiment shown in FIG. 1 to FIG. 6c. For parts that are not described in detail in this embodiment, please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
在一个可能的设计中,图9所示控制设备的结构可实现为一电子设备,该电子设备可以是可移动平台中配置的控制器或者远程服务器等等。如图9所示, 该电子设备可以包括:一个或多个处理器31和一个或多个存储器32。其中,存储器32用于存储支持电子设备执行上述图1~图6c所示实施例中提供的避障方法的程序。处理器31被配置为用于执行存储器32中存储的程序。In a possible design, the structure of the control device shown in FIG. 9 can be implemented as an electronic device, which can be a controller or a remote server configured in a movable platform. As shown in FIG. 9, the electronic device may include: one or more processors 31 and one or more memories 32. Wherein, the memory 32 is used to store a program that supports the electronic device to execute the obstacle avoidance method provided in the embodiments shown in FIGS. 1 to 6c. The processor 31 is configured to execute a program stored in the memory 32.
具体的,程序包括一条或多条计算机指令,其中,一条或多条计算机指令被处理器31执行时能够实现如下步骤:Specifically, the program includes one or more computer instructions, and the following steps can be implemented when one or more computer instructions are executed by the processor 31:
控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据;Controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located;
根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
其中,该控制设备的结构中还可以包括通信接口33,用于电子设备与其他设备或通信网络通信。Wherein, the structure of the control device may also include a communication interface 33 for the electronic device to communicate with other devices or a communication network.
进一步的,处理器31可以用于执行:控制所述雷达旋转,以依次得到所述可移动平台至少一个方位分别对应的点云数据,所述至少一个方位包括如下任一种:前、后、左、右。Further, the processor 31 may be configured to execute: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation includes any of the following: front, rear, about.
其中,所述可移动平台包括无人飞行器、自动驾驶车辆、具有移动功能的智能机器人中的任一种。所述雷达为毫米波雷达,所述雷达的旋转轴平行于所述可移动平台的航向轴。所述雷达能够绕旋转轴连续旋转360度,并在连续旋转过程中采集点云数据,或者所述雷达能够绕旋转轴间断性旋转,所述雷达在旋转到预设角度时停留预设时间,并在所述预设时间内采集点云数据。Wherein, the movable platform includes any one of unmanned aerial vehicles, autonomous vehicles, and intelligent robots with mobile functions. The radar is a millimeter wave radar, and the rotation axis of the radar is parallel to the heading axis of the movable platform. The radar can continuously rotate 360 degrees around the rotation axis and collect point cloud data during the continuous rotation, or the radar can intermittently rotate around the rotation axis, and the radar stays for a preset time when rotated to a preset angle, And collect point cloud data within the preset time.
进一步的,处理器31可以用于执行:从所述点云数据中筛选对应于所述可移动平台安全运动范围的目标点云数据;Further, the processor 31 may be configured to perform: screening the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
对所述目标点云数据进行聚类处理,以得到至少一个簇;Performing clustering processing on the target point cloud data to obtain at least one cluster;
若目标簇中包含的点云数据的数量大于或等于预设数量,则确定所述运行环境中存在障碍物,所述目标簇是所述至少一个簇中的任一个。If the number of point cloud data included in the target cluster is greater than or equal to the preset number, it is determined that there is an obstacle in the operating environment, and the target cluster is any one of the at least one cluster.
进一步的,处理器31可以用于执行:根据所述目标簇中的点云数据确定所述障碍物的尺寸信息;Further, the processor 31 may be configured to execute: determine the size information of the obstacle according to the point cloud data in the target cluster;
根据所述障碍物的尺寸信息控制所述可移动平台进行避障。The movable platform is controlled to avoid obstacles according to the size information of the obstacle.
进一步的,处理器31可以用于执行:将所述点云数据的三维坐标由球坐标系转换到所述可移动平台的机体坐标系下;Further, the processor 31 may be configured to execute: transform the three-dimensional coordinates of the point cloud data from the spherical coordinate system to the body coordinate system of the movable platform;
将所述三维坐标由所述机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定所述运行环境中是否存在障碍物。The three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
进一步的,处理器31可以用于执行:根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是否存在障碍物进行校验。Further, the processor 31 may be configured to execute: check whether there is an obstacle in the operating environment according to the point cloud data and the movement speed of the movable platform.
进一步的,处理器31可以用于执行:根据所述雷达在第一数目的采集周期采集到的点云数据,确定在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第一距离值;Further, the processor 31 may be configured to execute: according to the point cloud data collected by the radar in a first number of collection periods, determine that the obstacle is different from the movable object in the first number of collection periods. The first distance value between the platforms;
根据所述可移动平台的运动速度以及所述雷达在第二数目的采集周期采集到的点云数据,预测在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第二距离值,所述第一数目大于所述第二数目;According to the moving speed of the movable platform and the point cloud data collected by the radar in the second number of acquisition periods, it is predicted that the obstacle will be different from the movable platform in the first number of acquisition periods. A second distance value between the two, the first number is greater than the second number;
根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验。Check whether there is an obstacle in the operating environment according to the first distance value and the second distance value.
进一步的,处理器31可以用于执行:根据所述第一距离值生成第一航迹;Further, the processor 31 may be configured to execute: generate a first track according to the first distance value;
根据所述第二距离值生成第二航迹;Generating a second track according to the second distance value;
若所述第一航迹和所述第二航迹之间的相似度符合预设范围,则确定所述运行环境中存在障碍物。If the similarity between the first track and the second track meets a preset range, it is determined that there is an obstacle in the operating environment.
进一步的,处理器31可以用于执行:若所述第一航迹和所述第二航迹之间的相似度不符合预设范围,则确定所述运行环境中不存在障碍物;Further, the processor 31 may be configured to execute: if the similarity between the first trajectory and the second trajectory does not meet a preset range, determine that there is no obstacle in the operating environment;
删除所述第一航迹和所述第二航迹;Delete the first track and the second track;
控制所述可移动平台沿当前运动方向运动。Control the movable platform to move along the current direction of movement.
图9所示设备可以执行图1~图6c所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6c所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6c所示实施例中的描述,在此不再赘述。The device shown in FIG. 9 can execute the method of the embodiment shown in FIG. 1 to FIG. 6c. For parts that are not described in detail in this embodiment, please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6c. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6c, which will not be repeated here.
另外,本发明实施例提供了一种计算机可读存储介质,存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图1~图6c的避障方法。In addition, an embodiment of the present invention provides a computer-readable storage medium. The storage medium is a computer-readable storage medium. The computer-readable storage medium stores program instructions. Barrier method.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention. Scope.

Claims (38)

  1. 一种避障方法,其特征在于,应用于可移动平台,所述方法包括:An obstacle avoidance method, characterized in that it is applied to a movable platform, and the method includes:
    控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据;Controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located;
    根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
    若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
  2. 根据权利要求1所述的方法,其特征在于,所述控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据,包括:The method according to claim 1, wherein the controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment of the movable platform comprises:
    控制所述雷达旋转,以依次得到所述可移动平台至少一个方位分别对应的点云数据,所述至少一个方位包括如下任一种:前、后、左、右。The rotation of the radar is controlled to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation includes any one of the following: front, back, left, and right.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述点云数据确定所述运行环境中是否存在障碍物,包括:The method according to claim 1, wherein the determining whether there is an obstacle in the operating environment according to the point cloud data comprises:
    从所述点云数据中筛选对应于所述可移动平台安全运动范围的目标点云数据;Screening the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
    对所述目标点云数据进行聚类处理,以得到至少一个簇;Performing clustering processing on the target point cloud data to obtain at least one cluster;
    若目标簇中包含的点云数据的数量大于或等于预设数量,则确定所述运行环境中存在障碍物,所述目标簇是所述至少一个簇中的任一个。If the number of point cloud data included in the target cluster is greater than or equal to the preset number, it is determined that there is an obstacle in the operating environment, and the target cluster is any one of the at least one cluster.
  4. 根据权利要求3所述的方法,其特征在于,所述控制所述可移动平台进行避障,包括:The method according to claim 3, wherein the controlling the movable platform to avoid obstacles comprises:
    根据所述目标簇中的点云数据确定所述障碍物的尺寸信息;Determining the size information of the obstacle according to the point cloud data in the target cluster;
    根据所述障碍物的尺寸信息控制所述可移动平台进行避障。The movable platform is controlled to avoid obstacles according to the size information of the obstacle.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述点云数据确定所述运行环境中是否存在障碍物之前,还包括:The method according to claim 1, wherein before determining whether there is an obstacle in the operating environment according to the point cloud data, the method further comprises:
    将所述点云数据的三维坐标由球坐标系转换到所述可移动平台的机体坐标系下;Transforming the three-dimensional coordinates of the point cloud data from the spherical coordinate system to the body coordinate system of the movable platform;
    将所述三维坐标由所述机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定所述运行环境中是否存在障碍物。The three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
  6. 根据权利要求1所述的方法,其特征在于,所述控制所述可移动平台进行避障之前,所述方法还包括:The method according to claim 1, wherein before said controlling said movable platform to avoid obstacles, said method further comprises:
    根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是 否存在障碍物进行校验。According to the point cloud data and the moving speed of the movable platform, it is checked whether there are obstacles in the operating environment.
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是否存在障碍物进行校验,包括:The method according to claim 6, wherein the checking whether there is an obstacle in the operating environment according to the point cloud data and the movement speed of the movable platform comprises:
    根据所述雷达在第一数目的采集周期采集到的点云数据,确定在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第一距离值;Determine, according to the point cloud data collected by the radar in the first number of collection periods, a first distance value between the obstacles and the movable platform in the first number of collection periods;
    根据所述可移动平台的运动速度以及所述雷达在第二数目的采集周期采集到的点云数据,预测在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第二距离值,所述第一数目大于所述第二数目;According to the moving speed of the movable platform and the point cloud data collected by the radar in the second number of acquisition periods, it is predicted that the obstacle will be different from the movable platform in the first number of acquisition periods. A second distance value between the two, the first number is greater than the second number;
    根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验。Check whether there is an obstacle in the operating environment according to the first distance value and the second distance value.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验,包括:The method according to claim 7, wherein the checking whether there is an obstacle in the operating environment according to the first distance value and the second distance value comprises:
    根据所述第一距离值生成第一航迹;Generating a first track according to the first distance value;
    根据所述第二距离值生成第二航迹;Generating a second track according to the second distance value;
    若所述第一航迹和所述第二航迹之间的相似度符合预设范围,则确定所述运行环境中存在障碍物。If the similarity between the first track and the second track meets a preset range, it is determined that there is an obstacle in the operating environment.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    若所述第一航迹和所述第二航迹之间的相似度不符合预设范围,则确定所述运行环境中不存在障碍物;If the similarity between the first trajectory and the second trajectory does not meet the preset range, it is determined that there is no obstacle in the operating environment;
    删除所述第一航迹和所述第二航迹;Delete the first track and the second track;
    控制所述可移动平台沿当前运动方向运动。Control the movable platform to move along the current direction of movement.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述可移动平台包括无人飞行器、自动驾驶车辆、具有移动功能的智能机器人中的任意一种。The method according to any one of claims 1 to 9, wherein the movable platform includes any one of an unmanned aerial vehicle, an autonomous driving vehicle, and an intelligent robot with a mobile function.
  11. 根据权利要求1至9中任一项所述的方法,其特征在于,所述雷达为毫米波雷达。The method according to any one of claims 1 to 9, wherein the radar is a millimeter wave radar.
  12. 根据权利要求1至9中任一项所述的方法,其特征在于,所述雷达的旋转轴平行于所述可移动平台的航向轴。The method according to any one of claims 1 to 9, wherein the rotation axis of the radar is parallel to the yaw axis of the movable platform.
  13. 根据权利要求1至9中任一项所述的方法,其特征在于,所述雷达能够绕旋转轴连续旋转360度,并在连续旋转过程中采集点云数据。The method according to any one of claims 1 to 9, wherein the radar can continuously rotate 360 degrees around a rotation axis, and collect point cloud data during the continuous rotation.
  14. 根据权利要求1至9中任一项所述的方法,其特征在于,所述雷达能够绕旋转轴间断性旋转,所述雷达在旋转到预设角度时停留预设时间,并在所述预设时间内采集点云数据。The method according to any one of claims 1 to 9, wherein the radar is capable of intermittently rotating around a rotation axis, and the radar stays for a preset time when rotating to a preset angle, and stops at the preset angle. Set point cloud data to be collected within time.
  15. 一种可移动平台,其特征在于,所述平台包括:机体、动力系统、雷达以及控制装置;A movable platform, characterized in that the platform includes: a body, a power system, a radar, and a control device;
    所述动力系统,设置于所述机体上,用于为所述可移动平台提供动力;The power system is arranged on the body and used to provide power for the movable platform;
    所述雷达,设置于所述机体上,用于采集点云数据;The radar is arranged on the body and is used to collect point cloud data;
    所述控制装置包括存储器和处理器;The control device includes a memory and a processor;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
    控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的所述点云数据;Controlling the rotation of the radar configured on the movable platform to obtain the omnidirectional point cloud data in the operating environment where the movable platform is located;
    根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
    若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
  16. 根据权利要求15所述的可移动平台,其特征在于,所述处理器还用于:控制所述雷达旋转,以依次得到所述可移动平台至少一个方位分别对应的点云数据,所述至少一个方位包括如下任一种:前、后、左、右。The movable platform according to claim 15, wherein the processor is further configured to: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least An orientation includes any of the following: front, back, left, and right.
  17. 根据权利要求15所述的可移动平台,其特征在于,所述处理器还用于:从所述点云数据中筛选对应于所述可移动平台安全运动范围的目标点云数据;对所述目标点云数据进行聚类处理,以得到至少一个簇;The movable platform according to claim 15, wherein the processor is further configured to: filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data; Clustering the target point cloud data to obtain at least one cluster;
    若目标簇中包含的点云数据的数量大于或等于预设数量,则确定所述运行环境中存在障碍物,所述目标簇是所述至少一个簇中的任一个。If the number of point cloud data included in the target cluster is greater than or equal to the preset number, it is determined that there is an obstacle in the operating environment, and the target cluster is any one of the at least one cluster.
  18. 根据权利要求17所述的可移动平台,其特征在于,所述处理器还用于:根据所述目标簇中的点云数据确定所述障碍物的尺寸信息;The mobile platform according to claim 17, wherein the processor is further configured to: determine the size information of the obstacle according to the point cloud data in the target cluster;
    根据所述障碍物的尺寸信息控制所述可移动平台进行避障。The movable platform is controlled to avoid obstacles according to the size information of the obstacle.
  19. 根据权利要求15所述的可移动平台,其特征在于,所述处理器还用于:将所述点云数据的三维坐标由球坐标系转换到所述可移动平台的机体坐标系下;The movable platform according to claim 15, wherein the processor is further configured to: transform the three-dimensional coordinates of the point cloud data from a spherical coordinate system to the body coordinate system of the movable platform;
    将所述三维坐标由所述机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定所述运行环境中是否存在障碍物。The three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
  20. 根据权利要求15所述的可移动平台,其特征在于,所述处理器还用 于:根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是否存在障碍物进行校验。The movable platform according to claim 15, wherein the processor is further configured to calibrate whether there are obstacles in the operating environment according to the point cloud data and the movement speed of the movable platform. Test.
  21. 根据权利要求21所述的可移动平台,其特征在于,所述处理器还用于:根据所述雷达在第一数目的采集周期采集到的点云数据,确定在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第一距离值;The movable platform according to claim 21, wherein the processor is further configured to: determine the point cloud data collected by the radar in the first number of collection periods A first distance value between the obstacles and the movable platform in a period;
    根据所述可移动平台的运动速度以及所述雷达在第二数目的采集周期采集到的点云数据,预测在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第二距离值,所述第一数目大于所述第二数目;According to the moving speed of the movable platform and the point cloud data collected by the radar in the second number of acquisition periods, it is predicted that the obstacle will be different from the movable platform in the first number of acquisition periods. A second distance value between the two, the first number is greater than the second number;
    根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验。Check whether there is an obstacle in the operating environment according to the first distance value and the second distance value.
  22. 根据权利要求21所述的可移动平台,其特征在于,所述处理器还用于:根据所述第一距离值生成第一航迹;The mobile platform according to claim 21, wherein the processor is further configured to: generate a first track according to the first distance value;
    根据所述第二距离值生成第二航迹;Generating a second track according to the second distance value;
    若所述第一航迹和所述第二航迹之间的相似度符合预设范围,则确定所述运行环境中存在障碍物。If the similarity between the first track and the second track meets a preset range, it is determined that there is an obstacle in the operating environment.
  23. 根据权利要求22所述的可移动平台,其特征在于,所述处理器还用于:若所述第一航迹和所述第二航迹之间的相似度不符合预设范围,则确定所述运行环境中不存在障碍物;The mobile platform according to claim 22, wherein the processor is further configured to: determine if the similarity between the first track and the second track does not meet a preset range There are no obstacles in the operating environment;
    删除所述第一航迹和所述第二航迹;Delete the first track and the second track;
    控制所述可移动平台沿当前运动方向运动。Control the movable platform to move along the current direction of movement.
  24. 根据权利要求15至23中任一项所述的可移动平台,其特征在于,所述可移动平台包括无人飞行器、自动驾驶车辆、具有移动功能的智能机器人中的任一种。The movable platform according to any one of claims 15 to 23, wherein the movable platform includes any one of an unmanned aerial vehicle, an autonomous driving vehicle, and an intelligent robot with a mobile function.
  25. 根据权利要求15至23中任一项所述的可移动平台,其特征在于,所述雷达为毫米波雷达。The movable platform according to any one of claims 15 to 23, wherein the radar is a millimeter wave radar.
  26. 根据权利要求15至23中任一项所述的可移动平台,其特征在于,所述雷达的旋转轴平行于所述可移动平台的航向轴。The movable platform according to any one of claims 15 to 23, wherein the rotation axis of the radar is parallel to the yaw axis of the movable platform.
  27. 根据权利要求15至23中任一项所述的可移动平台,其特征在于,所述雷达能够绕旋转轴连续旋转360度,并在连续旋转过程中采集点云数据。The movable platform according to any one of claims 15 to 23, wherein the radar can continuously rotate 360 degrees around a rotation axis, and collect point cloud data during the continuous rotation.
  28. 根据权利要求15至23中任一项所述的可移动平台,其特征在于,所述雷达能够绕旋转轴间断性旋转,所述雷达在旋转到预设角度时停留预设时 间,并在所述预设时间内采集点云数据。The movable platform according to any one of claims 15 to 23, wherein the radar is capable of intermittently rotating around a rotation axis, and the radar stays for a preset time when rotating to a preset angle, and stays there The point cloud data is collected within the preset time.
  29. 一种控制设备,其特征在于,所述避障设备包括:A control device, characterized in that the obstacle avoidance device includes:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
    控制所述可移动平台配置的雷达旋转,以得到所述可移动平台所处运行环境内全方位的点云数据;Controlling the rotation of the radar configured on the movable platform to obtain omnidirectional point cloud data in the operating environment where the movable platform is located;
    根据所述点云数据确定所述运行环境中是否存在障碍物;Determine whether there are obstacles in the operating environment according to the point cloud data;
    若所述运行环境中存在障碍物,则控制所述可移动平台进行避障。If there are obstacles in the operating environment, the movable platform is controlled to avoid obstacles.
  30. 根据权利要求29所述的设备,其特征在于,所述处理器还用于:控制所述雷达旋转,以依次得到所述可移动平台至少一个方位分别对应的点云数据,所述至少一个方位包括如下任一种:前、后、左、右;The device according to claim 29, wherein the processor is further configured to: control the rotation of the radar to sequentially obtain point cloud data corresponding to at least one orientation of the movable platform, and the at least one orientation Including any of the following: front, back, left, right;
    其中,所述可移动平台包括无人飞行器、自动驾驶车辆、具有移动功能的智能机器人中的任一种;所述所述雷达为毫米波雷达;所述雷达的旋转轴平行于所述可移动平台的航向轴,所述雷达能够绕旋转轴连续旋转360度,并在连续旋转过程中采集点云数据;或者所述雷达能够绕旋转轴间断性旋转,所述雷达在旋转到预设角度时停留预设时间,并在所述预设时间内采集点云数据。Wherein, the movable platform includes any one of unmanned aerial vehicles, autonomous vehicles, and intelligent robots with mobile functions; the radar is a millimeter wave radar; the rotation axis of the radar is parallel to the movable The heading axis of the platform, the radar can continuously rotate 360 degrees around the rotation axis and collect point cloud data during the continuous rotation; or the radar can intermittently rotate around the rotation axis, and the radar can rotate to a preset angle Stay for a preset time, and collect point cloud data within the preset time.
  31. 根据权利要求29所述的设备,其特征在于,所述处理器还用于:从所述点云数据中筛选对应于所述可移动平台安全运动范围的目标点云数据;The device according to claim 29, wherein the processor is further configured to: filter the target point cloud data corresponding to the safe movement range of the movable platform from the point cloud data;
    对所述目标点云数据进行聚类处理,以得到至少一个簇;Performing clustering processing on the target point cloud data to obtain at least one cluster;
    若目标簇中包含的点云数据的数量大于或等于预设数量,则确定所述运行环境中存在障碍物,所述目标簇是所述至少一个簇中的任一个。If the number of point cloud data included in the target cluster is greater than or equal to the preset number, it is determined that there is an obstacle in the operating environment, and the target cluster is any one of the at least one cluster.
  32. 根据权利要求31所述的设备,其特征在于,所述处理器还用于:根据所述目标簇中的点云数据确定所述障碍物的尺寸信息;The device according to claim 31, wherein the processor is further configured to: determine the size information of the obstacle according to the point cloud data in the target cluster;
    根据所述障碍物的尺寸信息控制所述可移动平台进行避障。The movable platform is controlled to avoid obstacles according to the size information of the obstacle.
  33. 根据权利要求29所述的设备,其特征在于,所述处理器还用于:将所述点云数据的三维坐标由球坐标系转换到所述可移动平台的机体坐标系下;The device according to claim 29, wherein the processor is further configured to: transform the three-dimensional coordinates of the point cloud data from a spherical coordinate system to the body coordinate system of the movable platform;
    将所述三维坐标由所述机体坐标系转换到惯性坐标系下,以根据转换后的点云数据确定所述运行环境中是否存在障碍物。The three-dimensional coordinates are converted from the body coordinate system to the inertial coordinate system to determine whether there is an obstacle in the operating environment according to the converted point cloud data.
  34. 根据权利要求29所述的设备,其特征在于,所述处理器还用于:根据所述点云数据以及所述可移动平台的运动速度对所述运行环境中是否存在 障碍物进行校验。The device according to claim 29, wherein the processor is further configured to check whether there is an obstacle in the operating environment according to the point cloud data and the movement speed of the movable platform.
  35. 根据权利要求34所述的设备,其特征在于,所述处理器还用于:根据所述雷达在第一数目的采集周期采集到的点云数据,确定在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第一距离值;The device according to claim 34, wherein the processor is further configured to: determine that within the first number of collection periods according to the point cloud data collected by the radar in the first number of collection periods A first distance value between the obstacle and the movable platform;
    根据所述可移动平台的运动速度以及所述雷达在第二数目的采集周期采集到的点云数据,预测在所述第一数目的采集周期内所述障碍物分别与所述可移动平台之间的第二距离值,所述第一数目大于所述第二数目;According to the moving speed of the movable platform and the point cloud data collected by the radar in the second number of acquisition periods, it is predicted that the obstacle will be different from the movable platform in the first number of acquisition periods. A second distance value between the two, the first number is greater than the second number;
    根据所述第一距离值和所述第二距离值对所述运行环境中是否存在障碍物进行校验。Check whether there is an obstacle in the operating environment according to the first distance value and the second distance value.
  36. 根据权利要求35所述的设备,其特征在于,所述处理器还用于:根据所述第一距离值生成第一航迹;The device according to claim 35, wherein the processor is further configured to: generate a first track according to the first distance value;
    根据所述第二距离值生成第二航迹;Generating a second track according to the second distance value;
    若所述第一航迹和所述第二航迹之间的相似度符合预设范围,则确定所述运行环境中存在障碍物。If the similarity between the first track and the second track meets a preset range, it is determined that there is an obstacle in the operating environment.
  37. 根据权利要求36所述的设备,其特征在于,所述处理器还用于:若所述第一航迹和所述第二航迹之间的相似度不符合预设范围,则确定所述运行环境中不存在障碍物;The device according to claim 36, wherein the processor is further configured to: if the similarity between the first trajectory and the second trajectory does not meet a preset range, determine the There are no obstacles in the operating environment;
    删除所述第一航迹和所述第二航迹;Delete the first track and the second track;
    控制所述可移动平台沿当前运动方向运动。Control the movable platform to move along the current direction of movement.
  38. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求1至14中任一项所述的避障方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium in which program instructions are stored, and the program instructions are used to implement any one of claims 1 to 14 The obstacle avoidance method described in item.
PCT/CN2020/087239 2020-04-27 2020-04-27 Obstacle avoidance method, moveable platform, control device, and storage medium WO2021217341A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/087239 WO2021217341A1 (en) 2020-04-27 2020-04-27 Obstacle avoidance method, moveable platform, control device, and storage medium
CN202080004381.4A CN112753000A (en) 2020-04-27 2020-04-27 Obstacle avoidance method, movable platform, control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087239 WO2021217341A1 (en) 2020-04-27 2020-04-27 Obstacle avoidance method, moveable platform, control device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021217341A1 true WO2021217341A1 (en) 2021-11-04

Family

ID=75651214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087239 WO2021217341A1 (en) 2020-04-27 2020-04-27 Obstacle avoidance method, moveable platform, control device, and storage medium

Country Status (2)

Country Link
CN (1) CN112753000A (en)
WO (1) WO2021217341A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114217603A (en) * 2021-11-05 2022-03-22 大连海事大学 Safety optimization control system for formation of multiple unmanned ships

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114550476A (en) * 2021-11-30 2022-05-27 深圳元戎启行科技有限公司 Data processing method, vehicle management platform and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2533123A1 (en) * 2011-06-09 2012-12-12 Eurocopter Deutschland GmbH Navigation system for an aircraft and method of operating such a navigation system
CN107064955A (en) * 2017-04-19 2017-08-18 北京汽车集团有限公司 barrier clustering method and device
CN108256577A (en) * 2018-01-18 2018-07-06 东南大学 A kind of barrier clustering method based on multi-line laser radar
CN108334103A (en) * 2017-12-21 2018-07-27 广州亿航智能技术有限公司 Unmanned plane multiple spurs is from barrier-avoiding method and obstacle avoidance system
CN109633685A (en) * 2018-11-22 2019-04-16 浙江中车电车有限公司 A kind of method and system based on laser radar obstruction detection state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2533123A1 (en) * 2011-06-09 2012-12-12 Eurocopter Deutschland GmbH Navigation system for an aircraft and method of operating such a navigation system
CN107064955A (en) * 2017-04-19 2017-08-18 北京汽车集团有限公司 barrier clustering method and device
CN108334103A (en) * 2017-12-21 2018-07-27 广州亿航智能技术有限公司 Unmanned plane multiple spurs is from barrier-avoiding method and obstacle avoidance system
CN108256577A (en) * 2018-01-18 2018-07-06 东南大学 A kind of barrier clustering method based on multi-line laser radar
CN109633685A (en) * 2018-11-22 2019-04-16 浙江中车电车有限公司 A kind of method and system based on laser radar obstruction detection state

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114217603A (en) * 2021-11-05 2022-03-22 大连海事大学 Safety optimization control system for formation of multiple unmanned ships
CN114217603B (en) * 2021-11-05 2024-04-30 大连海事大学 Multi-unmanned ship formation safety optimization control system

Also Published As

Publication number Publication date
CN112753000A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
EP3629119B1 (en) Method of generating a collision free path of travel and computing system
Schmid et al. Autonomous vision‐based micro air vehicle for indoor and outdoor navigation
Zhao et al. A robust real-time vision system for autonomous cargo transfer by an unmanned helicopter
CN110930495A (en) Multi-unmanned aerial vehicle cooperation-based ICP point cloud map fusion method, system, device and storage medium
Qi et al. Autonomous landing solution of low-cost quadrotor on a moving platform
JP7044061B2 (en) Mobiles, mobile control systems, mobile control methods, interface devices, and programs
WO2019127029A1 (en) Obstacle avoidance method and device and aircraft
WO2021217341A1 (en) Obstacle avoidance method, moveable platform, control device, and storage medium
Park et al. Stereo vision based obstacle collision avoidance for a quadrotor using ellipsoidal bounding box and hierarchical clustering
Eynard et al. Real time UAV altitude, attitude and motion estimation from hybrid stereovision
CN110561420B (en) Arm profile constraint flexible robot track planning method and device
JP2022027593A (en) Positioning method and device for movable equipment, and movable equipment
Kim Control laws to avoid collision with three dimensional obstacles using sensors
Zhou et al. Vision-based online localization and trajectory smoothing for fixed-wing UAV tracking a moving target
CN112419403A (en) Indoor unmanned aerial vehicle positioning method based on two-dimensional code array
Ivancsits et al. Visual navigation system for small unmanned aerial vehicles
Dufek et al. Visual pose stabilization of tethered small unmanned aerial system to assist drowning victim recovery
de Vargas et al. Patrolling strategy for multiple UAVs with recharging stations in unknown environments
CN113093759A (en) Robot formation construction method and system based on multi-sensor information fusion
Zahran et al. Enhancement of real-time scan matching for uav indoor navigation using vehicle model
CN111580530A (en) Positioning method, positioning device, autonomous mobile equipment and medium
CN116149371A (en) Multi-moving body three-dimensional tracking and controlling platform based on visual sensor network
WO2022227632A1 (en) Image-based trajectory planning method and motion control method, and mobile machine using same
Zhang et al. A visual slam system with laser assisted optimization
Wang et al. Agv navigation based on apriltags2 auxiliary positioning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933782

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20933782

Country of ref document: EP

Kind code of ref document: A1