1 Introduction

As society advances, product quality requirements are continuously improved in the marketplace. Manufacturing enterprises are facing increasing cost and technical pressures in the production of precision parts. High quality parts, which with high dimensional accuracy, smooth blanked surfaces, and good interchangeability, can be obtained through precision stamping technology processing. Some subsequent processing operations can be reduced or even cancelled, such as leveling and grinding. Product quality and production efficiency can be improved by precision stamping processes at a relatively low cost. In industrialized countries, precision stamping technology is becoming more widely applied in various industrial sectors including automobile manufacturing (Weng and Xu, 2012).

In the actual production environment, production support is highly dependent on precision stamping processes, including fine blanking equipment, tooling, materials, processing environment, operators, and lubrication. For example, the edge length and runout of precision parts can be influenced by material hardening or temperature fluctuations, which could lead to drift tolerance. So further research concerning tolerance design in precision stamping processes is urgently needed and it would also help to promote the popularization and application of precision stamping processes.

As technology advances, many researchers have made a lot of achievements in the field of dimensional tolerances design and control. In 1983, an offsetting tolerance zone theory was proposed, which laid the theoretical basis for computer-aided tolerance design (Requicha, 1983). Virtual boundary requirements (VBR) were proposed to restrict the maximum physical condition and the smallest entity state of the parts, and then tolerance specification language was used to describe the VBR model (Etesami, 1993). The computer-aided tolerance optimal design method was proposed by using the simplified integrating region and Monte Carlo simulation (Wu and Yang, 1999). The robust tolerance design method was studied for manufacturing (Cao, 2003). A new functional tolerancing method was presented for a geometrical functional requirement to geometrical specification (Yang et al., 2010). Meanwhile, some other research related to computer-aided tolerance design were being proposed, such as sequential tolerance control (STC) (Fraticelli et al., 1997; 1999), some extension applications of sequential tolerance control (Cavalier and Lehtihet, 2000), a low-cost fault tolerance approach (Vakili et al., 2009), material selection strategy for optimal structural design (Qiu et al., 2013), and a multi-physics coupling field finite element analysis (Zhao et al., 2009).

Tolerance is the amount of variation permitted in the part or the total variation allowed in a given dimension. The required geometry variation range of parts (tolerance) should be provided in the designs for machinery manufacturing. The fluctuation of the part geometry should be controlled in the required variation range to ensure the requirements of interchangeability and assembling. The part geometry would inevitably fluctuate because of disturbance factors in the manufacturing process. The monitoring system and operation modules are constructed on the basis of numerical control technology. The computer-aided system is built to control process parameter adaptively. The fluctuation of the part geometry would be ensured in the tolerance range by this method.

In this sutdy, we analyzed the reasons for tolerance fluctuations, constructed the condition-driven adaptive design method for tolerance by using the hidden Markov model algorithm, and then presented the results of some experiments on the precision stamping process and discussed the feasibility and effectiveness of the adaptive design method.

2 Tolerance fluctuation analyses

Precision parts are produced based on geometric dimensions and process routes determined during detailed design. Aiming for high quality, operators process the raw material into parts using equipment in the production environment. There are inevitable disturbance factors (such as man, material, machine, method, measure, and environment (5M1E)) in the production environment affecting the processing quality. Tolerance fluctuations are caused by 5M1E in the manufacturing process which results in a loss of quality. Tolerance fluctuations would cause geometry errors of the precision parts in the manufacturing process, while there will also be dimension and position errors. The form and position errors impact the performance of the parts (assembly, structural strength, contact stiffness, interchangeability, sealing, motion accuracy, and meshing, etc.) in varying degrees. The influence is even more serious in a hostile environment such as high temperature and pressure.

To guarantee the processing quality, form and position errors of the parts geometry elements need to be restricted. Therefore, geometry features of the parts are required to meet geometric tolerances to restrict the form and position errors in the tolerance range. Characteristics of form and position errors include geometric size, the scope of the changes, and the direction and position of the parts. According to the Pareto principle, a few key condition factors cause most of the tolerance fluctuations. In the production process, the variation of geometric parameters is controlled in the tolerance fluctuations range by adjusting the critical condition factors.

Engineered raw materials are generally made from steel because of its excellent characteristics. There would not be any permanent deformation under the load stress which is less than the proof stress. In addition, it can be processed into almost any shape under a large enough load stress.

When the load stress is less than the proof stress, the strain ε is proportional to the stress >. The final value of the strain is determined by the modulus of elasticity and obeys Hooke’s law:

$$\varepsilon = {\sigma \over E},$$
(1)

where E is a constant.

When the load stress exceeds the proof stress, metallic materials begin to flow. The required stress can be obtained by the Hall-Petch formula:

$${R_e} = {\sigma _{{\rm{iy}}}} + \Delta {\sigma _{\rm{c}}} + \Delta {\sigma _{\rm{v}}} + \Delta {\sigma _{\rm{o}}} + {k_{\rm{y}}}/\sqrt d,$$
(2)

where Re is the elastic limit, the load stress when the metal begins to flow; >iy is the Peierls stress, the internal friction which must be overcome when the metal flows; Δ>c is the increment of strength of materials caused by the solid solution intensification; Δ>v is the increment of strength of the materials caused by strain hardening; Δ>o is the increment of strength of materials caused by dispersion strengthening; \(k_{{\rm y}}/\sqrt{d}\) is the increment of strength of the materials caused by fine-grain strengthening; ky, the resistance of the grain boundary, is constant; and d is the diameter of the grain. Eq. (2) shows that the elastic limit of the metal material is the superposition of the values of different mechanisms. These values constitute the material strength.

Phenomena such as Peierls stress, strain hardening, and fine-grain strengthening of the metallic material could appear when the load stress exceeds the proof stress. Fig. 1 is the schematic diagram of the plastic deformation of metallic materials in the precision stamping testing process.

Fig. 1
figure 1

Plastic deformation of metallic materials

The gain structure of material forming in the zone will change in the metal forming processes, such as stamping, deep drawing, bending, and punching. Grains are elongated or compressed along the direction of the processing, and accompanied by hardening. Strength characteristics, such as yield strength, tensile strength, or hardness, would be enhanced because of the hardening effect. But at the same time, toughness characteristics, such as elongation, constriction, and impact properties, would be reduced. Geometric tolerance of precision parts could fluctuate significantly because of grain flow and intensity changes in the stamping process.

Stamping trials were conducted using two types of steel materials (Q345 and 35#) to study the hardening state. The measurement data were carried out by quadratic fit. Fig. 2 and Fig. 3 were obtained to show stress variation in the steel.

Fig. 2
figure 2

Hardening state curves of Q345

Fig. 3
figure 3

Hardening state curves of 35#

The fitting curve of the experimental data is shown in Fig 2. The test object was a generic steel material (No. Q345). The average curvatures of the hardening state curves of the material forming were different with different distances to the precision stamping surface when the load stress exceeded the proof stress. The smaller the distance, the greater the material hardening change. The hardening degree of distance 0.1 mm was greater than 1 mm (Fig. 2). The same situation happens in Fig. 3 with the test object No. 35#. The basic strength of the material stayed the same when the load stress was less than the proof stress or the distance was more than 1 mm (which is shown as the vertical line).

By analyzing the results shown in Figs. 2 and 3, we can see that the hardening state curves of different materials were different. Under the same distance, the values of the hardening state of different materials were different. Stiffness presents the physical parameter of pressure in the stamping process. Oriented to different raw materials, thickness, and molds, fluctuations of geometric tolerance were caused and the processing quality decreased without the adaptive design for the pressure control.

The precision stamping process was constitutive of the stamping equipment, steel, mold, and other condition factors. Process parameters included the stamping speed, pressure, material type, thickness of steel, geometries, structure and precision of the mold, temperature, lubrication, humidity, and so on. The disturbances of these parameters would result in a series of system errors and random errors to lead tolerance fluctuations. The precision stamping process was adaptively controlled based on the change status of these disturbance factors to minimize the volatility of the manufacturing tolerances.

3 Adaptive design model

The precision stamping device is constituted by the function, behavior, structure, carriers, and other design elements. In the mechanical system design theory, there are reciprocating mapping relationships among function domain (F-domain), behavior domain (B-domain), and carrier domain (C-domain) (Umeda et al., 1990). Functionality is achieved by the combination of product behavior. Behavior is performed by the carriers. The carrier is the basis of components that make up the complete device. During the precision stamping process, the device performance degrades because of condition fluctuations.

The state data are traced back to the source of the fluctuations in condition factors by the hidden Markov model (HMM). The carrier domain is calculated through the mapping relationships of the device structure. Feedback of the tolerance fluctuations is regulated by controlling the execution parameters of the carrier. Then a closed-loop feedback adaptive control system for computer-aided tolerance can be proposed.

The HMM is a doubly stochastic process on the basis of the Markov chain. One is the Markov chain that describes the transfer of the states. Another describes the corresponding relationships with statistics between the states and the monitoring data. Real random states of the process are hidden in the monitoring data. The observation process is completely determined by the real states of the process. The status of the condition disturbance factors which are monitored by the sensors is random in the precision stamping process. As with the process conditions, machining quality cannot be obtained directly from the monitor. States of tolerance fluctuations of parts are hidden in the monitoring data of the conditional disturbance factors. States and trends of tolerance fluctuations of parts are calculated by the HMM in the adaptive control method of tolerance.

The HMM is expressed by the following five parameters (Rabiner, 1989):

N: The number of hidden states (θ i ) of the hidden Markov chain is expressed as N, and the states are expressed as S. The state of the hidden Markov chain at time t is expressed as q t .

$$\matrix{{S = \left\{ {{\theta _1},\,{\theta _2},\, \cdots, \,{\theta _N}} \right\},} \hfill \cr {{q_t} \in \left\{ {{\theta _1},\,{\theta _2},\, \cdots, \,{\theta _N}} \right\}.} \hfill \cr}$$
(3)

M: The number of different values monitored by the corresponding sensors in the process is expressed as M. The set of monitoring values is represented as V, and v i is the element of the set V.

The monitoring value at time t is expressed as o t .

$${o_t} \in \left\{ {{\nu _1},\,{\nu _2},\, \cdots, \,{\nu _M}} \right\}.$$
(4)

π: The probability distribution of the initial state (q t ) in the process is expressed as π.

$$\pi = \left\{ {{\pi _1},\,{\pi _2},\, \cdots, \,{\pi _N}} \right\}.$$
(5)

Supplementary, π i =P(q1=θ i ) and 1≤iN.

A: The state transition probability matrix is expressed as A.

$$\matrix{{\quad \quad A = {{({a_{ij}})}_{N \times N}},} \hfill \cr {{\pi _i} = P({q_1} = {\theta _i})\,{\rm{and}} \, 1 \leq i \leq N,\,\, 1 \leq j \leq N.} \hfill \cr}$$
(6)

B: The monitor value probability matrix is expressed as B.

$$\matrix{{\quad \quad \quad \quad \;\;B = {{({b_{jk}})}_{N \times M}},} \hfill \cr {{b_{jk}} = P({o_t} = {\nu _k}\vert{q_t} = {\theta _j})\,{\rm{and}}\,{\rm{1}} \leq j \leq N,\,\,{\rm{1}} \leq k \leq N.} \hfill \cr}$$
(7)

The states of tolerance fluctuations are identified by the following three steps:

  • Step 1: Initial values selection. Statistical data of the tolerance fluctuations in the precision stamping process are analyzed. The initial values of A and B are selected in the historical statistics to meet the constraints of Eqs. (3)(7).

  • Step 2: Model training. The probability is defined as ξ t (i, j) when HMM is in state θ i at time t, while in state θ j at time t+1 based on the given training sequence O and model λ.

    $${\xi _t}(i,j) = P({q_t} = {\theta _i},{q_{t + 1}} = {\theta _j}\vert O,\lambda).$$
    (8)

    The probability of Markov chain in the state θ i at time t is expressed as γ t (i):

    $${\gamma _t}(i) = \sum\limits_{j = 1}^N {\xi (i,j)} = {{\left[ {{a_t}(i){b_t}(i)} \right]} \over {P(O\left\vert \lambda \right.)}}.$$
    (9)

    Parameters are conducted by several iterative operations by using the revaluation formula of the Baum-Welch algorithm. Convergent parameters of the model \(\tilde{\lambda}=(\tilde{\pm},\tilde{A},\tilde{B})\) were obtained to meet the requirements of the error range.

    $$\matrix{{\quad \quad \quad \bar \pi = {\gamma _1}(i),} \hfill \cr {{{\bar a}_{ij}} = {{\sum\limits_{t = 1}^{T - 1} {{\xi _t}} (i,j)} \mathord{\left/{\vphantom {{\sum\limits_{t = 1}^{T - 1} {{\xi _t}} (i,j)} {\sum\limits_{t = 1}^{T - 1} {{\gamma _t}} (i)}}} \right. \kern-\nulldelimiterspace} {\sum\limits_{t = 1}^{T - 1} {{\gamma _t}} (i)}},} \hfill \cr {{{\bar b}_{jk}} = {{\sum\limits_{\scriptstyle {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} t = 1 \hfill \atop \scriptstyle {\rm{s}}{\rm{.t}}.\;{o_t} = {v_k} \hfill} ^T {{\gamma _t}} (j)} \mathord{\left/{\vphantom {{\sum\limits_{\scriptstyle {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} t = 1 \hfill \atop \scriptstyle {\rm{s}}{\rm{.t}}.\;{o_t} = {v_k} \hfill} ^T {{\gamma _t}} (j)} {\sum\limits_{t = 1}^T {{\gamma _t}} (j)}}} \right. \kern-\nulldelimiterspace} {\sum\limits_{t = 1}^T {{\gamma _t}} (j)}}.} \hfill \cr}$$
    (10)
  • Step 3: State solution. State sequence Θ is estimated by the Viterbi algorithm in those cases when the value of P(Θ|V) is at the maximum. It can be calculated by the Bayes formula:

    $$P(\Theta \vert V) = {{P(\Theta)P(V\vert \Theta)} \over {P(V)}}.$$
    (11)

The discriminated function is defined as g Θ (V) because P(V) has no impact on the estimation method:

$${g_\Theta }(V) = P(\Theta)P(V\vert\Theta).$$
(12)

According to a first-order Markov process, the following equations can be expressed:

$$\matrix{{P(\Theta) = P({\theta _1},\;{\theta _2},\; \cdots, \;{\theta _n})} \hfill \cr {\quad \quad \,\, = P({\theta _1})P({\theta _1}\vert{\theta _2}) \cdots P({\theta _n}\vert{\theta _{n - 1}}),} \hfill \cr}$$
(13)
$$\matrix{{P(V\vert\Theta) = P(({v_1},\;{v_2},\; \cdots, \;{v_n})\vert({\theta _1},\;{\theta _2},\; \cdots, \;{\theta _n}))} \hfill \cr {\quad \quad \quad \, = P({v_1}\vert{\theta _1})P({v_2}\vert{\theta _2}) \cdots P({v_n}\vert{\theta _n}).} \hfill \cr}$$
(14)

The following formula can be obtained after transformation:

$$\matrix{{{g_\Theta }(V) = P{\rm{(}}\Theta {\rm{)}}P{\rm{(}}V\vert\Theta {\rm{)}} = P{\rm{(}}{\theta _{\rm{1}}}{\rm{)}}P{\rm{(}}V\vert\Theta {\rm{)}}} \hfill \cr {\quad \quad \;\;\, = \mathop \prod \limits_{t = 2}^n P({\theta _t}\vert{\theta _{t - 1}})\mathop \prod \limits_{t = 1}^n P({v_t}\vert{\theta _t}).} \hfill \cr}$$
(15)

Eq. (15) was carried out by the logarithm operation due to the same monotonicity between lg x and x.

$$\matrix{{\lg {g_\Theta }(V) = P{\rm{(}}{\theta _1}{\rm{)}} + P{\rm{(}}{v_1}\vert{\theta _1}{\rm{)}}} \hfill \cr {\quad \quad \quad \quad + \sum\limits_{t = 2}^n {(P({\theta _t}\vert{\theta _{t - 1}}) + P({v_t}\vert{\theta _t}))}.} \hfill \cr}$$
(16)

The model parameters of HMM are obtained by revaluating the monitoring data. The maximum values of the sub-state are calculated for each state at each time. The sequence Θ of the state values at each time can be obtained by accumulating the sub-state values. The sequence is the hidden tolerance fluctuant states in the precision stamping process.

Once the volatility of the tolerance fluctuations exceeded the tolerance range in design, the adaptive control strategy would be activated in the computer numerical control system. The process execution parameters were adjusted adaptively to reduce the volatility.

4 Simulation results and discussion

A precision stamping process is used to cut or mold materials based on the plastic shear theory, and it is pressed on a dedicated piece of press equipment using a precision die with a non-traditional structure. The precision stamping process makes the materials to generate the plastic deviatoric deformation under huge pressure. With the extensive application of new materials and computer technology, the high required accuracy of the geometric dimensions of various components has increased. The adaptive design method is proposed to control the process parameters which would reduce the tolerance fluctuations. It is a very significant approach for improving the processing quality and accuracy in the precision stamping process. Fig. 4 is a design model of a dedicated die in the precision stamping process.

Fig. 4
figure 4

Design model of dedicated die

The compound die mainly includes a blanking die, punch-die, drawing punch, and the blank holder ring parts. In the precision stamping process, first, a V-shaped gear ring is placed under the pressure F x . The material is pressed into a concave mold. Then the lateral side pressure is formed on the inner surface of the V-shaped gear ring to effectively prevent the tearing and lateral flowing of the metallic materials in the shear region. The steel sheet is constricted by the blanking die under the combined pressure effects of the load stress F x and the back pressure F z of the ejector plate. Once the state of the material is completely pressed, the material is stamped by the pressing stress F y .

Precision stamping tests were carried out several times under the traditional processing methods on steel materials (No. 35#). The test data is shown in Table 1.

Table 1 Measured data of the experiments in five states

Basic process parameters were held constant, while some particular condition factors were allowed to fluctuate in the trials. It was shown that the volatility of the tolerance fluctuation was different in different trials. Comparing three sets of data from trials S1, S2, and S3, the tolerance changes by 0.070, 0.035, and 0.024, respectively. The fluctuation range is about 0.028. By analyzing the trials S2, S4, and S5, the fluctuation range is about 0.270. The amount of the fluctuation range for this data set is 10 times that of the former. The fluctuation range should be reduced by redesigning the process parameters when the condition factors change.

Process parameters were adjusted adaptively under the adaptive method by the monitoring system and HMM algorithm in five different types of tests. The simulations of the adaptive process parameters are shown in Figs. 59. The results of the adaptive control method of tolerance in the precision stamping process are shown in Table 2.

Fig. 5
figure 5

Simulation of adaptive control in S 1

Fig. 6
figure 6

Simulation of adaptive control in S 2

Fig. 7
figure 7

Simulation of adaptive control in S 3

Fig. 8
figure 8

Simulation of adaptive control in S 4

Fig. 9
figure 9

Simulation of adaptive control in S 5

Table 2 Measured data of the experiments in five states

The relationships among the stamping pressure, breakpoints, and the displacement of the punch were obtained by fitting curves in Matlab. The results can be seen in Figs. 59. As the blanking clearance increased (as trials S1, S2, and S3), the displacement of the punch increased non-linearly (0.235, 0.262, and 0.296), and the maximum stamping pressure decreased (2.04, 2.01, and 1.96). The fluctuation range is about 0.009. As shown, the thickness of the steel changed (as trials S2, S4, and S5), the distance of the fracture increased (0.281, 0.362, and 0.434), and the maximum stamping pressure increased (2.01, 2.01, and 2.93). The fluctuation range is about 0.017. Compared with the fluctuation range 0.270, the fluctuation range was significantly reduced (from 0.270 to 0.017, turned around 1/16). The process quality was significantly improved by using the adaptive design method.

5 Conclusions

An adaptive design method to the tolerance fluctuation problem in machining of precision parts has been developed and presented. Status and trends of tolerance fluctuations of parts are calculated by the HMM based on the monitoring data of the press equipment. There are some meaningful observations in this study which are presented as follows:

  1. 1.

    Stamping experiments were conducted in two kinds of steel materials (Q345 and 35#) to study the parameter sensitivity around the distance of the molds or thickness of materials and stiffness.

  2. 2.

    The sequence of the hidden tolerance fluctuant states in the precision stamping process at each time can be obtained by using the HMM algorithm.

  3. 3.

    The adaptive design of the tolerance fluctuations is simulated and analyzed by the precision stamping process through controlling the process parameters, such as pressure of the hydraulic press, displacement of molds, distance of the fracture in materials, and so on.

Several other benefits are foreseen using this method and are actively being investigated. These include: coupling stress of the disturbance factors which fluctuates the tolerance, the generic mechanism which causes the tolerance, the comprehensive program which restricts the form and position errors in the tolerance range.