Automatic driving vehicle target identification method

Through the improved Complex-YOLO algorithm and YOLO-v8 model, combined with lidar and attention mechanisms, the problem of recognition accuracy of autonomous vehicles under occlusion and deformation in complex traffic scenes is solved, achieving high efficiency in different environments. Obstacle recognition and early warning functions.

CN118865320APending Publication Date: 2024-10-29HUAIYIN INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410884733.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-03-27
Filing Date
2024-07-03
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In complex traffic scenes, autonomous vehicle target recognition systems face recognition accuracy challenges under occlusion and deformation, and need to be robust to adapt to different weather and lighting conditions.

Method used

Lidar is used to collect obstacle data, and the improved Complex-YOLO algorithm is used for image processing. The attention mechanism and deformable convolution are combined to form a feature map data set. The YOLO-v8 algorithm is used for training and identification, and a traffic data model is generated. For obstacle target recognition and alarm prompts.

Benefits of technology

It improves the speed and accuracy of the vehicle's recognition of obstacles, enhances robustness, can effectively identify and provide early warning in different environments, and reduces controllable casualties in emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865320A_ABST
    Figure CN118865320A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic driving vehicle target identification method. A data acquisition module, a data processing module and an alarm prompting module are included. Aiming at the condition that a vehicle encounters an obstacle in the driving process, the millimeter wave radar carries out obstacle data acquisition, the improved Complex-YOLO algorithm is used for carrying out feature value extraction, detection and recognition on an image acquired by the millimeter wave radar, and when the obstacle threatens the safety of the vehicle, the alarm prompt module gives out voice early warning. The data collected by the millimeter wave radar is more accurate than that collected by other sensors, the obstacles in the vehicle driving process can be effectively recognized by combining the Complex-YOLO algorithm provided by the invention, the situation that the obstacles are wrongly recognized in the conventional driving process is avoided, early warning is carried out, and the driving safety is improved. And the safety coefficient of the vehicle in the automatic driving process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of visual image processing, and in particular relates to a target recognition method for an autonomous driving vehicle. Background Art

[0002] Object detection is one of the most important functions in self-driving cars. It can identify and locate various objects in the driving scene and make correct decisions and control for the vehicle. In recent years, the YOLO-v8 model has been widely used in the field of autonomous driving as an efficient and accurate object detection network.

[0003] The YOLO-v8 model is an object detection system built based on deep learning technology. Its main features are real-time and high accuracy. Compared with traditional object detection models, YOLO-v8 can achieve faster object detection speed while maintaining high performance. This enables autonomous vehicles to perceive and respond to various targets on the road in a timely manner to ensure driving safety.

[0004] The researchers have made some significant progress by improving and optimizing the YOLO-v8 model. On the one hand, they have improved the detection accuracy of the model by increasing the depth and width of the network. On the other hand, they have also introduced some advanced technologies, such as attention mechanism and feature pyramid network, to further improve the performance of object detection.

[0005] There are some studies that fuse the YOLO-v8 model with other models to enhance the capabilities of the target detection system. For example, combining techniques such as semantic segmentation and optical flow estimation can better understand and analyze the behavior of objects in driving scenes. These studies not only improve the accuracy of target detection, but also enhance the intelligent perception capabilities of autonomous vehicles.

[0006] Although the target recognition system for autonomous vehicles based on YOLO-v8 has made a lot of progress, it still faces some challenges. For example, there are a lot of occlusions and deformations in complex traffic scenes, which puts forward requirements for the accuracy of target detection. In addition, the target recognition system also needs to have strong robustness to adapt to driving environments under different weather and lighting conditions. Summary of the invention

[0007] Purpose of the invention: In order to better cope with the recognition of obstacles during vehicle driving and reduce some controllable casualties caused by vehicles encountering emergencies, the present invention discloses a target recognition method for autonomous driving vehicles, which collects obstacle data through a laser imaging radar, and then processes the collected image data through the YOLO-v8 algorithm, and finally outputs a feature image.

[0008] Technical solution: The present invention provides a method for target recognition of an autonomous driving vehicle, comprising the following steps:

[0009] Step 1: For obstacles encountered during vehicle driving, the laser radar collects data of the obstacles;

[0010] Step 2: For the data collected by the laser radar, the improved Complex-YOLO algorithm is used to extract target feature objects from the images collected by the laser radar; the improved Complex-YOLO algorithm decomposes the collected images into grid graphs and amplifies the intermediate grid images. The attention mechanism is used for the intermediate grids to map the 3D point cloud detected by the radar to specific grid cells, and finally form a feature map data set;

[0011] Step 3: Based on YOLO-v8, the extracted feature map data set is trained and recognized. The YOLO-v8 algorithm uses deformable convolution to achieve selective offset by adding different weights in the bias matrix. The bias domain with a channel number of 2N is obtained by convolution operation, and then the offset is formed by the bias matrix of the pixel points on the bias domain. In the YOLO-v8 algorithm, the model loss function part adopts the loss function of the improved ERPD-NET model;

[0012] Step 4: After training, a traffic data model is formed, and the traffic data model is used to identify obstacles and issue alarm prompts.

[0013] Furthermore, the specific steps of collecting data on obstacles in step 1 are as follows:

[0014] Step 1.1: The space where the vehicle is located contains three-axis coordinates: x, y, and z. Millimeter-wave radars are installed in the x, y, and four directions of the vehicle to conduct a comprehensive inspection of the vehicle.

[0015] Step 1.2: The laser radar uses a pulsed laser with a central wavelength of 905nm as the emission source and a scanning method based on a dual-axis fast digital galvanometer to achieve the most complete 3D point cloud of the scanning target.

[0016] Furthermore, the specific steps of step 2 are as follows:

[0017] Step 2.1: The laser radar will collect a 3D point cloud image. The image consists of height, width and pixels. The pixel size of the plane image is 1024*1024*3;

[0018] Step 2.2: According to the area scanned by the laser radar carried by the vehicle, the scanned area is decomposed into a 3*3 grid map. Each grid is numbered from left to right and from top to bottom from 1, 2...9. Grid 5 is magnified and the grid width and height are 1 / 2 of the entire grid.

[0019] Step 2.3: For the grid map, each object that appears in the grid is labeled, and the height and width of the object are marked. The height, width and category of the object that appears in grid 5 are marked;

[0020] Step 2.4: Define a mapping function S for the position of the vehicle's laser radar and the area it detects j =fps(P Ωi,g ), where S∈R m×n , the 3D point cloud detected by the radar is mapped to a specific grid unit j, and finally a feature map is formed. The set of all mapped points in the grid is:

[0021] P Ωi→j = {P Ωi =[x,y,z] T S j =fps(P Ωi ,g)

[0022] The local pixel points in grid 5 are calculated by the formula:

[0023] z g (S j )=max(P Ωi→j [0,0,1] T )

[0024] z b (S j )=max(I(P Ωi→j ))

[0025] z R (S j )=min(1.0,log(N+1) / 64)N=|P Ωi→j |

[0026] Among them, I(P Ω ) is the laser radar intensity, N describes P Ωi Mapping to S j , g represents the parameter of the grid unit size;

[0027] Step 2.5: For the attention mechanism used in grid 5, the input features first pass through the channel attention module to retain the three-dimensional information through the three-dimensional channel, and then pass through the multi-layer perceptron to reduce the number of channels, and finally obtain the corresponding weight coefficient; the output feature map is further input into the spatial attention module to fuse the spatial information, and finally obtain the scaled output features and weight coefficients;

[0028] Assume that the input feature is F1, the feature obtained after channel attention is F2, the final output feature is F3, and the channel attention module is MC , the spatial attention is M S , and its calculation formula is:

[0029]

[0030] .

[0032] Furthermore, the specific steps of training and identifying in step 3 are as follows:

[0033] Step 3.1: For the feature map obtained in step 2, the one-stage model YOLO-v8 algorithm is used to directly detect the target object, generate the individual information and category of the target object, perform convolution operation through C2fDCN in the YOLO-v8 algorithm, and use deformable convolution to achieve selective offset by adding different weights in the bias matrix. The bias domain with a channel number of 2N is obtained through convolution operation, and then the offset Δp is formed through the bias matrix of the pixel points on the bias domain. n , deformable convolution output characteristic equation:

[0034]

[0035] Among them, the convolution kernel w is 3, x is the input feature, p0 is the position of the output feature map, Ω is the point set, and p n is the position of Ω;

[0036] Step 3.2: In the YOLO-v8 algorithm, the model loss function part adopts the loss function calculation formula of the improved ERPD-NET model:

[0037] L=L YOLO +L Euler

[0038] Among them, L YOLO is the term with most missing targets in the grid, and the maximum square difference term is used to solve it, L Euler is the bounding box loss function of the target image, which is solved by the absolute value of the least square difference;

[0039] Step 3.3: For the training of the grid 5 data set in step 2.3, the network training method uses the currently public KITTI point cloud data set for network training. The first 1200 sets of collected data are trained, and the remaining grid data are preprocessed and stored in the back database for data training;

[0040] Step 3.4: For the training of the grid 5 data set in step 2.3, the threshold of the moving vehicles is initially set. The IOU threshold of ordinary cars is set to 0.5, and the IOU threshold of large trucks is set to 0.8;

[0041] Step 3.5: After the grid 5 image dataset is input into the YOLO model and trained, all its trained images are saved in the folder back.

[0042] Furthermore, the alarm prompt module in step 4 has the following steps:

[0043] Step 4.1: Obtain the warning signal input through the traffic data model to know that there are obstacles around the vehicle, compare the obstacle feature image with the preset safety feature image size value, and when the obstacle feature image size is greater than or equal to the preset feature value, transmit the obstacle detection signal to the CAN bus and send it to the warning prompt unit;

[0044] Step 4.2: When the early warning prompt unit receives a signal from the CAN bus that there is an obstacle around the vehicle, it issues an early warning to alert the vehicle occupants.

[0045] Beneficial effects:

[0046] (1) The present invention performs grid processing on the point cloud image collected by the laser radar, and numbers them from left to right and from top to bottom as 1 to 9, and magnifies the grid 5 to improve the vehicle's obstacle recognition speed during driving and reduce the target screening time and workload of the VOLO-v8 algorithm.

[0047] (2) The present invention performs convolution calculation on the point cloud image data collected by the laser radar to obtain the required feature image, and introduces an attention mechanism to improve the processing accuracy of the VOLO-v8 algorithm for the grid 5 in the image. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a system flow chart of the present invention;

[0049] Figure 2 Improved VOLO-v8 network structure diagram. DETAILED DESCRIPTION

[0050] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0051] The present invention discloses a method for target recognition of an autonomous driving vehicle. The present invention uses laser point cloud data in the KITTI dataset to train and test the algorithm. The KITTI dataset uses the coordinate system of a laser radar to provide a 3D bounding box annotation for moving objects within the camera's field of view. The annotation of each object consists of its category and 3D size (height, weight and length). The method specifically includes the following steps:

[0052] The laser radar uses a pulsed laser with a central wavelength of 905nm as the emission source and a scanning method based on a dual-axis fast digital galvanometer to obtain the most complete data collection.

[0053] The data collection scene uses x, y, and z three-axis coordinates. The space where the vehicle is located contains x, y, and z three-axis coordinates. Millimeter-wave radars are installed in the x, y, and 4 directions of the vehicle to conduct a comprehensive inspection of the vehicle. The laser radar scanning range is:

[0054] P Ω ={P = [x, y, z] T |x∈[0,50m],y∈[-40m,40m],z∈[-1.25m,2m]}.

[0055] The target detection area is defined as a 3*3 grid map, and each grid is numbered 1, 2...9 in sequence. Grid 5 is used for image magnification, and the grid width and height are 1 / 2 of the entire grid.

[0056] The present invention adopts an improved Complex algorithm. The size of the first convolutional layer of the input network is 1024*1024*3, the size of the expansion layer E-RPN is 32*32*40, the laser point cloud RGB image that has undergone data preprocessing is input into the modified Complex-yolo network, and the trained model is saved in the backup folder.

[0057] The feature value extraction of the target obstacle by LiDAR does not simply rely on the appearance information of the obstacle. The overall model of the obstacle can be divided into 2-3 point clouds and a predicted bounding box. The first step of the improved Complex-YOLO algorithm proposed in this paper is to extract the feature value of the target obstacle from the environment.

[0058] The feature value of the target obstacle is extracted from the environmental point cloud, two consecutive frames for extracting the target feature value are located, and the bounding box of the target obstacle is optimized to obtain the optimal target feature.

[0059] After the target features are extracted from the image background, two consecutive frames Q t and Q t+1 , the bounding box A of the target object t As input values, t is the defined time value. The three input values ​​constitute a 3D point cloud, which is represented as: When the scene contains multiple objects, Q t Frame as the reference target, M t Indicates the number of target points.

[0060] For the target feature values ​​extracted from continuous frames, a mapping function S is defined j =fps(PΩi,g ), where S∈R m×n , the purpose is to map the 3D point cloud detected by the radar to a specific grid unit j, and finally form a feature map. The set of all mapped points in the grid is:

[0061] P Ωi→j = {P Ωi =[x,y,z] T S j =fps(P Ωi ,g)

[0062] The local pixel points in grid 5 can be calculated by the formula:

[0063] z g (S j )=max(P Ωi→j [0,0,1] T )

[0064] z b (S j )=max(I(P Ωi→j ))

[0065] z R (S j )=min(1.0,log(N+1) / 64)N=|P Ωi→j |

[0066] Among them, I(P Ω ) is the laser radar intensity, N describes P Ωi Mapping to S j , g represents the parameter of the grid unit size.

[0067] The extracted target mapping set uses the YOLO-v8 algorithm C2f DCN for convolution operation. The present invention uses deformable convolution to achieve selective offset by adding different weights in the bias matrix, thereby reducing the interference of uncertain factors and improving the detection effect. The bias domain with a channel number of 2N is obtained by convolution operation, and then the offset Δp is formed by the bias matrix of the pixel points on the bias domain n , deformable convolution output characteristic equation:

[0068]

[0069] Among them, the convolution kernel w is 3, x is the input feature, p0 is the position of the output feature map, Ω is the point set, and p n is the position of Ω.

[0070] After the YOLO-v8 algorithm trains the image of grid 5, the output feature image performs a weighted sum of its feature values ​​to improve the prediction accuracy of the YOLO-v8 algorithm. The present invention mentions that the attention mechanism is used in grid 5 to improve the accuracy of feature extraction of the target object in grid 5. The input feature first passes through the channel attention module, retains the three-dimensional information through the three-dimensional channel, and then passes through the multi-layer perceptron to reduce the number of channels, and finally obtains the corresponding weight coefficient. The output feature map is further input into the spatial attention module, the spatial information is fused, and finally the scaled output feature is obtained and the weight coefficient is obtained.

[0071] For the target model with a large amount of parameter information and irrelevant information, an attention mechanism is introduced to focus on the more critical information of the current task among a large amount of input information, reduce attention to other information, filter out irrelevant information, alleviate the problem of information overload, and improve the efficiency and accuracy of task processing.

[0072] Assume that the input feature is F1, the feature obtained after channel attention is F2, the final output feature is F3, and the channel attention module is M C , the spatial attention is M S , and its calculation formula is:

[0073]

[0074]

[0075] After the point cloud feature image extracted by the CNN structure is input into the module, the specific target spatial position, size, category and other information can be obtained. For the phenomenon that the vehicle will have deviations during driving, the present invention proposes a complex angle term arg(ze ib φ ), through complex angles, embedding precise information of imaginary and real numbers in the network, calculating the height and width of the target in the image, and then determining the type of vehicle based on the size.

[0076] The detailed E-RPN model calculation formula is:

[0077] b x =σ(t x )+c x

[0078] b y =σ(t y )+c y

[0079]

[0080]

[0081] bφ =arg(ze ibφ )=argtan2(t im ,t re )

[0082] Since the present invention divides the detection target frame into unequal parts, the individual information recognition of each grid must be focused on to improve the detection accuracy. The loss function calculation formula of the improved ERPD-NET model is used in the model loss function of the YOLO-v8 algorithm:

[0083] L=L YOLO +L Euler

[0084] Among them, L YOLO L is the term with most missing targets in the grid, and is solved using the maximum square error term. Euler is the bounding box loss function of the target image, which is solved by the absolute value of the least square difference;

[0085] L YOLO The calculation formula is:

[0086]

[0087] L Euler The calculation formula is:

[0088]

[0089] Among them, λ is the scaling factor to ensure stable convergence in the early stage of training; The jth bounding box predictor in cell i has the highest IOU compared to the true value of the prediction result, and the IOU is used to compare the predicted box P j And the real data G, the formula is as follows:

[0090]

[0091] For the target feature values ​​in grid 5 that are extracted in the grid map, data set training is required. The threshold of the moving vehicles is initially set. The IOU threshold of ordinary cars is set to 0.5, and the IOU threshold of large trucks is set to 0.8. After the target feature value data in grid 5 is trained by the YOLO network, the trained models are saved in the folder back.

[0092] Through the input of the early warning signal, it is learned that there are obstacles around the vehicle, and the obstacle feature image is compared with the preset safety feature image size value. When the obstacle feature image size is greater than or equal to the preset feature value, the detected obstacle signal is transmitted to the CAN bus and sent to the early warning prompt unit.

[0093] When the early warning prompt unit receives a signal from the CAN bus indicating that there are obstacles around the vehicle, it issues an early warning message to prompt the vehicle occupants to adjust their safety posture.

[0094] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent transformation or modification made according to the spirit of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for identifying a target of an autonomous driving vehicle, characterized in that: The steps include: Step 1: For obstacles encountered during vehicle driving, the laser radar collects data of the obstacles; Step 2: For the data collected by the laser radar, use the improved Complex-YOLO algorithm to extract target feature objects from the images collected by the laser radar; The improved Complex-YOLO algorithm decomposes the collected image into a grid map and amplifies the intermediate grid image. The attention mechanism is used for the intermediate grid to map the 3D point cloud detected by the radar to a specific grid unit, and finally form a feature map data set. Step 3: Based on YOLO-v8, the extracted feature map data set is trained and recognized. The YOLO-v8 algorithm uses deformable convolution to achieve selective offset by adding different weights in the bias matrix. The bias domain with a channel number of 2N is obtained by convolution operation, and then the offset is formed by the bias matrix of the pixel points on the bias domain. In the YOLO-v8 algorithm, the model loss function part adopts the loss function of the improved ERPD-NET model; Step 4: After training, a traffic data model is formed, and the traffic data model is used to identify obstacles and issue alarm prompts.

2. The method for target recognition of an autonomous driving vehicle according to claim 1, characterized in that: The specific steps of collecting obstacle data in step 1 are as follows: Step 1.1: The space where the vehicle is located contains three-axis coordinates: x, y, and z. Millimeter-wave radars are installed in the x, y, and four directions of the vehicle to conduct a comprehensive inspection of the vehicle. Step 1.2: The laser radar uses a pulsed laser with a central wavelength of 905nm as the emission source and a scanning method based on a dual-axis fast digital galvanometer to achieve the most complete 3D point cloud of the scanning target.

3. The method for target recognition of an autonomous driving vehicle according to claim 1, characterized in that: The specific steps of step 2 are as follows: Step 2.1: The laser radar will collect a 3D point cloud image. The image consists of height, width and pixels. The pixel size of the plane image is 1024*1024*3; Step 2.2: According to the area scanned by the laser radar carried by the vehicle, the scanned area is decomposed into a 3*3 grid map. Each grid is numbered from 1, 2...9 from left to right and from top to bottom. Grid 5 is magnified and the grid width and height are 1 / 2 of the entire grid. Step 2.3: For the grid map, each object that appears in the grid is labeled, and the height and width of the object are marked. The height, width and category of the object that appears in grid 5 are marked; Step 2.4: Define a mapping function S for the position of the vehicle's laser radar and the area it detects j =fps(P Ωi,g ), where S∈R m×n , the 3D point cloud detected by the radar is mapped to a specific grid unit j, and finally a feature map is formed. The set of all mapped points in the grid is: P Ωi→j ={P Ωi =[x,y,z] T S j =fps(P Ωi ,g) The local pixel points in grid 5 are calculated by the formula: z g (S j )=max(P Ωi→j ·[0,0,1] T ) z b (S j )=max(I(P Ωi→j )) z R (S j )=min(1.0,log(N+1) / 64)N=|P Ωi→j | Among them, I(P Ω ) is the laser radar intensity, N describes P Ωi Mapping to S j , g represents the parameter of the grid unit size; Step 2.5: For the attention mechanism used in grid 5, the input features first pass through the channel attention module to retain the three-dimensional information through the three-dimensional channel, and then pass through the multi-layer perceptron to reduce the number of channels, and finally obtain the corresponding weight coefficient; the output feature map is further input into the spatial attention module to fuse the spatial information, and finally obtain the scaled output features and weight coefficients; Assume that the input feature is F1, the feature obtained after channel attention is F2, the final output feature is F3, and the channel attention module is M C , the spatial attention is M S , and its calculation formula is:

4. The method for target recognition of an autonomous driving vehicle according to claim 3, characterized in that: The specific steps of training and identifying in step 3 are as follows: Step 3.1: For the feature map obtained in step 2, the one-stage model YOLO-v8 algorithm is used to directly detect the target object, generate the individual information and category of the target object, perform convolution operation through C2fDCN in the YOLO-v8 algorithm, and use deformable convolution to achieve selective offset by adding different weights in the bias matrix. The bias domain with a channel number of 2N is obtained through convolution operation, and then the offset Δp is formed through the bias matrix of the pixel points on the bias domain. n , deformable convolution output characteristic equation: Among them, the convolution kernel w is 3, x is the input feature, p0 is the position of the output feature map, Ω is the point set, and p n is the position of Ω; Step 3.2: In the YOLO-v8 algorithm, the model loss function part adopts the loss function calculation formula of the improved ERPD-NET model: L=L YOLO +L Euler Among them, L YOLO is the term with most missing targets in the grid, and the maximum square difference term is used to solve it, L Euler is the bounding box loss function of the target image, which is solved by the absolute value of the least square difference; Step 3.3: For the training of the grid 5 data set in step 2.3, the network training method uses the currently public KITTI point cloud data set for network training. The first 1200 sets of collected data are trained, and the remaining grid data are preprocessed and stored in the back database for data training; Step 3.4: For the training of the grid 5 data set in step 2.3, the threshold of the moving vehicles is initially set. The IOU threshold of ordinary cars is set to 0.5, and the IOU threshold of large trucks is set to 0.8; Step 3.5: After the grid 5 image dataset is input into the YOLO model and trained, all its trained images are saved in the folder back.

5. The method for target recognition of an autonomous driving vehicle according to claim 1, characterized in that: The alarm prompt module in step 4 has the following steps: Step 4.1: Obtain the warning signal input through the traffic data model to know that there are obstacles around the vehicle, compare the obstacle feature image with the preset safety feature image size value, and when the obstacle feature image size is greater than or equal to the preset feature value, transmit the obstacle detection signal to the CAN bus and send it to the warning prompt unit; Step 4.2: When the early warning prompt unit receives a signal from the CAN bus that there is an obstacle around the vehicle, it issues an early warning to alert the vehicle occupants.