A vehicle collision waveform prediction method based on data drive, electronic device and readable storage medium
By constructing a collision waveform database and a multi-layer perceptron model, the characteristic values of the vehicle collision waveform are extracted and predicted, which solves the problems of low vehicle collision waveform prediction accuracy and sample imbalance in the existing technology, and achieves high-precision occupant injury prediction and Support for autonomous driving path planning.
Patent Information
- Application Number
- CN202210736800.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-06-27
AI Technical Summary
Existing technology is difficult to predict vehicle collision waveforms from different scenarios with high accuracy, resulting in low accuracy of occupant injury prediction, and the problem of sample imbalance is difficult to solve.
By constructing a collision waveform database, using finite element models and machine learning models, the characteristic values of the vehicle collision waveform are extracted, a multi-layer perceptron model is established, and the characteristic values of the acceleration and rotational displacement curves are predicted, thereby reconstructing the collision waveform.
It achieves high-precision vehicle collision waveform prediction quickly and at low cost with a small sample size, avoids the problem of sample imbalance, improves the accuracy of occupant injury prediction, and provides reliable data for autonomous driving path planning and pre-collision systems. enter.
Smart Images

Figure CN115099096B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle collision, and in particular to a vehicle collision waveform prediction method based on data driving. Background Art
[0002] Autonomous driving path planning, especially path planning in dangerous scenarios, needs to consider the injuries to the occupants if a collision occurs in real-time scenarios. In other words, occupant injuries need to be predicted. At the same time, the triggering of the pre-collision system is based on the collision risk and personal injury risk. When the collision risk and personal injury risk are both very high, the highest level of pre-collision system is triggered to achieve early protection of occupant safety. At present, there are two main types of occupant injury prediction algorithms. The first is based on real traffic accident data and uses machine learning algorithms such as regression, support vector machine, and random forest. The collision scene parameters (relative speed, overlap rate, collision angle, collision target mass) and the occupant's characteristic parameters (gender, age, size, riding posture, etc.) are used as input, and the personnel injury level is used as output. This method has the problem that data is difficult to collect, and the collected data is difficult to obtain detailed data of different dimensions. For example, the speed of the vehicle can only be estimated by reconstruction after the accident, which is a large workload and the progress is not high. At the same time, most of the traffic accident data are accidents with low occupant injury levels, and there is a sample imbalance problem. The second is to first predict the waveform of the vehicle after the collision (the time history curve of the vehicle deceleration during the collision) as input, and use a deep learning algorithm to predict the dynamic response of the occupant during the entire collision process, and obtain the occupant's injury level from the dynamic response curve. This method has higher prediction accuracy than the former, stronger model generalization ability, and avoids the sample imbalance problem.
[0003] How to obtain the collision waveform of the vehicle from the scenario parameters is a difficult problem that must be solved. The traditional method is to use a lumped parameter model (LPM) to equate the body stiffness to a simple number or multiple spring-damper models to predict the waveform. However, due to different force transmission directions and different body stiffness in different scenarios, the same LPM model cannot be used. At the same time, the LPM model has low accuracy, so it is only suitable for auxiliary development of a single standard working condition.
[0004] In summary, we need to find a method to realize the prediction method from collision scene parameters (several scalars) to collision waveform (vector) to obtain a high-precision collision waveform as input for personnel injury prediction, and then evaluate the injury risk of occupants under the path planned by autonomous driving. It can also serve as a trigger condition for the pre-collision system. Summary of the invention
[0005] In view of the above technical difficulties, the purpose of the present invention is to provide a data-driven vehicle collision waveform prediction method, computer equipment and readable storage medium, so as to quickly obtain the collision waveform of the vehicle in different scenarios with a smaller sample set, thereby reducing costs and ensuring the accuracy of the prediction.
[0006] The present invention is achieved through the following technical solutions:
[0007] On the one hand, the present invention proposes a vehicle collision waveform prediction method based on data drive, which mainly includes:
[0008] S1 builds a collision waveform database:
[0009] According to the collision scene parameters and its boundaries, a finite element model of the whole vehicle is built, and a collision waveform database is constructed with one-to-one correspondence between the scene parameters and the actual collision waveform.
[0010] Furthermore, the construction of the database includes establishing a high-precision vehicle collision finite element model, analyzing the traffic accident database, determining the boundaries of the scene parameters, randomly sampling the scene parameters and their boundaries, generating a simulation matrix table, updating the finite element model according to the matrix table, performing simulation calculations, and obtaining the real collision waveform of the vehicle. The real collision waveform refers to the real acceleration curves in the X, Y, and Z directions in the vehicle coordinate system and the real rotation displacement curves rotating around the X, Y, and Z axes. When all simulations in the matrix table are completed, a collision waveform database with one-to-one correspondence between the scene parameters and the real collision waveform is formed.
[0011] The finite element model includes high-precision models of the ego vehicle and the target object, the ego vehicle refers to a vehicle that needs to perform waveform prediction, and the target object refers to a target object that collides with the ego vehicle.
[0012] The scenario parameters include collision speed, collision angle, overlap rate and target type. The collision angle refers to the difference in heading angle between the ego vehicle and the target vehicle at the collision time 0; the collision speed refers to the speed difference between the ego vehicle and the target vehicle; the overlap rate refers to the percentage of the overlap length between the ego vehicle and the front vehicle at the collision time 0 to the width of the ego vehicle; and the target type refers to the classification of the target vehicle.
[0013] In this step, through in-depth analysis of traffic accident data, the scene parameters are discretized based on the principle of significant impact on occupant injuries.
[0014] The random sampling refers to random sampling in the same space composed of all scene parameters to generate a matrix table with a sample size of N.
[0015] S2 obtains the characteristic value of the waveform: extracts the characteristic value of the real acceleration curve and the real rotation displacement curve of each sample respectively, and obtains the characteristic value F1 of the real acceleration curve trueand the characteristic value F2 of the true rotation displacement curve true .
[0016] Furthermore, S2 obtains the characteristic values of the waveform including:
[0017] (1) Extraction of characteristic values of the real acceleration curves in the X, Y, and Z directions:
[0018] Since the acceleration curve has many small peaks / troughs, according to Fourier theory, any waveform can be obtained by superposition of multiple sine waves, and these multiple sine waves are unique. In order to better fit the trend of the acceleration curve, the Fourier equivalent method is used. The traditional method equates the waveform to a square wave / trapezoidal wave / half-sine wave. The square wave / trapezoidal wave will lose all the key information such as the peaks / troughs of the original waveform. The half-sine wave has only one peak and cannot reflect the changing trend of the waveform in the time course. The Fourier equivalent method can retain the main characteristics of the original waveform.
[0019] Specifically, the original waveform is approximately replaced by the superposition of n-order sine waves.
[0020]
[0021]
[0022]
[0023] in:
[0024] a(t) is the approximate acceleration curve, A(t) is the true acceleration curve in the X, Y, and Z directions; k is the total number of discrete points contained in A(t); a i is the eigenvalue to be solved; t k is the effective duration of the collision (the time corresponding to the acceleration curve returning to zero after time 0); t j is the time corresponding to the jth point of A(t); ω is the natural angular frequency of the vehicle; m j is the slope of the straight line between the j-1th and jth points in A(t).
[0025] Using the above method, the characteristic values of the real acceleration curves in the X, Y, and Z directions can be solved respectively, and are denoted as a x1 ,a x2 ,...,a xn 、a y1 ,a y2 ,...,a yn and a z1 ,a z2 ,...,a zn For the convenience of description, we will use the vector [a x1 ,ax2 ,...,a xn ,a y1 ,a y2 ,...,a yn ,a z1 ,a z2 ,...,a zn ] is recorded as F1 true .
[0026] (2) Feature value extraction of rotation displacement curve around X, Y, and Z axes:
[0027] During the collision, the rotation displacement curve is either monotonically increasing or has only a single peak. There is no similar acceleration waveform with many peaks. This is because the effective collision time is usually very short (about 150ms). In such a short time, the vehicle usually moves in one direction around a certain axis. Therefore, for the rotation displacement curve, directly taking the points on the original curve can well represent the original curve. Taking the real rotation displacement curve around the X-axis as an example, take n points to represent the original curve. The first point and the last point are taken from the original curve t0 and t k The rotation displacement value corresponding to the moment, the remaining n-2 points are the corresponding points on the original curve with equal time intervals, and the eigenvalue is r x1 ,r x2 ,...,r xn Similarly, the eigenvalues r in the Y and Z directions can be obtained respectively y1 ,r y2 ,...,r yn and r z1 ,r z2 ,...,r zn , the vector formed by these eigenvalues [r x1 ,r x2 ,...,r xn ,r y1 ,r y2 ,...,r yn ,r z1 ,r z2 ,...,r zn ] is recorded as F2 true .
[0028] S3 builds machine learning models:
[0029] The machine learning model includes prediction model 1 and prediction model 2. The input (features) of the training samples of prediction model 1 and prediction model 2 are both scene parameters, and the output (label) is F1 true and F2 true ; Train model 1 and model 2 until the prediction accuracy requirements are met. Model 1 is used to predict the characteristic value F1 of the acceleration in the X, Y, and Z directions pre。The model 2 is used to predict the eigenvalue F2 of the rotation displacement curves around X, Y, and Z pre 。
[0030] To ensure that the model can better understand the data, before inputting the features into the model training, data preprocessing is performed on the eigenvalues.
[0031] Furthermore, both of the two prediction models adopt a multi-layer perceptron (MLP). The activation function of the input of the hidden layer adopts the Relu function. The structure of the MLP (number of layers, number of neurons in each layer) belongs to hyperparameters and can be optimized.
[0032] To solve the overfitting problem caused by small samples, the dropout method is used to set a part of the elements in the output of the hidden layer to 0 with a probability of p, while ensuring that the variance of the output of the hidden layer remains unchanged after the action of dropout, where
[0033] x is a one-dimensional vector composed of input samples, xi is the i-th value of x, p is the dropout probability, and 0 < p < 1. It is a hyperparameter, and the value of p is optimized according to whether the model overfits on the validation set.
[0034] Backpropagation uses the mini-batch gradient descent method (SGD) to update the weights W1, W2, W3 and biases b1, b2, b3.
[0035] The database is randomly divided into two parts. One part is used for training, and the rest is used for validation. After adjusting the parameters, if the validation accuracy does not meet the requirements, return to step S1, randomly add sample points again to increase the sample size N, and retrain until the accuracy meets the requirements.
[0036] S4 Waveform prediction:
[0037] After the model accuracy meets the requirements, in actual application, the scenario parameters are respectively input to model 1 and model 2 to obtain the predicted eigenvalues F1 of the acceleration curves in the X, Y, and Z directions pre and the predicted eigenvalues F2 of the rotation displacement curves around X, Y, and Z pre , and from F1 pre and F2 pre respectively reconstruct the predicted acceleration curves in the X, Y, and Z directions and the predicted rotation displacement curves around X, Y, and Z, which can be used to predict personnel injuries.
[0038] Specifically, according to model 1, the eigenvalue F1 is obtained pre , F1 pre The first n eigenvalues are the eigenvalues of the acceleration in the X direction, according to:
[0039]
[0040] The acceleration waveform is obtained. Further, the acceleration waveform is double integrated:
[0041] d translation (t) = ∫∫a(t)dt
[0042] The predicted displacement curve in the X direction is obtained.
[0043] Similarly, the displacement curves in the Y and Z directions can be obtained.
[0044] Here, the acceleration curve is converted into a displacement curve in order to unify the rotation displacement curve into a displacement curve so as to better serve as an input for personnel injury prediction.
[0045] According to model 2, the eigenvalue F2 is obtained pre , the first n eigenvalues constitute the ordinate of the rotation displacement curve around the X-axis.
[0046] Similarly, the rotation displacement curves in the Y and Z directions can be obtained.
[0047] After obtaining the displacement curves in the X, Y, and Z directions and the rotational displacement curves around X, Y, and Z, personnel injuries can be predicted.
[0048] At this point, the prediction of the collision waveform is completed.
[0049] Another aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned data-driven vehicle collision waveform prediction method when executing the computer program.
[0050] In another aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions for executing the above-mentioned data-driven vehicle collision waveform prediction method.
[0051] The beneficial effects of the present invention are as follows:
[0052] The present invention uses a method for extracting waveform eigenvalues, a small sample size and a multi-layer perceptron model to achieve the eigenvalues of the predicted waveform from the scene parameters, and reconstructs the waveform from the eigenvalues of the waveform, achieving good results. The present invention avoids the problem of directly predicting the value of the waveform at each moment from the scene parameters, that there are too many values to be predicted directly, that the sample size requirement is huge, and that there is no good algorithm to implement.
[0053] The present invention manually extracts the characteristics of the waveform, and only needs to predict n characteristic values in one direction. Generally speaking, n is 2-5, which can achieve good results and realize the prediction of the final waveform. The waveform prediction results obtained by the present invention can be used as input for subsequent occupant injury prediction, and ultimately provide input for path planning and triggering of the pre-collision system in dangerous scenarios of autonomous driving conditions, with low cost, high accuracy and high engineering feasibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 Collision waveform prediction flow chart;
[0055] Figure 2 Flowchart for obtaining waveform characteristic values;
[0056] Figure 3 Schematic diagram of collision angle;
[0057] Figure 4 Schematic diagram of overlap ratio;
[0058] Figure 5 Calculate m j Schematic diagram
[0059] Figure 6 Schematic diagram of a multi-layer perceptron;
[0060] Figure 7 Schematic diagram of the effect of extracting the X-axis acceleration eigenvalue;
[0061] Figure 8 Schematic diagram of the eigenvalue extraction effect of the rotation displacement curve around X. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is described in detail below in conjunction with the accompanying drawings and embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0063] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0064] In one embodiment of the present invention, the main steps of collision waveform prediction are given, see Figure 1 Collision waveform prediction flow chart, the prediction process is mainly completed by 4 steps, including: S1 build collision waveform database: according to the collision scene parameters and its boundaries, the collision waveform database is established by using the finite element method; S2 obtains the characteristic value of the waveform: extracts the characteristic value of the waveform of each simulation sample in the collision waveform database, including the real acceleration curve in the X, Y, and Z directions and the real rotation displacement curve around the X, Y, and Z axes; S3 builds a machine learning model: prediction model 1 for predicting the characteristic value of the acceleration curve and prediction model 2 for predicting the characteristic value of the rotation displacement curve; S4 waveform prediction: input the specific parameters of the scene into prediction model 1 and prediction model 2 respectively, and obtain the characteristic values of the acceleration curve in the X, Y, and Z directions and the characteristic values of the rotation displacement curve around the X, Y, and Z axes, and then obtain the predicted acceleration curves in the X, Y, and Z directions and the predicted rotation displacement curves around the X, Y, and Z axes.
[0065] The following is a detailed description of each of the above steps:
[0066] The S1 is to construct a collision waveform database sample.
[0067] Mainly, the simulation data set is established using the finite element method based on the collision scene parameters and its boundaries.
[0068] In this step, the scene parameters that affect the collision waveform and the boundaries of these parameters are first determined. The scene parameters can be determined by analyzing the traffic accident database. A specific embodiment is to use the traffic accident database, the scene parameters as independent variables (input features), the occupant injury results as response variables (labels), train a random forest model, and determine the selected scene parameters based on the importance of the input features. A specific embodiment is that the collision speed, overlap rate, collision angle and target type are used as parameters of the collision scene.
[0069] The scene parameter boundaries are determined, and the scene parameters are discretized based on the principle of significant impact on occupant injuries. For example, the collision speed can be discretized into discrete points with an interval of 2 km / h, and the collision angle can be discretized into discrete points with an interval of 5°, which can reduce the cost of finite element calculation in S1.
[0070] A specific example is:
[0071] Collision speed: interval range [10km / h, 120km / h], sampling interval 2km / h.
[0072] Collision angle: Frontal collision angle range: [0°, 30°], [330°, 0°] (0° for the front direction, clockwise direction is positive), side collision: (30°, 150°), (210°, 330°), rear collision: [150°, 180°], [180°, 210°], sampling interval: 5°, see Figure 3 .
[0073] Front overlap rate: 25% on the left and right, 50% on the left and right, 100%. The side overlap rate is the extension of the width boundary line of the target vehicle. If it covers the B-pillar dividing line of the vehicle, it is defined as the middle part. If it does not cover the B-pillar dividing line and is biased towards the front of the vehicle, it is defined as the front part. Otherwise, it is defined as the rear part. The rear overlap rate is defined in the same way as the front overlap rate. Figure 4 shown.
[0074] Target type: divided into sedans, SUVs, small trucks, large trucks, buses, and pillars.
[0075] Here, the random sampling refers to random sampling in the same space composed of all scene parameters to generate a matrix table with a sample size of N.
[0076] In this step, the finite element method is to establish a high-precision finite element model of the vehicle and the target object, update each sample parameter in the matrix table to the finite element model, perform simulation calculations, and extract the real acceleration curves in the X, Y, and Z directions of the lower end of the left B-pillar of the vehicle, as well as the real rotation displacement curves of the vehicle body (taking the front and rear points of the undeformed vehicle body) around the X, Y, and Z axes. After completing the simulation and extraction results of all samples in the matrix table and storing them, a collision waveform database is formed.
[0077] S2, obtains the characteristic value of the waveform, see Figure 2 :
[0078] It is mainly divided into two parts. One is to extract the characteristic values of the real acceleration curve in the X, Y and Z directions, and the other is to extract the characteristic values of the real rotation displacement curve around the X, Y and Z axes.
[0079] Extraction of the characteristic values of the real acceleration curve in the X, Y, and Z directions:
[0080] Taking the X direction as an example, the real acceleration curve A(t) is obtained from the finite element calculation results, and the adjacent points (t j-1 ,A t=j-1 ) and (t j ,A t=j )’s slope m j ,
[0081]
[0082] Calculate the effective duration of the collision t k ,
[0083] t k =t A(t)=0 ,
[0084] That is, the time when the acceleration curve returns to zero after time 0, which can be seen in Figure 5 .
[0085] By m j and t k Calculate the i-th eigenvalue a i ,
[0086]
[0087] Where k is the total number of discrete points contained in the original waveform curve, and the natural angular frequency is calculated
[0088] Finally, reconstruct the acceleration curve and convert a i Substituting ω into:
[0089]
[0090] The approximate collision waveform a(t) can be obtained, and the approximate displacement curve in the X direction can be obtained by double integration of a(t):
[0091] d translation (t)=∫∫a(t)dt.
[0092] The extraction of feature values in the Y and Z directions is similar to that in the X direction.
[0093] Extraction of characteristic values of true rotation displacement curve in X, Y and Z directions:
[0094] Taking the X direction as an example, D(t) is the true rotation displacement curve in the X direction, and its eigenvalue is directly taken from the points on the original curve. Take n points to represent the original curve, namely r1, r2, ..., r n , the first point r1 and the last point r n Take the original curves t0 and t k The vertical coordinate corresponding to the time, r2, r3, ...r n-1 Take the corresponding points on the original curve with equal time intervals, r1, r2, ..., r n The rotation displacement curve can be reconstructed by substituting these n points into the function f(), where f usually takes a univariate linear model.
[0095] The extraction of feature values in the Y and Z directions is similar to that in the X direction.
[0096] The S3 constructs a machine learning model.
[0097] The machine learning model consists of two models, which are respectively denoted as model 1 and model 2. Model 1 completes the characteristic value F1 of the acceleration curve in the X, Y, and Z directions. pre Model 2 completes the rotation displacement curve eigenvalue F2 around X, Y, and Z pre The input (features) of the training samples of prediction model 1 and prediction model 2 are both scene parameters, and the output (labels) are F1 true and F2 true .
[0098] Before inputting the features into the model training, the feature values are preprocessed. A specific example is to convert the collision angle into vector coordinates on the unit circle in the rectangular coordinate system. For example, 0°, 30°, and 90° correspond to the coordinates (0, 1), (0.87, 0.50), and (1, 0), respectively. The collision angle feature will become 2 features; the overlap rate and the type of the target are represented by one-hot encoding, and 16 and 6 features are obtained respectively; the collision speed is normalized and mapped to the interval [0, 1], 1 feature. So far, the input consists of 25 features.
[0099] The two prediction models both use a multi-layer perceptron (MLP), and the MLP is as follows: Figure 6 As shown, the composition is as follows:
[0100] It consists of 1 input layer (X), 2 hidden layers (H1, H2) and 1 output layer (O). X consists of g neurons (the dimension of the input feature), H1 consists of u neurons, H2 consists of v neurons, and O consists of m neurons (the number of feature values that need to be predicted).
[0101] The forward propagation calculation process is as follows:
[0102] H1=σ(W1*X+b1)
[0103] H′1=drop(H1)
[0104] H2=σ(W2*H′1+b2)
[0105] H′2=drop(H2)
[0106] O=W3*H′2+b3
[0107] Among them, X∈g×1,O∈m×1,W1∈u×n,W2∈v×u,W3∈m×v,b1∈n×1,b2∈v×1,b3∈m×1,σ represents the activation function, σ(x)=max(x,0), that is, ReLU function.
[0108] The drop method is used to set some elements in the hidden layer output to 0 with a probability of p, while ensuring that drop The variance of the output of the hidden layer remains unchanged after the operation, where
[0109] where x is a one-dimensional vector composed of input samples, and x i is the i-th value of x, p is the dropout probability, and 0 < p < 1. It is a hyperparameter, and the value of p is optimized according to whether the model is overfitting on the validation set.
[0110] Backpropagation uses mini-batch gradient descent (SGD) to update the weights W1, W2, W3 and biases b1, b2, b3, and the loss function uses the root mean square error method.
[0111] The database is divided into two parts, 80% is used for training and 20% is used for validation. After adjusting the parameters, if the validation accuracy (R 2 -adjusted) does not meet the requirement (≥ 85%), then go back to step S1, randomly add sample points again to increase the sample size N, and retrain until the accuracy meets the requirement.
[0112] The R 2 -adjusted is calculated as follows:
[0113]
[0114]
[0115] n is the number of samples, p is the number of input features, is the mean of y, is the predicted value, and y i is the i-th sample label value.
[0116] A specific example is (Model 1), g = 25, p = 0.05, u = 128, v = 64, m = 15, the number of samples N = 500, and R 2 -adjusted = 87.5%.
[0117] In step S4, predict the waveform.
[0118] After the model accuracy meets the requirement, the specific parameters of the scene can be input to Prediction Model 1 and Prediction Model 2 in real time for actual prediction.
[0119] A specific example is that when n = 5, Prediction Model 1 and Prediction Model 2 respectively obtain F1 pre and F2 pre .
[0120] F1 pre The first 5 eigenvalue values are the eigenvalue values of the acceleration in the X direction, according to:
[0121]
[0122] The predicted acceleration curve in the X direction is obtained. Further, the predicted acceleration curve in the X direction is integrated:
[0123] d translation (t) = ∫∫a(t)dt
[0124] The predicted displacement curve in the X direction is obtained, such as Figure 7 shown.
[0125] Similarly, the predicted displacement curves in the Y and Z directions can be obtained.
[0126] According to F2 pre The first five eigenvalues form the ordinate of the rotation displacement curve around the X axis. A specific example is to predict 150ms (t k =150ms), the horizontal coordinates are 0ms, 37.5ms, 75ms, 112.5ms, 150ms, and the corresponding vertical coordinates are r1, r2, r3, r4, r5. The horizontal and vertical coordinates correspond to each other to form five coordinate pairs (0, r1), (37.5, r2), (75, r3), (112.5, r4), (150, r5). The connection line of these five coordinate pairs constitutes the rotation displacement curve predicted by the X-axis, as shown in Figure 8 shown.
[0127] Similarly, the predicted rotational displacement curves of the Y and Z axes can be obtained.
[0128] After the above processing, after obtaining the X, Y, Z predicted displacement curves and the predicted rotation displacement curves around the X, Y, Z axes, they can be used as the input of the subsequent personnel injury prediction algorithm.
[0129] In another embodiment of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the data-driven vehicle collision waveform prediction method described in the above embodiment is implemented.
[0130] In yet another embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions for executing the data-driven vehicle collision waveform prediction method described in the above embodiment.
[0131] The waveform prediction results obtained by the present invention have a wide range of applications. Specific examples:
[0132] 1. In vehicle development, this method can be used to quickly obtain the changes in the corresponding collision waveform when the vehicle parameters change, so as to quickly iterate the vehicle development.
[0133] 2. The waveform is used as the input of the human injury prediction model to obtain the human injury risk before the collision. When the injury risk is high, the pre-collision safety system is triggered, such as adjusting the zero-gravity seat back angle to reduce the risk of lumbar injury.
[0134] 3. In dangerous scenarios of autonomous driving, the human injury risks of different planned paths can be obtained, and the path with the lowest injury risk can be selected.
[0135] It should be understood that the present application may use various forms of processes shown above, reorder, add or delete steps. For example, the steps recorded in the present application may be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present application can be achieved, and there is no limitation here.
[0136] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A data-driven vehicle collision waveform prediction method, It is characterized in that The method comprises: S1 builds a collision waveform database: According to the collision scene parameters and their boundaries, a finite element model of the whole vehicle is built, and a collision waveform database is constructed with one-to-one correspondence between the scene parameters and the real collision waveform. The real collision waveform refers to the real acceleration curves in the X, Y, and Z directions and the real rotation displacement curves around the X, Y, and Z axes obtained by finite element calculation in the whole vehicle coordinate system; S2 obtains the characteristic value of the waveform: The characteristic values of the real acceleration curve and the real rotation displacement curve are extracted respectively to obtain the characteristic value F1 of the real acceleration curve true and the characteristic value F2 of the true rotation displacement curve true , F1 true and F2 true is a one-dimensional vector; S3 builds machine learning models: The machine learning model includes prediction model 1 and prediction model 2. The inputs, i.e., features, of the training samples of prediction model 1 and prediction model 2 are both scene parameters, and the outputs, i.e., labels, are F1 and F2 respectively. true and F2 true ; Train Model 1 and Model 2 until the prediction accuracy requirements are met; S4 Waveform Prediction: Input the scene parameters to prediction model 1 and prediction model 2 in real time to obtain the predicted feature value F1 respectively pre and the predicted eigenvalue F2 pre , by F1 pre Reconstruct the predicted acceleration curves in the X, Y, and Z directions to obtain the predicted displacement curve; pre The predicted rotation displacement curves around the X, Y, and Z axes are reconstructed; the predicted displacement curve and the predicted rotation displacement curve constitute the predicted collision waveform.
2. The vehicle collision waveform prediction method based on data drive according to claim 1, It is characterized in that The S1 includes: establishing a finite element model of the whole vehicle collision, analyzing the traffic accident database, determining the boundaries of the scene parameters, randomly sampling according to the scene parameters and their boundaries, generating a simulation matrix table, updating the finite element model according to the matrix table, performing simulation calculations, obtaining the collision waveform of the vehicle, and constructing a collision waveform database with one-to-one correspondence between the scene parameters and the actual collision waveform.
3. The data-driven vehicle collision waveform prediction method according to claim 2, It is characterized in that The finite element model includes high-precision models of the ego vehicle and the target object, the ego vehicle is a vehicle that needs to perform waveform prediction, and the target object refers to a target object that collides with the ego vehicle.
4. The data-driven vehicle collision waveform prediction method according to claim 2, It is characterized in that The scene parameters are determined by using a traffic accident database, with the scene parameters as independent variables and the occupant injury results as response variables. The selected scene parameters are determined by training the model based on the importance of the input features.
5. The vehicle collision waveform prediction method based on data drive according to claim 4, It is characterized in that The scene parameters include collision speed, collision angle, overlap rate and target type; the overlap rate refers to the percentage of the overlap length between the self-vehicle and the target object at the collision time 0 to the width of the self-vehicle.
6. The vehicle collision waveform prediction method based on data drive according to claim 2, It is characterized in that The random sampling refers to random sampling in the same space composed of all scene parameters to generate a matrix table with a sample size of N.
7. The vehicle collision waveform prediction method based on data drive according to any one of claims 1 to 6, It is characterized in that In S2, the characteristic value extraction of the real acceleration curves in the X, Y and Z directions adopts the Fourier equivalent method.
8. The data-driven vehicle collision waveform prediction method according to claim 7, It is characterized in that The Fourier equivalent method is used to approximate the true acceleration curves in the X, Y, and Z directions. Specifically, the n-order Fourier equivalent method is used in each direction to solve the eigenvalues of the true acceleration curves in the X, Y, and Z directions respectively. Then each direction has n eigenvalues, a total of 3n eigenvalues, recorded as F1 true , the eigenvalues are calculated as follows: in: A(t) is the actual acceleration curve in the X, Y, and Z directions; k is the total number of discrete points contained in A(t); a i is the eigenvalue to be solved; t k is the effective duration of the collision, that is, the time when the acceleration curve returns to zero after time 0; t j is the time corresponding to the jth point of A(t); ω is the natural angular frequency of the vehicle; m j is the slope of the straight line between the j-1th and jth points in A(t).
9. The data-driven vehicle collision waveform prediction method according to any one of claims 1 to 6, It is characterized in that In S2, the eigenvalues of the rotation displacement curves around the X, Y, and Z axes are extracted by directly taking points on the true rotation displacement curves. There are n eigenvalues in each direction, a total of 3n eigenvalues, denoted as F2 true .
10. The data-driven vehicle collision waveform prediction method according to any one of claims 1 to 6, It is characterized in that In S3, the prediction model adopts a multi-layer perceptron (MLP), and the activation function of the input of the hidden layer adopts a Relu function.
11. The data-driven vehicle collision waveform prediction method according to claim 10, It is characterized in that In constructing the prediction model, S3 uses the drop method to set a part of the elements in the hidden layer output to 0 with a probability of p, while ensuring that the variance of the output of the hidden layer remains unchanged after the drop. x is a one-dimensional vector composed of input samples, x i is the i-th value of x, p is the dropout probability, 0 < p < 1, which is a hyperparameter, and the value of p is optimized according to whether the model is overfitting on the validation set.
12. The data-driven vehicle collision waveform prediction method according to claim 10, It is characterized in that In constructing the prediction model, S4 uses a small batch stochastic gradient descent (SGD) to update the weight W in the back propagation. 1 ,W 2 ,W 3 and b 1 ,b 2 ,b 3 .
13. The vehicle collision waveform prediction method based on data drive according to any one of claims 1 to 6, It is characterized in that The S4 specifically includes: Input the scene parameters into prediction model 1 and prediction model 2 respectively; obtain the prediction feature value F1 according to prediction model 1 pre , the predicted acceleration curve a(t) in the X direction: Get the acceleration waveform, and further integrate the acceleration waveform: d translation (t)=∫∫a(t)dt The predicted displacement curve in the X direction is obtained. Similarly, the predicted displacement curves in the Y and Z directions can be obtained. According to the prediction model 2, the characteristic value F2 is obtained pre , and further obtain the rotation displacement curve around X, Y, and Z.
14. The vehicle collision waveform prediction method based on data drive according to any one of claim 13, It is characterized in that The value of n can be selected according to the accuracy requirement. The larger n is, the higher the accuracy is, but the cost is that more samples are required. n is between 2 and 5.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the data-driven vehicle collision waveform prediction method according to any one of claims 1 to 14 is implemented.
16. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores the data-driven vehicle collision waveform prediction method according to any one of claims 1 to 14.
