An automatic driving debugging method based on millimeter radar waves
Through the automatic driving debugging method based on millimeter radar waves, the vehicle driving path and safe distance are optimized, and obstacles are avoided in real time. This solves the obstacle avoidance problem of automatic driving technology in complex environments and improves driving safety and efficiency.
Patent Information
- Application Number
- CN202410820229.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-24
AI Technical Summary
It is difficult for autonomous driving technology to effectively avoid obstacles in complex and changeable environments, especially under different weather conditions, which affects driving safety.
Adopt the automatic driving debugging method based on millimeter radar waves, screen the optimal path through the network map, calculate the maximum speed and traffic light waiting time of the vehicle driving path, collect historical collision data and environmental data, optimize the safe distance, collect road status in real time, and judge and avoid dynamic and static obstacles.
It improves the safety and efficiency of vehicle driving, reduces the risk of misjudgment and collision, and ensures that the vehicle reaches the end point safely in complex environments.
Smart Images

Figure CN118377025B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to an autonomous driving debugging method based on millimeter radar waves. Background Art
[0002] Autonomous driving technology, also known as driverless or self-driving car technology, enables vehicles to travel without human intervention. The technology combines a variety of advanced hardware and software technologies, including sensors, machine learning algorithms, computer vision, artificial intelligence (AI), radar, laser radar (LiDAR), global positioning system (GPS), etc. As early as 1950, the concept of autonomous driving began to appear. In 1956, General Motors displayed a concept car at the "Future Journey" exhibition, imagining that future cars could be controlled by electronic systems. Research mainly focuses on automatic control and navigation systems. SRI Shakey at Stanford Research Institute is an early mobile robot that demonstrates the basic principles of automatic navigation and environmental perception. With the evolution of history, the development of science and technology, such as: more advanced perception systems (such as LiDAR, cameras, radar, etc.), high-performance computing platforms, artificial intelligence algorithms (especially deep learning), high-precision maps and V2X communication technology. Today's vehicle autonomous driving technology has been initially realized. In some scenarios, we can see that autonomous driving vehicles have replaced manual driving. However, there are still some problems with autonomous driving technology, including automatic intelligent avoidance of obstacles. In addition, weather conditions cause the vehicle's driving environment to change, and autonomous driving technology cannot perform intelligent obstacle avoidance according to different environments in different weather conditions. Therefore, it is crucial to enable the vehicle to avoid different obstacles in a complex and changing environment and improve the safety of vehicle driving. Summary of the invention
[0003] The purpose of the present invention is to provide an automatic driving debugging method based on millimeter radar waves to solve the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0005] An automatic driving debugging method based on millimeter radar waves, the method comprising the following steps:
[0006] S100, collecting the end point and the vehicle starting point set by the user, using the network map to select the route for the vehicle to reach the end point, and selecting the optimal path by calculating the distance and time;
[0007] Furthermore, the specific steps of selecting the optimal path by calculating distance and time are as follows:
[0008] S101, the user actively sets the vehicle's target destination, the vehicle determines its own position based on the network map, and searches for a path to the destination. , It means the first, second, third, ..., nth vehicle driving paths to be found, where n is a positive integer; the number of traffic lights in the n different vehicle driving paths is , Indicates the number of traffic lights in the driving paths of the 1st, 2nd, 3rd, ..., nth vehicles;
[0009] S102, segment the searched vehicle driving path, and use each turning point in the vehicle driving path as a dividing point to divide the vehicle driving path. Suppose the number of turning points in each vehicle driving path is , represents the number of inflection points in the 1st, 2nd, 3rd, ..., nth vehicle driving paths. Suppose the path segment of a vehicle driving path divided by inflection points is , Indicates the 1st, 2nd, 3rd, ..., S_g-1th path segments divided by the turning point of the vehicle's driving path, where S_g-1 is a positive integer; the maximum vehicle speed v of each path segment in each vehicle's driving path is obtained by searching in the network using a computer;
[0010] S103, calculating the time required for each vehicle driving path to reach the end point, the formula is:
[0011] ;
[0012] In the formula, T represents the time it takes for each vehicle to reach the end point, L_D represents the length of each path segment in the vehicle's path, and v represents the maximum speed of each path segment in the vehicle's path; S represents the number of traffic lights in each vehicle's path, and M represents the maximum waiting time for traffic lights in each vehicle's path; ; After calculation, the time required for each vehicle path to reach the destination is , It represents the time required to reach the destination among the 1st, 2nd, 3rd, ..., nth vehicle driving paths, and the path with the shortest time required to reach the destination among the n vehicle driving paths is selected as the optimal path L_best for the vehicle to reach the destination.
[0013] The paths for the vehicle to reach the destination are screened. When there are multiple driving paths, in order to reduce driving time and increase vehicle efficiency, traffic lights, road speeds, etc. in all paths are collected and calculated to calculate the maximum driving time of each path, and clearly find the optimal path with the shortest time.
[0014] S200, collecting historical braking distances of the vehicle before the collision with the obstacle, calculating a safe distance for the vehicle based on the braking distance, collecting historical environmental data when the vehicle collides at different braking distances, and searching for dangerous environmental data that affects the safe distance of the vehicle;
[0015] Furthermore, the specific steps of calculating the safe distance of the vehicle according to the braking distance are as follows:
[0016] S211. Collect the braking distance of the vehicle before the collision with the obstacle in the history. , represents the braking distances when the 1st, 2nd, 3rd, and jth vehicles collide with obstacles in the collected history, where j is a positive integer;
[0017] S212. Calculate the safe distance of the vehicle based on the braking distance before the vehicle collides with the obstacle in the collected history, using the formula:
[0018] ;
[0019] In the formula, L_a represents the safe distance of the vehicle during driving, L_z represents the braking distance before the vehicle collides with an obstacle in the collected history, L_st represents the standard deviation of the braking distance before the vehicle collides with an obstacle in the collected history, and j is the number of braking distances before the vehicle collides with an obstacle in the collected history; the calculated vehicle safety distance is used as the standard to prevent vehicle collisions.
[0020] The specific steps to find the dangerous environment data that affects the vehicle safety distance are:
[0021] S221, collecting historical environmental data when vehicles collide at different braking distances, assuming that the collected environmental data when vehicles collide at different braking distances is , Indicates the 1st, 2nd, 3rd, ..., kth environmental data of collisions at different braking distances collected, and extracts the data value of each environmental data when collisions occur at j different braking distances;
[0022] S222, using each environmental data as an independent variable and different braking distances as variables to draw a line graph, observing the drawn line graphs of k kinds of environmental data and braking distances, and calculating the difference between two adjacent points in the line graph, the formula is:
[0023] ;
[0024] In the formula, L_c represents the difference between two adjacent points in the line graph. Indicates the braking distance of the next point in the line graph. Indicates the previous braking distance in the line graph, the value range of r and r+1 is 1 to j; j-1 braking distance differences are calculated;
[0025] S223, judging the j-1 braking distance differences obtained by calculation, when the signs of the j-1 braking distance differences in the line graph are the same, judging the corresponding environmental data is dangerous environment data; when there is at least one different sign of the j-1 braking distance differences in the line graph, judging the corresponding environmental data is not dangerous environment data; calculating and judging the line graphs drawn for the k types of environmental data, and obtaining the dangerous environment data is , , represents the 1st, 2nd, 3rd, ..., hth dangerous environment data obtained by judgment, h≤k, h is a positive integer.
[0026] During the driving process of the vehicle, different environmental data generated in different weather conditions will cause changes in the safe distance of the vehicle. For example, when it rains, the ground is slippery and the braking time of the vehicle will be greatly reduced. If the normal safe distance is still followed, a dangerous accident is likely to occur. The dangerous environmental data caused by bad weather is not only the slippery ground, so it is necessary to find the environmental data that affects the safe distance.
[0027] S300, collecting safe distances of vehicles when different dangerous environment data are used, and calculating the influence of different dangerous environment data on the safe distance of vehicles;
[0028] Furthermore, the specific steps for calculating the influence of different dangerous environment data on the vehicle safety distance are as follows:
[0029] S301, extract the line graph drawn from the hazardous environment data, and fit the line in each line graph of hazardous environment data to obtain a trend line. Suppose the function expression of the trend line is: , where L_z represents the braking distance, H_w represents the dangerous environment data, a represents the slope of the trend line, and b represents the intercept of the trend line;
[0030] S302, extract the values of j points in the line graph, calculate the values of j points and substitute them into the function expression to obtain the values of a and b in the expression, the formula is:
[0031] ;
[0032] In the formula, represents the average value of variable braking distance in j points, represents the average value of the independent variable hazardous environment data in j points, and j represents the number of points in the line graph;
[0033] S303, the line graphs of each type of dangerous environment data are calculated to obtain the function expression of the trend line of each type of dangerous environment data, and the function expression is used as the influence relationship of each type of dangerous environment data on the vehicle safety distance. Finally, the influence relationship of h types of dangerous environment data is obtained as follows: , The calculated influence relationship of the 1st, 2nd, 3rd, ..., hth hazardous environment data.
[0034] S400, collecting data on dangerous environments on the road where the vehicle is traveling in real time, and optimizing the safe distance of the vehicle; when the vehicle is traveling according to the optimal path, using millimeter radar waves to measure the road surface state, collecting the distance between the vehicle and the object on the road, and judging whether there is an obstacle based on the optimized safe distance;
[0035] Furthermore, the specific steps for optimizing the safety distance of vehicles are as follows:
[0036] S411, real-time collection of dangerous environment data during vehicle driving , Indicates the 1st, 2nd, 3rd, ..., hth dangerous environment data values collected in real time during vehicle driving;
[0037] S412. Extract the influence of each hazardous environment data on the safety distance to optimize the safety distance. The formula is:
[0038] ;
[0039] In the formula, L_ay represents the safety distance optimized by using hazardous environment data, h represents the number of hazardous environment data, and H_w represents each type of real-time hazardous environment data collected.
[0040] The specific steps to determine whether there is an obstacle are:
[0041] S421, when the vehicle is traveling to the destination according to the optimal path, the object on the road where the vehicle is traveling is measured by using millimeter radar waves, and the real-time distance between the vehicle and the object is collected as J_s;
[0042] S422. Use the optimized safety distance to judge the distance between the vehicle and the object. When J_s>L_ay, it is judged that the corresponding object will not hinder the vehicle's driving and the vehicle continues to drive if it is not an obstacle. When J_s≤L_ay, it is judged that the corresponding object is an obstacle in the vehicle's driving and an avoidance warning signal is issued.
[0043] Optimizing the safety distance based on the real-time dangerous environment data of the vehicle can ensure that the vehicle will not make misjudgments and cause dangerous accidents such as collisions. It fully considers the impact of environmental data on the vehicle's safety distance and increases the safety of vehicle driving.
[0044] S500: Analyze the determined obstacles, classify the obstacles into dynamic obstacles and static obstacles, and control the vehicle to avoid the dynamic obstacles and the static obstacles respectively.
[0045] Furthermore, the specific steps of controlling the vehicle to avoid static obstacles are:
[0046] S511, when the vehicle finds an obstacle during driving and sends out an avoidance warning signal, if the obstacle is a static obstacle, a circular loop is constructed with the obstacle as the center and the optimized safety distance L_op as the radius;
[0047] S512, control the vehicle to travel in the opposite direction of the obstacle, use millimeter radar waves to measure the distance between the vehicle and the obstacle in real time, and when the real-time distance is the safe distance L_op, control the vehicle to travel along a circular loop with the obstacle as the center; when the vehicle coincides with the original optimal path in the circular loop, control the vehicle to leave the circular loop and travel along the optimal path again to complete the vehicle's avoidance of static obstacles.
[0048] The specific steps for avoiding dynamic obstacles are:
[0049] S521. When an obstacle is detected during the driving process of the vehicle and an avoidance warning signal is issued, if the obstacle is a dynamic obstacle, a circle is constructed with the dynamic obstacle as the center and the optimized safety distance as the radius; and the movement path of the dynamic obstacle is predicted according to the movement direction of the dynamic obstacle and the diameter of the circle;
[0050] S522. When an avoidance warning signal is issued, the distance R between the vehicle and the dynamic obstacle when the warning is issued is collected, a coordinate system is established with the vehicle as the origin, and the angle of the dynamic obstacle in the coordinate system is collected. ; The vehicle in the control circle drives in a direction perpendicular to the edge of the dynamic obstacle's motion path. Assume that the vehicle's driving speed is C_v and the driving time is t. The millimeter radar wave is used to collect the distance between the vehicle and the dynamic obstacle in real time, and calculate whether the vehicle successfully avoids the dynamic obstacle. The formula is:
[0051] ;
[0052] In the inequality, L_s represents the real-time distance between the vehicle and the dynamic obstacle, C_v represents the vehicle's speed, t represents the driving time, and R represents the distance between the vehicle and the dynamic obstacle when the warning is issued. It indicates the angle of the dynamic obstacle in the coordinate system when the warning is issued; when the inequality is established, the vehicle successfully avoids the dynamic obstacle, drives out of the moving path of the dynamic obstacle, and re-plans the route to reach the end point.
[0053] When determining the presence of obstacles around the vehicle, due to the differences between dynamic and static obstacles, the methods of avoiding dynamic and static obstacles are also different. If the same avoidance plan is used, it will cause a collision between the vehicles. Therefore, classifying the obstacles for avoidance can ensure that the vehicle uses different avoidance methods according to different obstacles to avoid the obstacles.
[0054] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0055] 1. The present invention screens the paths for vehicles to reach the destination, analyzes and calculates the maximum vehicle speed and the maximum traffic light waiting time in the path, obtains the time required for each path to reach the destination, and finally selects the optimal path with the shortest time; thus, the working efficiency of the vehicle is increased and the energy consumption is reduced.
[0056] 2. The present invention determines the safe distance during vehicle driving, analyzes the safe distance to ensure that no collision occurs during vehicle driving, and judges the objects around the vehicle based on the safe distance to observe whether there are obstacles, and automatically avoids the obstacles, so that the vehicle can safely reach the destination.
[0057] 3. The present invention collects and analyzes environmental data during vehicle driving, finds out dangerous environmental data that affects the safe distance of the vehicle, analyzes the impact of each dangerous environmental data on the safe distance, and calculates the optimized safe distance based on the real-time dangerous environmental data; thus, the vehicle is prevented from misjudging the distance to an object and the safety of the vehicle driving is increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0059] Figure 1 It is a schematic diagram of the steps of an automatic driving debugging method based on millimeter radar waves of the present invention;
[0060] Figure 2 It is a line graph of environmental data of an automatic driving adjustment method based on millimeter radar waves of the present invention;
[0061] Figure 3 It is a schematic diagram of static obstacle avoidance of an automatic driving adjustment method based on millimeter radar waves of the present invention;
[0062] Figure 4 It is a schematic diagram of dynamic obstacle avoidance of an automatic driving adjustment method based on millimeter radar waves of the present invention. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] See also Figure 1-Figure 4 , the present invention provides a technical solution:
[0065] An automatic driving debugging method based on millimeter radar waves, the method comprising the following steps:
[0066] S100, collecting the end point and the vehicle starting point set by the user, using the network map to select the route for the vehicle to reach the end point, and selecting the optimal path by calculating the distance and time;
[0067] The specific steps to select the optimal path by calculating distance and time are:
[0068] S101, the user actively sets the vehicle's target destination, the vehicle determines its own position based on the network map, and searches for a path to the destination. , It means the first, second, third, ..., nth vehicle driving paths to be found, where n is a positive integer; the number of traffic lights in the n different vehicle driving paths is , Indicates the number of traffic lights in the driving paths of the 1st, 2nd, 3rd, ..., nth vehicles;
[0069] S102, segment the searched vehicle driving path, and use each turning point in the vehicle driving path as a dividing point to divide the vehicle driving path. Suppose the number of turning points in each vehicle driving path is , represents the number of inflection points in the 1st, 2nd, 3rd, ..., nth vehicle driving paths. Suppose the path segment of a vehicle driving path divided by inflection points is , Indicates the 1st, 2nd, 3rd, ..., S_g-1th path segments divided by the turning point of the vehicle's driving path, where S_g-1 is a positive integer; the maximum vehicle speed v of each path segment in each vehicle's driving path is obtained by searching in the network using a computer;
[0070] S103, calculating the time required for each vehicle driving path to reach the end point, the formula is:
[0071] ;
[0072] In the formula, T represents the time it takes for each vehicle to reach the end point, L_D represents the length of each path segment in the vehicle's path, and v represents the maximum speed of each path segment in the vehicle's path; S represents the number of traffic lights in each vehicle's path, and M represents the maximum waiting time for traffic lights in each vehicle's path; ; After calculation, the time required for each vehicle path to reach the destination is , It represents the time required to reach the destination among the 1st, 2nd, 3rd, ..., nth vehicle driving paths, and the path with the shortest time required to reach the destination among the n vehicle driving paths is selected as the optimal path L_best for the vehicle to reach the destination.
[0073] The paths for the vehicle to reach the destination are screened. When there are multiple driving paths, in order to reduce driving time and increase vehicle efficiency, traffic lights, road speeds, etc. in all paths are collected and calculated to calculate the maximum driving time of each path, and clearly find the optimal path with the shortest time.
[0074] S200, collecting historical braking distances of the vehicle before the collision with the obstacle, calculating a safe distance for the vehicle based on the braking distance, collecting historical environmental data when the vehicle collides at different braking distances, and searching for dangerous environmental data that affects the safe distance of the vehicle;
[0075] The specific steps for calculating the safe distance of vehicle travel based on braking distance are as follows:
[0076] S211. Collect the braking distance of the vehicle before the collision with the obstacle in the history. , represents the braking distances when the 1st, 2nd, 3rd, and jth vehicles collide with obstacles in the collected history, where j is a positive integer;
[0077] S212. Calculate the safe distance of the vehicle based on the braking distance before the vehicle collides with the obstacle in the collected history, using the formula:
[0078] ;
[0079] In the formula, L_a represents the safe distance of the vehicle during driving, L_z represents the braking distance before the vehicle collides with an obstacle in the collected history, L_st represents the standard deviation of the braking distance before the vehicle collides with an obstacle in the collected history, and j is the number of braking distances before the vehicle collides with an obstacle in the collected history; the calculated vehicle safety distance is used as the standard to prevent vehicle collisions.
[0080] The specific steps to find the dangerous environment data that affects the vehicle safety distance are:
[0081] S221. Collect historical environmental data when vehicles collide at different braking distances. Suppose the collected environmental data when vehicles collide at different braking distances is , Indicates the 1st, 2nd, 3rd, ..., kth environmental data of collisions at different braking distances collected, and extracts the data value of each environmental data when collisions occur at j different braking distances;
[0082] S222, using each environmental data as an independent variable and different braking distances as variables to draw a line graph, observing the drawn line graphs of k kinds of environmental data and braking distances, and calculating the difference between two adjacent points in the line graph, the formula is:
[0083] ;
[0084] In the formula, L_c represents the difference between two adjacent points in the line graph. Indicates the braking distance of the next point in the line graph. Indicates the previous braking distance in the line graph, the value range of r and r+1 is 1 to j; j-1 braking distance differences are calculated;
[0085] S223, judging the j-1 braking distance differences obtained by calculation, when the signs of the j-1 braking distance differences in the line graph are the same, judging the corresponding environmental data is dangerous environment data; when there is at least one different sign of the j-1 braking distance differences in the line graph, judging the corresponding environmental data is not dangerous environment data; calculating and judging the line graphs drawn for the k types of environmental data, and obtaining the dangerous environment data is , It represents the 1st, 2nd, 3rd, ..., hth dangerous environment data obtained by judgment, h≤k, h is a positive integer.
[0086] During the driving process of the vehicle, different environmental data generated in different weather conditions will cause changes in the safe distance of the vehicle. For example, when it rains, the ground is slippery and the braking time of the vehicle will be greatly reduced. If the normal safe distance is still followed, a dangerous accident is likely to occur. The dangerous environmental data caused by bad weather is not only the slippery ground, so it is necessary to find the environmental data that affects the safe distance.
[0087] S300, collecting safe distances of vehicles when different dangerous environment data are used, and calculating the influence of different dangerous environment data on the safe distance of vehicles;
[0088] The specific steps for calculating the influence of different dangerous environment data on the vehicle safety distance are as follows:
[0089] S301, extract the line graph drawn from the hazardous environment data, and fit the line in each line graph of hazardous environment data to obtain a trend line. Suppose the function expression of the trend line is: , where L_z represents the braking distance, H_w represents the dangerous environment data, a represents the slope of the trend line, and b represents the intercept of the trend line;
[0090] S302, extract the values of j points in the line graph, calculate the values of j points and substitute them into the function expression to obtain the values of a and b in the expression, the formula is:
[0091] ;
[0092] In the formula, represents the average value of variable braking distance in j points, represents the average value of the independent variable hazardous environment data in j points, and j represents the number of points in the line graph;
[0093] S303, the line graphs of each type of dangerous environment data are calculated to obtain the function expression of the trend line of each type of dangerous environment data, and the function expression is used as the influence relationship of each type of dangerous environment data on the vehicle safety distance. Finally, the influence relationship of h types of dangerous environment data is obtained as follows: , The calculated influence relationship of the 1st, 2nd, 3rd, ..., hth hazardous environment data.
[0094] S400, collecting data on dangerous environments on the road where the vehicle is traveling in real time, and optimizing the safe distance of the vehicle; when the vehicle is traveling according to the optimal path, using millimeter radar waves to measure the road surface state, collecting the distance between the vehicle and the object on the road, and judging whether there is an obstacle based on the optimized safe distance;
[0095] The specific steps to optimize the safety distance of vehicles are:
[0096] S411, real-time collection of dangerous environment data during vehicle driving , Indicates the 1st, 2nd, 3rd, ..., hth dangerous environment data values collected in real time during vehicle driving;
[0097] S412. Extract the influence of each hazardous environment data on the safety distance to optimize the safety distance. The formula is:
[0098] ;
[0099] In the formula, L_ay represents the safety distance optimized by using hazardous environment data, h represents the number of hazardous environment data, and H_w represents each type of real-time hazardous environment data collected.
[0100] The specific steps to determine whether there is an obstacle are:
[0101] S421, when the vehicle is traveling to the destination according to the optimal path, the object on the road where the vehicle is traveling is measured by using millimeter radar waves, and the real-time distance between the vehicle and the object is collected as J_s;
[0102] S422. Use the optimized safety distance to judge the distance between the vehicle and the object. When J_s>L_ay, it is judged that the corresponding object will not hinder the vehicle's driving and the vehicle continues to drive if it is not an obstacle. When J_s≤L_ay, it is judged that the corresponding object is an obstacle in the vehicle's driving and an avoidance warning signal is issued.
[0103] Optimizing the safety distance based on the real-time dangerous environment data of the vehicle can ensure that the vehicle will not make misjudgments and cause dangerous accidents such as collisions. It fully considers the impact of environmental data on the vehicle's safety distance and increases the safety of vehicle driving.
[0104] S500: Analyze the determined obstacles, classify the obstacles into dynamic obstacles and static obstacles, and control the vehicle to avoid the dynamic obstacles and the static obstacles respectively.
[0105] The specific steps to control the vehicle to avoid static obstacles are:
[0106] S511, when the vehicle finds an obstacle during driving and sends out an avoidance warning signal, if the obstacle is a static obstacle, a circular loop is constructed with the obstacle as the center and the optimized safety distance L_op as the radius;
[0107] S512, control the vehicle to travel in the opposite direction of the obstacle, use millimeter radar waves to measure the distance between the vehicle and the obstacle in real time, and when the real-time distance is the safe distance L_op, control the vehicle to travel along a circular loop with the obstacle as the center; when the vehicle coincides with the original optimal path in the circular loop, control the vehicle to leave the circular loop and travel along the optimal path again to complete the vehicle's avoidance of static obstacles.
[0108] The specific steps for avoiding dynamic obstacles are:
[0109] S521. When an obstacle is detected during the driving process of the vehicle and an avoidance warning signal is issued, if the obstacle is a dynamic obstacle, a circle is constructed with the dynamic obstacle as the center and the optimized safety distance as the radius; and the movement path of the dynamic obstacle is predicted according to the movement direction of the dynamic obstacle and the diameter of the circle;
[0110] S522. When an avoidance warning signal is issued, the distance R between the vehicle and the dynamic obstacle when the warning is issued is collected, a coordinate system is established with the vehicle as the origin, and the angle of the dynamic obstacle in the coordinate system is collected. ; The vehicle in the control circle drives in a direction perpendicular to the edge of the dynamic obstacle's motion path. Assume that the vehicle's driving speed is C_v and the driving time is t. The millimeter radar wave is used to collect the distance between the vehicle and the dynamic obstacle in real time, and calculate whether the vehicle successfully avoids the dynamic obstacle. The formula is:
[0111] ;
[0112] In the inequality, L_s represents the real-time distance between the vehicle and the dynamic obstacle, C_v represents the vehicle's speed, t represents the driving time, and R represents the distance between the vehicle and the dynamic obstacle when the warning is issued. It indicates the angle of the dynamic obstacle in the coordinate system when the warning is issued; when the inequality is established, the vehicle successfully avoids the dynamic obstacle, drives out of the moving path of the dynamic obstacle, and re-plans the route to reach the end point.
[0113] When determining the presence of obstacles around the vehicle, due to the differences between dynamic and static obstacles, the methods of avoiding dynamic and static obstacles are also different. If the same avoidance plan is used, it will cause a collision between the vehicles. Therefore, classifying the obstacles for avoidance can ensure that the vehicle uses different avoidance methods according to different obstacles to avoid the obstacles.
[0114] Example 1
[0115] The user takes an autonomous driving vehicle to the destination. The vehicle selects the route according to the destination set by the user, and finally obtains three paths that can reach the destination. The number of traffic lights, the number of turning points, the maximum speed of the road section, and the maximum waiting time of the traffic lights in the three paths are extracted, and the time to reach the destination of each path is calculated. The formula is:
[0116] ;
[0117] According to the formula, the time it takes to reach the destination on the three routes is 1 hour, 50 minutes, and 1 hour and 10 minutes respectively. After judgment, the 50-minute route is selected as the optimal driving route for the vehicle this time.
[0118] The braking distances of vehicles before colliding with obstacles are collected. The safe distance of vehicles is calculated as 20m based on the braking distances. The environmental data of vehicles colliding with obstacles at different braking distances are collected, including ground humidity, light intensity and air particle concentration. Line graphs are drawn as follows: Figure 2 As shown, the dangerous environment data obtained after judgment are ground humidity and light intensity;
[0119] Calculate the function expression of the trend line in each line graph, and get the influence of ground humidity is L_z = -0.96×H_w + 54.8, and the influence of illuminance is L_z = 0.72×H_w + 2;
[0120] The safety distance is optimized using the hazardous environment data, and the formula is:
[0121] ;
[0122] The optimized safety distance is 26; when the vehicle is driving, the distance between it and a pedestrian is 20, and the pedestrian is judged to be a dynamic obstacle. An avoidance warning signal is issued to control the vehicle to avoid the pedestrian. A circle is drawn with the pedestrian as the center and the safety distance as the radius. The movement route of the pedestrian is obtained as shown in 4. The formula is used to determine whether the vehicle has successfully avoided the pedestrian. The formula is:
[0123] ;
[0124] When the warning was collected, the distance between the vehicle and the pedestrian was 20, the angle was 30 degrees, the speed was 0.5m / s, and the avoidance time was 45s. The value on the right side of the inequality was calculated to be 41. After 45s, the real-time distance between the vehicle and the pedestrian was 44m, indicating that the vehicle successfully avoided the pedestrian.
[0125] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0126] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An automatic driving test method based on millimeter radar waves, characterized in that: The method comprises the following steps: S100, collecting the end point and the vehicle starting point set by the user, using the network map to select the route for the vehicle to reach the end point, and selecting the optimal path by calculating the distance and time; The specific steps to filter out the optimal path by calculating distance and time are: S101: The user actively sets the target destination of the vehicle. The vehicle determines its own position based on the network map and searches for the path to the destination {L1, L2, L3, ..., L n }, L1, L2, L3, ..., L n represents the first, second, third, ..., nth vehicle driving paths to be found, where n is a positive integer; the number of traffic lights extracted from n different vehicle driving paths is {S1, S2, S3, ..., S n }, S1, S2, S3, ..., S n represents the number of traffic lights in the driving paths of the 1st, 2nd, 3rd, ..., nth vehicles; S102, segmenting the searched vehicle driving path, using each turning point in the vehicle driving path as a dividing point to divide the vehicle driving path, assuming that the number of turning points in each vehicle driving path is {S_g1, S_g2, S_g3, ..., S_g n }, S_g1, S_g2, S_g3,..., S_g n represents the number of inflection points in the first, second, third, ..., nth vehicle driving paths. Suppose a vehicle driving path segment divided by inflection points is {D1, D2, D3, ..., D S_g-1 }, D1, D2, D3, ..., D S_g-1 Indicates the 1st, 2nd, 3rd, ..., S_g-1th path segments divided by the turning point of the vehicle's driving path, where S_g-1 is a positive integer; the maximum vehicle speed v of each path segment in each vehicle's driving path is obtained by searching in the network using a computer; S103, calculating the time required for each vehicle driving path to reach the end point, the formula is: In the formula, T represents the time it takes for each vehicle to reach the destination, L_D represents the length of each path segment in the vehicle's path, and v represents the maximum speed of each path segment in the vehicle's path; S represents the number of traffic lights in each vehicle's path, and M represents the maximum waiting time of traffic lights in each vehicle's path; i∈(1, S_g-1); after calculation, the time required for each vehicle's path to reach the destination is {T1, T2, T3, ..., T n }, T1, T2, T3, ..., T n represents the time required to reach the destination among the first, second, third, ..., n types of vehicle driving paths, and the path with the shortest time required to reach the destination among the n types of vehicle driving paths is selected as the optimal path L_best for the vehicle to reach the destination; S200, collecting the braking distances of the vehicle from the collision object before the collision with the obstacle in history, calculating the safe distance of the vehicle according to the braking distance, collecting the environmental data of the vehicle when the collision occurred at different braking distances in history, using each environmental data as an independent variable and different braking distances as variables to draw a line graph, observing the drawn line graphs of k kinds of environmental data and braking distances, calculating the difference between two adjacent points in the line graph, judging the calculated j-1 braking distance differences, and finding dangerous environmental data that affect the safe distance of the vehicle; The specific steps for calculating the safe distance of vehicle travel based on braking distance are as follows: S211, collect the braking distances of the vehicle before the collision with the obstacle in the history {L_z1, L_z2, L_z3, ..., L_z j }, L_z1, L_z2, L_z3,..., L_z j represents the braking distances when the 1st, 2nd, 3rd, and jth vehicles collide with obstacles in the collected history, where j is a positive integer; S212. Calculate the safe distance of the vehicle based on the braking distance before the vehicle collides with the obstacle in the collected history, using the formula: In the formula, L_a represents the safe distance of the vehicle during driving, L_z represents the braking distance before the vehicle collides with the obstacle in the collected history, L_st represents the standard deviation of the braking distance before the vehicle collides with the obstacle in the collected history, and j represents the number of braking distances before the vehicle collides with the obstacle in the collected history; the calculated vehicle safety distance is used as the standard to prevent vehicle collisions; The specific steps to find the dangerous environment data that affects the vehicle safety distance are: S221, collecting historical environmental data when vehicles collide at different braking distances, assuming that the collected environmental data when vehicles collide at different braking distances are {H1, H2, H3, ..., H k }, H1, H2, H3, ..., H k Indicates the 1st, 2nd, 3rd, ..., kth environmental data of collisions at different braking distances collected, and extracts the data value of each environmental data when collisions occur at j different braking distances; S222, using each environmental data as an independent variable and different braking distances as variables to draw a line graph, observing the drawn line graphs of k kinds of environmental data and braking distances, and calculating the difference between two adjacent points in the line graph, the formula is: L_c=L_z r+1 -L_z r In the formula, L_c represents the difference between two adjacent points in the line graph, L_z r+1 Indicates the braking distance of the next point in the line graph, L_z r Indicates the previous braking distance in the line graph, the value range of r and r+1 is 1 to j; j-1 braking distance differences are calculated; S223, judge the j-1 braking distance differences obtained by calculation, and when the signs of the j-1 braking distance differences in the line graph are the same, judge that the corresponding environmental data is dangerous environment data; when there is at least one different sign of the j-1 braking distance differences in the line graph, judge that the corresponding environmental data is not dangerous environment data; calculate and judge the line graphs drawn for the k types of environmental data, and obtain the dangerous environment data as {H_w1, H_w2, H_w3, ..., H_w h }, H_w1, H_w2, H_w3,..., H_w h Indicates the first, second, third, ..., hth hazardous environment data obtained by judgment, h≤k, h is a positive integer; S300, collecting the safe distance of the vehicle when different dangerous environment data are used, extracting the line graph drawn by the dangerous environment data, fitting the line in the line graph of each dangerous environment data to obtain a trend line, assuming that the function expression of the trend line is L_z=a×H_w+b, where L_z represents the braking distance, H_w represents the dangerous environment data, a represents the slope of the trend line, and b represents the intercept of the trend line; calculating the influence of different dangerous environment data on the safe distance of the vehicle; S400, collecting data on dangerous environments on the road where the vehicle is traveling in real time, and optimizing the safe distance of the vehicle; when the vehicle is traveling according to the optimal path, using millimeter radar waves to measure the road surface state, collecting the distance between the vehicle and the object on the road, and judging whether there is an obstacle based on the optimized safe distance; S500: Analyze the determined obstacles, classify the obstacles into dynamic obstacles and static obstacles, and control the vehicle to avoid the dynamic obstacles and the static obstacles respectively.
2. The method for debugging and testing an automatic driving system based on millimeter radar waves according to claim 1, characterized in that: The specific steps of calculating the influence relationship of different dangerous environment data on the vehicle safety distance in S300 are: S301, extract the line graph drawn by the dangerous environment data, fit the line in each dangerous environment data line graph to obtain a trend line, and assume that the function expression of the trend line is L_z=a×H_w+b, where L_z represents the braking distance, H_w represents the dangerous environment data, a represents the slope of the trend line, and b represents the intercept of the trend line; S302, extract the values of j points in the line graph, calculate and substitute the values of j points into the function expression to obtain the values of a and b in the expression, the formula is: In the formula, H_w pi represents the average value of variable braking distance in j points, L_z pi represents the average value of the independent variable hazardous environment data in j points, and j represents the number of points in the line graph; S303, calculate the line graph of each dangerous environment data, obtain the function expression of the trend line of each dangerous environment data, and use the function expression as the influence relationship of each dangerous environment data on the vehicle safety distance, and finally obtain the influence relationship of h kinds of dangerous environment data as {f(H_w1), f(H_w2), f(H_w3), ..., f(H_w4), ..., f(H_w5), ..., f(H_w6), ..., f(H_w7), ..., f(H_w8), ..., f(H_w9), ..., f(H_w10), ..., f(H_w11), ..., f(H_w12), ..., f(H_w13), ..., f(H_w14), ..., f(H_w15), ..., f(H_w16), ..., f(H_w17), ..., f(H_w18), ..., f(H_w19), ..., f(H_w21), ..., f(H_w31), ..., f(H_w42), ..., f(H_w5 h )}, f(H_w1), f(H_w2), f(H_w3),..., f(H_w h ) The influence relationship of the 1st, 2nd, 3rd, ..., hth hazardous environment data calculated.
3. The automatic driving test method based on millimeter radar wave according to claim 2 is characterized in that: The specific steps of optimizing the safety distance of the vehicle in S400 are: S411, collect the dangerous environment data of the vehicle in real time {H_ws1, H_ws2, H_ws3, ..., H_ws h }, H_ws1, H_ws2, H_ws3,..., H_ws h Indicates the 1st, 2nd, 3rd, ..., hth dangerous environment data values collected in real time during vehicle driving; S412. Extract the influence of each hazardous environment data on the safety distance to optimize the safety distance. The formula is: In the formula, L_ay represents the safety distance optimized by using hazardous environment data, h represents the number of hazardous environment data, and H_w represents each type of real-time hazardous environment data collected.
4. The method for debugging and testing an automatic driving system based on millimeter radar waves according to claim 3, characterized in that: The specific steps of determining whether there is an obstacle in S400 are: S421, when the vehicle is traveling to the destination according to the optimal path, the object on the road where the vehicle is traveling is measured by using millimeter radar waves, and the real-time distance between the vehicle and the object is collected as J_s; S422. Use the optimized safety distance to judge the distance between the vehicle and the object. When J_s>L_ay, it is judged that the corresponding object will not hinder the vehicle's driving and the vehicle continues to drive if it is not an obstacle. When J_s≤L_ay, it is judged that the corresponding object is an obstacle in the vehicle's driving and an avoidance warning signal is issued.
5. The automatic driving test method based on millimeter radar wave according to claim 4 is characterized in that: The specific steps of controlling the vehicle to avoid static obstacles in S500 are: S511, when the vehicle finds an obstacle during driving and sends out an avoidance warning signal, if the obstacle is a static obstacle, a circular loop is constructed with the obstacle as the center and the optimized safety distance L_op as the radius; S512, control the vehicle to travel in the opposite direction of the obstacle, use millimeter radar waves to measure the distance between the vehicle and the obstacle in real time, and when the real-time distance is the safe distance L_op, control the vehicle to travel along a circular loop with the obstacle as the center; when the vehicle coincides with the original optimal path in the circular loop, control the vehicle to leave the circular loop and travel along the optimal path again to complete the vehicle's avoidance of static obstacles.
6. The method for debugging and testing an automatic driving system based on millimeter radar waves according to claim 4, characterized in that: The specific steps of avoiding dynamic obstacles in S500 are: S521. When an obstacle is detected during the driving process of the vehicle and an avoidance warning signal is issued, if the obstacle is a dynamic obstacle, a circle is constructed with the dynamic obstacle as the center and the optimized safety distance as the radius; and the movement path of the dynamic obstacle is predicted according to the movement direction of the dynamic obstacle and the diameter of the circle; S522. When an avoidance warning signal is issued, the distance R between the vehicle and the dynamic obstacle when the warning is issued is collected, a coordinate system is established with the vehicle as the origin, and the angle of the dynamic obstacle in the coordinate system is collected as θ; the vehicle in the control circle is driven in a direction perpendicular to the edge of the dynamic obstacle's motion path, and the vehicle's driving speed is C_v, and the driving time is t. The distance between the vehicle and the dynamic obstacle is collected in real time using millimeter radar waves, and the calculation is used to determine whether the vehicle successfully avoids the dynamic obstacle. The formula is: In the inequality, L_s represents the real-time distance between the vehicle and the dynamic obstacle, C_v represents the vehicle's driving speed, t represents the driving time, R represents the distance between the vehicle and the dynamic obstacle when the warning is issued, and θ represents the angle of the dynamic obstacle in the coordinate system when the warning is issued; When the inequality holds true, the vehicle successfully avoids the dynamic obstacle, drives out of the moving path of the dynamic obstacle, and replans the route to reach the end point.
