Method for predicting tribological performance of polymer composite material based on machine learning
By constructing a gradient-enhanced regression tree model, the time-consuming and labor-intensive problem of traditional testing methods is solved, rapid and accurate prediction of friction and wear properties of polymer composites is achieved, design efficiency is improved, and high-precision prediction results are provided.
Patent Information
- Application Number
- CN202410751402.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-06
AI Technical Summary
Traditional testing methods are time-consuming, labor-intensive and costly, and cannot quickly obtain the tribological properties of polymer composites with different modifier component contents under different experimental conditions.
Using a method based on machine learning, by constructing a gradient-enhanced regression tree model, using experimental data for preprocessing and feature selection, an efficient prediction model is established to predict the friction and wear properties of polymer composite materials.
It achieves accurate prediction of the friction and wear properties of polymer composite materials, saves time and cost, and improves design and application efficiency. The fitting correlation coefficient reaches 0.991, with high prediction accuracy.
Smart Images

Figure CN118609729A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of polymer composite materials, and in particular relates to a method for predicting tribological properties of polymer composite materials based on machine learning. Background Art
[0002] Friction and wear of materials are complex multi-scale phenomena that are closely related to the contact surface, interface structure and performance. Their performance is related to the material properties of the friction products and the friction conditions (temperature, lubrication state, load and relative slip velocity, etc.), and directly affects their application effects. Theoretical and experimental research on the friction mechanism and friction performance of materials and improving the friction and wear performance of materials are the main directions of current research in materials tribology. However, traditional experimental methods are often time-consuming, labor-intensive and costly, and cannot quickly obtain the tribological properties of different modifier component contents under different experimental conditions.
[0003] Therefore, it is necessary to develop a machine learning-based method that can accurately and quickly predict the tribological properties of polymer composites. By deep learning and pattern recognition of a large amount of experimental data, combined with material properties and tribological theory, an efficient prediction model can be established. Such a model can not only save time and cost, but also improve the design and application efficiency of polymer composites, and promote progress and innovation in the field of materials science. Summary of the invention
[0004] Purpose of the invention: The technical problem to be solved by the present invention is to provide a method for predicting the tribological properties of polymer composites based on machine learning in view of the shortcomings of the prior art. The method selects experimental data and constructs a gradient enhanced regression tree model to predict the friction and wear properties of different polymer composites and polymers under all friction test conditions.
[0005] In order to achieve the above object, the present invention adopts the following technical solution: a method for predicting the tribological properties of polymer composite materials based on machine learning, comprising the following steps:
[0006] Step 1, collecting experimental data including polymer composite material components, friction test condition parameters, friction coefficient and wear rate;
[0007] Step 2: preprocess the experimental data obtained in step 1, and then divide the training set and the test set based on the feature data and the label data;
[0008] Step 3: Build a prediction model based on gradient enhancement regression, find the optimal parameter value through grid search, and after obtaining the optimal parameter model, input the training set and test set to train the prediction model;
[0009] Step 4, using mean square error, root mean square error and correlation coefficient to evaluate the training model, based on the trained prediction model, input corresponding input parameters (polymer composite component percentage or friction test condition parameters) to obtain predicted values (friction coefficient and wear rate);
[0010] Step 5, compare the predicted value with the experimental test value and calculate the error. If the error is within 10%, it indicates that the prediction method is effective. Otherwise, return to step 3 and repeatedly train to improve the prediction accuracy.
[0011] In step 1, the polymer composite material components include a matrix, a reinforcing fiber type and content, a modifier type and content, and the friction test condition parameters include temperature, load and sliding speed.
[0012] In step 2, the preprocessing includes:
[0013] Data cleaning: Identify and process outliers, including deleting, replacing, or correcting outliers using statistical methods;
[0014] Feature selection: Select polymer composite material components or friction test condition parameters as feature data, and friction coefficient and wear rate as label data;
[0015] Normalization processing: According to the data distribution, the maximum value max and the minimum value min are determined as the upper and lower thresholds of normalization, and the data is normalized to a data set with a mean of 0, a standard deviation of 1 and a normal distribution. The formula is:
[0016]
[0017] Where x′ represents the normalized data and x represents the original data.
[0018] In step 2, 80% of the feature data and label data are randomly divided into the training set, and the remaining 20% are divided into the test set.
[0019] In step 3, the percentage contents of different components of the pretreated polymer composite material are used as input values of the prediction model, or the parameters of different friction test conditions after pretreatment are used as input values of the prediction model, and both input values use friction coefficient and wear rate as output values.
[0020] Step 3 includes:
[0021] Step 3-1, initialization: select an initial model for the first round of training, the initial model is a decision tree model, the depth of the tree is set to 2, and the binary cross entropy is specified as the loss function of the initial model;
[0022] Step 3-2, iterative training: For each round of iteration, a new weak learner will be trained, and the new weak learner will fit the residual of the previous round of model; the prediction results of the new model obtained in each round of iteration will be added to the prediction results of the model obtained in the previous round of iteration, thereby gradually improving the performance of the model;
[0023] Step 3-3, residual calculation: In each iteration, the residual between the actual value and the predicted value of the current model is calculated. The residual represents the part of the model that has not been correctly fitted;
[0024] Step 3-4, learning rate: The learning rate is introduced to control the weight of the model obtained in each round of iteration. The learning rate is a parameter less than 1. The learning rate is multiplied by the prediction result of the model obtained in each round of iteration to slowly approach the true target value.
[0025] Step 3-5, stop condition: stop iteration when the preset number of rounds is reached or when the performance of the model meets the conditions. In the application of this machine learning method, the number of iterations is set to 10-50 times to avoid overfitting. Evaluation indicators such as mean square error can also be used to evaluate whether the model performance meets the stopping conditions.
[0026] In step 3, the prediction model of the gradient boosting regression is constructed by the following steps:
[0027] Step a1, initialize the model function:
[0028]
[0029] Where F0(X) represents the initial model function, which is used to calculate the initial prediction value of the model; is the loss function, which measures the predicted value The difference between yi and the actual value; Represents the loss function The parameter corresponding to the minimum The value of
[0030] Step a2: for the iteration process from m 1 to M, use the negative gradient of the loss function in the current model F m-1 The value on (x) approximates the residual:
[0031]
[0032] Where m represents the preset number of iterations, y represents the actual value, and g m Represents the residual of the mth iteration. The residual refers to the difference between the current model prediction value and the actual value; is the loss function L about the current model F m-1(x) partial derivatives of the predicted value, based on which it can be determined how the predicted value of the current model needs to be adjusted;
[0033] Then use the base learner h(x) to fit the approximate residual value:
[0034]
[0035] Where h(x) represents the base learner, which is a simple decision tree model, and xi is the input data used to train the base learner. Represents the residual g of the base learner h(x) m The sum of squares is used to measure the degree of fit of the base learner to the residual;
[0036] Finally, the optimal gain γ is calculated:
[0037]
[0038] Where γ is determined by the sum of the minimum loss function L, the purpose is to find the gain value that makes the model predict most accurately;
[0039] Step a3, update the model:
[0040] F m (x) = F m-1 (x)+γh(x);
[0041] where F m (x) is the model function after the mth iteration; F m-1 (x) is the model function after the m-1th iteration; γ represents the gain after one iteration. The product of the gain and the base learner, γh(x), represents the contribution of the new base learner to the prediction, which is added to the current model function to update the model;
[0042] Step a4, return to model F m (x).
[0043] Gradient boosting regression has three important parameters: the number of words, the learning rate, and the maximum depth.
[0044] Number of subtrees: Gradient boosted regression trees usually use subtrees with a very small depth (between 1 and 5) to construct enhanced trees. This also takes up less memory and is faster to predict.
[0045] Learning rate: A higher learning rate means that each tree can make stronger corrections, and such models are generally more complex.
[0046] Maximum depth: Usually used to reduce the complexity of each tree, thereby avoiding overfitting caused by excessive depth. The maximum depth of the gradient boosting regression model is usually set very small, generally not exceeding 5.
[0047] In step 3, the coefficient of determination R 2 Measuring model fit:
[0048]
[0049] Among them, SS res is the residual sum of squares, SS tot is the total sum of squares; R 2 The closer the statistic is to 1, the better the model fit is.
[0050] Preferably, in step 4, the polymer composite material is composed of fiber reinforcement, solid lubricant and nanoparticle modification, the modifier has different component percentage contents as input values, and the friction coefficient and wear rate are output values.
[0051] Preferably, in step 4, the parameters of different friction test conditions take temperature, load and speed as input values, and friction coefficient and wear rate as output values.
[0052] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the method for predicting the tribological properties of polymer composite materials based on machine learning.
[0053] The present invention also provides a storage medium storing a computer program or instruction, which, when executed on a computer, executes the steps of the method for predicting the tribological properties of polymer composite materials based on machine learning.
[0054] The method of the invention can be used to predict the friction and wear properties of all polymer composite materials and is suitable for all friction experiments, and the experimental data are collected from a multifunctional friction and wear testing machine.
[0055] Compared with the prior art, the present invention has the following beneficial effects: (1) It has higher prediction accuracy. By collecting and arranging the components of the friction material and training the gradient enhanced regression model, the present invention can complete the prediction of the actual friction coefficient and wear rate of the material. The fitting correlation coefficient reaches 0.991, and the friction and wear performance of subsequent experimental data can be predicted very accurately; (2) The gradient enhanced regression machine learning method adopted in the present invention can obtain a high-precision prediction model by training with a smaller data set, and the workload is relatively small. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.
[0057] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0058] like Figure 1 As shown, the present invention provides a method for predicting the tribological properties of polymer composite materials based on machine learning, comprising the following steps:
[0059] Step 1, collecting experimental data including polymer composite material components, friction test condition parameters, friction coefficient and wear rate;
[0060] Step 2: preprocess the experimental data obtained in step 1, and then divide the training set and the test set based on the feature data and the label data;
[0061] Step 3: Build a prediction model based on gradient enhancement regression, find the optimal parameter value through grid search, and after obtaining the optimal parameter model, input the training set and test set to train the prediction model;
[0062] Step 4, using mean square error, root mean square error and correlation coefficient to evaluate the training model, based on the trained prediction model, input corresponding input parameters (polymer composite component percentage or friction test condition parameters) to obtain predicted values (friction coefficient and wear rate);
[0063] Step 5, compare the predicted value with the experimental test value and calculate the error. If the error is within 10%, it indicates that the prediction method is effective. Otherwise, return to step 3 and repeatedly train to improve the prediction accuracy.
[0064] In step 1, the polymer composite material components include a matrix, a reinforcing fiber type and content, a modifier type and content, and the friction test condition parameters include temperature, load and sliding speed.
[0065] In step 2, the preprocessing includes:
[0066] Data cleaning: Identify and process outliers, including deleting, replacing, or correcting outliers using statistical methods;
[0067] Feature selection: Select polymer composite material components or friction test condition parameters as feature data, and friction coefficient and wear rate as label data;
[0068] Normalization processing: According to the data distribution, the maximum value max and the minimum value min are determined as the upper and lower thresholds of normalization, and the data is normalized to a data set with a mean of 0, a standard deviation of 1 and a normal distribution. The formula is:
[0069]
[0070] Where x′ represents the normalized data and x represents the original data.
[0071] In step 2, 80% of the feature data and label data are randomly divided into the training set, and the remaining 20% are divided into the test set.
[0072] In step 3, the percentage contents of different components of the pretreated polymer composite material are used as input values of the prediction model, or the parameters of different friction test conditions after pretreatment are used as input values of the prediction model, and both input values use friction coefficient and wear rate as output values.
[0073] Step 3 includes:
[0074] Step 3-1, initialization: select an initial model for the first round of training, the initial model is a decision tree model, the depth of the tree is set to 2, and the binary cross entropy is specified as the loss function of the initial model;
[0075] Step 3-2, iterative training: For each round of iteration, a new weak learner will be trained, and the new weak learner will fit the residual of the previous round of model; the prediction results of the new model obtained in each round of iteration will be added to the prediction results of the model obtained in the previous round of iteration, thereby gradually improving the performance of the model;
[0076] Step 3-3, residual calculation: In each iteration, the residual between the actual value and the predicted value of the current model is calculated. The residual represents the part of the model that has not been correctly fitted;
[0077] Step 3-4, learning rate: The learning rate is introduced to control the weight of the model obtained in each round of iteration. The learning rate is a parameter less than 1. The learning rate is multiplied by the prediction result of the model obtained in each round of iteration to slowly approach the true target value.
[0078] Step 3-5, stop condition: stop iteration when the preset number of rounds is reached or when the performance of the model meets the conditions. In the application of this machine learning method, the number of iterations is set to 10-50 times to avoid overfitting. Evaluation indicators such as mean square error can also be used to evaluate whether the model performance meets the stopping conditions.
[0079] In step 3, the prediction model of the gradient boosting regression is constructed by the following steps:
[0080] Step a1, initialize the model function:
[0081]
[0082] Where F0(X) represents the initial model function, which is used to calculate the initial prediction value of the model; is the loss function, which measures the predicted value The difference between yi and the actual value; Represents the loss function The parameter corresponding to the minimum The value of
[0083] Step a2: for the iteration process from m 1 to M, use the negative gradient of the loss function in the current model F m-1 The value on (x) approximates the residual:
[0084]
[0085] Where m represents the preset number of iterations, y represents the actual value, and g m Represents the residual of the mth iteration. The residual refers to the difference between the current model prediction value and the actual value; is the loss function L about the current model F m-1 (x) partial derivatives of the predicted value, based on which it can be determined how the predicted value of the current model needs to be adjusted;
[0086] Then use the base learner h(x) to fit the approximate residual value:
[0087]
[0088] Where h(x) represents the base learner, which is a simple decision tree model, and xi is the input data used to train the base learner. Represents the residual g of the base learner h(x) m The sum of squares is used to measure the degree of fit of the base learner to the residual;
[0089] Finally, the optimal gain γ is calculated:
[0090]
[0091] Where γ is determined by the sum of the minimum loss function L, the purpose is to find the gain value that makes the model predict most accurately;
[0092] Step a3, update the model:
[0093] F m (x) = F m-1 (x)+γh(x);
[0094] where F m (x) is the model function after the mth iteration; F m-1 (x) is the model function after the m-1th iteration; γ represents the gain after one iteration. The product of the gain and the base learner, γh(x), represents the contribution of the new base learner to the prediction, which is added to the current model function to update the model;
[0095] Step a4, return to model F m (x).
[0096] Gradient boosting regression has three important parameters: the number of words, the learning rate, and the maximum depth.
[0097] Number of subtrees: Gradient boosted regression trees usually use subtrees with a very small depth (between 1 and 5) to construct enhanced trees. This also takes up less memory and is faster to predict.
[0098] Learning rate: A higher learning rate means that each tree can make stronger corrections, and such models are generally more complex.
[0099] Maximum depth: Usually used to reduce the complexity of each tree, thereby avoiding overfitting caused by excessive depth. The maximum depth of the gradient boosting regression model is usually set very small, generally not exceeding 5.
[0100] In step 3, the coefficient of determination R 2 Measuring model fit:
[0101]
[0102] Among them, SS res is the residual sum of squares, SS tot is the total sum of squares; R 2 The closer the statistic is to 1, the better the model fit is.
[0103] Preferably, in step 4, the polymer composite material is composed of fiber reinforcement, solid lubricant and nanoparticle modification, the modifier has different component percentage contents as input values, and the friction coefficient and wear rate are output values.
[0104] Preferably, in step 4, the parameters of different friction test conditions take temperature, load and speed as input values, and friction coefficient and wear rate as output values.
[0105] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the method for predicting the tribological properties of polymer composite materials based on machine learning.
[0106] The present invention also provides a storage medium storing a computer program or instruction, which, when executed on a computer, executes the steps of the method for predicting the tribological properties of polymer composite materials based on machine learning.
[0107] Example 1
[0108] The method for predicting tribological properties of polymer composite materials based on machine learning is shown in the flowchart as follows: Figure 1 As shown, the percentage content of different components of the modifier is used as the input value, and the friction coefficient and wear rate are output values. Specifically, the following steps are included:
[0109] Step 1, prepare a polyimide-based composite material with different components, the polyimide-based composite material components include polyimide, molybdenum disulfide, glass fiber and nano-alumina. The percentage content of molybdenum disulfide in the modifier is 0, 3%, 6%, and 9%, the percentage content of glass fiber is 0, 3%, 6%, and 9%, and the percentage content of nano-alumina is 0, 2%, 4%, and 6%. According to the percentage of the above material components, an orthogonal experiment is designed, and the material is fired in a hot pressing sintering furnace.
[0110] Step 2, conduct friction and wear experiments on a friction and wear testing machine, the experimental parameters are: load is 5N, rotation speed is 200rpm, rotation radius is 3mm, test time is 60min, sampling frequency is 360Hz, friction dual ball size is 6.35mm in diameter, dual ball material is GCr15, dual ball surface roughness is 0.05μm, dual ball hardness is 63-65HRC. Collect 64 sets of experimental data to complete the construction of the data set.
[0111] Step 3, randomly divide the data set into a training set and a test set according to the proportion, the training set includes 50 groups of data, and the test set includes 14 groups of data. The percentage content of different component modifiers is used as the input value, and the friction coefficient and wear rate are the output values.
[0112] Step 4: Build a gradient enhancement regression model. The training process of the model is as shown in the figure Figure 1 As shown. In this process, the relevant parameters of the model need to be designed and adjusted. Gradient boosted regression trees usually use subtrees with very small depths (between 1 and 5) to construct enhanced trees. In this example, it is set to 4, which takes up less memory and has faster prediction speed; the learning rate is usually used to control the strength of each tree to correct the previous tree. A higher learning rate means that each tree can make stronger corrections; the maximum depth is usually used to reduce the complexity of each tree, thereby avoiding overfitting caused by excessive depth. The maximum depth of the gradient boosted regression tree is usually set very small, generally not exceeding 5, and is set to 4 in this example.
[0113] Step 5: Based on the gradient boosting regression algorithm, the prediction model is trained with the training set and test set in step 3. After multiple iterations, the model performance is stopped when it meets the conditions. The mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE) and correlation coefficient are used to evaluate the accuracy of the machine learning model.
[0114] Step 6, input the data of different components of the target polyimide-based composite material into the trained gradient enhanced regression model to obtain the predicted values of the friction coefficient and wear rate of the composite material under different components. The error between the actual value and the predicted value of the calculated friction coefficient is 0.0068, and the error between the actual value and the predicted value of the wear rate is 0.0093, indicating that the model can predict the tribological properties of the composite material under different components. As shown in Table 1, the experimental and predicted values of the friction coefficient and wear rate are compared when 3% MoS2, 0% GF, and 2% Al2O3.
[0115] Table 1
[0116]
[0117] Example 2
[0118] The method for predicting tribological properties of polymer composite materials based on machine learning is shown in the flowchart as follows: Figure 1 As shown. The tribological properties of polytetrafluoroethylene composite materials under different experimental parameters are predicted, with temperature, load and speed under different experimental conditions as input values, and the friction coefficient and wear rate of the composite materials as output values. Specifically, the following steps are included:
[0119] Step 1, material preparation, adding polyimide powder, polytetrafluoroethylene powder and mica powder into a high-speed mixer and mixing, and then compressing the polytetrafluoroethylene composite material into a size of 12.32×12.32×19.05mm 3 Experimental materials.
[0120] Step 2, tribological experiments were carried out on a friction and wear testing machine, and the friction pair was made of polytetrafluoroethylene composite material and a stainless steel ring with a diameter of 49.22 mm. The tribological experiments were carried out at 25°C, 50°C, 90°C, 120°C and 150°C, respectively, with the load set to 200N and 400N, and the speed set to 200rpm, 400rpm, 600rpm, 800rpm, 1000rpm and 1200rpm. Each test lasted for one hour, and 60 sets of experimental data were collected to complete the construction of the data set.
[0121] Step 3: randomly divide the data set into training set and test set according to the proportion. The training set includes 48 groups of data and the test set includes 12 groups of data. The temperature, load and speed under different experimental parameters are used as input values, and the friction coefficient and wear rate are output values.
[0122] Step 4: Build a gradient enhancement regression model. The training process of the model is as shown in the figure Figure 1As shown. In this process, the relevant parameters of the model need to be designed and adjusted. Gradient boosted regression trees usually use subtrees with very small depths (between 1 and 5) to construct enhanced trees. In this example, it is set to 4, which takes up less memory and has faster prediction speed; the learning rate is usually used to control the strength of each tree to correct the previous tree. A higher learning rate means that each tree can make stronger corrections; the maximum depth is usually used to reduce the complexity of each tree, thereby avoiding overfitting caused by excessive depth. The maximum depth of the gradient boosted regression tree is usually set very small, generally not exceeding 5, and is set to 4 in this example.
[0123] Step 5: Based on the gradient boosting regression algorithm, the prediction model is trained with the training set and test set in step 3. After multiple iterations, the model performance is stopped when it meets the conditions. The mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE) and correlation coefficient are used to evaluate the accuracy of the machine learning model.
[0124] Step 6, input different temperature, load and speed parameter data into the trained gradient enhanced regression model to obtain the predicted values of friction coefficient and wear rate of the polytetrafluoroethylene composite material. The error between the actual value and the predicted value of the calculated friction coefficient is 0.0135, and the error between the actual value and the predicted value of the wear rate is 0.0063, indicating that the model can predict the friction coefficient of the composite material under different experimental parameters. As shown in Table 2, the actual and predicted values of the friction coefficient and wear rate under the experimental conditions of 50℃, 200N and 2m / s are compared.
[0125] Table 2
[0126]
[0127] Example 3
[0128] The method for predicting tribological properties of polymer composite materials based on machine learning is shown in the flowchart as follows: Figure 1 As shown. The tribological properties of carbon fiber filled thermoplastic polyimide composites are predicted, with temperature, load and speed under different experimental conditions as input values, and the friction coefficient and wear rate of the composite material as output values. Specifically, the following steps are included:
[0129] Step 1, preparing a polyimide-based composite material filled with short carbon fibers, wherein the carbon fiber filling content is 30 wt.%.
[0130] Step 2, the test experiment is set as a carbon fiber filled polyimide composite cylinder sliding on a steel plate in a straight line. The tribological experiments were carried out at temperatures of 25°C, 50°C, 75°C, 100°C, 125°C, 150°C, 200°C and 250°C. The load was set to 50N, 100N, 150N and 200N, and the sliding friction speed was set to 0.3, 0.6, 0.9 and 1.2m / s. The data collected from the experiment were processed to form 96 sets of training data to complete the construction of the data set.
[0131] Step 3: randomly divide the data set into training set and test set in proportion, with 80% for training set and 20% for test set. The temperature, load and sliding speed under different experimental parameters are used as input values, and the wear rate is used as output value.
[0132] Step 4: Build a gradient enhancement regression model. The training process of the model is as shown in the figure Figure 1 As shown. In this process, the relevant parameters of the model need to be designed and adjusted. Gradient boosted regression trees usually use subtrees with very small depths (between 1 and 5) to construct enhanced trees. In this example, it is set to 4, which takes up less memory and has faster prediction speed. The learning rate is usually used to control the strength of each tree to correct the previous tree. A higher learning rate means that each tree can make stronger corrections. The maximum depth is usually used to reduce the complexity of each tree, thereby avoiding overfitting caused by excessive depth. The maximum depth of the gradient boosted regression tree is usually set very small, generally not exceeding 5, and is set to 3 in this example.
[0133] Step 5: Based on the gradient boosting regression algorithm, the prediction model is trained with the training set and test set in step 3. After multiple iterations, the model performance is stopped when it meets the conditions. The mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE) and correlation coefficient are used to evaluate the accuracy of the machine learning model.
[0134] Step 6, input different temperature, load and speed parameter data into the trained gradient enhanced regression model to obtain the friction coefficient and wear rate of the carbon fiber filled polyimide composite material. The error between the actual value and the predicted value of the friction coefficient is 0.0257, and the error between the actual value and the predicted value of the wear rate is 0.0747, indicating that the model can predict the friction coefficient of the composite material under different experimental parameters. Table 3 shows the comparison between the actual and predicted values of the friction coefficient and wear rate under the experimental conditions of 25°C, 100N and 0.6m / s.
[0135] Table 3
[0136]
[0137] The present invention provides a method for predicting the tribological properties of polymer composite materials based on machine learning. There are many methods and ways to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented by existing technologies.
Claims
1. A method for predicting tribological properties of polymer composites based on machine learning, characterized in that: The following steps are involved: Step 1, collecting experimental data including polymer composite material components, friction test condition parameters, friction coefficient and wear rate; Step 2: preprocess the experimental data obtained in step 1, and then divide the training set and the test set based on the feature data and the label data; Step 3: Build a prediction model based on gradient enhancement regression, find the optimal parameter value through grid search, and after obtaining the optimal parameter model, input the training set and test set to train the prediction model; Step 4: Use mean square error, root mean square error and correlation coefficient to evaluate the training model. Based on the trained prediction model, input the corresponding input parameters to obtain the predicted value. Step 5, compare the predicted value with the experimental test value and calculate the error. If the error is within the range, it indicates that the prediction method is effective. Otherwise, return to step 3 and repeatedly train to improve the prediction accuracy.
2. The method according to claim 1, characterized in that In step 1, the polymer composite material components include a matrix, a reinforcing fiber type and content, a modifier type and content, and the friction test condition parameters include temperature, load and sliding speed.
3. The method according to claim 2, characterized in that In step 2, the preprocessing includes: Data cleaning: Identify and process outliers, including deleting, replacing, or correcting outliers using statistical methods; Feature selection: Select polymer composite material components or friction test condition parameters as feature data, and friction coefficient and wear rate as label data; Normalization processing: According to the data distribution, the maximum value max and the minimum value min are determined as the upper and lower thresholds of normalization, and the data is normalized to a data set with a mean of 0, a standard deviation of 1 and a normal distribution. The formula is: where x ′ represents the normalized data, and x represents the original data.
4. The method according to claim 3, characterized in that In step 2, 80% of the feature data and label data are randomly divided into the training set, and the remaining 20% are divided into the test set.
5. The method according to claim 4, characterized in that In step 3, the percentage contents of different components of the pretreated polymer composite material are used as input values of the prediction model, or the parameters of different friction test conditions after pretreatment are used as input values of the prediction model, and both input values use friction coefficient and wear rate as output values.
6. The method according to claim 5, characterized in that Step 3 includes: Step 3-1, initialization: select an initial model for the first round of training, the initial model is a decision tree model, the depth of the tree is set to 2, and the binary cross entropy is specified as the loss function of the initial model; Step 3-2, iterative training: For each round of iteration, a new weak learner will be trained, and the new weak learner will fit the residual of the previous round of model; the prediction results of the new model obtained in each round of iteration will be added to the prediction results of the model obtained in the previous round of iteration, thereby gradually improving the performance of the model; Step 3-3, residual calculation: In each iteration, the residual between the actual value and the predicted value of the current model is calculated. The residual represents the part of the model that has not been correctly fitted; Step 3-4, learning rate: The learning rate is introduced to control the weight of the model obtained in each round of iteration. The learning rate is a parameter less than 1. The learning rate is multiplied by the prediction result of the model obtained in each round of iteration to slowly approach the true target value. Step 3-5, stop condition: stop iteration when the preset number of rounds is reached or when the performance of the model meets the conditions.
7. The method according to claim 6, characterized in that In step 3, the prediction model of the gradient boosting regression is constructed by the following steps: Step a1, initialize the model function: Where F0(X) represents the initial model function, which is used to calculate the initial prediction value of the model; is the loss function, which measures the predicted value The difference between yi and the actual value; Represents the loss function The parameter corresponding to the minimum The value of Step a2: for the iteration process from m 1 to M, use the negative gradient of the loss function in the current model F m-1 The value on (x) approximates the residual: Where m represents the preset number of iterations, y represents the actual value, and g m Represents the residual of the mth iteration. The residual refers to the difference between the current model prediction value and the actual value; is the loss function L about the current model F m-1 (x) partial derivative of the predicted value; Then use the base learner h(x) to fit the approximate residual value: Where h(x) represents the base learner, xi is the input data used to train the base learner, Represents the residual g of the base learner h(x) m The sum of squares is used to measure the degree of fit of the base learner to the residual; Finally, the optimal gain γ is calculated: Where γ is determined by the sum of the minimum loss function L; Step a3, update the model: F m (x)=F m-1 (x)+γh(x); where F m (x) is the model function after the mth iteration; F m-1 (x) is the model function after the m-1th iteration; γ represents the gain after one iteration, and the product of the gain and the base learner, i.e., γh(x), represents the contribution of the new base learner to the prediction; Step a4, return to model F m (x).
8. The method according to claim 7, characterized in that In step 3, the coefficient of determination R 2 Measuring model fit: Among them, SS res is the residual sum of squares, SS tot is the total sum of squares; R 2 The closer the statistic is to 1, the better the model fit is.
9. An electronic device, comprising a processor and a memory, wherein the memory stores program codes, and when the program codes are executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.
10. A storage medium, characterized in that: A computer program or instruction is stored, and when the computer program or instruction is run on a computer, the steps of the method according to any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
Beam-column joint shear strength prediction method based on gradient enhanced regression algorithm
CN110147835A
Wet bonding barrier film as well as preparation method and application thereof
CN114306757A
Office building energy consumption prediction method based on GBDT regression model
CN116796141A
Method for predicting abrasion loss of ball bearing based on machine learning
CN117034141A
Fluid composition for cutting or grinding system employing trace amount of fluid
CN1337990A
Cited By
Intelligent prediction method and system for phase equilibrium of natural gas hydrate in organic solution system
CN119993318A
Friction coefficient volatility and mean value index layered modeling prediction method
CN120910531A
