A safe obstacle avoidance method for intelligent driving vehicles based on multi-potential field fusion
Through the multi-potential field fusion method, the obstacle and road potential fields are calculated, and the gradient descent method is used to plan a safe obstacle avoidance path, which solves the problem of insufficient obstacle avoidance ability of intelligent driving vehicles in complex environments and realizes the detection of multiple obstacles with different speeds. and effective obstacle avoidance at boundaries.
Patent Information
- Application Number
- CN202210658957.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-10
AI Technical Summary
Existing intelligent driving vehicles have insufficient obstacle avoidance capabilities in complex dynamic driving environments, making it difficult to effectively cope with multiple obstacles and road boundary restrictions at different speeds.
The multi-potential field fusion method is used to calculate the relative speed area and road potential field of obstacles, the total potential field is constructed through fuzzy weight distribution, and the gradient descent method is used to calculate the negative gradient to plan a safe obstacle avoidance path to meet the needs of multiple obstacles with different speeds and Safety requirements for road boundaries.
It improves the adaptability of intelligent driving vehicles to obstacles at different speeds, takes into account road boundary restrictions, and plans safe obstacle avoidance paths that meet multiple obstacles and boundaries at different speeds, improving obstacle avoidance capabilities.
Smart Images

Figure CN114834449B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile driving technology, and in particular to a multi-potential field fusion intelligent driving automobile safe obstacle avoidance method. Background Art
[0002] With the development of society and economy, cars have become an indispensable means of transportation for people. The emergence of cars has greatly facilitated people's travel, improved the efficiency of social operation, and played an important role in improving people's lives and promoting social and economic development. However, due to the sharp increase in the number of cars, the increasingly prominent problem of urban traffic congestion and the steady increase in traffic accidents have seriously hindered the healthy development of the automobile industry. In order to solve a series of problems faced by the development of the automobile industry, countries around the world have made smart driving cars the focus of future automobile industry development. Smart driving cars can greatly improve the efficiency of urban traffic operation, alleviate urban traffic congestion, eliminate man-made traffic accidents, and ensure driving safety. They have important social and economic significance for achieving the overtaking of my country's automobile industry.
[0003] As an important and indispensable part of intelligent driving cars, safe obstacle avoidance has made great progress in recent years. However, the current complex dynamic driving environment has put forward new requirements for the obstacle avoidance of intelligent driving cars, and it is necessary to improve the obstacle avoidance ability of the car. Therefore, in this case, a method for driving cars to avoid obstacles safely is urgently needed. Summary of the invention
[0004] The present invention provides a multi-potential field fusion intelligent driving car safe obstacle avoidance method to solve the technical problems in the prior art of complex dynamic driving environment and poor obstacle avoidance ability of the car.
[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0006] The present invention provides a multi-potential field fusion intelligent driving vehicle safe obstacle avoidance method, comprising the following steps:
[0007] Step S10: Calculate the range angles and inclination angles of the intelligent driving car and the multiple obstacles respectively, and obtain the relative speed areas of the intelligent driving car and the multiple obstacles respectively;
[0008] Step S20: constructing corresponding velocity potential fields of the intelligent driving car and the multiple obstacles according to the relative velocity regions of the intelligent driving car and the multiple obstacles, so as to meet the safety obstacle avoidance requirements of the multiple obstacles with different speeds;
[0009] Step S30, constructing a road potential field that satisfies safe obstacle avoidance at different road boundaries;
[0010] Step S40, combining the road potential field and the multiple speed potential fields, designing a fuzzy weight allocation method to adaptively allocate weights of the road potential field and the multiple speed potential fields, and combining the weighted road potential field and the multiple speed potential fields to obtain a total potential field;
[0011] Step S50: Calculate the negative gradient of the total potential field using the gradient descent method, establish the motion equation of the intelligent driving vehicle, substitute the negative gradient of the total potential field into the motion equation of the intelligent driving vehicle, and obtain a safe obstacle avoidance path that satisfies multiple obstacles of different speeds and different boundary roads at the same time;
[0012] Step S60: determine whether the set conditions for completing obstacle avoidance are met based on the driving state of the intelligent driving car on the safe obstacle avoidance path and the movement of multiple obstacles. If not, repeat steps S10 to S60; if satisfied, the intelligent driving car completes obstacle avoidance.
[0013] Furthermore, in step S10, the number of the multiple obstacles is n, where n=1, 2...i...n; wherein the relative speed region between the intelligent driving vehicle and the i-th obstacle is as follows:
[0014]
[0015]
[0016] Where α(i) and β(i) represent the range angle and tilt angle of the relative speed area between the intelligent driving car and the i-th obstacle, respectively; X and Y represent the longitudinal coordinate and lateral coordinate of the intelligent driving car, respectively; X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and R(i) represents the artificially set safety radius for the intelligent driving car to avoid collision with the ith obstacle.
[0017] Furthermore, in step S20, the number of the multiple obstacles is n, where n=1, 2...i...n; wherein the velocity potential field between the intelligent driving vehicle and the i-th obstacle is:
[0018]
[0019] Where U v (i) is the velocity potential field between the intelligent driving car and the i-th obstacle, c 1 represents the strength coefficient, c 2 is a small positive constant, D v (i) represents the distance from the boundary of the relative speed area between the intelligent driving vehicle and the i-th obstacle to the center line, and its calculation formula is as follows:
[0020] D v(i) = l v (i)·tan(β(i))
[0021] Where β(i) represents the inclination angle of the relative speed area between the intelligent driving car and the i-th obstacle; l v (i) represents the relative speed between the intelligent driving car and the ith obstacle on the center line of the area and d v (i) The corresponding length is calculated as follows:
[0022]
[0023] In the formula, v x and v y They represent the longitudinal speed and lateral speed of the intelligent driving car, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle, respectively, and d v (i) represents the distance from the speed of the intelligent driving vehicle to the center line of the relative speed area between the intelligent driving vehicle and the i-th obstacle, and its calculation formula is as follows:
[0024]
[0025] Where α(i) represents the range angle of the relative speed area between the intelligent driving car and the i-th obstacle.
[0026] Furthermore, the road potential field is:
[0027]
[0028] Where U r (X,Y) is the road potential field, c 3 represents the strength coefficient, c 4 is a small positive constant, D r represents the scope of action of the road potential field, d r (X,Y) represents the distance from the smart driving car to the road boundary.
[0029] Furthermore, the input of the fuzzy weight allocation method in step S40 includes the estimated collision time t between the intelligent driving vehicle and the i-th obstacle. v (i) Estimated collision time t between the intelligent driving car and the road boundary r , the output includes the velocity potential field weight c of the intelligent driving car and the i-th obstacle v (i) Road potential field weight c r , the fuzzy weight allocation method comprises the following steps:
[0030] Step a: The estimated collision time t between the intelligent driving car and the i-th obstacle v (i) and the estimated collision time t between the intelligent driving car and the road boundary r Normalization, the normalization range is set to [-4,4], and the normalization calculation formula is as follows:
[0031]
[0032]
[0033] In the formula, min(t v )、min(t r ) are the minimum estimated collision time between the intelligent driving car and the obstacle, and the minimum estimated collision time between the intelligent driving car and the road boundary, respectively. max(t v )、max(t r ) are the maximum estimated collision time between the intelligent driving car and the obstacle, and the maximum estimated collision time between the intelligent driving car and the road boundary, respectively;
[0034] Step b: Establish a first membership function, a second membership function, a third membership function and a fourth membership function, wherein the first membership function and the second membership function are respectively used to convert Transformed into corresponding fuzzy variables;
[0035] Step c: Refine the general experience of obstacle avoidance to obtain c v (i) The inference rule table and c r According to the third membership function, the fourth membership function and the two inference rule tables, c is obtained. v (i) The fuzzy variables and c r The fuzzy variables of ; the general experience of obstacle avoidance is:
[0036] When t v (i) Small and t r When large, c v (i) Take a large value, and c r It should take a small value;
[0037] When t v (i) Small and t r Hours, c v (i) Take the median value, and c r The median value should also be taken;
[0038] When t v (i) Large and t r Hours, c v (i) Take a small value, and c r It should take a large value;
[0039] When t v (i) Large and t r When large, c v (i) Take the median value, and c r The median value should also be taken;
[0040] Step d: Defuzzify c v (i) and c) r The fuzzy variables are transformed into corresponding clear variables, and the velocity potential field weights c are obtained respectively. v (i) and the road boundary potential field weight c r ,Defuzzification methods include but are not limited to the maximum membership method, ,centroid method and weighted average method;
[0041] Step e: Set the velocity potential field weight c v (i) and the road boundary potential field weight c r Normalized to [0,1], the normalization formula is as follows;
[0042]
[0043]
[0044] In the formula, represents the normalized velocity potential field weight; Represents the normalized road boundary potential field weight.
[0045] Furthermore, the estimated collision time between the intelligent driving car and the i-th obstacle in step a is:
[0046]
[0047] In the formula, v r (i) represents the velocity vector of the intelligent driving car relative to the i-th obstacle, ||v r (i)|| 2 Indicates v r (i) 2-norm, v represents the speed vector of the intelligent driving car, V R (i) represents the relative speed area between the intelligent driving car and the i-th obstacle, max(t v ) represents the maximum estimated collision time between the intelligent driving car and the obstacle, d v ′(i) represents the distance between the intelligent driving car and the i-th obstacle, and its calculation formula is as follows:
[0048]
[0049] In the formula, (X o1 ′(i),Y o1 ′(i)) and (Xo2 ′(i),Y o2 ′(i)) represents the two intersection points of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius and the estimated path of the intelligent driving car. The calculation formula of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius is as follows:
[0050] (xX o (i)) 2 +(yY o (i)) 2 =R(i) 2
[0051] In the formula, X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and (x, y) represents the coordinates of any point in the coordinate system;
[0052] The calculation formula for the estimated path of an intelligent driving car is as follows:
[0053]
[0054] In the formula, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle; v x and v y Represent the longitudinal speed and lateral speed of the smart driving car respectively.
[0055] Furthermore, the estimated collision time t between the intelligent driving car and the road boundary in step a is r for:
[0056]
[0057] In the formula, θ represents the angle at which the intelligent driving car deviates from the lane; ||v|| 2 represents the 2-norm of v.
[0058] Furthermore, the total potential field in step S40 is the weighted sum of the velocity potential field of each obstacle and the road boundary:
[0059]
[0060] Where n represents the number of obstacles and U represents the total potential field.
[0061] Furthermore, the motion equation of the intelligent driving car in step S50 is:
[0062] v x (k+1)=v x (k)+ax (k) t 0
[0063] v y (k+1)=v y (k)+a y (k) t 0
[0064] X(k+1)=X(k)+v x (k) t 0 +0.5·a x (k) t 0 2
[0065] Y(k+1)=Y(k)+v y (k) t 0 +0.5·a y (k) t 0 2
[0066] Among them, v x (k) represents the longitudinal velocity at time k along the path; v y (k) represents the lateral speed at time k along the path; X(k) represents the longitudinal coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path; Y(k) represents the lateral coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path;
[0067] t 0 represents the sampling interval, a x (k) and a y (k) respectively represent the longitudinal and lateral accelerations of the intelligent driving car obtained by the gradient descent method at the k sampling time, and the calculation formula is as follows:
[0068]
[0069]
[0070] Beneficial effects of the present invention:
[0071] The present invention changes the safe obstacle avoidance method of intelligent driving vehicles from the traditional one that mainly considers position relationships to one that mainly considers speed relationships, so as to improve the adaptability to obstacles of different speeds, while taking into account the restrictions of road boundaries, and planning a safe obstacle avoidance path for the intelligent driving vehicle that simultaneously meets the requirements of multiple obstacles of different speeds and different boundary roads, which has important theoretical and practical significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 is a flow chart of the present invention;
[0073] Figure 2 It is the principle diagram of the speed barrier in the present invention;
[0074] Figure 3 It is a relative speed area diagram between the intelligent driving car and the obstacle; DETAILED DESCRIPTION
[0075] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0076] Reference Figure 1 The present application embodiment provides a multi-potential field fusion intelligent driving car safe obstacle avoidance method, comprising the following steps:
[0077] Step S10: Calculate the range angles and inclination angles of the intelligent driving car and the multiple obstacles respectively, and obtain the relative speed areas of the intelligent driving car and the multiple obstacles respectively;
[0078] Step S20: constructing corresponding velocity potential fields of the intelligent driving car and the multiple obstacles according to the relative velocity regions of the intelligent driving car and the multiple obstacles, so as to meet the safety obstacle avoidance requirements of the multiple obstacles with different speeds;
[0079] Step S30, constructing a road potential field that satisfies safe obstacle avoidance at different road boundaries;
[0080] Step S40, combining the road potential field and the multiple speed potential fields, designing a fuzzy weight allocation method to adaptively allocate weights of the road potential field and the multiple speed potential fields, and combining the weighted road potential field and the multiple speed potential fields to obtain a total potential field;
[0081] Step S50: Calculate the negative gradient of the total potential field using the gradient descent method, establish the motion equation of the intelligent driving car, substitute the negative gradient of the total potential field into the motion equation of the intelligent driving car, and obtain a safe obstacle avoidance path that simultaneously satisfies multiple obstacles of different speeds and different boundary roads.
[0082] The specific method for calculating the negative gradient of the total potential field is: x Take the partial derivative and negate the value obtained, which is the longitudinal acceleration of the smart driving car; y Find the partial derivative, and take the negative value, which is the lateral acceleration of the smart driving car. The longitudinal acceleration and lateral acceleration of the smart driving car are the negative gradient of the total potential field.
[0083] Step S60: determine whether the set conditions for completing obstacle avoidance are met based on the driving state of the intelligent driving car on the safe obstacle avoidance path and the movement of multiple obstacles. If not, repeat steps S10 to S60; if satisfied, the intelligent driving car completes obstacle avoidance.
[0084] In this embodiment, the conditions set to complete obstacle avoidance need to meet the following two requirements at the same time:
[0085] Requirements 1. For each obstacle, there must be:
[0086] X o (i) -X<0
[0087] X represents the longitudinal coordinate of the smart driving car, o (i) represents the longitudinal coordinate of the i-th obstacle.
[0088] Requirement 2: The intelligent driving car drives along the center line of the road, that is:
[0089] |YY z |<ε
[0090] Y represents the lateral coordinate of the smart driving car, Y z It represents the lateral coordinate of the road corresponding to the location of the intelligent driving car. ε is a small positive number set artificially. In this embodiment, ε=0.1m.
[0091] The number of the plurality of obstacles in step S10 is n, where n=1, 2...i...n; wherein the relative speed region between the intelligent driving vehicle and the i-th obstacle is as follows:
[0092]
[0093]
[0094] Where α(i) and β(i) represent the range angle and tilt angle of the relative speed area between the intelligent driving car and the i-th obstacle, respectively; X and Y represent the longitudinal coordinate and lateral coordinate of the intelligent driving car, respectively; X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and R(i) represents the artificially set safety radius for the intelligent driving car to avoid collision with the ith obstacle.
[0095] The number of the multiple obstacles in step S20 is n, where n=1, 2...i...n; wherein the velocity potential field between the intelligent driving vehicle and the i-th obstacle is:
[0096]
[0097] Where U v (i) is the velocity potential field between the intelligent driving car and the i-th obstacle, c 1 represents the strength coefficient, c 2 is a small positive constant, D v(i) represents the distance from the boundary of the relative speed area between the intelligent driving vehicle and the i-th obstacle to the center line, and its calculation formula is as follows:
[0098] D v (i) = l v (i)·tan(β(i))
[0099] Where β(i) represents the inclination angle of the relative speed area between the intelligent driving car and the i-th obstacle; l v (i) represents the relative speed between the intelligent driving car and the ith obstacle on the center line of the area and d v (i) The corresponding length is calculated as follows:
[0100]
[0101] In the formula, v x and v y They represent the longitudinal speed and lateral speed of the intelligent driving car, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle, respectively, and d v (i) represents the distance from the speed of the intelligent driving vehicle to the center line of the relative speed area between the intelligent driving vehicle and the i-th obstacle, and its calculation formula is as follows:
[0102]
[0103] Where α(i) represents the range angle of the relative speed area between the intelligent driving car and the i-th obstacle.
[0104] The road potential field is:
[0105]
[0106] Where U r (X,Y) is the road potential field, c 3 represents the strength coefficient, c 4 is a small positive constant, D r represents the scope of action of the road potential field, d r (X,Y) represents the distance from the smart driving car to the road boundary.
[0107] The input of the fuzzy weight allocation method in step S40 includes the estimated collision time t between the intelligent driving vehicle and the i-th obstacle v (i) Estimated collision time t between the intelligent driving car and the road boundary r , the output includes the velocity potential field weight c of the intelligent driving car and the i-th obstacle v (i) Road potential field weight cr , the fuzzy weight allocation method comprises the following steps:
[0108] Step a: The estimated collision time t between the intelligent driving car and the i-th obstacle v (i) and the estimated collision time t between the intelligent driving car and the road boundary r Normalization, the normalization range is set to [-4,4], and the normalization calculation formula is as follows:
[0109]
[0110]
[0111] In the formula, min(t v )、min(t r ) are the minimum estimated collision time between the intelligent driving car and the obstacle, and the minimum estimated collision time between the intelligent driving car and the road boundary, respectively. max(t v )、max(t r ) are the maximum estimated collision time between the intelligent driving car and the obstacle, and the maximum estimated collision time between the intelligent driving car and the road boundary, respectively;
[0112] Step b: Establish a first membership function, a second membership function, a third membership function and a fourth membership function, wherein the first membership function and the second membership function are respectively used to convert Transformed into corresponding fuzzy variables; the first membership function, the second membership function, the third membership function and the fourth membership function may be the same or different. In the present invention, the four membership functions are designed to be the same membership functions, and the four membership functions specifically include 5 triangular membership functions and 2 Gaussian membership functions. The expressions of the 5 triangular membership functions are:
[0113]
[0114] Where, q = 1, 2, 3, 4, 5, a q and b q Respectively represent the lower and upper limits of the membership function of the qth triangle, m q represents the mode of the membership function of the qth triangle, a q 、b q and m q Set to respectively;
[0115] [a 1 ,a 2 ,a 3 ,a 4 ,a 5]=[-3.6,-2.4,-1.2,0,1.2]
[0116] [b 1 ,b 2 ,b 3 ,b 4 ,b 5 ]=[-1.2,0,1.2,2.4,3.6]
[0117] [m 1 ,m 2 ,m 3 ,m 4 ,m 5 ]=[-2.4,-1.2,0,1.2,2.4]
[0118] The two Gaussian membership function expressions are:
[0119]
[0120] Where p = 1, 2, n p represents the median value of the pth Gaussian membership function, σ p represents the standard deviation of the p-th Gaussian membership function, n p and σ p Set to respectively;
[0121] [n 1 ,n 2 ]=[-3.6,3.6]
[0122] [σ 1 ,σ 2 ]=[0.5096,0.5096]
[0123] Step c: Refine the general experience of obstacle avoidance to obtain c v (i) The inference rule table and c r According to the third membership function, the fourth membership function and the two inference rule tables, c is obtained. v (i) and c) r The fuzzy variables of ; the general experience of obstacle avoidance is:
[0124] When t v (i) Small and t r When large, c v (i) Take a large value, and c r It should take a small value;
[0125] When t v (i) Small and t r Hours, c v (i) Take the median value, and c r The median value should also be taken;
[0126] When t v (i) Large and t r Hours, c v (i) Take a small value, and c r It should take a large value;
[0127] When t v (i) Large and t r When large, c v (i) Take the median value, and c r The median value should also be taken;
[0128] See Table 1, which is c v The inference rule table of
[0129] Table 1
[0130]
[0131]
[0132] In Tables 1 and 2, the fuzzy set {NB, NM, NS, ZO, PS, PM, PB} represents {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}.
[0133] See Table 2, which is a table of inference rules;
[0134] Table 2
[0135]
[0136] Step d: Defuzzify c v (i) and c) r The fuzzy variables are transformed into corresponding clear variables, and the velocity potential field weights c are obtained respectively. v (i) and the road boundary potential field weight c r ,Defuzzification methods include but are not limited to the maximum membership method, ,centroid method and weighted average method;
[0137] Step e: Set the velocity potential field weight c v (i) and the road boundary potential field weight c r Normalized to [0,1], the normalization formula is as follows;
[0138]
[0139]
[0140] In the formula, represents the normalized velocity potential field weight; Represents the normalized road boundary potential field weight.
[0141] The estimated collision time between the intelligent driving car and the ith obstacle in step a is:
[0142]
[0143] In the formula, v r (i) represents the velocity vector of the intelligent driving car relative to the i-th obstacle, ||v r (i)|| 2 Indicates v r (i) 2-norm, v represents the speed vector of the intelligent driving car, V R (i) represents the relative speed area between the intelligent driving car and the i-th obstacle, max(t v ) represents the maximum estimated collision time between the intelligent driving car and the obstacle, d v ′(i) represents the distance between the intelligent driving car and the i-th obstacle, and its calculation formula is as follows:
[0144]
[0145] In the formula, (X o1 ′(i),Y o1 ′(i)) and (X o2 ′(i),Y o2 ′(i)) represents the two intersection points of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius and the estimated path of the intelligent driving car. The calculation formula of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius is as follows:
[0146] (xX o (i)) 2 +(yY o (i)) 2 =R(i) 2
[0147] In the formula, X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and (x, y) represents the coordinates of any point in the coordinate system;
[0148] The calculation formula for the estimated path of an intelligent driving car is as follows:
[0149]
[0150] In the formula, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle; v x and v yRepresent the longitudinal speed and lateral speed of the smart driving car respectively.
[0151] The estimated collision time t between the intelligent driving car and the road boundary in step a r for:
[0152]
[0153] In the formula, θ represents the angle at which the intelligent driving car deviates from the lane; ||v|| 2 represents the 2-norm of v.
[0154] The total potential field in step S40 is the weighted sum of the velocity potential field of each obstacle and the road boundary:
[0155]
[0156] Where n represents the number of obstacles and U represents the total potential field.
[0157] The motion equation of the intelligent driving car in step S50 is:
[0158] v x (k+1)=v x (k)+a x (k) t 0
[0159] v y (k+1)=v y (k)+a y (k) t 0
[0160] X(k+1)=X(k)+v x (k) t 0 +0.5·a x (k) t 0 2
[0161] Y(k+1)=Y(k)+v y (k) t 0 +0.5·a y (k) t 0 2
[0162] Among them, v x (k) represents the longitudinal velocity at time k along the path; v y (k) represents the lateral speed at time k along the path; X(k) represents the longitudinal coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path; Y(k) represents the lateral coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path;
[0163] t 0 represents the sampling interval, a x (k) and a y (k) respectively represent the longitudinal and lateral accelerations of the intelligent driving car obtained by the gradient descent method at the k sampling time, and the calculation formula is as follows:
[0164]
[0165]
[0166] See also Figure 2 , Figure 2 This is the schematic diagram of the speed barrier.
[0167] The speed barrier principle is:
[0168] A and B represent two moving objects. The solid circle where A and B are located represents the size of A and B. R represents the safe radius where A and B do not collide. R is equal to the sum of the radii of A and B. The dotted circle where B is located represents the safe range where A and B do not collide. V A and V B Represents the velocity vectors of A and B. The physical meaning of the solid sector area in the figure is: if the velocity V of A relative to B A -V B Within the solid line sector, A and B will inevitably collide at some point in the future; if the speed of A relative to B is V A -V B Outside the solid line sector area, A and B will definitely not collide in the future. The dotted line sector area in the figure is the solid line sector area along the speed V B The physical meaning of translation is: if the velocity V of A A If is within the dotted fan-shaped area, A and B will inevitably collide at some point in the future; if ’s speed is outside the dotted fan-shaped area, A and B will not collide in the future. Indicates the speed barrier of B to A.
[0169] See also Figure 3 , Figure 3 The relative speed area diagram of the intelligent driving car and the obstacle.
[0170] The relative speed area between the smart driving car and the obstacle is established based on the speed barrier principle. In the figure, α(i) represents the inclination angle of the relative speed area between the smart driving car and the i-th obstacle, β(i) represents the range angle of the relative speed area between the smart driving car and the i-th obstacle, and R(i) represents the artificially set safety radius for the smart driving car to avoid collision with the i-th obstacle.
[0171] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention. In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A multi-potential field fusion intelligent driving car safe obstacle avoidance method, characterized by: The steps include: Step S10: Calculate the range angles and inclination angles of the intelligent driving car and the multiple obstacles respectively, and obtain the relative speed areas of the intelligent driving car and the multiple obstacles respectively; Step S20: constructing corresponding velocity potential fields of the intelligent driving car and the multiple obstacles according to the relative velocity regions of the intelligent driving car and the multiple obstacles, so as to meet the safety obstacle avoidance requirements of the multiple obstacles with different speeds; Step S30, constructing a road potential field that satisfies safe obstacle avoidance at different road boundaries; Step S40, combining the road potential field and the multiple speed potential fields, designing a fuzzy weight allocation method to adaptively allocate weights of the road potential field and the multiple speed potential fields, and combining the weighted road potential field and the multiple speed potential fields to obtain a total potential field; Step S50: Calculate the negative gradient of the total potential field using the gradient descent method, establish the motion equation of the intelligent driving vehicle, substitute the negative gradient of the total potential field into the motion equation of the intelligent driving vehicle, and obtain a safe obstacle avoidance path that satisfies multiple obstacles of different speeds and different boundary roads at the same time; Step S60: determine whether the set conditions for completing obstacle avoidance are met based on the driving state of the intelligent driving car on the safe obstacle avoidance path and the movement of multiple obstacles. If not, repeat steps S10 to S60; if satisfied, the intelligent driving car completes obstacle avoidance.
2. The intelligent driving vehicle safety obstacle avoidance method according to claim 1, characterized in that: The number of the plurality of obstacles in step S10 is n, where n=1, 2...i...n; wherein the relative speed region between the intelligent driving vehicle and the i-th obstacle is as follows: Where α(i) and β(i) represent the range angle and tilt angle of the relative speed area between the intelligent driving car and the i-th obstacle, respectively; X and Y represent the longitudinal coordinate and lateral coordinate of the intelligent driving car, respectively; X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and R(i) represents the artificially set safety radius for the intelligent driving car to avoid collision with the ith obstacle.
3. The intelligent driving vehicle safety obstacle avoidance method according to claim 2, characterized in that: The number of the multiple obstacles in step S20 is n, where n=1, 2...i...n; wherein the velocity potential field between the intelligent driving vehicle and the i-th obstacle is: Where U v (i) is the velocity potential field between the intelligent driving car and the i-th obstacle, c1 represents the intensity coefficient, c2 is a small positive constant, d v (i) represents the distance from the speed of the intelligent driving car to the center line of the relative speed area between the intelligent driving car and the i-th obstacle; D v (i) represents the distance from the boundary of the relative speed area between the intelligent driving vehicle and the i-th obstacle to the center line, and its calculation formula is as follows: D v (i)=l v (i)·tan(β(i)) Where β(i) represents the inclination angle of the relative speed area between the intelligent driving car and the i-th obstacle; l v (i) represents the relative speed between the intelligent driving car and the ith obstacle on the center line of the area and d v (i) The corresponding length is calculated as follows: In the formula, v x and v y They represent the longitudinal speed and lateral speed of the intelligent driving car, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle, respectively, and the calculation formula is as follows: Where α(i) represents the range angle of the relative speed area between the intelligent driving car and the i-th obstacle.
4. The intelligent driving vehicle safe obstacle avoidance method according to claim 3, characterized in that: The road potential field is: Where U r (X, Y) is the road potential field, c3 is the intensity coefficient, c4 is a small positive constant, D r represents the scope of action of the road potential field, d r (X,Y) represents the distance from the smart driving car to the road boundary.
5. The intelligent driving vehicle safe obstacle avoidance method according to claim 4, characterized in that: The input of the fuzzy weight allocation method in step S40 includes the estimated collision time t between the intelligent driving vehicle and the i-th obstacle v (i) Estimated collision time t between the intelligent driving car and the road boundary r , the output includes the velocity potential field weight c of the intelligent driving car and the i-th obstacle v (i) Road potential field weight c r , the fuzzy weight allocation method comprises the following steps: Step a: The estimated collision time t between the intelligent driving car and the i-th obstacle v (i) and the estimated collision time t between the intelligent driving car and the road boundary r Normalization, the normalization range is set to [-4,4], and the normalization calculation formula is as follows: In the formula, min(t v )、min(t r ) are the minimum estimated collision time between the intelligent driving car and the obstacle, and the minimum estimated collision time between the intelligent driving car and the road boundary, respectively. max(t v )、max(t r ) are the maximum estimated collision time between the intelligent driving car and the obstacle, and the maximum estimated collision time between the intelligent driving car and the road boundary, respectively; Step b: Establish a first membership function, a second membership function, a third membership function and a fourth membership function, wherein the first membership function and the second membership function are respectively used to convert Transformed into corresponding fuzzy variables; Step c: Refine the general experience of obstacle avoidance to obtain c v (i) The inference rule table and c r According to the third membership function, the fourth membership function and the two inference rule tables, c is obtained. v (i) The fuzzy variables and c r The fuzzy variables of ; the general experience of obstacle avoidance is: When t v (i) Small and t r When large, c v (i) Take a large value, and c r It should take a small value; When t v (i) Small and t r Hours, c v (i) Take the median value, and c r The median value should also be taken; When t v (i) Large and t r Hours, c v (i) Take a small value, and c r It should take a large value; When t v (i) Large and t r When large, c v (i) Take the median value, and c r The median value should also be taken; Step d: Defuzzify c v (i) The fuzzy variables and c r The fuzzy variables are transformed into corresponding clear variables to obtain the velocity potential field weights c v (i) and the road boundary potential field weight c r ,Defuzzification methods include but are not limited to the maximum membership method, ,centroid method and weighted average method; Step e: Set the velocity potential field weight c v (i) and the road boundary potential field weight c r Normalized to [0,1], the normalization formula is as follows; In the formula, represents the normalized velocity potential field weight; Represents the normalized road boundary potential field weight.
6. The intelligent driving vehicle safe obstacle avoidance method according to claim 5, characterized in that: The estimated collision time between the intelligent driving car and the ith obstacle in step a is: In the formula, v r (i) represents the velocity vector of the intelligent driving car relative to the i-th obstacle, ||v r (i)||2 represents v r (i) 2-norm, v represents the speed vector of the intelligent driving car, V R (i) represents the relative speed area between the intelligent driving car and the i-th obstacle, max(t v ) represents the maximum estimated collision time between the intelligent driving car and the obstacle, d′ v (i) represents the distance between the intelligent driving car and the i-th obstacle, and its calculation formula is as follows: In the formula, (X o1 ′(i),Y o1 ′(i)) and (X o2 ′(i),Y o2 ′(i)) represents the two intersection points of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius and the estimated path of the intelligent driving car. The calculation formula of the obstacle circle formed by the ith obstacle with the safety radius R(i) as the radius is as follows: (x-X o (i)) 2 +(y-Y o (i)) 2 =R(i) 2 Where, X o (i) and Y o (i) represents the longitudinal coordinate and lateral coordinate of the ith obstacle, respectively, and (x, y) represents the coordinates of any point in the coordinate system; The calculation formula for the estimated path of an intelligent driving car is as follows: In the formula, v ox (i) and v oy (i) represents the longitudinal velocity and lateral velocity of the ith obstacle; v x and v y Represent the longitudinal speed and lateral speed of the smart driving car respectively.
7. The intelligent driving vehicle safe obstacle avoidance method according to claim 6, characterized in that: The estimated collision time t between the intelligent driving car and the road boundary in step a r for: Where θ represents the angle at which the intelligent driving car deviates from the lane; ||v||2 represents the 2-norm of v.
8. The intelligent driving vehicle safe obstacle avoidance method according to claim 7, characterized in that: The total potential field in step S40 is the weighted sum of the velocity potential field of each obstacle and the road boundary: Where n represents the number of obstacles and U represents the total potential field.
9. The intelligent driving vehicle safe obstacle avoidance method according to any one of claims 1 to 8, characterized in that: The motion equation of the intelligent driving car in step S50 is: v x (k+1)=v x (k)+a x (k)·t0 v y (k+1)=v y (k)+a y (k)·t0 X(k+1)=X(k)+v x (k)·t0+0.5·a x (k)·t0 2 Y(k+1)=Y(k)+v y (k)·t0+0.5·a y (k)·t0 2 Among them, v x (k) represents the longitudinal velocity at time k along the path; v y (k) represents the lateral speed at time k along the path; X(k) represents the longitudinal coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path; Y(k) represents the lateral coordinate of the intelligent driving car at time k when the intelligent driving car is traveling on the path; t0 represents the sampling interval, a x (k) and a y (k) respectively represent the longitudinal acceleration and lateral acceleration of the intelligent driving car obtained by gradient descent method at the k sampling time; The calculation formulas for the longitudinal acceleration and lateral acceleration of the intelligent driving car are:
