Introduction

Metal spinning enables the formation of three-dimensional shapes, such as cups, from a rotating sheet metal material using a roller. The material can be deformed locally and incrementally using a small force. There are two types of metal spinning methods that can be used to form a workpiece from a metal sheet. One is shear spinning, and the other is conventional spinning. The workpiece is formed by moving a roller along the profile of a mandrel during shear spinning. During conventional spinning, the workpiece is formed gradually by moving the roller along the plural curve paths, as shown in Fig. 1. For conventional spinning, a complex configuration can be realized using only one mandrel with a final target shape, or, in some cases, no mandrel. The height and thickness of a workpiece change with varying roller paths, even if the same mandrel is used.

Fig. 1
figure 1

Over views of conventional multi-pass spinning and approach used in this work. Conventional spinning involves following steps: (a), (b), and (c)

The values of various process parameters, such as the roller feed rate, mandrel speed, feed ratio, roller nose radius, roller diameter, and roller angle, should be determined to perform metal spinning. Moreover, for multi-pass conventional spinning in particular, the roller path has numerous degrees of freedom, including the number of passes, start position, inclination angle, length, and shape of each pass. Thus far, various types of pass shapes have been suggested, such as linear, second-order (concave and convex), and involute types, as well as a combination of these types. However, it is difficult to express the roller path using only a few parameters owing to their numerous degrees of freedom.

The roller path and process parameters in metal spinning are hereinafter referred to as “path parameters.” Wrinkling or fracturing of workpieces may occur when inappropriate path parameters are used. Although failure of the workpieces can be avoided, there are various challenges in achieving the desired thickness. Therefore, it is necessary to determine the appropriate parameters for controlling the thickness of the workpiece without failure.

To determine the appropriate process parameters, previous studies have investigated (1) the deformation mechanism of the workpieces during spinning using analytical and numerical calculations, and by observing the microstructure of the spun workpieces; and (2) the effect of the process parameters on the height, thickness, and spinnability (wrinkling and fracturing) of workpieces through experiments and numerical calculations, such as the finite element method (FEM) simulation.

Deformation mechanism in metal spinning

The findings from the deformation mechanisms in existing literature are summarized here. Hayama and Murota (1963) reported that the tensile strain in the radial direction and the compressive strain in the thickness direction occur over the corner of the mandrel in single conventional spinning. Quigley and Monaghan (2000) presented the strain state at the corner of the mandrel, under the roller, and at the flange in spherical conventional spinning. They observed that tensile strain in the radial direction, compressive strain in the thickness direction, and an extremely small circumferential strain occurred in all regions. However, this tendency declines toward the flange. Additionally, under the roller, compressive and tensile strains in the radial direction occurr on the roller and mandrel sides, respectively. Liu et al. (2002) described the same deformation mechanism in the multi-pass conventional spinning of a cup, as indicated by Quigley and Monaghan (2002). Xia et al. (2005) also presented the same mechanism as that in the conventional simple spinning of a cup. Wang and Long (2011a) clarified the strain states in the forward pass in multi-pass conventional spinning as follows: in the region between the clamped area by the backplate and the last point at which the workpiece is in contact with the mandrel, a large tensile strain in the radial direction and compressive strain in the circumferential direction occur on the roller and mandrel sides, respectively. In contrast, in the region between the last point at which the workpiece is in contact with the mandrel and the roller contact point, a large tensile strain in the radial direction and compressive strain in the circumferential direction occur on both the roller and mandrel sides, respectively. In general, the workpiece exhibits both the tensile strain in the radial direction and compressive strain in the circumferential direction; these strains cause a decrease and an increase in the workpiece thickness, respectively. Furthermore, Wang and Long (2011a) suggested that the thickness of the workpiece decreases owing to the large tensile strain in the radial direction. Gondo et al. (2021) experimentally investigated the evolution of the strain state of spun workpieces after each pass during multi-pass conventional spinning, and established a relationship between the strain states and forming forces.

Similar to the strain state, Quigley and Monaghan (2001) and Sebastiani et al. (2007) reported that compressive and tensile stresses are produced on the roller and mandrel sides under the roller, respectively. Kleiner et al. (2002) clarified that the stress states occur in two regions, namely, the region between the mandrel corner and middle part of the flange, and the region in the vicinity of the flange. In the former region, the tensile stress in the radial direction increases during the roller passes, whereas the circumferential directional stress remains unchanged. In contrast, the circumferential compressive stress increases in the latter region. This tendency indicates the possibility of wrinkling. Wang and Long (2011b) presented the stress states in the forward path during multi-pass conventional spinning. In the region after the roller passes, that is, the region between the mandrel corner and the roller, a large tensile stress in the radial direction and compressive stress in the circumferential direction are produced. Meanwhile, in the region before the roller passes, that is, the region between the roller and flange, compressive stress primarily occurs in the circumferential direction. Moreover, the workpiece is found to be bent in three regions: at the mandrel corner, between the mandrel corner and roller, and under the roller. The direction of bending under the roller is opposite to that in the other two regions.

Effects of process parameters on spinning results

Several investigations have been conducted on the effects of the process parameters on the workpiece configuration and spinnability. Kalpakcioglu (1961) and Sebastiani et al. (2006) reported on the effect of the deviation in the sine law on the workpiece thickness during shear spinning. The workpieces spun by under-spinning and over-spinning exhibits non-uniform thickness distributions. El-Khabeery et al. (1991) studied the effect of the roller nose radius and roller feed rate on the workpiece thickness in conventional spinning. The workpiece exhibits a uniform thickness distribution when a large roller nose radius and a small roller feed rate were adopted. Zhan et al. (2006) reported on the effect of the feed ratio on the workpiece thickness during shear spinning. Although the wall angle deviates from the set value, the workpiece thickness becomes uniform with increasing feed ratio. However, Wang and Long (2013) indicated that the workpiece thickness remains unchanged even with an increasing feed ratio. Furthermore, Essa and Hartley (2009) reported that the workpiece thickness increases with increasing feed ratio in conventional spinning. Russo et al. (2021) reported on the spinning result of several artisans who manipulated a roller by relying on experience and skills. Russo et al. recorded the manual operation of the roller tool with the help of spinning artisans, and established certain rules to maintain the thickness in conventional spinning. They showed that the roller path configuration significantly influences the forming results, including the shape of the workpiece. Wang and Long (2011a) reported that the convex and concave roller paths maintains and decreases thickness, respectively.

Numerous studies have been conducted on wrinkling and fracturing. Hayama and Tago (1968) reported that wrinkling and fracturing occur when the corn angle of the mandrel is large and small, respectively. Kobayashi (1963) reported that a combination of a thick blank disk with a large mandrel diameter or a small blank diameter prevents the workpiece from wrinkling. Essa and Hartley (2010) also indicated that a small blank disk is effective in preventing wrinkling. In other words, both Kobayashi (1963) and Essa and Hartley (2010) recommended a small spinning ratio to prevent wrinkling, that is, the ratio of the initial to final blank diameter. Dörge (1955) concluded that wrinkling of the workpieces can be prevented using a large blank disk and roller nose radius, even if the workpiece is spun under a large spinning ratio. Xia et al. (2005), Essa and Hartley (2009), Wang and Long (2013), and Kong et al. (2017) concluded that wrinkling can be prevented by spinning under a small feed ratio. Xia et al. (2005) reported that a tradeoff exists between feed and spinning ratios. A small feed ratio and large spinning ratio result in fracturing, whereas a large feed ratio and small spinning ratio cause wrinkling. Chen et al. (2021) indicated that wrinkling at the flange can be avoided in workpieces with large strengthening coefficients and small Young’s moduli.

In this way, investigations that focus on the configuration of the roller path are extremely limited, even though the roller path significantly influences the forming results, including the shape of the workpiece. In addition, previous works did not clarify the change in the workpiece shape when some process parameters (configurations of roller, blank disk, and mandrel and forming speed) are simultaneously varied. Furthermore, the process parameters should be adjusted when applying the research outcomes to actual industrial sites if the properties and configuration of the material are different from those mentioned in the literature. Thus, the selection of the parameters still relies on trial and error to realize the workpiece shape prescribed by the concrete target values. To address the aforementioned limitations, this study proposes a machine-learning model to control the workpiece thickness.

Application of machine learning in metal forming

Some applications of machine learning in metal forming include the predictions of springback in bending or laser forming, load in forging, strain in deep drawing, and forming force in incremental forming. The plastic behavior of metal materials has also been predicted based on their chemical compositions and microstructures.

Pathak et al. (2005) developed an artificial neural network (ANN) model based on 44 datasets to predict the load as the output, with sheet thickness, die radius, stress, strain, and springback as input variables. The prediction results of the ANN were consistent with the FEM simulation results. Kurtaran (2008) established an ANN model with the following input parameters: bending sheet thickness, bending radius, and bending angle, with the bend allowance being the output parameter. Baseri et al. (2012) predicted springback using sheet thickness, sheet orientation, and punch tip radius as input parameters. Jafari et al. (2015) constructed an ANN model to determine the springback, considering the die temperature, lower punch radius, step distance, step height, and die clearance as the input parameters, using an adaptive neuro-fuzzy inference system. The step distance and height were the configuration parameters for the lower punch. Trzepieciński and Lemu (2020) estimated springback using mechanical properties, material rolling direction, and bending angle as the input parameters in V-bending. Barletta et al. (2009) and Lambiase et al. (2016) predicted the bending angle during laser forming. Barletta et al. (2009) considered the power of the laser source, scan speed, and starting elastic deformation as input parameters. Moreover, Lambiase et al. (2016) adopted the laser power, scanning speed, cooling media, and number of irradiations as input parameters. Viswanathan et al. (2003) predicted springback using material properties, thickness, and friction conditions as input parameters during steel channel forming. Jamli and Farid (2019) reviewed the reports on the application examples of ANN for the prediction of springback, and indicated that the existing approach using ANN cannot incorporate all the factors affecting the analysis results. Srivastava et al. (2004) predicted the final forging load using the ram velocity, billet temperature, and friction coefficient. Poshal and Ganesan (2008) estimated the formability index, triaxial stress ratio, axial strain from preform densities, and different aspect ratios for the cold upsetting of sintered Al. Bingöl and Kılıçgedik (2018) predicted the forging load by angle, dimension ratio, friction coefficient, velocity, and temperature in hot metal forming using gene expression programming. Ashhab et al. (2014) estimated the equivalent plastic strain, contact ratio, and forming load based on the geometrical parameters of the synchronizer ring during its manufacture. Hussaini et al. (2014) predicted the thickness of workpiece cups in hot deep drawing using the temperature, drawing ratio, and distance from the center of the cup to the thickness-measured position. Alsamhan et al. (2019) predicted the forming load by employing the step size, tool diameter, sheet thickness, and feed rate as the input parameters for incremental forming. Hartmann et al. (2019) discussed the possibility of predicting the shape of metal sheet formed by incremental forming using multi-nodes ANN model. Nagargoje et al. (2021) reviewed artificial intelligence techniques applied to incremental forming. Mandal et al. (2007) estimated the average crystal grain size using the strain, strain rate, and temperature during dynamic recrystallization. Chi and Han (2019) predicted the strength and total elongation of the material, obtained by tensile testing using the testing speed, speed changes, and initial and final tensile speeds as input parameters. Yamanaka et al. (2020) predicted biaxial stress–strain curves using the {111} pole figures of the material. Merayo et al. (2020) predicted the mechanical properties of the material, such as plastic behavior, yield strength, and maximum tensile strength, based on the chemical composition, tempers, and Brinell hardness.

Some researchers have employed machine learning for metal spinning. For instance, Belfiore et al. (2007) adopted a multilayer neural network with a unique structure for the prediction of surface failure in flow forming. Similarly, Jiang et al. (2008) predicted the rib height based on an ANN model established using the experimental results of rib-forming tubes via ball spinning.

Owing to their usefulness, many of the aforementioned studies have adapted ANNs. The ANN model can be easily built by applying the process parameters and results obtained in metal forming to the input and output layers, respectively. However, it is difficult to determine the input parameters corresponding to the process parameters that can realize the desired output values. Göbel et al. (2005) suggested analytical methods using a case-based reasoning and fuzzy-based model, avoiding failures such as wrinkling and fracturing during metal spinning. However, they were unable to achieve design specifications and produce workpieces according to their design. Therefore, there is a need for a systematic design that can easily determine the parameters required to realize the desired configurations. Furthermore, the roller path must be parameterized using certain variables to include various types of formable paths.

Idea of this study

This study investigates the relationship between the parameterized roller path and the results to realize workpieces with a constant thickness by employing machine-learning techniques.

First, the path parameters are represented by the input parameters p = (p1, p2,…, pn). Similarly, the configuration of the workpieces is represented by the output parameters q = (q1, q2, …, qm). The relationship between the input and output parameters is expressed by a multivariable vector function as follows:

$$ {\varvec{q}} = {\varvec{f}}\left( {\varvec{p}} \right).$$
(1)

Second, the target output qd representing the target configuration is substituted in Eq. (1) as follows:

$$ {{\varvec{q}}_d} = {\varvec{f}}\left( {\varvec{p}} \right).$$
(2)

Then, the path parameter p that produces the target output qd is calculated by solving Eq. (2) using an iterative solution. This operation corresponds to determining the input parameters to realize multiple outputs.

In this study, the path parameters and workpiece configurations are represented by seven and five parameters, respectively. Thus, p = (p1, p2, …, p7) and q = (q1, q2, …, q5). The connection between the path parameters and workpiece configurations, the function f (p), is illustrated using the ANN model. The ANN model, in which path parameters are assigned to the input nodes, is easy to apply to real operations because the input values calculated by the iterative solution can be treated as concrete optimized values of the path parameters in actual spinning. Thus, the contribution of this study is a method for instantly and simultaneously calculating path parameters that realize multiple target values of the workpiece dimensions, using an iterative solution based on the constructed ANN model of the relationship between path parameters and workpiece shapes.

Therefore, the objectives of this study are to investigate (1) the applicability of ANN in metal spinning, (2) the effectiveness of an iterative solution to determine the path parameters under which the workpiece is formed to achieve the desired configuration, and (3) the effects of the path parameters on the thickness distribution.

Methods

The process to realize workpieces with a constant thickness are as follows.

  1. 1.

    Parameterizing the roller path (Sect. 3)

  2. 2.

    Acquiring data for training and validation (Sect. 4)

  3. 3.

    Designing the artificial neural network model (Sect. 5)

  4. 4.

    Selecting appropriate parameters using an iterative solution (Sect. 6)

Lastly, the effects of path parameters on thickness distribution were evaluated (Sect. Evaluation of the effects of path parameters on thickness of a workpiece).

Parametrizing roller path

The roller path for multi-pass conventional spinning was designed as proposed by Sugita and Arai (2015). The roller path consists of straight-line passes along the workpiece and curved passes in regions where the workpiece is not in contact with the mandrel, as illustrated in Fig. 2. The roller moves along a straight-line pass, pushing the material onto the mandrel. The roller then proceeds along a curved pass from the sidewall of the workpiece toward the edge. Subsequently, the roller leaves the workpiece and moves to the starting position of the next straight-line pass without touching the workpiece.

Fig. 2
figure 2

Parameters composing roller path

The path parameters depicted in Fig. 2 were xp0, xp-start, xp-end, Δxp, yp0, yp-end, α0, np, θ1, and θ2; which represent the axial position of the blank surface, axial start position of the first curved pass, axial end position of the path, increment in axial start position for each curved pass, radial position of the cup side wall, radial position of the path periphery, initial inclination angle, number of curved passes, start angle of the arc pass, and end angle of the arc pass.

The origin of the path coordinate system was expressed as (xp0, yp0) = (0, 0). The start position of the first curved pass is represented by (xp-start, 0). The end position of each curved pass lies on a quarter-ellipse through (xp-start, yp-end) and (xp-end, 0), and the origin of the quarter-ellipse was (xp-start, 0). The start position of each curved pass moved at a constant interval along the sidewall of the workpiece in the x (axial) direction. The inclination angle between the start and end positions of the curved pass increases at a constant angle and reaches π/2 in the final pass.

The curved pass is part of an elliptical arc and exhibits a concave shape. It is scaled from a reference circular arc of unit radius (Fig. 2, right) in the x (axial) and y (radial) directions. The curved pass is expressed as follows:

$$ \left\{ {\begin{array}{*{20}{c}} {x = {x_1} + \left( {{x_2} - {x_1}} \right)\frac{{\sin \left( {\left( {{\theta_2} - {\theta_1}} \right)s + {\theta_1}} \right) - \sin {\theta_1}}}{{\sin {\theta_2} - \sin {\theta_1}}}} \\ {y = {y_1} + \left( {{y_2} - {y_1}} \right)\frac{{\cos {\theta_1} - \cos \left( {\left( {{\theta_2} - {\theta_1}} \right)s + {\theta_1}} \right)}}{{\cos {\theta_1} - \cos {\theta_2}}}} \end{array}} \right.,$$
(3)

where the start and end positions of the curved pass are indicated by (x1, y1) and (x2, y2), respectively. The symbol s represents the progress rate of each pass, s = 0 at the start point, and s = 1 at the end point of the pass. The other path parameters are expressed using two variables: feed ratio pfeed and mandrel speed rs. The variable input parameters are np, xp-start, xp_end, yp-end, α0, Δxp, and pfeed in this study.

Acquiring data for training and validation

Method of multi-pass conventional spinning

An Al sheet (A1050-O) was used as the blank disk. The shape of the disk was similar to that of the CD. The diameters of the disk and center hole, and the thickness of the Al sheet were 150, 20, and 1.49 mm, respectively. The chemical composition of the Al sheet was Al-0.1Si-0.27Fe-0.02Ti mass%.

The roller was made of SKD11 alloy tool steel with a 70 mm diameter and 8 mm nose radius. It was equipped with a roller holder inclined at 45° against the mandrel axis. The mandrel was made of quenched 0.45% carbon steel with an outer diameter of 85 mm. For the training and validation data, the path parameters ranged as follows: 13 < np < 26, 0 < xp-start < 8, 57.9 < xp-end < 97.8, 24 < yp-end < 34, 0 < α0 < 20, Δxp = b(xp-endxp-start)/ np, (0 < b < 1), 0.8 < pfeed < 2.4, xp0 = 0, yp0 = 0, rs = 180, θ1 = 10, and θ2 = 70. The parameter ranges were determined based on pre-experiments in previous studies (Gondo et al., 2020, 2021). Specific values of the path parameters used in the experiments are shown in the Excel file provided with the Supplementary Materials. The path parameters for the training data were determined using the partial randomization of the Taguchi orthogonal array. The Appendix presents the improvement in the generalization capability of the ANN by combining the orthogonal array of the Taguchi method and the random offset. The path parameters were randomly assigned to the validation data. A total of 18 training and 18 validation datasets were obtained from the spinning experiments and are referred to as groups A and B, respectively. After spinning, the height of cup h from the bottom was measured using a height gauge. The measurement points were 0° and 180° from the rolling direction in the blank disks. The thicknesses t25%, t50%, and t75% were measured using a micrometer.

Spinning results for training and validation

Most of the workpieces were formed into cups without failure using the training and validation data parameters. Workpiece fracture during spinning occurred in only one sample, and no wrinkling was observed. Thus, the validation data (group B) contained 17 datasets.

Figure 3 illustrates the three-dimensional (3D) diagram and two-dimensional (2D) diagrams for the thicknesses t25%, t50%, and t75% of the training (red points) and validation data (green points). Almost all samples exhibited a non-uniform thickness distribution in the height direction, and the plots were at a distance from the straight line, indicating a constant thickness t25% = t50% = t75%.

Fig. 3.
figure 3

2D and 3D scatter plots for t25%, t50%, and t75% of workpieces for training (group A: red plots) and validation data (group B: green plots) (Color figure online)

Designing artificial neural network model

Structure of artificial neural network model

An ANN is adopted to predict the output parameters corresponding to the input parameters. A multilayer perceptron (MLP), which represents the typical architecture of an ANN and can model any nonlinear function, is adopted herein to approximate the multivariable vector function to calculate the output parameters. The MLP consists of input, hidden, and output layers. Each layer is composed of multiple nodes. Each node in the hidden and output layers is provided with the inputs from each node in the previous layer, and a nonlinear function is calculated using the weighted sum as the output. This function is referred to as an activation function. A sigmoid function is generally used as an activation function. In the supervised learning of the MLP, the weighted coefficient between nodes is adjusted based on the results obtained from multiple training datasets. In other words, the iterative calculation for adjusting the weight is performed such that the prediction output of the MLP for the sample input p converges to the sample output q. That is, it can be said that MLP is suitable for the iterative solution. This study adopted a back-propagation algorithm, which is generally used for supervised learning.

The ensemble learning method was also used to improve the generalization capability of the ANN. Ensemble learning improves the prediction capability for untrained datasets by training multiple predictors, such as ANNs, independently, and unifying the training results (Hansen & Salamon, 1990). Bagging (Breiman, 1996) and boosting (Freund & Schapire, 1997) are the major techniques used in ensemble learning. In the bagging method, different sets of training data are selected from all the data; the multiple predictors are trained by the selected datasets in parallel, and the results are unified by averaging them. In contrast, the predictors are sequentially trained using the boosting method. The training datum with a large error is weighted to be prioritized in training the next predictor. This study adopts the algorithm proposed by Urata et al. (2001), wherein the adaptive boosting method, a typical boosting method, is applied to the regression problem. It is assumed that the unified predictor consists of u-ANNs, which are trained using U-training data. The absolute value of the training error for the k-th training datum after the v-th ANN training is represented as \(\left| {{e_v}_k} \right|.\) The frequency of training is adjusted such that the training probability of the k-th training datum for the (v + 1)-th ANN becomes \(\left| {{e_v}_k} \right|/\mathop \sum \limits_{j = 1}^U \left| {{e_v}_j} \right|\). Training of the data with a large error is repeated more frequently than for those with a small error. After completion of the training, the prediction \(\hat q\) by unifying the outputs of the ANNs was calculated using Eq. (4). The symbol \({\hat q_v}\) represents the prediction using the v-th ANN. The prediction \(\hat q\;\) is the average of \({\hat q_v}\) weighted by the inverse of the total absolute errors.

$$ \hat q = \mathop \sum \limits_{v = 1}^u \frac{{\left( {1/\mathop \sum \nolimits_{k = 1}^U \left| {{e_v}_k} \right|} \right)}}{{\mathop \sum \nolimits_{l = 1}^u \left( {1/\mathop \sum \nolimits_{k = 1}^U \left| {{e_l}_k} \right|} \right)}}{\hat q_v},$$
(4)

Herein, the unified predictor is built from 10 ANNs.

Construction of individual model

Individual models that predict height h and thicknesses t25%, t50%, and t75% were developed using the training data. The hidden layer contained seven nodes. When the axial length of the roller path was too short compared to the cup height, the remaining material formed a flange at the edge of the workpiece. In contrast, if the length of the path was too long, thinning occurred at the workpiece edge when the roller went over the edge. To avoid the occurrence of flange and prevent the workpiece from sticking to the mandrel owing to the thinning of the workpiece, the residual path length rp was introduced in the output layer in each model and calculated using the following equation:

$$ {r_p} = {x_{\text{p - end}}}- \, \left( {h + {R_{{\text{round}}}}} \right)$$
(5)

where Rround indicates the roller nose radius.

The accuracy of each model was evaluated using the validation data. The path parameters of the validation data were applied to the proposed ANN model to predict the workpiece configuration. As mentioned previously, the same path parameters were used to spin the real workpieces. The predictions from the ANN model were compared to the measured results of the workpiece configuration. Furthermore, the root mean square error (RMSE) and coefficient of determination (R2) for each model were calculated. The RMSE is close to 0, and R2 is close to 1 when the ANN model has a high accuracy. The parameters qj, \(\bar q\), \({\hat q_j}\), and N denote the measured values for the validation data, average qj, prediction value, and number of validation data, respectively (Table 1).

$$ {\text{RMSE}} = \sqrt {\frac{1}{N}\mathop \sum \limits_{j = 1}^N {{\left( {{q_j} - {{\hat q}_j}} \right)}^2}} $$
(6)
$$ {R^2} = 1 - \frac{{\mathop \sum \nolimits_{j = 1}^N {{\left( {{q_j} - {{\hat q}_j}} \right)}^2}}}{{\mathop \sum \nolimits_{j = 1}^N {{\left( {{q_j} - \bar q} \right)}^2}}},$$
(7)
Table 1 Chemical composition of Al sheet (mass%)

Accuracy of individual predictor models

Figure 4 depicts the comparison between the validation data and prediction data obtained from the models of height h and thicknesses t25%, t50%, and t75%. The validation and prediction data for h and t50% indicated good agreement. The prediction data corresponded with the validation data when t25% and t75% were greater than 0.7 and 0.9 mm, respectively. By contrast, the prediction data was larger than the validation data when t25% and t75% were less than 0.6 and 0.8 mm, respectively. Table 2 lists the RMSE and R2 values of each model. The RMSE values for height h and thicknesses t25%, t50%, and t75% were less than 3 and 0.1 mm, respectively, whereas their R2 values were greater than 0.7. In this way, the individual models exhibited small RMSE and large R2 values, implying that the prediction values obtained from the individual models were in good agreement with the validation values. Thus, the relationship between the path parameters in multi-pass conventional spinning and the spun workpiece configuration can be appropriately modeled using ANNs.

Fig. 4
figure 4

Comparison between validation and prediction values for a height h, b t25%, c t50%, and d t75% for individual models

Table 2 RMSE and R2 of individual models

Selecting appropriate parameters using iterative solution

Iterative solution method

For the relationship between the input and output parameters q = f (p), the input p is solved via iteration based on gradient descent to calculate the parameter p that satisfies qd = f (p). The Jacobian matrix of the function f (p) is defined by Eq. (8). The element Jjk of the Jacobian matrix J can be calculated by numerical differentiation, as shown in Eq. (9), using the element pk of vector p, and a small value ε.

$$ {\varvec{J}}\left( {\varvec{p}} \right) = \frac{\partial {\varvec{q}}}{{\partial {\varvec{p}}}} = \frac{\partial {\varvec{f}}\left( {\varvec{p}} \right)}{{\partial {\varvec{p}}}}$$
(8)
$$\begin{aligned} {J_{jk}} &= \frac{{\partial {f_j}\left( p \right)}}{{\partial {p_k}}} \\ &\cong \frac{{{f_j}\left( {{p_1}, \ldots ,{p_k} + \varepsilon , \ldots ,{p_m}} \right) - {f_j}\left( {{p_1}, \ldots ,{p_k} - \varepsilon , \ldots ,{p_m}} \right)}}{2\varepsilon } \end{aligned} $$
(9)

The difference between the output of the predictor under the current input pc and target output qd is represented as e = f (pc)qd. The correction vector Δp is calculated using the transpose of the Jacobian matrix JT, as shown in Eq. (10), where a is a constant.

$$ \Delta {\varvec{p}} = \, - a{{\varvec{J}}^{\text{T}}}{\varvec{e}}$$
(10)

The column vector of the transposed Jacobian matrix JT represents the maximum gradient direction of each element of q. Thus, the correction vector Δp is a combination of the change in p in the direction that each element of the error e approaches zero weighted by each element value. The current value of the input is updated using Δp as pc → pc + Δp. The parameter p that satisfies qd = f (p) is calculated by repeating the previous calculation until the error e becomes sufficiently small. When vector p has n elements, it is necessary to perform the calculation of f (p), 2n + 1 times per iteration. It is possible to determine the optimized path parameters in a very short time by spinning under several path parameters, constructing an ANN model, and applying an iterative solution; rather than by analyzing numerical simulations under numerous process conditions and searching for analysis conditions under which prediction values were the closest to the target values, because the numerical simulation of metal spinning takes too much time. Asshab et al. (2012) who performed the optimizing process parameters in deep drawing-extrusion combined process indicated the time consumption of numerical simulations.

Construction of inclusive model and iterative calculations

The inclusive model for predicting the height h and thicknesses t25%, t50%, and t75% were constructed simultaneously using the training data (group A) and validation data (group B). In the inclusive model, the training data indicate the data of groups A and B. Similar to the individual models, the output layer included the residual path length.

The solution path parameters, that is, the input values to obtain the target values, were calculated using a combination of the above model and an iterative solution. The ranges of the input and output values were normalized in the iterative solution. The coefficient a in Eq. (10) was 1. The allowable error was 0.02. The minimum and maximum number of iterations were 4000 and 10,000, respectively. The initial input values for the iterative solution were selected from the path parameters of the training and validation datasets. The target values of the thickness were constant and determined by considering the thickness of the training and validation data. The target height was calculated from the target thickness by assuming a constant workpiece volume. The initial input and target values are presented in the supplementary material as an Excel file. The prediction data for height and thickness under the solution parameters were obtained. Target values were compared to the prediction values. Thereafter, 22 workpieces were spun under the solution parameters, and their height and thickness were measured as described in Sect. 2.2.2. These data are referred to as verification data and regard to as group C. When multiple sets of solution parameters had a similar combination of input values, they were merged into a single sample. The specific values of the path parameters are presented in the Supplementary Material. The verification data were compared to the target height and thickness values.

Effectiveness of iterative solution

Figure 5 depicts the target and prediction values of h, t25%, t50%, and t75%. The prediction values of h, t25%, t50%, and t75% were calculated with RMSE of 4.99, 0.045, 0.011, and 0.035, respectively. Under large height and small thickness conditions, the prediction values of h and t25% were smaller than the target values of h and t25%, whereas the prediction values of t75% were larger than the target values of t75%. When the thickness was greater than 0.8 mm, the prediction values of h, t25%, t50%, and t75% corresponded well with the target values of h, t25%, t50%, and t75%, respectively.

Fig. 5
figure 5

Comparison between target and prediction values of height h and thickness t25%, t50%, and t75% for inclusive model

Figure 6 depicts the 2D and 3D scatter plots of the workpiece thickness for the verification data (group C) and training data (groups A and B). The workpieces of group C were spun using the solution parameters calculated using the iterative solution. It was observed that the verification data were closer to the straight line, indicating a constant thickness, that is, t25% = t50% = t75%, in comparison with the training data. Consequently, the thickness distribution became more uniform compared to the training data. However, three samples of target shapes with a large height and small thickness fractured during spinning. The workpiece whose plot was distant from the constant thickness straight line had a large flange, as shown in Fig. 6. Figure 7 shows typical examples of spun workpieces. The forming results using the iterative solution, as shown in sample c in Fig. 7, exhibited an almost constant thickness distribution except near the cup edge.

Fig. 6.
figure 6

2D and 3D scatter plots for thickness t25%, t50%, and t75% of workpieces for training data (group A and B: red plots) and verification data (group C: blue plots) (Color figure online)

Fig. 7
figure 7

Roller paths and longitudinal sections for sample examples: a and b (training), and c (verification data)

Figure 8 depicts the comparison between the target and measured verification values of h, t25%, t50%, and t75%. The RMSE of h, t25%, t50%, and t75% were 1.87, 0.086, 0.013, 0.094, respectively. In particular, the measured verification values of h and t75% corresponded well with the target values of h and t75%. The measured verification values of t25% and t50% corresponded suitably with the target values, although they were slightly smaller than the target values.

Fig. 8
figure 8

Comparison between target and verification values of height h and thickness t25%, t50%, and t75% for inclusive model

Control of thickness using ANN and iterative solution

In the inclusive model, the prediction data obtained under the input parameters solved via iteration indicated the possibility of simultaneous control of the height and thickness, as shown in Fig. 5. The measured verification data revealed that the iterative solution could systematically be used to determine the appropriate path parameters (Fig. 8). Thus, this study succeeded in controlling the constant thickness distribution using an iterative solution, even when the training data in the ANN model had a non-uniform thickness distribution of the cylindrical cup. In the case of workpieces with a large height and small thickness, the prediction data deviated from the target value, and the specimens were fractured under these conditions. This might be due to the excessive deviation between the target values and training dataset values. It is highly probable that the model does not have a significantly high extrapolation ability. An improvement in the extrapolation ability is recommended for future work.

Evaluation of effects of path parameters on thickness of workpiece

This section discusses the effective parameters for controlling the thickness of a workpiece. The model for illustrating the effect of the path parameters on the thickness distribution of cylindrical cups was developed using the seven input parameters and five output parameters h, t25%, t50%, t75%, and rp for the data of groups A, B, and C. The prediction data for the height and thickness under the seven input data patterns were obtained to show the effect of each parameter on the thickness t25%, t50%, and t75%. In each pattern, one parameter had even interval values in the range between the minimum and maximum of the training data (groups A, B, and C), and the other six fixed parameters used the average value of each training data. The average thickness \({{\bar t}}\) was calculated from the height of the cup h using the following equation, assuming a constant volume:

$$ {\left( {\frac{{{d_{{\text{blank}}}}}}{2}} \right)^2}\pi {t_0} = {\left( {\frac{{{d_{{\text{mandrel}}}}}}{2}} \right)^2}\pi {t_0} + {d_{{\text{mandrel}}}}\pi h\bar t,$$
(11)

where dblank, dmandrel, and t0 are the diameters of the blank disk and mandrel, and the thickness of the blank disk, respectively.

Figure 9 shows the evolution of the thicknesses t25%, t50%, t75%, and \({{\bar t}}\) with increasing path parameters. The thickness was predicted by assigning seven input data patterns to the ANN model. Each pattern included one variable path parameter and six fixed parameters. The thickness increased with an increase in yp-end, α0, and pfeed but decreased with an increase in xp-start and Δxp. The effects of np and xp-end on the thickness varied with the measured thickness position. The thickness t25% and \({{\bar t}}\) decreased with increasing np, whereas t50% and t75% indicated a convex-type distribution against np. Further, t50% and t75% increased with increasing xp-end, whereas t25% and \({{\bar t}}\) indicated a concave type distribution against the xp-end. The thickness changed significantly when Δxp was varied.

Fig. 9
figure 9

Relationship between each path parameter and thickness (t25%, t50%, t75%, and \({{\bar t}}\))

According to Fig. 9, which shows the effect of each parameter on the thickness (t25%, t50%, t75%, and \({{\bar t}}\)), the mechanism of thinning workpieces using various path parameters was interpreted as follows. When the yp-end or xp-end was small, a flange was formed because the edge of the path did not reach the edge of the workpiece. Thus, the workpiece was pulled in its radial direction in the area between the mandrel corner and roller, resulting in thinning. The mechanism of thinning by decreasing α0 was similar to that described above. The small α0 allowed the flange of the workpieces to bend back toward the roller during forming, resulting in an increase in the radial directional stress between the mandrel corner and roller and thinning of the workpieces. Russo et al. (2021) investigated the effect of the roller path on the shape of a workpiece using a haptic scanning system to capture the skill of hand spinners. They found that the spinners were careful not to trigger the flipping-back of the material, which causes radial directional stretching. When xp-start or Δxp was large, the workpiece was shear-spun in a straight path, and its thickness decreased. The thickness t25% decreased significantly with increasing xp-start and Δxp because the measurement position of t25% was near the straight path area. Sugita and Arai (2015) reported the same tendency: the thickness of a workpiece decreased with increasing Δxp. Similar to the results reported by Essa and Hartley (2009), the thickness increased with increasing pfeed. This was due to an increase in the circumferential compressive stress, which generated a compressive deformation. In this reference, the circumferential compressive stress is represented as the tangential compressive stress. The change in thickness with increasing np was small compared to that of the other parameters.

The effects of the path parameters on the thickness distribution can be summarized as follows: the parameter Δxp had the greatest influence on the thickness distribution, followed by α0, pfeed, xp-start, and xp-end. In contrast, the influence of np is small. In this study, the effect of the yp-end was not conspicuous because the yp-end was assigned too large to not form a flange.

From the above conjecture of deformation mechanisms, the tensile deformation in the radial direction between the mandrel corner and roller by forming a flange, and the radial tensile deformation where the material is shear-spun significantly affects the thickness variation. This tendency was experimentally demonstrated by Gondo et al. (2021). They clarified that a large ratio of the forming force in the radial direction to the force in the thickness direction generates a decrease in thickness. Figure 10 shows the path of the roller nose center and ratio as a function of forming passed time when Δxp was 0.57 and 4.07; the other parameters were fixed. The ratio for Δxp = 4.07 varied at a higher level compared to that for Δxp = 0.57. These results satisfied the above relationship between the thickness and the ratio of the force in the radial direction to the force in the thickness direction. In other words, controlling the parameters that work in stretching materials in the radial direction is important for controlling the thickness during metal spinning.

Fig. 10
figure 10

Ratio of forming force in radial direction to force in thickness direction for a small Δxpxp = 0.57) and b large Δxpxp = 4.07)

In summary, this study revealed (1) the high applicability of ANN to metal spinning and (2) the effectiveness of the iterative solution in obtaining the path parameters under which the desired configuration of the workpiece can be achieved. This study further clarified that (3) controlling the path parameters that considerably affect the radial tensile deformation should be set appropriately to control the thickness distribution of a workpiece. This study constructed an ANN model in which the dimensions of the blank disk and material in training were the same as those in the prediction and validation, and succeeded in leading the optimization of the path parameters using the iterative solution of the ANN model. We consider that the ANN model will have to handle complicated variations in the factors related to the blank disk and mandrel in future work. One of example approaches is using a function composed of multiple parameters as an input parameter (Etesami et al. (2021)). It is worth to examine merit of constructing new parameters from the path parameters. Another example is application of high order ANN model. Zhao et al. (2017) investigated the possibility of using a high order ANN to model highly complex and dynamic relationship.

Conclusions

The main conclusions of this study are as follows:

  1. 1.

    The relationship between the path parameters in multi-pass conventional spinning and the spun workpiece configuration can be expressed using an ANN model.

  2. 2.

    The path parameters required to control the height and thickness distribution along the height can be determined using an iterative solution.

  3. 3.

    This study succeeded in obtaining spun workpieces with a constant thickness.

  4. 4.

    Path parameters that exhibit significant effects on the radial tensile deformation significantly affect the thickness distribution of the workpiece. In this study, the most influential parameter was the increment in the axial start position for each curved pass.