A humanized car-following method based on driver characteristics
By constructing the vehicle following kinematics model and the sequential gate cycle unit model, optimizing the random strategy and combining the reward function to form the optimal car following strategy, it solves the problem that the existing technology cannot adapt to different driver habits and improves the safety of automatic car following. sex and comfort.
Patent Information
- Application Number
- CN202410797377.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing car-following control technology cannot meet the driving habits of different drivers, and the unified calibration strategy cannot adapt to the differences in personality, skills and style of individual drivers.
By collecting the driver's driving behavior data, a vehicle following kinematics model and a sequential gate cycle unit model are constructed to optimize the random strategy and combine the reward function to form the optimal vehicle following strategy, taking the driver's characteristics into consideration.
It improves the safety and comfort of automatic car following and forms a car following strategy that is closer to the driver's habits.
Smart Images

Figure CN118343165B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to an anthropomorphic vehicle following method based on driver characteristics. Background Art
[0002] With the rapid development of artificial intelligence technology, computer technology, sensor technology and vehicle engineering technology, the field of autonomous driving has also been greatly improved. Technologies related to autonomous driving continue to emerge, and vehicle following control technology is one of them.
[0003] Existing vehicle following control technology is generally based on the output of the distance and relative motion information between the own vehicle and the vehicle in front by the vision or radar system, and then controls the speed of the own vehicle to achieve the distance maintenance or speed maintenance between the own vehicle and the vehicle in front.
[0004] However, due to differences in personality, skills, style, etc. among different drivers, a uniformly calibrated following control strategy cannot meet the habits of different drivers. Summary of the invention
[0005] The embodiment of the present application provides an anthropomorphic vehicle following method based on driver characteristics to solve the technical problem in the prior art that a uniformly calibrated vehicle following control strategy cannot meet the driving habits of different drivers.
[0006] The embodiment of the present application provides an anthropomorphic vehicle following method based on driver characteristics, comprising the following steps:
[0007] Collecting driving behavior data of different drivers, the driving behavior data including the relative distance between the main vehicle and the front vehicle, the main vehicle speed, the main vehicle acceleration, the front vehicle speed and the front vehicle acceleration;
[0008] Based on the driving behavior data and taking the longitudinal motion of the vehicle as a basis, a vehicle following kinematic model is constructed, and a state space is determined through the vehicle following dynamics model;
[0009] Constructing a sequential gate recurrent unit model, training the sequential gate recurrent unit model through the state space and the loss function, so that the sequential gate recurrent unit model outputs the host vehicle predicted acceleration, and determining the behavior space based on the host vehicle predicted acceleration;
[0010] Determine a behavior value data set based on the state space and the behavior space;
[0011] Optimizing the random strategy through the behavior value data group to obtain a plurality of optimized strategies;
[0012] A reward function is defined, and a target optimization function is constructed through the reward function and the optimization strategy to determine an optimal vehicle following strategy from a plurality of the optimization strategies.
[0013] Furthermore, the step of collecting driving behavior data of different drivers includes:
[0014] Establishing a real-time traffic scenario, capturing a driver's steering wheel angle, accelerator pedal signal, and brake pedal signal in the real-time traffic scenario;
[0015] Transmitting the steering wheel angle, the accelerator pedal signal and the brake pedal signal to a vehicle dynamics model to obtain actual motion data of the host vehicle;
[0016] The actual motion data of the host vehicle and the real-time traffic scene are interacted to obtain driving behavior data.
[0017] Furthermore, the vehicle following kinematic model is:
[0018] ,
[0019] in, represents the speed of the preceding vehicle at the i-th moment, represents the speed of the preceding vehicle at time i-1, represents the acceleration of the preceding vehicle, represents the sampling time interval, represents the main vehicle speed at the i-th moment, represents the main vehicle speed at the i-1th moment, represents the acceleration of the host vehicle, represents the relative speed between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the preceding vehicle at the i-1th moment;
[0020] The expression of the state space is:
[0021] ,
[0022] in, Represents the state space.
[0023] Furthermore, the loss function is:
[0024] ,
[0025] in, represents the loss function, represents the number of training samples, represents the acceleration of the host vehicle, Indicates the predicted acceleration of the host vehicle;
[0026] The expression of the behavior space is:
[0027] ,
[0028] in, Represents the behavior space.
[0029] Furthermore, the step of determining the behavior value data set based on the state space and the behavior space includes:
[0030] Constructing a behavior network, and predicting the state space and behavior space at different times through the behavior network to form data pairs;
[0031] Constructing a first target value network and a second target value network, and using the data pair as input values of the first target value network and the second target value network, respectively, to obtain a first behavior evaluation and a second behavior evaluation;
[0032] Selecting a final behavior evaluation from the first behavior evaluation and the second behavior evaluation;
[0033] Constructing a first prediction value network and a second prediction value network, using the final behavior evaluation as input values of the first prediction value network and the second prediction value network, respectively, to obtain a first prediction evaluation and a second prediction evaluation;
[0034] A behavior value data group is obtained through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation.
[0035] Furthermore, the step of obtaining the behavior value data set through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation includes:
[0036] determining a first behavior value from the first predicted evaluation and the second predicted evaluation;
[0037] Constructing a first value loss function through the final behavior evaluation and the first predicted evaluation, constructing a second value loss function through the final behavior evaluation and the second predicted evaluation, and iteratively training a value optimizer through the first value loss function and the second value loss function to iteratively obtain a first update parameter and a second update parameter;
[0038] The first prediction value network and the second prediction value network are iteratively updated based on the first update parameter and the second update parameter to obtain a plurality of second behavior values, wherein the first behavior value and the plurality of the second behavior values constitute the behavior value data set.
[0039] Furthermore, the optimization strategy is obtained by:
[0040] ,
[0041] represents the optimization strategy, represents the approximation, represents the random strategy at time t, Indicates the value of a certain behavior in the value data set at time t, represents the partition function of the normalized distribution, represents the exponential function, Indicates the function that obtains the minimum independent variable.
[0042] Furthermore, the step of defining the reward function is specifically as follows:
[0043] A safety reward function and an efficiency reward function are defined respectively, and a reward function is constructed by using the safety reward function and the efficiency reward function.
[0044] Furthermore, the safety reward function is:
[0045] ,
[0046] in, represents the safety reward function, Indicates initialization instructions. Indicates that the state space is within the safe state space range;
[0047] The efficiency reward function is:
[0048] ,
[0049] in, represents the efficiency reward function, represents the weight factor, Both represent constants that control the size of the reward value. Indicates initialization instructions. represents the judging criteria, and ,
[0050] in, Indicates the relative distance between the main vehicle and the vehicle in front. Indicates the speed of the host vehicle;
[0051] The reward function is:
[0052] ,
[0053] in, represents the reward function.
[0054] Furthermore, the formula for obtaining the optimal following strategy is:
[0055] ,
[0056] in, represents the optimal following strategy, It means to get the function with the largest independent variable. represents the target optimization function, where
[0057] ,
[0058] Represents the data pair formed by the state space and behavior space at time t, Indicates that under the i-th optimization strategy The distribution of represents the mathematical expectation, represents the reward function at time t, represents the entropy coefficient, Represents the behavioral entropy of the i-th optimization strategy in the state space at time t.
[0059] Compared with the prior art, the beneficial effects of the present invention are as follows: by constructing the vehicle following dynamics model, based on the collected driving behavior data, it can well reflect the state of the vehicle when following the vehicle, and form the state space that feeds back the following state; by constructing the sequential gate recurrent unit model, the mapping from the state space to the action is fitted, that is, the behavior space is obtained, and the action value close to the driver's is output through time information, and the following action represented by the state space and the behavior space is evaluated for value, and the random following strategy is optimized based on the result of the value evaluation. At the same time, it is further corrected in combination with the reward function to form the optimal following strategy that fully considers the driver's characteristics, thereby improving the safety and comfort of automatic following.
[0060] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flow chart of the anthropomorphic vehicle following method based on the driver's characteristics in the first embodiment of the present invention;
[0062] Figure 2 It is a structural block diagram of an anthropomorphic vehicle following system based on driver characteristics in a second embodiment of the present invention;
[0063] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0065] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0066] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0067] See also Figure 1 The first embodiment of the present invention provides an anthropomorphic vehicle following method based on driver characteristics, comprising the following steps:
[0068] Step S10: collecting driving behavior data of different drivers, wherein the driving behavior data includes a relative distance between the main vehicle and the front vehicle, a speed of the main vehicle, an acceleration of the main vehicle, a speed of the front vehicle, and an acceleration of the front vehicle;
[0069] Specifically, the step S10 includes:
[0070] S110: Establishing a real-time traffic scene, and capturing a driver's steering wheel angle, accelerator pedal signal, and brake pedal signal in the real-time traffic scene;
[0071] In this embodiment, the real-time traffic scenario is established through the CARLA autonomous driving simulator, and the Logitech G29 driving simulator is used to capture the steering wheel angle, the accelerator pedal signal, and the brake pedal signal.
[0072] S120: transmitting the steering wheel angle, the accelerator pedal signal, and the brake pedal signal to a vehicle dynamics model to obtain actual motion data of the host vehicle;
[0073] That is, the driving state of the vehicle is simulated based on the vehicle dynamics model by transmitting the driver's operation signal to the vehicle dynamics model.
[0074] S130: interacting the actual motion data of the host vehicle with the real-time traffic scene to obtain driving behavior data;
[0075] After simulating the driving state of the vehicle, the simulated vehicle is placed in the real-time traffic scene to simulate the vehicle following state in the real-time traffic scene, and then corresponding data is collected.
[0076] Step S20: constructing a vehicle following kinematics model based on the driving behavior data and the longitudinal motion of the vehicle, and determining a state space through the vehicle following dynamics model;
[0077] It can be understood that when constructing the vehicle following kinematic model, the longitudinal motion of the vehicle is considered, and the coupling efficiency of the lateral motion to the longitudinal motion when the vehicle turns is ignored. The vehicle following kinematic model is:
[0078] ,
[0079] in, represents the speed of the preceding vehicle at the i-th moment, represents the speed of the preceding vehicle at time i-1, represents the acceleration of the preceding vehicle, represents the sampling time interval, represents the main vehicle speed at the i-th moment, represents the main vehicle speed at the i-1th moment, represents the acceleration of the host vehicle, represents the relative speed between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the preceding vehicle at the i-1th moment;
[0080] The expression of the state space is:
[0081] ,
[0082] in, Represents the state space.
[0083] Step S30: constructing a sequential gate recurrent unit model, training the sequential gate recurrent unit model through the state space and the loss function, so that the sequential gate recurrent unit model outputs the host vehicle predicted acceleration, and determining the behavior space based on the host vehicle predicted acceleration;
[0084] In order to be closer to the driver's decision-making process, state data in several time series before the decision is selected as the input of the sequential gate recurrent unit model, and the input state data is standardized to complete the construction of the sequential gate recurrent unit model.
[0085] The loss function is:
[0086] ,
[0087] in, represents the loss function, represents the number of training samples, represents the acceleration of the host vehicle, Indicates the predicted acceleration of the host vehicle;
[0088] It can be understood that the sequential gate recurrent unit model is used to complete the acceleration prediction of the host vehicle under the time series, and the loss function is used to make the output value of the sequential gate recurrent unit model closer to the true value.
[0089] The expression of the behavior space is:
[0090] ,
[0091] in, Represents the behavior space.
[0092] Step S40: Determine a behavior value data set based on the state space and the behavior space.
[0093] The step S40 comprises:
[0094] S410: constructing a behavior network, and predicting the state space and behavior space at different times through the behavior network to form data pairs;
[0095] Specifically, the behavior network obtains the state space and the behavior space at a first moment, predicts the state space and the behavior space at a second moment based on the state space and the behavior space at the first moment, and forms a training data group through several times of collection and prediction of the state space and the behavior space at the first moment and the corresponding state space and behavior space at the second moment. The behavior network is trained through the training data group, thereby realizing the prediction function of the behavior network.
[0096] S420: constructing a first target value network and a second target value network, and using the data pair as input values of the first target value network and the second target value network respectively to obtain a first behavior evaluation and a second behavior evaluation;
[0097] The first target value network can be expressed as: , the second target value network can be expressed as: ,in, , All represent target value network parameters, represents the state space at time t, Represents the behavior space at time t.
[0098] S430: selecting a final behavior evaluation from among the first behavior evaluation and the second behavior evaluation;
[0099] The first behavior evaluation is compared with the second behavior evaluation. If the first behavior evaluation is less than the second behavior evaluation, the first behavior evaluation is selected as the final behavior evaluation. If the first behavior evaluation is greater than the second behavior evaluation, the second behavior evaluation is selected as the final behavior evaluation.
[0100] S440: constructing a first prediction value network and a second prediction value network, using the final behavior evaluation as input values of the first prediction value network and the second prediction value network, respectively, to obtain a first prediction evaluation and a second prediction evaluation;
[0101] The first prediction value network can be expressed as: , the second prediction value network can be expressed as: ,in, , All represent the predicted value network parameters.
[0102] S450: Acquire a behavior value data group through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation;
[0103] Specifically, determining a first behavior value from the first predicted evaluation and the second predicted evaluation;
[0104] The first predicted evaluation is compared with the second predicted evaluation. If the first predicted evaluation is less than the second predicted evaluation, the first predicted evaluation is selected as the first behavior value. If the first predicted evaluation is greater than the second predicted evaluation, the second predicted evaluation is selected as the first behavior value.
[0105] Constructing a first value loss function through the final behavior evaluation and the first predicted evaluation, constructing a second value loss function through the final behavior evaluation and the second predicted evaluation, and iteratively training a value optimizer through the first value loss function and the second value loss function to iteratively obtain a first update parameter and a second update parameter;
[0106] The first prediction value network and the second prediction value network are iteratively updated based on the first update parameter and the second update parameter to obtain a plurality of second behavior values, wherein the first behavior value and the plurality of the second behavior values constitute the behavior value data set.
[0107] After the value optimizer completes one training, it outputs the first update parameter and the second update parameter for the first time, and replaces the original parameters of the first prediction value network and the second prediction value network with the first update parameter and the second update parameter output for the first time, so as to re-obtain the first prediction evaluation and the second prediction evaluation, and complete the acquisition of the second behavior value. As the iteration proceeds, the acquisition of several second behavior values can be completed. It can be understood that the actual meaning of the first behavior value and the second behavior value are consistent, and the only difference is the results obtained based on different parameters.
[0108] S50: optimizing the random strategy through the behavior value data group to obtain a plurality of optimized strategies;
[0109] It can be understood that the random strategy refers to a randomly generated car-following strategy, which does not take into account the driving characteristics of the driver. The formula for obtaining the optimization strategy is:
[0110] ,
[0111] represents the optimization strategy, represents the approximation, represents the random strategy at time t, Indicates the value of a certain behavior in the value data set at time t, represents the partition function of the normalized distribution, represents the exponential function, Indicates the function that obtains the minimum independent variable.
[0112] S60: defining a reward function, and constructing a target optimization function through the reward function and the optimization strategy to determine an optimal vehicle following strategy from a plurality of the optimization strategies;
[0113] Defining the reward function specifically includes: defining a safety reward function and an efficiency reward function respectively, and constructing a reward function through the safety reward function and the efficiency reward function;
[0114] The safety reward function is:
[0115] ,
[0116] in, represents the safety reward function, Indicates initialization instructions. Indicates that the state space is within the safe state space range.
[0117] The role of the safety reward function is to avoid collisions between agents and give agents a larger penalty when a collision occurs.
[0118] The efficiency reward function is:
[0119] ,
[0120] in, represents the efficiency reward function, represents the weight factor, Both represent constants that control the size of the reward value. Indicates initialization instructions. represents the judging criteria, and ,
[0121] in, Indicates the relative distance between the main vehicle and the vehicle in front. Indicates the speed of the host vehicle;
[0122] The efficiency reward function is used to prevent vehicle following failure and excessive following distance.
[0123] The reward function is:
[0124] ,
[0125] in, represents the reward function.
[0126] When determining the optimal following strategy, the optimal benefit and the entropy value of the behavior are considered. The formula for obtaining the optimal following strategy is:
[0127] ,
[0128] in, represents the optimal following strategy, It means to get the function with the largest independent variable. represents the target optimization function, where
[0129] ,
[0130] Represents the data pair formed by the state space and behavior space at time t, Indicates that under the i-th optimization strategy The distribution of represents the mathematical expectation, represents the reward function at time t, represents the entropy coefficient, It represents the behavior entropy of the i-th optimization strategy in the state space at time t. The behavior entropy characterizes the degree to which the i-th optimization strategy may appear in the state space at time t.
[0131] The following strategies are determined by using the traditional method and the method of the present application, and the following situations are simulated according to the corresponding following strategies, the main vehicle data is collected, and the collected main vehicle data is compared with the driving behavior data by error value. The comparison is shown in the following table:
[0132] ,
[0133] It should be noted that the closer the error is to 0, the closer it is to the driver's characteristics. It can be seen from the above table that the optimal following strategy obtained based on the present application is obviously closer to the driver's characteristics than the traditional following strategy.
[0134] By constructing the vehicle following dynamics model, based on the collected driving behavior data, the state of the vehicle when following the vehicle can be well reflected, and the state space for feedback of the following state can be formed. By constructing the sequential gate recurrent unit model, the mapping from the state space to the action can be fitted, that is, the behavior space can be obtained, and the action value close to the driver's can be output through time information. The following action represented by the state space and the behavior space is evaluated for value, and the random following strategy is optimized based on the result of the value evaluation. At the same time, further correction is made in combination with the reward function to form the optimal following strategy that fully considers the driver's characteristics, thereby improving the safety and comfort of automatic following.
[0135] See also Figure 2 The second embodiment of the present invention provides an anthropomorphic following system based on driver characteristics, which is applied to the anthropomorphic following method based on driver characteristics in the above embodiments, and will not be repeated hereafter. As used below, the terms "module", "unit", "subunit", etc. may be a combination of software and / or hardware that implements predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, the implementation in hardware, or a combination of software and hardware, is also possible and conceivable.
[0136] The system comprises:
[0137] The acquisition module 10 is used to collect driving behavior data of different drivers, wherein the driving behavior data includes the relative distance between the main vehicle and the front vehicle, the main vehicle speed, the main vehicle acceleration, the front vehicle speed and the front vehicle acceleration;
[0138] The acquisition module 10 includes:
[0139] A first unit is used to establish a real-time traffic scene, and capture a driver's steering wheel angle, accelerator pedal signal, and brake pedal signal in the real-time traffic scene;
[0140] A second unit is used to transmit the steering wheel angle, the accelerator pedal signal and the brake pedal signal to a vehicle dynamics model to obtain actual motion data of the host vehicle;
[0141] A third unit is used to interact the actual motion data of the host vehicle with the real-time traffic scene to obtain driving behavior data;
[0142] A simulation module 20, for constructing a vehicle following kinematics model based on the driving behavior data and the longitudinal motion of the vehicle, and determining a state space through the vehicle following dynamics model;
[0143] A prediction module 30 is used to construct a sequential gate recurrent unit model, train the sequential gate recurrent unit model through the state space and the loss function, so that the sequential gate recurrent unit model outputs the host vehicle predicted acceleration, and determine the behavior space based on the host vehicle predicted acceleration;
[0144] An execution module 40, configured to determine a behavior value data set based on the state space and the behavior space;
[0145] The execution module 40 includes:
[0146] A fourth unit is used to construct a behavior network, and predict the state space and behavior space at different times through the behavior network to form data pairs;
[0147] A fifth unit is used to construct a first target value network and a second target value network, and use the data pair as input values of the first target value network and the second target value network respectively to obtain a first behavior evaluation and a second behavior evaluation;
[0148] A sixth unit, configured to select a final behavior evaluation from the first behavior evaluation and the second behavior evaluation;
[0149] A seventh unit is used to construct a first prediction value network and a second prediction value network, and use the final behavior evaluation as input values of the first prediction value network and the second prediction value network respectively to obtain a first prediction evaluation and a second prediction evaluation;
[0150] An eighth unit is used to obtain a behavior value data group through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation;
[0151] The eighth unit is specifically configured to determine a first behavior value from the first prediction evaluation and the second prediction evaluation;
[0152] Constructing a first value loss function through the final behavior evaluation and the first predicted evaluation, constructing a second value loss function through the final behavior evaluation and the second predicted evaluation, and iteratively training a value optimizer through the first value loss function and the second value loss function to iteratively obtain a first update parameter and a second update parameter;
[0153] Iteratively updating the first prediction value network and the second prediction value network based on the first update parameter and the second update parameter respectively to obtain a plurality of second behavior values, wherein the first behavior value and the plurality of the second behavior values constitute the behavior value data set;
[0154] A first optimization module 50, configured to optimize the random strategy using the behavior value data set to obtain a plurality of optimized strategies;
[0155] The second optimization module 60 is used to define a reward function, and to construct a target optimization function through the reward function and the optimization strategy, so as to determine an optimal vehicle following strategy from a plurality of the optimization strategies.
[0156] The second optimization module 60 includes:
[0157] The ninth unit is used to define a safety reward function and an efficiency reward function respectively, and construct a reward function through the safety reward function and the efficiency reward function.
[0158] The present invention also provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the anthropomorphic vehicle following method based on driver characteristics as described in the above technical solution is implemented.
[0159] The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the anthropomorphic vehicle following method based on driver characteristics as described in the above technical solution is implemented.
[0160] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0161] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An anthropomorphic car-following method based on driver characteristics, It is characterized in that The following steps are involved: Collecting driving behavior data of different drivers, the driving behavior data including the relative distance between the main vehicle and the front vehicle, the main vehicle speed, the main vehicle acceleration, the front vehicle speed and the front vehicle acceleration; Based on the driving behavior data and taking the longitudinal motion of the vehicle as a basis, a vehicle following kinematic model is constructed, and a state space is determined through the vehicle following dynamics model; Constructing a sequential gate recurrent unit model, training the sequential gate recurrent unit model through the state space and the loss function, so that the sequential gate recurrent unit model outputs the host vehicle predicted acceleration, and determining the behavior space based on the host vehicle predicted acceleration; Determine a behavior value data set based on the state space and the behavior space; Optimizing the random strategy through the behavior value data group to obtain a plurality of optimized strategies; A reward function is defined, and a target optimization function is constructed through the reward function and the optimization strategy to determine an optimal vehicle following strategy from a plurality of the optimization strategies.
2. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The step of collecting driving behavior data of different drivers includes: Establishing a real-time traffic scenario, capturing a driver's steering wheel angle, accelerator pedal signal, and brake pedal signal in the real-time traffic scenario; Transmitting the steering wheel angle, the accelerator pedal signal and the brake pedal signal to a vehicle dynamics model to obtain actual motion data of the host vehicle; The actual motion data of the host vehicle and the real-time traffic scene are interacted to obtain driving behavior data.
3. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The vehicle following kinematic model is: , in, represents the speed of the preceding vehicle at the i-th moment, represents the speed of the preceding vehicle at time i-1, represents the acceleration of the preceding vehicle, represents the sampling time interval, represents the main vehicle speed at the i-th moment, represents the main vehicle speed at the i-1th moment, represents the acceleration of the host vehicle, represents the relative speed between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the front vehicle at the i-th moment, represents the relative distance between the main vehicle and the preceding vehicle at the i-1th moment; The expression of the state space is: , in, Represents the state space.
4. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The loss function is: , in, represents the loss function, represents the number of training samples, represents the acceleration of the host vehicle, Indicates the predicted acceleration of the host vehicle; The expression of the behavior space is: , in, Represents the behavior space.
5. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The step of determining the behavior value data set based on the state space and the behavior space comprises: Constructing a behavior network, and predicting the state space and behavior space at different times through the behavior network to form data pairs; Constructing a first target value network and a second target value network, and using the data pair as input values of the first target value network and the second target value network, respectively, to obtain a first behavior evaluation and a second behavior evaluation; Selecting a final behavior evaluation from the first behavior evaluation and the second behavior evaluation; Constructing a first prediction value network and a second prediction value network, using the final behavior evaluation as input values of the first prediction value network and the second prediction value network, respectively, to obtain a first prediction evaluation and a second prediction evaluation; A behavior value data group is obtained through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation.
6. The anthropomorphic vehicle following method based on driver characteristics according to claim 5, It is characterized in that The step of obtaining the behavior value data set through the final behavior evaluation, the first predicted evaluation and the second predicted evaluation comprises: determining a first behavior value from the first predicted evaluation and the second predicted evaluation; Constructing a first value loss function through the final behavior evaluation and the first predicted evaluation, constructing a second value loss function through the final behavior evaluation and the second predicted evaluation, and iteratively training a value optimizer through the first value loss function and the second value loss function to iteratively obtain a first update parameter and a second update parameter; The first prediction value network and the second prediction value network are iteratively updated based on the first update parameter and the second update parameter to obtain a plurality of second behavior values, wherein the first behavior value and the plurality of the second behavior values constitute the behavior value data set.
7. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The formula for obtaining the optimization strategy is: , represents the optimization strategy, represents the approximation, represents the random strategy at time t, Indicates the value of a certain behavior in the value data set at time t, represents the partition function of the normalized distribution, represents the exponential function, Indicates the function that obtains the minimum independent variable.
8. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The steps of defining the reward function are specifically as follows: A safety reward function and an efficiency reward function are defined respectively, and a reward function is constructed by using the safety reward function and the efficiency reward function.
9. The anthropomorphic vehicle following method based on driver characteristics according to claim 8, It is characterized in that The safety reward function is: , in, represents the safety reward function, Indicates initialization instructions. Indicates that the state space is within the safe state space range; The efficiency reward function is: , in, represents the efficiency reward function, represents the weight factor, Both represent constants that control the size of the reward value. Indicates initialization instructions. represents the judging criteria, and , in, Indicates the relative distance between the main vehicle and the vehicle in front. Indicates the speed of the host vehicle; The reward function is: , in, represents the reward function.
10. The anthropomorphic vehicle following method based on driver characteristics according to claim 1, It is characterized in that The formula for obtaining the optimal following strategy is: , in, represents the optimal following strategy, It means to get the function with the largest independent variable. represents the target optimization function, where , Represents the data pair formed by the state space and behavior space at time t, Indicates that under the i-th optimization strategy The distribution of represents the mathematical expectation, represents the reward function at time t, represents the entropy coefficient, Represents the behavioral entropy of the i-th optimization strategy in the state space at time t.
