1 Introduction

Machining is an essential industry in developed countries [1]. Despite the developments of machines’ tools and coating technologies, tool wear poses a significant challenge in cutting processes, reliability determination, and product quality [2]. Tool wear can negatively affect the quality of producing workpiece and surface roughness. It can also increase the production time and machining process cost [3].

Taylor’s equation is adopted to predict the amount of flank wear, and hence the tool life [4], in which the relationship between cutting speed (Vc) and tool life (T) is defined as (Vc. Tn = C), where C and n depend on a specific composition of a workpiece and cutting tool materials [2].

Given the increasing industrial application of new machining technologies (e.g., high cutting speed or dry cutting), the existing equations for tool life should be updated based on constants. Moreover, although these equations can be used to predict the tool life, it is difficult for tools designers to receive more information about the extent of wear, wear specifications, or wear mechanisms [5]. Therefore, the tool life equations cannot be used in all cutting conditions [6, 7].

In the previous studies, tool life is assumed to be deterministic, which allows the calculation of the tool life accurately when the process parameters are provided. In this regard, Noel et al. [8] reported that ignoring the variation of tool life results in unsuccessful planning and low accessibility of the machining process. Therefore, many researchers have investigated stochastic approaches to model tool life. Hundreds of machining experiments in the study of Wager and Barash [9] confirmed that the real life of HSS tools is entirely different from deterministic predictions. Based on these results, the authors reported that normal distribution is suitable for tool life as long as the complete breaking of the tool is concerned. In another study, using a normal distribution and Bayesian inference, a tool life model was developed for the turning and milling process [10]. Dasic et al. [11] emphasized on the easiness and symmetrical features of normal distribution. They argued that despite the observed data skewness, the normal distribution is suitable for reliability modeling [11]. However, the normal distribution allowed the inclusion of negative values in tool life. Moreover, Wager and Barash [9] found skewed data in their study on the life of the cutting tool and concluded that the normal distribution cannot represent the tool life's behavior, when it is not symmetric. Therefore, they recommended using the log-normal distribution or Weibull distribution for tool life modeling. Log-normal distribution has been used for tool wear modeling by some other researchers as well [12, 13].

Regarding observations on the metal cutting process, Ramalingam [13] concluded that given the changing rate of detachment over time, log-normal distribution is more suitable for tool life modeling. However, log-normal distribution does not realistically represent the tool life’s distribution. This conclusion is made based on the failure rate function. According to this function, the failure rate increases over a certain period, after which it reduces to zero. Apart from a few cases, this type of failure rate function cannot be used in usual machining processes [14].

According to Rausand and Høyland [15], an inverse Gaussian distribution represents the distribution of tool life more realistically than a log-normal distribution. The shape of the failure rate function of this distribution resembles the shape of a log-normal distribution. Yet, over time, the failure rate function gets closer to a non-zero value. The studies conducted by Galante et al. [16] indicated the applicability of the inverse Gaussian distribution for tool life modeling.

The analyses of cutting tools wear using Bernstein distribution show that Bernstein distribution tends to inverse Gaussian distribution when the primary tool wear is zero [17, 18]. However, the main problem of Bernstein and inverse Gaussian distributions is the difficulty of estimating their parameters, which makes the practical use of these two distributions challenging.

Meanwhile, various studies represent Weibull distribution as a suitable distribution for cutting tool life modeling [19, 20]. Wager and Barash [9] proposed a Weibull distribution as a flexible distribution. The main advantage of this distribution is that it allows the modeling of several shapes of failure rate functions, including increasing, decreasing, and constant rate [14]. The study of Elwardany and Elbestwai [21] on the flexibility and shape of reliability function and failure rate function showed that a Weibull distribution is suitable when a tool breaks under the influence of a shock.

Pandit [22] showed that an exponential distribution as a particular subclass of Weibull distribution is an appropriate approximation of tool life, used in high-speed machining. Likewise, Elwardany and Elbestawi [21] suggested the possibility of using a Weibull distribution when the distinction among various failure modes is impossible.

Based on the surveyed literature, it can be concluded that no study has investigated the impact of machining conditions, such as spindle speed, feed rate, and depth of cut on the parameters of Weibull distribution. Using an empirical approach, this paper aims to propose a tool life model based on Weibull distribution. In this methodology, the Weibull parameters under various machining conditions are obtained using the Box-Behnken design, TTT transform, and golden section search.

In this paper, a hybrid methodology is developed to achieve two objectives. The first objective is to model the Weibull distribution’s parameters precisely for a specific machining condition that, through it, the cutting tool life distribution is determined. The second objective is the identification of variations in tools’ life distribution due to the changes in the machining variables. To achieve these objectives, in the proposed methodology, the design of the experiment is adopted using Box-Behnken design. The Total time on test (TTT) transform is conducted on the tool life data. Moreover, the golden section search (GSS) algorithm is applied to estimate the tool life’s distribution. For this purpose, the relation between the Weibull distribution’s parameters and the machining conditions is determined as a full quadratic model. Finally, the proposed method is implemented in a milling operation, and the results are reported.

The rest of the paper is organized as follows: Section 2 presents the problem definition in detail. In Section 3, the Weibull distribution estimators are compared. Section 4 describes the material and experimental planning for the case study. Section 5 is focused on the result and discussion, and finally, Section 6 presents the conclusions.

2 Problem definition

Accurate estimation of tool life and monitoring the cutting tool’s performance during machining operations is critical since the quality of the end-product and productivity rate depend on the functional state of the tool [23]. Replacing tools in short periods of time leads to increased tool costs. On the other hand, replacing tools over long periods of time may lead to tool breakdowns during the operation and cause damage to the workpiece and even the machine tool. Therefore, accurate estimation of tool life distribution’s parameters can lead to the optimization of tool replacement time and thus reduce the production costs [24, 25].

In this section, assuming the tool life follows a Weibull distribution, a mathematical approach to model the parameters of the tool life distribution is presented. This study aims to determine the relationship between the machining conditions and the parameters of the Weibull distribution and investigate how the tool life’s parameters vary as the machining conditions change. As it is explained in Section 2.1, the design of experiment (DOE) is used based on BBD. The nomenclatures used in this paper are shown in Table 1.

Table 1 Nomenclatures

2.1 Design of experiment based on Box-Behnken design

The RSM is a non-linear multivariate model that involves the DOE to provide reliable responses and fits the best surface to the data [26]. One of the RSM methods is BBD, which is a second-order design based on a 3-level partial factorial design [27, 28]. BBD was used in this research because it is more efficient than the central composite design (CCD) [29]. This method can estimate the values of the parameters in a quadratic model, making it possible for the responses to be modeled by a second-order polynomial as in Eq. 1:

$$ {\displaystyle \begin{array}{c}Y={\beta}_0+{\beta}_1.{x}_1+{\beta}_2.{x}_2+{\beta}_3.{x}_3+{\beta}_4.{x}_1.{x}_2+{\beta}_5.{x}_1.{x}_3+{\beta}_6.{x}_2.{x}_3\\ {}+{\beta}_7.{x}_1^2+{\beta}_8.{x}_2^2+{\beta}_9.{x}_3^2\end{array}} $$
(1)

where x1, x2, and x3 represent independent variables and γ represents the response variable. β0 represents intercept, while β1 to β9 denote the model’s coefficients. The number of experiments can be obtained through Eq. 2:

$$ N=2.k.\left(k-1\right)+{C}_0 $$
(2)

where N and k represent the number of experiments and the number of independent variables, respectively. C0 indicates the number of center points in the experiment.

In this study, the spindle speed, feed rate, and depth of cut are the independent variables. It is worth noting that in all studies conducted using DOE in machining processes, the response variables are quantitative and measurable. Surface roughness, flank wear, machining time, and the end of the tool’s life are some of the response variables commonly considered. However, in the current study, a Weibull distribution’s parameters are considered response variables, which cannot be directly calculated based on a single machining experiment. Given different machining conditions, these experiments aim to realize how the tool life’s parameters vary. To this end, Section 2.2 describes a mathematical transformation, called the total time on test (TTT) transform, and explains its application in the DOE.

2.2 TTT transform

Consider an experiment in which a cutting tool machines a workpiece under specific machining conditions. The experiment with fixed machining conditions was repeated n times, and each time, the tool life is recorded. Then, the recordings are arranged in ascending order (t1, …, tn). The tool life is assumed to follow a continuous distribution that has a strictly increasing cumulative distribution function with a finite mean. Given these conditions, the total time on test for ith failure {T(ti)} is defined as Eq. 3:

$$ T\left({t}_i\right)=\sum \limits_{j=1}^i{t}_j+\left(n-i\right){t}_i $$
(3)

In order to scale the TTT values for ith failure, each value should be divided by {T(tn)}. Now, a plot is drawn with x axis and y axis representing (i/n; i = 1, …, n) and T(ti)/T(tn); i = 1, …, n, respectively. The plot is called the TTT plot.

Rausand and Høyland [15] indicated that T(ti) can be calculated as Eq. 4, where Fn(u) represents the function of experimental life distribution. Accordingly, they demonstrated that when n tends to infinity, E(t) can be determined as Eq. 5, where E(t) is the mathematical life expectation.

$$ T\left({t}_i\right)=n{\int}_0^{t_i}\left(1-{F}_n(u)\right) du $$
(4)
$$ E(t)=\frac{1}{n}\sum \limits_{i=1}^n{t}_i={\int}_0^{F^{-1}(1)}\left(1-F(u)\right) du $$
(5)

Now, \( {h}_f^{-1}(v) \) denotes the TTT transform on F(t), which is expressed in Eq. 6:

$$ {h}_F^{-1}(v)={\int}_0^{F^{-1}(v)}\left(1-F(u)\right) du;0\le v\le 1 $$
(6)
$$ G(v)=\frac{h_f^{-1}(v)}{h_f^{-1}(1)}; for\;0\le v\le 1 $$
(7)

In Eq. (7), G(v) denotes the scaled TTT transform on F(t). Given that the focus of this study is on Weibull distribution if F(u) is replaced by \( \left\{1-{e}^{-{\left(\lambda .u\right)}^{\alpha }}\right\} \), where λ > 0, α > 0, u ≥ 0, and F−1(v) is replaced by (1/λ). {−Ln(1 − v)}1/α, where 0 ≤ v ≤ 1, the TTT transform, is achieved in Eq. 6. Consequently, Eq. 8 can be written for the Weibull distribution:

$$ {h}_F^{-1}(v)={\int}_0^{\frac{1}{\lambda }{\left(-\ln \left(1-v\right)\right)}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$\alpha $}\right.}}{e}^{-{\left(\lambda u\right)}^{\alpha }} du;0\le v\le 1 $$
(8)

Equation 8 can be rewritten as Eq. 9 with the change of variable t = (λ. u)α:

$$ {h}_F^{-1}(v)=\frac{1}{\alpha \lambda}{\int}_0^{-\ln \left(1-v\right)}{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt;0\le v\le 1 $$
(9)

Now, G(v) is obtained for the Weibull distribution as follows:

$$ {\displaystyle \begin{array}{c}G(v)=\frac{\frac{1}{\alpha \lambda}{\int}_0^{-\ln \left(1-v\right)}{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt}{\frac{1}{\alpha \lambda}{\int}_0^{\infty }{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt}=\frac{\frac{1}{\alpha \lambda}{\int}_0^{-\ln \left(1-v\right)}{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt}{\frac{1}{\alpha \lambda}\varGamma \left(\frac{1}{\alpha}\right)}=\frac{\frac{1}{\alpha \lambda}{\int}_0^{-\ln \left(1-v\right)}{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt}{\frac{1}{\lambda}\varGamma \left(\frac{1}{\alpha }+1\right)}\\ {}=\frac{\frac{1}{\alpha }{\int}_0^{-\ln \left(1-v\right)}{t}^{\left(\frac{1}{\alpha }-1\right)}{e}^{-t} dt}{\varGamma \left(\frac{1}{\alpha }+1\right)}\end{array}} $$
(10)

The following points are essential to make about (v):

  1. 1.

    G(v) is a transform on the Weibull distribution, which is independent of parameter λ.

  2. 2.

    The numerator of this fraction is an incomplete gamma function.

  3. 3.

    It cannot be stated as an explicit mathematical function and can be calculated only numerically.

  4. 4.

    Its exact value cannot be calculated for each v. However, there are several methods to approximate the value.

Rausand and Høyland reported a specific relationship between \( {h}_F^{-1}(v) \) behavior and failure rate [15]. They demonstrated that if \( {h}_F^{-1}(v) \) is a convex function, the F distribution would have an increasing failure rate, and if \( {h}_F^{-1}(v) \) is a concave function, the F distribution has a decreasing failure rate. These conditions are two-way, assuming that F distribution is a continuous function and has a strictly increasing cumulative distribution.

The application of G(v) is the estimation of TTT based on different values of v when 0 ≤ v ≤ 1. Equation 11 defines the relationship between G(v) and the scaled total time on the test:

$$ \frac{h_f^{-1}(v)}{h_f^{-1}(1)}=\frac{T\left({t}_i\right)}{T\left({t}_n\right)} $$
(11)

Equation 11 holds for i = 1, …, n, where v = (i/n). Equation 11 is used in this research to analyze the parameters of the cutting tool life’s distribution, which is modeled according to Weibull distribution. Section 2-3 will discuss how using convex optimization at each level of the BBD experiment based on TTT transform, the shape and scale parameters can be estimated. Finally, the relationship between the machining conditions and these parameters will be modeled.

2.3 Estimating the parameters of the cutting tool life distribution based on the Weibull distribution

This section introduces a mathematical approach for estimating the Weibull distribution’s parameters. This approach is used to obtain the relationship between these parameters and the machining conditions. In this study, a hybrid methodology is developed, which consists of a DOE based on BBD, TTT transform, and convex optimization using the golden section. In this methodology, based on BBD for each experiment, the spindle speed, feed rate, and the depth of cut are initially determined through the DOE. Then, a predefined number of inserts (n) are performed on the workpiece, and the tool life (ti) is recorded for each insert. Then, using Eq. 3, T(ti)/T(tn) ratio is calculated under the scaled total TTT. In the next stage, G(v), which is obtained from Eq. 12, is fitted on the TTT plot data, such that the summation squared error (SSE) is minimum. Therefore,

$$ \mathit{\operatorname{Min}}\; SSE=\sum \limits_{i=1}^n{\left(G\left(\frac{i}{n}\right)-\frac{T\left({t}_i\right)}{T\left({t}_n\right)}\right)}^2 $$
(12)

The optimization of the function above involves only one variable, namely, α, which is the shape parameter of the Weibull distribution for the tool life because G(v) is independent of λ. Now, if SSE is calculated for various values of α, and all the obtained points are connected on a plot, a uni-modal function emerges.

This study uses the golden section search (GSS) method to optimize Eq. 12. The GSS was extended to optimize the uni-modal functions by Kiffer [30] and other researchers [31,32,33,34]. In Appendix A, a geometrical interpretation and the pseudo-code of this method to optimize Eq. 12 and calculate the shape parameter are presented.

After estimating the shape parameter of the Weibull distribution (α), the relationship between the scale parameter and the distribution’s mean is used to calculate the scale parameter (λ), which is equal to E(T) = Γ(1 + 1/α)/λ. On the other hand, based on the observations of the tool life for each level of BBD, E(t) is calculated using \( E(T)={\sum}_{i=1}^n{t}_i/n \), where n is the number of the inserts. Then, the scale parameter for each level of the BBD experiment is obtained using α in Eq. 13.

$$ \lambda =\frac{\varGamma \left(\frac{1}{\alpha }+1\right)}{E(t)} $$
(13)

Figure 1 displays the proposed methodology, which combines a BBD-based DOE, TTT transform, and optimization through GSS to determine the distribution parameters of a tool life according to the machining conditions. This approach not only supports the stochastic modeling of the tool life, but it also represents the impact of the changing machining conditions on the tool life’s distribution.

Fig. 1
figure 1

The flowchart of the proposed methodology

As Fig. 1 indicates, the BBD-based design of the experiment initially introduces the values for each machining parameter. A predefined number of repetitions (inserts) are needed to increase the accuracy of each experiment introduced by BBD. Then, using TTT transform on the obtained data, a convex optimization problem is applied. This problem contains a uni-modal and a single variable function, which is optimized by the GSS method. The output of the GSS is the shape parameter of the Weibull distribution (α, β) under a set of specified and constant values of the machining conditions. The scale parameter of the Weibull distribution (α, β) is calculated using the shape parameter and the mean of the Weibull distribution. This process is performed for all of the designed experiments in BBD. Finally, the relationship between each parameter of the tool life’s distribution and the machining conditions is modeled using a full quadratic function.

3 Comparison of the Weibull distribution’s estimators with the methods of LSM and MLE

In the proposed methodology, the Weibull distribution parameters are determined by the combination of TTT transform and GSS for each experiment. There are various methods to estimate the parameters of Weibull distribution, such as the least square method (LSM), maximum likelihood estimation (MLE), method of the logarithmic moment (MLM), percentile method, and the method of moments (MM) [35]. The estimation errors of these methods depend on the sample size (n). Thus, the estimation error for these methods is considerable for low values of n.

For this purpose, the combination of TTT transform and GSS performance and the two methods, namely, LSM and MLE, are compared with the Weibull distribution’s parameters estimated in this study. LSM and MLE are implemented by MINITAB software, in which the density function of the Weibull distribution is considered \( f(x)=\left(\frac{\alpha }{\beta}\right).{\left(\frac{x}{\beta}\right)}^{\alpha -1}.{e}^{-{\left(x/\beta \right)}^{\alpha }} \). In the proposed methodology, we considered that β = (1/λ). To compare the performance of the methods in estimating the Weibull distribution’s parameters, three sets of the parameters, including (α, β) = (2, 1000), (3, 1500), (4, 2000), are investigated. For the three Weibull distributions, 1000 samples of size five were simulated using the Monte Carlo method. For sample i, the Weibull distribution’s parameters are estimated as \( \left({\hat{\alpha}}_i,{\hat{\beta}}_i\right) \). Then, the result of each parameter is calculated using Eqs. 14 and 15:

$$ \overline{\alpha}=\frac{\sum \limits_{i=1}^{1000}{\hat{\alpha}}_i}{1000} $$
(14)
$$ \overline{\beta}=\frac{\sum \limits_{i=1}^{1000}{\hat{\beta}}_i}{1000} $$
(15)

In this paper, the estimation error is determined through the normalized root to mean square error (NRMSE), provided in Eq. 16:

$$ NRMSE=\sqrt{\frac{1}{1000}\sum \limits_{i=1}^{1000}{\left(\frac{{\hat{\alpha}}_i-\alpha }{\alpha}\right)}^2+{\left(\frac{{\hat{\beta}}_i-\beta }{\beta}\right)}^2} $$
(16)

The values of \( \overline{\alpha} \) and \( \overline{\beta} \) obtained from the estimators and the NRMSE are reported in Table 2 for the three methods. The estimated errors of the TTT transform and GSS of the proposed method are significantly lower than those determined by LSM and MLE. Figure 2 shows the reliability function of the Weibull distribution schematically under \( \overline{\alpha} \) and \( \overline{\beta} \) from each method. The figure shows that the accuracy of the TTT transform and GSS is better than those of LSM and MLE.

Table 2 Results of the estimation of the parameters by LSM, MLE, and the TTT transform and GSS
Fig. 2
figure 2

Comparison of all estimators for α = 4 and β = 2000

4 Material and experimental planning

To implement the proposed methodology, a three-axis CNC milling machine under various machining conditions shown in Table 3 is considered. This machining process was carried out on the steel 304 workpiece with 260-mm length and 40-mm width. Moreover, three-edged cemented carbide inserts were used as the cutting tool. The upper and lower bounds of the machining conditions were defined based on the milling machine's operational specifications. Table 3 shows the machining process’s characteristics.

Table 3 Machining process characteristics

The cutting speed (V) is obtained using Eq. 17, where d is the cutting width and nS is spindle speed:

$$ V=\frac{\pi .d.{n}_S}{1000} $$
(17)

Furthermore, the machining time on each workpiece is obtained by the “volume of removed material/material removal rate” [36] and is calculated using Eq. 18:

$$ t=\frac{Vol}{n_S.f. ap.d} $$
(18)

In this formulation, the denominator is the material removal rate (nS is the spindle speed, f is the feed rate, ap is the depth of cut, and d is the width of cut), and Vol, which is equal to Vol = ap × L × d, is the volume of the removed material from the workpiece surface, where L is the length of cut.

5 Results and discussion

Based on ISO 3685 (1993) [37], the tool life is defined as the period of time, which the tool can efficiently produce the workpiece with the required dimensions and surface roughness. Typically, flank wear has a critical impact on the quality of the workpiece. Therefore, VB is usually taken as a criterion for the tool life:

  1. 1)

    The average width of flank wear land (VBB) equals to 0.3 mm, if the wear patterns formed on the relief face of the cutting tool are regular.

  2. 2)

    The maximum width of flank wear land (VBmax) equals to 0.6 mm if the wear patterns formed on the relief face of the cutting tool are irregular.

In this study, the flank wear was measured from the captured images of the cutting tool using a machine vision. Vision systems are suitable for assessing the tool wear and surface quality of the workpiece. Some studies about the use of vision systems for tool wear are reported by Kurada and Bradley [38]. In this research, the workpiece width is equal to the cut width (or the milling tool diameter). After the first machining run, the insert was removed from the tool holder, and the image of the side profile of the tooltip was captured. The width of the flank wear land (VBBmax) was measured from the obtained profile. The above procedure was then repeated until VBBmax reaches 0.3 mm as the tool life criterion. At this stage, the insert is considered to be worn out or “failed.” Recently, Broto et al. [39] have considered the same criterion for the end of tool life in a study on a milling process.

By considering k = 3 (namely, the spindle speed, feed rate, and the depth of cut), and C0 = 1, the number of experiments equals to 13. In this cube design, the machining parameters are determined and based on the specified machining conditions, and each experiment is conducted with a predetermined number of repetitions. In the current research, five repetitions are considered. It is worth mentioning that the cube design is defined using a set of hypothetical points in the middle of each side and the center of a multidimensional cube. Table 4 presents the machining parameters for each experiment

Table 4 Experimental plan and the results for the tool life

Figure 3 a–d show the flank wear progress for the first insert of experiment number 4. The flank wear reaches the maximum permissible value due to the high amount of spindle speed and feed rate in this experiment.

Fig. 3
figure 3

Real images of the flank wear progress for the first failed to insert in experiment number 4 (n = 2000 rpm, f = 0.3 mm/rev, ap = 0.15 mm)

In order to show the impact of the variation in the machining conditions on the flank wear, the flank wear progress for four randomly selected experiments are shown in Fig. 4 a–d. Based on Section 2.2 and the presented flowchart in Fig. 1, the values of T(ti) are calculated for each experiment. To do this, the first obtained data of the tool lifetime (ti) are sorted in ascending order; then, based on Eq. 3, the TTT is calculated. Finally, these values are divided by T(tn). Table 5 presents the process of the required calculations for four levels of the design of experiments.

Fig. 4
figure 4

Flank wear progress for 5 failed inserts in experiments numbers 4, 5, 9, and 13.

Table 5 Tool life data and TTT estimates

Then, the Weibull parameters in each level of the designing experiments should be determined. For this purpose, according to Section 3.2, G(v) and SSE functions are obtained for each experiment based on Eqs. 10 and 12. As it is mentioned in Section 2.3 with SSE minimization, using the GSS, the shape parameter of the Weibull distribution is determined for each designed experiment based on BBD. Figure 5 a–d demonstrate the trend of implementing the iterations of the GSS for four experiments. In this figure, the blue line is the SSE function, the red points are the solutions in each iteration of the GSS, and the green points are the global optimum.

Fig. 5
figure 5

SSE function and the resultant solutions in each iteration of the golden section search

Figure 6 a–d show the TTT plot based on the description provided in Section 2.2 for the four experiments. The blue points are the values of the scaled total time on test transform T(ti)/T(tn), and G(v) function is shown by the red line in Fig. 6. Finally, after calculating the shape parameter, to find the scale parameter, Eq. 13 is used.

Fig. 6
figure 6

TTT plot for 5 failed inserts of experiments numbers 4, 5, 9, and 13

After obtaining the shape and the scale parameters of the Weibull distribution in each level of the designed experiments, the relationship between these parameters with the machining conditions is modeled using a full quadratic function. Table 6 shows the shape and the scale parameters of the Weibull distribution for all experiment levels. Moreover, in this table, the values of the SSE function obtained in the optimization process using the GSS algorithm are presented. In Fig. 7, the tool reliability functions with 4 different categories of machining conditions are compared, which indicate that each reliability function has different values of Weibull distribution’s parameters.

Table 6 Shape and scale parameters and SSE value of the experimental plan
Fig. 7
figure 7

Tool reliability function for experiments numbers 4, 5, 9, and 13

Tables 7 and 8 present the effects of machining conditions on the shape and scale parameters of the Weibull distribution. These tables show the analysis of variances (ANOVA) for the Weibull parameters separately. In these tables, the degree of freedom (DF) is the number of changeable values in statistics and is obtained by subtracting the number of the evaluated parameters from the number of independent observations. The sequential sums of squares (SSSeq) depend on the number of entire factors in the model. The adjusted sums of squares (SSAdj) are independent of the number of entire factors in the model. The adjusted mean squares (MSAdj) are calculated based on dividing the adjusted sums of squares by the degree of freedom. F is calculated by dividing MSAdj by the error mean square (MSE) for each factor in each row of the table. P-value (P) is used to determine the significance level of the factors.

Table 7 Analysis of variance for α
Table 8 Analysis of variance for λ
$$ {R}^2=\%92.52,{R}_{Adjusted}^2=\%70.08 $$
$$ {R}^2=\%96.80,{R}_{Adjusted}^2=\%87.19 $$

In Table 7, the values of R2 and the adjusted R2 for the shape, parameters are 92.52% and 70.08 % , respectively, which show the appropriate correlation between the quadratic model and the results of the experiments. The obtained model for the shape parameter of the Weibull distribution has been explained in Eq. 19. According to Table 7, the P − value for n and ap in the last column has the least value compared to other factors. These results show the significant impact of the spindle speed and the depth of cut on the shape parameter of the Weibull distribution. The impact of the spindle speed is more prominent than the depth of cut. This is further confirmed by P − values of 0.023 and 0.072 for the spindle speed and the depth of cut, respectively. Moreover, according to Eq. 19 in Table 9, n and ap coefficients are negative, indicating an inverse relationship between these machining parameters and the shape parameter of the Weibull distribution.

Table 9 Regression models for the parameters of Weibull distribution

In Table 8, the values of R2 and the adjusted R2 for the scale, parameters are 96.80% and 87.19 % , respectively, which show the appropriate correlation between the quadratic model and the results of the experiments. The full quadratic model for the scale parameter of the Weibull distribution is shown in Eq. 20 of Table 9. According to Table 8, the spindle speed has the greatest impact on the scale parameter based on P − value (0.005). It should be noted that the significant impact of the cutting speed on the tool life has been confirmed by other studies, which are considered a deterministic tool life. Furthermore, in the obtained results, the effects of the feed rate with a P-value of 0.028 and the depth of cut with P − value of 0.080 on the scale parameter are noticeable. Moreover, the interaction factor, f × ap with P − value of 0.086, has a significant effect on the scale parameter. Finally, due to the negative coefficients of n, ap, and f in Eq. 20, all three parameters, the spindle speed, the feed rate, and the depth of cut, have an inverse relationship with the Weibull scale parameter.

6 Conclusion

In this paper, a hybrid methodology was developed to achieve two objectives. The first objective was to precisely model the Weibull distribution’s parameters for a specific machining condition that, through which, the cutting tool life distribution was determined. The second objective was identifying the variations in the tool life’s distribution according to the changes in the machining variables. To achieve these objectives, the design of the experiment was adopted using the Box-Behnken design for arranging the experiments. The total time on test (TTT) transform was conducted on the obtained data of the tool life. Moreover, the golden section search (GSS) algorithm was applied to estimate the tool life’s distribution. To achieve this, the relation between the Weibull distribution parameters and the machining conditions was determined as a full quadratic model. Finally, the proposed method was implemented in a milling operation, and the obtained results were reported. The appropriate correlation between the Weibull distribution’s parameters and the obtained data from the cutting tool life in the full quadratic models indicates the adequacy of the proposed methodology in practical applications. Based on the results, the values of R2 for the shape and scale parameters are 92.52% and 96.80 % , respectively.

For the future study, a mathematical optimization model can be developed considering the relationship between the machining conditions and the tool life distribution. In this case, the tools’ replacement policies and the machining conditions can be simultaneously need optimized.