1 Introduction

With the development of modern manufacturing technology, the requirement for excellent surface integrity of the mold components is becoming higher and higher. Surface topography, as one of the main contents of surface integrity, has significant effect on wear resistance and fatigue resistance of the machined components. Accordingly, surface roughness is widely used as an index to evaluate the machined surface quality, in most cases, as a technical requirement for mechanical products [1,2,3,4,5]. Therefore, simulations of machined surface topography constitute an active research topic in the manufacturing community [6, 7].

In the last two decades, many researchers have been conducted to investigate the influence of geometric characteristic of milling process on surface topography, such as cutting parameters, tool path strategy, and inclined angle. Buj-Corral et al. [8] developed a model to predict the surface topography and surface roughness; the effects of feed rate, eccentricity as well as helix angle on surface roughness were analyzed in side milling process. Chen et al. [9] reported a new surface topography model that the path-interval and feed-interval scallops generating mechanism were described in the ball-end milling process. Both Erkorkmaz et al. [10] and Buj-Corral et al. [11] investigated the influence of feed rate on surface topography. In addition, Toh et al. [12] and Tam et al. [13] devoted to optimize the path strategy to improve the productivity and surface quality. Chen et al. [14] reported the effect of tool postures included title angle and lead angle on surface topography, it indicated that the scallop height has no relation to the inclination angles of the ball-end miller when only the spherical part of the cutter participates in the cutting process. Chen et al. [15] experimentally investigated the effect of inclination angle of cutting tool on cutting force, cutting temperature, and residual stress, which suggested that priority selection of inclination angle in feed direction can reduce the cutting force. Li et al. [16] established the surface topography model of the end milling by meshing the workpiece and discretizing the cutting edge, the relationship between the residual heights, cutting parameters, and diameter of cutter was investigated. Based on the trajectory equations of cutting edge relative to workpiece, Gao et al. [6] reported that a simplified model for predicting the machined surface was proposed without discretizing the cutting edge and meshing workpiece in ball-end milling process, and the influence of milling parameters on surface roughness was also analyzed. Quinsat et al. [17] proposed a simulated model of 3D topography for three-axis machining using a ball-end cutter; the feed rate and path-interval scallops were taken into consideration. Furthermore, some researchers developed a geometric model of machined surface for predicting the topography and surface roughness taking into account the tool vibration. Surmann et al. [18, 19] explored the mechanism of tool vibration in milling process, which indicated that it is further accurate to predict the surface topography with the knowledge of vibration trajectories of milling tools. Arizmendi et al. [20] proposed a surface topography model by taking account of the effect of tool vibrations on the equations of the cutting-edge paths. Toh [21] reported the investigation on surface topography analysis relating to cutter path orientations in the high-speed finish milling inclined hard steel. Wang et al. [22] proposed a mathematical model for predicting the surface topography and surface roughness in five-axis ball-end milling process, at the same time, the influence of tool inclination and feed rate as well as radial cutting depth on surface roughness was analyzed. Zhang et al. [23] developed an optimizing model of surface topography in ball-end milling of AISI H13 steel, which indicated that better surface topography can be obtained by employing the lower material remove rate. In addition, according to De Souza et al. [24], the effective tool diameter of ball-end mill in some case varies according to the axial depth of cutting, the tool nominal diameter, surface curvature, which can cause the surface topography to vary constantly. Likewise, the corner radius of cutting tool plays an important role in surface topography formation at different inclined angle of workpiece in milling process.

With the improvement of requirement for surface quality and machining efficiency, the ball-nose end miller is widely employed in mold machining. However, only a few studies have focused on the surface topography in ball-nose end milling process. In addition, the researches which take into account the effect of corner radius and diameter of ball-nose end miller on roughness when the cutting parameters are optimized to obtain the desired surface roughness are relatively scant.

Therefore, the main objective of this research is to predict the surface topography and optimize the cutting parameters for obtaining desired surface roughness. First, the theoretical model of surface topography formation in ball-nose end milling process was developed. Then, ball-nose end milling experiments were carried out to validate the availability of surface topography model. Furthermore, the effect of corner radius and diameter of ball-nose end miller on surface roughness is analyzed. Finally, in terms of the minimum surface roughness, a mathematical model was presented by considering of the corner radius and diameter of ball-nose end miller, which was also verified by a series of experiments.

2 Surface topography model

2.1 Motion equation of cutting edge

During cutting process, surface topography is the result of the relative motion of cutting-edge and workpiece surface. Figure 1 shows the schematic of machining coordinate systems, where the XY plane of workpiece coordinate system OW-XYZ is parallel to the machined surface. Besides, the cutting tool coordinate system is fixed on the cutting tool, which rotates around the spindle with a velocity n. Based on the geometric relationship between the workpiece coordinate system and cutting tool system, the motion of discrete cutting-edge point can be expressed by Eq. (1),

$$ P\left(x,y,z\right)=\left(\begin{array}{l}x\\ {}y\\ {}z\\ {}1\end{array}\right)={T}_1{T}_2\left(\begin{array}{l}u\\ {}v\\ {}w\\ {}1\end{array}\right) $$
(1)

where P (x, y, z) and (u, v, w) are the coordinates of cutting-edge point in the workpiece coordinate system and tool coordinate system, respectively. T1 and T2 are the coordinate transformation matrixes, respectively. T1 is the coordinate transformation matrix from the cutting tool coordinate system to the workpiece coordinate system and T2 is the coordinate transformation matrix from the tool rotary coordinate to the tool kinematic coordinate, which can be given by Eqs. (2) and (3),

$$ {T}_1=\left(\begin{array}{cccc}\cos {\beta}_2& \cos {\beta}_1\sin {\beta}_2& -\sin {\beta}_1\sin {\beta}_2& {x}_0+\left(i-1\right){a}_e\\ {}-\sin {\beta}_2& \cos {\beta}_1\cos {\beta}_2& -\sin {\beta}_1\cos {\beta}_2& {y}_0+\frac{n{z}_n{f}_z}{60}t\\ {}0& \sin {\beta}_1& \cos {\beta}_1& {z}_0\\ {}0& 0& 0& 1\end{array}\right) $$
(2)
$$ {T}_2=\left(\begin{array}{cccc}\cos \left({\varphi}_0-\frac{2\pi n}{60}t\right)& -\sin \left({\varphi}_0-\frac{2\pi n}{60}t\right)& 0& 0\\ {}\sin \left({\varphi}_0-\frac{2\pi n}{60}t\right)& \cos \left({\varphi}_0-\frac{2\pi n}{60}t\right)& 0& 0\\ {}0& 1& 1& -R\\ {}0& 0& 0& 1\end{array}\right) $$
(3)

where β1 and β2 denote the rotation angles of tool coordinate system around the X-axis and Z-axis of workpiece coordinate system, respectively. (x0, y0, z0) denotes the initial position of point P, ae is radial depth of cut, n is spindle speed, zn is number of cutting edge, fz is feed per tooth, i represents the number of tool path, and t is the cutting time during ith tool paths. φ0 is the initial phase angle of cutting tool and R is the radius of cutting tool.

Fig. 1
figure 1

Schematic of coordinate systems

As shown in Fig. 2, the cutting edge of ball-nose end miller is described in tool coordinate system. For ball-nose end miller, the discrete cutting edge has the lag angle at different heights when the milling cutter with helix angle is used. Since only the fillet-edge of milling cutter is involved in the cutting process, the lag angle of point P in fillet-edge can be calculated by Eq. (4),

$$ \psi =\frac{w\tan \gamma }{R\left(\alpha \right)} $$
(4)

where w represents the coordinate value of point P in tool coordinate system, γrepresents the helix angle of cutter, α is the angle between the OP and W-axis, and ψ is the lag angle of point P. R(α) is the radius of P, which is shown in Fig. 2.

Fig. 2
figure 2

Schematic of ball-nose end miller in tool coordinate system

Apparently, the coordinate of P point on cutting edge of integral ball-nose end miller can be obtained through the geometric relationship, as shown in Eq. (5).

$$ \left\{\begin{array}{c}u=R\left(\alpha \right) cos\psi \\ {}v=R\left(\alpha \right) sin\psi \\ {}w=r\left(1- cos\alpha \right)\end{array}\right. $$
(5)

At the same time, it can be seen that

$$ R\left(\alpha \right)=R-r+ rsin\alpha $$
(6)

In addition, for ball-nose end miller with indexable insert, the coordinate of P point in cutting edge can be expressed by Eq. (7).

$$ \left\{\begin{array}{l}u=r\sin \alpha +R-r\\ {}v=0\\ {}w=r\left(1- cos\alpha \right)\end{array}\right. $$
(7)

2.2 Solving algorithm of surface topography

A two-dimensional grid plane model was applied for the workpiece model. As shown in Fig. 3, the workpiece model was divided into m × n meshes in the workpiece coordinate system, which can be represented by a m × n zero matrix H. Then calculated the location of discrete cutting-edge point when the tool moves to all discrete tool path position. Next, all z coordinate values of discrete cutting-edge point in each grid are obtained, and the minimum value can be acquired by comparing all values of z in each grid. Finally, the initial value of H will be replaced by corresponding minimum value of z in each grid.

Fig. 3
figure 3

Workpiece model

Based on above equations, the minimum z coordinate values of discrete cutting-edge point in each grid can be acquired through calculating the motion track of discrete cutting-edge point in workpiece coordinate system. Then, update the matrix H. according to the new matrix H, the simulated result of surface topography is obtained in MATLAB software. Furthermore, the three dimensional arithmetic average deviation (Sa) is also obtained as given in Eq. (8),

$$ {S}_a=\frac{1}{mn}\sum \limits_{x=1}^m\sum \limits_{y=1}^n\left|{h}_{xy}\right| $$
(8)

where m, n is the number of grids along X, Y direction in workpiece coordinate system, respectively. hxy represents the distance between sampling dot and the mean plane.

2.3 Surface topography model validation

In order to verify the accuracy of surface topography model, the hard milling experiments were performed on a vertical CNC machining center (YCM-V116B). The cutting tools used in experiment were supplied by Seco Tools company. AISI P20 steel was chosen in this research, with the dimension of 100 × 100 × 15 mm. Figure 4 shows the experimental setup and cutting insert. The details of the material and cutting parameters are listed in Tables 1 and 2, respectively. The surface topography of machined surface was measured by white light interferometer (Veeco WYKO NT9300).

Fig. 4
figure 4

Schematic diagram of milling tests: a experimental set-up and cutting tool, b tool path

Table 1 Chemical composition of P20 steel (wt%)
Table 2 Cutting parameters of milling experiments

The simulated and experimental results at different cutting parameters are shown in Figs. 5 and 6. Figures 5a and 6a show the simulated and experimental results of the transverse 2D profiles taken along the feed direction and step-over direction, respectively. In addition, the simulated and experimental 3D surface topography are also shown in Figs. 5b and 6b. It can be seen from Figs. 5 and 6 that the simulated and experimental results show great consistency. Likewise, according to the comparison of Sa between the simulated and experimental result listed in Table 3, it is obvious that the experimental result for all trials were slightly higher than the predicted result, with relative errors below 13%. Based on Figs. 5 and 6 and Table 3, it supports the fact that the predicting model of surface topography is reliable.

Fig. 5
figure 5

Comparison between simulated and experimental results at trial no. 3: a 2D profiles, b 3D surface topography

Fig. 6
figure 6

Comparison between simulated and experimental results at trial no. 7: a 2D profiles, b 3D surface topography

Table 3 Comparison between the simulated results and experimental results

3 Analysis of surface topography model

3.1 Effect of corner radius and diameter of ball-nose end miller on Sa

According to Zhang et al. [23], once the cutting tool and workpiece material are determined, the material remove rate (MRR) is only related to the fz and ae. In addition, the fz and ae affect the scallop height and geometry both in feed direction and step-over direction, which means different combination of fz and ae can cause different surface topography even though the MRR is constant. In the case where the product value of fz and ae is constant, the relationship between the Sa and the ratio of fz and ae with different cutting tool specification is shown in Fig. 7. It is obvious that the Sa tends to decrease then increase with increasing ratio of fz and ae, this indicated that the minimum Sa corresponds to the specific value of the ratio of fz and ae which is defined as C. Furthermore, it is noticeable that the minimum point of relationship curve changes with the corner radius and diameter of cutting tool specification shown in Fig. 7, which indicates that better surface topography can be obtained through selecting the suitable fz and ae for different cutting tool specification in milling process.

Fig. 7
figure 7

Relationship curve between Sa and the ratio of fz and ae (Note: “D” refers to diameter of cutting tool; “r” refers to corner radius of cutting tool)

Based on the milling experiments result, the values of C corresponding to minimum Sa in Table 4 show that the C are equal when the ratio of R and r is identical for different ball-nose end miller. Therefore, it means that the C is only related to the ratio of R and r.

Table 4 C value at different cutting tool specification

In order to reveal the relationship between the C and ratio of R and r, a series of simulated trials are carried out, the results are listed in Table 5. Based on the analysis of frequently used function and simulated results correlation, the exponential function was considered. It can be given by Eq. (9).

$$ C=a{\left(\frac{R}{r}+b\right)}^k+d $$
(9)
Table 5 C values with different values of R/r

Where a, b, k, and d are coefficients. The coefficients of regression function are obtained by fitting analysis with the use of simulated trial results. The fitting result is shown in Fig. 8, the relative error is below 5%, furthermore, R2Adj of regression analysis is equal to 0.99, which indicated that the predicting model is reliable. According to the results of regression analysis, the coefficients of Eq. (9) can be obtained. Consequently, the relationship between the C and the ratio of R and r can be expressed as

$$ C={\left(\frac{R}{r}-0.569\right)}^{0.562}+0.365 $$
(10)
Fig. 8
figure 8

Analysis of regression function

3.2 Mathematical model validation

To validate the predicting model (Eq. 10), the experiments employing different tool specification when finish milling inclined AISI P20 steel at a workpiece angle of 15° were carried out. Single direction raster strategy of cutter path orientation was employed in the experiment, as shown in Fig. 4. The details of experiments are shown in Table 6. The cutting tools used in experiment were supplied by Seco Tools company (JHP770100E2R050.0Z4A-SIRA, JHP770100E2R100.0Z4A-SIRA).

Table 6 Details and result of validation experiments

Figure 9 shows the simulated and experimental results of the transverse 2D profile and 3D surface topography at trial no. 4 of Table 6, respectively, which also indicates that the surface topography is reliable. In addition, C value of cutting tool with D10r5 calculated by Eq. (10) is equal to 3.9 when the minimum surface roughness is obtained, as shown in Table 6, the experimental results indicate that when the ratio of fz and ae is equal to 3.9, the surface roughness is minimal, and the C value of cutting tool with D10r1 also corresponds to the experimental result. Likewise, the predicted and experimental results show that the relative errors are in the range of 2.4–13.6%. Therefore, it can be concluded that the predicted model (Eq. 10) is reliable and can be used for obtaining desired surface roughness when the cutting parameters are optimized under using ball-nose end millers with different diameter and radius corner.

Fig. 9
figure 9

Comparison between simulated and experimental results at trial no. 4: a 2D profile, b 3D surface topography

4 Conclusion

In this research, the surface topography model with considering corner radius and diameter of cutter are developed for ball-nose end milling of AISI P20 steel. The main conclusions that can be derived from this research are summarized as follows:

(1) A predicting surface topography model was established for ball-nose end milling process of AISI P20 steel, the comparison between the simulated and experimental result indicates that the predicting model is reliable.

(2) The effect of corner radius and diameter of ball-nose end miller on surface roughness was investigated, it is observed that the Sa tends to decrease then increase with increasing ratio of fz and ae, besides, the special value of C (fz/ae) corresponding to minimum surface roughness is related to the ratio of corner radius and diameter of ball-nose end miller.

(3) In terms of minimum surface roughness, a mathematical model is established by taking account of r and D of ball-nose end miller, which indicated that proper selection of cutting parameters (fz and ae) with consideration of diameter and radius corner of ball-nose end miller is a novel avenue for acquiring desired surface roughness in ball-nose end milling of AISI P20 steel.