Intelligent automobile emergency obstacle avoidance control method based on acceleration vector control
By describing the emergency obstacle avoidance problem of smart cars as an optimal control problem, using the acceleration vector trajectory and tire force model, the obstacle avoidance controller is designed, which solves the problem of poor obstacle avoidance effect in the existing technology and realizes the intelligent Improvement of optimal obstacle avoidance performance and computational efficiency in automobiles.
Patent Information
- Application Number
- CN202411006263.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-15
AI Technical Summary
When facing obstacles, the existing emergency obstacle avoidance control methods of smart cars have unsatisfactory obstacle avoidance effects, insufficient utilization of tire force, and unreasonable strategies, resulting in insufficient safety in front of larger obstacles.
The optimal obstacle avoidance problem is described as an optimal control problem. By establishing the acceleration vector trajectory and using the vehicle acceleration vector and tire force model, the obstacle avoidance controller is designed to track the optimal acceleration vector trajectory and control the front and rear wheel steering angles and brakes. dynamic pressure to achieve optimal obstacle avoidance effect.
It achieves the maximum distance between the car and the obstacle in the case of emergency obstacle avoidance, improves the obstacle avoidance performance, and reduces the computational burden through analytical solutions, making it suitable for real-time online operation.
Smart Images

Figure CN118770199A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile motion control, and in particular to an intelligent automobile emergency obstacle avoidance control method based on acceleration vector control. Background Art
[0002] With the development of automobile chassis electronic control systems and autonomous driving technology, autonomous driving smart cars now have the ability to steer by wire and brake by wire for the front and rear wheels, making the tire's side slip angle and slip rate fully controllable, and ultimately making the car's acceleration vector controllable, providing the execution conditions for the smart car's emergency obstacle avoidance control.
[0003] However, the current obstacle avoidance control method for smart cars is mainly hierarchical control, which is divided into a trajectory planning layer and a trajectory tracking layer. It reduces the obstacle avoidance problem to a trajectory tracking problem. Therefore, when facing emergency conditions, the obstacle avoidance effect is not ideal, the tire force is often not fully utilized, the obstacle avoidance strategy is unreasonable, and the optimal obstacle avoidance effect cannot be achieved. Therefore, it is not safe enough when facing larger obstacles. Summary of the invention
[0004] In order to address the shortcomings of the background technology, the present invention provides an intelligent vehicle emergency obstacle avoidance control method based on acceleration vector control, which describes the optimal obstacle avoidance problem as an optimal control problem, and gives an acceleration vector trajectory that maximizes the distance from the obstacle avoidance trajectory to the obstacle. When encountering an obstacle, controlling the vehicle to track the trajectory can achieve excellent obstacle avoidance performance.
[0005] To achieve the above object, the present invention adopts the following technical solution: an intelligent vehicle emergency obstacle avoidance control method based on acceleration vector control, comprising the following steps:
[0006] Step 1: Modeling the obstacle avoidance problem
[0007] Assume that the outline of the obstacle facing the car is a horizontal straight line. Obstacle avoidance starts when the car finds the obstacle and ends when the car passes through the extension line of the obstacle. The control goal of optimal obstacle avoidance is that the car is farthest from the obstacle at the end of obstacle avoidance, and the car is set to avoid obstacles to the left.
[0008] First, establish a ground coordinate system. The foot of a perpendicular line drawn from the center of mass of the car to the obstacle at the beginning of obstacle avoidance is taken as the origin. The X-axis points forward along the perpendicular line, and the Y-axis points to the left along the straight line of the obstacle. Then establish a car coordinate system with the center of mass of the car as the origin, the X-axis points to the front of the car, and the Y-axis points to the left of the car. The components of the car speed v on the X-axis and Y-axis of the ground coordinate system are recorded as G v x and G v y , the components on the X-axis and Y-axis of the vehicle coordinate system are respectively denoted as Vv x and V v y The angle between the vehicle acceleration direction a and the negative direction of the ground coordinate system X-axis is recorded as G θ, the angle between the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ;
[0009] The coordinate transformation between the vehicle coordinate system and the ground coordinate system is as follows:
[0010] V v x = G v x cos(Ψ)+ G v y sin(Ψ
[0011] V v y = G v y cos(Ψ)- G v x sin(Ψ
[0012] V θ= G θ-Ψ
[0013] Assuming the coordinates of the center of mass of the vehicle in the ground coordinate system are (X, Y), the vehicle kinematic model is expressed as:
[0014]
[0015] Where Ψ is the heading angle of the vehicle, and r is the yaw rate;
[0016] Step 2: Build a vehicle dynamics model
[0017] In the vehicle coordinate system, the steering angles of the front and rear wheels are denoted as δ f and δ r , a tire coordinate system is established on each tire, with the tire center as the origin, the X-axis pointing forward along the tire plane, and the Y-axis pointing to the left perpendicular to the tire plane. i The angle between the direction and the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ i , and the angle between it and the negative direction of the X-axis of the tire coordinate system is recorded as The subscripts i = 1, 2, 3, 4 represent the left front wheel, right front wheel, left rear wheel, and right rear wheel in order, respectively; the subscript f represents the front axle, f = 1, 2; the subscript r represents the rear axle, r = 3, 4;
[0018] At the front and rear axles, the two angles V θ i and The conversion relationship is as follows:
[0019]
[0020] The vehicle dynamics model is expressed as:
[0021]
[0022] V θ=atan2( V a y , V a x )
[0023]
[0024] Where, M is the vehicle mass;
[0025] Step 3: Build tire force model
[0026] When modeling and solving the optimal control problem, the tire force is described by friction circle constraints, and the maximum acceleration of the vehicle does not exceed a max =μg, g represents the acceleration of gravity. When tracking the acceleration of the vehicle, the magic formula is used to describe the tire force of each tire as the following functional relationship:
[0027] [F x ,F y ]=F(α,κ,μ,F z )
[0028] Among them, F x Represents the tire longitudinal force, F y represents the tire lateral force, α represents the tire slip angle, κ represents the tire slip rate, μ represents the road adhesion coefficient, F z Represents tire load;
[0029] The tire loads on the front and rear axles are:
[0030]
[0031] The tire side slip angles of the front and rear axles are:
[0032]
[0033] In the formula, l f and l r are the distances from the center of mass of the vehicle to the front axle and the rear axle respectively;
[0034] Step 4: Obtain basic parameters of the vehicle and the environment
[0035] Obtain vehicle parameters including vehicle mass M, distance l from vehicle center of mass to front axle and rear axle f and l r And the magic formula requires tire side slip angle β, tire slip rate κ, tire load F z , obtain environmental parameters including road adhesion coefficient κ, coordinates of the center of mass of the vehicle in the ground coordinate system at the beginning of obstacle avoidance (X 0 ,0) and the components of the vehicle speed v on the X-axis and Y-axis of the ground coordinate system at the beginning of obstacle avoidance G v x0 and G v y0 ;
[0036] Step 5: Formulate the optimal obstacle avoidance problem as an optimal control problem
[0037] It is assumed that the vehicle acceleration a=a during obstacle avoidance max , replace a in the vehicle dynamics model with a max , the optimal obstacle avoidance problem is described as an optimal control problem with the optimization index H:
[0038]
[0039] x(0)=x 0
[0040] ψ(t f )=0
[0041] In the formula, u represents the control quantity G θ,t f represents the terminal moment when obstacle avoidance ends, φ represents the terminal performance index function, and x represents the state quantity [X, Y, G v x , G v y ] T , x 0 The initial value of the state variable is [X 0 ,0, G v x0 , G v y0 ] T , ψ represents the terminal condition, ψ=X, f represents the established vehicle dynamics model, and each variable in the optimal control problem is regarded as a function of time;
[0042] Step 6: Solve the optimal control problem
[0043] Apply the minimum principle to the optimal control problem and introduce the co-state quantity as follows:
[0044] λ=[λ 1 ,λ 2 ,λ3 ,λ 4 ] T
[0045] The upper right corner mark * represents the optimal trajectory. According to the cross-section condition, we have:
[0046]
[0047] In the formula, γ is the Lagrange multiplier, and the formula can be written as:
[0048]
[0049] The Hamiltonian function is:
[0050] H=λ T f= G v x λ 1 + G v y λ 2 -a max cos( G θ)λ 3 +a max sin( G θ)λ 4
[0051] According to the minimum principle, H(t f )=0, that is:
[0052] H(t f )=γ G v x (t f )- G v y (t f )=0
[0053] Then, solve:
[0054]
[0055] The regularity condition is:
[0056]
[0057] Right now:
[0058]
[0059] According to the minimum principle, the optimal control quantity should make the Hamiltonian function take the minimum value:
[0060]
[0061] Combining the regularity and transversality conditions, the optimal control problem can be solved analytically;
[0062] Analyze the Hamiltonian function so that the control quantity that achieves the minimum value satisfies:
[0063]
[0064] Combining the regularity condition and the transversality condition, we get the optimal costate as a function of time:
[0065]
[0066]
[0067] in, and Always proportional, indicating G θ * is a constant, and:
[0068]
[0069] The optimal obstacle avoidance trajectory conforms to the law of oblique projection motion and is obtained by integration:
[0070]
[0071] Further f Substitute the time independent variable t to obtain the terminal state, and combine the terminal conditions to obtain the following set of equations:
[0072]
[0073] The system of equations contains three unknowns and t f , and then the optimal control trajectory is obtained by numerical method. G θ * (t);
[0074] Step 7: Design an obstacle avoidance controller based on the solution to the optimal control problem
[0075] The obstacle avoidance controller first gives the optimal control trajectory, then tracks the desired acceleration direction by controlling the direction of the tire force of each wheel, and finally achieves the desired tire force by controlling the steering angle of the front and rear wheels and the slip rate of each tire. The obstacle avoidance controller includes an optimal controller, a proportional integral controller, coordinate transformation, tire force solution, steering control, and slip rate control, where:
[0076] The optimal controller solves the final set of equations in step six online;
[0077] The proportional-integral controller acts as a feedback controller and cooperates with the feedforward path to control the direction of the vehicle's acceleration.G θ tracks the direction of desired acceleration G θ d , whose input is the deviation of the vehicle acceleration direction from the expected acceleration direction e= G θ d - G θ, the output is G θ cf , combined with the feedforward control quantity to form the acceleration direction control quantity G θ c = G θ cf + G θ d , the proportional-integral controller is designed as:
[0078] G θ cf =Pe+I∫e dt
[0079] Among them, P and I are parameters;
[0080] The coordinate transformation controls the acceleration direction of the ground coordinate system G θ c Convert to tire coordinate system
[0081] V θ c = G θ c +Ψ
[0082]
[0083] The tire force solution calculates the tire side slip angle α and tire slip rate κ corresponding to the maximum tire force in the direction according to the tire force direction, and the input is the acceleration direction control quantity of the tire coordinate system The output is the desired tire slip angle α for each axle id and the expected slip ratio κ of each tire id , the tire force solution is obtained by solving the following optimization problem:
[0084]
[0085] [F x ,F y ]=F(α,κ,μ,F z )
[0086] For a given tire and road surface, the solution to the optimization problem is given by The mapping to α and κ is denoted as:
[0087]
[0088] The expected tire slip angle and expected slip rate of each wheel are expressed as:
[0089]
[0090]
[0091] κ 1d =κ 2d =κ fd
[0092] κ 3d =κ 4d =κ rd
[0093] In addition, the tire force solution also outputs the expected longitudinal force expressed as:
[0094]
[0095] The steering control is used to control the steering angles of the front and rear wheels so that the tire side slip angles of the front and rear axles are equal to the desired values. The input is the component of the vehicle speed. V v x and V v y And the yaw rate r, the steering angles of the output front and rear wheels are expressed as:
[0096]
[0097] The slip ratio control is achieved by controlling the brake pressure p of each wheel cylinder. i , so that the slip rate of each tire tracks the expected slip rate, and the input is the expected slip rate κ id and the actual slip rate κ i , the output is the brake pressure p of each wheel cylinder i , the control law is designed as:
[0098]
[0099] In the formula, k p is the ratio of braking force to wheel cylinder pressure, k 1 is an adjustable parameter, and sign() represents the sign function.
[0100] Compared with the prior art, the beneficial effects of the present invention are as follows: for an intelligent vehicle in which the steering and braking of the front and rear wheels can be controlled, the present invention uses the acceleration vector as the control quantity, controls the obstacle avoidance trajectory more directly and has a better effect, describes the optimal obstacle avoidance problem as an optimal control problem, and provides an acceleration vector trajectory that maximizes the distance from the obstacle avoidance trajectory to the obstacle based on the speed and obstacle position of the vehicle when encountering an obstacle, which can theoretically guarantee the optimal obstacle avoidance distance, and then track the trajectory by controlling the steering angles of the front and rear wheels and the braking pressure, and has excellent obstacle avoidance performance under emergency obstacle avoidance conditions, and provides an analytical solution to the optimal control problem, which effectively reduces the computational burden and is conducive to the real-time online operation of the method. BRIEF DESCRIPTION OF THE DRAWINGS
[0101] Figure 1 is a schematic diagram of a ground coordinate system established by the present invention;
[0102] Figure 2 is a schematic diagram of the automobile coordinate system established by the present invention;
[0103] Figure 3 is a schematic diagram of a tire coordinate system established by the present invention;
[0104] Figure 4 It is a schematic diagram of the acceleration of a car constrained by a friction circle in the present invention;
[0105] Figure 5 It is a structural schematic diagram of the obstacle avoidance controller in the present invention. DETAILED DESCRIPTION
[0106] The technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0107] like Figure 1 to Figure 5 As shown in the figure, an intelligent vehicle emergency obstacle avoidance control method based on acceleration vector control is firstly regarded as a mass point, the optimal obstacle avoidance problem is described as an optimal control problem, and an analytical solution is obtained, thereby obtaining the optimal acceleration vector trajectory, and then tracking the trajectory by controlling the front and rear wheel steering angles of the vehicle and the braking pressures of the four wheel cylinders, specifically comprising the following steps:
[0108] Step 1: Modeling the obstacle avoidance problem
[0109] Assume that the outline of the obstacle facing the car is a horizontal straight line. Obstacle avoidance starts when the car finds the obstacle and ends when the car passes through the extension line of the obstacle. The control goal of optimal obstacle avoidance is that the car is farthest from the obstacle at the end of obstacle avoidance, which means that the car can avoid wider obstacles. Without loss of generality, the car is set to avoid obstacles to the left.
[0110] Combination Figure 1-2 As shown, first establish the ground coordinate system, draw a perpendicular line from the center of mass of the car to the obstacle at the beginning of obstacle avoidance, the foot of the perpendicular is the origin of the ground coordinate system, and the X-axis points forward along the perpendicular line as G The X and Y axes point to the left along the straight line of the obstacle. G The Y vector is marked with the upper left subscript G in the ground coordinate system. Then the car coordinate system is established, with the car's center of mass GC as the origin of the car coordinate system, and the X axis pointing to the front of the car is recorded as V X, Y axis pointing to the left side of the car is recorded as V The vector Y is marked with a superscript V in the vehicle coordinate system. The vehicle speed is denoted as v, and its components on the X and Y axes of the ground coordinate system are denoted as G v x and G v y , whose components on the X-axis and Y-axis of the vehicle coordinate system are respectively denoted as V v x and V v y The acceleration of the car is recorded as a, and the angle between its direction and the negative direction of the X-axis of the ground coordinate system is recorded as G θ, the angle between its direction and the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ, since the car should be as far away from obstacles as possible, there should be
[0111] The coordinate transformation between the vehicle coordinate system and the ground coordinate system is as follows:
[0112] V v x = G v x cos(Ψ)+ G v y sin(Ψ)
[0113] V v y = G v y cos(Ψ)- G v x sin(Ψ)
[0114] V θ= G θ-Ψ
[0115] Assuming the coordinates of the center of mass of the vehicle in the ground coordinate system are (X, Y), the vehicle kinematic model is expressed as:
[0116]
[0117] Where Ψ is the rotation angle of the vehicle coordinate system relative to the ground coordinate system, that is, the vehicle heading angle, and r is the yaw rate;
[0118] Step 2: Build a vehicle dynamics model
[0119] Combination Figure 2-3 As shown, in the vehicle coordinate system, the steering angles of the front and rear wheels are denoted as δ f and δ r , the direction is left-turning as positive, and a tire coordinate system is established on each tire. The tire center is taken as the origin of the tire coordinate system, and the X-axis points straight ahead along the tire plane and is recorded as The Y axis is perpendicular to the tire plane and points to the left. The magnitude of each tire force is denoted as F i , the angle between its direction and the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ i , the angle between its direction and the negative direction of the X-axis of the tire coordinate system is recorded as Among them, i=1, 2, 3, 4 represent the left front wheel, the right front wheel, the left rear wheel, and the right rear wheel respectively. Represents the speed of the tire center. The angle between its direction and the positive direction of the X-axis of the tire coordinate system is the tire slip angle. It can be approximately assumed that the slip angles of coaxial tires are equal. The tire slip angle of the front axle is recorded as α f , the tire slip angle of the rear axle is denoted as α r .
[0120] At the front and rear axles, the two angles V θ i and The conversion relationship is as follows:
[0121]
[0122] The vehicle dynamics model is expressed as:
[0123]
[0124] V θ=atan2( V a y , V a x )
[0125]
[0126] Where, M is the vehicle mass;
[0127] Step 3: Build tire force model
[0128] Combination Figure 4 As shown in the figure, when modeling and solving the optimal control problem, in order to simplify the analysis and calculation, the description of the tire force adopts a simple friction circle constraint, that is, the maximum force of each tire does not exceed μF z , where μ represents the road adhesion coefficient, F z represents the tire load, and the direction of the tire force can be arbitrary. Under this friction circle constraint, the maximum acceleration of the car does not exceed a max =μg, where g represents the acceleration due to gravity, and its direction can be arbitrary. When tracking the acceleration of the car, a more accurate magic formula is used, which describes the tire force of each tire as the following functional relationship:
[0129] [F x ,F y ]=F(α,κ,μ,F z )
[0130] Among them, F x Represents the tire longitudinal force, F y represents the tire lateral force, α represents the tire slip angle, and κ represents the tire slip rate. For specific relationships, see [1] Pacejka H. Tyre and Vehicle Dynamics [M]. Butterworth-Heinemann, 2002.
[0131] The tire loads on the front and rear axles are:
[0132]
[0133] The tire side slip angles of the front and rear axles are:
[0134]
[0135] In the formula, F zf and F zr are the tire loads on the front and rear axles, respectively, l f and l r are the distances from the center of mass of the vehicle to the front axle and the rear axle respectively;
[0136] Step 4: Obtain basic parameters of the vehicle and the environment
[0137] Obtain vehicle parameters including vehicle mass M, distance l from vehicle center of mass to front axle and rear axle f and l rAnd the magic formula requires tire side slip angle α, tire slip rate κ, tire load F z , obtain environmental parameters including the road adhesion coefficient μ, the coordinates of the center of mass of the vehicle in the ground coordinate system at the beginning of obstacle avoidance (X 0 ,Y 0 ) and the components of the vehicle speed v on the X-axis and Y-axis of the ground coordinate system at the start of obstacle avoidance G v x0 and G v y0 , where Y is defined according to the coordinate system. 0 =0;
[0138] Step 5: Formulate the optimal obstacle avoidance problem as an optimal control problem
[0139] First, according to the control goal that the car is farthest from the obstacle at the end of obstacle avoidance and the vehicle dynamics model, it is assumed that the acceleration of the car is always at its maximum value during the obstacle avoidance process, that is, a = a max , and then the a in the established vehicle dynamics model can be replaced by a max , then the optimal obstacle avoidance problem can be described as an optimal control problem with optimization index J:
[0140]
[0141] x(0)=x 0
[0142] ψ(t f )=0
[0143] In the formula, u represents the control quantity G θ,t f represents the terminal moment when obstacle avoidance ends, φ represents the terminal performance index function, and x represents the state quantity [X, Y, G v x , G v y ] T , x 0 The initial value of the state variable is [X 0 ,0, G v x0 , G v y0 ] T , ψ represents the terminal condition, since the car passes through the axle G Y represents the end of obstacle avoidance, ψ = X, f represents the established vehicle dynamics model, and all variables in the optimal control problem are considered as functions of time;
[0144] Step 6: Solve the optimal control problem
[0145] Apply the minimum principle to the optimal control problem and introduce the co-state quantity as follows:
[0146] λ=[λ 1 ,λ 2 ,λ 3 ,λ 4 ] T
[0147] The upper right corner mark * represents the optimal trajectory. According to the cross-section condition, we have:
[0148]
[0149] In the formula, γ is the Lagrange multiplier, and the formula can be written as:
[0150]
[0151] The Hamiltonian function is:
[0152] H=λ T f= G v x λ 1 + G v y λ 2 -a max cos( G θ)λ 3 +a max sin( G θ)λ 4
[0153] According to the minimum principle, H(t f )=0, that is:
[0154] H(t f )=γ G v x (t f )- G v y (t f )=0
[0155] Furthermore, we can solve:
[0156]
[0157] The regularity condition is:
[0158]
[0159] Right now:
[0160]
[0161] According to the minimum principle, the optimal control quantity should make the Hamiltonian function take the minimum value:
[0162]
[0163] Combining the regularity condition and the transversality condition, the optimal control problem can be solved analytically.
[0164] Analyze the Hamiltonian function so that the control quantity that achieves the minimum value satisfies:
[0165]
[0166] Combining the regularity condition and the transversality condition, we can obtain the optimal co-state function with respect to time, which is the optimal co-state trajectory:
[0167]
[0168] in, and Always proportional, indicating G θ * is a constant, and:
[0169]
[0170] This shows that the optimal obstacle avoidance trajectory conforms to the law of oblique projection motion, which can be obtained by integration:
[0171]
[0172]
[0173] Further f Substituting the time independent variable t into the terminal state, we can get the following set of equations combined with the terminal conditions:
[0174]
[0175] The system of equations contains three unknowns and t f , can be solved by numerical methods, and further the optimal state trajectory x can be obtained * (t), optimal co-state trajectory λ * (t) and the optimal control trajectory G θ * (t), the optimal control problem has been solved. Since the key parameters obtained when establishing the optimal control problem include the position of the center of mass of the vehicle at the time of obstacle onset, X 0 and the speed of the car G v x0 and G v y0It is worth noting that according to the optimality principle, in the process of obstacle avoidance, every moment can be regarded as the start moment of obstacle avoidance, and the optimal control trajectory obtained is consistent;
[0176] Step 7: Design an obstacle avoidance controller based on the solution to the optimal control problem
[0177] Combination Figure 5 As shown in the figure, the control target of the obstacle avoidance controller is to make the car farthest from the obstacle at the end of the obstacle avoidance. The input is the position X of the center of mass of the car and the component of the car speed. G v x and G v y , direction of vehicle acceleration G θ, vehicle heading angle Ψ and each tire slip rate κ i , the output is the steering angle δ of the front and rear wheels f and δ r And the brake pressure p of each wheel cylinder i When emergency obstacle avoidance is initiated, the current moment is always regarded as the start moment of obstacle avoidance. The obstacle avoidance controller first gives the optimal control trajectory according to the current position and speed, that is, the desired acceleration direction, and then tracks the desired acceleration direction by controlling the direction of the tire force of each wheel. Finally, the desired tire force is achieved by controlling the steering angle of the front and rear wheels and the slip rate of each tire.
[0178] The obstacle avoidance controller includes six parts: optimal controller, proportional integral controller, coordinate transformation, tire force solution, steering control and slip rate control, among which:
[0179] The optimal controller solves the final set of equations in step six online;
[0180] The purpose of the proportional-integral controller is to act as a feedback controller, in conjunction with the feedforward path, to control the direction of the vehicle's acceleration. G θ tracks the direction of desired acceleration G θ d , whose input is the deviation of the vehicle acceleration direction from the expected acceleration direction e= G θ d - G θ, the output is G θ cf , combined with the feedforward control quantity to form the acceleration direction control quantity G θ c = G θ cf + G θ d , the proportional-integral controller is designed as:
[0181] G θ cf =Pe+I∫e dt
[0182] Among them, P and I are parameters;
[0183] The coordinate transformation controls the acceleration direction of the ground coordinate system G θ c Convert to tire coordinate system
[0184] V θ c = G θ c +Ψ
[0185]
[0186] Among them, the subscript f=1,2 represents the front axle, and r=3,4 represents the rear axle;
[0187] The tire force solution calculates the tire side slip angle α and tire slip rate κ corresponding to the maximum tire force in the direction according to the tire force direction, and the input is the acceleration direction control quantity of the tire coordinate system The output is the desired tire slip angle α for each axle id and the expected slip ratio κ of each tire id , the tire force solution is obtained by solving the following optimization problem:
[0188]
[0189] [F x ,F y ]=F(α,κ,μ,F z )
[0190] For a given tire and road surface, the solution to the optimization problem is given by The mapping to α and κ can be written as:
[0191]
[0192] The expected tire slip angle and expected slip rate of each wheel can be expressed as:
[0193]
[0194] κ 1d =κ 2d =κ fd
[0195] κ 3d =κ 4d =κ rd
[0196] In addition, the tire force solution also outputs the expected longitudinal force expressed as:
[0197] Fxid =F(α fd ,κ id ,μ,F zf ) i=1,2
[0198] F xid =F(α rd ,κ id ,μ,F zf ) i=3,4
[0199] The steering control is used to control the steering angles of the front and rear wheels so that the tire side slip angles of the front and rear axles are equal to the desired values. The input is the component of the vehicle speed. V v x and V v y And the yaw rate r, the steering angle of the output front and rear wheels can be expressed as:
[0200]
[0201] The slip ratio control is achieved by controlling the brake pressure p of each wheel cylinder. i , so that the slip rate of each tire tracks the expected slip rate, and the input is the expected slip rate κ id and the actual slip rate κ i , the output is the brake pressure p of each wheel cylinder i , the control law is designed as:
[0202]
[0203] In the formula, k p is a parameter of the braking system, which is the ratio of the braking force to the wheel cylinder pressure, k 1 is an adjustable parameter, and sign() represents the sign function.
[0204] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other forms of assembly without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered in all respects as exemplary and non-restrictive, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations within the meaning and range of equivalents of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0205] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An intelligent vehicle emergency obstacle avoidance control method based on acceleration vector control, characterized in that: The following steps are involved: Step 1: Modeling the obstacle avoidance problem Assume that the outline of the obstacle facing the car is a horizontal straight line. Obstacle avoidance starts when the car finds the obstacle and ends when the car passes through the extension line of the obstacle. The control goal of optimal obstacle avoidance is that the car is farthest from the obstacle at the end of obstacle avoidance, and the car is set to avoid obstacles to the left. First, establish a ground coordinate system. The foot of a perpendicular line drawn from the center of mass of the car to the obstacle at the beginning of obstacle avoidance is taken as the origin. The X-axis points forward along the perpendicular line, and the Y-axis points to the left along the straight line of the obstacle. Then establish a car coordinate system with the center of mass of the car as the origin, the X-axis points to the front of the car, and the Y-axis points to the left of the car. The components of the car speed v on the X-axis and Y-axis of the ground coordinate system are recorded as G v x and G v y , the components on the X-axis and Y-axis of the vehicle coordinate system are respectively denoted as V v x and V v y The angle between the vehicle acceleration direction a and the negative direction of the ground coordinate system X-axis is recorded as G θ, the angle between the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ; The coordinate transformation between the vehicle coordinate system and the ground coordinate system is as follows: V v x = G v x cos(Ψ)+ G v y sin(Ψ) V v y = G v y cos(Ψ)- G v x sin(Ψ) V θ= G I-P Assuming the coordinates of the center of mass of the vehicle in the ground coordinate system are (X, Y), the vehicle kinematic model is expressed as: Where Ψ is the heading angle of the vehicle, and r is the yaw rate; Step 2: Build a vehicle dynamics model In the vehicle coordinate system, the steering angles of the front and rear wheels are denoted as δ f and δ r , a tire coordinate system is established on each tire, with the tire center as the origin, the X-axis pointing forward along the tire plane, and the Y-axis pointing to the left perpendicular to the tire plane. i The angle between the direction and the negative direction of the X-axis of the vehicle coordinate system is recorded as V θ i , and the angle between it and the negative direction of the X-axis of the tire coordinate system is recorded as The subscripts i = 1, 2, 3, 4 represent the left front wheel, right front wheel, left rear wheel, and right rear wheel in order, respectively; the subscript f represents the front axle, f = 1, 2; the subscript r represents the rear axle, r = 3, 4; At the front and rear axles, the two angles V θ i and The conversion relationship is as follows: The vehicle dynamics model is expressed as: V θ=atan2( V a y , V a x ) Where, M is the vehicle mass; Step 3: Build tire force model When modeling and solving the optimal control problem, the tire force is described by friction circle constraints, and the maximum acceleration of the vehicle does not exceed a max =μg, g represents the acceleration of gravity. When tracking the acceleration of the vehicle, the magic formula is used to describe the tire force of each tire as the following functional relationship: [F x ,F y ]=F(a,k,m,F z ) Among them, F x Represents the tire longitudinal force, F y represents the lateral force of the tire, α represents the tire slip angle, κ represents the tire slip rate, μ represents the road adhesion coefficient, F z Represents tire load; The tire loads on the front and rear axles are: The tire side slip angles of the front and rear axles are: In the formula, l f and l r are the distances from the center of mass of the vehicle to the front axle and the rear axle respectively; Step 4: Obtain basic parameters of the vehicle and the environment Obtain vehicle parameters including vehicle mass M, distance l from vehicle center of mass to front axle and rear axle f and l r And the magic formula requires tire side slip angle α, tire slip rate κ, tire load F z , obtain environmental parameters including the road adhesion coefficient μ, the coordinates of the vehicle's center of mass in the ground coordinate system (X0,0) at the start of obstacle avoidance, and the components of the vehicle's speed v on the X and Y axes of the ground coordinate system at the start of obstacle avoidance G v x0 and G v y0 ; Step 5: Formulate the optimal obstacle avoidance problem as an optimal control problem It is assumed that the vehicle acceleration a=a during obstacle avoidance max , replace a in the vehicle dynamics model with a max , the optimal obstacle avoidance problem is described as an optimal control problem with optimization index J: x(0)=x0 ψ(t f )=0 In the formula, u represents the control quantity G θ,t f represents the terminal moment when obstacle avoidance ends, φ represents the terminal performance index function, and x represents the state quantity [X, Y, G v x , G v y ] T , x0 represents the initial value of the state quantity [X0,0, G v x0 , G v y0 ] T , ψ represents the terminal condition, ψ=X, f represents the established vehicle dynamics model, and each variable in the optimal control problem is regarded as a function of time; Step 6: Solve the optimal control problem Apply the minimum principle to the optimal control problem and introduce the co-state quantity as follows: λ=[λ1,λ2,λ3,λ4] T The upper right corner mark * represents the optimal trajectory. According to the cross-section condition, we have: In the formula, γ is the Lagrange multiplier, and the formula can be written as: The Hamiltonian function is: H=λ T f= G v x λ1+ G v y λ2-a max cos( G i)λ3+a max sin( G i)λ4 According to the minimum principle, H(t f )=0, that is: H(t f )=γ G v x (t f )- G v y (t f )=0 Then, solve: The regularity condition is: Right now: According to the minimum principle, the optimal control quantity should make the Hamiltonian function take the minimum value: Combining the regularity and transversality conditions, the optimal control problem can be solved analytically; Analyze the Hamiltonian function so that the control quantity that achieves the minimum value satisfies: Combining the regularity condition and the transversality condition, we get the optimal costate as a function of time: in, and Always proportional, indicating G θ * is a constant, and: The optimal obstacle avoidance trajectory conforms to the law of oblique projection motion and is obtained by integration: Further f Substitute the time independent variable t to obtain the terminal state, and combine the terminal conditions to obtain the following set of equations: The system of equations contains three unknowns and t f , and then the optimal control trajectory is obtained by numerical method. G θ * (t); Step 7: Design an obstacle avoidance controller based on the solution to the optimal control problem The obstacle avoidance controller first gives the optimal control trajectory, then tracks the desired acceleration direction by controlling the direction of the tire force of each wheel, and finally achieves the desired tire force by controlling the steering angle of the front and rear wheels and the slip rate of each tire. The obstacle avoidance controller includes an optimal controller, a proportional integral controller, coordinate transformation, tire force solution, steering control, and slip rate control, where: The optimal controller solves the final set of equations in step six online; The proportional-integral controller acts as a feedback controller and cooperates with the feedforward path to control the direction of the vehicle's acceleration. G θ tracks the direction of desired acceleration G θ d , whose input is the deviation of the vehicle acceleration direction from the expected acceleration direction e= G θ d - G θ, the output is G θ cf , combined with the feedforward control quantity to form the acceleration direction control quantity G θ c = G θ cf + G θ d , the proportional-integral controller is designed as: G θ cf <For+I∫edt Among them, P and I are parameters; The coordinate transformation controls the acceleration direction of the ground coordinate system G θ c Convert to tire coordinate system V i c = G i c +Ψ The tire force solution calculates the tire side slip angle α and tire slip rate κ corresponding to the maximum tire force in the direction according to the tire force direction, and the input is the acceleration direction control quantity of the tire coordinate system The output is the desired tire slip angle α for each axle id and the expected slip ratio κ of each tire id , the tire force solution is obtained by solving the following optimization problem: [F x ,F y ]=F(a,k,m,F z ) For a given tire and road surface, the solution to the optimization problem is given by The mapping to α and κ is denoted as: The expected tire slip angle and expected slip rate of each wheel are expressed as: k 1d =k 2d =k fd k 3d =k 4d =k rd In addition, the tire force solution also outputs the expected longitudinal force expressed as: F xid =F(α fd ,k id ,m,F zf ) i=1.2 F xid =F(α rd ,k id ,m,F zf ) i=3.4 The steering control is used to control the steering angles of the front and rear wheels so that the tire side slip angles of the front and rear axles are equal to the desired values. The input is the component of the vehicle speed. V v x and V v y And the yaw rate r, the steering angles of the output front and rear wheels are expressed as: The slip ratio control is achieved by controlling the brake pressure p of each wheel cylinder. i , so that the slip rate of each tire tracks the expected slip rate, and the input is the expected slip rate κ id and the actual slip rate κ i , the output is the brake pressure p of each wheel cylinder i , the control law is designed as: In the formula, k p is the ratio of braking force to wheel cylinder pressure, k1 is an adjustable parameter, and sign() represents the sign function.
Citation Information
Cited By
Zero initial value guess earth-moon Halo orbit low-thrust intersection trajectory optimization method
CN120068413A
