A vehicle corrosion intensity prediction method based on part corrosion time sequence reverse reasoning
By collecting corrosion level data of key automotive chassis components, constructing a dual-channel time-series feature matrix, and utilizing a CNN-LSTM model, the reverse mapping from component corrosion results to environmental intensity was achieved. This solved the problems of long evaluation cycles, large errors, and insufficient data representativeness in existing technologies, enabling rapid and accurate prediction of the corrosion intensity of the entire vehicle.
Patent Information
- Application Number
- CN202611154635.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods for assessing vehicle corrosion intensity suffer from problems such as long testing cycles, large errors, insufficient data representativeness, and lack of reverse mapping capabilities, making it difficult to meet the needs for rapid assessment and accurate reflection of the overall vehicle corrosion status.
A method based on the time-series inverse reasoning of component corrosion is adopted. By collecting corrosion level data of key components of automobile chassis, a dual-channel time-series feature matrix is constructed. The CNN-LSTM hybrid neural network model is used for feature extraction and prediction, and an inverse mapping model from corrosion results to environmental intensity is established.
Significantly shortens the assessment cycle, meeting the needs for rapid assessment from the hour level, reducing errors, improving assessment accuracy and repeatability, broadly covering vehicle corrosion conditions, and reducing costs.
Smart Images

Figure CN123178922A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rapid assessment of vehicle corrosion intensity, specifically to a method for predicting the corrosion intensity of a whole vehicle based on reverse reasoning of component corrosion time sequence. Background Technology
[0002] The corrosion intensity of a vehicle directly determines its overall durability. Different regions have varying degrees of environmental influence on corrosion intensity (e.g., coastal areas have higher salt spray concentrations and thus higher corrosion intensity than inland areas). Accurately obtaining the corrosion intensity of the vehicle's location is a core prerequisite for achieving differentiated anti-corrosion design and durability verification for the entire vehicle.
[0003] Current vehicle corrosion intensity assessment primarily relies on the scaffolding method, where standard test specimens are mounted on the user's vehicle for monitoring. The acquired vehicle corrosion intensity is then used to predict time-series data using LSTM (Long Short-Term Memory) networks from the field of machine learning, such as for predicting pipeline corrosion intensity and steel structure corrosion development. However, these applications all follow a forward logic of "input environmental parameters (such as temperature, humidity, and pollutant concentration) → output corrosion degree," without addressing the reverse application of "inferring environmental intensity from corrosion results." Therefore, the following shortcomings exist:
[0004] 1. Long testing cycle: Because it requires long-term outdoor exposure of test pieces to obtain corrosion data, the evaluation cycle is more than six months, which makes it difficult to meet the needs of rapid evaluation.
[0005] 2. Multiple sources of error: Affected by environmental fluctuations such as outdoor temperature and humidity and pollutants, and the manual operation steps such as installation, recycling, rust removal, and weighing are prone to introducing operational errors, resulting in poor repeatability and accuracy of results;
[0006] 3. Insufficient data representativeness: The limited number of test pieces and narrow monitoring range cannot reflect the true corrosion status of vehicles used by a wide range of users;
[0007] 4. Lack of reverse mapping capability: Existing corrosion prediction technology, due to its model design being based on forward prediction logic, has not established a reverse correlation between "corrosion result and environmental intensity". Causally, it cannot infer the environmental intensity from the corrosion performance of components, nor can it quantitatively infer the equivalent corrosion environment intensity of the vehicle's location from the corrosion performance of components that have already occurred. Summary of the Invention
[0008] To address the shortcomings of existing technologies, the purpose of this invention is to provide a reverse reasoning process for establishing "corrosion result → environmental intensity" that models only the temporal evolution of environmental corrosion intensity, thereby significantly improving the accuracy of vehicle corrosion intensity prediction and effectively solving the problem of prediction distortion caused by differences in maintenance conditions.
[0009] To achieve the above-mentioned technical effects, the present invention adopts the following technical solution:
[0010] According to a first aspect of the present invention, the invention comprises the following steps:
[0011] S1: Data Acquisition and Preprocessing
[0012] Data collection for corrosion-sensitive critical components: This involves collecting corrosion level data for each component over seven time steps, from 0 to 6 years, under three standard corrosion intensities for corrosion-sensitive critical components of the automotive chassis.
[0013] Sample construction rules are set as follows: For each component under each type of corrosion intensity, its corrosion level data from 0 to 6 years are extracted to form a corrosion level sequence associated with component number, time step, and standard corrosion intensity;
[0014] S2: Feature Engineering
[0015] A first-order difference transformation is performed on the corrosion level sequence of a single component to generate a corrosion rate sequence. The corrosion level sequence and the corrosion rate sequence are then concatenated by feature dimensions to construct a dual-channel time-series feature matrix that simultaneously contains both absolute corrosion state and relative change trend.
[0016] S3: Data Standardization and Enhancement
[0017] Without introducing any augmented samples, the corrosion level sequence of the parts obtained in S1 is subjected to 5-fold stratified sampling according to the corrosion intensity level, and divided into a validation set and a training set. In each fold of different corrosion intensity levels, the number of validation sets does not exceed 20% of the total set. The minimum and maximum values of each feature dimension are calculated on the training set. The dual-channel time series feature matrix is normalized by Min-Max. Small Gaussian noise is added to the normalized dual-channel time series feature matrix to generate multiple sets of augmented copies to expand the training sample size.
[0018] S4: Feature extraction and prediction using a hybrid CNN-LSTM regression neural network:
[0019] The enhanced dual-channel temporal feature matrix is input into the CNN-LSTM model. First, a two-layer one-dimensional CNN is used to complete the local temporal feature mining and key corrosion mode screening, automatically extracting local temporal features such as short-term corrosion intensification, corrosion steady state, and corrosion slowdown. Then, double-layer pooling and regularization are used to complete feature compression and noise filtering. Finally, the condensed deep temporal features are input into the LSTM network to mine long-distance temporal dependencies. The high-dimensional feature mapping is completed by combining fully connected layers and L2 regularization constraints, and the continuous whole vehicle corrosion intensity prediction value is output in reverse.
[0020] S5: Model Training and Cross-Validation
[0021] The model was trained using standardized enhanced corrosion test data. Min-Max normalization was used to conduct iterative training of the enhanced dual-channel corrosion time-series features. The entire process adopted a 5-Fold hierarchical cross-validation mechanism and combined with learning rate decay and early stopping strategy to dynamically constrain the training process, thereby improving the model's generalization ability and robustness.
[0022] S6: Corrosion Intensity Numerical Prediction: For the critical corrosion-sensitive components to be tested, time-series data of corrosion scores from 0 to 6 years are collected. After differential transformation, dual-channel feature construction, and normalization of training set parameters, the data are input into the trained optimal CNN-LSTM model for model prediction. It outputs the predicted value of continuous corrosion intensity under the test conditions through forward inference.
[0023] Furthermore, the corrosion-sensitive key components of the same vehicle model include the front subframe, steering tie rod, and drive shaft, with the corrosion level ranging from 0 to 10, where 0 indicates no corrosion and 10 indicates rust penetration.
[0024] Furthermore, S1 also includes extracting corrosion level data from 0 to 6 years for each component under each type of corrosion intensity, forming a time-series sample. :
[0025]
[0026] Where i is the component number, and its value range is... j represents the corrosion intensity, with a value range of [value missing]. k represents the time step, and its value range is... ; Corrosion score of the i-th component in grade j and year k. , This represents the actual numerical value of the corrosion intensity level.
[0027] Furthermore, S2 feature engineering includes:
[0028] S21: First-order difference transform (corrosion rate sequence):
[0029] Let the corrosion level sequence of a single sample be and the original scoring sequence be . ( The corrosion rate sequence is defined as a first-order difference sequence. The formula is:
[0030]
[0031] S22: Dual-channel timing feature stacking:
[0032] Original sequence with difference sequence By concatenating the feature dimensions, a dual-channel feature is formed. Dual-channel features The formula is:
[0033]
[0034] in: , First-order difference Characterizing the first Year relative to the first Annual corrosion score change rate.
[0035] Furthermore, S3 data standardization and enhancement include:
[0036] S31: Data partitioning for stratified cross-validation: Without introducing any enhanced samples, all original samples are stratified according to corrosion intensity level, divided into five strata, denoted as _____. The original samples are the validation set. The remaining original samples form the training set. ;
[0037] S32: Min-Max Normalization: Let the two-channel feature set of the training set be... Where N is the number of samples in the training set, for each value of the feature dimension Normalization is performed using the following formula:
[0038]
[0039] in: Training set samples at the th The minimum value of each feature dimension; The maximum value of the training set sample in the d-th feature dimension; These are the normalized eigenvalues;
[0040] S33 Gaussian noise enhancement: for normalized samples Add Gaussian noise to generate a copy The formula is:
[0041]
[0042] Where t is the time step, and its value ranges from 1 to 2. d represents the feature dimension, with a value range of [value range missing]. ; : Follows a pattern with a mean of 0 and a variance of The Gaussian distribution.
[0043] Furthermore, S5 model training and cross-validation include:
[0044] S51: 5-Fold hierarchical cross-validation: Let the augmented dataset be... The stratification is based on the corrosion intensity level. ,formula:
[0045] ,
[0046] Where f is the fold number, and its value range is... ; : for the first Folding training set; For the first Fold the validation set;
[0047] S52: Early stopping and learning rate decay:
[0048] Early stopping: If the MSE on the validation set does not decrease for 12 consecutive epochs, then stop training and retain the optimal model parameters;
[0049] Learning rate decay: If the validation set MSE does not decrease for 5 consecutive periods, the learning rate is updated as follows: , .
[0050] Furthermore, the numerical prediction of S6 corrosion intensity includes:
[0051] Let the corrosion scoring sequence of the component to be tested be: Prediction process formula: First-order difference transform:
[0052]
[0053] Stacked with the original sequence to form a dual-channel feature ,
[0054] scaler parameters fitted using the training set , Standardized as:
[0055]
[0056] Model prediction:
[0057]
[0058] in For the CNN-LSTM hybrid model trained for the testing process, This represents the final predicted corrosion intensity as a floating-point number.
[0059] Compared with the prior art, the present invention has the following beneficial effects:
[0060] 1. The evaluation cycle is significantly shortened to meet the needs of rapid development. No long-term mounting is required; simply input the corrosion level sequence of in-use vehicle components. After model reasoning, fusion, and calibration, the corrosion intensity is quickly output using a reverse reasoning method of "component corrosion performance → environmental corrosion intensity." The evaluation cycle is compressed from "half a year" to "hours," fully meeting the rapid verification needs of whole vehicle development.
[0061] 2. Significantly reduced errors, improved accuracy and repeatability. A vehicle-specific time-series sample system and standard corrosion intensity calibration mechanism are constructed. Based on standardized enhanced corrosion test data training, it is unaffected by random fluctuations in outdoor temperature and humidity and pollutants, reducing environmental fluctuations and human operation errors, and improving the accuracy and repeatability of the assessment.
[0062] 3. Broad data coverage and stronger representativeness. The design incorporates a dedicated sample structure for vehicle corrosion scenarios and establishes joint judgment rules for multiple components and vehicle ages. It can collect corrosion level data and make batch predictions for multiple components of a large number of vehicles in use, overcoming the limitations of the small sample size and narrow monitoring range of the pad method. It can fully reflect the real corrosion status of user vehicles in different regions and under different operating conditions.
[0063] 4. Significant cost advantage, no additional monitoring equipment required. There is no need to deploy an outdoor monitoring network or purchase environmental sensors; corrosion intensity assessment can be achieved simply by utilizing existing corrosion detection data from vehicle components, significantly reducing detection and maintenance costs. Attached Figure Description
[0064] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0065] Figure 1 This is a flowchart illustrating the steps of a method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion timelines, as described in this embodiment. Figure 2 This embodiment presents a method for predicting the corrosion intensity of a vehicle based on the time-series inverse reasoning of component corrosion. The diagram shows the core computational logic of each layer of the CNN-LSTM hybrid regression neural network model. Detailed Implementation
[0066] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0067] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0068] It should be noted that similar reference numerals and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, all directional indications (such as up, down, left, right, front, back, bottom, etc.) in this application are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the figures). If the specific orientation changes, the directional indication will also change accordingly. Furthermore, descriptions involving "first," "second," etc., in this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated.
[0069] This invention provides a method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time series. It collects corrosion level scores for 26 core components of the automotive chassis at seven time points from 0 to 6 years for each component, constructing raw time series input data. Then, using a complete CNN-LSTM hybrid network, it achieves the prediction of the overall vehicle corrosion intensity. The specific working principle is as follows:
[0070] For 26 core corrosion-sensitive components of the automotive chassis, data were collected under three standardized vehicle-wide enhanced corrosion tests (corrosion intensities of 70, 90, and 140). Corrosion grade scores (0-10 points) were extracted for each component across seven time points from 0 to 6 years, forming a three-dimensional time-series sample structure of "component number - time step - standard corrosion intensity". A first-order difference transformation was performed on the corrosion grade sequence of a single component to generate a corrosion rate sequence. The original corrosion score sequence and the difference sequence were concatenated by feature dimensions to construct a dual-channel feature matrix that simultaneously includes absolute corrosion status and relative change trends. A one-dimensional convolutional neural network (C1000C1 ... The local spatial features of corrosion level data are extracted using onv1D. After dimensionality reduction through a max pooling layer, the data are input into a Long Short-Term Memory (LSTM) network to model temporal dependencies. A fully connected layer is set at the end of the network to output continuous corrosion intensity prediction values, realizing the inverse mapping from component corrosion time series data to the corrosion intensity of the whole vehicle environment. The model is trained using standardized enhanced corrosion test data, and the dual-channel features are standardized using Min-Max normalization. Five-fold hierarchical cross-validation is used to ensure the model's generalization ability. A quantitative inverse inference model between component corrosion performance and standard corrosion intensity level is established, and inverse prediction of component corrosion is performed.
[0071] The specific operation method of this invention is as follows:
[0072] S1: Data Acquisition and Preprocessing
[0073] S11 Corrosion-Sensitive Component Data Collection: This involves collecting data on the same vehicle model under three industry-standard enhanced vehicle corrosion tests (corrosion intensities of 70 / 90 / 140). It covers 26 corrosion-sensitive critical components of the same model, including the front subframe, steering tie rods, and drive shafts. Each component provides a corrosion level (0-10 points, where 0 indicates no corrosion and 10 indicates rust penetration) over seven time steps from 0 to 6 years.
[0074] S12 Sample Construction Rules: For each component under each corrosion intensity level, extract its corrosion grade data from 0 to 6 years to form a time-series sample. ,
[0075]
[0076] Where: i represents the component number. In this embodiment, 26 corrosion-sensitive key components of the same vehicle model were used, hence the component number... The range of values is ;
[0077] For corrosion strength, this embodiment uses the industry-standard corrosion test strengths (70, 90, 100), therefore the corrosion strength values are... S1 is 70, S2 is 90, and S3 is 100;
[0078] k represents the time step. This embodiment provides seven time steps, ranging from 0 to 6 years, for corrosion-sensitive critical components. Therefore, the scope of evidence collection for time step k is... ;
[0079] For the corrosion score of the i-th component in grade j and year k, this embodiment uses a corrosion grade of 0 to 10. The range of values is ;
[0080] : The actual value corresponding to the corrosion intensity level.
[0081] S2: Feature Engineering
[0082] By using differential transformation and dual-channel feature construction, we can solve the problems of local mutations and instantaneous fluctuations in time series data, make up for the lack of representation of dynamic changes in the original sequence, and output a dual-channel feature matrix with fixed dimensions and self-consistent temporal logic, which can be uniformly adapted to the input standard of deep learning models.
[0083] S21 First-order difference transform (corrosion rate sequence)
[0084] Let the original score sequence (corrosion grade sequence) of a single sample be: ( Define a first-order difference sequence (corrosion rate sequence). The formula is:
[0085]
[0086] S22 Dual-channel timing feature stacking
[0087] The original sequence (corrosion level sequence) Compared with the difference sequence (corrosion rate sequence) By concatenating the feature dimensions, a dual-channel feature is formed. Dual-channel features The formula is:
[0088]
[0089] in: , .
[0090] For difference sequences Padding with zeros to achieve the difference between the original time series X and the differential sequence Time step alignment. That is... , , differential sequence The original sequence is 6 in length. The length is 7, for the difference sequence Pad with zeros to length 7 to ensure the difference sequence With the original sequence Time step alignment, final dual-channel features The shape is (7, 2).
[0091] Padding with zeros ensures that the original sequence (7 time steps) and the difference sequence (6 valid differences) are aligned in the time dimension, avoiding feature dimension mismatch. Ultimately, the dual-channel features simultaneously contain both "absolute score" and "relative change" information, enhancing the model's ability to perceive corrosion dynamics.
[0092] First-order difference Characterizing the first Year relative to the first The annual corrosion score change rate is represented by a positive number indicating increased corrosion, a negative number indicating decreased corrosion, and 0 indicating no change, highlighting the dynamic trend of corrosion.
[0093] S3: Data Standardization and Enhancement
[0094] S31 5-Fold Stratified Cross-Validation Data Partitioning Principles
[0095] Without introducing any augmented samples, all N=78 original samples were stratified and evenly divided into 5 parts according to the corrosion intensity level y. One part was used as the validation set and four parts as the training set, and this process was repeated 5 times to calculate the average. The verification set is (The validation set comprises approximately 20% of the original sample set), and the remaining original samples form the training set. .
[0096] This sample data partitioning ensures that the validation set contains only the original samples that were not used in training and is completely isolated from subsequent enhancement operations. On the other hand, the proportion of different corrosion intensity levels in each compromise is consistent with the overall distribution, ensuring stable evaluation results.
[0097] S32 Min-Max Normalization
[0098] Only on the training set Calculate the minimum and maximum values for each feature dimension. Let the training set... The dual-channel feature set is (N is the number of training set samples), for each value of the feature dimension Normalization is performed using the following formula:
[0099]
[0100] in: Training set samples at the th The minimum value of each feature dimension, if , then represents the original sequence value, =1 represents the value of the difference sequence after all samples in the training set are aligned;
[0101] The maximum value of the training set sample in the d-th feature dimension;
[0102] : The normalized eigenvalues, which are compressed into the range of 0 to 1;
[0103] For any sample feature F, normalization is as follows:
[0104] ,
[0105] S33 Gaussian noise enhancement
[0106] For the normalized samples (shape(7,2)), add Gaussian noise to generate a copy The formula is:
[0107]
[0108] Where: t is the time step, and its value range is... d represents the feature dimension, with a value range of [value range missing]. ; : Follows a pattern with a mean of 0 and a variance of Gaussian distribution Each original sample generates 2-3 copies, which, after Gaussian noise enhancement, result in a total number of samples. .
[0109] In this step, without introducing any augmented samples, the corrosion level sequence of the parts obtained in S1 is stratified by 5-fold sampling according to the corrosion intensity level, and divided into a validation set and a training set. In each fold of different corrosion intensity levels, the number of validation sets does not exceed 20% of the total set. The minimum and maximum values of each feature dimension are calculated on the training set, and the dual-channel time series feature matrix is normalized by Min-Max. Small Gaussian noise is added to the normalized dual-channel time series feature matrix to generate multiple sets of augmented copies to expand the training sample size.
[0110] This step achieves the following objectives: (1) Layered cross-partitioning ensures unbiased model evaluation and balanced data distribution; (2) Training set-specific normalization prevents leakage of test information and conforms to industrial modeling standards; (3) Gaussian noise data enhancement alleviates small sample overfitting and improves model generalization ability.
[0111] S4: Feature Extraction and Prediction using a Hybrid CNN-LSTM Regression Neural Network
[0112] The enhanced (7,2) dual-channel temporal feature matrix is input into the CNN-LSTM model. First, a two-layer one-dimensional CNN is used to mine local temporal features and filter key corrosion patterns, automatically extracting local temporal features such as short-term corrosion intensification, corrosion steady-state, and corrosion slowdown. Then, double-layer pooling and regularization are used to compress features and filter noise. Finally, the condensed deep temporal features are input into the LSTM network to mine long-distance temporal dependencies. Combined with fully connected layers and L2 regularization constraints, high-dimensional feature mapping is completed, and the continuous vehicle corrosion intensity prediction value is output in reverse. Specifically, the following content is included:
[0113] S41 Model Input and Output Definitions
[0114] Input: Enhanced dual-channel timing features The shape is (7, 2) (single sample); the batch input shape is (B, 7, 2) (B is the batch size).
[0115] Output: Predicted corrosion intensity (Continuous floating-point numbers)
[0116] S42 Core Calculation Formulas for Each Layer
[0117] The core operational logic of each layer is as follows Figure 2 As shown, it includes the following:
[0118] (1) First convolutional layer (Conv1D)
[0119] Let the input features be (shape (7, 2)), the convolution operation formula is:
[0120]
[0121] in: Filter numbers (32 in total);
[0122] : Kernel stride (kernel size = 2);
[0123] Filling method "same": Input and output time step lengths are the same (still 7), output shape (7, 32); ReLU activation function: By introducing nonlinearity, the expressive power of the model is enhanced.
[0124] (2) First Max Pooling Layer (MaxPooling1D)
[0125] Output of convolutional layer Pooling is performed using the following formula:
[0126]
[0127] Where: pooling window size = 2, step size = 2, output time step after asymmetric filling = 4, output shape (4, 32), retain key features and reduce computational cost.
[0128] (3) First Dropout layer
[0129] Randomly discard a portion of the neuron outputs, using the following formula:
[0130]
[0131] in (Discard rate), the output shape remains (4, 32).
[0132] (4) Second convolutional layer (Conv1D)
[0133] Input is (Shape (4, 32)), the calculation formula is the same as that of the first convolutional layer, only the parameters are different:
[0134]
[0135] Where: Number of filters = 64 ( With kernel size = 2, padding mode "same", output time step length is still 4, and output shape is (4, 64).
[0136] (5) Second Max Pooling Layer (MaxPooling1D)
[0137] Pooling window size = 2, stride = 2, formula:
[0138]
[0139] Output shape (2, 64)
[0140] (6) Second Dropout layer
[0141] Drop rate The operation is the same as the first Dropout layer, and the output shape is (2, 64).
[0142] (7) LSTM layer
[0143] Input is (Shape(2, 64)), LSTM unit count = 64, Return sequence = False (only outputs the hidden state of the last time step), core formula:
[0144]
[0145] Where: t=0, 1, (Input vector, dimension 64) (The initial hidden state is a vector of 0). (The initial cell state is a vector of 0). Input gate, forget gate, output gate (activation function) (for Sigmoid). : Candidate cell state (activation function is tanh); Element-wise multiplication; output The final output of the LSTM layer is of shape (64,) (only the last hidden state).
[0146] (8) Batch Normalization Layer
[0147] LSTM output Batch normalization is performed using the following formula:
[0148]
[0149] in: : The mean of all samples within a batch (B is the batch size); : The variance of all samples within a batch; , : Learnable scaling and offset factors (initial values are 1 and 0, respectively); : To prevent tiny values where the denominator is 0;
[0150] Accelerate model training convergence and suppress gradient vanishing / exploding.
[0151] (9) Dropout layer (third layer)
[0152] With a discard rate p_3 = 0.4, the operation is the same as before, and the output shape is (64,).
[0153] (10) Fully connected layer (Dense)
[0154] Introducing L2 regularization, the output formula is:
[0155]
[0156] ,
[0157] in: : Weight matrix (shape (64, 32)). : Bias vector (dimension 32) outputs shape (32,).
[0158] (11) Dropout layer (fourth layer)
[0159] The discard rate p4 = 0.3, and the output shape is (32).
[0160] (12) Output layer (linear regression)
[0161] Without an activation function, the predicted value is directly output:
[0162]
[0163] in: : Weight vector (shape (1, 32)). : Bias term (scalar); Predicting corrosion intensity (continuous floating-point number)
[0164] (13) Optimizer and Loss Function
[0165] Using the Adam optimizer for adaptive learning rate optimization, the core update formula is:
[0166]
[0167] in (Initial learning rate 0.001, decaying with training). First-order momentum, It is a second-order momentum.
[0168] Loss function (MSE):
[0169]
[0170] in These are the model's predicted values. This represents the actual corrosion intensity value.
[0171] Evaluation Metrics (MAE):
[0172]
[0173] The purpose of this step is to leverage the dual advantages of CNN in local feature extraction and LSTM in long-term dependency modeling to accurately fit the time-series corrosion evolution of components and establish a high-precision regression mapping relationship from "the corrosion performance of components over many years" to "the overall environmental corrosion intensity".
[0174] S5: Model Training and Hierarchical Cross-Validation
[0175] Based on a preprocessed and enhanced dual-channel erosion time-series dataset, the model was iteratively trained using the Adam optimizer and MSE loss function. A 5-fold hierarchical cross-validation mechanism was employed throughout the training process, combined with learning rate decay and early stopping strategies to dynamically constrain the training process. Through multiple cross-training and validation iterations, the network weight parameters were continuously optimized to suppress overfitting. Details are as follows:
[0176] S51 5-Fold Stratified Cross-Validation
[0177] Let the augmented dataset be The stratification is based on the corrosion intensity level. (Ensure that the sample proportions of each level in each fold are consistent with the total dataset), Formula:
[0178] ,
[0179] in: :f-fold number; : No. Folded training set (this type of training set accounts for 80% of the total data in all sample datasets); : No. The validation set (this type of validation set accounts for 20% of the total data in all sample datasets).
[0180] (2) Early cessation and learning rate decay
[0181] Early stopping: If the MSE of the validation set does not decrease for 12 consecutive epochs, then stop training and retain the optimal model parameters.
[0182] Learning rate decay: If the validation set MSE does not decrease for 5 consecutive periods, the learning rate is updated as follows: , .
[0183] The purpose of this step is to eliminate data distribution bias through hierarchical cross-validation, and to maximize the generalization ability and robustness of the model by combining regularization, early stopping, and learning rate decay strategies, ultimately establishing a quantitative inverse reasoning model of time-series corrosion characteristics of chassis components to standard corrosion intensity.
[0184] S6: Numerical Prediction of Corrosion Intensity
[0185] For the critical corrosion-sensitive components to be tested, time-series data of corrosion scores from 0 to 6 years are collected. After differential transformation, dual-channel feature construction, and normalization of training set parameters, the data are input into the trained optimal CNN-LSTM model for model prediction. The model outputs the predicted value of continuous corrosion intensity under the test conditions through forward inference.
[0186] Let the corrosion scoring sequence of the component to be tested be: (Length 7), Prediction process formula: First-order difference transform:
[0187]
[0188] (After padding with zeros, the length is 7, which is then stacked with the original sequence to form a dual-channel feature) Shape (7, 2)
[0189] Standardization (using scaler parameters fitted from the training set) , ):
[0190]
[0191] Model prediction:
[0192]
[0193] in For the CNN-LSTM hybrid model trained in step E, This is the final predicted corrosion intensity floating-point number (e.g., 112.3).
[0194] It enables accurate and quantitative prediction of the overall vehicle's enhanced corrosion intensity under unknown corrosion conditions, relying solely on historical corrosion data of components, thus completing a reverse assessment of the corrosion environment.
[0195] In this invention, LSTM is replaced with GRU (Gated Recurrent Unit) to simplify the structure while maintaining the ability to extract temporal features. Bi-LSTM (Bidirectional Long Short-Term Memory) is employed to improve prediction accuracy by utilizing both historical and subsequent time-step information. A CNN-LSTM hybrid structure is used, first employing CNN to extract local features of erosion levels, and then using LSTM to model temporal relationships.
[0196] In this embodiment, Min-Max normalization is replaced with Z-Score normalization. Preprocessing the corrosion level sequence, such as smoothing filtering, differencing, and temporal interpolation, still achieves the purpose of this invention.
[0197] In this embodiment, the regression output (continuous corrosion intensity) is changed to a classification output (70 / 90 / 140 three-class classification), and cross-entropy loss is used. MAE (mean absolute error) is used instead of MSE as the loss function.
[0198] In this invention, SGD and RMSprop can be used to replace the Adam optimizer. Corrosion intensity prediction can still be achieved by employing different batch sizes, learning rates, dropout ratios, and early stopping strategies.
[0199] Adding features such as vehicle age, regional climate, and vehicle operating conditions to the corrosion level constitutes a multi-feature input, which is still an extension and alternative to the ideas of this invention.
[0200] The specific embodiments of the present invention have been described above. Based on the above description, those skilled in the art can make various changes and modifications without departing from the technical concept of the present invention.
Claims
1. A method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence, characterized in that, Includes the following steps: S1: Data Acquisition and Preprocessing Data collection for corrosion-sensitive critical components: This involves collecting corrosion level data for each component over seven time steps, from 0 to 6 years, under three standard corrosion intensities for corrosion-sensitive critical components of the automotive chassis. Sample construction rules are set as follows: For each component under each type of corrosion intensity, its corrosion level data from 0 to 6 years are extracted to form a corrosion level sequence associated with component number, time step, and standard corrosion intensity; S2: Feature Engineering A first-order difference transformation is performed on the corrosion level sequence of a single component to generate a corrosion rate sequence. The corrosion level sequence and the corrosion rate sequence are then concatenated by feature dimensions to construct a dual-channel time-series feature matrix that simultaneously contains both absolute corrosion state and relative change trend. S3: Data Standardization and Augmentation: Without introducing any augmentation samples, the corrosion level sequence of the parts obtained in S1 is subjected to 5-fold stratified sampling according to the corrosion intensity level, and divided into a validation set and a training set. In each fold of different corrosion intensity levels, the number of validation sets does not exceed 20% of the total set. The minimum and maximum values of each feature dimension are calculated on the training set. The dual-channel time series feature matrix is normalized by Min-Max. Small Gaussian noise is added to the normalized dual-channel time series feature matrix to generate multiple sets of augmentation copies to expand the training sample size. S4: Feature extraction and prediction using a hybrid CNN-LSTM regression neural network: The enhanced dual-channel temporal feature matrix is input into the CNN-LSTM model. First, a two-layer one-dimensional CNN is used to complete the local temporal feature mining and key corrosion mode screening, automatically extracting local temporal features such as short-term corrosion intensification, corrosion steady state, and corrosion slowdown. Then, double-layer pooling and regularization are used to complete feature compression and noise filtering. Finally, the condensed deep temporal features are input into the LSTM network to mine long-distance temporal dependencies. The high-dimensional feature mapping is completed by combining fully connected layers and L2 regularization constraints, and the continuous whole vehicle corrosion intensity prediction value is output in reverse. S5: Model Training and Cross-Validation The model was trained using standardized enhanced corrosion test data. Min-Max normalization was used to conduct iterative training of the enhanced dual-channel corrosion time-series features. The entire process adopted a 5-Fold hierarchical cross-validation mechanism and combined with learning rate decay and early stopping strategy to dynamically constrain the training process, thereby improving the model's generalization ability and robustness. S6: Corrosion Intensity Numerical Prediction: For the critical corrosion-sensitive components to be tested, time-series data of corrosion scores from 0 to 6 years are collected. After differential transformation, dual-channel feature construction, and normalization of training set parameters, the data are input into the trained optimal CNN-LSTM model for model prediction. It outputs the predicted value of continuous corrosion intensity under the test conditions through forward inference.
2. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that, The corrosion-sensitive key components of the same vehicle model include the front subframe, steering tie rod, and drive shaft. The corrosion level is 0 to 10, where 0 indicates no corrosion and 10 indicates rust penetration.
3. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that, S1 also includes extracting corrosion grade data from 0 to 6 years for each component under each type of corrosion intensity, forming a corrosion grade sequence. : Where i is the component number, and its value range is... j represents the corrosion intensity, with a value range of [value missing]. k represents the time step, and its value range is... ; Corrosion score of the i-th component in grade j and year k. , This represents the actual numerical value of the corrosion intensity level.
4. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that... S2 feature engineering includes: S21: First-order difference transform (corrosion rate sequence): Let the original score sequence of a single sample be... ( Define a first-order difference sequence. The formula is: S22: Dual-channel timing feature stacking: Original sequence with difference sequence By concatenating the feature dimensions, a dual-channel feature is formed. Dual-channel features The formula is: in: , First-order difference Characterizing the first Year relative to the first Annual corrosion score change rate.
5. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that... S3 data standardization and enhancement include: S31: Data partitioning for stratified cross-validation: Without introducing any enhanced samples, all original samples are stratified according to corrosion intensity level, divided into five strata, denoted as _____. The original samples are the validation set. The remaining original samples form the training set. ; S32: Min-Max Normalization: Let the two-channel feature set of the training set be... Where N is the number of samples in the training set, for each value of the feature dimension Normalization is performed using the following formula: in: Training set samples at the th The minimum value of each feature dimension; The maximum value of the training set sample in the d-th feature dimension; These are the normalized eigenvalues; S33 Gaussian noise enhancement: for normalized samples Add Gaussian noise to generate a copy The formula is: Where t is the time step, and its value ranges from 1 to 2. d represents the feature dimension, with a value range of [value range missing]. ; : Follows a pattern with a mean of 0 and a variance of The Gaussian distribution.
6. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that... S5 model training and cross-validation include: S51: 5-Fold hierarchical cross-validation: Let the augmented dataset be... The stratification is based on the corrosion intensity level. ,formula: , Where f is the fold number, and its value range is... ; : for the first Folding training set; For the first Fold the validation set; S52: Early stopping and learning rate decay: Early stopping: If the MSE on the validation set does not decrease for 12 consecutive epochs, then stop training and retain the optimal model parameters; Learning rate decay: If the validation set MSE does not decrease for 5 consecutive periods, the learning rate is updated as follows: , .
7. The method for predicting the corrosion intensity of a vehicle based on reverse reasoning of component corrosion time sequence as described in claim 1, characterized in that... The numerical prediction of S6 corrosion intensity includes: Let the corrosion scoring sequence of the component to be tested be: The prediction process is as follows: First-order difference transform: Stacked with the original sequence to form a dual-channel feature , Scaler parameters fitted using the training set , Standardized as: Model prediction: in For the CNN-LSTM hybrid model trained for the testing process, This represents the final predicted corrosion intensity value.
