High-lock nut mechanical property prediction and machining parameter optimization method based on machine learning
By constructing a convolutional neural network model and NSGA-Ⅱ algorithm, the problem of weak mechanical performance prediction ability and difficult parameter optimization of high-locking nuts is solved, fast and accurate mechanical performance prediction and parameter adjustment are achieved, and performance stability is improved.
Patent Information
- Application Number
- CN202410765741.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology is difficult to quickly predict the mechanical performance parameters of high-locking nuts under different working conditions, and the ability to optimize processing parameters is insufficient, resulting in unstable mechanical properties.
By collecting the processing parameters and mechanical performance indicators of high-lock nuts under different working conditions, the signal-to-noise ratio is used to evaluate the robustness of the data, and a convolutional neural network model is constructed for prediction. It is combined with the NSGA-Ⅱ algorithm for multi-objective optimization, and the processing parameters are adjusted to Improve performance metrics.
It achieves rapid prediction and parameter optimization of the mechanical properties of high-lock nuts, improves prediction accuracy and performance stability, and is suitable for traditional manufacturing industries.
Smart Images

Figure CN118607129A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mechanical property evaluation methods for high-speed locking nuts for aerospace applications, and mainly realizes the prediction and parameter optimization of three mechanical properties of high-speed locking nuts, namely, locking torque, loosening torque and preload under different working conditions. Background Art
[0002] The life of an aircraft structure mainly depends on the weak links in the structure, such as premature fatigue damage in mechanical connection holes and other parts. Designing a certain amount of interference (interference fit) between the connector and the hole and making the connected parts produce a stable and high clamping force are one of the important measures to improve the fatigue life of the structure. High-locking bolts and nuts are new connectors developed abroad, with many varieties and wide applications. In October 1959, "NAS", "BOEINC" company in 1960, and "MIL" in November 1962 successively issued high-locking bolt and nut standards. This set of standards has high strength, light weight, low cost, simple assembly, high efficiency, low noise, high controllable clamping force, self-locking ability, and can be installed on one side in a small space. Due to the above characteristics, foreign aircraft have been widely used. For example, T38, B58, Boeing 707, 727, 737, C-5A, L1011, DC-10, F-15. Boeing 747 uses high-locking nuts with sealing rings for the integral fuel tank of the aircraft. The F-14 uses high fatigue resistance and high locking bolts for the main load-bearing structures.
[0003] There are still two key issues in the process of CNC machining high-lock nuts: when the operating conditions change during the actual machining of high-lock nuts, how to quickly predict the performance parameters after the operating conditions change; and how to adjust the machining parameters and processes so that multiple performance indicators are improved at the same time.
[0004] The processing of high-lock nuts is complicated and requires many processing parameters. The existing calculation methods for the three performance indicators of high-lock nuts, namely, locking torque, loosening torque and preload, are as follows: constructing a finite element model of the processing parameters of high-lock nuts through simulation, and obtaining the mechanical performance indicators of high-lock nuts takes a long time; calculating the mechanical performance indicators of high-lock nuts through theoretical formulas requires measuring the actual friction coefficient of the high-lock nuts after processing, which takes a long time and relies too much on the accuracy of the testing equipment. The above two methods do not consider the interaction between the processing parameters, and cannot optimize the processing parameters of high-lock nuts. In addition, there are processing errors in the processing of high-lock nuts, which will cause unstable mechanical properties under the same processing parameters, and it is impossible to take the average value to characterize the mechanical properties. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and to propose a method for predicting the mechanical properties of a high lock nut and a method for optimizing processing parameters, thereby solving the problems of weak prediction ability and unstable fastening performance in the prior art.
[0006] In order to achieve the above object, the present invention is implemented by the following scheme:
[0007] The present invention collects a large number of high-lock nut processing parameters and mechanical property indicators under different working conditions, introduces the signal-to-noise ratio as an evaluation indicator of whether the collected data is robust, takes the average value of the robust data to characterize the mechanical properties corresponding to the processing parameters, and then preprocesses and trains the convolutional neural network. Finally, a prediction model of processing parameters and mechanical property indicators of high-lock nuts is obtained, and the convolutional neural network is called as a proxy model of the subsequent multi-objective optimization algorithm. NSGA-Ⅱ (non-dominated sorting genetic algorithm with elite strategy) is selected to simultaneously optimize the mechanical property indicators of high-lock nuts.
[0008] The specific steps include:
[0009] Step 1, obtaining the processing parameters of the whole process of processing the high lock nut and obtaining the corresponding three performance indicators of the high lock nut locking torque, loosening torque and preload through experiments;
[0010] Step 2, under the same processing parameters, respectively calculate the average value and standard deviation of the three mechanical properties, then calculate the signal-to-noise ratio of each mechanical property, assign different weights to different signal-to-noise ratios, accumulate the signal-to-noise ratios, obtain the total signal-to-noise ratio value, set the total signal-to-noise ratio threshold, and eliminate the data below the set total signal-to-noise ratio threshold;
[0011] Step 3: preprocess the experimental data, normalize the data and randomly divide it into training set, validation set and test set;
[0012] Step 4, designing a machine learning model, inputting the constructed data set into the machine learning model for training, designing training learning data rules, respectively predicting the locking torque, loosening torque and preload, and evaluating according to the prediction results, the high lock nut mechanical prediction model is a convolutional neural network model (CNN);
[0013] Step 5: Use untrained processing parameter data to test the model, adjust the parameters according to the test results, and finally obtain a high-lock nut mechanical property prediction model.
[0014] Step 6: The multi-objective genetic algorithm optimizes the processing parameters by calling the trained convolutional neural network model.
[0015] Furthermore, the specific steps of the high lock nut test scheme designed in step 1 are as follows:
[0016] (1) The processing parameters and corresponding mechanical performance indicators of high lock nuts under different working conditions were collected. The processing parameters included the outer diameter of the closing end, the outer diameter of the breaking groove, the closing amount, the closing height and the concentration of hexadecanol. The mechanical performance indicators included the locking torque, the loosening torque and the preload. Each set of processing parameters corresponded to a set of mechanical performance indicators.
[0017] Furthermore, the specific steps of step 2 are as follows:
[0018] The calculation formula for calculating the total signal-to-noise ratio is as follows:
[0019]
[0020] Where η represents the total signal-to-noise ratio, w i represents the weight of the i-th mechanical property, represents the sensitivity of the i-th mechanical property under the j-th experimental result, σ ij represents the standard deviation of the jth experimental result of the ith mechanical property, represents the mean of the experimental results of the jth mechanical property, and n represents the number of experiments under the same processing parameters.
[0021] Furthermore, the specific steps of step 3 are as follows:
[0022] The construction of the data set uses a formula to normalize the selected data features, and all the processed data are scaled to between [0,1] to facilitate data processing and calculation. The formula is as follows;
[0023]
[0024] Where X is the normalized eigenvalue and x is the eigenvalue before normalization.
[0025] Then the normalized data is randomly divided into training set, validation set and test set.
[0026] Furthermore, the specific steps of step 4 are as follows:
[0027] Accept the normalized data with a data dimension of [5,1,1] and build a neural network structure including convolutional layer, batch normalization layer, pooling layer, fully connected layer, etc. Set two convolutional layers and use 3x1 convolution kernel to generate feature maps, generating 16 and 32 feature maps respectively. Add batch normalization layer and ReLU activation layer after each convolutional layer, train the model by setting training options and parameters, and then use the trained model to predict the input data of the test set.
[0028] Furthermore, the specific steps of step 5 are as follows:
[0029] The root mean square error RMSE is selected as the performance indicator of the comparison sub-model to evaluate the prediction results and model performance. The specific calculation formula is as follows:
[0030] Root Mean Square Error:
[0031]
[0032] Where N represents the number of samples in the dataset, y i Indicates the true value of a mechanical performance index. It indicates the prediction of a certain mechanical performance index value. It represents the average value of a certain mechanical performance index.
[0033] The test data set is preprocessed according to the construction method of the training data set, and input into the trained network model for result evaluation. The results output by the model are compared to see if they are consistent with the actual results. Based on the comparison results, the number of layers and learning rate of the network structure are fine-tuned to improve its prediction accuracy.
[0034] Furthermore, the specific steps of step 6 are as follows:
[0035] (1) The convolutional neural network trained in step 5 is used as a proxy model and coupled to the NSGA-II algorithm to replace the fitness function.
[0036] (2) Define the optimization problem, including the number of input variables, the number of objective functions, the population size, the number of iterations, the crossover probability, the mutation probability, and the range of the constraint variables. Specifically, it includes five input variables, three objective functions, the population size is initialized to 8, the number of iterations is 100, the crossover probability is 0.8, the mutation probability is 0.05, and the range of the constraint variables: the outer diameter of the closing: 7.58-7.6, the outer diameter of the twist-off groove: 5.56-5.6, the closing amount: 0.1-0.14, the closing height: 4.2-4.4, the concentration of hexadecanol: 0.3-1, and the step size of the constraint corresponding variable value [0.001, 0.001, 0.01, 0.005, 0.1].
[0037] (3) By initializing the population, the initial individuals are randomly generated. By loading the data, normalizing the parameter structure and calling the trained convolutional neural network as the proxy model, the minimization of the locking torque, maximization of the loosening torque and the maximum preload are used as the optimization objectives and the constraints of the optimization objectives, and the fitness function values corresponding to the locking torque, loosening torque and preload are calculated.
[0038] (4) Use non-dominated sorting to divide the individuals in the population into different Pareto front sets and calculate the crowding of the individuals. During the evolution process, the program updates the population through operations such as selection, crossover, and mutation, and sorts and eliminates individuals based on non-dominated sorting and crowding. During the iteration process, the current iteration number and the number of individuals in the Pareto front set are visualized, and the Pareto front set of the current iteration is visualized. Finally, a set of non-dominated solutions, namely the Pareto front, is output.
[0039] This method has the following technical advantages:
[0040] 1. The present invention collects information on processing parameters and mechanical performance indicators of high-speed lock nuts, has high training accuracy, and takes a short time, and can optimize processing parameters.
[0041] 2. Aiming at the problem that there are processing errors in the processing of high lock nuts, which causes unstable mechanical properties under the same processing parameters and it is impossible to take the average value to characterize the mechanical properties, this method introduces the signal-to-noise ratio to evaluate whether the data is robust, thereby ensuring the accuracy of the data and is suitable for the traditional processing and manufacturing industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a schematic diagram of a high lock nut;
[0043] Figure 2 A flow chart for constructing a high lock nut prediction model in the present invention;
[0044] Figure 3 It is a performance output diagram of the prediction model of the locking torque, loosening torque and pre-tightening force of the high lock nut in the present invention;
[0045] Figure 4 Schematic diagram of the NSGA-II model structure used in the present invention;
[0046] Figure 5 Schematic diagram of the Pareto front of the NSGA-II algorithm used in the present invention. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below through specific examples. The following examples are only illustrative and not restrictive, and the protection scope of the present invention cannot be limited thereto.
[0048] The present invention collects a large number of high-lock nut processing parameters and mechanical performance indicators under different working conditions, preprocesses the obtained data, trains convolutional neural networks, and finally obtains a prediction model for processing parameters and mechanical performance indicators of high-lock nuts. The convolutional neural network is called as a proxy model for the subsequent multi-objective optimization algorithm, and NSGA-Ⅱ is selected to simultaneously optimize the mechanical performance indicators of high-lock nuts.
[0049] See also Figure 1 The present invention provides a method for predicting the mechanical properties of high-speed lock nuts based on machine learning and a method for optimizing processing parameters to solve the problems of weak prediction ability and unstable fastening performance in the prior art, which specifically includes the following steps:
[0050] S1. Through experiments, the processing parameters of the whole process of processing high-lock nuts and the corresponding three performance indicators of high-lock nut locking torque, loosening torque and pre-tightening force are obtained; the processing parameters and corresponding mechanical performance indicators of high-lock nuts under different working conditions are collected. The processing parameters include: the outer circle size of the closing, the outer diameter of the breaking groove, the closing amount, the closing height and the concentration of hexadecanol. The mechanical performance indicators include: locking torque, loosening torque and pre-tightening force. Each set of processing parameters corresponds to a set of mechanical performance indicators.
[0051] S2, under the same processing parameters, the average values and standard deviations of the three mechanical properties are calculated respectively, and then the signal-to-noise ratio of each mechanical property is calculated, different weights are assigned to different signal-to-noise ratios, the signal-to-noise ratios are accumulated, and the total signal-to-noise ratio value is obtained. The total signal-to-noise ratio threshold is set, and the data below the set total signal-to-noise ratio threshold is eliminated;
[0052] The calculation formula for calculating the total signal-to-noise ratio is as follows:
[0053]
[0054] Where η represents the total signal-to-noise ratio, w i represents the weight of the i-th mechanical property, represents the sensitivity of the i-th mechanical property under the j-th experimental result, σ ij represents the standard deviation of the jth experimental result of the ith mechanical property, represents the mean of the experimental results of the jth mechanical property, and n represents the number of experiments under the same processing parameters.
[0055] S3, preprocessing experimental data, normalizing the data and randomly dividing it into training set, validation set and test set;
[0056] S31, the construction of the data set, uses the formula to normalize the selected data features, and all the processed data are scaled to [0,1] to facilitate data processing and calculation. The formula is as follows;
[0057]
[0058] Where X is the normalized eigenvalue and x is the eigenvalue before normalization.
[0059] The normalized data is then randomly divided into training set, validation set and test set.
[0060] S4, design a machine learning model, input the constructed data set into the machine learning model for training, design training learning data rules, predict the locking torque, loosening torque and preload respectively, and evaluate according to the prediction results. The high lock nut mechanical prediction model is a convolutional neural network model (CNN); accept the normalized data, the data dimension is [5,1,1], and construct a neural network structure including convolution layer, batch normalization layer, pooling layer, full connection layer, etc. Two convolution layers are set, and feature maps are generated using a convolution kernel of size 3x1, generating 16 and 32 feature maps respectively. Add a batch normalization layer and a ReLU activation layer after each convolution layer, train the model by setting training options and parameters, and then use the trained model to predict the input data of the test set.
[0061] S5, use the untrained processing parameter data to test the model, and adjust the parameters according to the test results, and finally obtain the mechanical property prediction model of the high lock nut.
[0062] The root mean square error RMSE is selected as the performance indicator of the comparison sub-model to evaluate the prediction results and model performance. The specific calculation formula is as follows:
[0063] Root Mean Square Error:
[0064]
[0065] Where N represents the number of samples in the dataset, y i Indicates the true value of a mechanical performance index. It indicates the prediction of a certain mechanical performance index value. It represents the average value of a certain mechanical performance index.
[0066] The test data set is preprocessed according to the construction method of the training data set, and input into the trained network model for result evaluation. The results of the model output are compared to see if they are consistent with the actual results. According to the comparison results, the number of layers and learning rate of the network structure are fine-tuned to improve its prediction accuracy. The convolutional neural network identifies different features in the input data through the convolution layer, and the pooling layer reduces the spatial size of the feature map while retaining important feature information, reducing the network's sensitivity to position, improving computational efficiency and reducing overfitting. Finally, the fully connected layer integrates and classifies the features extracted by the convolution layer and the pooling layer to achieve input-to-output prediction.
[0067] S6, the multi-objective genetic algorithm optimizes the processing parameters by calling the trained convolutional neural network model.
[0068] S61, the convolutional neural network trained in step 4 is used as a proxy model and coupled to the NSGA-II algorithm to replace the fitness function.
[0069] S62, define the optimization problem, including the number of input variables, the number of objective functions, the population size, the number of iterations, the crossover probability, the mutation probability, and the range of the constraint variables.
[0070] S63, by initializing the population, randomly generating initial individuals, and calculating their corresponding fitness function values (locking torque, loosening torque and preload).
[0071] S64, using non-dominated sorting to divide individuals in the population into different Pareto front sets, and calculate the crowding of individuals. During the evolution process, the program updates the population through selection, crossover, mutation and other operations, and sorts and eliminates individuals according to non-dominated sorting and crowding. During the iteration process, the current iteration number and the number of individuals in the Pareto front set are visualized, and the Pareto front set of the current iteration is visualized. Finally, a set of non-dominated solutions, namely the Pareto front, is output.
[0072] Figure 3 It is the performance output diagram of the mechanical property prediction model of the high lock nut of the present invention. Figure 3 It can be seen that as the training progresses, the prediction error of the model shows an obvious downward trend, and the prediction effect of the prediction model is quantitatively evaluated based on the evaluation index RMSE, which proves the effectiveness of the prediction of this method.
[0073] refer to Figure 4 The implementation process shown and Figure 5The Pareto frontier of the machining parameters of the high-lock nut shown in the figure is based on a set of machining parameters with the largest total signal-to-noise ratio in the experiment. The locking torque of the basic model is 0.75N*M, the loosening torque is 0.50N*M, and the preload is 6.2N. In order to verify the optimization results, three representative points A, B, and C are selected from the Pareto optimal solution set to compare with the basic model in all aspects. Point A and point C are points close to the two ends of the Pareto frontier, and point B is in the middle area of the Pareto frontier. Compared with the basic model, the locking torque of point A is better than that of the basic model, but the loosening torque and preload are inferior to the basic model, indicating that the area near point A is suitable for applications with small locking torque; the loosening torque and preload of point C are better than the basic model, but the locking torque is reduced, indicating that point C and the area near it are suitable for applications that prefer high loosening torque and high preload, and do not have too high requirements for locking torque. Designers can select preferred solutions from these areas according to actual needs. Compared with the basic model, point B performs better than the basic model in three performance indicators. Taking point B as the optimal model, the experiment based on the corresponding processing parameters shows that the locking torque is increased by 16%, the loosening torque is increased from 0.50N*M to 0.52N*M, and the preload is increased by about 25.4%. Therefore, point B and the points in its vicinity can be regarded as the optimization result model of this study, which proves the feasibility of this method.
[0074] The above description is only a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the inventive concept, which all belong to the protection scope of the present invention.
Claims
1. A method for predicting mechanical properties of high lock nuts and optimizing processing parameters, characterized in that: Here are the steps: S1 obtains the processing parameters of the whole process of processing high lock nuts and obtains the corresponding three performance indicators of high lock nut locking torque, loosening torque and preload through experiments. The processing parameters include: closing outer circle size, twist-off groove outer diameter, closing amount, closing height, and hexadecanol concentration. Each set of processing parameters corresponds to a set of mechanical performance indicators. S2 calculates the average and standard deviation of the three mechanical performance indicators under the same processing parameters, and then calculates the signal-to-noise ratio of each mechanical performance indicator, assigns different weights to different signal-to-noise ratios, accumulates the signal-to-noise ratios, obtains the total signal-to-noise ratio value, sets the total signal-to-noise ratio threshold, and eliminates the data below the set total signal-to-noise ratio threshold; The calculation formula for calculating the total signal-to-noise ratio is as follows: Where η represents the total signal-to-noise ratio, w i represents the weight of the i-th mechanical property, represents the sensitivity of the i-th mechanical property under the j-th experimental result, σ ij represents the standard deviation of the jth experimental result of the ith mechanical property, represents the mean of the experimental results under the jth condition of the ith mechanical property, and n represents the number of experiments under the same processing parameters; S3 preprocesses the filtered data, optimizes and normalizes the sample data set, removes the influence of dimension, and then divides the optimized sample data set into training set, validation set and test set; S4 inputs the preprocessed data into the convolutional neural network model for training, and uses the information of the five processing parameters and corresponding mechanical performance indicators of the high lock nut in the training data sample to use the convolutional neural network to learn the nonlinear mapping relationship between the features automatically extracted from the processing parameters and the mechanical properties, and then predicts the locking torque, loosening torque and preload respectively and evaluates them according to the prediction results; S5 uses untrained processing parameter data to test the model, and adjusts the parameters according to the test results, and finally obtains the mechanical property prediction model of the high lock nut; S6 adopts the NSGA-II algorithm and uses the convolutional neural network prediction model trained in step S4 as the proxy model. It takes minimizing the locking torque, maximizing the loosening torque and the maximum preload as the optimization target and the constraints of the optimization target, and outputs the Pareto optimal solution set of the processing parameters.
2. The method according to claim 1, characterized in that The proxy model is one or a group of explicit or implicit function models obtained by learning and training the collected high-lock nut data samples.
3. The method according to claim 1, characterized in that The convolutional neural network model includes two convolutional layers, one pooling layer and one fully connected layer. The convolution kernels of the two convolutional layers are 16 and 32 respectively. A batch normalization layer and a ReLU activation layer are added after each convolutional layer.
4. The prediction method according to claim 1, characterized in that: The root mean square error (RMSE) was selected as the performance indicator for comparing convolutional neural networks to evaluate the prediction results and model performance.
5. The prediction method according to claim 1, characterized in that: The processing method of the NSGA-II algorithm comprises the following steps: S61, using the convolutional neural network trained in step S4 as a proxy model, coupled to the NSGA-II algorithm to replace the fitness function; S62, defining the optimization problem, including the number of input variables, the number of objective functions, the population size, the number of iterations, the crossover probability, the mutation probability, and the range of the constraint variables; S63, by initializing the population, randomly generating initial individuals, loading data, normalizing the parameter structure and calling the trained convolutional neural network as a proxy model, minimizing the locking torque, maximizing the loosening torque and the maximum preload force as the optimization target and the constraints of the optimization target, and calculating the fitness function values corresponding to the locking torque, the loosening torque and the preload force; S64, use non-dominated sorting to divide the individuals in the population into different Pareto front sets, and calculate the crowding degree of the individuals. According to the non-dominated sorting level and crowding degree, sort the population, select the first 8 individuals as the new population, update the Pareto front solution set, record the current optimal solution, repeat these steps until the maximum number of iterations is reached, and obtain the Pareto optimal solution set of processing parameters.
Citation Information
Cited By
Multi-stage multi-target process parameter optimization method under strong coupling in composite material fiber placement process
CN121583411A
Multi-stage, multi-objective process parameter optimization method under strong coupling in composite fiber placement process
CN121583411B
