Suspension model construction method of air spring and continuously adjustable shock absorber based on neural network

The dynamic model of air springs and adjustable damping shock absorbers is built through the neural network method, and small-batch stochastic gradient descent and Bayesian optimization are used to solve the problem of low accuracy of air spring and adjustable damping shock absorber models in the existing technology. problem, achieving higher accuracy and faster learning effects.

CN114819105BActive Publication Date: 2024-10-15JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210561303.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2024-10-15
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

The existing dynamic models of air springs and adjustable damping shock absorbers cannot meet the accuracy requirements when expressing nonlinear characteristics. In particular, there are modeling difficulties for controllable damping models and air spring dynamic stiffness effects.

Method used

The neural network method is used to build the air spring dynamic stiffness model and the continuously adjustable damper model. The model is optimized through small-batch stochastic gradient descent and early stopping, combined with Bayesian optimization to select hyperparameters, and design a multi-layer feedforward nested neural network structure. , improve the accuracy and learning efficiency of the model.

Benefits of technology

It achieves higher-precision air spring dynamic stiffness and continuously adjustable shock absorber models, shortens learning time, improves the accuracy and generalization ability of the model, and solves the problem of low accuracy of traditional mathematical models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114819105B_ABST
    Figure CN114819105B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network, and belongs to the field of automobile chassis suspension. Specific steps: conducting an air spring dynamic stiffness test on a test bench to obtain the dynamic stiffness characteristics of the air spring and conducting an external characteristic test of a continuously adjustable shock absorber to obtain the dynamic characteristics of a CDC shock absorber; building a multi-layer feedforward nested neural network; randomly initializing parameters; optimizing the model using methods such as a small batch random descent method and early stopping to select the optimal model; selecting hyperparameters using Bayesian optimization; learning experimental data to obtain an air spring dynamic stiffness model and a continuously adjustable shock absorber damping model; and verifying model accuracy. The air spring dynamic stiffness and continuously adjustable shock absorber models built based on the optimized neural network have higher accuracy, which solves the difficulty of creating complex physical models, makes the learning convergence of the neural network model faster, and has better effects. The air suspension can be controlled more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automobile chassis suspension, and belongs to a method for building an air spring and a continuously adjustable suspension model by using a neural network method, so as to more accurately realize the control of the air suspension. Background Art

[0002] With the rapid development of the automobile industry, people have higher requirements for the comfort of car driving. Automobile suspension is not only a structure connecting the chassis and body of the vehicle, but also plays an important role in reducing the vibration of the vehicle from the ground. Automobile suspension has an important impact on the smoothness and handling stability of the vehicle. The improvement of these two characteristics often has contradictory requirements for suspension, which further increases the difficulty of suspension design. In order to alleviate the contradiction, controllable or adjustable suspension technology has been developed, among which adjustable stiffness air springs and adjustable damping shock absorbers have been applied to mid-to-high-end passenger car suspension products.

[0003] At present, the development of air springs and adjustable damping shock absorbers is still a technical problem. The first thing to solve is to establish a dynamic model of the suspension equipped with air springs and adjustable damping: the static stiffness of the air spring comes from the compression of the gas, which has strong nonlinearity. The damping effect caused by the internal friction of the structure and the viscoelastic properties of the rubber material makes the spring's dynamic and static stiffness very different, further increasing the difficulty of spring stiffness modeling. The adjustable damping shock absorber has a real-time controllable damping characteristic under electromechanical regulation. How this damping characteristic changes with the adjustment amount (hydraulic valve opening, liquid viscosity, etc.) and the hysteresis effect of the damping force in the reciprocating process are all difficult problems to be solved in the establishment of the damping characteristic model.

[0004] The existing stiffness and damping dynamic models based on physical mechanisms such as structural mechanics and fluid mechanics are difficult to meet the accuracy requirements when expressing these nonlinear characteristics, especially for the inverse model of the controllable damping model and the dynamic stiffness effect of the air spring, which have encountered bottlenecks in technical development. Therefore, it is necessary to seek new modeling methods.

[0005] Neural network is a new mathematical modeling method, which is inspired by the bioelectric physical mechanism of nerve conduction and information processing in organisms. It can better express complex nonlinear dynamic problems and has self-learning ability. The establishment of the model and the optimization of parameters require a learning and training process. Multiple rounds of learning iterations can continuously improve the approximation accuracy of the model. This application introduces neural network modeling technology into the dynamic model of air springs and adjustable damping shock absorbers, and designs the network structure and model parameter optimization method in combination with the dynamic characteristics of air suspension, which is described in detail as follows. Summary of the invention

[0006] The purpose of the present invention is to use a neural network method to build an air spring dynamic stiffness model and a continuously adjustable shock absorber model. According to the external characteristics of the shock absorber and the dynamic stiffness data of the air spring obtained in the bench test, the continuous adjustable shock absorber model and the air spring dynamic stiffness model can be built more accurately according to the data.

[0007] The model is optimized using methods such as small batch stochastic gradient descent and early stopping, and the convergence speed of model training is increased. Xavier is used to initialize parameters.

[0008] Bayesian optimization is used to select hyperparameters. While obtaining the optimal model, the learning time is greatly reduced.

[0009] Choosing to use neural networks to build suspension models can change the disadvantage of low accuracy of traditional mathematical models. The CDC shock absorber model and air spring dynamic stiffness model built with neural networks have the advantages of high accuracy and ease of use.

[0010] The present invention provides a method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network, comprising the following steps:

[0011] Step 1 includes: 1.1 performing an air spring dynamic stiffness test on a test bench to obtain the dynamic stiffness characteristics of the air spring; 1.2 performing an external characteristic test of a continuously adjustable shock absorber on a test bench to obtain the dynamic characteristics of a CDC shock absorber;

[0012] Step 2 includes, 2.1 data preprocessing: 2.1.1 using stratified sampling, the air suspension damping characteristic data is divided into a full training set and a test set, with a distribution ratio of 10:2; 2.1.2 re-sorting the full training set, which can more generally learn the relationship between various different data; 2.1.3 re-using stratified sampling to divide the full training set into a training set and a validation set, with a distribution ratio of 10:2;

[0013] The data in the training set is used as the input of the neural network, the data in the validation set is used to test the accuracy of the model and optimize the model in iterations; the data in the test set is used to test the generalization characteristics of the model;

[0014] 2.2 Design the neural network structure: Build a multi-layer feedforward nested neural network for learning the air spring dynamic model, a single neuron. In this model, the neuron receives input signals from n other neurons. These signals are transmitted through weighted connections. The total input value received by the neuron will be compared with the threshold of the neuron, and then the output of the neuron generated by the "activation function" will be processed;

[0015] Step 3: Randomly initialize the parameters. The distribution range of the parameters is determined based on the number of inputs and outputs of each layer.

[0016] Step 4, using mini-batch stochastic descent to optimize and stop early to select the best model, including: 4.1 the optimization method is mini-batch stochastic gradient descent "MBGD", 4.2 using the early stopping method to obtain the best model;

[0017] Step 5: Use Bayesian optimization to select hyperparameters: learning rate, number of neurons in each hidden layer. The Bayesian optimization method is divided into four parts: objective function, domain space, optimization process, and result display.

[0018] Step 6, learning experimental data: for the air spring dynamic stiffness model, the input of the neural network is the spring relative displacement Dt and the vibration frequency f, and the output is the air spring force Ft; for the CDC shock absorber damping model, the input of the neural network is the relative displacement Dc, the relative velocity Vc and the input current I, and the output is the damping force Fc; import the measured data file, start iterative learning, and finally save the optimal model learned;

[0019] Step 7, model accuracy verification: The predicted results were compared with the validation set, and a model accuracy of 96.8% was obtained, which is more accurate than the traditional modeling method.

[0020] The technical effects of the present invention are as follows:

[0021] The dynamic stiffness of the air spring and the continuously adjustable shock absorber models built based on the optimized neural network are more accurate, which not only solves the difficulties in creating complex physical models, but also makes the learning and convergence of the neural network model faster and the effect is better. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 Diagram of the structure of a single neuron;

[0023] Figure 2 ReLU activation function;

[0024] Figure 3 Sigmoid activation function;

[0025] Figure 4 Neural network model structure diagram;

[0026] Figure 5a Schematic diagram of the air spring dynamic stiffness model;

[0027] Figure 5b Schematic diagram of the CDC shock absorber damping model;

[0028] Figure 6 Model building flow chart;

[0029] Figure 7Comparison chart of FV prediction of shock absorber damping model;

[0030] Figure 8 Comparison of FD predictions for shock absorber damping models. DETAILED DESCRIPTION

[0031] 1) Air spring dynamic stiffness test. Continuously adjustable shock absorber external characteristics test.

[0032] 1.1 Air spring dynamic stiffness test:

[0033] The air suspension airbag is filled with gas to reach 0.5Mpa. The bottom of the air spring is connected to the vibration table through a tension pressure transmitter, and the vibration table vibrates sinusoidally with different frequencies f (0.5Hz~20Hz) and different amplitudes. The dynamic load of the air spring is measured by the tension pressure transmitter, and the relative displacement of the air spring is measured by the displacement transmitter. The relationship between the spring force Ft of the air spring and the frequency f and the relative displacement Dt is obtained.

[0034] 1.2 Continuously adjustable shock absorber external characteristics experiment:

[0035] The input current of the continuously adjustable shock absorber is divided into 10 equal parts, with a value range of 0A to 1A. Under each input current, the actuator inputs three sinusoidal inputs with different frequencies and an amplitude of 50mm. Each sinusoidal input is cycled four times. Different levels of random input can also be input, and then the damping external characteristics of the air suspension are obtained. That is, the data relationship between the current I, relative velocity Vc, relative displacement Dc and the shock absorber damping force Fc is obtained.

[0036] 2) Build a multi-layer feedforward nested neural network to learn the dynamic model of the air spring:

[0037] Single neuron reference Figure 1 : In this model, a neuron receives input signals from n other neurons, which are transmitted through weighted connections. The total input value received by the neuron will be compared with the threshold of the neuron, and then the output of the neuron will be generated by the "activation function".

[0038] 2.1 Data Preprocessing

[0039] 2.1.1 Using stratified sampling, the air suspension damping characteristic data is divided into a full training set and a test set. The allocation ratio is 10:2.

[0040] 2.1.2 Reordering the entire training set can help learn the relationship between various different data more generally.

[0041] 2.1.3 Reuse stratified sampling to divide the entire training set into a training set and a validation set. The allocation ratio is 10:2. The data in the training set is used as the input of the neural network, and the data in the validation set is used to test the accuracy of the model and optimize the model in iterations. The data in the test set is used to test the generalization characteristics of the model.

[0042] 2.2 Designing the Neural Network Structure

[0043] 2.2.1 Select the activation function as ReLU as the output layer function. Figure 2 :

[0044]

[0045] The ReLU function is continuous, but not differentiable at z=0 (sudden changes in slope can cause gradient descent to bounce). However, it works well in practice and is fast to compute. Most importantly, since it has no maximum output value, it helps eliminate some problems with gradient descent.

[0046] Select the sigmoid function as the hidden layer function. Figure 3 :

[0047]

[0048] 2.2.2 The sigmoid function is a continuous differentiable function, and its basic output is only 0 and 1, which can greatly reduce the convergence time and speed up the learning speed.

[0049] 2.2.3 Call the scaling function. Normalize the data of the training set and the test set. After processing, limit the data to a certain range. For example, it is usually limited to the interval [0,1] or [-1,1], etc. In order to prevent the occurrence of singular sample data, singular sample data refers to sample vectors that are particularly large or small relative to other input samples. The existence of singular sample data will increase the training time and may cause non-convergence. Therefore, in the case of singular sample data, it is best to normalize before training.

[0050]

[0051] F' is the normalized data.

[0052] F text is the data before normalization.

[0053] F max is the maximum value among all input data.

[0054] F min is the maximum value among all input data.

[0055] The physical quantities of the air suspension: current I, relative velocity V and relative displacement D are selected as the input of the neural network, and the air suspension damping force F is selected as the output of the neural network.

[0056] 2.2.4 Set up the structure of the neural network. Set up an input layer. Then set up four hidden layers. Then set up a combination layer to combine the third hidden layer and the fourth hidden layer and input them to the output layer.

[0057] 2.2.5 Select "MSE" as the loss function. The loss function is also called the cost function. It is the objective function of neural network optimization. The process of neural network training or optimization is the process of minimizing the loss function (the smaller the loss function value, the closer the corresponding predicted result is to the actual result value.

[0058] Cost function:

[0059]

[0060]

[0061] w is the weight coefficient.

[0062] b is the bias coefficient.

[0063] η is the learning rate.

[0064] n is the number of neurons.

[0065] 3) Randomly initialize parameters.

[0066] In order to ensure that the variance of each layer is consistent during forward propagation and backward propagation, the variance of the activation function of each layer remains unchanged during forward propagation, and the variance of the gradient value of each layer remains unchanged during backward propagation. The distribution range of the random initialization of parameters is determined according to the number of inputs and outputs of each layer, which is a uniform distribution within the distribution range obtained by the number of input and output parameters of the layer.

[0067] Choice of initial value of learning rate:

[0068]

[0069] n in is the number of input neurons.

[0070] n out is the number of output neurons.

[0071] 4) Use mini-batch random descent for optimization and early stopping to select the best model.

[0072] 4.1 The optimization method is mini-batch stochastic gradient descent “MBGD”.

[0073] In machine learning algorithms, it is sometimes necessary to construct a loss function for the original model, and then optimize the loss function through an optimization algorithm in order to find the optimal parameters and minimize the value of the loss function. Among the optimization algorithms for solving machine learning parameters, the most commonly used one is the optimization algorithm based on gradient descent (GD).

[0074] Gradient descent method.

[0075] Gradient descent rule

[0076]

[0077] w k is the weight coefficient of the kth neuron before iteration.

[0078] w' k is the weight coefficient of the kth neuron after iteration.

[0079] b l is the bias coefficient of the first layer of neurons before iteration.

[0080] b' l is the bias coefficient of the first layer of neurons after iteration.

[0081] In practice, to compute the gradient We need to calculate the gradient value separately for each training input x

[0082] Then calculate the average.

[0083]

[0084] The mini-batch stochastic gradient descent algorithm can accelerate learning. The idea is to calculate the gradient descent by randomly selecting a small number of training input samples. Then estimate the gradient It is a compromise between batch gradient descent and stochastic gradient descent. The idea is to use a fixed number of samples to update the parameters in each iteration.

[0085]

[0086] m is the number of samples of small input

[0087] Mini-batch stochastic gradient descent works by randomly selecting and training mini-batches of input data:

[0088]

[0089]

[0090] The two summation symbols are performed on all training samples Xj in the current mini-batch data. Then another randomly selected mini-batch data is selected for training. Until we have completed all the training inputs, this completes a training iteration. Then a new iteration cycle begins.

[0091] Advantages: It can avoid falling into the local optimum and converge to the global optimum more quickly. It can also be parallelized.

[0092] 4.2 Use early stopping method to obtain the optimal model.

[0093] During the training process, many decisions need to be made about the settings (hyperparameters) used in order to obtain a well-performing neural network. One of the hyperparameters is the number of training epochs: that is, the number of times the dataset should be completely traversed (one epoch at a time). If the number of epochs is too small, the network may underfit (i.e., it does not learn enough about the training data); if the number of epochs is too large, it may overfit (i.e., the network fits the "noise" in the training data instead of the signal). Early stopping aims to solve the problem of manually setting the number of epochs. It can also be seen as a regularization method (similar to L1 / L2 weight decay and dropout) that can prevent the network from overfitting. The fundamental reason is that continuing training will lead to a decrease in accuracy on the test set.

[0094] If the cost function value on the validation set increases, further learning will only reduce the cost function value of the training set, resulting in overfitting. Therefore, we can set: when the validation set cost function value increases, run the program for 10 cycles. If the validation set cost function does not decrease, stop learning, and call the minimum validation set cost function, and the learned data is used as the optimal model.

[0095] Advantages: The iteration is automatically stopped according to the change of the cost function of the model on the validation set, which not only avoids excessive program running time, but also prevents the model from overfitting.

[0096] 5) Use Bayesian optimization to select hyperparameters: learning rate, number of neurons in each hidden layer.

[0097] The Bayesian optimization method for selecting hyperparameters is divided into four parts: objective function, domain space, optimization process, and result display.

[0098] 5.1 Objective function: During the model fitting process, the loss function of various learning rates and numbers of neurons on the validation set is used as the objective function.

[0099] 5.2 Domain Space: The distribution is chosen to be log uniform, and the learning rate is uniformly distributed on a logarithmic scale. We will use a log uniform (from 0.00005 to 0.2) to obtain the learning rate, as it varies over several orders of magnitude. The number of neurons is chosen using an average distribution (10 to 100).

[0100] 5.3 Optimization process: During optimization, the TPE algorithm builds a probabilistic model based on past results and decides the next set of hyperparameters to evaluate in the objective function by maximizing the expected improvement.

[0101] 5.4 Results display: The selection results of the learning rate and the number of neurons in each hidden layer are output and applied to the neural network model.

[0102] Bayesian optimization will randomly select a set of initial values ​​of hyperparameters based on the distribution of hyperparameters in 5.2, and then build a probability model, usually a Gaussian process model, based on the objective function results of this set of hyperparameters. Since the Gaussian process model can express the probability distribution of each value, the next set of hyperparameters with the highest probability of being optimal can be selected based on this model, and then tested to obtain the results. This iteration continues until a set of hyperparameters for the optimal model is selected.

[0103] Advantages: Unlike grid search, random search and other methods, the Bayesian optimization process almost traverses the entire value space. The Bayesian optimization process can estimate the optimal hyperparameters for the next cycle based on the hyperparameter values ​​of the previous cycle, greatly reducing the model running time. And the objective function is set as the loss function on the validation set, so that the model can achieve better performance on the validation set, thereby obtaining better generalization performance. The number of iterations for adjusting hyperparameters is reduced, saving learning time costs.

[0104] The structural diagram of the constructed neural network can be found in Figure 4 :

[0105] 6) Learn experimental data. For the air spring dynamic stiffness model, the input of the neural network is the spring relative displacement Dt and the vibration frequency f. The output is the air spring force Ft. For the CDC shock absorber damping model, the input of the neural network is the relative displacement Dc, the relative velocity Vc and the input current I. The output is the damping force Fc. Import the measured data file and start iterative learning. Finally, save the optimal model learned. The obtained model is shown in Figure 5:

[0106] 7) Model accuracy verification. The predicted results were compared with the validation set, and a model accuracy of 96.8% was obtained. This is more accurate than traditional modeling methods.

Claims

1. A method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network, comprising the following steps: Step 1 includes: 1.1 performing a dynamic stiffness test of an air spring on a test bench to obtain dynamic stiffness characteristics of the air spring; 1.2 Carry out external characteristic test of continuously adjustable shock absorber on the test bench to obtain dynamic characteristics of CDC shock absorber; Step 2 includes, 2.1 data pre-processing: 2.1.1 Using stratified sampling, the air suspension damping characteristic data is divided into a full training set and a test set, with a distribution ratio of 10:2; 2.1.2 Re-ranking the entire training set can more generally learn the relationship between various different data; 2.1.3 Re-use stratified sampling to divide the entire training set into a training set and a validation set, with a distribution ratio of 10:2; The data in the training set is used as the input of the neural network, the data in the validation set is used to test the accuracy of the model and optimize the model in iterations; the data in the test set is used to test the generalization characteristics of the model; 2.2 Design the neural network structure: Build a multi-layer feedforward nested neural network for learning the air spring dynamic model, a single neuron. In this model, the neuron receives input signals from n other neurons, which are transmitted through weighted connections. The total input value received by the neuron will be compared with the threshold of the neuron, and then the output of the neuron will be processed by the "activation function"; Step 3: Randomly initialize the parameters. The distribution range of the parameters is determined based on the number of inputs and outputs of each layer. Step 4, using mini-batch random descent to optimize and early stop to select the optimal model, including: 4.1 the optimization method is mini-batch stochastic gradient descent "MBGD", 4.2 using the early stopping method to obtain the optimal model; Step 5: Use Bayesian optimization to select hyperparameters: learning rate, number of neurons in each hidden layer. The Bayesian optimization method is divided into four parts: objective function, domain space, optimization process, and result display. Step 6, learning experimental data: for the air spring dynamic stiffness model, the input of the neural network is the spring relative displacement Dt and the vibration frequency f, and the output is the air spring force Ft; for the CDC shock absorber damping model, the input of the neural network is the relative displacement Dc, the relative velocity Vc and the input current I, and the output is the damping force Fc; import the measured data file, start iterative learning, and finally save the optimal model learned; Step 7, model accuracy verification: The predicted results were compared with the validation set, and a model accuracy of 96.8% was obtained, which is more accurate than the traditional modeling method.

2. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 1.1: Fill the air suspension airbag with gas to 0.5±0.05Mpa. Connect the bottom of the air spring to the vibration table via a tension pressure transmitter, and vibrate sinusoidally with different frequencies f ranging from 0.5Hz to 20Hz and different amplitudes of the vibration table. The dynamic load of the air spring is measured by the tension pressure transmitter, and the relative displacement of the air spring is measured by the displacement transmitter. Obtain the relationship between the spring force Ft of the air spring and the frequency f and the relative displacement Dt. Step 1.2: Divide the input current of the continuously adjustable shock absorber into n equal parts, with a value range of 0A to 1A. Under each input current, the actuator inputs three sinusoidal inputs with different frequencies and the same amplitude; each sinusoidal input is cycled four times; or different levels of random input are input, and then the damping external characteristics of the air suspension are obtained; that is, the data relationship between the current I, relative velocity Vc, relative displacement Dc and the shock absorber damping force Fc is obtained.

3. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 2.2 includes: 2.2.1 Select the activation function as ReLU as the output layer function; The activation function The ReLU function is continuous and not differentiable at z = 0, and a sudden change in slope can cause the gradient to rebound; Select the sigmoid function as the hidden layer function 2.2.2 The sigmoid function is a continuous differentiable function, and its basic output has only 0 and 1 values, which can greatly reduce the convergence time and speed up the learning speed; 2.2.3 Call the scaling function to normalize the data of the training set and the test set, and limit the data to the interval [0,1] or [-1,1] after processing; 2.2.4 Set up the structure of the neural network, set up an input layer, then set up four hidden layers, and then set up a combination layer, combine the third hidden layer and the fourth hidden layer and input them into the output layer; 2.2.5 Select "MSE" as the loss function. The loss function is the cost function, which is the objective function of neural network optimization. The process of neural network training or optimization is the process of minimizing the loss function. The smaller the loss function value, the closer the corresponding predicted result is to the actual result value.

4. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 3, characterized in that: Step 2.2.3 also includes, in order to prevent the occurrence of singular sample data, singular sample data refers to sample vectors that are particularly large or small relative to other input samples. The existence of singular sample data will increase the training time and may cause failure to converge. Therefore, in the case of singular sample data, normalization is performed before training; Scaling function: F' is the normalized data. F text To normalize the data, F max is the maximum value among all input data. F min is the maximum value among all input data. The physical quantities of the air suspension: current I, relative velocity V and relative displacement D are selected as the input of the neural network, and the air suspension damping force F is selected as the output of the neural network.

5. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 3, characterized in that: Step 2.2.5, the cost function: w is the weight coefficient, b is the bias coefficient, η is the learning rate, and n is the number of neurons.

6. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 3, in order to ensure that the variance of each layer is consistent during forward propagation and backward propagation; during forward propagation, the variance of the activation function of each layer remains unchanged; during backward propagation, the variance of the gradient value of each layer remains unchanged, and the distribution range of the random initialization of the parameters is determined according to the number of inputs and outputs of each layer. It is a uniform distribution within the distribution range obtained by the number of input and output parameters of the layer. Choice of initial value of learning rate: n in is the number of input neurons, n out is the number of output neurons.

7. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 4.1, first determine the gradient descent rule, in order to calculate the gradient The gradient value needs to be calculated separately for each training input x Then calculate the average, Calculate by randomly selecting a small number of training input samples Then estimate the gradient Each iteration uses a fixed number of samples to update the parameters, sums Xj among all training samples in the current mini-batch data, and then selects another randomly selected mini-batch data for training until all training inputs are completed to complete a training iteration period, and then starts a new iteration cycle.

8. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 4.2 can be set as follows: when the validation set cost function value increases, run the program for 10 cycles. If the validation set cost function does not decrease, stop learning, and use the learned data as the optimal model when the minimum validation set cost function is called.

9. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 1, characterized in that: Step 5.1 Objective function determination: During the model fitting process, the loss function of various learning rates and numbers of neurons on the validation set is used as the objective function; Step 5.2 Domain space selection: The distribution selection is logarithmic uniform, and the learning rate is uniformly distributed on the logarithmic scale. The learning rate is obtained by using a logarithmic uniform from 0.00005 to 0.

2. Because it varies over several orders of magnitude, the number of neurons is selected from 10 to 100 using an average distribution; Step 5.3 Optimization process: During optimization, the TPE algorithm builds a probability model based on past results and decides the next set of hyperparameters to evaluate in the objective function by maximizing the expected improvement; Step 5.4: Result display: Output the selection results of the learning rate and the number of neurons in each hidden layer, and apply them to the neural network model.

10. The method for building a suspension model of an air spring and a continuously adjustable shock absorber based on a neural network according to claim 9, characterized in that: Bayesian optimization will randomly select a set of initial values ​​of hyperparameters based on the distribution of hyperparameters in step 5.2, and then build a probability model based on the objective function results of this set of hyperparameters. This model is a Gaussian process model, which can express the probability distribution of each value. Then, based on this model, the next set of most likely optimal hyperparameters is selected, and then tested to get the results. This iteration is repeated until a set of hyperparameters for the optimal model is selected.