WO2024082213A1 - Method and apparatus for constructing vehicle dynamics model, device, and storage medium - Google Patents

Method and apparatus for constructing vehicle dynamics model, device, and storage medium Download PDF

Info

Publication number
WO2024082213A1
WO2024082213A1 PCT/CN2022/126417 CN2022126417W WO2024082213A1 WO 2024082213 A1 WO2024082213 A1 WO 2024082213A1 CN 2022126417 W CN2022126417 W CN 2022126417W WO 2024082213 A1 WO2024082213 A1 WO 2024082213A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
tire
force data
model
fusion weight
Prior art date
Application number
PCT/CN2022/126417
Other languages
French (fr)
Chinese (zh)
Inventor
罗杰
刘栋豪
梁艺潇
张永生
何朗
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2022/126417 priority Critical patent/WO2024082213A1/en
Publication of WO2024082213A1 publication Critical patent/WO2024082213A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the present application relates to the field of automobile technology, and in particular to a method, device, equipment and storage medium for constructing a vehicle dynamics model.
  • the control algorithms of autonomous driving systems are also being updated and iterated.
  • a vehicle dynamics model is usually built in the simulation system.
  • the control algorithm generates driving control parameters (such as steering wheel angle, accelerator pedal opening, brake pedal opening, etc.), which are input into the vehicle dynamics model to obtain simulated driving data (such as vehicle speed, acceleration, tire speed, etc.).
  • driving control parameters such as steering wheel angle, accelerator pedal opening, brake pedal opening, etc.
  • simulated driving data such as vehicle speed, acceleration, tire speed, etc.
  • the control accuracy of the control algorithm is verified based on the simulated driving data.
  • the construction of the vehicle dynamics model plays a vital role in the verification process of the control algorithm.
  • the constructed vehicle dynamics model cannot accurately reflect the dynamic performance of the vehicle. Therefore, how to build a vehicle dynamics model that can accurately reflect the dynamic characteristics of the vehicle has become an urgent problem to be solved.
  • the embodiments of the present application provide a method, apparatus, device and storage medium for constructing a vehicle dynamics model, which can construct a vehicle dynamics model that can more accurately reflect the dynamic performance of the vehicle.
  • a method for constructing a vehicle dynamics model includes a tire data model, a tire mechanism model, and a whole vehicle dynamics model
  • the construction method includes: obtaining actual vehicle driving data of the vehicle under a first driving control parameter. Inputting the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain first tire force data and second tire force data. Fusing the first tire force data and the second tire force data to obtain fused tire force data. Inputting the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data. Adjusting the tire data model according to the simulated driving data and the actual vehicle driving data.
  • a tire data model is introduced on the basis of the existing vehicle dynamics model.
  • the tire data model is a machine learning model obtained by training and adjusting parameters based on real vehicle driving data.
  • the tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data.
  • the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more in line with the dynamic performance of the real vehicle.
  • the first tire force data includes first lateral force data and first longitudinal force data
  • the second tire force data includes second lateral force data and second longitudinal force data. Accordingly, the first tire force data and the second tire force data may be fused as follows:
  • the first lateral force data and the second lateral force data are fused to obtain fused lateral force data.
  • the first longitudinal force data and the second longitudinal force data are fused to obtain fused longitudinal force data.
  • the fused lateral force data and the fused longitudinal force data are input into the vehicle dynamics model to obtain simulated driving data.
  • the lateral force data output by the two models can be weighted summed, and the longitudinal force models output by the two models can be weighted summed.
  • the lateral force fusion weight and the longitudinal force fusion weight used in the weighted summation are obtained according to the driving control parameters. That is, the lateral force fusion weight and the longitudinal force fusion weight change adaptively with the change of the driving control parameters.
  • the lateral force fusion weight and the longitudinal force fusion weight can also be determined according to the actual vehicle driving data. That is, the lateral force fusion weight and the longitudinal force fusion weight are adaptively changed with the changes in the driving control parameters and the actual vehicle driving data.
  • the constructed vehicle dynamics model can better adapt to various working conditions.
  • a correspondence between driving control parameters, lateral force fusion weights, and longitudinal force fusion weights may be established in advance, and then, when determining the first lateral force fusion weight and the first longitudinal force fusion weight corresponding to the first driving control parameter, this may be achieved by querying the above correspondence.
  • a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter may also be obtained through a fusion weight decision model.
  • the fusion weight decision model may be a machine learning model, specifically, a clustering model, such as a K-means clustering model, a density clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN), and the like.
  • the data dimension of the simulated driving data is the same as the data dimension of the actual vehicle driving data, and the data dimension includes at least one of lateral speed, longitudinal speed, tire speed, lateral acceleration, longitudinal acceleration, and yaw angle.
  • training parameters can be adjusted based on the actual vehicle driving data and the simulated driving data.
  • the process of adjusting the parameters of the tire data model according to the simulated driving data and the actual vehicle driving data may be as follows:
  • the first errors are weighted and summed to obtain the second error. If the second error is not less than the second threshold, it is determined that the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, and the tire data model is adjusted.
  • the parameter adjustment method can be a gradient descent method, a Bayesian extreme value search method, and a neural network (NN) fitting method.
  • a method for generating simulated driving data comprising:
  • the fused tire force data is input into the whole vehicle dynamics model to obtain simulated driving data.
  • the first tire force data includes first lateral force data and first longitudinal force data
  • the second tire force data includes second lateral force data and second longitudinal force data
  • the first tire force data and the second tire force data are fused to obtain fused tire force data, including:
  • Inputting the fused tire force data into the vehicle dynamics model to obtain simulated driving data includes:
  • the fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
  • the method further includes:
  • the fusing the first lateral force data and the second lateral force data to obtain fused lateral force data includes:
  • the fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data includes:
  • the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
  • determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter includes:
  • a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
  • determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter includes:
  • the driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
  • a device for constructing a vehicle dynamics model comprising modules for executing the method for constructing a vehicle dynamics model in the first aspect or any possible implementation of the first aspect.
  • a device for generating simulated driving data comprising modules for executing the method for generating simulated driving data in the second aspect or any possible implementation of the second aspect.
  • a computer device comprising a processor and a memory, wherein the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
  • a computer device comprising a processor and a memory, wherein the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
  • a computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
  • a computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
  • a computer program product comprising instructions, the instructions being loaded and executed by a processor to implement the method of constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
  • a computer program product comprising instructions, the instructions being loaded and executed by a processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
  • FIG1 is a schematic diagram of a vehicle dynamics model provided by an exemplary embodiment of the present application.
  • FIG2 is a flow chart of a method for constructing a vehicle dynamics model provided by an exemplary embodiment of the present application
  • FIG3 is a schematic diagram of a vehicle dynamics model provided by an exemplary embodiment of the present application.
  • FIG4 is a flow chart of a method for generating simulated driving data provided by an exemplary embodiment of the present application.
  • FIG5 is a schematic diagram of a device structure for constructing a vehicle dynamics model provided by an exemplary embodiment of the present application.
  • FIG6 is a schematic diagram of a structure of a device for generating simulated driving data provided by an exemplary embodiment of the present application
  • FIG. 7 is a schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application.
  • the embodiment of the present application provides a method for constructing a vehicle dynamics model.
  • the method introduces a tire data model based on the existing vehicle dynamics model.
  • the tire data model is obtained by training and adjusting parameters of real vehicle driving data.
  • the tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data.
  • the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more consistent with the dynamic performance of the real vehicle.
  • the vehicle dynamics model includes a tire mechanism model and a vehicle dynamics model.
  • the vehicle dynamics model includes a tire dynamics model and a vehicle body dynamics model. Both the tire mechanism model and the vehicle dynamics model are models constructed based on physical principles.
  • the tire mechanism model and the vehicle dynamics model are coupled via tire force data, wherein the tire force data is output by the tire mechanism model.
  • the tire force data output by the tire mechanism model is recorded as: F model .
  • the tire mechanism model After the driving control parameters are input into the tire mechanism model, the tire mechanism model outputs the tire force data F model , and outputs F model to the vehicle dynamics model, and then the vehicle dynamics model outputs the simulated driving data.
  • a vehicle dynamics model constructed using the method provided by the present application is also shown.
  • a tire data model is introduced into the vehicle dynamics model constructed using the method provided by the present application.
  • the tire data model After the driving control parameters are input into the tire mechanism model and the tire data model, the tire data model outputs the first tire force data, and the tire mechanism model outputs the second tire force data F model .
  • the first tire force data is recorded as: F data .
  • the first tire force data F data and the second tire force data F model are fused to obtain fused force data F adaptive .
  • the fused force data F adaptive is input into the whole vehicle dynamics model, and the whole vehicle dynamics model outputs simulated driving data.
  • the tire data model is a machine learning model, which is obtained by training and adjusting parameters of real vehicle driving data, so that the constructed vehicle dynamics model can more accurately reflect the dynamic performance of the vehicle.
  • the method for constructing a vehicle dynamics model provided in the embodiment of the present application can be implemented by a computer device, which can be a terminal or a server.
  • a computer device which can be a terminal or a server.
  • the computer device can be a desktop computer, a laptop computer, etc.
  • the computer device is a server, it can be a single server, a server cluster, or a virtual machine deployed in the server.
  • the computer equipment obtains the actual vehicle driving data of the vehicle and the simulated driving data output by the vehicle dynamics model under the same driving control parameters, and then trains and adjusts the tire data model according to the actual vehicle driving data and the simulated driving data to obtain the vehicle dynamics model including the adjusted tire data model.
  • the method may include the following processing steps:
  • Step 201 Acquire actual vehicle driving data under driving control parameters.
  • vehicles of the same model may use the same vehicle dynamics model. Therefore, when constructing the vehicle dynamics model, a corresponding vehicle dynamics model may be constructed for each vehicle model.
  • the vehicle When building a vehicle dynamics model for any vehicle model, the vehicle can be driven manually first, and when driving the vehicle, the accelerator pedal opening, brake pedal opening and steering wheel angle need to be changed to make the vehicle drive under different working conditions.
  • the driving control parameters and actual vehicle driving data of the vehicle can be collected through sensors.
  • the driving control parameters may include multiple data dimensions, such as steering wheel angle, brake pedal opening, accelerator pedal opening, etc.
  • the steering wheel angle can be collected by a steering wheel angle sensor (Steering Angle Sensor, SAS), and the brake pedal opening and accelerator pedal opening can be collected by corresponding pedal travel sensors (Pedal Travel Sensor, PTS).
  • SAS Steering Angle Sensor
  • PTS pedal travel Sensor
  • the actual vehicle driving data may include multiple data dimensions, such as the vehicle's lateral speed, longitudinal speed, wheel speed, lateral acceleration, longitudinal acceleration and yaw angle, etc.
  • the lateral speed and longitudinal speed can be collected by the RT sensor
  • the vehicle speed can be collected by the wheel speed sensor (WSS)
  • the lateral acceleration, longitudinal acceleration and yaw angle can be collected by the inertial measurement unit (IMU).
  • IMU inertial measurement unit
  • the computer device obtains the driving control parameters and the actual vehicle driving data collected by the sensor.
  • the data collected by the sensor may have data glitches.
  • the computer device can perform data cleaning by filtering to eliminate the data glitches.
  • the data collection period of each data dimension in the above-mentioned real vehicle driving data and the collection period of driving control parameters can be set to be the same.
  • the data collection period of the above-mentioned SAS, PTS, RT, WSS, IMU and other sensors can be set to be the same.
  • the computer device can use the driving control parameters and the corresponding real vehicle driving data obtained in the same collection period as a set of benchmark training data.
  • the data dimension of the above-mentioned actual vehicle driving data is only an example. According to the different degrees of freedom requirements of the vehicle dynamics model, the data dimension of the actual vehicle driving data can be increased or decreased. This application does not limit the data dimension of the actual vehicle driving data.
  • Step 202 Input the driving control parameters into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
  • the driving control parameters in the set of benchmark training data are respectively input into the tire data model and the tire mechanism model to obtain the first tire force data output by the tire data model and the second tire force data output by the tire mechanism model.
  • the tire force data may include lateral force data and longitudinal force data. Accordingly, after the driving control parameters are respectively input into the tire data model and the tire mechanism model, the first lateral force data and the first longitudinal force data output by the tire data model, and the second lateral force data and the second longitudinal force data output by the tire mechanism model can be obtained.
  • Step 203 Fusing the first tire force data and the second tire force data to obtain fused tire force data.
  • first lateral force data and the second lateral force data are fused to obtain fused lateral force data.
  • the first longitudinal force data and the second longitudinal force data are fused to obtain fused longitudinal force data.
  • the first lateral force data and the first longitudinal force data output by the tire data model are recorded as: F x,data and F y,data
  • the second lateral force data and the second longitudinal force data output by the tire mechanism model are recorded as: F x,model and F y,model , respectively.
  • the first lateral force data F x,data and the second lateral force data F x,model are fused to obtain fused lateral force data F x,adaptive
  • the first longitudinal force data F y,data and the second longitudinal force data F y,model are fused to obtain fused longitudinal force data F y,adaptive .
  • the process may include the following steps:
  • Step 2031 Obtain the target horizontal fusion weight and the target vertical fusion weight.
  • the values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters and/or the actual vehicle driving data. Based on this, there are many methods for obtaining the target lateral fusion weight and the target longitudinal fusion weight. Several of these methods are described below as examples.
  • Method 1 Implement by presetting rules and looking up the table.
  • this method can have multiple situations.
  • the corresponding relationship between the driving control parameters, the lateral fusion weight and the longitudinal fusion weight can be established in advance, as shown in the following Table 1:
  • each row of data in the column where the driving control parameter is located can represent a value range set, and the value range set can include at least one data dimension value range of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle.
  • the specific data dimension value ranges included can be configured according to actual needs, for example, including the value ranges of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle.
  • the corresponding target lateral weight and target longitudinal fusion weight are determined in the corresponding relationship among the driving control parameters, the lateral fusion weight and the longitudinal fusion weight.
  • the target lateral fusion weight will be determined to be w x1
  • the target longitudinal fusion weight will be determined to be w y1 .
  • the corresponding relationship between the driving control parameter actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight can be established in advance, as shown in Table 2 below:
  • the actual vehicle driving data can be represented in the form of a value range.
  • each row of data in the column where the actual vehicle driving data is located can represent a value range set, and the value range set can include at least one data dimension value range of the lateral speed, the longitudinal speed, the wheel speed, the lateral acceleration, the longitudinal acceleration, and the yaw angle.
  • the specific data dimension value ranges can be configured according to actual needs, for example, including the value ranges of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle.
  • the corresponding target lateral weight and target longitudinal fusion weight are determined in the corresponding relationship among the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight.
  • the target lateral fusion weight will be determined to be w x2 and the target longitudinal fusion weight will be determined to be w y2 .
  • the values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters and the actual vehicle driving data
  • the corresponding relationship between the driving control parameters, the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight is established in advance, as shown in the following Table 3:
  • Driving control parameters Real vehicle driving data Horizontal fusion weight Vertical fusion weight A1 B1 w x1 w y1 A2 B2 w x2 w y2 A3 B3 w x3 w y2 ... ... ... ... ...
  • the corresponding target lateral fusion weight and target longitudinal fusion weight are determined in the correspondence between the driving control parameters, the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight.
  • the target lateral fusion weight is determined to be w x3 and the target longitudinal fusion weight is determined to be w y3 .
  • Method 2 Implemented through fusion weight decision model.
  • the fusion weight decision model can be a machine learning model, specifically, a clustering model, such as K-means clustering model, density clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN), etc.
  • a clustering model such as K-means clustering model, density clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN), etc.
  • this method can have multiple situations.
  • the driving control parameters in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
  • the actual vehicle driving data in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
  • the driving control parameters and the actual vehicle driving data in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
  • target horizontal fusion weight and the target vertical fusion weight may be obtained using the same fusion weight decision model or different fusion weight decision models, and this application does not limit this.
  • Step 2032 Perform weighted summation on the first lateral force data and the second lateral force data according to the target lateral fusion weight to obtain fused lateral force data.
  • weighted summation process can be performed according to the following formula:
  • F x,adaptive w x *F x,model +(1-w x )*F x,data
  • Fx ,adaptive is the fused lateral force data
  • Fx ,data is the first lateral force data output by the tire data model
  • Fx ,model is the second lateral force data output by the tire mechanism model
  • wx is the target lateral fusion weight
  • Step 2033 According to the target longitudinal fusion weight, weighted sum is performed on the first longitudinal force and the second longitudinal force to obtain longitudinal fusion force data.
  • weighted summation process can be performed according to the following formula:
  • F y adaptive is the fused longitudinal force data
  • F y data is the first longitudinal force data output by the tire data model
  • F y model is the second longitudinal force data output by the tire mechanism model
  • w y is the target longitudinal fusion weight
  • the driving control parameters and the actual vehicle driving data may be processed before determining the target lateral fusion weight and the target longitudinal fusion weight based on the driving control parameters and the actual vehicle driving data.
  • the processing method can be as follows:
  • the steering wheel angle and the longitudinal speed are multiplied by a first coefficient, wherein the first coefficient is less than 1.
  • the brake pedal opening, the accelerator pedal opening, and the lateral speed are multiplied by a second coefficient, wherein the second coefficient is less than 1.
  • the first coefficient and the second coefficient may be the same or different.
  • Step 204 Input the fused tire force data into the vehicle dynamics model to obtain simulated driving data.
  • the fused lateral force and the fused longitudinal force are input into the vehicle dynamics model, and the vehicle dynamics model outputs simulated driving data, wherein the data dimension of the simulated driving data is the same as the data dimension of the real vehicle driving data.
  • step 205 in order to improve the training efficiency of the tire data model, after obtaining the simulated driving data, it is possible to first determine whether the simulated driving data satisfies the error constraint condition. If the simulated driving data satisfies the error constraint condition, then continue to execute step 205.
  • the method for determining whether the simulated driving data meets the error constraint condition may be as follows:
  • the first error between the data of the same data dimension in the actual vehicle driving data and the simulated driving data is calculated. If the first errors are all less than the error threshold of the corresponding data dimension, it is determined that the simulated driving data meets the error constraint condition.
  • the error threshold of each data dimension can be set according to actual needs.
  • the error threshold of the lateral acceleration can be 0.5m/ s2
  • the error threshold of the longitudinal acceleration can be 0.5m/ s2
  • the error threshold of the yaw angle is 0.1rad/s
  • the error threshold of the wheel speed is 0.5rad/s
  • the error threshold of the lateral speed is 1m/s
  • the error threshold of the longitudinal speed is 0.2m/s.
  • the calculation of the first error can be expressed as follows:
  • ⁇ Vx is the first error between the lateral velocity Vx ,model in the simulated driving data and the lateral velocity Vx ,sensor in the actual vehicle driving data
  • ⁇ Vy is the first error between the longitudinal velocity Vy ,model in the simulated driving data and the longitudinal velocity Vy ,sensor in the actual vehicle driving data
  • ⁇ Ax is the first error between the lateral acceleration Ax,model in the simulated driving data and the lateral acceleration Ax,sensor in the actual vehicle driving data
  • ⁇ Ay is the first error between the longitudinal acceleration Ay,model in the simulated driving data and the longitudinal acceleration Ay ,sensor in the actual vehicle driving data
  • is the first error between the yaw angle ⁇ model in the simulated driving data and the yaw angle ⁇ sensor in the actual vehicle driving data
  • is the first error between the vehicle speed ⁇ model in the simulated driving data and the wheel speed ⁇ sensor in the actual vehicle driving data.
  • Step 205 Determine whether the error of the simulated driving data relative to the actual vehicle driving data satisfies the convergence condition.
  • different data dimensions may correspond to different weights. Accordingly, in step 205, the first errors may be weighted and summed according to the pre-configured weights corresponding to the data dimensions to obtain the second error. Then, it is determined whether the error between the simulated driving data and the actual vehicle driving data meets the convergence condition according to the second error.
  • the weighted summation of the first error can be expressed as the following formula:
  • loss is the second error
  • f Vx is the weight corresponding to the lateral velocity
  • f Vy is the weight corresponding to the longitudinal velocity
  • f Ax is the weight corresponding to the lateral acceleration
  • f Ay is the weight corresponding to the longitudinal velocity
  • f ⁇ is the weight corresponding to the yaw angle
  • f ⁇ is the weight corresponding to the wheel speed.
  • the sum of f Vx , f Vy , f Ax , f Ay , f ⁇ , and f ⁇ is 1.
  • Step 206 If the error between the simulated driving data and the actual vehicle driving data meets the convergence condition, a vehicle dynamics model is generated.
  • the vehicle dynamics model is generated using the current tire data model.
  • the convergence threshold can be set according to the accuracy requirements of the vehicle dynamics model.
  • Step 207 If the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, the tire data model is adjusted according to the simulated driving data and the actual vehicle driving data.
  • the tire data model is adjusted according to the actual vehicle driving data and the simulated driving data.
  • the parameter adjustment method may be a gradient descent method, a Bayesian extreme value search method, a neural network (NN) fitting method, and the like.
  • the weights corresponding to the data dimensions in step 205 may also be adjusted according to the convergence of the error between the simulated driving data and the actual vehicle driving data during the training and parameter adjustment process. For example, when the number of parameter adjustments reaches the upper limit, if the error between the simulated driving data and the actual vehicle driving data has not yet met the convergence condition, the weights corresponding to the data dimensions may be adjusted, and the training and parameter adjustment may be continued after the adjustment.
  • the method for constructing a vehicle dynamics model in the embodiment of the present application introduces a tire data model based on the existing vehicle dynamics model.
  • the tire data model is obtained by training and adjusting parameters of real vehicle driving data.
  • the tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data.
  • the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more consistent with the dynamic performance of the real vehicle.
  • the embodiment of the present application further provides a method for generating simulated driving data, which can be implemented using the vehicle dynamics model constructed by the above method.
  • the method can be applied in the control algorithm verification process of an autonomous driving vehicle, and can also be applied in the vehicle controller to perform online driving prediction.
  • the processing of the method can include the following steps:
  • Step 401 Input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
  • the first driving control parameter generated by the control algorithm is obtained, and the first driving control parameter is input into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
  • the controller When the application is used in a vehicle controller to perform online driving prediction, the controller obtains a first driving control parameter input by a driver, and inputs the first driving control parameter into a tire data model and a tire mechanism model respectively to obtain first tire force data and second tire force data.
  • Step 402 Fusing the first tire force data and the second tire force data to obtain fused tire force data.
  • step 402 is similar to the processing of step 203, and will not be described in detail here. It should be noted that in step 402, since there is no real vehicle driving data, when obtaining the target lateral fusion weight and the target longitudinal fusion weight, the simulated driving data output by the vehicle dynamics model is used as the real vehicle driving data.
  • Step 403 input the fused tire force data into the vehicle dynamics model to obtain simulated driving data.
  • the fused lateral force and the fused longitudinal force are input into the vehicle dynamics model, and the vehicle dynamics model outputs simulated driving data.
  • the embodiment of the present application also provides a device for constructing a vehicle dynamics model, which can be a computer device.
  • the device includes an acquisition module 510, an input module 520, a fusion module 530, a simulation module 540 and a parameter adjustment module 550, wherein:
  • the acquisition module 510 is used to acquire the actual vehicle driving data of the vehicle under the first driving control parameter; specifically, it can implement the processing of the above step 201 and its implicit steps.
  • the input module 520 is used to input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data; specifically, the processing of the above step 202 and its implicit steps can be realized.
  • the fusion module 530 is used to fuse the first tire force data and the second tire force data to obtain fused tire force data; specifically, it can implement the processing of the above step 203 and its implicit steps.
  • the simulation module 540 is used to input the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data; specifically, it can implement the processing of the above step 204 and its implicit steps.
  • the parameter adjustment module 550 is used to adjust the parameters of the tire data model according to the simulated driving data and the real vehicle driving data. Specifically, the processing of the above steps 205-207 and the implicit steps thereof can be implemented.
  • the first tire force data includes first lateral force data and first longitudinal force data
  • the first fusion module 530 is used to:
  • the simulation module 540 is used to:
  • the fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
  • the fusion module 530 is used to:
  • the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
  • the fusion module 530 is used to:
  • a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
  • the fusion module 530 is used to:
  • the driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
  • the data dimension of the simulated driving data is the same as the data dimension of the actual vehicle driving data, and the data dimension includes at least one of lateral speed, longitudinal speed, tire speed, lateral acceleration, longitudinal acceleration, and yaw angle.
  • the fusion module 530 is further configured to:
  • the parameter adjustment module 550 is used to:
  • weighted summation is performed on the first errors to obtain the second error
  • the second error is not less than a second threshold, it is determined that the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, and the tire data model is adjusted.
  • the device for constructing a vehicle dynamics model provided in the above embodiment only uses the division of the above functional modules as an example when constructing a vehicle dynamics model.
  • the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above.
  • the device for constructing a vehicle dynamics model provided in the above embodiment and the method embodiment for constructing a vehicle dynamics model belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
  • the embodiment of the present application further provides a device for generating simulated driving data, which may be a computer device or a controller.
  • the device includes an input module 610, a fusion module 620, and a simulation module 630, wherein:
  • the input module 610 is used to input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data; specifically, the processing of the above step 401 and its implicit steps can be realized.
  • the fusion module 620 is used to fuse the first tire force data and the second tire force data to obtain fused tire force data; specifically, it can implement the processing of the above step 402 and its implicit steps.
  • the simulation module 630 is used to input the fused tire force data into the vehicle dynamics model to obtain simulated driving data. Specifically, the processing of the above step 403 and its implicit steps can be implemented.
  • the first tire force data includes first lateral force data and first longitudinal force data
  • the second tire force data includes second lateral force data and second longitudinal force data
  • the fusion module 620 is used to:
  • the simulation module 630 is used to:
  • the fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
  • the fusion module 620 is configured to:
  • the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
  • the fusion module 620 is configured to:
  • a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
  • the fusion module 620 is configured to:
  • the driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
  • the device for generating simulated driving data provided in the above embodiment only uses the division of the above functional modules as an example when generating simulated driving data.
  • the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device or controller is divided into different functional modules to complete all or part of the functions described above.
  • the device for generating simulated driving data provided in the above embodiment and the method embodiment for generating simulated driving data belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
  • the computer device 700 may be implemented by a general bus architecture.
  • the computer device 700 includes at least one processor 701 , a communication bus 702 , a memory 703 , and at least one network interface 704 .
  • the processor 701 is, for example, a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application.
  • the processor 701 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
  • the communication bus 702 is used to transmit information between the above components.
  • the communication bus 702 can be divided into an address bus, a data bus, a control bus, etc.
  • an address bus for ease of representation, only one thick line is used in FIG7 , but it does not mean that there is only one bus or one type of bus.
  • the memory 703 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • the memory 703 is, for example, independent and connected to the processor 701 through the communication bus 702.
  • the memory 703 can also be integrated with the processor 701.
  • the network interface 704 uses any transceiver-like device for communicating with other devices or communication networks.
  • the network interface 704 includes a wired network interface and may also include a wireless network interface.
  • the wired network interface may be, for example, an Ethernet interface.
  • the Ethernet interface may be an optical interface, an electrical interface, or a combination thereof.
  • the wireless network interface may be a wireless local area network (WLAN) interface, a cellular network network interface, or a combination thereof, etc.
  • WLAN wireless local area network
  • the processor 701 may include one or more CPUs.
  • the computer device 700 may include multiple processors.
  • processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (such as computer program instructions).
  • the computer device 700 may also include an output device and an input device.
  • the output device communicates with the processor 701 and can display information in a variety of ways.
  • the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector.
  • the input device communicates with the processor 701 and receives user input in a variety of ways.
  • the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.
  • the memory 703 is used to store and execute the program code 7031 for detecting malicious files in the present application, and the processor 701 executes the program code 7031 stored in the memory 703. That is, the computer device 700 can implement the method for constructing a vehicle dynamics model or the method for generating simulated driving data provided by the method embodiment through the processor 701 and the program code 7031 in the memory 703.
  • the present application also provides a computer-readable storage medium, such as a memory including a program code, which can be executed by a processor in a device to complete the method of constructing a vehicle dynamics model and/or the method of generating simulated driving data in the above embodiment.
  • a computer-readable storage medium such as a memory including a program code, which can be executed by a processor in a device to complete the method of constructing a vehicle dynamics model and/or the method of generating simulated driving data in the above embodiment.
  • the implementation of the computer-readable storage medium can refer to the memory 703 in FIG. 7 .
  • the present application also provides a computer program product or a computer program, which includes a program code, and the program code is stored in a computer-readable storage medium.
  • a processor reads the program code from the computer-readable storage medium, and the processor executes the program code, so that the device where the processor is located executes the above-mentioned method for constructing a vehicle dynamics model and/or the method for generating simulated driving data.
  • the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the method of constructing a vehicle dynamics model and/or the method of generating simulated driving data in the above-mentioned method embodiment.
  • the devices, equipment, computer-readable storage media, computer program products or chips provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
  • the above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination.
  • the above embodiments can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present application of the present invention is generated in whole or in part.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.
  • the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets.
  • the available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium.
  • the semiconductor medium can be a solid state disk (SSD).

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)

Abstract

The present application is applied to the technical field of automobiles, and disclosed thereby are a method and apparatus for constructing a vehicle dynamics model, a device, and a storage medium. The vehicle dynamics model constructed by the present application comprises a tire data model, a tire mechanism model, and a whole vehicle dynamics model. The construction method comprises: acquiring real vehicle driving data of a vehicle under a first driving control parameter; inputting the first driving control parameter into the tire data model and the tire mechanism model, respectively, and obtaining first tire stress data and second tire stress data; fusing the first tire stress data and the second tire stress data, and obtaining fused tire stress data; inputting the fused tire stress data into the whole vehicle dynamics model, and obtaining simulated driving data; and according to the simulated driving data and the real vehicle driving data, performing parameter adjustment on the tire data model. By using the present application, a vehicle dynamics model that can accurately reflect the dynamic performance of a vehicle can be constructed.

Description

构建车辆动力学模型的方法、装置、设备和存储介质Method, device, equipment and storage medium for constructing vehicle dynamics model 技术领域Technical Field
本申请涉及汽车技术领域,特别涉及一种构建车辆动力学模型的方法、装置、设备和存储介质。The present application relates to the field of automobile technology, and in particular to a method, device, equipment and storage medium for constructing a vehicle dynamics model.
背景技术Background technique
随着自动驾驶汽车的不断发展,自动驾驶系统的控制算法也在不断迭代更新。为了在迭代更新过程中,更加高效的验证控制算法的准确性,通常在仿真系统中搭建车辆动力学模型,在指定行驶场景下,通过控制算法生成驾驶控制参数(如方向盘转角、油门踏板开度、刹车踏板开度等),输入到车辆动力学模型中,得到仿真行驶数据(如车速、加速度、轮胎转速等),根据仿真行驶数据来验证控制算法的控制准确性。With the continuous development of autonomous vehicles, the control algorithms of autonomous driving systems are also being updated and iterated. In order to more efficiently verify the accuracy of the control algorithm during the iterative update process, a vehicle dynamics model is usually built in the simulation system. In a specified driving scenario, the control algorithm generates driving control parameters (such as steering wheel angle, accelerator pedal opening, brake pedal opening, etc.), which are input into the vehicle dynamics model to obtain simulated driving data (such as vehicle speed, acceleration, tire speed, etc.). The control accuracy of the control algorithm is verified based on the simulated driving data.
车辆动力学模型的构建在控制算法的验证过程中,起到了至关重要的作用。然而,受限于汽车厂商无法提供车辆各部件的准确参数,导致构建的车辆动力学模型无法准确反应出车辆的动态性能。因此,如何构建能准确反应出车辆的动态特性的车辆动力学模型,成为了目前亟需解决的问题。The construction of the vehicle dynamics model plays a vital role in the verification process of the control algorithm. However, due to the limitation that automobile manufacturers cannot provide accurate parameters of various vehicle components, the constructed vehicle dynamics model cannot accurately reflect the dynamic performance of the vehicle. Therefore, how to build a vehicle dynamics model that can accurately reflect the dynamic characteristics of the vehicle has become an urgent problem to be solved.
发明内容Summary of the invention
本申请实施例提供了一种构建车辆动力学模型的方法、装置、设备和存储介质,能够构建出能够较为准确的反应车辆动态性能的车辆动力学模型。The embodiments of the present application provide a method, apparatus, device and storage medium for constructing a vehicle dynamics model, which can construct a vehicle dynamics model that can more accurately reflect the dynamic performance of the vehicle.
第一方面,提供了一种构建车辆动力学模型的方法,车辆动力学模型包括轮胎数据模型、轮胎机理模型和整车动力学模型,构建方法包括:获取车辆在第一驾驶控制参数下的实车行驶数据。将第一驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据。对第一轮胎受力数据和第二轮胎受力数据进行融合,得到融合轮胎受力数据。将融合轮胎受力数据输入整车动力学模型,得到仿真行驶数据。根据仿真行驶数据和实车行驶数据,对轮胎数据模型进行调参。In a first aspect, a method for constructing a vehicle dynamics model is provided, wherein the vehicle dynamics model includes a tire data model, a tire mechanism model, and a whole vehicle dynamics model, and the construction method includes: obtaining actual vehicle driving data of the vehicle under a first driving control parameter. Inputting the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain first tire force data and second tire force data. Fusing the first tire force data and the second tire force data to obtain fused tire force data. Inputting the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data. Adjusting the tire data model according to the simulated driving data and the actual vehicle driving data.
在本申请提供的方案中,在现有的车辆动力学模型的基础上引入了轮胎数据模型,轮胎数据模型是机器学习模型,由实车行驶数据训练调参得到,轮胎数据模型输出的轮胎受力数据和轮胎机理模型输出的轮胎受力数据进行融合后,输入整车动力学模型,再由整车动力学模型输出仿真行驶数据。在车辆动力学模型的构建中,结合了实车行驶数据,使得构建的车辆动力学模型更加符合实车的动态性能。In the solution provided by the present application, a tire data model is introduced on the basis of the existing vehicle dynamics model. The tire data model is a machine learning model obtained by training and adjusting parameters based on real vehicle driving data. The tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data. In the construction of the vehicle dynamics model, the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more in line with the dynamic performance of the real vehicle.
在一种可能的实现方式中,第一轮胎受力数据包括第一横向力数据和第一纵向力数据,第二轮胎受力数据包括第二横向力数据和第二纵向力数据,相应的,对第一轮胎受力数据和第二轮胎受力数据进行融合的处理可以如下:In a possible implementation, the first tire force data includes first lateral force data and first longitudinal force data, and the second tire force data includes second lateral force data and second longitudinal force data. Accordingly, the first tire force data and the second tire force data may be fused as follows:
对第一横向力数据和第二横向力数据进行融合,得到融合横向力数据。对第一纵向力数据和第二纵向力数据进行融合,得到融合纵向力数据。The first lateral force data and the second lateral force data are fused to obtain fused lateral force data. The first longitudinal force data and the second longitudinal force data are fused to obtain fused longitudinal force data.
上述将融合轮胎受力数据输入所述整车动力学模型的处理可以如下:The above process of inputting the fused tire force data into the vehicle dynamics model may be as follows:
将融合横向力数据和融合纵向力数据输入整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the vehicle dynamics model to obtain simulated driving data.
在一种可能的实现方式中,在对轮胎受力数据进行融合时,可以对两个模型输出的横向力数据进行加权求和,并将两个模型输出的纵向力模型进行加权求和。另外,加权求和时使用的横向力融合权重和纵向力融合权重,是根据驾驶控制参数得到。即,横向力融合权重和纵向力融合权重随着驾驶控制参数的改变而适应性改变。In a possible implementation, when the tire force data is fused, the lateral force data output by the two models can be weighted summed, and the longitudinal force models output by the two models can be weighted summed. In addition, the lateral force fusion weight and the longitudinal force fusion weight used in the weighted summation are obtained according to the driving control parameters. That is, the lateral force fusion weight and the longitudinal force fusion weight change adaptively with the change of the driving control parameters.
此外,除了驾驶控制参数以外,还可以根据实车行驶数据,确定横向力融合权重和纵向力融合权重。即,横向力融合权重和纵向力融合权重随着驾驶控制参数以及实车行驶数据的改变而适应性改变。从而,使构建的车辆动力学模型能更好的适应各种工况。In addition to the driving control parameters, the lateral force fusion weight and the longitudinal force fusion weight can also be determined according to the actual vehicle driving data. That is, the lateral force fusion weight and the longitudinal force fusion weight are adaptively changed with the changes in the driving control parameters and the actual vehicle driving data. Thus, the constructed vehicle dynamics model can better adapt to various working conditions.
在一种可能的实现方式中,可以预先建立驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,进而,在确定第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重时,可以通过查询上述对应关系实现。In one possible implementation, a correspondence between driving control parameters, lateral force fusion weights, and longitudinal force fusion weights may be established in advance, and then, when determining the first lateral force fusion weight and the first longitudinal force fusion weight corresponding to the first driving control parameter, this may be achieved by querying the above correspondence.
在一种可能的实现方式中,还可以通过融合权重决策模型,得到第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。融合权重决策模型可以为机器学习模型,具体的,可以为聚类模型,例如K-means聚类模型、密度聚类(Density-Based Spatial Clustering of Applications with Noise,DBSCAN)等。In a possible implementation, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter may also be obtained through a fusion weight decision model. The fusion weight decision model may be a machine learning model, specifically, a clustering model, such as a K-means clustering model, a density clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN), and the like.
在一种可能的实现方式中,仿真行驶数据的数据维度和实车行驶数据的数据维度相同,数据维度包括横向速度、纵向速度、轮胎转速、横向加速度、纵向加速度、横摆角中的至少一项。In a possible implementation, the data dimension of the simulated driving data is the same as the data dimension of the actual vehicle driving data, and the data dimension includes at least one of lateral speed, longitudinal speed, tire speed, lateral acceleration, longitudinal acceleration, and yaw angle.
在一种可能的实现方式中,为了提高模型训练的效率,在本申请提供的方案中,可以在确定实车行驶数据与仿真行驶数据中相同数据维度的数据之间的第一误差均小于对应的误差阈值时,再根据实车行驶数据和仿真行驶数据进行训练调参。In one possible implementation, in order to improve the efficiency of model training, in the solution provided in the present application, when it is determined that the first error between the data of the same data dimension in the actual vehicle driving data and the simulated driving data is less than the corresponding error threshold, training parameters can be adjusted based on the actual vehicle driving data and the simulated driving data.
在一种可能的实现方式中,根据仿真行驶数据和实车行驶数据,对轮胎数据模型进行调参的处理可以如下:In a possible implementation, the process of adjusting the parameters of the tire data model according to the simulated driving data and the actual vehicle driving data may be as follows:
根据各数据维度对应的权重,对各第一误差进行加权求和,得到第二误差。如果第二误差不小于第二阈值,则确定仿真行驶数据相对于实车行驶数据之间的误差不满足收敛条件,对轮胎数据模型进行调参。其中,调参方法可以为梯度下降法、贝叶斯极值搜索法以及神经网络(Neural Network,NN)拟合法等。According to the weights corresponding to the data dimensions, the first errors are weighted and summed to obtain the second error. If the second error is not less than the second threshold, it is determined that the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, and the tire data model is adjusted. The parameter adjustment method can be a gradient descent method, a Bayesian extreme value search method, and a neural network (NN) fitting method.
第二方面,提供了一种生成仿真行驶数据的方法,所述方法包括:In a second aspect, a method for generating simulated driving data is provided, the method comprising:
将第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;Inputting the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain first tire force data and second tire force data;
对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;fusing the first tire force data and the second tire force data to obtain fused tire force data;
将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据。The fused tire force data is input into the whole vehicle dynamics model to obtain simulated driving data.
在一种可能的实现方式中,所述第一轮胎受力数据包括第一横向力数据和第一纵向力数据,所述第二轮胎受力数据包括第二横向力数据和第二纵向力数据,所述对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据,包括:In a possible implementation, the first tire force data includes first lateral force data and first longitudinal force data, the second tire force data includes second lateral force data and second longitudinal force data, and the first tire force data and the second tire force data are fused to obtain fused tire force data, including:
对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据;fusing the first lateral force data and the second lateral force data to obtain fused lateral force data;
对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据;fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data;
将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据,包括:Inputting the fused tire force data into the vehicle dynamics model to obtain simulated driving data includes:
将所述融合横向力数据和所述融合纵向力数据输入所述整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重;determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter;
所述对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据,包括:The fusing the first lateral force data and the second lateral force data to obtain fused lateral force data includes:
根据所述第一横向力融合权重,对所述第一横向力数据和所述第二横向力数据进行加权求和,得到融合横向力数据;performing weighted summation on the first lateral force data and the second lateral force data according to the first lateral force fusion weight to obtain fused lateral force data;
所述对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据,包括:The fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data includes:
根据所述第一纵向力融合权重,对所述第一纵向力数据和所述第二纵向力数据进行加权求和,得到融合纵向力数据。According to the first longitudinal force fusion weight, the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
在一种可能的实现方式中,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:In a possible implementation manner, determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter includes:
根据驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,确定所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。According to the corresponding relationship between the driving control parameter, the lateral force fusion weight and the longitudinal force fusion weight, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
在一种可能的实现方式中,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:In a possible implementation manner, determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter includes:
将所述驾驶控制参数输入权重决策模型,得到所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。The driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
第三方面,提供了一种构建车辆动力学模型的装置,该装置包括用于执行第一方面或第一方面任一种可能实现方式中构建车辆动力学模型的方法的各个模块。In a third aspect, a device for constructing a vehicle dynamics model is provided, the device comprising modules for executing the method for constructing a vehicle dynamics model in the first aspect or any possible implementation of the first aspect.
第四方面,提供了一种生成仿真行驶数据的装置,该装置包括用于执行第二方面或第二方面任一种可能实现方式中生成仿真行驶数据的方法的各个模块。In a fourth aspect, a device for generating simulated driving data is provided, the device comprising modules for executing the method for generating simulated driving data in the second aspect or any possible implementation of the second aspect.
第五方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器用于存储指令,所述指令被所述处理器加载并执行,以实现上述第一方面或第一方面任一种可能实现方式所述的构建车辆动力学模型的方法。In a fifth aspect, a computer device is provided, comprising a processor and a memory, wherein the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
第六方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器用于存储指令,所述指令被所述处理器加载并执行,以实现上述第二方面或第二方面任一种可能实现方式所述的生成仿真行驶数据的方法。In a sixth aspect, a computer device is provided, comprising a processor and a memory, wherein the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
第七方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储指令,所述指令被处理器加载并执行,以实现上述第一方面或第一方面任一种可能实现方式所述的构建车辆动力学模型的方法。In a seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
第八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储指令,所述指令被处理器加载并执行,以实现上述第二方面或第二方面任一种可能实现方式所述的生成仿真行驶数据的方法。In an eighth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
第九方面,提供了一种计算程序产品,所述计算程序产品包括指令,所述指令被处理器加载并执行,以实现上述第一方面或第一方面任一种可能实现方式所述的构建车辆动力学模型的方法。In a ninth aspect, a computer program product is provided, the computer program product comprising instructions, the instructions being loaded and executed by a processor to implement the method of constructing a vehicle dynamics model as described in the first aspect or any possible implementation of the first aspect.
第十方面,提供了一种计算程序产品,所述计算程序产品包括指令,所述指令被处理器加载并执行,以实现上述第二方面或第二方面任一种可能实现方式所述的生成仿真行驶数据的方法。In a tenth aspect, a computer program product is provided, the computer program product comprising instructions, the instructions being loaded and executed by a processor to implement the method for generating simulated driving data as described in the second aspect or any possible implementation of the second aspect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请一个示例性实施例提供的一种车辆动力学模型的示意图;FIG1 is a schematic diagram of a vehicle dynamics model provided by an exemplary embodiment of the present application;
图2是本申请一个示例性实施例提供的一种构建车辆动力学模型的方法流程图;FIG2 is a flow chart of a method for constructing a vehicle dynamics model provided by an exemplary embodiment of the present application;
图3是本申请一个示例性实施例提供的一种车辆动力学模型的示意图;FIG3 is a schematic diagram of a vehicle dynamics model provided by an exemplary embodiment of the present application;
图4是本申请一个示例性实施例提供的一种生成仿真行驶数据的方法流程图;FIG4 is a flow chart of a method for generating simulated driving data provided by an exemplary embodiment of the present application;
图5是本申请一个示例性实施例提供的一种构建车辆动力学模型的装置结构示意图;FIG5 is a schematic diagram of a device structure for constructing a vehicle dynamics model provided by an exemplary embodiment of the present application;
图6是本申请一个示例性实施例提供的一种生成仿真行驶数据的装置结构示意图;FIG6 is a schematic diagram of a structure of a device for generating simulated driving data provided by an exemplary embodiment of the present application;
图7是本申请一个示例性实施例提供的一种计算机设备的结构示意图。FIG. 7 is a schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
本申请实施例提供了一种构建车辆动力学模型的方法,该方法在现有的车辆动力学模型的基础上引入了轮胎数据模型,轮胎数据模型由实车行驶数据训练调参得到,轮胎数据模型输出的轮胎受力数据和轮胎机理模型输出的轮胎受力数据进行融合后,输入整车动力学模型,再由整车动力学模型输出仿真行驶数据。在车辆动力学模型的构建中,结合了实车行驶数据,使得构建的车辆动力学模型更加符合实车的动态性能。The embodiment of the present application provides a method for constructing a vehicle dynamics model. The method introduces a tire data model based on the existing vehicle dynamics model. The tire data model is obtained by training and adjusting parameters of real vehicle driving data. The tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data. In the construction of the vehicle dynamics model, the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more consistent with the dynamic performance of the real vehicle.
下面结合附图,对采用本申请构建的车辆动力学模型和现有的车辆动力学模型进行比较。The following is a comparison between the vehicle dynamics model constructed using the present application and the existing vehicle dynamics model in conjunction with the accompanying drawings.
参见图1,示出了一种现有的车辆动力学模型。在该车辆动力学模型中,包括轮胎机理模型和整车动力学模型。其中,整车动力学模型包括轮胎动力学模型和车体动力学模型。轮胎机理模型以及整车动力学模型都是基于物理原理构建的模型。轮胎机理模型和整车动力学模型之间通过轮胎受力数据进行耦合,其中,轮胎受力数据由轮胎机理模型输出。为了便于描述,将轮胎机理模型输出的轮胎受力数据记作:F model。在驾驶控制参数输入到轮胎机理模型后,轮胎机理模型输出轮胎受力数据F model,并将F model输出整车动力学模型,再由整车动力学模型输出仿真行驶数据。 Referring to FIG1 , an existing vehicle dynamics model is shown. The vehicle dynamics model includes a tire mechanism model and a vehicle dynamics model. The vehicle dynamics model includes a tire dynamics model and a vehicle body dynamics model. Both the tire mechanism model and the vehicle dynamics model are models constructed based on physical principles. The tire mechanism model and the vehicle dynamics model are coupled via tire force data, wherein the tire force data is output by the tire mechanism model. For ease of description, the tire force data output by the tire mechanism model is recorded as: F model . After the driving control parameters are input into the tire mechanism model, the tire mechanism model outputs the tire force data F model , and outputs F model to the vehicle dynamics model, and then the vehicle dynamics model outputs the simulated driving data.
继续参见图1,还示出了一种采用本申请提供的方法构建的车辆动力学模型。相比于现有的车辆动力学模型,采用本申请提供的方法构建的车辆动力学模型中引入了轮胎数据模型。 在驾驶控制参数输入到轮胎机理模型和轮胎数据模型后,轮胎数据模型输出第一轮胎受力数据,轮胎机理模型输出第二轮胎受力数据F model。为了便于描述,将第一轮胎受力数据记作:F data。然后,将第一轮胎受力数据F data和第二轮胎受力数据F model融合,得到融合受力数据F adaptive。将融合受力数据F adaptive输入整车动力学模型,由整车动力学模型输出仿真行驶数据。其中,轮胎数据模型是一种机器学习模型,由实车行驶数据训练调参得到,使得构建出的车辆动力学模型能够较为准确的反应车辆的动态性能。 Continuing to refer to FIG. 1 , a vehicle dynamics model constructed using the method provided by the present application is also shown. Compared with existing vehicle dynamics models, a tire data model is introduced into the vehicle dynamics model constructed using the method provided by the present application. After the driving control parameters are input into the tire mechanism model and the tire data model, the tire data model outputs the first tire force data, and the tire mechanism model outputs the second tire force data F model . For ease of description, the first tire force data is recorded as: F data . Then, the first tire force data F data and the second tire force data F model are fused to obtain fused force data F adaptive . The fused force data F adaptive is input into the whole vehicle dynamics model, and the whole vehicle dynamics model outputs simulated driving data. Among them, the tire data model is a machine learning model, which is obtained by training and adjusting parameters of real vehicle driving data, so that the constructed vehicle dynamics model can more accurately reflect the dynamic performance of the vehicle.
本申请实施例提供的构建车辆动力学模型的方法,可以由计算机设备实现,该计算机设备可以为终端,也可以为服务器。在计算机设备为终端时,具体可以为台式电脑、笔记本电脑等。在计算机设备为服务器时,具体可以为单体服务器、服务器集群,还可以为部署在服务器中虚拟机等。The method for constructing a vehicle dynamics model provided in the embodiment of the present application can be implemented by a computer device, which can be a terminal or a server. When the computer device is a terminal, it can be a desktop computer, a laptop computer, etc. When the computer device is a server, it can be a single server, a server cluster, or a virtual machine deployed in the server.
计算机设备获取相同驾驶控制参数下,车辆的实车行驶数据以及车辆动力学模型输出的仿真行驶数据,进而,根据实车行驶数据和仿真行驶数据对轮胎数据模型进行训练调参,以获取包括有调参后的轮胎数据模型的车辆动力学模型。The computer equipment obtains the actual vehicle driving data of the vehicle and the simulated driving data output by the vehicle dynamics model under the same driving control parameters, and then trains and adjusts the tire data model according to the actual vehicle driving data and the simulated driving data to obtain the vehicle dynamics model including the adjusted tire data model.
下面结合附图,对本申请实施例提供的构建车辆动力学模型的方法进行说明。参见图2,该方法可以包括如下处理步骤:The following is a description of the method for constructing a vehicle dynamics model provided by an embodiment of the present application in conjunction with the accompanying drawings. Referring to FIG2 , the method may include the following processing steps:
步骤201、获取车辆在驾驶控制参数下的实车行驶数据。Step 201: Acquire actual vehicle driving data under driving control parameters.
在实施中,相同车型的车辆可以使用相同的车辆动力学模型,那么,在构建车辆动力学模型时,可以针对每种车型的车辆,构建对应的车辆动力学模型。In implementation, vehicles of the same model may use the same vehicle dynamics model. Therefore, when constructing the vehicle dynamics model, a corresponding vehicle dynamics model may be constructed for each vehicle model.
在针对任意车型构建车辆动力学模型时,可以先由人工驾驶车辆,并且在驾驶车辆时,需要改变油门踏板开度、刹车踏板开度和方向盘转角,以使得车辆在不同工况下行驶。在车辆行驶时,可以通过传感器采集车辆的驾驶控制参数以及实车行驶数据。When building a vehicle dynamics model for any vehicle model, the vehicle can be driven manually first, and when driving the vehicle, the accelerator pedal opening, brake pedal opening and steering wheel angle need to be changed to make the vehicle drive under different working conditions. When the vehicle is driving, the driving control parameters and actual vehicle driving data of the vehicle can be collected through sensors.
具体的,驾驶控制参数可以包括多个数据维度,例如方向盘转角、刹车踏板开度、油门踏板开度等。其中,方向盘转角可以通过方向盘转角传感器(Steering Angle Sensor,SAS)采集,刹车踏板开度和油门踏板开度可以通过相应的踏板位移传感器(Pedal Travel Sensor,PTS)采集。Specifically, the driving control parameters may include multiple data dimensions, such as steering wheel angle, brake pedal opening, accelerator pedal opening, etc. Among them, the steering wheel angle can be collected by a steering wheel angle sensor (Steering Angle Sensor, SAS), and the brake pedal opening and accelerator pedal opening can be collected by corresponding pedal travel sensors (Pedal Travel Sensor, PTS).
实车行驶数据可以包括多个数据维度,例如车辆的横向速度、纵向速度、车轮转速、横向加速度、纵向加速度和横摆角等。其中,横向速度和纵向速度可以由RT传感器采集,车辆转速可以由轮速传感器(Wheel Speed Sensor,WSS)采集,横向加速度、纵向加速度和横摆角可以由惯性测量单元(Inertial Measurement Unit,IMU)采集。The actual vehicle driving data may include multiple data dimensions, such as the vehicle's lateral speed, longitudinal speed, wheel speed, lateral acceleration, longitudinal acceleration and yaw angle, etc. Among them, the lateral speed and longitudinal speed can be collected by the RT sensor, the vehicle speed can be collected by the wheel speed sensor (WSS), and the lateral acceleration, longitudinal acceleration and yaw angle can be collected by the inertial measurement unit (IMU).
计算机设备获取传感器采集的驾驶控制参数和实车行驶数据。此外,传感器采集的数据可能会存在数据毛刺,计算机设备在获取到传感器采集的驾驶控制参数和实车行驶数据后,可以通过滤波的方式进行数据清洗,以消除数据毛刺。The computer device obtains the driving control parameters and the actual vehicle driving data collected by the sensor. In addition, the data collected by the sensor may have data glitches. After obtaining the driving control parameters and the actual vehicle driving data collected by the sensor, the computer device can perform data cleaning by filtering to eliminate the data glitches.
为了便于数据统计以及后续训练轮胎数据模型,可以将上述实车行驶数据中各数据维度的数据的采集周期以及驾驶控制参数的采集周期,设置成相同的。具体的,可以将上述SAS、PTS、RT、WSS、IMU等传感器的数据采集周期设置成相同的。这样,计算机设备可以将同一采集周期获取到的驾驶控制参数以及对应的实车行驶数据作为一组基准训练数据。In order to facilitate data statistics and subsequent training of tire data models, the data collection period of each data dimension in the above-mentioned real vehicle driving data and the collection period of driving control parameters can be set to be the same. Specifically, the data collection period of the above-mentioned SAS, PTS, RT, WSS, IMU and other sensors can be set to be the same. In this way, the computer device can use the driving control parameters and the corresponding real vehicle driving data obtained in the same collection period as a set of benchmark training data.
此外,需要说明的是,上述实车行驶数据的数据维度仅为一种示例,根据车辆动力学模型的不同自由度需求不同,实车行驶数据的数据维度可以增加或者减少,本申请对实车行驶数据的数据维度不做限定。In addition, it should be noted that the data dimension of the above-mentioned actual vehicle driving data is only an example. According to the different degrees of freedom requirements of the vehicle dynamics model, the data dimension of the actual vehicle driving data can be increased or decreased. This application does not limit the data dimension of the actual vehicle driving data.
步骤202、将驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据。Step 202: Input the driving control parameters into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
在实施中,针对上述步骤201获取到的每组基准训练数据,将该组基准训练数据中的驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到轮胎数据模型输出的第一轮胎受力数据,以及轮胎机理模型输出的第二轮胎受力数据。In implementation, for each set of benchmark training data obtained in the above step 201, the driving control parameters in the set of benchmark training data are respectively input into the tire data model and the tire mechanism model to obtain the first tire force data output by the tire data model and the second tire force data output by the tire mechanism model.
具体的,轮胎受力数据可以包括横向力数据和纵向力数据。相应的,将驾驶控制参数分别输入轮胎数据模型和轮胎机理模型后,可以得到轮胎数据模型输出的第一横向力数据和第一纵向力数据,以及轮胎机理模型输出的第二横向力数据和第二纵向力数据。Specifically, the tire force data may include lateral force data and longitudinal force data. Accordingly, after the driving control parameters are respectively input into the tire data model and the tire mechanism model, the first lateral force data and the first longitudinal force data output by the tire data model, and the second lateral force data and the second longitudinal force data output by the tire mechanism model can be obtained.
步骤203、对第一轮胎受力数据和第二轮胎受力数据进行融合,得到融合轮胎受力数据。Step 203: Fusing the first tire force data and the second tire force data to obtain fused tire force data.
在实施中,对第一横向力数据和第二横向力数据进行融合,得到融合横向力数据。对第一纵向力数据和第二纵向力数据进行融合,得到融合纵向力数据。In implementation, the first lateral force data and the second lateral force data are fused to obtain fused lateral force data. The first longitudinal force data and the second longitudinal force data are fused to obtain fused longitudinal force data.
参见图3,将轮胎数据模型输出的第一横向力数据和第一纵向力数据记作:F x,data和F y,data,将轮胎机理模型输出的第二横向力数据和第二纵向力数据分别记作:F x,model和F y,model。将第一横向力数据F x,data和第二横向力数据F x,model融合,得到融合横向力数据F x,adaptive,将第一纵向力数据F y,data和第二纵向力数据F y,model融合,得到融合纵向力数据F y,adaptiveReferring to FIG3 , the first lateral force data and the first longitudinal force data output by the tire data model are recorded as: F x,data and F y,data , and the second lateral force data and the second longitudinal force data output by the tire mechanism model are recorded as: F x,model and F y,model , respectively. The first lateral force data F x,data and the second lateral force data F x,model are fused to obtain fused lateral force data F x,adaptive , and the first longitudinal force data F y,data and the second longitudinal force data F y,model are fused to obtain fused longitudinal force data F y,adaptive .
下面对上述融合的处理进行说明,在一种可能的实现中,该处理可以包括如下步骤:The above fusion process is described below. In a possible implementation, the process may include the following steps:
步骤2031、获取目标横向融合权重和目标纵向融合权重。Step 2031: Obtain the target horizontal fusion weight and the target vertical fusion weight.
横向融合权重和纵向融合权重的取值与驾驶控制参数和/或实车行驶数据有关,基于此,目标横向融合权重和目标纵向融合权重的获取方法可以有多种,下面示例性的对其中几种方法进行说明。The values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters and/or the actual vehicle driving data. Based on this, there are many methods for obtaining the target lateral fusion weight and the target longitudinal fusion weight. Several of these methods are described below as examples.
方法一、通过预设规则,查表实现。Method 1: Implement by presetting rules and looking up the table.
考虑到横向融合权重和纵向融合权重的取值可能多种数据有关,该方法可以有多种情况。Considering that the values of the horizontal fusion weight and the vertical fusion weight may be related to multiple data, this method can have multiple situations.
情况一:Case 1:
在考虑横向融合权重和纵向融合权重的取值与驾驶控制参数相关的情况下,可以预先建立驾驶控制参数、横向融合权重和纵向融合权重的对应关系,如下表1所示:Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters, the corresponding relationship between the driving control parameters, the lateral fusion weight and the longitudinal fusion weight can be established in advance, as shown in the following Table 1:
表1Table 1
驾驶控制参数Driving control parameters 横向融合权重Horizontal fusion weight 纵向融合权重Vertical fusion weight
A1A1 w x1 w x1 w y1 w y1
A2A2 w x2 w x2 w y2 w y2
A3A3 w x3 w x3 w y2 w y2
在上述表1中驾驶控制参数所在列的每一行数据,可以表示一个取值范围集合,在取值范围集合中,可以包括油门踏板开度的取值范围、加速踏板开度的取值范围、方向盘转角的取值范围中的至少一个数据维度的取值范围。具体包括哪些数据维度的取值范围可以根据实际需求进行配置,例如,包括油门踏板开度的取值范围、加速踏板开度的取值范围、方向盘转角的取值范围三个数据维度的取值范围。In the above Table 1, each row of data in the column where the driving control parameter is located can represent a value range set, and the value range set can include at least one data dimension value range of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle. The specific data dimension value ranges included can be configured according to actual needs, for example, including the value ranges of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle.
在此情况下,根据基准训练数据中的驾驶控制参数,在驾驶控制参数、横向融合权重和纵向融合权重的对应关系中,确定对应的目标横向权重和目标纵向融合权重。In this case, according to the driving control parameters in the reference training data, the corresponding target lateral weight and target longitudinal fusion weight are determined in the corresponding relationship among the driving control parameters, the lateral fusion weight and the longitudinal fusion weight.
例如,基准训练数据中的驾驶控制参数的值在上述表1中的取值范围A1内,则将确定目标横向融合权重为w x1,目标纵向融合权重为w y1For example, if the values of the driving control parameters in the reference training data are within the value range A1 in the above Table 1, the target lateral fusion weight will be determined to be w x1 , and the target longitudinal fusion weight will be determined to be w y1 .
情况二:Case 2:
在考虑横向融合权重和纵向融合权重的取值与实车行驶数据相关的情况下,可以预先建立驾驶控制参数实车行驶数据、横向融合权重和纵向融合权重的对应关系,如下表2所示:Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to the actual vehicle driving data, the corresponding relationship between the driving control parameter actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight can be established in advance, as shown in Table 2 below:
表2Table 2
实车行驶数据Real vehicle driving data 横向融合权重Horizontal fusion weight 纵向融合权重Vertical fusion weight
B1B1 w x1 w x1 w y1 w y1
B2B2 w x2 w x2 w y2 w y2
B3B3 w x3 w x3 w y2 w y2
在上述表2中实车行驶数据可以以取值范围的形式表示。其中,实车行驶数据所在列的每一行数据,可以表示一个取值范围集合,在取值范围集合中,可以包括横向速度的取值范围、纵向速度的取值范围、车轮转速的取值范围、横向加速度的取值范围、纵向加速度的取值范围、横摆角的取值范围中的至少一个数据维度的取值范围。具体包括哪些数据维度的取值范围可以根据实际需求进行配置,例如,包括油门踏板开度的取值范围、加速踏板开度的取值范围、方向盘转角的取值范围三个数据维度的取值范围。In the above Table 2, the actual vehicle driving data can be represented in the form of a value range. Among them, each row of data in the column where the actual vehicle driving data is located can represent a value range set, and the value range set can include at least one data dimension value range of the lateral speed, the longitudinal speed, the wheel speed, the lateral acceleration, the longitudinal acceleration, and the yaw angle. The specific data dimension value ranges can be configured according to actual needs, for example, including the value ranges of the throttle pedal opening, the accelerator pedal opening, and the steering wheel angle.
在此情况下,根据基准训练数据中的实车行驶数据,在实车行驶数据、横向融合权重和纵向融合权重的对应关系中,确定对应的目标横向权重和目标纵向融合权重。In this case, according to the actual vehicle driving data in the benchmark training data, the corresponding target lateral weight and target longitudinal fusion weight are determined in the corresponding relationship among the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight.
例如,基准训练数据中的实车行驶数据的值在上述表2中的取值范围B2内,则将确定目标横向融合权重为w x2,目标纵向融合权重为w y2For example, if the value of the actual vehicle driving data in the benchmark training data is within the value range B2 in the above Table 2, the target lateral fusion weight will be determined to be w x2 and the target longitudinal fusion weight will be determined to be w y2 .
情况三:Case 3:
在考虑横向融合权重和纵向融合权重的取值与驾驶控制参数和实车行驶数据均相关的情况下,预先建立驾驶控制参数、实车行驶数据、横向融合权重和纵向融合权重的对应关系,如下表3所示:Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters and the actual vehicle driving data, the corresponding relationship between the driving control parameters, the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight is established in advance, as shown in the following Table 3:
表3table 3
驾驶控制参数Driving control parameters 实车行驶数据Real vehicle driving data 横向融合权重Horizontal fusion weight 纵向融合权重Vertical fusion weight
A1A1 B1B1 w x1 w x1 w y1 w y1
A2A2 B2B2 w x2 w x2 w y2 w y2
A3A3 B3B3 w x3 w x3 w y2 w y2
在此情况下,根据基准训练数据中的驾驶控制参数和实车行驶参数,在驾驶控制参数、实车行驶数据、横向融合权重和纵向融合权重的对应关系中,确定对应的目标横向融合权重和目标纵向融合权重。In this case, according to the driving control parameters and actual vehicle driving parameters in the benchmark training data, the corresponding target lateral fusion weight and target longitudinal fusion weight are determined in the correspondence between the driving control parameters, the actual vehicle driving data, the lateral fusion weight and the longitudinal fusion weight.
例如,基准训练数据中的驾驶控制参数的值在上述表3中的取值范围A3内,且基准训练数据中的实车行驶数据的值在取值范围B3内,则确定目标横向融合权重为w x3,目标纵向融合权重为w y3For example, if the driving control parameter value in the benchmark training data is within the value range A3 in Table 3, and the actual vehicle driving data value in the benchmark training data is within the value range B3, the target lateral fusion weight is determined to be w x3 and the target longitudinal fusion weight is determined to be w y3 .
方法二、通过融合权重决策模型实现。Method 2: Implemented through fusion weight decision model.
融合权重决策模型可以为机器学习模型,具体的,可以为聚类模型,例如K-means聚类 模型、密度聚类(Density-Based Spatial Clustering of Applications with Noise,DBSCAN)等。The fusion weight decision model can be a machine learning model, specifically, a clustering model, such as K-means clustering model, density clustering (Density-Based Spatial Clustering of Applications with Noise, DBSCAN), etc.
考虑到横向融合权重和纵向融合权重的取值可能多种数据有关,该方法可以有多种情况。Considering that the values of the horizontal fusion weight and the vertical fusion weight may be related to multiple data, this method can have multiple situations.
情况一:Case 1:
在考虑横向融合权重和纵向融合权重的取值与驾驶控制参数相关的情况下,可以将基准训练数据中的驾驶控制参数输入融合权重决策模型,得到目标横向融合权重和目标纵向融合权重。Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to the driving control parameters, the driving control parameters in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
情况二:Case 2:
在考虑横向融合权重和纵向融合权重的取值与实车行驶数据相关的情况下,可以将基准训练数据中的实车行驶数据输入融合权重决策模型,得到目标横向融合权重和目标纵向融合权重。Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to the actual vehicle driving data, the actual vehicle driving data in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
情况三:Case 3:
在考虑横向融合权重和纵向融合权重的取值与驾驶控制参数和实车行驶数据均相关的情况下,可以将基准训练数据中的驾驶控制参数和实车行驶数据输入融合权重决策模型,得到目标横向融合权重和目标纵向融合权重。Considering that the values of the lateral fusion weight and the longitudinal fusion weight are related to both the driving control parameters and the actual vehicle driving data, the driving control parameters and the actual vehicle driving data in the benchmark training data can be input into the fusion weight decision model to obtain the target lateral fusion weight and the target longitudinal fusion weight.
此外,目标横向融合权重和目标纵向融合权重的获取可以使用同一个融合权重决策模型,也可以使用不同的融合权重决策模型,本申请对此不做限定。In addition, the target horizontal fusion weight and the target vertical fusion weight may be obtained using the same fusion weight decision model or different fusion weight decision models, and this application does not limit this.
步骤2032、根据目标横向融合权重,对第一横向力数据和第二横向力数据进行加权求和,得到融合横向力数据。Step 2032: Perform weighted summation on the first lateral force data and the second lateral force data according to the target lateral fusion weight to obtain fused lateral force data.
具体的,加权求和处理可以按照如下公式执行:Specifically, the weighted summation process can be performed according to the following formula:
F x,adaptive=w x*F x,model+(1-w x)*F x,data F x,adaptive =w x *F x,model +(1-w x )*F x,data
其中,F x,adaptive为融合横向力数据,F x,data为轮胎数据模型输出的第一横向力数据,F x,model为轮胎机理模型输出的第二横向力数据,w x为目标横向融合权重。 Among them, Fx ,adaptive is the fused lateral force data, Fx ,data is the first lateral force data output by the tire data model, Fx ,model is the second lateral force data output by the tire mechanism model, and wx is the target lateral fusion weight.
步骤2033、根据目标纵向融合权重,对第一纵向力和第二纵向力进行加权求和,得到纵向融合力数据。Step 2033: According to the target longitudinal fusion weight, weighted sum is performed on the first longitudinal force and the second longitudinal force to obtain longitudinal fusion force data.
具体的,加权求和处理可以按照如下公式执行:Specifically, the weighted summation process can be performed according to the following formula:
F y,adaptive=w y*F y,model+(1-w y)*F y,data F y,adaptive =w y *F y,model +(1-w y )*F y,data
其中,F y,adaptive为融合纵向力数据,F y,data为轮胎数据模型输出的第一纵向力数据,F y,model为轮胎机理模型输出的第二纵向力数据,w y为目标纵向融合权重。 Among them, F y, adaptive is the fused longitudinal force data, F y, data is the first longitudinal force data output by the tire data model, F y, model is the second longitudinal force data output by the tire mechanism model, and w y is the target longitudinal fusion weight.
在一种可能的实现中,考虑到不同数据维度的驾驶控制参数以及实车行驶数据对横向融合权重和纵向融合权重的影响程度可能不同,在根据驾驶控制参数和实车行驶数据,确定目标横向融合权重和目标纵向融合权重之前,可以先对驾驶控制参数和实车行驶数据进行处理。In a possible implementation, considering that driving control parameters of different data dimensions and actual vehicle driving data may have different degrees of influence on the lateral fusion weight and the longitudinal fusion weight, the driving control parameters and the actual vehicle driving data may be processed before determining the target lateral fusion weight and the target longitudinal fusion weight based on the driving control parameters and the actual vehicle driving data.
具体的,处理方法可以如下:Specifically, the processing method can be as follows:
在确定目标横向融合权重之前,将方向盘转角和纵向速度乘以第一系数,其中,第一系数小于1。在获取目标纵向融合权重时,将刹车踏板开度、油门踏板开度以及横向速度乘以第二系数,其中,第二系数小于1。第一系数和第二系数可以相同,也可以不同。Before determining the target lateral fusion weight, the steering wheel angle and the longitudinal speed are multiplied by a first coefficient, wherein the first coefficient is less than 1. When obtaining the target longitudinal fusion weight, the brake pedal opening, the accelerator pedal opening, and the lateral speed are multiplied by a second coefficient, wherein the second coefficient is less than 1. The first coefficient and the second coefficient may be the same or different.
步骤204、将融合轮胎受力数据输入整车动力学模型,得到仿真行驶数据。Step 204: Input the fused tire force data into the vehicle dynamics model to obtain simulated driving data.
在实施中,将融合横向力和融合纵向力输入整车动力学模型,整车动力学模型输出仿真行驶数据。其中,仿真行驶数据的数据维度和实车行驶数据的数据维度相同。In implementation, the fused lateral force and the fused longitudinal force are input into the vehicle dynamics model, and the vehicle dynamics model outputs simulated driving data, wherein the data dimension of the simulated driving data is the same as the data dimension of the real vehicle driving data.
在一种可能的实现中,为了提高对轮胎数据模型的训练效率,在获取到仿真行驶数据之 后,可以先判断仿真行驶数据是否满足误差约束条件,在仿真行驶数据是满足误差约束条件的情况下,再继续执行步骤205。In a possible implementation, in order to improve the training efficiency of the tire data model, after obtaining the simulated driving data, it is possible to first determine whether the simulated driving data satisfies the error constraint condition. If the simulated driving data satisfies the error constraint condition, then continue to execute step 205.
具体的,判断仿真行驶数据是否满足误差约束条件的方法可以如下:Specifically, the method for determining whether the simulated driving data meets the error constraint condition may be as follows:
计算实车行驶数据与仿真行驶数据中相同数据维度的数据之间的第一误差,如果第一误差均小于相应数据维度的误差阈值,则确定仿真行驶数据满足误差约束条件。其中,各数据维度的误差阈值可以根据实际需求进行设置,例如,横向加速度的误差阈值可以为0.5m/s 2、纵向加速度的误差阈值可以为0.5m/s 2、横摆角的误差阈值为0.1rad/s、车轮转速的误差阈值为0.5rad/s、横向速度的误差阈值为1m/s、纵向速度的误差阈值为0.2m/s。 The first error between the data of the same data dimension in the actual vehicle driving data and the simulated driving data is calculated. If the first errors are all less than the error threshold of the corresponding data dimension, it is determined that the simulated driving data meets the error constraint condition. The error threshold of each data dimension can be set according to actual needs. For example, the error threshold of the lateral acceleration can be 0.5m/ s2 , the error threshold of the longitudinal acceleration can be 0.5m/ s2 , the error threshold of the yaw angle is 0.1rad/s, the error threshold of the wheel speed is 0.5rad/s, the error threshold of the lateral speed is 1m/s, and the error threshold of the longitudinal speed is 0.2m/s.
计算第一误差可以以如下公式表示:The calculation of the first error can be expressed as follows:
ΔV x=|V x,model-V x,sensor| ΔV x = |V x, model -V x, sensor |
ΔV y=|V y,model-V y,sensor| ΔV y =|V y,model −V y,sensor |
ΔA x=|A x,model-A x,sensor| ΔA x =|A x, model -A x, sensor |
ΔA y=|A y,model-A y,sensor| ΔA y =|A y,model −A y,sensor |
Δγ=|γ modelsensor| Δγ=|γ modelsensor |
Δω=|ω modelsensor| Δω=|ω modelsensor |
其中,ΔV x为仿真行驶数据中的横向速度V x,model和实车行驶数据中的横向速度V x,sensor之间的第一误差;ΔV y为仿真行驶数据中的纵向速度V y,model和实车行驶数据中的纵向速度V y,sensor之间的第一误差;ΔA x为仿真行驶数据中的横向加速度A x,model和实车行驶数据中的横向加速度A x,sensor之间的第一误差;ΔA y为仿真行驶数据中的纵向加速度A y,model和实车行驶数据中的纵向加速度A y,sensor之间的第一误差;Δγ为仿真行驶数据中的横摆角γ model和实车行驶数据中的横摆角γ sensor之间的第一误差;Δω为仿真行驶数据中的车辆转速ω model和实车行驶数据中的车轮转速ω sensor之间的第一误差。 Among them, ΔVx is the first error between the lateral velocity Vx ,model in the simulated driving data and the lateral velocity Vx ,sensor in the actual vehicle driving data; ΔVy is the first error between the longitudinal velocity Vy ,model in the simulated driving data and the longitudinal velocity Vy ,sensor in the actual vehicle driving data; ΔAx is the first error between the lateral acceleration Ax,model in the simulated driving data and the lateral acceleration Ax,sensor in the actual vehicle driving data; ΔAy is the first error between the longitudinal acceleration Ay,model in the simulated driving data and the longitudinal acceleration Ay ,sensor in the actual vehicle driving data; Δγ is the first error between the yaw angle γmodel in the simulated driving data and the yaw angle γsensor in the actual vehicle driving data; Δω is the first error between the vehicle speed ωmodel in the simulated driving data and the wheel speed ωsensor in the actual vehicle driving data.
步骤205、确定仿真行驶数据相对于实车行驶数据的误差是否满足收敛条件。Step 205: Determine whether the error of the simulated driving data relative to the actual vehicle driving data satisfies the convergence condition.
在实施中,不同数据维度可以对应不同的权重,相应的,在步骤205中,可以根据预先配置的各数据维度对应的权重,对各第一误差进行加权求和,得到第二误差。然后,根据第二误差判断仿真行驶数据相对于实车行驶数据之间的误差是否满足收敛条件。In implementation, different data dimensions may correspond to different weights. Accordingly, in step 205, the first errors may be weighted and summed according to the pre-configured weights corresponding to the data dimensions to obtain the second error. Then, it is determined whether the error between the simulated driving data and the actual vehicle driving data meets the convergence condition according to the second error.
结合上述步骤204,此处对第一误差进行加权求和可以以如下公式表示:In combination with the above step 204, the weighted summation of the first error can be expressed as the following formula:
loss=f Vx*ΔV x+f Vy*ΔV y+f Ax*ΔA x+f Ay*ΔA y+f γγ+f ωω loss= fVx * ΔVx + fVy * ΔVy + fAx * ΔAx + fAy * ΔAy + * Δγ + * Δω
其中,loss为第二误差,f Vx为横向速度对应的权重,f Vy为纵向速度对应的权重,f Ax为横向加速度对应的权重,f Ay为纵向速度对应的权重,f γ为横摆角对应的权重,f ω为车轮转速对应的权重。f Vx、f Vy、f Ax、f Ay、f γ、f ω之和为1。 Wherein, loss is the second error, f Vx is the weight corresponding to the lateral velocity, f Vy is the weight corresponding to the longitudinal velocity, f Ax is the weight corresponding to the lateral acceleration, f Ay is the weight corresponding to the longitudinal velocity, f γ is the weight corresponding to the yaw angle, and f ω is the weight corresponding to the wheel speed. The sum of f Vx , f Vy , f Ax , f Ay , f γ , and f ω is 1.
步骤206、如果仿真行驶数据相对于实车行驶数据的误差满足收敛条件,则生成车辆动力学模型。Step 206: If the error between the simulated driving data and the actual vehicle driving data meets the convergence condition, a vehicle dynamics model is generated.
在实施中,如果步骤205中计算得到的第二误差小于收敛阈值,则确定仿真行驶数据相对于实车行驶数据的误差满足收敛条件。进而,使用当前的轮胎数据模型生成车辆动力学模型。其中,收敛阈值可以根据对车辆动力学模型的精度需求进行设置。In implementation, if the second error calculated in step 205 is less than the convergence threshold, it is determined that the error of the simulated driving data relative to the actual vehicle driving data meets the convergence condition. Then, the vehicle dynamics model is generated using the current tire data model. The convergence threshold can be set according to the accuracy requirements of the vehicle dynamics model.
步骤207、如果仿真行驶数据相对于实车行驶数据的误差不满足收敛条件,则根据仿真行驶数据和实车行驶数据,对轮胎数据模型进行调参。Step 207: If the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, the tire data model is adjusted according to the simulated driving data and the actual vehicle driving data.
在实施中,如果步骤205中计算得到的第二误差不小于收敛阈值,则根据实车行驶数据 和仿真行驶数据,对轮胎数据模型进行调参。其中,调参方法可以为梯度下降法、贝叶斯极值搜索法以及神经网络(Neural Network,NN)拟合法等。In implementation, if the second error calculated in step 205 is not less than the convergence threshold, the tire data model is adjusted according to the actual vehicle driving data and the simulated driving data. The parameter adjustment method may be a gradient descent method, a Bayesian extreme value search method, a neural network (NN) fitting method, and the like.
在一种可能的实现中,还可以根据训练调参过程中仿真行驶数据相对于实车行驶数据之间的误差的收敛情况,对步骤205中各数据维度对应的权重进行调整。例如,当调参次数达到上限时,如果仿真行驶数据相对于实车行驶数据之间的误差还未满足收敛条件,则可以对各数据维度对应的权重进行调整,调整后再继续训练调参。In a possible implementation, the weights corresponding to the data dimensions in step 205 may also be adjusted according to the convergence of the error between the simulated driving data and the actual vehicle driving data during the training and parameter adjustment process. For example, when the number of parameter adjustments reaches the upper limit, if the error between the simulated driving data and the actual vehicle driving data has not yet met the convergence condition, the weights corresponding to the data dimensions may be adjusted, and the training and parameter adjustment may be continued after the adjustment.
本申请实施例的构建车辆动力学模型的方法,在现有的车辆动力学模型的基础上引入了轮胎数据模型,轮胎数据模型由实车行驶数据训练调参得到,轮胎数据模型输出的轮胎受力数据和轮胎机理模型输出的轮胎受力数据进行融合后,输入整车动力学模型,再由整车动力学模型输出仿真行驶数据。在车辆动力学模型的构建中,结合了实车行驶数据,使得构建的车辆动力学模型更加符合实车的动态性能。The method for constructing a vehicle dynamics model in the embodiment of the present application introduces a tire data model based on the existing vehicle dynamics model. The tire data model is obtained by training and adjusting parameters of real vehicle driving data. The tire force data output by the tire data model and the tire force data output by the tire mechanism model are fused and input into the whole vehicle dynamics model, and then the whole vehicle dynamics model outputs simulated driving data. In the construction of the vehicle dynamics model, the real vehicle driving data is combined, so that the constructed vehicle dynamics model is more consistent with the dynamic performance of the real vehicle.
结合上述构建车辆动力学模型的方法,本申请实施例还提供了一种生成仿真行驶数据的方法,该方法可以使用通过上述方法构建的车辆动力学模型实现。该方法可以应用在自动驾驶车辆的控制算法验证过程中,也可以应用在车辆的控制器中执行在线行驶预测。下面结合图4,对该方法的处理可以包括如下步骤:In conjunction with the above method for constructing a vehicle dynamics model, the embodiment of the present application further provides a method for generating simulated driving data, which can be implemented using the vehicle dynamics model constructed by the above method. The method can be applied in the control algorithm verification process of an autonomous driving vehicle, and can also be applied in the vehicle controller to perform online driving prediction. In conjunction with Figure 4, the processing of the method can include the following steps:
步骤401、将第一驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据。Step 401: Input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
在实施中,在控制算法验证过程中,获取控制算法生成的第一驾驶控制参数,并将第一驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据。In implementation, during the control algorithm verification process, the first driving control parameter generated by the control algorithm is obtained, and the first driving control parameter is input into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data.
应用在车辆的控制器中执行在线行驶预测时,控制器获取驾驶员输入的第一驾驶控制参数,并将第一驾驶控制参数分别输入轮胎数据模型和轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据。When the application is used in a vehicle controller to perform online driving prediction, the controller obtains a first driving control parameter input by a driver, and inputs the first driving control parameter into a tire data model and a tire mechanism model respectively to obtain first tire force data and second tire force data.
步骤402、对第一轮胎受力数据和第二轮胎受力数据进行融合,得到融合轮胎受力数据。Step 402: Fusing the first tire force data and the second tire force data to obtain fused tire force data.
在实施中,步骤402的处理和上述203的处理相似,在此不再赘述。需要说明的是,在该步骤402中,由于没有实车行驶数据,则在获取目标横向融合权重时和目标纵向融合权重时,将车辆动力学模型最新输出的仿真行驶数据作为实车行驶数据使用。In practice, the processing of step 402 is similar to the processing of step 203, and will not be described in detail here. It should be noted that in step 402, since there is no real vehicle driving data, when obtaining the target lateral fusion weight and the target longitudinal fusion weight, the simulated driving data output by the vehicle dynamics model is used as the real vehicle driving data.
步骤403、将融合轮胎受力数据输入整车动力学模型,得到仿真行驶数据。Step 403: input the fused tire force data into the vehicle dynamics model to obtain simulated driving data.
在实施中,将融合横向力和融合纵向力输入整车动力学模型,整车动力学模型输出仿真行驶数据。During implementation, the fused lateral force and the fused longitudinal force are input into the vehicle dynamics model, and the vehicle dynamics model outputs simulated driving data.
本申请实施例还提供了一种构建车辆动力学模型的装置,该装置可以计算机设备,如图5所示,该装置包括获取模块510、输入模块520、融合模块530、仿真模块540和调参模块550,其中:The embodiment of the present application also provides a device for constructing a vehicle dynamics model, which can be a computer device. As shown in FIG5 , the device includes an acquisition module 510, an input module 520, a fusion module 530, a simulation module 540 and a parameter adjustment module 550, wherein:
获取模块510,用于获取车辆在第一驾驶控制参数下的实车行驶数据;具体的,可以实现上述步骤201及其隐含步骤的处理。The acquisition module 510 is used to acquire the actual vehicle driving data of the vehicle under the first driving control parameter; specifically, it can implement the processing of the above step 201 and its implicit steps.
输入模块520,用于将所述第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;具体的,可以实现上述步骤202及其 隐含步骤的处理。The input module 520 is used to input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data; specifically, the processing of the above step 202 and its implicit steps can be realized.
融合模块530,用于对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;具体的,可以实现上述步骤203及其隐含步骤的处理。The fusion module 530 is used to fuse the first tire force data and the second tire force data to obtain fused tire force data; specifically, it can implement the processing of the above step 203 and its implicit steps.
仿真模块540,用于将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据;具体的,可以实现上述步骤204及其隐含步骤的处理。The simulation module 540 is used to input the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data; specifically, it can implement the processing of the above step 204 and its implicit steps.
调参模块550,用于根据所述仿真行驶数据和所述实车行驶数据,对所述轮胎数据模型进行调参。具体的,可以实现上述步骤205-207及其隐含步骤的处理。The parameter adjustment module 550 is used to adjust the parameters of the tire data model according to the simulated driving data and the real vehicle driving data. Specifically, the processing of the above steps 205-207 and the implicit steps thereof can be implemented.
在一种可能的实现方式中,所述第一轮胎受力数据包括第一横向力数据和第一纵向力数据,所述第融合模块530,用于:In a possible implementation, the first tire force data includes first lateral force data and first longitudinal force data, and the first fusion module 530 is used to:
对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据;fusing the first lateral force data and the second lateral force data to obtain fused lateral force data;
对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据;fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data;
所述仿真模块540,用于:The simulation module 540 is used to:
将所述融合横向力数据和所述融合纵向力数据输入所述整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
在一种可能的实现方式中,所述融合模块530,用于:In a possible implementation, the fusion module 530 is used to:
根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重;determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter;
根据所述第一横向力融合权重,对所述第一横向力数据和所述第二横向力数据进行加权求和,得到融合横向力数据;performing weighted summation on the first lateral force data and the second lateral force data according to the first lateral force fusion weight to obtain fused lateral force data;
根据所述第一纵向力融合权重,对所述第一纵向力数据和所述第二纵向力数据进行加权求和,得到融合纵向力数据。According to the first longitudinal force fusion weight, the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
在一种可能的实现方式中,所述融合模块530,用于:In a possible implementation, the fusion module 530 is used to:
根据驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,确定所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。According to the corresponding relationship between the driving control parameter, the lateral force fusion weight and the longitudinal force fusion weight, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
在一种可能的实现方式中,所述融合模块530,用于:In a possible implementation, the fusion module 530 is used to:
将所述驾驶控制参数输入权重决策模型,得到所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。The driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
在一种可能的实现方式中,所述仿真行驶数据的数据维度和所述实车行驶数据的数据维度相同,所述数据维度包括横向速度、纵向速度、轮胎转速、横向加速度、纵向加速度、横摆角中的至少一项。In a possible implementation, the data dimension of the simulated driving data is the same as the data dimension of the actual vehicle driving data, and the data dimension includes at least one of lateral speed, longitudinal speed, tire speed, lateral acceleration, longitudinal acceleration, and yaw angle.
在一种可能的实现方式中,所述融合模块530,还用于:In a possible implementation, the fusion module 530 is further configured to:
确定所述实车行驶数据与所述仿真行驶数据中相同数据维度的数据之间的第一误差均小于误差阈值。It is determined that first errors between data of the same data dimension in the actual vehicle driving data and the simulated driving data are both smaller than an error threshold.
在一种可能的实现方式中,所述调参模块550,用于:In a possible implementation, the parameter adjustment module 550 is used to:
根据各数据维度对应的权重,对各第一误差进行加权求和,得到第二误差;According to the weights corresponding to the data dimensions, weighted summation is performed on the first errors to obtain the second error;
如果所述第二误差不小于第二阈值,则确定所述仿真行驶数据相对于所述实车行驶数据之间的误差不满足收敛条件,对所述轮胎数据模型进行调参。If the second error is not less than a second threshold, it is determined that the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, and the tire data model is adjusted.
需要说明的是:上述实施例提供的构建车辆动力学模型的装置在构建车辆动力学模型时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将计算机设备的内部结构划分成不同的功能模块,以完成以上描述 的全部或者部分功能。另外,上述实施例提供的构建车辆动力学模型的装置与构建车辆动力学模型的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the device for constructing a vehicle dynamics model provided in the above embodiment only uses the division of the above functional modules as an example when constructing a vehicle dynamics model. In actual applications, the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for constructing a vehicle dynamics model provided in the above embodiment and the method embodiment for constructing a vehicle dynamics model belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
本申请实施例还提供了一种生成仿真行驶数据的装置,该装置可以为计算机设备或者控制器,参见图6,该装置包括输入模块610、融合模块620和仿真模块630,其中:The embodiment of the present application further provides a device for generating simulated driving data, which may be a computer device or a controller. Referring to FIG. 6 , the device includes an input module 610, a fusion module 620, and a simulation module 630, wherein:
输入模块610,用于将第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;具体的,可以实现上述步骤401及其隐含步骤的处理。The input module 610 is used to input the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain the first tire force data and the second tire force data; specifically, the processing of the above step 401 and its implicit steps can be realized.
融合模块620,用于对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;具体的,可以实现上述步骤402及其隐含步骤的处理。The fusion module 620 is used to fuse the first tire force data and the second tire force data to obtain fused tire force data; specifically, it can implement the processing of the above step 402 and its implicit steps.
仿真模块630,用于将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据。具体的,可以实现上述步骤403及其隐含步骤的处理。The simulation module 630 is used to input the fused tire force data into the vehicle dynamics model to obtain simulated driving data. Specifically, the processing of the above step 403 and its implicit steps can be implemented.
在一种可能的实现方式中,所述第一轮胎受力数据包括第一横向力数据和第一纵向力数据,所述第二轮胎受力数据包括第二横向力数据和第二纵向力数据,所述融合模块620,用于:In a possible implementation, the first tire force data includes first lateral force data and first longitudinal force data, the second tire force data includes second lateral force data and second longitudinal force data, and the fusion module 620 is used to:
对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据;fusing the first lateral force data and the second lateral force data to obtain fused lateral force data;
对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据;fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data;
所述仿真模块630,用于:The simulation module 630 is used to:
将所述融合横向力数据和所述融合纵向力数据输入所述整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
在一种可能的实现方式中,所述融合模块620,用于:In a possible implementation, the fusion module 620 is configured to:
根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重;determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter;
根据所述第一横向力融合权重,对所述第一横向力数据和所述第二横向力数据进行加权求和,得到融合横向力数据;performing weighted summation on the first lateral force data and the second lateral force data according to the first lateral force fusion weight to obtain fused lateral force data;
根据所述第一纵向力融合权重,对所述第一纵向力数据和所述第二纵向力数据进行加权求和,得到融合纵向力数据。According to the first longitudinal force fusion weight, the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
在一种可能的实现方式中,所述融合模块620,用于:In a possible implementation, the fusion module 620 is configured to:
根据驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,确定所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。According to the corresponding relationship among the driving control parameter, the lateral force fusion weight and the longitudinal force fusion weight, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
在一种可能的实现方式中,所述融合模块620,用于:In a possible implementation, the fusion module 620 is configured to:
将所述驾驶控制参数输入权重决策模型,得到所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。The driving control parameter is input into a weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
需要说明的是:上述实施例提供的生成仿真行驶数据的装置在生成仿真行驶数据时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将计算机设备或控制器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的生成仿真行驶数据的装置与生成仿真行驶数据的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the device for generating simulated driving data provided in the above embodiment only uses the division of the above functional modules as an example when generating simulated driving data. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device or controller is divided into different functional modules to complete all or part of the functions described above. In addition, the device for generating simulated driving data provided in the above embodiment and the method embodiment for generating simulated driving data belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
如图7所示,计算机设备700可选地由一般性的总线体系结构来实现。计算机设备700 包括至少一个处理器701、通信总线702、存储器703以及至少一个网络接口704。As shown in FIG7 , the computer device 700 may be implemented by a general bus architecture. The computer device 700 includes at least one processor 701 , a communication bus 702 , a memory 703 , and at least one network interface 704 .
处理器701例如是通用中央处理器(central processing unit,CPU)、网络处理器(network processer,NP)、图形处理器(Graphics Processing Unit,GPU)、神经网络处理器(neural-network processing units,NPU)、数据处理单元(Data Processing Unit,DPU)、微处理器或者一个或多个用于实现本申请方案的集成电路。例如,处理器701包括专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。PLD例如是复杂可编程逻辑器件(complex programmable logic device,CPLD)、现场可编程逻辑门阵列(field-programmable gate array,FPGA)、通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 701 is, for example, a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, the processor 701 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
通信总线702用于在上述组件之间传送信息。通信总线702可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 702 is used to transmit information between the above components. The communication bus 702 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG7 , but it does not mean that there is only one bus or one type of bus.
存储器703例如是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,又如是随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,又如是电可擦可编程只读存储器(electrically erasable programmable read-only Memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器703例如是独立存在,并通过通信总线702与处理器701相连接。存储器703也可以和处理器701集成在一起。The memory 703 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 703 is, for example, independent and connected to the processor 701 through the communication bus 702. The memory 703 can also be integrated with the processor 701.
网络接口704使用任何收发器一类的装置,用于与其它设备或通信网络通信。网络接口704包括有线网络接口,还可以包括无线网络接口。其中,有线网络接口例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线网络接口可以为无线局域网(wireless local area networks,WLAN)接口,蜂窝网络的网络接口或其组合等。The network interface 704 uses any transceiver-like device for communicating with other devices or communication networks. The network interface 704 includes a wired network interface and may also include a wireless network interface. Among them, the wired network interface may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless network interface may be a wireless local area network (WLAN) interface, a cellular network network interface, or a combination thereof, etc.
在具体实现中,作为一种示例,处理器701可以包括一个或多个CPU。In a specific implementation, as an example, the processor 701 may include one or more CPUs.
在具体实现中,作为一种示例,计算机设备700可以包括多个处理器。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(如计算机程序指令)的处理核。In a specific implementation, as an example, the computer device 700 may include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (such as computer program instructions).
在具体实现中,作为一种示例,计算机设备700还可以包括输出设备和输入设备。输出设备和处理器701通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(liquid crystal display,LCD)、发光二级管(light emitting diode,LED)显示设备、阴极射线管(cathode ray tube,CRT)显示设备或投影仪(projector)等。输入设备和处理器701通信,以多种方式接收用户的输入。例如,输入设备可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an example, the computer device 700 may also include an output device and an input device. The output device communicates with the processor 701 and can display information in a variety of ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 701 and receives user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.
在一些实施例中,存储器703用于存储执行本申请中检测恶意文件的程序代码7031,处理器701执行存储器703中存储的程序代码7031。也即是,计算机设备700可以通过处理器701以及存储器703中的程序代码7031,来实现方法实施例提供的构建车辆动力学模型的方法或者生成仿真行驶数据的方法。In some embodiments, the memory 703 is used to store and execute the program code 7031 for detecting malicious files in the present application, and the processor 701 executes the program code 7031 stored in the memory 703. That is, the computer device 700 can implement the method for constructing a vehicle dynamics model or the method for generating simulated driving data provided by the method embodiment through the processor 701 and the program code 7031 in the memory 703.
本申请还提供了一种计算机可读存储介质,例如包括程序代码的存储器,上述程序代码 可由设备中的处理器执行以完成上述实施例中的构建车辆动力学模型的方法和/或生成仿真行驶数据的方法。该计算机可读存储介质的实现方式可参考与图7中的存储器703。The present application also provides a computer-readable storage medium, such as a memory including a program code, which can be executed by a processor in a device to complete the method of constructing a vehicle dynamics model and/or the method of generating simulated driving data in the above embodiment. The implementation of the computer-readable storage medium can refer to the memory 703 in FIG. 7 .
本申请还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括程序代码,该程序代码存储在计算机可读存储介质中,处理器从计算机可读存储介质读取该程序代码,处理器执行该程序代码,使得处理器所在设备执行上述构建车辆动力学模型的方法和/或生成仿真行驶数据的方法。The present application also provides a computer program product or a computer program, which includes a program code, and the program code is stored in a computer-readable storage medium. A processor reads the program code from the computer-readable storage medium, and the processor executes the program code, so that the device where the processor is located executes the above-mentioned method for constructing a vehicle dynamics model and/or the method for generating simulated driving data.
另外,本申请还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述方法实施例中构建车辆动力学模型的方法和/或生成仿真行驶数据的方法。In addition, the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the method of constructing a vehicle dynamics model and/or the method of generating simulated driving data in the above-mentioned method embodiment.
其中,本申请提供的装置、设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the devices, equipment, computer-readable storage media, computer program products or chips provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载或执行所述计算机程序指令时,全部或部分地产生按照本发明本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)或者半导体介质。半导体介质可以是固态硬盘(solid state disk,SSD)。The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present application of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium can be a solid state disk (SSD).
以上所述,仅为本申请的具体实施方式。熟悉本技术领域的技术人员根据本申请提供的具体实施方式,可想到变化或替换,都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application. Those skilled in the art may conceive of changes or substitutions based on the specific implementation provided by the present application, which should all be included in the protection scope of the present application.

Claims (19)

  1. 一种构建车辆动力学模型的方法,其特征在于,所述车辆动力学模型包括轮胎数据模型、轮胎机理模型和整车动力学模型,所述方法包括:A method for constructing a vehicle dynamics model, characterized in that the vehicle dynamics model includes a tire data model, a tire mechanism model and a whole vehicle dynamics model, and the method includes:
    获取车辆在第一驾驶控制参数下的实车行驶数据;Acquiring actual vehicle driving data of the vehicle under the first driving control parameter;
    将所述第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;Inputting the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain first tire force data and second tire force data;
    对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;fusing the first tire force data and the second tire force data to obtain fused tire force data;
    将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据;Inputting the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data;
    根据所述仿真行驶数据和所述实车行驶数据,对所述轮胎数据模型进行调参。The tire data model is adjusted according to the simulated driving data and the actual vehicle driving data.
  2. 根据权利要求1所述的方法,其特征在于,所述第一轮胎受力数据包括第一横向力数据和第一纵向力数据,所述第二轮胎受力数据包括第二横向力数据和第二纵向力数据,所述对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据,包括:The method according to claim 1, characterized in that the first tire force data includes first lateral force data and first longitudinal force data, the second tire force data includes second lateral force data and second longitudinal force data, and the fusing the first tire force data and the second tire force data to obtain the fused tire force data comprises:
    对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据;fusing the first lateral force data and the second lateral force data to obtain fused lateral force data;
    对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据;fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data;
    所述将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据,包括:The step of inputting the fused tire force data into the vehicle dynamics model to obtain simulated driving data includes:
    将所述融合横向力数据和所述融合纵向力数据输入所述整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, characterized in that the method further comprises:
    根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重;determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter;
    所述对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据,包括:The fusing the first lateral force data and the second lateral force data to obtain fused lateral force data includes:
    根据所述第一横向力融合权重,对所述第一横向力数据和所述第二横向力数据进行加权求和,得到融合横向力数据;performing weighted summation on the first lateral force data and the second lateral force data according to the first lateral force fusion weight to obtain fused lateral force data;
    所述对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据,包括:The fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data includes:
    根据所述第一纵向力融合权重,对所述第一纵向力数据和所述第二纵向力数据进行加权求和,得到融合纵向力数据。According to the first longitudinal force fusion weight, the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:The method according to claim 3, characterized in that the determining, according to the first driving control parameter, a first lateral force fusion weight and a first longitudinal force fusion weight comprises:
    根据驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,确定所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。According to the corresponding relationship between the driving control parameter, the lateral force fusion weight and the longitudinal force fusion weight, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:The method according to claim 3, characterized in that the determining, according to the first driving control parameter, a first lateral force fusion weight and a first longitudinal force fusion weight comprises:
    将所述驾驶控制参数输入融合权重决策模型,得到所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。The driving control parameter is input into a fusion weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
  6. 根据权利要求1所述的方法,其特征在于,所述仿真行驶数据的数据维度和所述实车行驶数据的数据维度相同,所述数据维度包括横向速度、纵向速度、轮胎转速、横向加速度、纵向加速度、横摆角中的至少一项。The method according to claim 1 is characterized in that the data dimension of the simulated driving data is the same as the data dimension of the real vehicle driving data, and the data dimension includes at least one of lateral speed, longitudinal speed, tire speed, lateral acceleration, longitudinal acceleration, and yaw angle.
  7. 根据权利要求6所述的方法,其特征在于,所述对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,之前所述方法还包括:The method according to claim 6, characterized in that before fusing the first tire force data and the second tire force data, the method further comprises:
    确定所述实车行驶数据与所述仿真行驶数据中相同数据维度的数据之间的第一误差均小于误差阈值。It is determined that first errors between data of the same data dimension in the actual vehicle driving data and the simulated driving data are both smaller than an error threshold.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述仿真行驶数据和所述实车行驶数据,对所述轮胎数据模型进行调参,包括:The method according to claim 7, characterized in that the step of adjusting the parameters of the tire data model according to the simulated driving data and the real vehicle driving data comprises:
    根据各数据维度对应的权重,对各第一误差进行加权求和,得到第二误差;According to the weights corresponding to the data dimensions, weighted summation is performed on the first errors to obtain the second error;
    如果所述第二误差不小于第二阈值,则确定所述仿真行驶数据相对于所述实车行驶数据之间的误差不满足收敛条件,对所述轮胎数据模型进行调参。If the second error is not less than a second threshold, it is determined that the error between the simulated driving data and the actual vehicle driving data does not meet the convergence condition, and the tire data model is adjusted.
  9. 一种生成仿真行驶数据的方法,其特征在于,所述方法包括:A method for generating simulated driving data, characterized in that the method comprises:
    将第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;Inputting the first driving control parameter into the tire data model and the tire mechanism model respectively to obtain first tire force data and second tire force data;
    对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;fusing the first tire force data and the second tire force data to obtain fused tire force data;
    将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据。The fused tire force data is input into the whole vehicle dynamics model to obtain simulated driving data.
  10. 根据权利要求9所述的方法,其特征在于,所述第一轮胎受力数据包括第一横向力数据和第一纵向力数据,所述第二轮胎受力数据包括第二横向力数据和第二纵向力数据,所述对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据,包括:The method according to claim 9, characterized in that the first tire force data includes first lateral force data and first longitudinal force data, the second tire force data includes second lateral force data and second longitudinal force data, and the fusing the first tire force data and the second tire force data to obtain the fused tire force data comprises:
    对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据;fusing the first lateral force data and the second lateral force data to obtain fused lateral force data;
    对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据;fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data;
    将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据,包括:Inputting the fused tire force data into the vehicle dynamics model to obtain simulated driving data includes:
    将所述融合横向力数据和所述融合纵向力数据输入所述整车动力学模型,得到仿真行驶数据。The fused lateral force data and the fused longitudinal force data are input into the whole vehicle dynamics model to obtain simulated driving data.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重;determining a first lateral force fusion weight and a first longitudinal force fusion weight according to the first driving control parameter;
    所述对所述第一横向力数据和所述第二横向力数据进行融合,得到融合横向力数据,包括:The fusing the first lateral force data and the second lateral force data to obtain fused lateral force data includes:
    根据所述第一横向力融合权重,对所述第一横向力数据和所述第二横向力数据进行加权求和,得到融合横向力数据;performing weighted summation on the first lateral force data and the second lateral force data according to the first lateral force fusion weight to obtain fused lateral force data;
    所述对所述第一纵向力数据和所述第二纵向力数据进行融合,得到融合纵向力数据,包括:The fusing the first longitudinal force data and the second longitudinal force data to obtain fused longitudinal force data includes:
    根据所述第一纵向力融合权重,对所述第一纵向力数据和所述第二纵向力数据进行加权求和,得到融合纵向力数据。According to the first longitudinal force fusion weight, the first longitudinal force data and the second longitudinal force data are weightedly summed to obtain fused longitudinal force data.
  12. 根据权利要求11所述的方法,其特征在于,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:The method according to claim 11, characterized in that the determining, according to the first driving control parameter, a first lateral force fusion weight and a first longitudinal force fusion weight comprises:
    根据驾驶控制参数、横向力融合权重和纵向力融合权重之间的对应关系,确定所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。According to the corresponding relationship among the driving control parameter, the lateral force fusion weight and the longitudinal force fusion weight, a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter are determined.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述第一驾驶控制参数,确定第一横向力融合权重和第一纵向力融合权重,包括:The method according to claim 12, characterized in that the determining, according to the first driving control parameter, a first lateral force fusion weight and a first longitudinal force fusion weight comprises:
    将所述驾驶控制参数输入融合权重决策模型,得到所述第一驾驶控制参数对应的第一横向力融合权重和第一纵向力融合权重。The driving control parameter is input into a fusion weight decision model to obtain a first lateral force fusion weight and a first longitudinal force fusion weight corresponding to the first driving control parameter.
  14. 一种构建车辆动力学模型的装置,其特征在于,所述车辆动力学模型包括轮胎数据模型、轮胎机理模型和整车动力学模型,所述装置包括:A device for constructing a vehicle dynamics model, characterized in that the vehicle dynamics model includes a tire data model, a tire mechanism model and a whole vehicle dynamics model, and the device includes:
    获取模块,用于获取车辆在第一驾驶控制参数下的实车行驶数据;An acquisition module, used for acquiring actual vehicle driving data of the vehicle under the first driving control parameter;
    输入模块,用于将所述第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;An input module, used for inputting the first driving control parameter into the tire data model and the tire mechanism model respectively, to obtain first tire force data and second tire force data;
    融合模块,用于对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;a fusion module, used for fusing the first tire force data and the second tire force data to obtain fused tire force data;
    仿真模块,用于将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据;A simulation module, used for inputting the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data;
    调参模块,用于根据所述仿真行驶数据和所述实车行驶数据,对所述轮胎数据模型进行调参。A parameter adjustment module is used to adjust the parameters of the tire data model according to the simulated driving data and the actual vehicle driving data.
  15. 一种生成仿真行驶数据的装置,其特征在于,所述装置包括:A device for generating simulated driving data, characterized in that the device comprises:
    输入模块,用于将第一驾驶控制参数分别输入所述轮胎数据模型和所述轮胎机理模型,得到第一轮胎受力数据和第二轮胎受力数据;An input module, used for inputting the first driving control parameter into the tire data model and the tire mechanism model respectively, to obtain first tire force data and second tire force data;
    融合模块,用于对所述第一轮胎受力数据和所述第二轮胎受力数据进行融合,得到融合轮胎受力数据;a fusion module, used for fusing the first tire force data and the second tire force data to obtain fused tire force data;
    仿真模块,用于将所述融合轮胎受力数据输入所述整车动力学模型,得到仿真行驶数据。The simulation module is used to input the fused tire force data into the whole vehicle dynamics model to obtain simulated driving data.
  16. 一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器用于存储指令,所述指令被所述处理器加载并执行,以实现权利要求1-8中任一项所述的构建车辆动力学模型的方法。A computer device, characterized in that the computer device includes a processor and a memory, the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for constructing a vehicle dynamics model according to any one of claims 1 to 8.
  17. 一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器用于存储指令,所述指令被所述处理器加载并执行,以实现权利要求9-14中任一项所述的生成 仿真行驶数据的方法。A computer device, characterized in that the computer device includes a processor and a memory, the memory is used to store instructions, and the instructions are loaded and executed by the processor to implement the method for generating simulated driving data described in any one of claims 9-14.
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储指令,所述指令被处理器加载并执行,以实现权利要求1-8中任一项所述的构建车辆动力学模型的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for constructing a vehicle dynamics model according to any one of claims 1 to 8.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储指令,所述指令被处理器加载并执行,以实现权利要求9-14中任一项所述的生成仿真行驶数据的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, and the instructions are loaded and executed by a processor to implement the method for generating simulated driving data according to any one of claims 9 to 14.
PCT/CN2022/126417 2022-10-20 2022-10-20 Method and apparatus for constructing vehicle dynamics model, device, and storage medium WO2024082213A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126417 WO2024082213A1 (en) 2022-10-20 2022-10-20 Method and apparatus for constructing vehicle dynamics model, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126417 WO2024082213A1 (en) 2022-10-20 2022-10-20 Method and apparatus for constructing vehicle dynamics model, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2024082213A1 true WO2024082213A1 (en) 2024-04-25

Family

ID=90736610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126417 WO2024082213A1 (en) 2022-10-20 2022-10-20 Method and apparatus for constructing vehicle dynamics model, device, and storage medium

Country Status (1)

Country Link
WO (1) WO2024082213A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594652A (en) * 2018-03-19 2018-09-28 江苏大学 A kind of vehicle-state fusion method of estimation based on observer information iteration
KR20180138324A (en) * 2017-06-21 2018-12-31 한양대학교 산학협력단 Apparatus and method for lane Keeping control
CN111368424A (en) * 2020-03-03 2020-07-03 北京百度网讯科技有限公司 Vehicle simulation method, device, equipment and medium
CN114547963A (en) * 2021-11-26 2022-05-27 江苏科技大学 Tire modeling method and medium based on data driving
CN114684199A (en) * 2022-04-29 2022-07-01 江苏大学 Vehicle dynamics series hybrid model driven by mechanism analysis and data, intelligent automobile trajectory tracking control method and controller
CN114936423A (en) * 2022-05-11 2022-08-23 清华大学 Tire quasi-steady state data processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180138324A (en) * 2017-06-21 2018-12-31 한양대학교 산학협력단 Apparatus and method for lane Keeping control
CN108594652A (en) * 2018-03-19 2018-09-28 江苏大学 A kind of vehicle-state fusion method of estimation based on observer information iteration
CN111368424A (en) * 2020-03-03 2020-07-03 北京百度网讯科技有限公司 Vehicle simulation method, device, equipment and medium
CN114547963A (en) * 2021-11-26 2022-05-27 江苏科技大学 Tire modeling method and medium based on data driving
CN114684199A (en) * 2022-04-29 2022-07-01 江苏大学 Vehicle dynamics series hybrid model driven by mechanism analysis and data, intelligent automobile trajectory tracking control method and controller
CN114936423A (en) * 2022-05-11 2022-08-23 清华大学 Tire quasi-steady state data processing method and device

Similar Documents

Publication Publication Date Title
WO2021189906A1 (en) Target detection method and apparatus based on federated learning, and device and storage medium
US11062215B2 (en) Using different data sources for a predictive model
US11222530B2 (en) Driving intention determining method and apparatus
JP2019526107A (en) System and method for machine learning using trusted models
WO2016110234A1 (en) Cloud platform application-oriented service recommendation method, device and system
Keen et al. Bias-free identification of a linear model-predictive steering controller from measured driver steering behavior
US8352215B2 (en) Computer-implemented distributed iteratively reweighted least squares system and method
US20080312882A1 (en) Structural analysis apparatus and structural analysis method
CN110956255A (en) Difficult sample mining method and device, electronic equipment and computer readable storage medium
WO2018205853A1 (en) Distributed computing system and method and storage medium
US20190094941A1 (en) Power state control of a mobile device
CN116569140A (en) Techniques for modifying clustered computing environments
US20200329108A1 (en) Program operation system and program operation method
WO2024082213A1 (en) Method and apparatus for constructing vehicle dynamics model, device, and storage medium
US20200097811A1 (en) Reinforcement learning by sharing individual data within dynamic groups
JP6303032B2 (en) Method and apparatus for generating instances of technical indicators
WO2023045791A1 (en) Lane keeping method and apparatus, device, medium, and system
CN116384606A (en) Scheduling optimization method and system based on cooperative distribution of vehicle unmanned aerial vehicle
WO2022252884A1 (en) Method and apparatus for generating driving suggestion, and device and storage medium
CN116258031A (en) Whole vehicle finite element model correction method, device and equipment for NVH analysis
CN113239034A (en) Big data resource integration method and system based on artificial intelligence and cloud platform
TWI738131B (en) Imaging system and detection method
Cook et al. Design optimization using multiple dominance relations
JP7356961B2 (en) Pedestrian road crossing simulation device, pedestrian road crossing simulation method, and pedestrian road crossing simulation program
CN114969986A (en) Method and device for calibrating vehicle power parameters and electronic equipment