A method for creating an obstacle map based on cloud computing
Through the obstacle map creation method based on cloud computing, combined with multi-sensor information and NDT registration algorithm, the problem of low computing efficiency of intelligent vehicles and difficulty in obstacle classification is solved, and high-precision positioning and accurate identification of dynamic and static obstacles are achieved. , reduces cost and complexity, and meets the needs of real-time perception and obstacle avoidance.
Patent Information
- Application Number
- CN202110882841.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-08-02
AI Technical Summary
Existing smart vehicles suffer from low computational efficiency, poor real-time perception, and high manufacturing and maintenance costs due to the increased number of sensors. Moreover, obstacle maps fail to effectively classify and process obstacles in dynamic environments.
Adopting a cloud computing-based obstacle map creation method, by receiving and parsing vehicle terminal data, integrating multi-sensor information for high-precision positioning, using NDT registration algorithm and target reduction processing algorithm for obstacle detection and identification, and generating real-time updated dynamic and Static obstacle map.
It improves the computing efficiency and perception effect of intelligent vehicles, reduces computational complexity and cost, achieves centimeter-level positioning accuracy and accurate identification of dynamic and static obstacles, and meets the needs of real-time obstacle avoidance strategies.
Smart Images

Figure CN113688880B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent control, and in particular relates to a method for creating an obstacle map based on cloud computing. Background Art
[0002] In recent years, it has become a consensus to use sensors to obtain environmental information, analyze environmental risks and design vehicle control strategies to improve the active safety of vehicles. However, due to the continuous increase in the number of sensors, the amount of perception data continues to surge, and it is difficult to continue to expand the capacity of on-board computing units, resulting in existing intelligent vehicles with low computing efficiency, poor real-time perception, and high manufacturing and maintenance costs.
[0003] The Chinese invention patent application "Method and system for creating an obstacle map, robot and readable storage medium" (application number: CN201910760602.X, publication date: 2021-02-23) discloses a method for creating an obstacle map. The invention forms an obstacle map by marking a grid map of the robot's walking and working area. Although the map can reflect part of the obstacle environment in which the robot is located, it still has the following problems: (1) Since the map is loaded in the robot, and the robot itself has the problem of limited computing power due to the inability to continuously expand the hardware, when faced with the problem of a surge in the number of obstacles caused by the expansion of the driving range, it is difficult for the robot to quickly and in real time process the current environmental information; (2) The obstacle map does not classify obstacles. For smart devices such as smart vehicles traveling on structured roads, an excessive number of obstacles will reduce the proportion of obstacles that affect vehicle safety, increase the computational complexity, and affect driving safety; (3) The obstacle map only mentions how to increase the number of marked obstacles, but does not consider that the environment is dynamically changing. Summary of the invention
[0004] The object of the present invention is to provide a method for creating an obstacle map based on cloud computing.
[0005] The technical solution to achieve the purpose of the present invention is: a method for creating an obstacle map based on cloud computing, the main steps of which include:
[0006] S1, data processing: receiving and parsing data packets from vehicle terminals, and storing data according to sensor categories for use in building obstacle maps;
[0007] S2, high-precision positioning: Fusing multi-sensor information, using the NDT registration algorithm, registering the current registration point cloud with the pre-stored point cloud map to achieve positioning;
[0008] S3, obstacle detection: According to the results of high-precision positioning, the target reduction processing algorithm based on judgment analysis is used to filter the non-road obstacle information, and the clustering detection algorithm is used to complete the obstacle detection;
[0009] S4, obstacle identification: According to the results of obstacle detection, the target recognition and tracking algorithm is used to identify dynamic and static obstacles and store them by category;
[0010] S5. Generate obstacle map: Design the obstacle map interface, classify and display dynamic and static obstacles, and update the location and movement information of obstacles in real time.
[0011] Furthermore, the data processing specifically includes the following steps:
[0012] S11, receiving a data packet from a vehicle terminal;
[0013] S12, parsing the received data packets and storing them in a database for pre-processing;
[0014] S13, extracting data of GPS, inertial navigation sensor, laser radar and driving status of the vehicle and storing them by category.
[0015] Furthermore, the high-precision positioning specifically includes the following steps:
[0016] S21, time synchronization processing of GPS, inertial navigation sensor and lidar data;
[0017] S22, loading the point cloud map stored in the cloud, and gridding the point cloud map to calculate the probability density function of each grid;
[0018] S23, loading the registration point cloud at the current moment, and taking maximizing the registration score as the optimization goal, realizing NDT registration of the registration point cloud and the point cloud map;
[0019] S24, obtaining the aligned point cloud after registration.
[0020] Furthermore, the obstacle detection specifically includes the following steps:
[0021] S31, performing ground segmentation on the aligned point cloud, filtering ground point cloud information irrelevant to obstacle detection;
[0022] S32, performing target reduction processing on the aligned point cloud to filter non-road obstacle information;
[0023] S33, filtering the aligned point cloud data near the vehicle body to prevent the false point cloud information from being generated due to radar reflection;
[0024] S34, downsampling the aligned point cloud to reduce computational complexity;
[0025] S35, using the Euclidean clustering algorithm to process the aligned point cloud to obtain obstacle point cloud clusters;
[0026] S36. Using the box model to process the obstacle point cloud cluster, it is convenient for obstacle identification.
[0027] Furthermore, the obstacle identification specifically includes the following steps:
[0028] S41, taking the frame model as an object, using a model difference function that integrates the shape parameters and position information of the model to calculate the difference between the frame models of the current frame and the previous frame, and considering the two frame models with the smallest difference as the same obstacle;
[0029] S42, obtaining the position of the same obstacle in two adjacent frames and the motion state of the ego vehicle, and calculating the motion state of the obstacle relative to the ego vehicle in the vehicle coordinate system, including relative speed, acceleration and distance;
[0030] S43, comparing the calculated relative speed, acceleration, and distance with a preset obstacle classification threshold, classifying the obstacles into static obstacles and dynamic obstacles according to the results, and storing corresponding motion state information;
[0031] S44, using the tracking controller to track the dynamic obstacle, output and store the position and speed of the current frame.
[0032] Furthermore, the generating of the obstacle map specifically comprises the following steps:
[0033] S51, taking the ego vehicle as the center, subscribing to the aligned point cloud containing the box model, and cropping it to a preset size, and establishing an obstacle map display interface;
[0034] S52, marking the frame model being tracked in red and the frame model of the static obstacle in yellow;
[0035] S53, storing and updating the position information and motion information of the frame model on the right side of the interface in real time, for the selection of obstacle avoidance strategies and for facilitating remote monitoring.
[0036] Further, step S31 performs ground segmentation on the aligned point cloud, filtering the ground point cloud information irrelevant to obstacle detection. The ground segmentation is to determine whether the laser point belongs to the ground point cloud according to whether the slopes of the two points before and after the same ray meet the set threshold. The specific steps include:
[0037] S311, traverse all rays and all laser detection points on the rays to determine the position of the corresponding laser detection point;
[0038] S312, sorting out the point cloud relationship near the same ray according to the radius of the laser detection point;
[0039] S313. Ground recognition is achieved by determining whether the height difference between the previous and next points meets the height threshold. That is, if the height of the current point is not within the height range calculated based on the height of the previous point, and the previous point is a ground point, then the current point is a ground point; if the height of the current point is within the height range, and the distance between the previous and next points is greater than the distance threshold between the two adjacent points, then the current point is a ground point; if none of the above conditions are met, then the point is not a ground point.
[0040] Furthermore, step S32 performs target reduction processing on the aligned point cloud and filters the non-road obstacle information. The specific steps include:
[0041] S321, performing spatial division on the aligned point cloud, wherein the distance threshold required for the spatial division is determined by the coordinates of the laser detection point;
[0042] S322. Calculate the data volume of the point cloud map in the space according to the spatial division result of the laser detection point, and determine whether the laser detection point belongs to a non-road obstacle point cloud by judging whether the data volume exceeds a preset data volume threshold. The data volume threshold is determined by the distance between the laser detection point and the vehicle.
[0043] Furthermore, the non-road obstacle information in step S32 refers to point cloud information of obstacles that have little impact on road driving safety.
[0044] Furthermore, non-road obstacles include trees, buildings or urban infrastructure construction.
[0045] Compared with the prior art, the present invention has the following significant advantages:
[0046] (1) Good real-time performance: The present invention combines cloud computing with a target reduction processing algorithm, and utilizes the characteristic of cloud computing to allocate computing resources on demand, processes point cloud information online in real time and filters point clouds of non-road obstacles. It reduces the complexity of point cloud information on the basis of improving computing power, greatly improves the computing efficiency of the control system, and meets the real-time requirements of the intelligent vehicle control system.
[0047] (2) High precision: The present invention adopts the NDT registration and positioning algorithm to obtain the current position and posture of the vehicle by matching the currently scanned registration point cloud with the point cloud map preset in the system. This method has centimeter-level positioning accuracy and realizes high-precision positioning.
[0048] (3) Better detection effect: The method of using the target reduction processing algorithm to filter out non-road obstacles not only improves the effectiveness of the detected obstacles, but also reduces the complexity of the detection system, providing better perception effects for the vehicle. In addition, the identification of dynamic and static obstacles provides conditions for the formulation of subsequent obstacle avoidance strategies.
[0049] (4) Low cost: The present invention moves the computing and storage units to the cloud computing platform, greatly reducing the computing cost of the smart car itself. The use of the cloud computing platform also reduces the cost of users running and maintaining data storage and other functions. If the user needs to expand the number of vehicles used, the use of functional modules only requires the addition of a corresponding number of network interfaces, and the system is highly reusable.
[0050] (5) Broad application prospects: The cloud computing-based obstacle map creation method proposed in the present invention meets the needs of outdoor long-distance operations. It can realize multiple functions by simply adding multiple sensors and corresponding software services, and has very broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 Schematic diagram of the overall framework for creating cloud-based obstacle maps.
[0052] Figure 2 Schematic diagram for ground identification.
[0053] Figure 3 Schematic diagram of the analysis process of target reduction processing; Figure (a) is a schematic diagram of the distribution of the aligned point cloud, and Figure (b) is a schematic diagram of the target reduction range.
[0054] Figure 4 Schematic diagram of the computing process of the cloud computing platform. DETAILED DESCRIPTION
[0055] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0056] This embodiment introduces in detail the components of creating an obstacle map based on cloud computing, namely data processing and establishing an obstacle map. The data processing refers to receiving and parsing data packets, and classifying and storing various types of sensor data; the obstacle map establishment includes high-precision positioning, obstacle detection, obstacle identification, and generating an obstacle map, such as Figure 1 shown.
[0057] The data processing first receives the data packet uploaded by the vehicle to the cloud and contains environmental perception information and vehicle driving status information, then parses the data packet and stores the parsed data in the central database. The information in the central database needs to be classified according to the source and the functions involved to reduce data complexity. Specifically, it is divided into data from GPS sensors, inertial navigation sensors and lidar for high-precision positioning, and speed, acceleration and position data for obstacle identification.
[0058] The purpose of high-precision positioning is to answer questions about the location and environment of the smart car. The present invention adopts the NDT registration algorithm to obtain the position and posture state of the vehicle at the current moment by registering the registration point cloud at the current moment and the stored point cloud map, thereby achieving centimeter-level positioning. The stored point cloud map is a map containing the point cloud features of the driving environment of the smart car, which is usually stored in the database of the server for easy access at any time. The realization of high-precision positioning is conducive to improving the driving accuracy of the vehicle during the tracking process.
[0059] Obstacle detection is used to quickly and accurately obtain the obstacle frame model. This process takes the registration point cloud that has achieved high-precision positioning as the object and aims to improve the obstacle detection speed. First, the ground segmentation algorithm is used to identify and filter the ground, and then the target reduction processing algorithm based on judgment analysis is used to detect and filter the non-road factor obstacle point cloud information in the registration point cloud. In order to avoid the false point cloud information generated by radar reflection interfering with the detection results, the present invention filters the aligned point cloud data near the vehicle body, and uses a downsampling processing algorithm to reduce the point cloud data involved in the Euclidean clustering algorithm to improve the calculation efficiency. Then, the clustering algorithm is used to process the aligned point cloud to obtain the point cloud cluster of the road factor obstacle, and finally the frame model is used to process the point cloud cluster.
[0060] The ground segmentation algorithm is an algorithm that determines whether a detection point is a ground point by calculating the slope of the two points before and after the same ray and comparing it with a preset slope threshold. The algorithm first determines the position of the laser detection point by traversing all rays and all laser detection points on the rays, then sorts out the point cloud relationship near the same ray according to the radius of the laser detection point, and realizes ground recognition by judging whether the height difference between the two points before and after meets the height threshold, and finally filters the identified ground point cloud through a filtering algorithm. Figure 2 It shows the judgment process of ground recognition, and the distances between point1-point5 and the vehicle are from near to far. Ground segmentation is to judge the objects object1, object2 and the ground through the height of the point and the distance between the two points. If point3 is the current point and point2 is the previous point, point3 is a ground point. If point4 is the current point and point3 is the previous point, point4 is not a ground point. Similarly, point1, point2 are ground points, and point5 is not a ground point.
[0061] The target reduction processing algorithm will determine whether the aligned point cloud contains non-road obstacle information based on the matching degree between the aligned point cloud and the point cloud map, and divide the aligned point cloud into non-road obstacle information and road obstacle information, and finally filter the former to reduce the complexity of the obstacle recognition process. The matching degree between the aligned point cloud and the point cloud map is calculated by calculating the data volume of the point cloud map in the space with the aligned point cloud as the base point and the preset space division distance threshold (Δx, Δy, Δz), and judging whether the point belongs to non-road obstacle information by comparing the data volume with the preset data volume threshold. Figure 3 Indicates the process of target reduction processing. (a) shows the distribution of the selected alignment points, where P1 and P3 belong to the same ray scanning result, and P2 and P3 differ by 0.26°. (b) P3 is selected as the research object, and the detection range of target reduction processing is calculated according to the distance threshold formula: Δx, Δy, Δz. The calculated target reduction range is shown in the border of (b). If there is a target point cloud in the detection range, such as some map points in the box and the number is greater than p, then point P3 is a non-road obstacle point, otherwise it is a road obstacle point.
[0062] Obstacle recognition first takes the frame model as the object, and uses the model difference function constructed by integrating the shape parameters and position information of the model as a means to determine whether they are the same obstacle by calculating the difference between two adjacent frame models. Then, the relative motion state of the vehicle and the obstacle to be identified is calculated, and the motion state of the obstacle to be identified is distinguished by comparing the relative speed, acceleration, distance and the preset obstacle classification threshold. Finally, the tracking controller is used to track the identified dynamic obstacle, obtain the actual motion state of the obstacle and feedback it.
[0063] The purpose of generating an obstacle map is to facilitate users to judge the relative motion state between the vehicle and the obstacle, and to take human intervention to ensure their own safety when necessary. To meet the above purpose, the size of the obstacle map will crop the aligned point cloud containing the frame model with the vehicle as the center, and design an obstacle map display interface. To distinguish the types of obstacles, the present invention marks the frame model being tracked in red and the frame model of the static obstacle in yellow. In order to facilitate the formulation of obstacle avoidance strategies, the present invention also stores the position information and motion information of the frame model and updates it in real time on the obstacle map display interface.
[0064] Specifically, the creation of the obstacle map based on cloud computing in this embodiment mainly depends on the application services deployed in the cloud computing platform, such as Figure 4As shown. The cloud computing platform is mainly used to upload and store massive data from sensors in real time. It can also be used to establish an obstacle map function to retrieve the required data at any time for obstacle detection and identification. The platform also has the characteristics of load balancing and elastic scaling, so it has powerful real-time computing capabilities. Massive data from sensors are stored in standard data sets and are constantly updated for selection by obstacle map function. Cloud computing capabilities are composed of computer technologies such as distributed computing, load balancing, and parallel computing. In the present invention, cloud computing capabilities are combined with the use of virtual servers. According to the amount of data involved in the processing, the computing units involved in the calculation are dynamically increased to achieve the effect of load balancing, providing the best computing power for establishing the obstacle map function.
[0065] The embodiment of the present invention transfers the computing unit from the vehicle-mounted end to the cloud, and establishes an obstacle map for filtering non-road obstacles based on high-precision positioning. This not only solves the problem that the vehicle-mounted computing unit is difficult to expand infinitely and improves computing efficiency, but also reduces the complexity of the recognition process while improving detection accuracy, thereby improving the accuracy of obstacle recognition. It can also reduce the manufacturing cost of the vehicle end and the operation and maintenance cost of the computing unit, which is conducive to the research of multi-vehicle collaborative control technology.
Claims
1. A method for creating an obstacle map based on cloud computing, characterized in that: The main steps include: S1, data processing: receiving and parsing data packets from vehicle terminals, and storing data according to sensor categories for use in building obstacle maps; S2, high-precision positioning: Fusing multi-sensor information, using the NDT registration algorithm, registering the current registration point cloud with the pre-stored point cloud map to achieve positioning; S21, time synchronization processing of GPS, inertial navigation sensor and lidar data; S22, loading the point cloud map stored in the cloud, and gridding the point cloud map to calculate the probability density function of each grid; S23, loading the registration point cloud at the current moment, and taking maximizing the registration score as the optimization goal, realizing NDT registration of the registration point cloud and the point cloud map; S24, obtaining the aligned point cloud after registration; S3, obstacle detection: According to the results of high-precision positioning, the target reduction processing algorithm based on judgment analysis is used to filter the non-road obstacle information, and the clustering detection algorithm is used to complete the obstacle detection; S31, performing ground segmentation on the aligned point cloud, filtering ground point cloud information irrelevant to obstacle detection; S32, performing target reduction processing on the aligned point cloud to filter non-road obstacle information; S33, filtering the aligned point cloud data near the vehicle body to prevent the false point cloud information from being generated due to radar reflection; S34, downsampling the aligned point cloud to reduce computational complexity; S35, using the Euclidean clustering algorithm to process the aligned point cloud to obtain obstacle point cloud clusters; S36. Use the box model to process obstacle point cloud clusters to facilitate obstacle identification S4, obstacle identification: According to the results of obstacle detection, the target recognition and tracking algorithm is used to identify dynamic and static obstacles and store them by category; S5. Generate obstacle map: Design the obstacle map interface, classify and display dynamic and static obstacles, and update the location and movement information of obstacles in real time.
2. The method according to claim 1, characterized in that The data processing specifically includes the following steps: S11, receiving a data packet from a vehicle terminal; S12, parsing the received data packets and storing them in a database for pre-processing; S13, extracting data of GPS, inertial navigation sensor, laser radar and driving status of the vehicle and storing them by category.
3. The method according to claim 2, characterized in that The obstacle identification specifically includes the following steps: S41, taking the frame model as an object, using a model difference function that integrates the shape parameters and position information of the model to calculate the difference between the frame models of the current frame and the previous frame, and considering the two frame models with the smallest difference as the same obstacle; S42, obtaining the position of the same obstacle in two adjacent frames and the motion state of the ego vehicle, and calculating the motion state of the obstacle relative to the ego vehicle in the vehicle coordinate system, including relative speed, acceleration and distance; S43, comparing the calculated relative speed, acceleration, and distance with a preset obstacle classification threshold, classifying the obstacles into static obstacles and dynamic obstacles according to the results, and storing corresponding motion state information; S44, using the tracking controller to track the dynamic obstacle, output and store the position and speed of the current frame.
4. The method according to claim 3, characterized in that The generation of the obstacle map specifically comprises the following steps: S51, taking the ego vehicle as the center, subscribing to the aligned point cloud containing the box model, and cropping it to a preset size, and establishing an obstacle map display interface; S52, marking the frame model being tracked in red and the frame model of the static obstacle in yellow; S53, storing and updating the position information and motion information of the frame model on the right side of the interface in real time, for the selection of obstacle avoidance strategies and for facilitating remote monitoring.
5. The method according to claim 1, characterized in that Step S31 performs ground segmentation on the aligned point cloud, filtering the ground point cloud information that is not related to obstacle detection. The ground segmentation is to determine whether the laser point belongs to the ground point cloud based on whether the slopes of the two points before and after the same ray meet the set threshold. The specific steps include: S311, traversing all rays and all laser detection points on the rays to determine the positions of the laser detection points; S312, sorting out the point cloud relationship near the same ray according to the radius of the laser detection point; S313. Ground recognition is achieved by determining whether the height difference between the previous and next points meets the height threshold. That is, if the height of the current point is not within the height range calculated based on the height of the previous point, and the previous point is a ground point, then the current point is a ground point; if the height of the current point is within the height range, and the distance between the previous and next points is greater than the distance threshold between the two adjacent points, then the current point is a ground point; if none of the above conditions are met, then the point is not a ground point.
6. The method according to claim 2, characterized in that Step S32 performs target reduction processing on the aligned point cloud and filters the non-road obstacle information. The specific steps include: S321, performing spatial division on the aligned point cloud, wherein the distance threshold required for the spatial division is determined by the coordinates of the laser detection point; S322. Calculate the data volume of the point cloud map in the space according to the spatial division result of the laser detection point, and determine whether the laser detection point belongs to a non-road obstacle point cloud by judging whether the data volume exceeds a preset data volume threshold. The data volume threshold is determined by the distance between the laser detection point and the vehicle.
7. The method according to claim 1, characterized in that The non-road obstacle information in step S32 refers to the point cloud information of obstacles that have little impact on road driving safety.
8. The method according to claim 7, characterized in that Non-road obstacles include trees, buildings or urban infrastructure construction.
