Next Article in Journal
Investigating the Impact of Process Parameters on Bead Geometry in Laser Wire-Feed Metal Additive Manufacturing
Previous Article in Journal
Optimizing the Die-Sink EDM Machinability of AISI 316L Using Ti-6Al-4V-SiCp Electrodes: A Computational Approach
Previous Article in Special Issue
Revealing the Relationship between Critical Inlet Velocity and a Double-Layer Oxide Film Combined with Low-Pressure Casting Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network

1
College of Mechanical and Electrical Engineering, Harbin Engineering University, Harbin 150001, China
2
Institute of Advanced Technology, Heilongjiang Academy of Sciences, Harbin 150080, China
*
Author to whom correspondence should be addressed.
J. Manuf. Mater. Process. 2024, 8(5), 203; https://doi.org/10.3390/jmmp8050203
Submission received: 10 August 2024 / Revised: 13 September 2024 / Accepted: 17 September 2024 / Published: 18 September 2024
(This article belongs to the Special Issue Industry 4.0: Manufacturing and Materials Processing)

Abstract

:
Machining quality prediction is the critical link of quality control in parts machining. With the advent of the Industry 4.0 era, intelligent manufacturing and data-driven technologies bring new ideas for quality control in complex machining processes. Quality control is complicated for multi-process, multi-condition, small-batch, and high-precision parts processing requirements. To solve this problem, this paper proposes a machining quality prediction method based on the machining error transfer network and the grey neural network. Initially, by constructing a processing error transfer network, the error transfer law in part processing is described, and the PageRank algorithm and the influence degree of the nodes are used to determine the critical quality features. Additionally, the problem of low prediction accuracy due to small sample data and multiple coupling relationships is solved using the grey neural network algorithm, and a high accuracy prediction of critical quality features is achieved. Finally, the effectiveness and reliability of the method are verified by the case of medium-speed marine diesel engine fuselage processing. The results indicate that this method not only effectively identifies critical quality features in the machining process of complex parts, but it also maintains a high predictive accuracy for these features, even with small samples and limited data.

1. Introduction

Processing quality prediction is crucial in modern manufacturing, mainly when producing complex parts. By collecting and analyzing various parameters in processing, establishing an effective prediction model has become a meaningful way to achieve intelligent manufacturing. Through accurate quality prediction, not only can we improve the manufacturing quality of parts and reduce the production cost, but we can also effectively reduce the product defective rate and scrap rate [1]. The joint action of multiple processes usually guarantees the final machining quality of complex parts. Such parts have a complex structure and various processes. The machining quality of parts is not only affected by machining machine tools, tools, fixtures, and other machining elements and cutting parameters, but it also may be affected by the output quality errors of the previous process [2]. Therefore, it is necessary to carry out a detailed analysis of each process in the process of parts processing in order to achieve comprehensive quality control.
In recent years, with the rapid development of machine learning methods and extensive data analyses, establishing efficient and accurate quality prediction models has become the mainstream direction of the manufacturing industry [3]. Especially in the era of Industry 4.0, intelligent manufacturing has gradually become a significant development trend in the manufacturing industry. By integrating industrial IoT and big data platforms, the manufacturing process can collect and analyze the processing data of multiple processes in real time to achieve dynamic control and a prediction of processing quality. The wide application of new sensors and the enhancement of computing power have also further promoted progress in this field. Many scholars have proposed various methods to improve the accuracy and efficiency of processing quality prediction. Common quality prediction methods include grey theory [4,5], neural network [6], particle swarm [7,8], and support vector machine [9]. These methods have advantages in different application scenarios and are suitable for different data situations and problem types. Grey theory suits situations with few data and incomplete information, while neural networks deal well with complex nonlinear relationships. Particle swarm optimization searches for the global optimal solution by simulating population intelligence, while support vector machines perform well in dealing with high-dimensional data and minor sample problems. Wang et al. [10] combined grey system theory and artificial neural networks to predict the machining quality of shaft parts more accurately under limited data, thus optimizing the production process. Manikandan et al. [11] solved the problem of short tool life and the poor machinability of Hastealloy C276 by optimizing the EDM parameters through the hybrid grey relational analysis and neural network model. Soepangkat et al. [12] used grey fuzzy analysis and the BPNN-GA method to optimize the cryogenically cooled face milling process, effectively improving the multiple performances regarding surface roughness, cutting force, and the metal removal rate. Jiang et al. [13] used support vector regression based on the error transfer network and particle swarm optimization to solve effectively the problem of insufficient data in aerospace manufacturing. Xu et al. [14] proposed a neural network algorithm based on particle swarm optimization and grey correlation, which significantly improved the accuracy of machining quality prediction. Huang et al. [15] solved the automation problem in grinding machining by using least squares and support vector machines. Lu [16] proposed a radial-based neural network model with adaptive parameter tuning to predict the turning surface quality. Abburi et al. [17] developed an adaptive prediction system for turning surface roughness based on neural networks and fuzzy set theory. This can achieve a more accurate prediction under limited training data. Liu et al. [18] combined a simulated annealing algorithm and BP neural network to achieve the prediction of cutting deformation. Ashtiani et al. [19] developed a neural network model based on a feed-forward propagation learning algorithm for predicting the thermal-deformation behavior of alloys. Lu [20] developed a model to predict surface roughness in the machining process of a part, based on Support Vector Machines (SVMs) and the Artificial Bee Colony (ABC) algorithm. The prediction model significantly improved the prediction accuracy and reduced the parameter adjustment time. However, most studies focus on predicting part quality under a single process. Complex multi-process parts’ processing features inevitably affect the final quality due to the coupling effect of inter-process error transfer. The accuracy of the established quality prediction model may decrease if the role of error transfer in processing between processes is ignored [21].
Many scholars have proposed methods for predicting machining quality features oriented towards complex multi-process parts. Abelian et al. [22] analyzed multi-process parts’ process configuration and machining features. Yin et al. [23] proposed a knowledge fusion model based on a rough set algorithm to achieve a machining quality prediction for the multi-process manufacturing of complex surface parts. Wang et al. [24] proposed a data-driven modeling approach to predict product quality in real time by obtaining the time-varying relationship between the final quality and process through the current process information. Once the state of the machining system changes, the accuracy of the established quality prediction model may also be affected. In addition, when complex parts are primarily produced in small batches, and there are insufficient machining sample data, the prediction accuracy of traditional machine learning models often fails to meet the real-time and accuracy requirements of Industry 4.0.
This paper proposes a processing quality prediction method based on a processing error transfer network and grey neural network. Quality problems in the processing of products are usually the result of the substandard processing of critical quality features in a small number of critical processes. Initially, to identify the critical quality features that have a more significant impact on quality in multi-process processing, a processing error transfer network model is established. The importance of the nodes of this model is ranked by the PageRank algorithm and the node influence degree to obtain the critical quality features of complex parts. Moreover, the number of data samples and the coupling relationship between machining quality features significantly influence the prediction results of machining quality features. The machining quality prediction model constructed by the grey neural network algorithm can produce a high-precision prediction with fewer sample data and multiple coupling relationships. Finally, the proposed method is validated by taking the machining of a medium-speed marine diesel engine’s fuselage as an example.

2. Establishment and Analysis of Machining Error Transfer Network

Complex network theory is an effective method to analyze complex systems’ coupling relationships [25]. It can model complex systems and analyze their important nodes and relationships. In the process of complex parts machining, the machining features are the basic unit of parts machining, and its state change is the change process of quality features. Therefore, using complex network theory to construct a model of error transfer based on the evolution of machining features can effectively reflect the law of error generation, accumulation, and transfer in machining [26]. By analyzing the importance of the nodes in the processing error transfer network, it is possible to identify the critical nodes that have a more significant impact on the processing quality, which provides the basis for the subsequent quality prediction.

2.1. Establishment of Machining Error Transfer Network

The error transfer network model for machining complex parts mainly includes nodes and edges. The network nodes are divided into machining feature nodes, quality feature nodes, and machining element nodes. The quality features depend on the machining features, reflecting the machining level, while the machining element nodes mainly input errors to the machining features. According to the evolution process of machining features in different stages during part machining, the positioning relationship between workpiece datums, the use of different machining elements, and the coupling relationship between machining features and their attached quality features, the connecting edges between the nodes are divided into four categories. These categories are evolution, positioning, machining, and attribute relationships [27]. The specific description of the edge relationships between nodes in the machining error transfer network is shown in Figure 1 below:
Define the complex part machining error transfer network model as follows:
G = < { W , M , Q } , E >
where, W = { W 1 , W 2 , , W l } represents the complex parts processing process-processing elements node-set. M = { M 1 , M 2 , , M m } represents the complex parts processing features node-set. Q = { Q 1 , Q 2 , , Q h } represents the complex parts processing the features’ output quality features node-set. E = { E 1 , E 2 , , E q } represents the complex parts processing the error transfer network processing quality between processes or between the processing quality and the processing elements of the directed edge-set.
According to the description of each machining quality node and edge relationship in the machining process of the part, the error transfer connection between different machining feature nodes mainly relies on the evolution relationship, positioning relationship, and attribute relationship. The error transfer between machining feature nodes and machining element nodes mainly relies on the machining relationship. The network formed by the nodes with evolutionary (ER), positioning (LR), processing (PR), and attribute relationships (AR) is defined as the machining error transfer network. Figure 2 is a schematic diagram of the part processing error transmission sub-network.
The machining process sub-network is established based on the above. The sub-networks are merged by the machining sequence between the machining qualities to finally form a complete complex part machining error transfer network model.

2.2. Analysis of Critical Nodes in Machining Error Transfer Network

When analyzing objects with complex processing technology and numerous processes, it is difficult to identify the key processes solely through technical analysis, excluding human subjective judgment. Therefore, it is necessary to introduce topological relationship evaluation indexes to analyze the nodes and the topological relationship of the nodes in the processing error transfer network. The commonly used evaluation metrics are the degree of the nodes, average degree, network diameter, aggregation factor, average path length, etc. [28]. Although, such metrics can describe the overall performance of the network and the degree of correlation between the nodes. However, the importance of each node in a complex workpiece machining error transfer network is generally different. To more accurately rank the importance of the nodes in the part machining error transfer network and identify the critical nodes in the machining process, this paper uses the PageRank algorithm to calculate the importance of each node in the network.
The PageRank (PR) algorithm is used to rank web pages, assessing the importance of each web page by analyzing the linking relationships between them [29]. The basic principle of the PR algorithm is that, initially, each node is assumed to have the same weight, and the node weights are calculated through an iterative rule until they converge to a stable value. This stable value is called the node’s value; a higher node value indicates a higher node’s importance in the network.
The iteration rule of the PR algorithm is denoted as follows:
A = a 11 a 1 d a 1 M a m 1 a m d a m M a M 1 a M d a M M
B i = A · B i 1
where B i is the matrix of the PR values of network nodes after the i-th iteration, the initial PR values B 0 of the nodes are all set to 1/N, and N is the number of nodes in the network. a m d in the matrix A represents the number of edges pointing to the d-th network node from the m-th network node.
The PR algorithm can obtain the weights of each quality feature node in the fuselage machining error transfer network. However, since the quality feature nodes are located at the network’s final output, these weights cannot fully reflect their actual impact. In order to better assess the importance of the quality feature nodes, the influence degree E can be defined as the node importance evaluation index. Firstly, the machining feature nodes with large PR values are filtered out and defined as critical quality control nodes. Then, the corresponding quality features are extracted based on these critical quality control nodes. Finally, the quality feature nodes’ weighted in-degree and weighted out-degree are defined, and their influence degree is solved. The weighted out-degree indicates the influence of the analyzed quality feature node on other quality feature nodes, and the weighted out-degree indicates the degree of influence of other quality feature nodes on the analyzed quality feature node.
E = w M · ( i Q O i w i + j Q p j w j )
where w M represents the weight of the machining feature node corresponding to the analyzed quality feature node. w i represents the weight of other quality features pointed outward by the analyzed quality feature nodes. Q O i represents the set of other quality feature nodes that the analyzed quality feature nodes point outward. w j represents the weight of other quality feature nodes pointing to the analyzed quality feature nodes (including their weight). Q P j represents the set of other quality feature nodes pointing to the analyzed quality feature nodes.
By calculating the influence degree E value of the quality feature nodes and ranking them according to the size of E, the one with a higher influence degree ranking is defined as the critical quality feature. Identifying critical quality features provides accurate data and decision support for the subsequent prediction of processing quality for critical quality features.

3. Establishment of Grey Neural Network-Based Machining Quality Prediction Model

The machining quality prediction model is a typical nonlinear multivariate pre-system model. For complex parts with multiple processes, multiple working conditions, small batches, and high accuracy, the input and output of the pre-machining quality prediction model usually show nonlinear features. Therefore, this paper adopts a grey neural network to construct the G N N M ( 1 , N ) prediction model. The algorithm performs well in dealing with nonlinearity and a small sample prediction. The G N N M ( 1 , N ) prediction model has a higher computational accuracy and controllable error than the conventional grey model. Compared with the conventional neural network prediction model, the G N N M ( 1 , N ) prediction model is less computationally intensive and achieves a high prediction accuracy with a small number of samples [30]. With this combination, the accuracy and stability of the prediction model are significantly improved. Figure 3 shows the schematic diagram of the G N N M ( 1 , N ) prediction model.

3.1. Establishment of GM (1, N) Prediction Model

In parts machining, the machining quality is often affected by various factors, so it is suitable to use the grey multivariate prediction G M ( 1 , N ) model. The G M ( 1 , N ) model contains N variables, including one feature variable and N−1−related factor variables. The model is used to describe the influence of N variables with correlation to the prediction target, and it takes into account the degree of correlation between the variables and the magnitude of the influence to predict the trend of the feature variables.
Let there be a total of n sets of N sample data consisting of the associated processing quality features X. Define the original feature data sequence as X 1 ( 0 ) , which can be expressed as follows:
X 1 ( 0 ) = ( x 1 ( 0 ) ( 1 ) , x 1 ( 0 ) ( 2 ) , , x 1 ( 0 ) ( n ) )
The correlation factor sequence is X i ( 0 ) , which can be expressed as follows:
X i ( 0 ) = ( x i ( 0 ) ( 1 ) , x i ( 0 ) ( 2 ) , , x i ( 0 ) ( n ) )
where i = 2 , 3 , , N . For this machining quality prediction system model, a cumulative generation operator on X 1 ( 0 ) is performed to compute the 1−AG0 sequence X i ( 1 ) .
X i ( 1 ) ( k ) = x 1 ( 0 ) ( k ) + x 1 ( 0 ) ( k ) + + x n ( 0 ) ( k )
In order to satisfy the necessity of quasi-exponential laws for the G M ( 1 , N ) model operation, a smoothness test is required for the original sequence X 1 ( 0 ) ( k ) . If the original sequence is X 1 ( 0 ) = ( x 1 ( 0 ) ( 1 ) , x 1 ( 0 ) ( 2 ) , , x 1 ( 0 ) ( k ) ) , x 1 ( 0 ) ( k ) 0 , k = 2 , 3 , , n , then ρ ( k ) = x 1 ( 0 ) ( k ) x 1 ( 0 ) ( k 1 ) is said to be the smooth ratio of the sequence X 1 ( 0 ) . If ρ ( k ) [ 0 , 0.5 ] , then X is said to be a quasi-smooth sequence. That is, it satisfies the quasi-exponential law of model operations.
Z 1 ( 1 ) ( k ) is the immediate neighboring mean generating sequence of X 1 ( 1 ) ( k ) , which can be expressed as follows:
Z 1 ( 1 ) ( k ) = 1 2 [ X 1 ( 1 ) ( k ) + X 1 ( 1 ) ( k 1 ) ] k = 2 , 3 , , n
Build the G M ( 1 , N ) prediction model using first-order differential equations.
X 1 ( 1 ) ( k ) + α Z 1 ( 1 ) ( k ) = i = 2 N b i X i ( 1 ) ( k )
where α is the development coefficient, b i is the driving coefficient, b i X i ( 1 ) ( k ) is the driving term, and a ^ = ( α , b 2 , , b n ) T . The parameters of a ^ = ( α , b 2 , , b n ) T are estimated by the least squares route and satisfy the following form:
a ^ = ( B T B ) 1 B T Y
Y = X 1 ( 0 ) ( 2 ) X 1 ( 0 ) ( 3 ) X 1 ( 0 ) ( n ) , B = Z 1 ( 1 ) ( 2 ) Z 2 ( 1 ) ( 2 ) Z N ( 1 ) ( 2 ) Z 1 ( 1 ) ( 2 ) Z 2 ( 1 ) ( 3 ) Z N ( 1 ) ( 3 ) Z 1 ( 1 ) ( n ) Z 1 ( 1 ) ( n ) Z N ( 1 ) ( n )
When the variation of X i ( 1 ) ( i = 1 , 2 , , N ) is small, the approximate time response expression x ^ 1 ( 1 ) ( k + 1 ) for G M ( 1 , N ) is as follows:
x ^ 1 ( 1 ) ( k + 1 ) = ( x 1 ( 1 ) ( 0 ) 1 α i = 2 N b i x i ( 1 ) ( k + 1 ) ) e α k + 1 α i = 2 N b i x i ( 1 ) ( k + 1 )
According to the principle of information priority, X 1 ( 1 ) ( 0 ) is taken as X 1 ( 0 ) ( n ) . Through the cumulative reduction of x ^ 1 ( 1 ) ( k + 1 ) , the x ^ 1 ( 0 ) ( k + 1 ) value of the prediction result sequence can be obtained.
x ^ 1 ( 0 ) ( k + 1 ) = x ^ 1 ( 1 ) ( k + 1 ) x ^ 1 ( 1 ) ( k ) , k = 1 , 2 , , n
Although the G M ( 1 , N ) prediction model can predict the machining quality for small samples and information-poor parts, the prediction results will have errors due to its insufficient sample information and data randomness. Quality prediction accuracy is mainly affected by the residuals between the predicted and actual values. The overall prediction accuracy will be significantly improved if the residuals can be reasonably handled.

3.2. Construction of BP Neural Network Model

After years of development, the BP neural network has become the best and central part of artificial neural networks. In dealing with practical problems, it can transform a set of sample input/-output problems into a nonlinear optimization problem and is a powerful tool for summarizing the laws. The BP neural network has many advantages when fitting sequences. It can imitate various functional forms, such as nonlinear and segmented functions, without assuming the functional relationship between the data and directly using it to establish the correlation. At the same time, the BP neural network has high information utilization and avoids the loss of information due to positive and negative cancellations in data processing [31]. Therefore, the BP neural network is particularly suitable for the residual correction of the G M ( 1 , N ) model.
Considering that the processing examples and sample data selected in this paper have a small amount of computing power, and referring to the experience of related successful cases, this paper chose the three-layer neural network structure shown in Figure 4. The network consists of the input layer, hidden layer, and output layer. The complete training process includes two stages: forward propagation and backpropagation.
N network training samples are identified, and one of them, sample p, is selected to train the neural network. Under the action of sample p, the input n e t i p of the i-th neuron in the hidden layer is as follows:
n e t i p = j = 1 M w i j o j p θ i = j = 1 M w i j x j p θ i
where i = 1 , 2 , , q , j = 1 , 2 , , M and q is the number of nodes in the hidden layer. x j p and o j p are the input and output of the infuser node j under the action of the sample p, which is the same. w i j is the connection weight between the infuser layer neuron j and the hidden layer neuron I. θ i is the threshold value of the hidden layer neuron i.
The output o i p of the i-th neuron of the hidden layer is as follows:
o i p = g ( n e t i p )
where g ( · ) is the activation function.
The total input n e t k p for the kth neuron of the output layer is as follows:
n e t k p = i = 1 q w k i o i p θ k
where w k i is the connection weight between neuron k of the output layer and neuron i of the hidden layer, and k = 1 , 2 , , L . θ k is the threshold value of neuron k of the output layer.
The actual output o k p is as follows:
o k p = g ( n e t k p )
Error function J p is as follows:
J p = 1 2 k = 1 L ( t k p o k p ) 2
where t k p is the desired output.
The error signal δ k p of the output layer node is as follows:
δ k p = J p n e t k p = ( t k p o k p ) o k p ( 1 o k p )
The error signal δ i p of the hidden layer node is as follows:
δ i p = J p n e t i p = J p o i p o i p ( 1 o i p )
The weighting coefficient A4 correction formula for any kth neuron of the output layer is as follows:
Δ w k i = η δ k p o i p = η o k p ( 1 o k p ) ( t k p o k p ) o i p
The incremental equation is as follows:
Δ w k i ( k + 1 ) = w k i ( k ) + η δ k p o i p
where η is the learning rate and η > 0 .
The weighting coefficient correction formula for any i-th neuron of the hidden layer is given by the following:
Δ w i j = η δ i p o j p = η o i p ( 1 o i p ) ( k = 1 L δ k p w k i ) o j p
where A2 is the output of the j-th neuron of the input layer, the incremental formula is as follows:
Δ w i j ( k + 1 ) = w i j ( k ) + η δ i p o j p

3.3. Construction of the GNNM (1, N) Prediction Model

The grey neural network model is an organic combination of grey prediction and neural network modeling methods, which can solve complex uncertainty problems nonlinearly [32]. This paper uses the BP neural network to correct the residuals of the GM (1, N) prediction model and predict the residuals. The predicted values of the GM (1, N) prediction model are adjusted according to the residuals corrected by the BP neural network to improve the overall prediction accuracy.
Let the difference between the previous mass feature original data sequence x ( 0 ) ( t ) and the GM(1,N) prediction model prediction result sequence x ^ ( 0 ) ( t ) at moment t, called the residual sequence, denoted as e ( 0 ) , be expressed as follows:
e ( 0 ) = x ( 0 ) ( t ) x ^ ( 0 ) ( t )
If S is the prediction order, the input sample for BP network training is as follows:
e ( 0 ) ( t 1 ) , e ( 0 ) ( t 2 ) , , e ( 0 ) ( t S )
where t = 1 , 2 , , n . e ( 0 ) ( t ) is the expected value of prediction for BP network training. The above BP algorithm is used to train the residual model. The trained network model can be used as an effective tool for residual series prediction.
Let the residual sequence predicted by the network training model be e ^ ( 0 ) ( t ) , and construct a new prediction value X ^ ( 0 ) based on it.
X ^ ( 0 ) = x ^ ( 0 ) ( t ) + e ^ ( 0 ) ( t )
Then, X ^ ( 0 ) is the predicted value of the G N N M ( 1 , N ) prediction model.

3.4. Analysis of GNNM (1, N) Prediction Model Results

There are many ways to validate the accuracy of the GNNM (1, N) prediction model built for critical quality features. In this paper, R 2 is chosen to determine the degree of fit of the prediction model. The R 2 mathematical model is as follows:
R 2 = i = 1 n ( y i y i ) 2 i = 1 n ( y i y i ¯ ) 2
The Root Mean Square Error (RMSE) is used to measure the deviation of the predicted value of the forecasting model from the actual value. The mathematical model of the RMSE is expressed as follows:
R M S E = i = 1 n ( y i y i ) 2 n
In the above two equations, n is the number of validated samples, y i is the actual value of the validated samples, y i is the prediction result of the GNNM (1, N) prediction model, and y i ¯ is the average value of the validated samples. When the value of R 2 is closer to 1, it indicates that the fit of the established prediction model is higher, and when the value of R 2 is more significant than 0.9, it indicates that there is a better correlation between the variables in the prediction model. When the value of the RMSE is closer to 0, it indicates that the deviation between the predicted value of the prediction model and the real value is more minor.

4. Instance Analysis

In order to verify the practicality of this method, the machining process of the fuselage of a particular model of a medium-speed marine diesel engine is taken as an example, as shown in Figure 5. The fuselage has a complex structure and many processes involving multiple equipment, multiple stations, and multiple datums. The machining process of the fuselage is affected not only by cutting parameters and machining factors such as machine tools, cutting tools, and fixtures, but also by the output quality error of the previous process. Therefore, it is difficult to objectively and effectively control the quality of critical quality features that affect the quality of fuselage machining in actual machining, resulting in insufficient final quality control. In order to reasonably determine the fuselage machining process and achieve control of the machining quality, it is necessary to predict the critical quality features in machining.
In order to describe more clearly the machining error transfer relationship between the processes and between processes and output quality during fuselage machining, each process of the fuselage is decomposed into multiple machining features. Each processing feature corresponds to different quality features and processing elements. Combined with the machining process of marine diesel engine fuselage and its features, 28 machining features, 62 quality features, and 24 machining elements are finally abstracted and coded. The coding rules are shown in Table 1 below.
According to the coding rules, the error transfer network model is constructed according to the processing sequence between the fuselage processing qualities. Calculate the PR size of each node in the network according to the PR algorithm. The PR value of each node after the stable convergence of the PR algorithm is shown in Table 2 below.
According to the size of the PR value of each node, using Gephi—0.9.7 software, the fuselage error transfer visualization network is established as shown in Figure 6. Where the size of the network node represents the size of the PR value, i.e., the larger the network node, the higher its influence will be.
Among the machining feature nodes, the machining feature node with a more significant value is defined as the critical machining feature of the fuselage. According to the analysis results of the process error transfer network, it can be found that the critical machining features correspond to the numbers MF150B, MF140B, MF130A, MF130C, MF150A, and MF080B. The critical machining feature numbers correspond to the mass formation process corresponding to the cylinder bores, camshafts, and crankshaft bores. The critical machining feature numbers correspond to the mass formation process of cylinder bores, camshafts, and crankshaft bores and the finishing process of hafted surfaces, end surfaces, and cylinder bore surfaces, respectively. The critical machining features for a marine diesel engine body include the dimensional and form accuracy of the top surface, bottom surface, crankshaft bores, camshaft bores, and cylinder bores. These features significantly affect the assembly and use of the diesel engine.
The quality of the machine body processing is mainly affected by machining errors, which are reflected in the quality characteristics output by various processes, such as surface quality, dimensional accuracy, and geometric tolerances. Considering the influence of the position of the quality feature nodes in the machining error transfer network, this paper assesses the criticality of the quality feature nodes based on the influence degree E, as defined in Section 2.2. As shown in Figure 7, the degree of influence of the output quality feature nodes of critical machining features is demonstrated.
According to Figure 7, it can be seen that the influence degree of the quality feature nodes coded as QF130Ac, QF140Bd, QF150Bd, QF150Ba, QF130Cd, QF130Aa, QF140Ba, and QF150Ba is significantly higher than the other nodes. Among them, QF130Ac (fine boring of crankshaft bore size) has the highest influence degree, followed by QF140Bd (fine boring of camshaft bore size), QF150Bd (fine boring of cylinder bore size), QF130Cd (perpendicularity of end faces and crankshaft bores), QF130Aa (coaxial of crankshaft bores), QF140Ba (coaxial camshaft bores), and QF130Aa (verticality of cylinder bores). Therefore, these quality features are defined as critical quality features in the machining process of the diesel engine body.
This paper defines multiple quality features in the machining process of marine diesel engine fuselage as critical quality features, and its specific range can be divided according to the actual situation by the degree of influence. Since the dimensions of the fine-bored crankshaft holes have the highest degree of influence on the quality of the machining process of the body, the dimensions of the crankshaft holes in the body of a certain model of diesel engine were selected as the prediction of the machining quality to be verified. Table 3 shows the results of the dimensional machining test data collection for the fine-bored crankshaft hole of a diesel engine body. In Table 3  ε s , ε f , and ε t denote the equipment error, fixture error, and tool error. n , f , and α p denote the rotational speed ( r / min ) , feed rate ( m m / min ) , and depth of cut ( m m ) .
Based on the above experimental data, Python 3.12.5 software constructed a GNNM (1, N) prediction model for the dimensions of fine-bored crankshaft holes for body machining quality. In order to prove the superiority of GNNM (1, N) in solving the optimization problem, the algorithm is compared with the GM (1, N) prediction model. The GNNM (1, N) parameters are set as follows: the learning rate is chosen to be 0.6, the convergence rate is 0.001, and the mean square error is limited to 0.01. Sample data numbered 1 to 40 in Table 3 are used as the training set, and data numbered 41 to 50 are used as the test set for substitution into the prediction model. The prediction results are shown in Figure 8. The red line in Figure 8 indicates the actual value, the green line indicates the prediction of the GNNM (1, N) model, the black line indicates the prediction of the BPNN(1, N) model, and the blue line indicates the prediction of the GM(1, N) model.
According to Figure 8, the optimized prediction model using neural networks is significantly better than the grey or BP neural network prediction models. Using the test set data for calculating the crankshaft bore size GNNM (1, N) prediction model R 2 = 0.9302 > 0.9 , the R M S E value is 3.8949 × 10 3 . Therefore, the model meets the requirements for prediction accuracy and is highly reliable.

5. Conclusions

This paper proposes a machining quality prediction method based on a machining error transfer network and a grey neural network, which is mainly used to predict the machining quality of complex parts with complex structures, numerous processes, multiple varieties, small batches, and high accuracy. Compared with Reference [32], which describes the evaluation of the process reliability of diesel engine blocks, this paper not only comprehensively considers the influence of processing elements and the cutting parameters on the quality of parts, but it also considers the error transfer in the machining process and achieves the identification of crucial quality features consistent with the processing of production enterprises through the establishment of a network model of error transfer in the machining of parts. At the same time, the method successfully solves the prediction problem caused by insufficient quality data in small-lot production by taking advantage of the grey system’s high-precision short-term prediction advantage under the condition of few samples, and the nonlinear mapping, adaptive, and fault-tolerant ability of neural networks. In addition, the method in this paper closely matches the development concept of Industry 4.0, especially in intelligent manufacturing, which can be better applied to the highly automated production environment to achieve real-time prediction and the control of machining quality and improve the consistency and stability of products. The main conclusions are as follows:
(1) A processing error transfer network model is constructed based on the complex network theory, which realizes the visualization of error transfer in the machining process. The model provides a new perspective for understanding and controlling machining errors, which is consistent with the emphasis on transparency and visualization of the production process in Industry 4.0, and it helps to achieve real-time monitoring and the optimization of the manufacturing process.
(2) Using the PageRank algorithm and the degree of influence of the nodes, the critical quality feature nodes of the machining error transfer network are identified. Manufacturing enterprises can focus on the supervision, detection, and control of these features that have the most significant impact on the quality of the final product, which is in line with the requirements of Industry 4.0 for the precise control of crucial quality features, and ti improves the level of intelligence of the production process.
(3) Combining grey theory with the BP neural network and using the BP neural network to optimize the residuals of the grey prediction model, the grey neural network processing quality prediction model GNNM (1, N) was established. Finally, the method is validated through the machining process of the medium-speed marine diesel engine hull, and the results show that the GNNM (1, N) model still has high prediction accuracy with small samples and few data. This provides an effective quality prediction method for small-lot and multi-variety production in an Industry 4.0 environment, which supports adaptive control and decision-making in intelligent manufacturing.

Author Contributions

Conceptualization, D.Q. and W.L.; Data curation, Y.Z. (Yuting Zhang), C.G. and Y.Z. (Yong Zhan); Formal analysis, Y.Z. (Yuting Zhang), C.G. and Y.Z. (Yong Zhan); Investigation, C.G.; Methodology, D.Q. and W.L.; Software, D.Q., W.L. and Y.Z. (Yuting Zhang); Supervision, Y.Z. (Yuting Zhang) and Y.Z. (Yong Zhan); Validation, W.L. and Y.Z. (Yuting Zhang); Visualization, C.G.; Writing—original draft, D.Q.; and Writing—review and editing, W.L. and Y.Z. (Yong Zhan). All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by designing and verifying key technologies of marine engines’ high reliability in the major special project ship research program of MIIT, Number CBG5N21-2-1. The authors are grateful for the financial support.

Data Availability Statement

The data that support the findings of this study are available upon reasonable request from the corresponding author, Yong Zhan.

Acknowledgments

The authors would like to thank the anonymous reviewers for providing critical comments and suggestions that improved the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gao, H.; Sun, G.; Guo, L.; You, Z.; Liu, Y.; Li, S.; Lei, Y. Research status and development trends of machining quality prediction. J. Southwest Jiaotong Univ. 2024, 59, 121–141. [Google Scholar]
  2. Wang, P.; Li, S.; Zhang, D.; Li, Y. The machining error control of blade shape based on multivariate statistical process control. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2015, 229, 1912–1924. [Google Scholar] [CrossRef]
  3. Zheng, X.; Yu, J.; Liu, H.; Cheng, H.; Sun, X.; Wu, H. Modeling and analysis of adaptive weighted variance propagation network in hybrid multistage machining processes. J. Mech. Eng. 2018, 54, 179–191. [Google Scholar] [CrossRef]
  4. Tien, T. A research on the prediction of machining accuracy by the deterministic grey dynamic model DGDM (1, 1, 1). Appl. Math. Comput. 2005, 161, 923–945. [Google Scholar] [CrossRef]
  5. Rao, K.; Kumar, Y.; Singh, V.; Raju, L.; Ranganayakulu, J. Vibration-based tool condition monitoring in milling of Ti-6Al-4V using an optimization model of GM (1, N) and SVM. Int. J. Adv. Manuf. Technol. 2021, 115, 1931–1941. [Google Scholar] [CrossRef]
  6. Guan, W.; Liu, C. Prediction of surface quality in end milling based on modified convolutional recurrent neural network. Appl. Math. Nonlinear Sci. 2023, 8, 69–80. [Google Scholar] [CrossRef]
  7. Yusup, N.; Zain, A.; Hashim, S. Overview of PSO for optimizing process parameters of machining. Procedia Eng. 2012, 29, 914–923. [Google Scholar] [CrossRef]
  8. Quarto, M.; D’Urso, G.; Giardini, C.; Maccarini, G.; Carminati, M. A comparison between finite element model (FEM) simulation and an integrated artificial neural network (ANN)-particle swarm optimization (PSO) approach to forecast performances of micro electro discharge machining (micro-EDM) drilling. Micromachines 2021, 12, 667. [Google Scholar] [CrossRef]
  9. Lins, I.; Moura, M.; Zio, E.; Droguett, E. A particle swarm-optimized support vector machine for reliability prediction. Qual. Reliab. Eng. Int. 2012, 28, 141–158. [Google Scholar] [CrossRef]
  10. Wang, Q.; Liu, K.; Gao, H. Research on process quality prediction based on grey theory and BP neural network. J. Beijing Inst. Technol. 2011, 31, 249–252. [Google Scholar]
  11. Manikandan, N.; Raju, R.; Palanisamy, D.; Binoj, J. Optimisation of spark erosion machining process parameters using hybrid grey relational analysis and artificial neural network model. Int. J. Mach. Mach. Mater. 2020, 22, 1–23. [Google Scholar] [CrossRef]
  12. Soepangkat, B.; Norcahyo, R.; Pramujati, B.; Wahid, M. Multi-objective optimization in face milling process with cryogenic cooling using grey fuzzy analysis and BPNN-GA methods. Eng. Comput. 2019, 36, 1542–1565. [Google Scholar] [CrossRef]
  13. Jiang, P.; Wang, Y.; Wang, H.; Zheng, M. Multi-process machining quality prediction based on assignment-type error propagation network. J. Mech. Eng. 2013, 49, 160–170. [Google Scholar] [CrossRef]
  14. Xu, L.; Fang, Z.; Liu, S. Quality prediction model based on particle swarm BP neural network. Ind. Eng. 2012, 15, 17–20. [Google Scholar]
  15. Huang, J.; Wang, L.; Li, G.; Zhang, X.; Wang, J. Prediction system of outer cylindrical grinding surface roughness based on least squares support vector machine. Opt. Precis. Eng. 2010, 18, 2407–2412. [Google Scholar]
  16. Lu, C. Study on prediction of surface quality in machining process. J. Mater. Process. Technol. 2008, 205, 439–450. [Google Scholar] [CrossRef]
  17. Abburi, N.; Dixit, U. A knowledge-based system for the prediction of surface roughness in turning process. Robot. Comput.-Integr. Manuf. 2006, 22, 363–372. [Google Scholar] [CrossRef]
  18. Liu, Y.; Yu, H.; Jian, W.; Tian, H. Prediction of Cutting Deformation Based on Annealing Neural Network. Adv. Mater. Res. 2011, 219, 308–311. [Google Scholar] [CrossRef]
  19. Lu, J.; Liao, X.; Li, S.; Ouyang, H.; Chen, K.; Huang, B. An Effective ABC-SVM Approach for Surface Roughness Prediction in Manufacturing Processes. Complexity 2019, 2019, 3094670. [Google Scholar] [CrossRef]
  20. Bai, Y.; Sun, Z.; Zeng, B.; Long, J.; Li, L.; Oliveira, J.; Li, C. A comparison of dimension reduction techniques for support vector machine modeling of multi-parameter manufacturing quality prediction. J. Intell. Manuf. 2019, 30, 2245–2256. [Google Scholar] [CrossRef]
  21. Abellan-Nebot, J.; Liu, J.; Subirón, F. Quality prediction and compensation in multi-station machining processes using sensor-based fixtures. Robot. Comput.-Integr. Manuf. 2012, 28, 208–219. [Google Scholar] [CrossRef]
  22. Yin, Y.; Zhang, L.; Liao, W.; Niu, H.; Chen, F. A knowledge resources fusion method based on rough set theory for quality prediction. Comput. Ind. 2019, 108, 104–114. [Google Scholar] [CrossRef]
  23. Wang, D. Robust data-driven modeling approach for real-time final product quality prediction in batch process operation. IEEE Trans. Ind. Inform. 2011, 7, 371–377. [Google Scholar] [CrossRef]
  24. Hu, H.; Zheng, J.; Hu, W.; Wang, F.; Wang, G.; Zhao, J.; Wang, L. Excavating important nodes in complex networks based on the heat conduction model. Sci. Rep. 2024, 14, 7740. [Google Scholar] [CrossRef] [PubMed]
  25. Zhang, F.; Jiang, P. Complexity analysis of distributed measuring and sensing network in multistage machining processes. J. Intell. Manuf. 2013, 24, 55–69. [Google Scholar] [CrossRef]
  26. Sun, L.; Ren, X.; Zhou, H.; Li, G.; Yang, W.; Zhao, J.; Liu, Y. Machining quality prediction of marine diesel engine block based on error transmission network. Machines 2022, 10, 1081. [Google Scholar] [CrossRef]
  27. Ma, N.; Guan, J.; Zhao, Y. Bringing PageRank to the citation analysis. Inf. Process. Manag. 2008, 44, 800–810. [Google Scholar] [CrossRef]
  28. Estrada, E. The Structure of Complex Networks: Theory and Applications; American Chemical Society: Washington, DC, USA, 2012. [Google Scholar]
  29. Li, B.; Tian, X.; Zhang, M. Thermal error modeling of machine tool spindle based on the improved algorithm optimized BP neural network. Int. J. Adv. Manuf. Technol. 2019, 105, 1497–1505. [Google Scholar] [CrossRef]
  30. Liu, S. Grey System Theory and Its Applications, 3rd ed.; Science Press: Beijing, China, 2021; pp. 140–204. [Google Scholar]
  31. Zhang, J.; Liu, Y. BP neural network model based on attribute kernel feature selection and dynamic determination of hidden layer node numbers. J. Qingdao Univ. Sci. Technol. (Nat. Sci. Ed.) 2021, 42, 113–118. [Google Scholar]
  32. Zhou, H.; Yang, W.; Sun, L.; Jing, X.; Li, G.; Cao, L. Reliability optimization of process parameters for marine diesel engine block hole system machining using improved PSO. Sci. Rep. 2021, 11, 21983. [Google Scholar] [CrossRef]
Figure 1. Edge relationships between nodes in processing error network.
Figure 1. Edge relationships between nodes in processing error network.
Jmmp 08 00203 g001
Figure 2. Processing sub-network.
Figure 2. Processing sub-network.
Jmmp 08 00203 g002
Figure 3. Schematic diagram of the GNNM (1, N) prediction model.
Figure 3. Schematic diagram of the GNNM (1, N) prediction model.
Jmmp 08 00203 g003
Figure 4. Three-layer BP neural network topology.
Figure 4. Three-layer BP neural network topology.
Jmmp 08 00203 g004
Figure 5. Marine medium-speed diesel engine body.
Figure 5. Marine medium-speed diesel engine body.
Jmmp 08 00203 g005
Figure 6. Diesel engine fuselage machining error transmission visualization network.
Figure 6. Diesel engine fuselage machining error transmission visualization network.
Jmmp 08 00203 g006
Figure 7. Quality features Node Influence Degree Curve.
Figure 7. Quality features Node Influence Degree Curve.
Jmmp 08 00203 g007
Figure 8. Comparison of Prediction Results for Fine-Bored Crankshaft Hole Quality Based on Different Algorithms.
Figure 8. Comparison of Prediction Results for Fine-Bored Crankshaft Hole Quality Based on Different Algorithms.
Jmmp 08 00203 g008
Table 1. Coding rules of processing technology relationship network nodes.
Table 1. Coding rules of processing technology relationship network nodes.
Node TypeCode RuleInstance
Machining feature nodesMF + process ID + machining
feature ID
MF020A represents the machining feature A of machining process number 020.
Quality feature
nodes
QF + process ID + machining
feature ID + quality feature ID
QF020Aa represents the quality feature of machining feature A of machining process number 020.
Machining element nodesMT + machine model; CT +
tool model; FT + fixture model
MT01 represents machine tool 01; CT01 represents tool 01; and
FT01 represents fixture 01.
Table 2. PR value of each node feature of the fuselage machining process network.
Table 2. PR value of each node feature of the fuselage machining process network.
Node FeaturesPR ValueNode FeaturesPR ValueNode FeaturesPR Value
MF030A0.00785MF050B0.00888MF140B0.03068
QF030Aa0.00612QF050Ba0.00642QF140Ba0.00599
QF030Ab0.00745MF050C0.00690QF140Bb0.00599
MF030B0.00795QF050Ca0.00725QF140Bc0.00599
QF030Ba0.01200MF050D0.00690QF140Bd0.01112
QF030Bb0.01182MF130A0.02779MF150A0.02496
QF040Aa0.00923MF130B0.01812QF150Ab0.01355
QF040Ab0.00650QF130Ba0.00826MF150B0.03152
MF050A0.00703QF130Bb0.01100QF150Ac0.00807
QF050Aa0.00925QF130Bc0.02554QF150Ad0.00808
Table 3. Sample data collection form for finish boring crankshaft bore size.
Table 3. Sample data collection form for finish boring crankshaft bore size.
Serial NumberInput DataOutput Data
Semi-Finish Crankshaft BoreMachining Element ErrorProcess ParameterFine Boring Crankshaft Bore
QF080Aa ε s ε f ε t n f α p QF130Ac
1223.0930.30.1090.07275.3980.30.05220.014
2223.0820.20.1010.08894.2480.20.05220.016
3223.0970.20.1140.087117.8090.30.05220.012
4223.0240.10.1060.08294.2480.20.15220.017
5223.0440.30.1010.08875.3980.30.05220.015
6223.0670.10.1180.08794.2480.20.05220.010
7223.0130.10.1160.067117.8090.30.05220.016
8223.0590.10.1070.06594.2480.20.1220.014
9223.0280.10.1090.10094.2480.20.1220.013
10223.0520.10.1080.06794.2480.20.1220.011
11223.0130.10.0960.06194.2480.10.1220.015
12223.0180.10.0990.08294.2480.20.05220.006
13223.0470.10.1040.095117.8090.30.05220.013
14223.0180.10.0970.08794.2480.20.1220.012
15223.0120.10.1150.06894.2480.10.15220.010
27223.0180.20.1030.08475.3980.10.05220.010
28223.0650.10.0930.06994.2480.20.1220.006
29223.0210.20.0980.075117.8090.30.15220.022
30223.0110.20.1020.08375.3980.20.1220.015
47223.0160.10.1050.07775.3980.20.1220.020
48223.0140.20.1070.07394.2480.20.1220.015
49223.0920.10.0970.06694.2480.20.1220.009
50223.0300.10.1040.06794.2480.20.1220.017
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Qu, D.; Liang, W.; Zhang, Y.; Gu, C.; Zhan, Y. Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network. J. Manuf. Mater. Process. 2024, 8, 203. https://doi.org/10.3390/jmmp8050203

AMA Style

Qu D, Liang W, Zhang Y, Gu C, Zhan Y. Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network. Journal of Manufacturing and Materials Processing. 2024; 8(5):203. https://doi.org/10.3390/jmmp8050203

Chicago/Turabian Style

Qu, Dongyue, Wenchao Liang, Yuting Zhang, Chaoyun Gu, and Yong Zhan. 2024. "Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network" Journal of Manufacturing and Materials Processing 8, no. 5: 203. https://doi.org/10.3390/jmmp8050203

APA Style

Qu, D., Liang, W., Zhang, Y., Gu, C., & Zhan, Y. (2024). Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network. Journal of Manufacturing and Materials Processing, 8(5), 203. https://doi.org/10.3390/jmmp8050203

Article Metrics

Back to TopTop