1 Introduction

Retrofitting accounts for the condition where novel technology or features is incorporated into conventional systems to upgrade components and improve their capabilities. Objectives of retrofitting include incorporating new manufacturing processes, increasing productivity, excellent precision and accuracy, reducing machine idle time, higher speeds, reduced tool cost, and friendly operation. The total cost of retrofitting should be significantly less than purchasing a new system [1, 2].

Computerized system is the gate to machine tool integration with flexible manufacturing systems where controlled motors replace manual operation partly or completely [3]. As multi-axis control is provided to obtain variations in shape, CAD/CAM system integrated with numerical controlled (NC) machines should be utilized in some way; CAD refers to Computer Aided Design while CAM refers to Computer Aided Manufacturing. Both are integrated using suitable softwares.

The presented procedures are considered as an economical approach for small to medium production sizes [4]. The new system with the capability of tool path generation is more easily operated with lower cost changes of software [5]. Basically, operation in CNC mechatronic (mechanical-electronic) system is established by sensors and actuators linked to information processing elements such as CNC controller. Sampling of state variables is handled via sensors. After measurement, data processing decides the actions required to influence the system status in the desired way and actuators exert a suitable change on the mechanical system [6].

Sheet metal spinning is one of the oldest forming processes that produce axially symmetric sheet metal parts and can be used to manufacture components that cannot be produced by other processes such as deep drawing [7]. Due to the incremental nature of the process and simple flexible tooling, larger part sizes and complex geometries with lower cost are achieved using less forming forces. Many components do not require further processing, due to the accuracy in dimensions and geometry obtained in sheet spinning which can be applied for different fields such as aerospace, automotive industries, art objects and kitchen utensils. In spinning operation, a sheet blank is clamped by a holder/backplate against a rotating mandrel and is gradually formed over it with a roller [7, 8].

Generally, the roller traces a path that is used for single or multiple passes until the sheet resembles the mandrel geometry [7, 8]. Figure 1 shows the configuration of multi-pass spinning process. Different product shapes, such as cylindrical, conical or spherical can be formed using suitable mandrel geometries and roller paths [9,10,11]. Till now, roller paths design in metal spinning is an art practiced by trial and error so it is still an open research question [12]. The process can be fully automated by CNC machines provided that optimum factors are determined systematically so there is no need to highly skilled spinner. Operator-related uncertainties (errors) along with operator-to-operator variability are eliminated with high repeatability and accuracy. However, equipment cost is still an issue [13].

Fig. 1
figure 1

Elements of multi-pass spinning

CNC spinning machine is similar to a conventional lathe with some differences in its operation. The motions in the longitudinal and transverse axes are synchronized to generate two-dimensional tool path for producing spun components. Lead screws motions are obtained using separate motors. A mandrel is installed on the lathe spindle and a roller is installed on the tool post. If all these modifications are performed, then spun parts can be successfully produced and this is the theme of this paper. The purpose of the retrofit is to make use of CNC system to achieve incremental forming with maximum possible speeds, valid applicable tool paths, and product accuracy maintaining minimum redundancy, force and energy. This introduces a reliable low cost solution for researchers and manufacturers as a renewal option of older systems.

2 Sequence of machine upgrading

A conventional center lathe machine has been selected as a good candidate for the CNC retrofit. The main spindle motor power is 7.5 kW and main spindle speed range is (12–1200) revolution per minute (RPM) which are quite satisfactory for a spinning process. Static acceptance tests are performed on the machine to ensure its mechanical accuracy. The test includes straightness and flatness of slideways, alignment of slideway and axes, alignment and true running of spindle, pitch error of lead-screws. The results are found to be within the acceptable limits given by Altozano [14]. A chart representing the sequence of retrofitting operations to convert the lathe into a CNC spinning system is shown in Fig. 2. This requires the addition of actuators, sensors, CNC controller, CNC software, and some mechanical elements.

Fig. 2
figure 2

Stages of CNC retrofitting procedure

2.1 Actuators and sensors

The actuator for the mandrel is the built-in AC motor with a gear box driving the lathe spindle with 7.5 kW power and (12–1200) RPM rotational speed. The feed gear box of the lathe had been dismantled and replaced by AC servo motors and power-screws to control and synchronize the movements of the forming roller in the axial and lateral directions (Fig. 3). AC servo motors have been utilized due to their high intermittent torque, high torque to inertia ratio, high speeds, good velocity control, less maintenance and quiet performance. Selected AC servo motors specifications are listed in Table 1. Power calculation has been checked in the longitudinal direction based on the axial spinning force (5 kN) and axial feed speed (800 mm/min.) which are found to be greater than both the radial force (2 kN) and feed speed in the transverse direction [15].

Fig. 3
figure 3

Transmitting motion from servo-motors to lead screws

Table 1 AC servo-motors’ specifications

To provide longitudinal motion, the carriage lead screw has been extended. Longitudinal and transverse motions could be achieved using AC servomotors connected to the lead screws via pulleys and timer belts (Fig. 3). Motion in each direction is controlled by drives and a CNC controller.

Two types of sensors have been used; limit switches (two for each axis) and proximity sensors (one for each axis). Limit switches are used for safety against exceeding work space limits, while proximity sensors are used to adjust the Home Position in the CNC control (Fig. 4). The Home Position is defined by the clearance between the roller and mandrel which equals the blank thickness. Wiring system of the actuators (motors) and sensors is illustrated in Figs. 5 and 6. The connections for both servomotors are the same, so only the wiring for Z-axis servomotor is presented.

Fig. 4
figure 4

Sensors installed

Fig. 5
figure 5

Z-axis servomotor wiring diagram

Fig. 6
figure 6

Spindle induction motor and safety buttons wiring diagram

2.2 CNC controller and software

A CPU5A Economy Series—USB CNC Controller connected to a personal computer (PC) using USB cable has been used. Using software integrated with the controller, full synchronization with the two servo motors moving the forming roller can be achieved. The system is equipped with safety buttons for emergency, start, stop, and a selector (ON/OFF) to enable the motors drives. A schematic diagram of the new CNC system is illustrated in Fig. 7 along with the control panel.

Fig. 7
figure 7

The new CNC system with control panel

The software used is Eding CNC Release 4.00.46 provided with the controller. The tool path is first drawn using CAD software (Fig. 8) and saved in (.dxf) format, then imported to the CNC software where a G-code is generated based on selected process parameters such as feed rate.

Fig. 8
figure 8

Simultaneous X–Z tool paths in forward and backward motion

2.3 Mechanical elements

Three cylindrical mandrels of tool steel D2 [15] with different diameters are designed and used to resemble the profile of the final component and support the sheet during deformation. The mandrel, in use, is clamped in the lathe chuck (Fig. 11). The three diameters give three spinning ratios 1.7, 1.48, and 1.26 respectively; spinning ratio (SR) is the ratio between sheet blank diameter (240 mm) to the mandrel diameter.

The roller is a rigid tool that forms the sheet over the mandrel. Music et al. [16] and Satpute et al. [17] introduced two equations for selection of roller diameter Dr, and nose radius ρr in terms of the blank diameter Do.

$$\begin{aligned} D_{r} & = \, 0.1D_{o} + \, 80 \pm \, 40 \, \left( {\text{mm}} \right). \\ \rho_{r} & = \, (0.012 \sim 0.05)D_{o} \left( {\text{mm}} \right). \\ \end{aligned}$$

Blank diameter Do is 240 mm. For the roller design to be used in this work the selected roller diameter is 140 mm and roller nose radius is 9.5 mm. The roller tool is made of tool steel O1 to the desired shape, hardened to 60 HRC; Rockwell C Hardness Scale, and then polished. The complete assembly is shown in Fig. 9. The fork is used for mounting the roller on the tool post. The roller rotates around a tapered roller bearing [18] and a thrust ball bearing.

Fig. 9
figure 9

Roller geometry and complete assembly of the tool

The sheet holder is a circular disk clamping the sheet against the mandrel face. It is flat to fit over the mandrel and further support the sheet while it is being formed. Figure 10 shows a sectional view through the components of sheet holder. The rod end is tapered to be mounted into the lathe tailstock. The holder is free to rotate on a thrust ball bearing to overcome friction. The connector makes it simple to change the holder according to mandrel shape and size. Figure 11 shows the mounting of mechanical components on the machine. Figure 12 shows the complete CNC spinning machine.

Fig. 10
figure 10

The holder design

Fig. 11
figure 11

Mechanical components mounted on the machine

Fig. 12
figure 12

Developed retrofitted CNC spinning machine

3 Evaluation of the retrofitted machine

3.1 Axis calibration

Axis displacement calibration is performed to set the relationship between the number of pulses sent by the controller to the servomotor and the corresponding displacement of the tool either in the Z or X direction; i.e. how many pulses the computer has to put out to move along an axis by 1 mm which are set in the CNC software by trial and error using a vernier caliper taking into account the pitch of the lead screw. The rotational speed of the spindle is calibrated using a laser tachometer which uses a laser beam to detect the number of revolutions per minute (RPM).

3.2 Backlash compensation

Backlash in power screws is measured for the X and Z axes with the help of a dial indicator (0.001 mm resolution). Backlash is an error in the displacement of mechanical elements. In this context, it refers to the axial clearance between the lathe carriage nut and the power screw engaged with it. The carriage (Z-axis) and the cross slide (X-axis) are separately moved incremental steps of 1 mm in forward direction, then the direction of motion is reversed to detect backlash. The procedure is repeated several times to assure repeatability. Backlash measurements are fed to the controller software and used to adjust movement in both directions without any manipulating action of the mechanical system. The maximum variation in backlash is 0.1 mm (Fig. 13).

Fig. 13
figure 13

Final calibration curves after backlash compensation

4 Test runs of the retrofitted system

In order to test the performance of the retrofitted CNC spinning machine, it is necessary to carry out a spinning process. Cylindrical cups are spun from circular blanks of Aluminum A-1050-O with 240 mm diameter and 2 mm thickness. The spindle speed is 800 RPM, and the feed rate 800 mm/min. The ratio of roller feed rate to mandrel rotational speed (feed ratio) is 1.0 mm/revolution. As predicted in spinning, roller path design process consumed several trials with different speeds to produce cups without defects or material failure.

The roller path employed is shown in Fig. 8. It is based on involute curve in the forward pass and a linear backward pass. The involute path is recommended due to less force, stresses, and wrinkling [16]. Figure 14 shows the setup of the spinning process where the blank is clamped between mandrel and holder. The roller is tilted 25° to the original surface of the sheet and homed to the initial position relative to the blank. Figure 15 shows cup products manufactured by the CNC retrofitted machine with different mandrel diameters, hence variable spinning ratios. The experiments are performed under dry condition (no lubricant).

Fig. 14
figure 14

The spinning process setup

Fig. 15
figure 15

Different cups with varied spinning ratios (SR)

Percentage wall thickness variation from the original blank thickness, springback in the radial direction, surface roughness, and roundness error have been evaluated for produced cups, Table 2. Reported thickness variation values go in agreement with those obtained by Šugár et al. [19]. Springback values are in the accepted range reported by Essa and Hartley [20]. Springback refers to the radial gap between spun cup inner wall surface and the side surface of the mandrel. Surface quality was found to be superior to that achieved by El-Khabeery et al. [21], Chen et al. [22], and Takaishi [23]. Out-of-roundness values are within limits given by Kawai et al. [24]. Almost all the mentioned authors used numerical controlled (NC) spinning except Essa and Hartley [20] and El-Khabeery et al. [21] who used a modified center lathe. The recorded quality characteristics find applicability in industrial fans and blowers where the control of air flow is influenced by the surface finish and shape accuracy.

Table 2 Quality characteristics of the spun cups

An investigation on the processing parameters was carried out under lubricated condition to optimize the geometrical accuracy and surface quality of the spun cups produced by the retrofitted machine. The experiments were based on three factors and three levels for each factor as stated in Table 3. The spinning ratio employed is 1.26. A full factorial design of experiments with two replicates for each run (total 54 runs) is implemented using Design-Expert 7 software.

Table 3 Experimental factors and levels

The experimental results are listed in the “Appendix”. Out-of-roundness and average surface roughness (Ra) results are illustrated in the main (average) effect diagrams below. Feed ratio, number of spin-forming passes, and mandrel rotational speed all have significant effect on roundness error. Maximum roundness error is observed at lower feed ratios but, as the feed ratio increases the roundness error decreases considerably hitting a low at 0.6 mm/rev. feed ratio. Then the roundness error remains unchanged between 0.6 and 1 mm/rev. feed ratios (Fig. 16). The same trend is noticed for the effect of number of passes on roundness error where a high was recorded at 4 passes reaching a minimum at 7 passes remaining constant till approaching 10 passes (Fig. 17). Out-of-roundness near cup bottom is markedly influenced by mandrel speed (Fig. 18). It increases steadily from 200 RPM hitting a high at 500 RPM. Then a rapid decline takes place till reaching a minimum at 800 RPM. Surface roughness (Ra) is only affected by feed ratio and mandrel speed. As both parameters increase a steady increase in surface roughness is observed (Figs. 19, 20).

Fig. 16
figure 16

Effect of feed ratio on roundness error

Fig. 17
figure 17

Effect of number of passes on roundness error

Fig. 18
figure 18

Effect of mandrel speed on roundness error

Fig. 19
figure 19

Effect of feed ratio on surface roughness

Fig. 20
figure 20

Effect of mandrel speed on surface roughness

It appears to be a conflict between the minimum roundness error and minimum surface roughness indicators. A compromise is necessary to optimize the spun cup quality in terms of both out-of-roundness and surface roughness together with the productivity (processing time). A min–max optimization approach was performed using Design-Expert 7 software. The objective function intended to achieve minimum out-of-roundness, minimum surface roughness, and maximum productivity (minimum processing time). The constrains were process factors and levels. The solutions were ordered by their desirabilities; desirability is a measure of achieving the target quality and processing parameters. Consequently, an optimum could be achieved at the maximum desirability. The optimum process condition was found to be at 0.6 mm/rev. feed ratio, 7 passes, and 200 RPM mandrel rotational speed with a desirability of 0.85 (Fig. 21). The corresponding out-of-roundness and surface roughness values are 70 μm and 1.18 μm with improvement of 65% and 26% respectively. These conditions are suitable for aerospace bearing cages.

Fig. 21
figure 21

Optimum solutions and highest desirability point

5 Conclusion

Regarding the cost basis, the present work is expected to be useful for the research community and manufacturers as well. A computer numerically controlled (CNC) spinning machine could be obtained from a conventional lathe machine through conducting a series of design modifications and applying a retrofitting technique. With the programmed machine, the motions in the longitudinal and transverse axes are synchronized automatically to generate involute and linear tool paths for multi-pass spinning. Backlash error was advantageously compensated for electronically rather than mechanically. It is possible to reach 800 mm/min feed speed in the axial direction. The value of lateral feed rate depends on the geometry and dimensions of the roller path. The recommended mandrel speeds for spinning process are from 200 to 800 RPM. The size capacity of the machine can accommodate 380 mm blank diameter, 300 mm maximum cup diameter, and 80 mm maximum cup height. Cost of the retrofitted machine is considerably lower than a newly purchased CNC spinning machine, but is higher compared to conventional manual spinning lathe which is compromised by the higher production rates. Trial runs showed that the machine can produce cups with surface roughness (Ra) in the order of 2 μm and roundness error of approximately 200 μm. Springback can be as small as 0.15 mm. Surface quality of the spun cups produced using the retrofitted machine was unexpectedly superior to the published research data and enhanced by further experiments under lubricated condition. Optimum out-of-roundness and surface quality with modest productivity were found to be at 0.6 mm/rev. feed ratio, 200 RPM mandrel rotational speed, and 7 spin-forming passes which are acceptable to aerospace bearing cages and industrial air flow equipment. Using the CNC retrofitted spinning lathe under optimum conditions, similar parts can be produced with high quality viably and economically.