1. Introduction
TP2, as a kind of copper pipe, is composed of copper and a small amount of phosphorus, of which the copper content is usually more than 99.85%. TP2 copper pipes have excellent conductivity, thermal conductivity, corrosion resistance, and excellent processability and are widely used in fields such as air conditioning, refrigeration, aerospace, intelligent manufacturing, and computers [
1,
2,
3,
4]. Quality consistency is a bottleneck problem that restricts the application of TP2 copper pipes in complex working conditions. Three-roll rotary rolling is the second process in the production of TP2 copper pipes [
5]. The metal billet is rolled continuously, mainly based on three horizontally aligned rolls to change its shape and size, as shown in
Figure 1. During the rolling process, the metal billet is squeezed between three rollers in different directions, and due to the increasing pressure between the rollers, the metal billet is gradually squeezed into the desired shape and size. When the metal billet passes through the end of the three-high mill, its cross-sectional area is greatly reduced, while its length is significantly increased, resulting in large deformation, which easily causes uneven wall thickness defects and seriously affects the product quality of the subsequent process [
6]. How to predict the wall thickness of copper tubes in subsequent processes is currently one of the key concerns in the field of copper tube casting and rolling processes.
There are many methods for non-destructive testing, and the most common ones can be divided into five types [
7]: radiographic testing (RT); ultrasonic testing (UT); magnetic particle testing (MT); penetrant testing (PT); and eddy current testing (ECT). Among them, ultrasonic testing (UT) has the characteristics of strong penetration ability, accurate positioning, and high sensitivity. It can accurately locate defects inside and on the inner and outer walls of materials without damaging the pipes and is more suitable for the detection of precision pipes. Most scholars conduct defect detection research on materials or structures based on ultrasonic testing methods. Chen Shu et al. determined the working parameters of the water immersion-focused transverse wave method and water immersion-focused longitudinal wave direct injection method, conducted experiments on different types of defects, and obtained the advantages of water immersion-focused longitudinal wave direct injection method and water immersion-focused transverse wave method. The combination of the two methods can effectively improve the accuracy of detection [
8]. Guo Zonghao et al. utilized the characteristics of the weld seam between the reactor pressure vessel connecting the pipe and the cylinder body and selected probes with different frequencies and angles for defect detection and quantification. The detection results met the requirements, and the automated ultrasonic testing of the inlet and outlet connecting pipe welds of the reactor pressure vessel could be achieved [
9]. Fu Zongzhou conducted C-scan testing on the established standard test blocks to verify that the C-scan testing based on porosity standard test blocks could achieve monitoring and evaluation of the 2% porosity production line of carbon fiber composite laminates, meeting the requirements of engineering specifications [
10]. Mortada et al. described ultrasonic testing technology and demonstrated the research progress made by air-coupled ultrasonic testing systems in the field of defect detection in composite material structure manufacturing [
11]. Kumar et al. studied the propagation of ultrasonic waves on cracks through laboratory experiments and finite element models. For crack propagation beyond 20% crack depth, the transmission index is inversely proportional to the crack depth [
12]. Tunukovic et al. developed an ultrasonic detection device provided by an industrial robotic arm, greatly improving detection speed and positioning accuracy [
13]. Bilici used ultrasonic testing to evaluate the properties of composite materials and observed a linear relationship between grain size and physical and mechanical properties based on ultrasonic characteristics [
14]. Tunukovic et al. compared the performance of object detection models, defect detection statistical methods, and traditional assignment threshold methods in carbon fiber defect detection. Intelligent machine learning improved amplitude threshold and statistical threshold techniques [
15]. Liu Bo studied the water immersion ultrasonic C-scan detection method for open diffusion welded titanium alloy hollow support plates from the perspectives of theory and experimental verification. From the production of the reference block to the determination of the probe, water distance, gain, and gate, the rationality and reliability of the ultrasonic detection reference block and detection process were verified through comparative analysis [
16]. Liu Ping distinguished the identification of residual height signals at the root of the weld seam, “mountain” wave signals, cover surface signals, and base metal reflection signals, which was beneficial for spectrum acquisition and correct judgment of defects [
17]. Fadzil et al. used phased array ultrasonic testing technology and classic time correction gain method to detect good ultrasonic signals from the interface layer and back wall and compared them qualitatively and quantitatively with the proposed ultrasonic method, showing a high degree of consistency [
18].
Numerous scholars have conducted extensive research on wall thickness changes. Zhang et al. have explored a new high-speed electrical discharge copper tube machining scheme, which simulates the deformation process of copper tubes during machining through finite element analysis. A prediction model for copper tube electrode wall thickness changes has been established, and the accuracy of the prediction has been verified by comparing it with experimental measurements [
19]. Gao et al. conducted research on the reduction in outer wall thickness during the rotational bending process of eccentric pipe fittings. By establishing a finite element model, they analyzed the changes in axial and radial wall thickness and found the optimal eccentricity between the inner and outer centers of the pipe section [
20]. Pavlov et al. studied the shape change in alloy steel pipes by using the method of computer simulation, and put forward the suggestion of selecting mandrel calibration in the longitudinal rolling process, thus improving the accuracy of pipes and reducing defects [
21]. Shrivastava et al. explored the influence of different wall thickness changes on Al–Mg–Si alloy tubes by using numerical simulation and experimental comparison, and the results showed that when the tube wall thickness was the lowest, the deformation in the compression process was the largest [
22]. Shemonaeva investigated the influence of circular pipe cross-section on the wall thickness distribution of the final part and found that the wall thickness quality of the finished part could be improved by generating a horizontal thickness difference [
23].
The neural network prediction algorithm, with its powerful nonlinear mapping capabilities, self-learning, and adaptive characteristics, as well as its broad application scope, plays a crucial role in modern deep learning. As technology continues to develop and innovate, the application prospects of neural networks will expand even further. Liu et al., aiming to achieve accurate predictions of power grid failures, proposed a distribution network fault classification prediction model that combines a three-layer data-mining model (TLDM) with an improved backpropagation neural network (BPNN) enhanced by the adaptive moment estimation (Adam) algorithm and stochastic gradient descent [
24]. Zhang et al. employed an improved support vector machine (SVM) method to construct a machine learning-based prediction model, enhancing the accuracy and efficiency of fatigue strength predictions for intercoolers [
25]. Yin et al. used a radial basis function (RBF) neural network model to predict flame retardancy [
26].
In summary, currently, ultrasound-based defect detection is mainly applied to simple regular structures such as flat plates, but for complex precision tube TP2 materials, ultrasound detection is still in the theoretical research stage and has not been applied in engineering practice. At present, static, offline, and destructive methods are mainly used in engineering for quality inspection of rotary rolled tube billets, which require inspection of cut tube billets. These methods have complex and cumbersome processes, low efficiency, and high randomness, and they cannot meet the real-time online inspection needs of the production process under the background of intelligent manufacturing requirements. In response to this issue, an intelligent online ultrasonic testing platform for wall thickness detection has been independently developed. Research on rolling wall thickness changes has been conducted, and the detection accuracy has been verified by comparing it with offline testing results. Finite element simulation has been used to obtain joint wall thickness data, and different neural networks have been used to predict joint wall thickness. The best prediction algorithm has been compared and optimized to obtain a more accurate prediction model.
6. Conclusions
(1) The established online ultrasonic thickness test bench was used to detect the rolled copper pipe, and the maximum relative error between the ultrasonic data and the offline manual data was 2.40%, which had good accuracy and could meet the actual engineering requirements. The experimental equipment effectively solves the problems of low accuracy, low efficiency, and poor timeliness in the traditional method;
(2) The BP neural network model, SVM model, RF neural network model, and RBF neural network model were used for prediction, and the R2 of the training set were 8.86 × 10−1, 9.65 × 10−1, 8.71 × 10−1 and 7.67 × 10−1, respectively. The results showed that the above neural network models could effectively predict the wall thickness of the connecting copper pipe. But the SVM model has higher prediction accuracy;
(3) The RMSE of the test set of the PSO–SVM model decreased from 1.82 × 10−2 to 1.45 × 10−2; MAE decreased from 5.9 × 10−3 to 3.4 × 10−3, and R2 increased from 9.12 × 10−1 to 9.49 × 10−1. It can be seen that the PSO–SVM model has better stability than the traditional SVM model in predicting joint tensile wall thickness;
(4) The construction of an ultrasonic online thickness test bench and the prediction of PSO–SVM for joint tensile wall thickness data can better monitor the change in wall thickness on site. When the wall thickness deviation of the rolling mill is large, which has a serious impact on the joint tensile wall thickness, the roll can be adjusted in time to improve the copper pipe quality correlation coefficient.