1 Introduction

Over recent years, many approaches have been applied to enhance the mechanical properties of metallic materials [1]. Ultra fine-grained (UFG) materials are extensively used in different industries because of their excellent mechanical properties [2]. The SPD (severe plastic deformation) technique is one of the most important methods for producing UFG materials [3]. There are some SPD methods to obtain high-strength metallic tubes such as HTCEE (hydrostatic tube cyclic expansion extrusion) [4], TCEC (tube cyclic extrusion compression) [5], HPTT (high-pressure tube twisting) [6], ASB (accumulative spin bonding) [7], TCP (tube channel pressing) [8], TCAP (tube channel angular pressing) [9], and PTCAP (parallel tubular channel angular pressing) [10]. Among these approaches, PTCAP is an interesting process that has two important advantages compared with other processes, requiring lower loads and introducing better strain homogeneity across the tube thickness [11]. Figure 1 depicts the schematic of the PTCAP process [12]. In the first half cycle of this process, the first punch presses the tube into the two shear zones. Then, in the second half cycle, the second punch presses the tube back to its initial dimensions.

Fig. 1
figure 1

PTCAP process [12]

Faraji et al. [13] successfully applied the PTCAP process on pure copper tubes by experiment and FE simulation. They found that there is proper hardness homogeneity through the tube thickness and length direction. Also, there is a good agreement with the FE results. Afrasiab et al. [14] studied the effects of the multi-pass PTCAP on the microstructure and mechanical properties and also the outstanding energy absorption capacity of the PTCAPed Cu–Zn thin-walled tube. Severe anisotropy in UFG PTCAPed tubes compared with course-grained counterparts examined by Tavakkoli et al. [15]. Sanati et al. [16] evaluated the residual stress in UFG PTCAPed aluminum tubes via shearography. Faraji and Mousavi [17] numerically investigated the effect of process parameters like curvature and channel angles and deformation ratio in PTCAP process. Conventional methods for engineering design are on the basis of trial and error or an experiment that causes an increase in time and cost. By combining optimization approaches with the DOE (design of experiments) and FE methods, cost-effective solutions can be obtained to attain favorable properties [18]. Despite the valuable works regarding the PTCAP, a DOE-based study was not found in the literature. In this paper, the effects of PTCAP process parameters i.e. channel angle, friction coefficient, and punch speed on strain homogeneity are investigated using the Taguchi DOE method.

2 Design and perform of experiments

The ABAQUS software was used for simulating the PTCAP process. A 2D model was used for the die set (punches, die, and mandrel) and tube. The length, outer diameter, and thickness of the tube are 40, 20, and 2.5 mm, respectively. The die set was modeled rigid body and the tube material was considered isotropic. The pure copper properties are given in Table 1 [19].

Table 1 Mechanical properties of pure copper [19]

To define contact condition between the tube and the die set, the penalty contact interfaces was used. The tube was modeled using CAX4R (axisymmetric four-node) element. The die set did not mesh since was modeled analytical rigid. Two steps were considered for accomplishing the PTCAP process. In the first step, the upper punch moves down with a fixed velocity of 0.05 mm/min to push the tube through the shear zone. In the second step, the lower punch goes up with the same velocity to reform the tube shape to its primary shape, while the upper punch is coming back. In both steps, the die and mandrel are fully fixed. Also, the Coulomb friction coefficient was assumed to be 0.05 [13]. Plastic strain homogeneity affects the internal microstructure homogeneity and as a result homogeneity in hardness measurements. Therefore, the \(SII\) (strain inhomogeneity index) was defined to calculate the strain inhomogeneity as follows:

$$ SII = \frac{{\varepsilon_{Max} - \varepsilon_{Min} }}{{\varepsilon_{Ave} }} $$
(1)

where \(\varepsilon_{{{\text{Max}}}}\) and \(\varepsilon_{{{\text{Min}}}}\) are the maximum and minimum equivalent plastic strains, respectively. Also, \(\varepsilon_{{{\text{Ave}}}}\) indicates the average equivalent plastic strains along the processed tube thickness, [17]. Taguchi method is used in engineering analysis for optimizing the process [20]. The levels of the input parameters are given in Table 2. It should be noted that the parameter levels are selected based on the initial simulation experiments. Table 3 presents the 9 experiments according to the Taguchi L9 orthogonal array. Minitab software was applied for data analyzing [21]. By considering three input parameters with three levels, totally 27 (33) runs are required and the Taguchi method suggests two experiment designs: L27 and L9. To save time, L9 orthogonal array was selected. In this study, lower SII shows better results. Therefore, “smaller is better” method was used in Taguchi approach to analyzing data as Eq. 2 [22]. Figure 2 shows the FE model of the PTCAP processed tube which is compared with the experiment of reference [13]. Moreover, the force–displacement curve of this reference is compared with current study that implies a good agreement between the results. In this FE experiment, the channel angle, friction coefficient, and punch speed are 120 degrees, 0.05, and 5 mm/min, respectively.

$$ \frac{{\text{S}}}{{\text{N}}} = - 10\log \left( {\frac{1}{{\text{n}}}\mathop \sum \limits_{{{\text{i}} = 1}}^{{\text{n}}} {\text{y}}_{{\text{i}}}^{2} } \right) $$
(2)
Table 2 Input parameters with their levels
Table 3 Taguchi L9 orthogonal array
Fig. 2
figure 2

Comparison of the PTCAPed tube and force–displacement curve of the current study with reference [13]

3 Design of ANFIS model

Adaptive Neuro-Fuzzy Inference System or Adaptive Network-based Fuzzy Inference System (ANFIS) is an adaptive and powerful combination of neural networks and fuzzy logic [23,24,25]. It is based on the Takagi–Sugeno inference systems of fuzzy, which is introduced in 1983 by Jang [26]. Using both neural network and fuzzy, it has positive properties of both of these methods which makes it to be used in many applications such as [27,28,29]. An ANFIS uses a set of conditional IF–THEN rules which their property is modified using neural network; i.e., center of the membership functions, their starting and ending points are modified in an intelligent way using neural network. [30] It is composed of five different layers (as shown in Fig. 3.), described as follows:

  • The first layer, defined as the “Input fuzzification layer” converts input values into a set of if-then fuzzy rules by using some membership functions (MFs). As an example, using a general bell-shaped MF for inputs, we can write Eqs. (3) to (5) for the first and the third input respectively.

    $$ \mu A_{i} \left( {I_{1} } \right) = \frac{1}{{1 + \left[ {\left( {\frac{{I_{1} - c_{i} }}{{a_{i} }}} \right)^{2} } \right] \times b_{i} }} $$
    (3)
    $$ \mu B_{i} \left( {I_{2} } \right) = \frac{1}{{1 + \left[ {\left( {\frac{{I_{2} - c_{i} }}{{a_{i} }}} \right)^{2} } \right] \times b_{i} }} $$
    (4)
    $$ \mu C_{i} \left( {I_{3} } \right) = \frac{1}{{1 + \left[ {\left( {\frac{{I_{3} - c_{i} }}{{a_{i} }}} \right)^{2} } \right] \times b_{i} }} $$
    (5)

    In the above equations \(\mu A_{i}\), \(\mu B_{i}\), and \(\mu C_{i}\) are the MFs of the input variables of \(I_{1}\), \(I_{2}\) and \(I_{3}\), respectively. \(a_{i}\), \(b_{i}\) and \(c_{i}\) parameters in the MFs belong to the interval of 0 to 1. These MFs are not constant and are changing according to the varying parameters.

  • The second layer is responsible for creating power for rules. According to this task, this layer is defined as the “rule layer” and the output signal is calculated by multiplying the input signals with the fuzzy operators as follows:

    $$ w_{i} = \mu A_{i} \left( {I_{1} } \right) \times \mu B_{i} \left( {I_{2} } \right) \times \mu C_{i} \left( {I_{3} } \right);\,i = 1,\;2,\;3 $$
    (6)

    where \(w_{i}\) is the power of the fuzzy rule; thus, these nodes are called “rule nodes”.

  • In the third layer node power is calculated and normalized as the following equation for every neuron:

    $$ N_{i} = \frac{{w_{i} }}{{\sum {w_{i} } }},i = 1,\;2,\;3,\;4,... $$
    (7)

    In fact, this layer normalizes the calculated power by dividing each value by the total power.

  • In the fourth layer fuzzy quantities are de-fuzzified. Each node contains an adaptive node with a function, which yields representing fuzzy rules with combined MFs as follows:

    $$ N_{i} \times F_{i} = N_{i} \cdot \left( {p_{i} \cdot \left( {I_{1} } \right) + q_{i} \cdot \left( {I_{2} } \right) + r_{i} I_{3} } \right);\,\;i = 1,\;2,\;3,... $$
    (8)

    where \(N_{i}\) is the normalized node power, \(F_{i}\) is the fuzzy rule, \(p_{i} ,\,q_{i}\) and \(r_{i}\) represents parameter set in each node.

  • In the 5th layer output of the system is calculated based on sum of all incoming signals as the following equation:

    $$ O = \sum\limits_{i} {N_{i} \times F_{i} } $$
    (9)
Fig. 3
figure 3

A schematic view of Sugeno ANFIS model

4 Design of artificial neural network

Artificial neural network is a type of computer network that is inspired by the structure and functions of the human brain. Artificial neural networks are trained through a process called backpropagation, where the network learns from its mistakes and adjusts its connections between neurons accordingly. This allows the network to improve its performance over time and become more accurate in its predictions. Artificial neural networks have many benefits, such as their ability to process large amounts of data quickly, adapt to new information, and make complex decisions. However, they also have some disadvantages, such as being susceptible to bias and requiring a lot of computational power. Overall, they are a powerful tool in many industries and continue to advance and improve. It is used for pattern recognition, pharmaceutical research, water quality forecasting [31,32,33].

5 Results and discussion

Table 4 represents the results of 9 FE experiments based on the Taguchi L9 design. S/N ratio results of SII for the FE experiments are listed in Table 5. It is well known that among the levels of each parameter, the level with the highest S/N value is introduced as the optimal level [34]. Accordingly, the high level of all input parameters i.e. channel angle of 150 degrees, friction coefficient of 0.05, and punch speed of 9 mm/min are selected as the optimum condition (A3B3C3). Also, the main effects plot for means is demonstrated in Fig. 4. As can be interpreted from the S/N ratio results, channel angle is the most important factor for SII. Result shows that friction coefficient and punch speed have no remarkable effect on the SII. Increasing channel angle causes a decrease in SII because, at larger channel angles, the material flow becomes more uniform and easier. As a result, a lower pressing load is required to complete the process. In other words, selecting higher channel angles is suitable from machine and energy consumption point of view [17]. Also, the effect of higher friction coefficient on the SII may be is attributed to the friction force and needs more investigation.

Table 4 Results of the SII
Table 5 S/N ratio results of SII
Fig. 4
figure 4

Main effects plot for means of SII

Figure 5 depicts the normal probability plot for the SII. As is shown, due to a P-Value of 0.69 (greater than 0.05), the data distribution is normal [35]. ANOVA results of SII are shown in Table 6. ANOVA results indicate that channel angle with 75.75% contribution is the most effective factor. On the other hand, the punch speed with a contribution of 2.75% is an almost ineffective factor. Also, the ANOVA model efficiency (R2) was obtained equal to 96.50% which is desirable.

Fig. 5
figure 5

Normal probability plot for SII

Table 6 ANOVA result of SII

The predicted S/N ratio using the optimal parameters for SII is specified as A3B3C3 from S/N and ANOVA analysis. Table 7 compares the predicted SII and actual SII from the confirmation FE experiment. The initial parameters were chosen as A3B3C2 from the test number 9 in Table 4 in which the SII is minimum i.e. 0.31. The confirmation FE experiment shows that the S/N ratio improved almost by 0.6 dB from the initial parameters to optimal parameters, and SII increased by about 6%.

Table 7 Results of the confirmation FE experiment

In this paper, ANN and ANFIS are also used for training and predicting the desired output. For this purpose, three parameters of channel angle, friction coefficient, and punch speed are considered as input parameters with values mentioned in Table 3; also output is the SII as reported in Table 4. While using ANN, the three mentioned inputs goes to a hidden layer consists of 10 neurons. Each neuron has some weights (bias and gain) which will be determined in such a way that ANN can predict the output more precisely. An output layer creates the final output (as depicted in Fig. 6).

Fig. 6
figure 6

Schematic view of the designed ANN

In the ANFIS, the MFs are assumed to be Gaussian type, with three membership functions for each input. The ANIS model has 78 nodes, 27 linear parameters, 18 nonlinear parameters, 9 training data pairs, and 27 fuzzy rules. After 10 epochs of training, ANFIS can fit itself with the experimental data very well. Training data versus the output of the ANN and ANFIS are compared in Fig. 7. According to this figure, it is clear that ANN and ANFIS are capable of predicting the output accurately. More precise analysis shows that the RSME in predicting the outputs using ANN is 5.51 × 10−3, while using ANFIS it reduced to 7.39 × 10−7 in ANFIS due to using neural-network and fuzzy logic simultaneously. Surfaces of the output (SII) versus each pair of the inputs are shown in Figs. 8, 9 and 10. As mentioned before (see Table 6), channel angle and friction coefficient are the most important parameters on the SII. Hence, in Fig. 8 when the friction coefficient goes near the 0.03, the SII increases.

Fig. 7
figure 7

Output of ANFIS vs main result

Fig. 8
figure 8

Surface of the SII versus channel angle and friction coefficient

Fig. 9
figure 9

Surface of the SII versus channel angle and punch speed

Fig. 10
figure 10

Surface of the SII versus friction coefficient and punch speed

6 Conclusions

In this paper, process parameters optimization of the PTCAP has been investigated using the design of experiments and finite element approaches. Taguchi L9 orthogonal array was used for designing the required experiments by combination of channel angle, friction coefficient, and punch speed as input parameters. The main results of the research are summarized as follow:

  1. 1.

    The channel angle with a contribution of 75.75% is the most important factor compared to the friction coefficient (a contribution of 18%) and the punch speed (a contribution of 2.75%) on the strain homogeneity of the PTCAPed pure copper tube.

  2. 2.

    The confirmation experiment showed almost a 6% improvement in strain homogeneity compared with the conventional results.

  3. 3.

    The used ANN and ANFIS models could predict the outputs (strain homogeneity index) with high accuracy, while the ANFIS had more precision.