Large-scale commercial vehicle anti-collision decision method considering road adhesion conditions

文档序号:1930590 发布日期:2021-12-07 浏览:13次 中文

阅读说明:本技术 一种考虑路面附着条件的大型营运车辆防碰撞决策方法 (Large-scale commercial vehicle anti-collision decision method considering road adhesion conditions ) 是由 李旭 胡玮明 胡悦 胡锦超 徐启敏 于 2021-10-21 设计创作,主要内容包括:本发明公开了一种考虑路面附着条件的大型营运车辆防碰撞决策方法。首先,建立三自由度的营运车辆运动模型。其次,建立基于交互多模型的路面附着条件估计模型,对路面附着系数进行准确识别。最后,将防碰撞决策问题描述为马尔科夫决策过程,建立基于强化学习的防碰撞驾驶决策模型,得到准确、可靠、自适应路面条件的防碰撞决策策略。本发明提出的方法,综合考虑路面附着条件、前向和后向障碍物对车辆碰撞的影响,为驾驶员提供节气门开度、方向盘转角控制量等精确量化的防碰撞策略,克服了现有的大型营运车辆防碰撞驾驶策略缺乏准确性和路面条件适应性的不足。(The invention discloses an anti-collision decision method for a large-scale commercial vehicle, which considers road adhesion conditions. Firstly, a three-degree-of-freedom commercial vehicle motion model is established. Secondly, a road adhesion condition estimation model based on the interactive multi-model is established, and the road adhesion coefficient is accurately identified. And finally, describing the anti-collision decision problem as a Markov decision process, and establishing an anti-collision driving decision model based on reinforcement learning to obtain an accurate, reliable and self-adaptive anti-collision decision strategy for road conditions. The method provided by the invention comprehensively considers the influence of the road adhesion condition and the forward and backward obstacles on the vehicle collision, provides the driver with the anti-collision strategies of accurate quantification such as the throttle opening degree, the steering wheel angle control quantity and the like, and overcomes the defects of the existing anti-collision driving strategies of large commercial vehicles, such as lack of accuracy and road condition adaptability.)

1. The utility model provides a large-scale operation vehicle anticollision decision-making method of considering road surface adhesion condition which characterized in that: the method comprises the following steps:

the method comprises the following steps: establishing a dynamic model of vehicle motion

A three-degree-of-freedom model is adopted, namely longitudinal, lateral and transverse rotation is considered, and vehicle dynamics modeling is carried out; the point O is the center of mass of the vehicle, the left and right wheels of the front axle are combined into a point C, and the left and right wheels of the rear axle are combined into a point D; the dynamic model of the vehicle is described as:

in which the superscript ". cndot.Denotes vxDifferential of (a), omegas,vx,vy,ax,ayRespectively representing yaw rate, longitudinal rate, lateral rate, longitudinal acceleration and lateral acceleration of the pilot vehicle, M, delta, IzRespectively representing the mass of the pilot vehicle, the steering angle of the front wheel and the moment of inertia around the vertical axis of the coordinate system of the vehicle bodyf,lrRespectively representing the distances of the centre of mass of the vehicle to the front and rear axles, Fxf,Fxr,Fyf,FyrRespectively representing the longitudinal force and the lateral force applied to the front wheel and the rear wheel;

wherein the lateral force of the tire is expressed as:

Fyf=Cαf·αf Fyr=Cαr·αr (2)

in the formula, Cαf,CαrRespectively representing the cornering stiffness, alpha, of the front and rear tyresfrRespectively representing the slip angles of the front and rear tires, and alphaf=δ-(vy+lfrs)/vxr=(lrrs-vy)/vx

The longitudinal force of the tire is expressed as:

in the formula, Fxf,FxrRespectively representing the longitudinal forces acting on the front and rear tyres, Cxf,CxrRespectively representing the longitudinal stiffness of the front and rear tires, mu being the road adhesion coefficient, Fzf,FzrRespectively, the vertical loads of the front and rear tires, sxf,sxrRespectively represents the longitudinal slip ratio of the front and rear tires, and is obtained by the following formulas (4) and (5):

in the formula, RtyreIs the radius of the tire, omegafrRespectively representing the angular velocities of rotation of the front and rear wheels, obtainable by calculation from the linear velocity measured by the wheel speed sensor, vxf,vxrRespectively, the speeds in the tire direction on the front and rear wheel shafts, and vxr=vx,vxf=vxcosδ+(vy+lfωs)sinδ;

Step two: road adhesion coefficient estimation model based on interactive multiple models is established

And (3) carrying out recursive estimation on the road adhesion coefficient, the yaw velocity, the transverse velocity and the longitudinal velocity of the vehicle by adopting a UKF algorithm, specifically:

with the vehicle and tire models described in formula (1), formula (2), and formula (3), 10 different UKF filter models were established for 10 cases in which the road surface adhesion coefficients were 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0, respectively; therefore, there should be 10 filter state equations established; the 10 models have the same form and are only different in the value of the road surface adhesion coefficient;

firstly, for the motion process of the vehicle, a system state vector X is takenl=[vx vy ωs]TWherein, the superscript T of the matrix represents the transposition of the matrix, and T is the discrete period; establishing a system state equation according to a dynamic model described by the formula (1):

Xl=fl(Xl,Ul,Wll) (6)

in the formula, the subscript l denotes the ith model, f (-) is a 3-dimensional vector function, WlZero mean system Gaussian white noise, gammalInputting corresponding zero mean value white Gaussian noise, U, for the outside of the systemlIs a system external input vector and Ul=[δ Fl_xf Fl_xr]TWhere δ is the front wheel steering angle, and δ ═ εss,εsIs the steering wheel angle and CAN be obtained through a vehicle body CAN bus, rhosFor the gear ratio of the steering system, Fl_xfAnd Fl_xrRespectively representing the longitudinal force of a front tire and a rear tire in the first model, and being determined by a brush tire model; gamma raylZero mean Gaussian white noise vector corresponding to external input vector of representing systemWherein, ω isδRepresents zero mean gaussian white noise corresponding to the external input delta of the system,andis represented by Fl_xfAnd Fl_xrCorresponding zero isGaussian white noise values, which are implicit in the system external inputs of the state equation;

secondly, selecting an inertial measurement unit as a measurement sensor of the vehicle motion, and taking the longitudinal forward speed and the yaw rate of the vehicle as the system observation vectors, the observation equation of the system can be expressed as:

Z(t)=h(X(t),V(t)) (7)

where h is an observation equation, t represents time, and a system observation vector Z ═ vx_m ωz_m]TWherein v isx_mz_mRespectively representing the longitudinal forward speed and the yaw rate of the vehicle, which can be measured by an inertial measurement unit;

discretizing the equations (7) and (8), wherein the discretized system state equation and observation equation are respectively as follows:

where k is the discretization time, the system process noise Wl=[w1 w2 w3]TWherein w is1,w2,w3Respectively represent 3 system Gaussian white noise components, Wl(k-1) corresponding Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively represent white gaussian noise w1,w2,w3A corresponding variance; u shapel(k-1) a system external input vector representing the ith model at time k-1; vlObserve the noise for the system, and Vl=[v1 v2]TWherein v is1,v2Respectively representing two systematic white Gaussian noise components, Vl(k) Corresponding measured Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively representing Gaussian white noise v1,v2The corresponding variance is determined according to the position, speed and the statistical characteristics of the yaw rate measurement noise of the sensor; noise input outside the systemWherein the content of the first and second substances,respectively represent delta, Fxf,FxrCorresponding zero mean Gaussian white noise components, which are implicit in the system state function flThe three system external inputs of (1); the system state function is:

wherein the content of the first and second substances,

and finally, according to a system state equation and an observation equation described by the formula (8), establishing a filtering recursion process based on an interactive multi-model by using an interactive multi-model filtering theory, and performing parameter estimation by using time updating and measurement updating:

(1) interactive estimation computation

The transition probability among the 10 UKF filtering models is pjlWhen the subscripts j and l (j is 1,2, …,10, l is 1,2, …,10) indicate the probability of transition from the state j to the state l, the model probability ρ of the l-th model is predictedl(k, k-1) and the prediction mixture probability ρjl(k-1) are respectively:

then the input of the ith filter at time k after the cross estimation is:

(2) model conditional filtering

For the state equation and the observation equation described by the equation (6) and the equation (7), applying the kalman filtering theory, performing the UKF filtering recursion on each filter, wherein the filtering process of the l model is as follows:

1) initializing input variables and calculating parameters

In the formula, P0For the initial error variance matrix, in the present invention, a variable with a superscript symbol ^ represents the filtered estimate of the variable, e.g.To represent an initial value X of an input variable0The filtered estimate of (a);

2) state estimation

In the formula, xii(k-1) is a Sigma point,is the ith column, x, of the square root of the weighted covariance matrixdimIs the dimension of the state vector;

wherein λ is a distance parameter, and λ ═ xdim2-1), alpha is a first scale factor,weight coefficients representing the mean and variance, respectively;

3) time updating

ξi(k,k-1)=fli(k,k-1)],i=0,1,...,2xdim (17)

In the formula (I), the compound is shown in the specification,for optimal estimation of the time k-1, Pl(k, k-1) is a one-step prediction error variance matrix at time k;

4) observation update

χi(k,k-1)=hli(k,k-1)] (20)

In the formula, xi(k, k-1) represents the value of the observation equation after the transformation of the Sigma point set,a one-step predictive observation representing a time k recurred from time k-1,to predict covariance, PXZCovariance of the state value and the measured value;

5) filter update

In the formula, Kl(k) In order to filter the gain matrix of the filter,as state quantity estimation value, Pl(k) An estimation error variance matrix is obtained;

(3) model probability update

After each model completes the update of the previous step, the maximum likelihood function Lambda is utilizedl(k) Calculating new model probabilities:

according to Bayes' theorem, model probability rho of the ith model at the time kl(k) Comprises the following steps:

(4) calculating road surface adhesion coefficient

After calculating the correct posterior probability of each model, firstly, probability weighting and summing are carried out on the state estimation of all filters, the weighting coefficient is the correct posterior probability, and the final state estimation is obtained as follows:namely the longitudinal speed, the transverse speed and the yaw rate of the vehicle after the filtering deduction; secondly, the road adhesion coefficient μ at the current time can be obtained by probability weighting the adhesion coefficients set by the models:

in the formula, mulThe road adhesion coefficient of the first model, where l 1,2, 10,μ1=0.1,μ2=0.2,...,μ10=1.0;

step three: establishing an anti-collision driving decision model based on reinforcement learning

Establishing an anti-collision driving decision model by adopting an SARSA algorithm, and researching self-adaptive anti-collision driving strategies under different road surface conditions; the method specifically comprises the following 4 sub-steps:

substep 1: establishing a state space

The running safety of the large commercial vehicle is related to the motion state of the vehicle, and also related to the relative motion state of front and rear obstacles; therefore, by using the information of the motion state of the commercial vehicle, the information of the relative motion state, and the road surface adhesion coefficient and the yaw rate of the vehicle, which are output in the first step, which are measured by the sensors, a state space is established:

St=(vsx,vsy,vsf,vsr,asx,asy,dsf,dsrsstrbrthr,μ) (30)

in the formula, vsf,vsrRespectively representing the relative speed of the large commercial vehicle, a front vehicle and a rear vehicle, and the unit is meter per second; a issx,asyRespectively representing the transverse acceleration and the longitudinal acceleration of the large commercial vehicle, wherein the unit is meter per square second; dsf,dsrRespectively represents the relative distance between the vehicle and the front vehicle and the rear vehicle, and the unit is meter; omegasThe unit of the yaw velocity of the large commercial vehicle is radian per second; thetastrFor the steering wheel angle of large commercial vehicles in degrees, deltabrthrRespectively representing the opening of a brake pedal and the opening of a throttle valve of a large commercial vehicle, wherein the unit is percentage;

substep 2: establishing a behavioral space

Considering both the transverse motion and the longitudinal motion of the vehicle, taking the steering wheel angle and the accelerating/braking normalization quantity as control quantities, and defining a driving strategy output by a decision model, namely a behavior space:

At=[θstr_outbr_outthr_out] (31)

in the formula, AtFor action decision at time t, θstr_outRepresents the normalized steering wheel angle control quantity in the range of [ -1,1],δbr_outthr_outRespectively representing the normalized control quantity of the brake pedal and the normalized control quantity of the opening degree of the throttle valve, wherein the ranges are all [0, 1%];

Substep 3: establishing a reward function

To implement a behavior space AtQuantitative evaluation of quality, namely concretizing and digitizing the evaluation in a mode of establishing a reward function; if execution behavior space AtThen, the running state of the large-scale commercial vehicle can be safer, the return value is positive reward, otherwise, the return value is negative reward, and the anti-collision driving decision model can make a certain judgment on the last executed error action;

when an anti-collision driving strategy is established, the occurrence of vehicle collision and rollover needs to be considered at the same time, and a reward function is designed as follows:

Rt=r1+r2+r3 (32)

in the formula, RtFor a reward function at time t, r1For a safety distance reward function, r2As a comfort reward function, r3Is a penalty function;

vehicle safe distance reward function r considering road surface adhesion coefficient1

In the formula, ω12A weight coefficient of a function is awarded for the safe distance;

designing a comfort reward function r2=-|asy(t+1)-asy(t)|;

Finally, in order to judge the error action of the vehicle, a penalty function r is designed3

In the formula, SpenFor penalty, in the present invention, take Spen-500, indicating that when the vehicle crashes or rolls over, the decision model will get a penalty of-500;

substep 4: establishing a behavior selection mechanism

Considering real-time interaction with an actual traffic environment in the process of driving decision learning, the method adopts a Pursuit function to establish an anti-collision decision behavior updating mechanism;

wherein at time t +1, action decision A is selectedt=argmaxQ(St,At) Has a probability ofProbability of selecting other behavioral space is pit+1(At+1);

Substep 5: training anti-collision driving decision model based on SARSA

1) Initializing a Q value matrix and a behavior selection matrix;

2) acquiring the self motion state of the commercial vehicle and the relative motion state of the commercial vehicle and other traffic participants by using a vehicle-mounted sensor, acquiring the road adhesion coefficient by using the step one, and establishing an initial state S by using a formula (30)0

3) Using Q value experience, in state space StSelecting a driving decision strategy A according to the behavior selection strategy in the corresponding behavior space sett

4) Executing decision strategy A in the running process of commercial vehicletObserving the reward function RtAnd a new state space S'tAnd selecting the decision strategy of the next moment, namely the new behavior space A't

5) Updating the Q value, wherein the updating method comprises the following steps:

Qt(St,At)←Qt(St,At)+ψs[RtsQt(S′t,A′t)-Qt(St,At)] (36)

in the formula, #sDenotes a learning rate, thetasRepresents a discount factor;

6) new state space S'tGiving a state space StNew behavior space A'tImpartation of At

7) Repeating the step 3), the step 4), the step 5) and the step 6) until the training process is finished;

substep 6: outputting a driving strategy using an anti-collision driving decision model

And inputting all parameters in the state space into the trained anti-collision driving decision model, and outputting reasonable steering wheel rotation angle, brake pedal and throttle opening control quantity in real time to provide accurate, quantitative and reliable anti-collision driving suggestions for a driver.

Technical Field

The invention relates to a vehicle anti-collision driving strategy, in particular to a large-scale commercial vehicle anti-collision decision method considering road adhesion conditions, and belongs to the technical field of automobile safety.

Background

The safety condition of the commercial vehicle, which is a main undertaker of road transportation, directly influences the safety of road transportation. Different from small passenger vehicles, most of the vehicles for operation, transport and transportation are large and medium-sized vehicles, and the vehicle has the characteristics of large total mass, narrow wheel track and the like, and has the advantages of high vehicle operation intensity, long operation time and complex operation environment. Once a traffic accident occurs in the transportation process, serious consequences such as group death and group injury are easily caused, and adverse effects such as property loss, environmental pollution, ecological damage and the like are caused.

Relevant researches show that the collision accidents are the main accident forms of commercial vehicles, and are the main culprits of group death group injury accidents. Before a collision accident occurs to a commercial vehicle, if an anti-collision driving suggestion can be timely and accurately provided for a driver, the accident of group death and group injury caused by collision can be effectively reduced or even avoided, and the safety level of road transportation is greatly improved. Therefore, the accurate and reliable anti-collision driving decision strategy is researched, and the anti-collision driving decision strategy plays an important role in guaranteeing the in-transit operation safety of the operating vehicle.

Road adhesion coefficient is an important parameter influencing the accuracy and reliability of anti-collision decision, and the anti-collision method of the small passenger vehicle considering the change of road adhesion conditions has been researched at present, but for large commercial vehicles, the method is particularly important for preventing the vehicle from turning over besides ensuring the vehicle to be far away from collision accidents. The specific reasons are that: compared with a passenger vehicle, the large-scale commercial vehicle has the characteristics of high centroid position, high load capacity and the like, so that the braking distance is long, the side-tipping stability is poor, particularly, in the collision avoidance process of a semitrailer train for transporting goods and a semitrailer tank car for transporting dangerous goods, if the operations of emergency braking, emergency lane change and the like are adopted, the goods on the trailer or liquid in the tank can shake to further increase the instability of the vehicle, and the vehicle is extremely easy to destabilize to cause side-tipping.

In addition, under different road conditions such as wet and slippery, ice and snow, dry and the like, the braking distance, the safety distance and the braking time of the vehicle are different greatly, even the difference reaches hundreds of meters or about 10 seconds. Meanwhile, on the road surface with lower adhesion coefficient, the large commercial vehicle has poorer operation stability, and the occurrence frequency of sideslip and rollover accidents caused by instability is higher. Therefore, the anti-collision driving strategy for passenger vehicles is difficult to be applied to large commercial vehicles.

In the anti-collision driving decision research for large-scale commercial vehicles, the current research only relates to collision danger identification and anti-collision driving decision under the condition of dry road surfaces, and is difficult to be applied to other road conditions, so that the existing anti-collision decision method still has certain defects in the aspects of accuracy and reliability. Generally, an anti-collision decision method considering the operation characteristics of a large commercial vehicle is not available at present, and particularly, an anti-collision decision method of a large commercial vehicle, which is accurate, reliable and adaptive to different road conditions, is not available.

Disclosure of Invention

The purpose of the invention is as follows: the invention discloses an anti-collision decision method for a large commercial vehicle, which considers road adhesion conditions and aims to solve the problems that the anti-collision decision method for the large commercial vehicle is lack of accuracy and road condition adaptability. The method can provide accurate and quantized driving suggestions such as the opening degree of a throttle valve, the opening degree of a brake pedal, the steering wheel angle control quantity and the like for a driver, can adapt to different road adhesion conditions, and improves the accuracy and the adaptability of the anti-collision decision method for large commercial vehicles.

The technical scheme is as follows: the invention provides an anti-collision driving decision method considering road adhesion conditions for large-scale operation vehicles such as semi-trailer trains and semi-trailer tankers. Firstly, a three-degree-of-freedom commercial vehicle motion model is established. Secondly, a road adhesion condition estimation model based on the interactive multi-model is established, and the road adhesion coefficient is accurately identified. And finally, describing the anti-collision decision problem as a Markov decision process, and establishing an anti-collision driving decision model based on reinforcement learning to obtain an accurate, reliable and self-adaptive anti-collision decision strategy for road conditions. The method comprises the following steps:

the method comprises the following steps: establishing a dynamic model of vehicle motion

In the process of operating a vehicle and outputting an anti-collision strategy, parameters such as a road adhesion coefficient, a vehicle running speed and a yaw rate need to be accurately acquired. In order to meet the measurement requirements of complete information and high precision, a dynamic model capable of accurately describing the motion characteristics of the commercial vehicle needs to be established. For the field of application of the invention, the following reasonable assumptions are made for a four-wheeled vehicle with front-wheel steering:

(1) ignoring pitch, roll and bounce up and down motions of the vehicle;

(2) assuming that the two tires of the front axle of the vehicle have the same steering angle, slip angle, longitudinal force and lateral force, and similarly, assuming that the two tires of the rear axle of the vehicle have the same steering angle, slip angle, longitudinal force and lateral force;

(3) neglecting the effect of the vehicle suspension on the tire axle; it is assumed that the direction of the front wheels of the vehicle coincides with the current speed direction of the vehicle.

The vehicle is dynamically modeled according to the above requirements and assumptions. Because the dynamic model of the operating vehicle is complex, the related partial parameters are difficult to obtain and need to be properly simplified. Considering that a single-degree-of-freedom and two-degree-of-freedom dynamic model is too simple, influences of factors such as non-linear characteristics of tires on vehicle motion are ignored, and vehicle motion characteristics in the running process of a commercial vehicle cannot be accurately described. Therefore, under the condition of considering both the model precision and the parameter complexity, the invention adopts a three-degree-of-freedom model, namely, longitudinal, lateral and yaw rotation are considered, and vehicle dynamics modeling is carried out.

And the point O is the center of mass of the vehicle, the left and right wheels of the front axle are combined into a point and positioned at the point C, and the left and right wheels of the rear axle are combined into a point and positioned at the point D. The dynamic model of the vehicle can be described as:

in which the superscript ". cndot.Denotes vxDifferential of (a), omegas,vx,vy,ax,ayRespectively representing yaw rate, longitudinal rate, lateral rate, longitudinal acceleration and lateral acceleration of the pilot vehicle, M, delta, IzRespectively representing the mass of the pilot vehicle, the steering angle of the front wheel and the moment of inertia around the vertical axis of the coordinate system of the vehicle bodyf,lrRespectively representing the distances of the centre of mass of the vehicle to the front and rear axles, Fxf,Fxr,Fyf,FyrRespectively showing the longitudinal force and the lateral force applied to the front wheel and the rear wheel.

Wherein the lateral force of the tire can be expressed as:

Fyf=Cαf·αf Fyr=Cαr·αr (2)

in the formula, Cαf,CαrRespectively representing the cornering stiffness, alpha, of the front and rear tyresf,ΔrRespectively representing the slip angles of the front and rear tires, and alphaf=δ-(vy+lfrs)/vx,αr=(lrrs-vy)/vx

To calculate the tire longitudinal force in equation (1), a tire model may be used for the determination. The common tire model comprises an empirical model, a theoretical model and an adaptive model, in order to ensure the accuracy and the real-time performance of the measurement of the vehicle motion parameters, the invention adopts a brush tire model, and the longitudinal force of the tire can be expressed as follows:

in the formula, Fxf,FxrRespectively representing the longitudinal forces acting on the front and rear tyres, Cxf,CxrRespectively representing the longitudinal stiffness of the front and rear tires, mu being the road adhesion coefficient, Fzf,FzrRespectively, the vertical loads of the front and rear tires, sxf,sxrThe respective longitudinal slip ratios of the front and rear tires are obtained by equations (4) and (5):

in the formula, RtyreIs the radius of the tire, omegaf,ωrRespectively representing the angular velocities of rotation of the front and rear wheels, obtainable by calculation from the linear velocity measured by the wheel speed sensor, vxf,vxrRespectively, the speeds in the tire direction on the front and rear wheel shafts, and vxr=vx,vxf=vxcosδ+(vy+lfωs)sinδ。

Step two: road adhesion coefficient estimation model based on interactive multiple models is established

In order to calculate the road adhesion coefficient in the running process of the commercial vehicle, a filtering recursive estimation method can be adopted, and the accurate estimation of the road adhesion coefficient is realized by using less system observation measurement. And (3) adopting a nonlinear Kalman filter to process the nonlinear system state equation described in the step one.

In a conventional nonlinear filter, the particle filter has a high computational complexity, and if the number of particles is reduced, the estimation accuracy will be reduced. The extended Kalman filtering algorithm introduces a linearization error, and the filtering effect is easily reduced for a system with a complex model. Considering that an Unscented Kalman Filter (UKF) has the same order as that of extended Kalman filtering in terms of computational complexity, but the parameter estimation precision is higher than that of the extended Kalman filtering, the invention adopts the UKF algorithm to carry out recursive estimation on the road surface attachment coefficient, the yaw angular velocity, the transverse velocity and the longitudinal velocity of the vehicle.

With the vehicle and tire models described in expression (1), expression (2), and expression (3), 10 different UKF filter models were established for 10 cases in which the road surface adhesion coefficients were 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0, respectively. Therefore, there should be 10 filter state equations established. The 10 models have the same form, and the difference is only in the value of the road surface adhesion coefficient.

Firstly, for the motion process of the vehicle, a system state vector X is takenl=[vx vy ωs]TIn the present invention, the corner mark is provided on the matrixTRepresenting a transposition of the matrix, T being the period of the dispersion. Establishing a system state equation according to a dynamic model described by the formula (1):

Xl=fl(Xl,Ul,Wl,γl) (6)

in the formula, the subscript l denotes the ith model, f (-) is a 3-dimensional vector function, WlZero mean system Gaussian white noise, gammalInputting corresponding zero mean value white Gaussian noise, U, for the outside of the systemlIs a system external input vector and Ul=[δ Fl_xfFl_xr]TWhere δ is the front wheel steering angle, and δ ═ εss,εsIs the steering wheel angle and CAN be obtained through a vehicle body CAN bus, rhosFor the gear ratio of the steering system, Fl_xfAnd Fl_xrRespectively representing the longitudinal force of a front tire and a rear tire in the first model, and being determined by a brush tire model; gamma raylZero mean Gaussian white noise vector corresponding to external input vector of representing systemWherein, ω isδZero mean height corresponding to the representation system external input deltaThe white noise of the white noise is generated,andis represented by Fl_xfAnd Fl_xrAnd corresponding zero-mean white Gaussian noise, which is implicit in the system external input of the state equation.

Secondly, selecting an inertial measurement unit as a measurement sensor of the vehicle motion, and taking the longitudinal forward speed and the yaw rate of the vehicle as the system observation vectors, the observation equation of the system can be expressed as:

z(t)=h(X(t),V(t)) (7)

where h is an observation equation, t represents time, and a system observation vector z ═ vx_m ωz_m]TWherein v isx_m,ωz_mMeasurements representing the longitudinal forward speed and yaw rate of the vehicle, respectively, may be obtained by inertial measurement unit measurements.

In the actual filtering recursion process, a discretized filtering model is needed. For this purpose, discretization processing is performed on the equations (7) and (8), and the discretized system state equation and observation equation are respectively as follows:

where k is the discretization time, the system process noise Wl=[w1 w2 w3]TWherein w is1,w2,w3Respectively represent 3 system Gaussian white noise components, Wl(k-1) corresponding Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively represent white gaussian noise w1,w2,w3The corresponding variance. U shapel(k-1) a system external input vector representing the ith model at time k-1; vlObserve the noise for the system, and Vl=[v1 v2]TWherein v is1,v2Respectively representing two systematic white Gaussian noise components, Vl(k) Corresponding measured Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively representing Gaussian white noise v1,v2The corresponding variance may be determined based on the statistical properties of the sensor's position, velocity, and yaw-rate measurement noise. Noise input outside the systemWherein the content of the first and second substances,respectively represent delta, Fxf,FxrCorresponding zero mean Gaussian white noise components, which are implicit in the system state function flAmong the three system-external inputs. The system state function is:

wherein the content of the first and second substances,

and finally, according to a system state equation and an observation equation described by the formula (8), establishing a filtering recursion process based on an interactive multi-model by using an interactive multi-model filtering theory, and performing parameter estimation by using time updating and measurement updating:

(1) interactive estimation computation

The transition probability among the 10 UKF filtering models is pjlIf the indices j, l (j 1, 2.,. 10, l 1, 2.,. 10) denote the probability of a transition from state j to state l, the model probability ρ of the l-th model is predictedl(k, k-1) and the prediction mixture probability ρj|l(k-1) are respectively:

then the input of the ith filter at time k after the cross estimation is:

(2) model conditional filtering

For the state equation and the observation equation described by the equation (6) and the equation (7), applying the kalman filtering theory, performing the UKF filtering recursion on each filter, wherein the filtering process of the l model is as follows:

1) initializing input variables and calculating parameters

In the formula, P0For the initial error variance matrix, in the present invention, the variable with superscript symbol Λ represents the filtered estimate of the variable, e.g.To represent an initial value X of an input variable0The filtered estimate of (2).

2) State estimation

In the formula, xii(k-1) is a Sigma point,is the ith column, x, of the square root of the weighted covariance matrixdim

Is the dimension of the state vector.

Wherein λ is a distance parameter, and λ ═ xdim2-1), alpha is a first scale factor,the weight coefficients of the mean and variance, respectively.

3) Time updating

ξi(k,k-1)=fli(k,k-1)],i=0,1,...,2xdim (17)

In the formula (I), the compound is shown in the specification,for optimal estimation of the time k-1, PlAnd (k, k-1) is a one-step prediction error variance matrix at the k time.

4) Observation update

χi(k,k-1)=hli(k,k-1)] (20)

In the formula, xi(k, k-1) represents the value of the observation equation after the transformation of the Sigma point set,a one-step predictive observation representing a time k recurred from time k-1,to predict covariance, PXZIs the covariance of the state values and the measured values.

5) Filter update

In the formula, Kl(k) In order to filter the gain matrix of the filter,as state quantity estimation value, Pl(k) To estimate an error variance matrix.

(3) Model probability update

After each model completes the update of the previous step, the maximum likelihood function Lambda is utilizedl(k) Calculating new model probabilities:

according to Bayes' theorem, model probability rho of the ith model at the time kl(k) Comprises the following steps:

(4) calculating road surface adhesion coefficient

After calculating the correct posterior probability of each model, firstly, probability weighting and summing are carried out on the state estimation of all filters, the weighting coefficient is the correct posterior probability, and the final state estimation is obtained as follows:i.e., filtered extrapolated vehicle longitudinal speed, lateral speed, and yaw-rate. Secondly, the road adhesion coefficient μ at the current time can be obtained by probability weighting the adhesion coefficients set by the models:

in the formula, mulThe road surface adhesion coefficient of the first model, where l is 1,21=0.1,μ2=0.2,...,μ10=1.0。

Step three: establishing an anti-collision driving decision model based on reinforcement learning

Aiming at the problem that the anti-collision driving decision method for large-scale commercial vehicles lacks accuracy and road condition adaptability, the invention considers the influence of road adhesion conditions on driving decisions and establishes an accurate, reliable and self-adaptive anti-collision driving decision model. The reinforcement learning is realized in a trial and error mode, the purpose of obtaining the maximum reward is achieved, the driving strategy is guided to be generated through interaction with the environment, and the strong decision making capability is achieved. Therefore, the anti-collision driving decision model is established by adopting a reinforcement learning algorithm.

Common reinforcement learning algorithms include both offline and online learning modes. The off-line learning method can obtain the optimal behavior only after the learning algorithm is converged, and cannot meet the requirements of real-time interaction and learning strategies of commercial vehicles in the actual traffic environment. The online learning method does not need to establish an environment model, iteration of a value function is updated synchronously with the running state of a commercial vehicle in a traffic environment, the SARSA algorithm is based on Q value iteration, an optimal strategy and a behavior function value can be guaranteed to converge by adopting a greedy strategy, and the optimal anti-collision strategies under different road surface attachment conditions can be better output. Therefore, the invention adopts SARSA algorithm to establish an anti-collision driving decision model and research the self-adaptive anti-collision driving strategy under different road surface conditions. The method specifically comprises the following 4 sub-steps:

substep 1: establishing a state space

The running safety of a large commercial vehicle is related to the motion state of the vehicle and the relative motion state of front and rear obstacles. Therefore, by using the information of the motion state of the commercial vehicle, the information of the relative motion state, and the road surface adhesion coefficient and the yaw rate of the vehicle, which are output in the first step, which are measured by the sensors, a state space is established:

St=(vsx,vsy,vsf,vsr,asx,asy,dsf,dsr,ωs,θstr,δbr,δthr,μ) (30)

in the formula, vsf,vsrRespectively representing the relative speed of the large commercial vehicle, a front vehicle and a rear vehicle, and the unit is meter per second; a issx,asvRespectively representing the transverse acceleration and the longitudinal acceleration of the large commercial vehicle, wherein the unit is meter per square second; dsf,dsrRespectively represents the relative distance between the vehicle and the front vehicle and the rear vehicle, and the unit is meter; omegasThe unit of the yaw velocity of the large commercial vehicle is radian per second; thetastrFor the steering wheel angle of large commercial vehicles in degrees, deltabr,δthrRespectively represents the opening degree of a brake pedal and the opening degree of a throttle valve of a large commercial vehicle, and the unit is percentage.

Substep 2: establishing a behavioral space

In order to establish a more accurate and reliable anti-collision driving strategy, the invention gives consideration to the transverse motion and the longitudinal motion of a vehicle, takes the steering wheel angle and the accelerating/braking normalization quantity as control quantities, and defines the driving strategy output by a decision model, namely a behavior space:

At=[θstr_out,δbr_out,δthr_out] (31)

in the formula, AtFor action decision at time t, θstr_outRepresents the normalized steering wheel angle control quantity in the range of [ -1,1],δbr_out,δthr_outRespectively representing the normalized control quantity of the brake pedal and the normalized control quantity of the opening degree of the throttle valve, wherein the ranges are all [0, 1%]。

Substep 3: establishing a reward function

To implement a behavior space AtThe quantitative evaluation of the advantages and the disadvantages is realized and digitalized by establishing a reward function. If execution behavior space AtThen the running state of the large-scale commercial vehicle can be safer, the return value is positive reward, otherwise, the return value is negative reward, and the anti-collision driving decision model has a certain effect on the last executed error actionAnd (6) judging.

Different from passenger vehicles, large-scale commercial vehicles have the characteristics of higher mass center position, larger load capacity and the like, and are easy to rollover in the processes of emergency braking, urgent steering and lane changing. Therefore, when an anti-collision driving strategy is established, the occurrence of vehicle collision and rollover needs to be considered at the same time, and the reward function is designed as follows:

Rt=r1+r2+r3 (32)

in the formula, RtFor a reward function at time t, r1For a safety distance reward function, r2As a comfort reward function, r3Is a penalty function.

First, in order to prevent a collision of the vehicle, the commercial vehicle should maintain a certain safety gap with both the front vehicle and the rear vehicle. Meanwhile, considering that the braking distance of the vehicle on the road surface with low adhesion coefficient is longer, the vehicle safety distance reward function r considering the road adhesion coefficient is designed1

In the formula, ω1,ω2The weighting factor of the function is awarded for the safe distance.

Secondly, in order to ensure the driving comfort of the vehicle, the excessive impact degree should be avoided as much as possible, and a comfort rewarding function r is designed2=-|asy(t+1)-asy(t)|。

Finally, in order to judge the error action of the vehicle, a penalty function r is designed3

In the formula, SpenFor penalty, in the present invention, take SpenThe decision model will get a penalty of-500 when the vehicle crashes or rolls over.

Substep 4: establishing a behavior selection mechanism

Considering real-time interaction with the actual traffic environment in the driving decision learning process, the method adopts the Pursuit function to establish an anti-collision decision behavior updating mechanism.

Wherein at time t +1, action decision A is selectedt=argmaxQ(St,At) Has a probability ofProbability of selecting other behavioral space is pit+1(At+1)。

Substep 5: training anti-collision driving decision model based on SARSA

1) Initializing a Q value matrix and a behavior selection matrix;

2) acquiring the self motion state of the commercial vehicle and the relative motion state of the commercial vehicle and other traffic participants by using a vehicle-mounted sensor, acquiring the road adhesion coefficient by using the step one, and establishing an initial state S by using a formula (30)0

3) Using Q value experience, in state space StSelecting a driving decision strategy A according to the behavior selection strategy in the corresponding behavior space sett

4) Executing decision strategy A in the running process of commercial vehicletObserving the reward function RtAnd a new state space S'tAnd selecting the decision strategy of the next moment, namely the new behavior space A't

5) Updating the Q value, wherein the updating method comprises the following steps:

in the formula, #sWhich is indicative of the rate of learning,representing a discount factor.

6) New state space S'tGiving a state space StNew behavior space A'tImpartation of At

7) Repeating the steps 3), 4), 5) and 6) until the training process is finished.

Substep 6: outputting a driving strategy using an anti-collision driving decision model

The parameters in the state space are input into the trained anti-collision driving decision model, reasonable steering wheel turning angle, brake pedal and throttle opening control quantity can be output in real time, accurate, quantitative and reliable anti-collision driving suggestions are provided for a driver, and therefore the anti-collision driving decision of the large-scale commercial vehicle with accurate, reliable and self-adaptive road adhesion conditions is achieved.

Has the advantages that: compared with a general vehicle anti-collision decision strategy, the method provided by the invention has the characteristics of more accuracy, reliability and self-adaption, and is specifically embodied as follows:

(1) the method comprehensively considers the influence of forward and backward obstacles on vehicle collision, accurately quantifies safe driving strategies such as driving speed, steering wheel steering and the like in a numerical form, and realizes accurate and reliable collision-proof driving decision of large commercial vehicles;

(2) the method provided by the invention considers the influence of unstable rollover of a large-scale commercial vehicle on driving safety, so that the output driving decision strategy can not only prevent the occurrence of collision accidents, but also avoid the rollover accidents of the vehicle in the collision avoidance process, and further improve the accuracy and reliability of anti-collision driving decision;

(3) the method provided by the invention can adapt to different road conditions, the output driving strategy can be adaptively adjusted according to the change of the road adhesion conditions, and the defects of the existing anti-collision driving strategy of a large-scale commercial vehicle that the accuracy is poor and the road condition adaptability is poor are overcome.

Drawings

FIG. 1 is a schematic diagram of a technical route of the present invention;

FIG. 2 is a schematic representation of a vehicle dynamics model of the present invention.

Detailed Description

The technical scheme of the invention is further explained by combining the attached drawings.

The safety condition of the commercial vehicle, which is a main undertaker of road transportation, directly influences the safety of road transportation. Different from small passenger vehicles, most of the vehicles for operation, transport and transportation are large and medium-sized vehicles, and the vehicle has the characteristics of large total mass, narrow wheel track and the like, and has the advantages of high vehicle operation intensity, long operation time and complex operation environment. Once a traffic accident occurs in the transportation process, serious consequences such as group death and group injury are easily caused, and adverse effects such as property loss, environmental pollution, ecological damage and the like are caused.

Relevant researches show that the collision accidents are the main accident forms of commercial vehicles, and are the main culprits of group death group injury accidents. Before a collision accident occurs to a commercial vehicle, if an anti-collision driving suggestion can be timely and accurately provided for a driver, the accident of group death and group injury caused by collision can be effectively reduced or even avoided, and the safety level of road transportation is greatly improved. Therefore, the accurate and reliable anti-collision driving decision strategy is researched, and the anti-collision driving decision strategy plays an important role in guaranteeing the in-transit operation safety of the operating vehicle.

Road adhesion coefficient is an important parameter influencing the accuracy and reliability of anti-collision decision, and the anti-collision method of the small passenger vehicle considering the change of road adhesion conditions has been researched at present, but for large commercial vehicles, the method is particularly important for preventing the vehicle from turning over besides ensuring the vehicle to be far away from collision accidents. The specific reasons are that: compared with a passenger vehicle, the large-scale commercial vehicle has the characteristics of high centroid position, high load capacity and the like, so that the braking distance is long, the side-tipping stability is poor, particularly, in the collision avoidance process of a semitrailer train for transporting goods and a semitrailer tank car for transporting dangerous goods, if the operations of emergency braking, emergency lane change and the like are adopted, the goods on the trailer or liquid in the tank can shake to further increase the instability of the vehicle, and the vehicle is extremely easy to destabilize to cause side-tipping.

In addition, under different road conditions such as wet and slippery, ice and snow, dry and the like, the braking distance, the safety distance and the braking time of the vehicle are different greatly, even the difference reaches hundreds of meters or about 10 seconds. Meanwhile, on the road surface with lower adhesion coefficient, the large commercial vehicle has poorer operation stability, and the occurrence frequency of sideslip and rollover accidents caused by instability is higher. Therefore, the anti-collision driving strategy for passenger vehicles is difficult to be applied to large commercial vehicles.

In the anti-collision driving decision research for large-scale commercial vehicles, the current research only relates to collision danger identification and anti-collision driving decision under the condition of dry road surfaces, and is difficult to be applied to other road conditions, so that the existing anti-collision decision method still has certain defects in the aspects of accuracy and reliability. Generally, an anti-collision decision method considering the operation characteristics of a large commercial vehicle is not available at present, and particularly, an anti-collision decision method of a large commercial vehicle, which is accurate, reliable and adaptive to different road conditions, is not available.

In order to establish an accurate, reliable and self-adaptive anti-collision driving strategy for road adhesion conditions, the invention provides an anti-collision driving decision method considering the road adhesion conditions for large-scale operation vehicles such as semi-trailer trains and semi-trailer tankers. Firstly, a three-degree-of-freedom commercial vehicle motion model is established. Secondly, a road adhesion condition estimation model based on the interactive multi-model is established, and the road adhesion coefficient is accurately identified. And finally, describing the anti-collision decision problem as a Markov decision process, and establishing an anti-collision driving decision model based on reinforcement learning to obtain an accurate, reliable and self-adaptive anti-collision decision strategy for road conditions. The technical route of the invention is shown in figure 1, and the specific steps are as follows:

the method comprises the following steps: establishing a dynamic model of vehicle motion

In the process of operating a vehicle and outputting an anti-collision strategy, parameters such as a road adhesion coefficient, a vehicle running speed and a yaw rate need to be accurately acquired. In order to meet the measurement requirements of complete information and high precision, a dynamic model capable of accurately describing the motion characteristics of the commercial vehicle needs to be established. For the field of application of the invention, the following reasonable assumptions are made for a four-wheeled vehicle with front-wheel steering:

(1) ignoring pitch, roll and bounce up and down motions of the vehicle;

(2) assuming that the two tires of the front axle of the vehicle have the same steering angle, slip angle, longitudinal force and lateral force, and similarly, assuming that the two tires of the rear axle of the vehicle have the same steering angle, slip angle, longitudinal force and lateral force;

(3) neglecting the effect of the vehicle suspension on the tire axle; it is assumed that the direction of the front wheels of the vehicle coincides with the current speed direction of the vehicle.

The vehicle is dynamically modeled according to the above requirements and assumptions. Because the dynamic model of the operating vehicle is complex, the related partial parameters are difficult to obtain and need to be properly simplified. Considering that a single-degree-of-freedom and two-degree-of-freedom dynamic model is too simple, influences of factors such as non-linear characteristics of tires on vehicle motion are ignored, and vehicle motion characteristics in the running process of a commercial vehicle cannot be accurately described. Therefore, under the condition of considering both the model precision and the parameter complexity, the method adopts the three-degree-of-freedom model to carry out vehicle dynamics modeling.

Fig. 2 defines a three-degree-of-freedom dynamic model of the vehicle, i.e. considering longitudinal, lateral and yaw rotations. And the point O is the center of mass of the vehicle, the left and right wheels of the front axle are combined into a point and positioned at the point C, and the left and right wheels of the rear axle are combined into a point and positioned at the point D. According to fig. 2, the dynamic model of the vehicle can be described as:

in which the superscript ". cndot.Denotes vxDifferential of (a), omegas,vx,vy,ax,ayRespectively representing the yaw rate and the longitudinal rate of the pilot vehicleDegree, lateral velocity, longitudinal and lateral acceleration, M, delta, IzRespectively representing the mass of the pilot vehicle, the steering angle of the front wheel and the moment of inertia around the vertical axis of the coordinate system of the vehicle bodyf,lrRespectively representing the distances of the centre of mass of the vehicle to the front and rear axles, Fxf,Fxr,Fyf,FyrRespectively showing the longitudinal force and the lateral force applied to the front wheel and the rear wheel.

Wherein the lateral force of the tire can be expressed as:

Fyf=Cαf·αf Fyr=Cαr·αr (2)

in the formula, Cαf,CαrRespectively representing the cornering stiffness, alpha, of the front and rear tyresf,αrRespectively representing the slip angles of the front and rear tires, and alphaf=δ-(vy+lfrs)/vx,αr=(lrrs-vy)/vx

To calculate the tire longitudinal force in equation (1), a tire model may be used for the determination. The common tire model comprises an empirical model, a theoretical model and an adaptive model, in order to ensure the accuracy and the real-time performance of the measurement of the vehicle motion parameters, the invention adopts a brush tire model, and the longitudinal force of the tire can be expressed as follows:

in the formula, Fxf,FxrRespectively representing the longitudinal forces acting on the front and rear tyres, Cxf,CxrRespectively representing the longitudinal stiffness of the front and rear tires, mu being the road adhesion coefficient, Fzf,FzrRespectively, the vertical loads of the front and rear tires, sxf,sxrThe respective longitudinal slip ratios of the front and rear tires are obtained by equations (4) and (5):

in the formula, RtyreIs the radius of the tire, omegaf,ωrRespectively representing the angular velocities of rotation of the front and rear wheels, obtainable by calculation from the linear velocity measured by the wheel speed sensor, vxf,vxrRespectively, the speeds in the tire direction on the front and rear wheel shafts, and vxr=vx,vxf=vxcosδ+(vy+lfωs)sinδ。

Step two: road adhesion coefficient estimation model based on interactive multiple models is established

In order to calculate the road adhesion coefficient in the running process of the commercial vehicle, a filtering recursive estimation method can be adopted, and the accurate estimation of the road adhesion coefficient is realized by using less system observation measurement. And (3) adopting a nonlinear Kalman filter to process the nonlinear system state equation described in the step one.

In a conventional nonlinear filter, the particle filter has a high computational complexity, and if the number of particles is reduced, the estimation accuracy will be reduced. The extended Kalman filtering algorithm introduces a linearization error, and the filtering effect is easily reduced for a system with a complex model. Considering that an Unscented Kalman Filter (UKF) has the same order as that of extended Kalman filtering in terms of computational complexity, but the parameter estimation precision is higher than that of the extended Kalman filtering, the invention adopts the UKF algorithm to carry out recursive estimation on the road surface attachment coefficient, the yaw angular velocity, the transverse velocity and the longitudinal velocity of the vehicle.

With the vehicle and tire models described in expression (1), expression (2), and expression (3), 10 different UKF filter models were established for 10 cases in which the road surface adhesion coefficients were 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0, respectively. Therefore, there should be 10 filter state equations established. The 10 models have the same form, and the difference is only in the value of the road surface adhesion coefficient.

Firstly, for the motion process of the vehicle, a system state vector X is takenl=[vx vy ωs]TIn the present invention, the corner mark is provided on the matrixTRepresenting a transposition of the matrix, T being the period of the dispersion. Establishing a system state equation according to a dynamic model described by the formula (1):

Xl=fl(Xl,Ul,Wl,γl) (6)

in the formula, the subscript l denotes the ith model, f (-) is a 3-dimensional vector function, WlZero mean system Gaussian white noise, gammalInputting corresponding zero mean value white Gaussian noise, U, for the outside of the systemlIs a system external input vector and Ul=[δ Fl_xfFl_xr]TWhere δ is the front wheel steering angle, and δ ═ εss,εsIs the steering wheel angle and CAN be obtained through a vehicle body CAN bus, rhosFor the gear ratio of the steering system, Fl_xfAnd Fl_xrRespectively representing the longitudinal force of a front tire and a rear tire in the first model, and being determined by a brush tire model; gamma raylZero mean Gaussian white noise vector corresponding to external input vector of representing systemWherein, ω isδRepresents zero mean gaussian white noise corresponding to the external input delta of the system,andis represented by Fl_xfAnd Fl_xrCorresponding zero-mean Gaussian white noises, which are hidden in the system external input of the state equation;

secondly, selecting an inertial measurement unit as a measurement sensor of the vehicle motion, and taking the longitudinal forward speed and the yaw rate of the vehicle as the system observation vectors, the observation equation of the system can be expressed as:

Z(t)=h(X(t),V(t)) (7)

where h is an observation equation, t represents time, and a system observation vector z ═ vx_m ωz_m]TWherein v isx_m,ωz_mMeasurements representing the longitudinal forward speed and yaw rate of the vehicle, respectively, may be obtained by inertial measurement unit measurements.

In the actual filtering recursion process, a discretized filtering model is needed. For this purpose, discretization processing is performed on the equations (7) and (8), and the discretized system state equation and observation equation are respectively as follows:

where k is the discretization time, the system process noise Wl=[w1 w2 w3]TWherein w is1,w2,w3Respectively represent 3 system Gaussian white noise components, Wl(k-1) corresponding Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively represent white gaussian noise w1,w2,w3The corresponding variance. U shapel(k-1) a system external input vector representing the ith model at time k-1; vlObserve the noise for the system, and Vl=[v1 v2]TWherein v is1,v2Respectively representing two systematic white Gaussian noise components, Vl(k) Corresponding measured Gaussian white noise covariance matrixWherein the content of the first and second substances,respectively representing Gaussian white noise v1,v2The corresponding variance may be determined based on the statistical properties of the sensor's position, velocity, and yaw-rate measurement noise. Noise input outside the systemWherein the content of the first and second substances,respectively represent delta, Fxf,FxrCorresponding zero mean Gaussian white noise components, which are implicit in the system state function flAmong the three system-external inputs. The system state function is:

wherein the content of the first and second substances,

and finally, according to a system state equation and an observation equation described by the formula (8), establishing a filtering recursion process based on an interactive multi-model by using an interactive multi-model filtering theory, and performing parameter estimation by using time updating and measurement updating:

(1) interactive estimation computation

The transition probability among the 10 UKF filtering models is pjlIf the indices j, l (j 1, 2.,. 10, l 1, 2.,. 10) denote the probability of a transition from state j to state l, the model probability ρ of the l-th model is predictedl(k, k-1) and the prediction mixture probability ρj|l(k-1) are respectively:

then the input of the ith filter at time k after the cross estimation is:

(2) model conditional filtering

For the state equation and the observation equation described by the equation (6) and the equation (7), applying the kalman filtering theory, performing the UKF filtering recursion on each filter, wherein the filtering process of the l model is as follows:

1) initializing input variables and calculating parameters

In the formula, P0For the initial error variance matrix, in the present invention, the variable with superscript symbol Λ represents the filtered estimate of the variable, e.g.To represent an initial value X of an input variable0The filtered estimate of (2).

2) State estimation

In the formula (I), the compound is shown in the specification,ξi(k-1) is a Sigma point,is the ith column, x, of the square root of the weighted covariance matrixdim

Is the dimension of the state vector.

Wherein λ is a distance parameter, and λ ═ xdim2-1), alpha is a first scale factor,the weight coefficients of the mean and variance, respectively.

3) Time updating

ξi(k,k-1)=fli(k,k-1)],i=0,1,...,2xdim (17)

In the formula (I), the compound is shown in the specification,for optimal estimation of the time k-1, PlAnd (k, k-1) is a one-step prediction error variance matrix at the k time.

4) Observation update

χi(k,k-1)=hli(k,k-1)] (20)

In the formula, xi(k, k-1) represents the value of the observation equation after the transformation of the Sigma point set,a one-step predictive observation representing a time k recurred from time k-1,to predict covariance, PxzIs the covariance of the state values and the measured values.

5) Filter update

In the formula, Kl(k) In order to filter the gain matrix of the filter,as state quantity estimation value, Pl(k) To estimate an error variance matrix.

(3) Model probability update

After each model completes the update of the previous step, the maximum likelihood function Lambda is utilizedl(k) Calculating new model probabilities:

according to Bayes' theorem, model probability rho of the ith model at the time kl(k) Comprises the following steps:

(4) calculating road surface adhesion coefficient

After calculating the correct posterior probability of each model, firstly, probability weighting and summing are carried out on the state estimation of all filters, the weighting coefficient is the correct posterior probability, and the final state estimation is obtained as follows:i.e., filtered extrapolated vehicle longitudinal speed, lateral speed, and yaw-rate. Secondly, the road adhesion coefficient μ at the current time can be obtained by probability weighting the adhesion coefficients set by the models:

in the formula, mulThe road surface adhesion coefficient of the first model, where l is 1,21=0.1,μ2=0.2,...,μ10=1.0。

Step three: establishing an anti-collision driving decision model based on reinforcement learning

Aiming at the problem that the anti-collision driving decision method for large-scale commercial vehicles lacks accuracy and road condition adaptability, the invention considers the influence of road adhesion conditions on driving decisions and establishes an accurate, reliable and self-adaptive anti-collision driving decision model. The reinforcement learning is realized in a trial and error mode, the purpose of obtaining the maximum reward is achieved, the driving strategy is guided to be generated through interaction with the environment, and the strong decision making capability is achieved. Therefore, the anti-collision driving decision model is established by adopting a reinforcement learning algorithm.

Common reinforcement learning algorithms include both offline and online learning modes. The off-line learning method can obtain the optimal behavior only after the learning algorithm is converged, and cannot meet the requirements of real-time interaction and learning strategies of commercial vehicles in the actual traffic environment. The online learning method does not need to establish an environment model, iteration of a value function is updated synchronously with the running state of a commercial vehicle in a traffic environment, the SARSA algorithm is based on Q value iteration, an optimal strategy and a behavior function value can be guaranteed to converge by adopting a greedy strategy, and the optimal anti-collision strategies under different road surface attachment conditions can be better output. Therefore, the invention adopts SARSA algorithm to establish an anti-collision driving decision model and research the self-adaptive anti-collision driving strategy under different road surface conditions. The method specifically comprises the following 4 sub-steps:

substep 1: establishing a state space

The running safety of a large commercial vehicle is related to the motion state of the vehicle and the relative motion state of front and rear obstacles. Therefore, by using the information of the motion state of the commercial vehicle, the information of the relative motion state, and the road surface adhesion coefficient and the yaw rate of the vehicle, which are output in the first step, which are measured by the sensors, a state space is established:

St=(vsx,vsy,vsf,vsr,asx,asy,dsf,dsr,ωs,θstr,δbr,δthr,μ) (30)

in the formula, vsf,vsrRespectively representing the relative speed of the large commercial vehicle, a front vehicle and a rear vehicle, and the unit is meter per second; a issx,asyRespectively representing the transverse acceleration and the longitudinal acceleration of the large commercial vehicle, wherein the unit is meter per square second; dsf,dsrRespectively represents the relative distance between the vehicle and the front vehicle and the rear vehicle, and the unit is meter; omegasThe unit of the yaw velocity of the large commercial vehicle is radian per second; thetastrFor the steering wheel angle of large commercial vehicles in degrees, deltabr,δthrRespectively represents the opening degree of a brake pedal and the opening degree of a throttle valve of a large commercial vehicle, and the unit is percentage.

Substep 2: establishing a behavioral space

In order to establish a more accurate and reliable anti-collision driving strategy, the invention gives consideration to the transverse motion and the longitudinal motion of a vehicle, takes the steering wheel angle and the accelerating/braking normalization quantity as control quantities, and defines the driving strategy output by a decision model, namely a behavior space:

At=[θstr_out,δbr_out,δthr_out](31)

in the formula, AtFor action decision at time t, θstr_outRepresents the normalized steering wheel angle control quantity in the range of [ -1,1],δbr_out,δthr_outRespectively representing the normalized control quantity of the brake pedal and the normalized control quantity of the opening degree of the throttle valve, wherein the ranges are all [0, 1%]。

Substep 3: establishing a reward function

To implement a behavior space AtThe quantitative evaluation of the advantages and the disadvantages is realized and digitalized by establishing a reward function. If execution behavior space AtAnd then, the running state of the large-scale commercial vehicle can be safer, the return value is positive reward, otherwise, the return value is negative reward, and the anti-collision driving decision model can judge the error action executed last time.

Different from passenger vehicles, large-scale commercial vehicles have the characteristics of higher mass center position, larger load capacity and the like, and are easy to rollover in the processes of emergency braking, urgent steering and lane changing. Therefore, when an anti-collision driving strategy is established, the occurrence of vehicle collision and rollover needs to be considered at the same time, and the reward function is designed as follows:

Rt=r1+r2+r3 (32)

in the formula, RtFor a reward function at time t, r1For a safety distance reward function, r2As a comfort reward function, r3Is a penalty function.

First, to prevent vehicle accidentsIn case of collision, the commercial vehicle should maintain a certain safety clearance with both the front vehicle and the rear vehicle. Meanwhile, considering that the braking distance of the vehicle on the road surface with low adhesion coefficient is longer, the vehicle safety distance reward function r considering the road adhesion coefficient is designed1

In the formula, ω1,ω2The weighting factor of the function is awarded for the safe distance.

Secondly, in order to ensure the driving comfort of the vehicle, the excessive impact degree should be avoided as much as possible, and a comfort rewarding function r is designed2=-|asy(t+1)-asy(t)|。

Finally, in order to judge the error action of the vehicle, a penalty function r is designed3

In the formula, SpenFor penalty, in the present invention, take SpenThe decision model will get a penalty of-500 when the vehicle crashes or rolls over.

Substep 4: establishing a behavior selection mechanism

Considering real-time interaction with the actual traffic environment in the driving decision learning process, the method adopts the Pursuit function to establish an anti-collision decision behavior updating mechanism.

Wherein at time t +1, action decision A is selectedt=argmaxQ(St,At) Has a probability ofProbability of selecting other behavioral spacesIs pit+1(At+1)。

Substep 5: training anti-collision driving decision model based on SARSA

1) Initializing a Q value matrix and a behavior selection matrix;

2) acquiring the self motion state of the commercial vehicle and the relative motion state of the commercial vehicle and other traffic participants by using a vehicle-mounted sensor, acquiring the road adhesion coefficient by using the step one, and establishing an initial state S by using a formula (30)0

3) Using Q value experience, in state space StSelecting a driving decision strategy A according to the behavior selection strategy in the corresponding behavior space sett

4) Executing decision strategy A in the running process of commercial vehicletObserving the reward function RtAnd a new state space S'tAnd selecting the decision strategy of the next moment, namely the new behavior space A't

5) Updating the Q value, wherein the updating method comprises the following steps:

in the formula, #sWhich is indicative of the rate of learning,representing a discount factor.

6) New state space S'tGiving a state space StNew behavior space A'tImpartation of At

7) Repeating the steps 3), 4), 5) and 6) until the training process is finished.

Substep 6: outputting a driving strategy using an anti-collision driving decision model

The parameters in the state space are input into the trained anti-collision driving decision model, reasonable steering wheel turning angle, brake pedal and throttle opening control quantity can be output in real time, accurate, quantitative and reliable anti-collision driving suggestions are provided for a driver, and therefore the anti-collision driving decision of the large-scale commercial vehicle with accurate, reliable and self-adaptive road adhesion conditions is achieved.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:驾驶辅助系统、包括其的车辆、驾驶辅助方法和介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!