Obstacle detection method and device for assisting vehicle in driving
By using ultrasonic echo data and machine learning models to extract information related to echo intersections, the problem of insufficient accuracy of ultrasonic radar in complex scenes is solved, and accurate obstacle detection in the vehicle driving environment is achieved, which is suitable for complex roads and Parking scenarios reduce costs.
Patent Information
- Application Number
- PCT/CN2023/076710
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-09-19
AI Technical Summary
In the existing technology, obstacle detection based on ultrasonic radar has insufficient accuracy and robustness in complex scenes and cannot be applied to complex roads or parking scenes. Moreover, the low-cost ultrasonic radar data has low resolution and cannot support complex calculations.
By obtaining ultrasonic echo data during vehicle movement, extracting information associated with echo intersections, using a machine learning model (classification algorithm or regression algorithm) for feature data processing, and training the model to reduce the gap between obstacle detection information and actual information. gap to achieve more accurate obstacle detection.
It improves the accuracy and robustness of obstacle detection based on ultrasonic radar, can be applied to complex scenarios, reduces costs, and at the same time achieves auxiliary functions for vehicle route planning and obstacle avoidance.
Smart Images

Figure CN2023076710_19092024_PF_FP_ABST
Abstract
Description
Obstacle detection method and device for assisting vehicle driving Technical Field
[0001] Generally speaking, the present invention relates to obstacle detection, and more particularly, to a method and apparatus for obstacle detection to assist vehicle driving. Background Art
[0002] With the continuous advancement of technology, existing obstacle detection methods and devices applicable to vehicle driving can detect the presence of obstacles around the vehicle while driving and provide warnings to the driver to protect vehicle driving safety. Such methods and devices are widely used in related applications such as autonomous driving systems, automatic parking systems, and assisted driving systems.
[0003] Currently, obstacle detection is typically performed using cameras, lidar, millimeter-wave radar, and / or ultrasonic radar. Cameras offer strong visualization capabilities, but their imaging is significantly affected by weather and they cannot directly detect distance. Lidar offers high precision and better distance recognition, but is easily affected by light and thermal radiation. Millimeter-wave radar has strong anti-interference capabilities, but its detection range and accuracy are limited. Furthermore, cameras and lidar are expensive.
[0004] Ultrasonic waves have strong directionality, and ultrasonic radar ranging methods are simple and low-cost, offering significant advantages in short-range measurement. Consequently, ultrasonic radar is currently widely used in areas such as automated parking and parking assistance. However, due to the low resolution of the data captured by ultrasonic radar, existing technologies only support simple calculations and ranging functions based on specific rules, making them unsuitable for complex scenarios.
[0005] Summary of the Invention
[0006] It is desired to provide a method and device for obstacle detection to assist vehicle driving, which can be based on data captured by low-cost ultrasonic radar, have accuracy and robustness in obstacle detection, and can be applied to complex roads or parking scenarios to better plan routes and avoid obstacles during vehicle driving.
[0007] According to one aspect of the present invention, a method for obstacle detection for assisting vehicle driving is provided, comprising: obtaining ultrasonic echo data captured during vehicle movement; obtaining ultrasonic echo data captured during vehicle movement; obtaining information associated with echo intersections based on the ultrasonic echo data; providing at least part of the ultrasonic echo data and the information associated with the echo intersections as feature data to a machine learning model to obtain detection information of obstacles, wherein the machine learning model adopts at least one of a classification algorithm or a regression algorithm; and assisting vehicle driving based on the detection information of obstacles.
[0008] According to another aspect of the present invention, a method for training a machine learning model for obstacle detection is provided, comprising: obtaining ultrasonic echo data captured during vehicle movement; obtaining ultrasonic echo data captured during vehicle movement; obtaining information associated with echo intersections based on the ultrasonic echo data; providing at least part of the ultrasonic echo data and the information associated with the echo intersections as feature data to a machine learning model to obtain detection information of an obstacle, wherein the machine learning model adopts at least one of a classification algorithm or a regression algorithm; calculating a loss function based on the difference between the detection information of the obstacle and the actual information of the obstacle, and training the machine learning model by reducing the value of the loss function.
[0009] According to another aspect of the present invention, an obstacle detection system for assisting vehicle driving is provided, comprising: a memory; and a processor. The processor is coupled to the memory and configured to cause one or more units to execute any one of the methods according to various embodiments of the present invention.
[0010] According to yet another aspect of the present invention, a computer-readable medium is provided, which stores a computer program including instructions, which, when executed by a control unit, cause one or more units to perform the method according to any one of the various embodiments of the present invention.
[0011] According to yet another aspect of the present invention, a vehicle is provided, comprising one or more units for executing the method according to any one of the various embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Various embodiments of the claimed subject matter will now be described by way of example with reference to the accompanying drawings, in which the same reference numerals are used throughout the different drawings to designate the same or similar components.
[0013] FIG1 shows a schematic diagram 100 of a vehicle using ultrasonic radar to detect obstacles.
[0014] FIG2 shows a schematic diagram of a system 200 for performing obstacle detection using a machine learning model according to an embodiment of the present invention.
[0015] FIG3A shows a schematic diagram 300 of capturing ultrasonic echo data using an ultrasonic radar according to an embodiment of the present invention.
[0016] FIG3B shows a schematic diagram 301 of obtaining echo intersection points by using ultrasonic echo data according to an embodiment of the present invention.
[0017] FIG3C shows a schematic diagram 302 of obtaining deflection angle information of an echo intersection point by using ultrasonic echo data according to an embodiment of the present invention.
[0018] FIG. 4 shows a two-dimensional graph 400 according to an embodiment of the present invention.
[0019] FIG5 shows a flow chart of an obstacle detection method 500 for assisting vehicle driving according to an embodiment of the present invention.
[0020] FIG6 shows a block diagram of a device 600 that can be used for obstacle detection according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In the following description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present invention. However, one skilled in the relevant art will recognize that the present invention can be practiced without one or more of these specific details, or can be practiced using alternative methods, components, etc. In some instances, well-known structures and operations are not shown or described in detail to avoid unnecessarily obscuring the present invention.
[0022] It should be understood that the term "vehicle" or other similar terms used herein includes general motor vehicles, such as passenger cars (including sports utility vehicles, buses, trucks, etc.), various commercial vehicles, etc., and also includes hybrid vehicles, electric vehicles, etc. Furthermore, although in most of the embodiments described below, ultrasonic radars or sensors are shown as being installed on vehicles, those skilled in the art should understand that ultrasonic radars or sensors can be installed in any applicable location, including but not limited to roadside units, parking lot infrastructure, etc.
[0023] Ultrasonic radar is a radar sensor device that uses ultrasonic waves to measure distance. It emits ultrasonic waves using an ultrasonic transmitter and then receives the echo reflected by an obstacle using an ultrasonic receiver. The distance to the obstacle is calculated based on the time difference. Figure 1 shows a schematic diagram 100 of a vehicle using ultrasonic radar for obstacle detection. As shown in Figure 1, ultrasonic radar a, mounted on the right side of vehicle A, emits ultrasonic waves. When the ultrasonic waves are reflected by vehicle B and the echo is received by ultrasonic radar a, ultrasonic radar a or another processing unit in vehicle A can calculate the distance between vehicles A and B based on the time difference between the transmitted and received echoes. However, beyond distance, data captured by a single ultrasonic radar cannot provide additional information about an obstacle, such as its location.
[0024] Typically, obstacle detection can be performed by linking multiple ultrasonic radars to perform ranging. In one embodiment, the echo of the ultrasonic wave emitted by ultrasonic radar a is received not only by ultrasonic radar a but also by ultrasonic radars b and c on its two adjacent sides. This echo can be used to calculate the two-dimensional position of the obstacle and, based on this information, infer the shape of the obstacle according to rules known to those skilled in the art. In practical applications, the accuracy and robustness of obstacle detection based on ultrasonic data are difficult to guarantee, and existing rules are only applicable to simple scenarios and cannot cope with complex vehicle driving environments. Therefore, a new solution is needed to achieve accurate and robust obstacle detection based on data captured by ultrasonic radars.
[0025] Figure 2 shows a schematic diagram of a system 200 for performing obstacle detection using a machine learning model according to an embodiment of the present invention. In system 200, a machine learning model 208 processes input feature data 202, 204, and 208 using at least one of a classification algorithm 212 and a regression algorithm 214 to output obstacle detection information 210.
[0026] Classification algorithms 212 include, but are not limited to, Bayesian classification algorithms, decision tree classification algorithms, random forest classification algorithms, support vector machine classification algorithms, K-nearest neighbor classification algorithms, or any applicable classification algorithms, particularly classification algorithms suitable for performing multi-label classification tasks. Regression algorithms 214 include, but are not limited to, linear regression algorithms, support vector machine regression algorithms, decision tree regression algorithms, random forest regression algorithms, XGBoost regression algorithms, Gaussian regression algorithms, polynomial regression algorithms, or any applicable regression algorithms, particularly regression algorithms suitable for performing prediction box regression tasks.
[0027] The input feature data includes a series of data acquired during vehicle movement. In the embodiment shown in FIG2 , the feature data includes ultrasonic echo data 202 captured during vehicle movement, information 204 associated with echo intersections acquired based on the ultrasonic echo data, and optionally, data 206 regarding vehicle movement during vehicle movement. Details of this information will be described below.
[0028] FIG3A shows a schematic diagram 300 of capturing ultrasonic echo data using an ultrasonic radar according to an embodiment of the present invention. In one embodiment, as shown in FIG3A , an ultrasonic radar a mounted on the right front side of vehicle A emits ultrasonic waves outward, and ultrasonic radar a can monitor whether it receives echoes reflected by obstacles. Typically, ultrasonic signals are reflected by obstacles multiple times, thereby generating multiple echoes. In one embodiment, the quality of the echo signal after multiple reflections may be poor, so the ultrasonic radar a can only collect the intensity information and peak value information of the echo signals received for the first and second times. In other embodiments, a greater or fewer number of echo signals can be utilized based on the signal quality, which is not limited here.
[0029] Referring to the description of FIG1 , based on the received echo signal, the ultrasonic radar a or other processing units of vehicle A can calculate the echo distance and echo height based on the time difference between transmitting the ultrasonic wave and receiving the echo. As shown in FIG3A , the actual echo point is E1', but the actual echo point position cannot be determined based solely on the distance information obtained by the ultrasonic radar. In one embodiment of the present invention, the position of the echo point is determined based on the echo distance perpendicular to the direction of vehicle movement. As shown in FIG3A , the position of the echo point is determined to be E1 perpendicular to the direction of vehicle movement. In another embodiment, the position of the echo point can be determined based on the echo distance at other angles based on statistical information. In yet another embodiment, the position of the echo point can be determined based on the echo distance based on other general rules.
[0030] FIG3B shows a schematic diagram 301 of obtaining echo intersection points using ultrasonic echo data according to an embodiment of the present invention. In one embodiment, as shown in FIG3B , as vehicle A moves, the ultrasonic radar a mounted on the right front side of vehicle A continuously emits ultrasonic waves outward and continuously receives echo signals. Referring to the description of FIG3A , the actual echo point position cannot be determined based on a single echo alone. On this basis, it is considered that the intersection position of two echoes may be closer to the actual echo point position, and the shape of the obstacle can be more accurately outlined by multiple echo intersection points. FIG3B shows the various echo points E1-E6 determined based on the echo distance information, and the intersection point I of two echoes determined at least based on the echo distance information. 12 , I 23 , I 34 , I 45 , I 56 Although FIG. 3B shows six echoes, other numbers of echoes may be used in other embodiments and are not limited herein.
[0031] In addition, to simplify the schematic diagram, the echo intersection points in the embodiment shown in FIG3B are calculated based on two adjacent echoes. In another embodiment, all actual echo intersection points can be calculated, not just adjacent echoes. In yet another embodiment, a window size can be determined based on computing resources, and the echo intersection points generated by all echoes within this window size can be calculated. For example, the window size determined based on computing resources is 5, which means that the echo intersection points of each echo and its two adjacent echoes in the direction of vehicle travel are calculated.
[0032] FIG3C shows a schematic diagram 302 of obtaining deflection information of an echo intersection point using ultrasonic echo data according to an embodiment of the present invention. Referring to the description of FIG3B above, the echo intersection point I can be obtained based on the two echo signals captured at the vehicle positions x1 and x2. 12 In addition to the position and distance information of the echo intersection point, the deflection information of the echo intersection point also helps with obstacle detection. In vehicle-based obstacle detection, the obstacle is typically described in a two-dimensional plane by its two outer corner positions. Therefore, determining the deflection information of the echo intersection point helps determine the positional relationship between the vehicle and the obstacle, as well as the outer corner positions of the obstacle.
[0033] As shown in FIG3C , the echo intersection I 12 The deflection angle information can be determined as any one of 303-1 to 303-4, wherein, in one embodiment, x12 can be the midpoint of the two vehicle positions x1 and x2; in another embodiment of the present invention, x12 can also be the angle <x1-i12-x2>In one embodiment of the present invention, the echo intersection point I 12 The deflection angle is determined as I 12 In another embodiment of the present invention, the echo intersection I can be 12 The deflection angle is determined as 12 The deflection angle between the ray perpendicular to the line connecting x12 and the direction of vehicle movement is 303-3 or 303-4. In other embodiments, the deflection angle of the echo intersection point can be determined in any suitable manner. When the positional relationship between the vehicle and the obstacle changes, the deflection angle of the echo intersection point will also change. Taking deflection angle 303-4 as an example, as the vehicle approaches the obstacle, deflection angle 303-4 will gradually decrease; when the vehicle is traveling parallel to the obstacle, deflection angle 303-4 will approach zero; and as the vehicle approaches the obstacle, deflection angle 303-4 will gradually increase again.
[0034] Additionally, data related to vehicle movement can be obtained during vehicle movement, including but not limited to vehicle position information, vehicle angular velocity information, and vehicle distance information. In one embodiment, the data points related to vehicle movement correspond to ultrasonic echo data points captured during vehicle movement.
[0035] Based on the description made in conjunction with Figures 3A-3C, a series of data can be obtained during vehicle movement. This series of data can be provided as feature data to, for example, the machine learning model 208 shown in Figure 2 to output obstacle detection information 210 using at least one of a classification algorithm 212 or a regression algorithm 214.
[0036] Among these characteristic data, the ultrasonic echo data 202 may include, but is not limited to, echo point location information, echo distance information, echo height information, echo signal strength information, and echo signal peak information. In one embodiment of the present invention, one or more of the ultrasonic echo data 202 may be determined according to the method described in FIG3A.
[0037] The information 204 associated with the echo intersection may include, but is not limited to, position information of the echo intersection, distance information of the echo intersection, distance information of adjacent echo intersections, position information of adjacent echo intersections, and deflection information of the echo intersection. In one embodiment of the present invention, one or more items of the information 204 associated with the echo intersection may be determined according to the method described in Figures 3B-3C.
[0038] The data 206 about vehicle movement may include, but is not limited to, vehicle position information, vehicle angular velocity information, and vehicle movement distance information.
[0039] It should be understood that the above data described in detail in conjunction with Figures 3A-3C can be detected by corresponding units (eg, ultrasonic radar, ultrasonic sensor, steering wheel angle sensor, speed sensor, etc.), and various parameters can be used in any combination.
[0040] In addition, the above data can also be preprocessed, which can include various calculations and processing operations performed on the above data, and the data generated by the preprocessing is input into the machine learning model 208 as feature data.
[0041] In one embodiment of the present invention, a downsampling algorithm can be used to preprocess the ultrasound echo data 202. To address the imbalance in the classification of the raw ultrasound echo data, a portion of the data can be selected from the majority set and recombined with the minority set to form a new data set. This approach is called downsampling. For example, commonly used downsampling algorithms include, but are not limited to, random downsampling, EasyEnsemble, BalanceCascade, or NearMiss.
[0042] In another embodiment of the present invention, an upsampling algorithm can be used to preprocess the ultrasound echo data 202. To address the imbalance in the classification of the raw ultrasound echo data, the data in the minority set can be amplified to the same amount as the data in the majority set. This approach is called upsampling. Commonly used upsampling algorithms include, but are not limited to, interpolation, transposed convolution, and up-pooling.
[0043] In another embodiment of the present invention, rasterization can be used to preprocess the ultrasonic echo data 202 and the information 204 associated with the echo intersections. Rasterization of the data helps integrate high-dimensional feature data, making it easier to input into a machine learning model for processing. For example, rasterization can be performed on the ultrasonic echo data 202 and the information 204 associated with the echo intersections based at least in part on the echo point location information and the echo intersection location information included in the ultrasonic echo data 202 and the information 204 associated with the echo intersections. To ensure accuracy and efficiency of the calculation, a compromise should be made between the granularity and sparsity of the grid. In one embodiment, the grid size can be fixed, for example, 3 cm. In another embodiment, the grid size can be flexibly adjusted based on a predetermined threshold condition, for example, when computing resources are sufficient, the grid size is 1 cm, and when computing resources are limited, the grid size is 5 cm.
[0044] In a further embodiment of the present invention, an aggregation algorithm may be used to process the rasterized ultrasound echo data 202 and the information 204 associated with the echo intersections. For example, commonly used aggregation algorithms include, but are not limited to, maximum pooling, minimum pooling, average pooling, overlapping pooling, pyramid pooling, and bilinear pooling. Aggregation processing can remove redundant information and further integrate feature data, thereby reducing the number of parameters and preventing overfitting.
[0045] In a further embodiment of the present invention, a two-dimensional graph can be generated based at least on the aggregated ultrasonic echo data 202 and the information 204 associated with the echo intersections, and feature data can be provided to a machine learning model in the form of a two-dimensional graph. FIG4 illustrates a two-dimensional graph 400 according to one embodiment of the present invention, wherein square points represent ultrasonic echo data 202, triangular points represent information 204 associated with the echo intersections, and circular points represent data 206 regarding vehicle movement. It should be understood that the data at each point in the two-dimensional graph is essentially a multidimensional array, including, for example, the content described above in conjunction with FIG2 and FIG3A-FIG3C.
[0046] In a further embodiment of the present invention, a sparse matrix may be generated based on at least the aggregated ultrasonic echo data 202 and the information 204 associated with the echo intersections, and feature data may be provided to the machine learning model in the form of a sparse matrix. It should be understood that the data in a sparse matrix is essentially a multidimensional tensor. For example, the data in a single grid may have the following array form: [X coordinate, Y coordinate, echo distance, echo height, echo signal strength, ..., echo intersection distance, ..., vehicle angular velocity, ...]. If a corresponding data item does not exist in the current grid, the item is set to zero.
[0047] The machine learning model 208 is obtained through training. The training process is based on multiple samples, each sample including the above-mentioned ultrasonic echo data and information associated with the echo intersection obtained based on the ultrasonic echo data. In addition, each sample may also include data about vehicle movement. In addition, the sample data also includes the actual information of the corresponding obstacle as a label. In one embodiment, the label can have the following array form: [obstacle outer corner 1 coordinates, obstacle outer corner 2 coordinates, obstacle height, obstacle type], and when there are multiple obstacles in a spatial area, there are multiple corresponding labels. The obstacle detection information generated by the machine model 208 should meet certain accuracy requirements, that is, the deviation between the obstacle detection information and the actual information of the obstacle is less than a threshold. In one embodiment of the present invention, multiple sample data (such as ultrasonic echo data 202, information associated with echo intersections 204, and optional data about vehicle movement 206) are input into a machine learning model 208 to be trained, and a loss function is calculated based on the obstacle detection information 210 output by the machine learning model 208 and the actual information of the obstacle. The machine learning model 208 is trained by reducing the value of the loss function until the value of the loss function converges.
[0048] In one embodiment of the present invention, when feature data is provided to a machine learning model in the form of a two-dimensional graph, it can be processed using a machine learning model applicable to images, including but not limited to: a convolutional neural network (CNN) model, a regional convolutional neural network (R-CNN) model, or a YOLO model. In another embodiment of the present invention, when feature data is provided to a machine learning model in the form of a sparse matrix, it can be processed using a machine learning model applicable to sparse matrices, including but not limited to: a multi-layer perception model, a spiking neural network (SNN) model, a sparse convolutional neural network model, or a Transformer neural network model.
[0049] The machine learning model 208 shown in Figure 2 can output obstacle detection information 210. The obstacle detection task generally includes two parts: identifying the obstacle and locating the obstacle. In one embodiment of the present invention, the identification of the obstacle can be achieved by a classification algorithm 212. In another embodiment of the present invention, the location of the obstacle can be achieved by a regression algorithm 214. In one embodiment of the present invention, the classification algorithm 212 and the regression algorithm 214 are executed in parallel in the machine learning model 208. For example, the obstacle detection information may include one or more of the following: the location of the obstacle, the height of the obstacle, and the type of obstacle. In one embodiment of the present invention, the location of the obstacle can be represented by the spatial coordinates of its two outer corners.
[0050] The obstacle detection system 200 shown in Figure 2, which utilizes a machine learning model, can be deployed in a vehicle's autonomous driving system, automated parking system, or assisted parking system. System 200 can also be deployed in roadside units, road monitoring cameras, parking infrastructure, and other locations. This system leverages the computing power of machine learning models to overcome the limitations of ultrasonic radar data, such as low resolution and limited information, thereby achieving accurate and robust obstacle detection while reducing costs.
[0051] FIG5 shows a flow chart of an obstacle detection method 500 for assisting vehicle driving according to an embodiment of the present invention.
[0052] In step S510, a device (such as a vehicle, a roadside unit, a road monitoring camera, a parking lot infrastructure, etc.) of the system 200 configured to detect obstacles using a machine learning model obtains ultrasonic echo data captured during vehicle movement.
[0053] In one embodiment, the ultrasonic echo data includes a portion or all of the ultrasonic echo data 202 described above in conjunction with Figures 3A-3C, particularly Figure 3A. In one embodiment, the ultrasonic echo data may be captured by a single ultrasonic sensor or ultrasonic radar. In other embodiments, the ultrasonic echo data may be captured by multiple ultrasonic sensors or ultrasonic radars. In one embodiment, the ultrasonic echo data may be calculated based on data captured by a single ultrasonic sensor or ultrasonic radar. In other embodiments, the ultrasonic echo data may be calculated based on data captured by multiple ultrasonic sensors or ultrasonic radars.
[0054] In step S520, the apparatus obtains information associated with the echo intersection based on the ultrasonic echo data. In one embodiment, the information associated with the echo intersection includes part or all of the information 204 associated with the echo intersection described above in conjunction with Figures 3A-3C, particularly Figures 3B and 3C. In one embodiment, the information associated with the echo intersection may be calculated by an ultrasonic radar that captured the ultrasonic data. In other embodiments, the information associated with the echo intersection may be calculated by any unit in the apparatus that has computing capabilities.
[0055] Optionally, at step S530, the apparatus may obtain data related to vehicle movement during the vehicle movement. In one embodiment, the data related to vehicle movement includes a portion or all of the data related to vehicle movement 206 described above in conjunction with FIG. 3A-FIG . 3C . In one embodiment, the data related to vehicle movement may be captured by various sensors (e.g., a steering wheel angle sensor, a speed sensor, etc.).
[0056] In step S540, the ultrasonic echo data, the information associated with the echo intersection points, and the data on vehicle movement (optional) may be provided as feature data to the machine learning model 208 shown in FIG2 . Optionally, the ultrasonic echo data, the information associated with the echo intersection points, and the data on vehicle movement (optional) may be preprocessed as described above.
[0057] In step S550 , based on the feature data, the machine learning model 208 uses at least one of the classification algorithm 212 or the regression algorithm 214 to detect obstacles.
[0058] In step S560, the control unit of the device assists the vehicle in driving based on the detection information of the obstacle. For example, the vehicle can plan a route or issue an alarm based on the detection information of the obstacle. For another example, the roadside unit can notify the vehicle or prompt it based on the detection information of the obstacle. For another example, the parking lot infrastructure can identify the parking space or guide the vehicle to a vacant parking space based on the detection information of the obstacle.
[0059] Figure 6 shows a block diagram of a device 600 that can be used for obstacle detection according to an embodiment of the present invention. In one embodiment of the present invention, the device 600 may include a vehicle control unit or auxiliary system, such as an electronic control unit (ECU), an electronic management unit (EMU), a parking assistance system, an autonomous driving system, etc. In other embodiments, the device 600 may include any unit with data processing and computing capabilities, such as a vehicle, a roadside unit, a road monitoring camera, or parking infrastructure.
[0060] The example device 600 includes a processor 604 connected to an internal communication bus 602, and the processor 604 is used to execute instructions in a memory 606 to implement the obstacle detection method for assisting vehicle driving described in detail above. Examples of the processor 604 may include a central processing unit (CPU), a microcontroller, and the like. The memory 606 suitable for tangibly embodying computer program instructions and data includes various forms of memory, such as EPROM, EEPROM, and flash memory devices, and the like. The device 600 may also include an input interface 608 and an output interface 610. The input interface 608 is used to receive input signals and data, such as data from various sensors. The output interface 610 is used to send output signals and data, such as various commands or warning signals for assisting vehicle driving.
[0061] The computer program may include computer-executable instructions for causing the processor 604 of the device 600 to perform the obstacle detection method for assisting vehicle driving disclosed herein. The program may be stored on any data storage medium, including a memory. For example, the program may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or a combination thereof. The process / method steps described herein may be performed by a programmable processor executing the program instructions to perform the method, steps, or operations by operating on input data and generating output.
[0062] In addition to what is described herein, various modifications may be made to the disclosed embodiments and implementations of the present invention without departing from the scope of the disclosed embodiments and implementations of the present invention. Therefore, the description and examples herein should be interpreted as illustrative rather than limiting. The scope of the present invention should be measured solely by reference to the claims.
Claims
1. An obstacle detection method for assisting vehicle driving, comprising: obtaining ultrasonic echo data captured during movement of the vehicle; obtaining information associated with an echo intersection point based on the ultrasonic echo data; providing at least part of the ultrasonic echo data and the information associated with the echo intersection as feature data to a machine learning model to obtain obstacle detection information, wherein the machine learning model adopts at least one of a classification algorithm or a regression algorithm; as well as The vehicle driving is assisted based on the obstacle detection information.
2. The method according to claim 1, further comprising: obtaining data on vehicle movement during movement of the vehicle, wherein the data on vehicle movement includes one or more of the following: position information of the vehicle, angular velocity information of the vehicle, and movement distance information of the vehicle; The data about vehicle movement is provided to the machine learning model as feature data.
3. The method according to claim 1, wherein: The ultrasonic echo data includes one or more of the following items: echo point location information, echo distance information, echo height information, echo signal strength information and echo signal peak information.
4. The method according to claim 3, wherein: The ultrasonic echo data is based on data captured by a single ultrasonic sensor or ultrasonic radar.
5. The method according to claim 3, wherein: The position information of the echo point is determined perpendicularly to the moving direction of the vehicle based at least on the echo distance information.
6. The method according to claim 3, wherein obtaining information associated with an echo intersection point based on the ultrasonic echo data comprises: Calculating echo intersection points between respective echoes based at least on the echo distance information; as well as The information associated with the echo intersection point is obtained based on the calculated echo intersection point.
7. The method according to claim 6, wherein: The information associated with the echo intersection includes one or more of the following: position information of the echo intersection, distance information of the echo intersection, distance information of adjacent echo intersections, position information of adjacent echo intersections, and deflection information of the echo intersection.
8. The method according to claim 1, further comprising: The ultrasonic echo data is processed by a downsampling or upsampling algorithm, and the downsampled or upsampled ultrasonic echo data is provided to the machine learning model as the feature data.
9. The method according to claim 1, further comprising: rasterizing at least a portion of the ultrasonic echo data and the information associated with the echo intersection points; as well as An aggregation algorithm is used to process the rasterized ultrasonic echo data and the information associated with the echo intersection points.
10. The method according to claim 9, wherein: The aggregation algorithm includes maximum pooling, minimum pooling, average pooling, overlapping pooling, pyramid pooling or bilinear pooling.
11. The method according to claim 9, further comprising: A two-dimensional map is generated based on the aggregated ultrasound echo data and the information associated with the echo intersection points, and the feature data is provided to the machine learning model in the form of the two-dimensional map.
12. The method according to claim 11, wherein: The machine learning model includes: a convolutional neural network (CNN) model, a regional convolutional neural network (R-CNN) model, or a YOLO model.
13. The method according to claim 9, further comprising: Generate a signal based on the aggregated ultrasound echo data and the information associated with the echo intersection point A sparse matrix is used to provide the feature data to the machine learning in the form of the sparse matrix.
14. The method according to claim 13, wherein: The machine learning model includes: a multi-layer perception model, a spiking neural network (SNN) model, a sparse convolutional neural network model, or a Transformer neural network model.
15. The method according to claim 1, wherein: The machine learning model executes both the classification algorithm and the regression algorithm in parallel.
16. The method according to claim 1, wherein: The obstacle detection information includes one or more of the following items: the location of the obstacle, the height of the obstacle, and the type of the obstacle.
17. A method for training a machine learning model for obstacle detection, comprising: obtaining ultrasonic echo data captured during movement of the vehicle; obtaining information associated with an echo intersection point based on the ultrasonic echo data; providing at least part of the ultrasonic echo data and the information associated with the echo intersection as feature data to a machine learning model to obtain obstacle detection information, wherein the machine learning model adopts at least one of a classification algorithm or a regression algorithm; as well as A loss function is calculated based on the difference between the detection information of the obstacle and the actual information of the obstacle, and the machine learning model is trained by reducing the value of the loss function.
18. An obstacle detection system for assisting vehicle driving, comprising: Memory; A processor is coupled to the memory, the processor being configured to cause one or more units to perform the method according to any one of claims 1-17.
19. A computer readable medium storing a computer program comprising instructions which, when executed by a processor, cause one or more units to perform the method according to any one of claims 1 to 17.
20. A vehicle comprising one or more units for performing the method according to any one of claims 1-17.
