Methods for operating a vehicle
A hybrid driving dynamics model integrating physical and data-based components addresses the limitations of conventional models by improving accuracy and adaptability, offering enhanced vehicle behavior prediction with reduced memory usage.
Patent Information
- Application Number
- DE102023201818
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-29
AI Technical Summary
Conventional vehicle dynamics models face challenges in achieving accurate and efficient extrapolation due to high storage requirements and inaccurate predictions, particularly in data-based models, while physical models lack adaptability to new data.
A hybrid driving dynamics model combining a physical model portion with a data-based model portion, specifically using neural networks, allows for improved extrapolation and adaptability, optimizing model complexity through adjustable parameters.
The hybrid model provides precise vehicle behavior prediction with reduced memory requirements, enhancing accuracy in both training and extrapolation compared to purely physical or data-based models.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] The present invention relates to a method for operating a vehicle using a Driving dynamics model, as well as a computing unit and a computer program for its implementation. Background of the invention
[0002] Particularly in the area of driver assistance systems, but increasingly and generally also in the area of autonomous or automated driving of vehicles, especially passenger cars or trucks, play a Driving dynamics models play a role.
[0003] A vehicle dynamics model is a model of a vehicle or part of the vehicle with which dynamic Situations of vehicle operation can be represented or mapped, so that a value of a variable An example of this would be for a certain value or The steering angle velocity curve can be used to determine a resulting value or a yaw rate curve. The vehicle's behavior can be predicted at least for a certain period of time. Disclosure of the invention
[0004] According to the invention, a method for operating a vehicle as well as a computing unit and a A computer program for carrying out the same with the features of the independent patent claims is proposed. Advantageous embodiments are the subject of the dependent claims and the following description.
[0005] The invention relates to the operation of a vehicle using a driving dynamics model, and especially the vehicle dynamics model itself. In general, input values for one or more Input variables for the vehicle dynamics model are provided, e.g. as measured values from a sensor, in particular as Based on the input values, the vehicle dynamics model then generates output values for a or several state variables are determined, which can then be made available, e.g. for further use in In this sense, the vehicle dynamics model can also be used within the framework of a control system become.
[0006] Conventional vehicle dynamics models are based on physical equations and can be implemented in different complexity. Driving dynamics models are used, for example, in controllers of lane keeping assistants or Driving dynamics models include the so-called single-track model and the so-called roll model for the Driving dynamics. The so-called linear single-track model is, for example, a very simple or even the simplest model for explaining the stationary and unsteady lateral dynamics of two-track vehicles.
[0007] Such vehicle dynamics models can be adapted to data by optimising the model parameters. If the optimization of the model parameters does not yet provide the desired accuracy, for example, it can be of low model Complexity (e.g. from a linear single-track model) to a next higher complexity (e.g. a single-track model with no linear tire characteristic curve). However, this change in model complexity is complex. namely, a new implementation is required and the model parameters must be optimized again. Conventional physical models are also called white-box models or grey-box models or are to be assigned to the corresponding group.
[0008] In addition, vehicle dynamics models based on so-called black box models are also considered. Driving dynamics models are purely data-based and include, for example, artificial neural networks or Gaussian processes or are based on them. In the following, we will also refer to data-based driving dynamics models The complexity of these vehicle dynamics models can be easily determined by the number of neurons in the neural networks or change the number of kernel functions in sparse Gaussian processes. The optimization of the Vehicle dynamics models based on reference data are an integral part of model creation. However, a major disadvantage is the generally large memory requirements and the mostly inaccurate extrapolation of this model class. The effort for The data generation is greater than with the parameter optimization of the physical driving dynamics models.
[0009] Between these two classes and driving dynamics models, so-called hybrid driving dynamics models can now be These driving dynamics models represent a mixture of physically inspired differential equations (i.e. a physical vehicle dynamics model) and neural or other data-based differential equations (i.e. a data-based driving dynamics model). The (entire) driving dynamics model therefore includes a physical model part and a data-based model part). Physical parts, which are based, for example, on energy conservation or pure Kinematics and do not contain adjustable parameters can be written as ordinary differential equations (ODE, ´´Ordinary Differential Equation´´) defines who The neural network (or generally the data-based model part) no longer has to model these parts, but is applied to parts with unknown physics or with adjustable parameters. Vehicle dynamics model that combines the advantages of physical vehicle dynamics models and data-based (or data-driven) driving dynamics models. Compared to black-box models, the hybrid Driving dynamics model usually requires less memory.
[0010] A single-track model may in particular comprise the following variables as state variables (or states) or based on: a position in a first direction, e.g. an x-direction (relative to a space- or earth-fixed coordinate system, in particular a Cartesian coordinate system), a position in a second direction, e.g. B. a y-direction (relative to the space or earth-fixed coordinate system), a yaw angle, a steering angle, a Vehicle speed (effective, not longitudinal), a sideslip angle and a yaw rate.
[0011] As input variables for the single-track model, ie variables whose values are known, e.g. measured values, In particular, acceleration of the vehicle, particularly in the longitudinal direction, and a steering angle speed.
[0012] The aim of such a single-track model, as well as generally all models, is to use a given starting vector of the States and given time courses for the input variables (e.g. measured values or other values), the future To model trajectories of the states as accurately as possible.
[0013] The single-track model can be used as a physical vehicle dynamics model with several differential equations (i.e. a set of Differential equations), especially ordinary differential equations, or it can be represented with them For a more detailed description with the concrete differential equations, please refer to the Refer to figure description.
[0014] This model includes several different parameters such as a friction coefficient against the road surface, front and rear distance of the respective vehicle axle to the center of gravity of the vehicle, front and rear Curve stiffness, height of the center of gravity above the road, the gravitational constant, the vehicle mass, as well as the Moment of inertia around the vertical axis at the center of gravity. Some of these parameters can - or should - be optimized Vehicle parameters, e.g. vehicle mass.
[0015] As a data-based driving dynamics model, the single-track model can be implemented relatively easily using, for example, a neural network Here, too, there are differential equations. In this case, the neural network calculates all derivatives of the states are modeled. For a more detailed description with the concrete differential equations, please refer to the Refer to figure description.
[0016] The proposed driving dynamics model is now a hybrid driving dynamics model with a physical model component and a data-based model component. The proposed The driving dynamics model is particularly a single-track model, or at least it is based on one. In particular, it is a kind of mixture of the two models mentioned above. The driving dynamics model has the physical part or model part a good extrapolation, through the data-based part or model part, e.g. through the neural network, it can be adapted to data. It is more accurate than a purely physical Driving dynamics model with improved extrapolation compared to the purely data-based driving dynamics model.
[0017] The corresponding method for operating a vehicle using this driving dynamics model, then includes that input values of one or at least one of several input variables of the vehicle dynamics model These input values can be, for example, measured values. Input variables used in particular include One or more of the input variables already mentioned are considered. Based on the input values, Output values of one or at least one of several state variables of the vehicle dynamics model are determined. In particular, one or more of the state variables already mentioned come into consideration. Output values are then provided for use in operating the vehicle. It should be noted here that that not necessarily initial values for all state variables on which the vehicle dynamics model is based must be issued. This may vary depending on the intended use, for example.
[0018] In one embodiment, the physical model portion comprises one or more differential equations, and for one or more of the following state variables: the position in the first direction, the position in the second Direction, yaw angle, steering angle, vehicle speed, and yaw rate.
[0019] In one embodiment, the data-based model portion comprises or relates to one or more of the following State variables: the steering angle, the vehicle speed, the sideslip angle, and the yaw rate. The input variables are only the data-based model component.
[0020] The proposed hybrid driving dynamics model can preferably be implemented within lane keeping assistants, or within of functions for autonomous or automated driving. In conjunction with a controller (e.g. B. Model predictive controller) results in a software function that can be delivered within a control unit. The vehicle dynamics model combines the advantages of well-known purely physical or purely data-based models. Adaptation to measurement data is achieved through the data-based part, in particular the so-called neural differential equations The model complexity can be easily increased by changing the number of neurons in the hidden layer of the neural network. The physical part, which is based purely on kinematics and does not contain any uncertainties improves the accuracy of extrapolation compared to the purely data-based model.
[0021] A computing unit according to the invention, e.g. a control unit of a motor vehicle, is, in particular programmatically, designed to carry out a method according to the invention.
[0022] The implementation of a method according to the invention in the form of a computer program or Computer program product with program code to carry out all process steps is advantageous, as this is particularly low costs, especially if an executive control unit is used for other tasks and Finally, a machine-readable storage medium is provided with a stored computer program as described above. Suitable storage media or data carriers for providing of the computer program are in particular magnetic, optical and electrical storage devices, such as hard disks, flash Memory, EEPROMs, DVDs, etc. Downloading a program via computer networks (Internet, Intranet, etc.) is also Such a download can be done via a wired connection or wirelessly (e.g. via a WLAN network, a 3G, 4G, 5G or 6G connection, etc.).
[0023] Further advantages and embodiments of the invention will become apparent from the description and the accompanying Drawing.
[0024] The invention is schematically illustrated in the drawing using an embodiment and is described in Described below with reference to the drawing. Short description of the drawings Fig. 1 shows a schematic diagram of a vehicle in which a method according to the invention can be used. Fig. 2 shows a schematic diagram to explain a vehicle dynamics model. Fig. 3 shows schematically a sequence of a method according to the invention in a preferred Embodiment. Fig. 4 shows diagrams comparing different driving dynamics models. Embodiment(s) of the invention
[0025] In Fig. 1, a vehicle 100 is shown schematically in which a method according to the invention is used For example, the vehicle 100 has a computing unit 110 designed as a control unit on which, for example, a Driver assistance function with a control, e.g. a lane keeping assistance function or an evasive assistance function, Within the scope of such a driver assistance function, a vehicle dynamics model 120 can be used which receives input values of one or more input variables and based on these output values of one or more several state variables.
[0026] By way of example, two input values are designated E1, E2, and one output value is designated A1.
[0027] The vehicle dynamics model 120 comprises a physical model part 122 and a data-based model part 124, which is only indicated schematically here. A more detailed explanation follows with regard to the following figures.
[0028] In Fig. 2 a schematic representation is shown to explain a driving dynamics model, namely for a so-called Single-track model. A single-track model can in particular include the following variables as state variables (or states) or based on: a position Δx in a first direction, e.g. an x-direction (relative to a spatial or earth-fixed coordinate system, in particular a Cartesian coordinate system), a position Δy in a second direction, e.g. a y-direction (relative to the space or earth-fixed coordinate system), a yaw angle ψ, a steering angle δ, a speed v of the vehicle (effective, not longitudinal), a Sideslip angle β and a yaw rate ω. As a vector (state variable vector), these quantities can be expressed as follows represent: x=[Δx,Δy,ψ,δ,v,β,ω]T
[0029] As input variables for the single-track model, ie variables whose values are known values, e.g. measured values, In particular, acceleration a of the vehicle, especially in x Longitudinal direction (the time derivative of the speed v), as well as a steering angle speed v (the time &dgr; Derivative of the steering angle δ) into consideration. As a vector (input variable vector) these quantities can be expressed as follows represent: u=[ax,vδ]T
[0030] The aim of such a single-track model, as well as generally all models, is to use a given starting vector of the States and given time courses for the input variables (e.g. measured values or other values), the future To model trajectories of the states as accurately as possible.
[0031] The single-track model can be a physical vehicle dynamics model with several differential equations (i.e. a set of Differential equations), especially ordinary differential equations, or it can be represented with them For the single-track model, these can be, for example, the following differential equations: dxdt=|vcos(ψ+β)vsin( &psgr; + β) &ohgr; r+lf)(Cf(glr-axh))δ)(-µmvlz(lr+lf)(lf2Cf(glr-axh)+lr2Cr(glf+axh))&ohgr;+µmlz(lr+lf)(lrCr(glf+axh)-lfCf(glr-axh))β +µml z(lr+lf)lfCf(glr-axh)δ),|
[0032] Here, dx / dt on the left side gives the time derivative of the start vector of the states or the state vector x, and thus the time derivatives of the mentioned state variables. With the seven rows on the right-hand side This results in seven differential equations.
[0033] This model includes several different parameters such as a friction coefficient µ against the Roadway, front l and rear distance l of the respective vehicle axle to the center of gravity of the vehicle, front C fhf and rear C curve stiffness, height h of the center of gravity above the road surface, the gravitational constant g, the r Vehicle mass m, as well as the moment of inertia I around the vertical axis at the center of gravity. Some of these parameters can z - or should - optimize vehicle parameters, e.g. the vehicle mass m.
[0034] As a data-based driving dynamics model, the single-track model can be expressed relatively simply as follows: represent, here using the example of a neural network: dxdt=NN(Z{[(x,u)]T},θ,t)
[0035] Here, too, there are differential equations, so-called neural differential equations. Through the neural network NN In this case, all derivatives of the states are modeled. Here, too, x, u stand for the vectors as above described. θ denotes a weighting matrix of the neural network, and t stands for the time or the Time dependence. Z{⋅} denotes a Z-score transformation. Here, it can also be seen that the neural Network has nine inputs, namely the state variables and the actual input variables.
[0036] The proposed driving dynamics model is now a hybrid driving dynamics model with a physical model component and a data-based model component. The proposed The driving dynamics model is particularly a single-track model, or at least it is based on one. In particular, it is a kind of mixture of the two models mentioned above. The driving dynamics model has the physical part or model part a good extrapolation, through the data-based part or model part, e.g. through the neural network, it can be adapted to data. It is more accurate than a purely physical Driving dynamics model with improved extrapolation compared to the purely data-based driving dynamics model.
[0037] In one embodiment, the physical model part comprises differential equations for the following State variables: the position Δx in the first direction, the position Δy in the second direction, the yaw angle ψ, the steering angle δ, the vehicle speed v, and the yaw rate ω. The data-based The model part includes, for example, the following state variables: the steering angle δ, the speed v of the vehicle, the Sideslip angle β, and the yaw rate ω. The input variables acceleration a of the vehicle, especially in x Longitudinal direction, and steering angle speed v are in particular only from the data-based &dgr; ten model component. They then do not appear in the differential equations of the physical model component.
[0038] The differential equations of the physical model part as well as the data-based model part can then be in particular as follows: dxdt=|vcos(ψ+β)vsin(ψ+β)ωvδNN(Z{[δ,v,β,ω,a x,vδ]T},θ,t)|
[0039] The first four lines in the vector of state variable derivatives, i.e. the first four differential equations, are here identical to the linear single-track model as a physical vehicle dynamics model. These relationships are based purely on Kinematics and do not contain any unknown physical effects or unknown parameters. The fifth to seventh State variables or their derivatives, however, are represented via the data-based model part, e.g. with modeled with so-called neural ordinary differential equations. They receive the input variables and, in some cases, State variables from the previous time step as input.
[0040] Fig. 3 shows schematically a sequence of a method according to the invention in a preferred embodiment For this purpose, in a step 300, input values of one or at least one of several input variables of the vehicle dynamics model. These can be measured values from sensors, for example. In a step 302, based on the input values, output values of one or at least one of several state variables of the The driving dynamics model includes, as mentioned, a physical model component and a data-based model portion. In a step 304, the output values are then used to operate the For example, the output values can be used in a step 306 of a driver assistance function 308 to be subject to regulation.
[0041] In Fig. 4 diagrams are shown for comparing different driving dynamics models. different state variables position x in the first direction, position y in the second direction, yaw angle ψ, Steering angle δ, vehicle speed v, sideslip angle β, and yaw rate ω time courses of the Values are shown, each over a time in seconds. The solid lines indicate reference values, The dashed lines show the values determined by the respective driving dynamics model. Fig. 4a shows the conventional physical single-track model, Fig. 4b the purely data-based vehicle dynamics model and Fig. 4c shows the proposed hybrid vehicle dynamics model.
[0042] It can be seen that the physical vehicle dynamics model in Fig. 4a shows poor accuracy, since, for example, the nonlinear tire-road contact is not taken into account. The purely data-based vehicle dynamics model in Fig. 4b shows training range (left of 70 seconds) a very high accuracy, but drifts in the extrapolation range (between 70 and 100 seconds) from the reference data. The hybrid vehicle dynamics model in Fig. 4c is somewhat less accurate in the training area, but shows a very accurate and stable extrapolation.
[0043] The physical model does not require any parameter estimation or training, as it is a so-called ´´first principles model´´ and shares the exact vehicle parameters with the reference model. Neural differential equations, on the other hand, can be used in the context of training with different sizes in the so-called hidden layer in order to optimal model complexity. The hidden layer can, for example, consist of five to 14 neurons in the neural differential equation model (ODE model) and from five to 12 neurons in the general differential equation model (UDE model). Due to the smaller size of the input and output layers, the UDE model has Generally, fewer weights are used in the network weight matrix compared to the neural ODE model. The neural ODE model and UDE model can be trained sequentially on sets (here 0 < t < 70s) of the reference data A sum of the squared error cost function can be applied over all states. This In this example, the cost function works with the mentioned Z-score transform to assign each state (state variable) to give the same weight.
[0044] To train the data-based model part or the neural differential equations, the data always be scaled before they enter a neural network (this can be done via the Z-score transformation) already.
[0045] The data in the example shown in Fig. 4 follow a sinusoidal curve (this is due to the relationships in the differential equations in particular also in general); this is very good for the positions x, y, but also the yaw rate In a conventional training, an optimizer for the weights of the neural network would training data are presented at once. However, due to the sinusoidal shape, the optimizer then quickly converges into a local optimum by providing an approximately straight horizontal line in the images. Due to the sinusoidal shape This is understandable. A horizontal curve contains positive and negative errors, which are then summed.
[0046] To avoid this and to obtain the results shown here, the so-called multiple-shooting method The training data (here between 0 and 70 seconds) is divided into equal parts. The optimizer therefore only sees a short section, e.g. half a sine wave, which he can fit well. Partial optimizations can be coupled by constraints at the boundaries so that no jumps are allowed.
Claims
1. A method for operating a vehicle (100) using a vehicle dynamics model (120), comprising: Providing (300) input values (E1, E2) of one or at least one of several input variables of the Driving dynamics model (120); Determining (302), based on the input values (E1, E2), output values (A1) of one or at least one of several state variables of the vehicle dynamics model (120), wherein the vehicle dynamics model (120) comprises a physical model portion (122) and a data-based model portion (124) includes, and Providing (304) the output values (A1) for use in operating the vehicle (100).
2. The method according to claim 1, wherein the one or more state variables comprise one or more of the following State variables include: - a position (Δx) in a first direction, - a position (Δy) in a second direction, which is in particular perpendicular to the first direction, - a yaw angle (ψ), - a steering angle (δ), - a speed (v) of the vehicle, - a sideslip angle (β), and - a yaw rate (ω).
3. The method according to claim 2, wherein the physical model part comprises one or more differential equations for one or includes several of the following state variables: - the position (Δx) in the first direction, - the position (Δy) in the second direction, - the yaw angle (ψ), - the steering angle (δ), - the speed (v) of the vehicle, and - the yaw rate (ω).
4. The method according to claim 2 or 3, wherein the data-based model portion comprises one or more of the following State variables include: - the steering angle (δ), - the speed (v) of the vehicle, - the sideslip angle (β), and - the yaw rate (ω).
5. Method according to one of the preceding claims, wherein the one or more input variables are one or include several of the following sizes: - an acceleration (a ) of the vehicle, in particular in the longitudinal direction, and x - a steering angle speed (v ). &dgr; 6. The method according to claim 5, wherein the one or more input variables are only determined by the data-based model part are included.
7. Method according to one of the preceding claims, wherein the vehicle dynamics model is based on a single-track model.
8. Method according to one of the preceding claims, wherein the data-based model portion is based on one or more artificial neural networks and / or one or more Gaussian processes.
9. Method according to one of the preceding claims, wherein the one or at least one of the several output variables is used for controlling a driver assistance function (308), wherein the driver assistance function preferably comprises a Lane keeping assistance function, an evasive action assistance function, or a driver assistance function as part of a automated or autonomous driving of the vehicle.
10. A computing unit (110) which is designed to carry out all method steps of a method according to one of the preceding to carry out claims.
11. Computer program which causes a computing unit to carry out all the process steps of a process according to one of the Claims 1 to 9 when executed on the computing unit.
12. A machine-readable storage medium having stored thereon a computer program according to claim 11.
