1 Introduction

The advancement of manufacturing technologies and the increasing demand for complex and highly precise components have necessitated the development of advanced tolerance methods. These methods, based on functional approaches, allow for the consideration of interactions between different surfaces within an assembly and accurately calculating the impact of tolerances on the performance of complex parts. This method addresses the challenges posed by modern manufacturing by enabling engineers and designers to specify more precise tolerances while ensuring product quality and functionality.

To address these challenges, 3D tolerance methods are increasingly being utilized. These methods, which combine dimensional and geometric tolerances, allow for a more precise consideration of interactions between different surfaces of a component compared to traditional methods. Tolerance is represented and transferred into three dimensions (3D) through the novel technique of three-dimensional (3D) tolerance analysis. Compared to traditional methods, the 3D method has the advantage of accounting for both dimensional and geometric tolerances [1]. Automatic tolerancing of complex shapes using the Jacobian–Torsor model is a rapidly expanding field in the industry and design domain. The benefits of the Torsor model, which excels in representing tolerances, are seamlessly merged with those of the Jacobian matrix, specifically designed for tolerance propagation, within the unified Jacobian–Torsor model [2, 3].

Automatic tolerancing of intricate shapes involves the automated assessment and specification of dimensional and geometric tolerances for complex-shaped components. Traditionally, manually tolerancing such complex shapes has been a challenging and subjectively interpreted task, leading to errors and substantial time consumption. However, the unified model plays a crucial role in the computer-aided tolerance field by integrating the strengths of both Jacobian and small displacement torsor (SDT) methods [4]. This model excels in representing and propagating complex geometric variations with high precision [5, 6]. It takes into account the kinematic relationships among different features of a part, enabling a thorough evaluation of the effects of geometric variations on the assembly and the overall performance of the final product.

By using the Jacobian–Torsor model, it becomes possible to automatically generate tolerance specifications for complex shapes, taking into account assembly constraints, functional interactions, and manufacturing requirements. This reduces errors, optimizes design and manufacturing processes, and ensures compliance with quality requirements. This approach offers numerous benefits, including reduced production costs, improved efficiency and accuracy, and increased product reliability. Enabling the automatic tolerancing of complex shapes, the Jacobian–Torsor model opens up new possibilities for advanced design, high-precision manufacturing, and meeting customer requirements in the industry.

Over the past three decades, extensive fundamental research has delved into the mathematical foundations of tolerance analysis. Among the various models and concepts employed for tolerance representation, variational geometry stands out as a prominent approach [7, 8]. Additional methodologies include the vector approach [9] tolerance map (T-Map) [10], topologically and technologically related surfaces (TTRS) [11], degrees of freedom (DOF) [12, 13], variational class [14, 15], small displacement torsor (SDT) [16, 17], matrix [18], and other techniques like the linearization method for tolerance propagation, network of zones and references [19], Taguchi method [20], state space [21], Jacobian matrix [22, 23]. and variational method [24].

Over the years, many models have been created to represent and propagate 3D tolerance. Fleming [19], employs a network of arc-connected zones and references, on which constraints are positioned to show geometric relationships. To simulate tolerance propagation, Portman et Weill [25], introduce a spatially dimensioned chain in which each individual error is represented by an infinitesimal matrix. Rivest et al. [26], provide a kinematic explanation based on the characteristics of an element that is acceptable in relation to the data.

For a target entity, every possible combination of size, position, shape, and orientation is represented by the T-Map [10]. Six small displacement vectors are used in an SDT model introduced by Clément et al. [23]. Laperrière and Lafond [27], describe tolerance using virtual joints and propagate tolerance using a Jacobian matrix. The benefits of the Torsor model and the Jacobian matrix are combined in the unified Jacobian–Torsor model proposed by Desrochers et al. [2]. Thanks to computer-aided tolerance (CAT), some of the aforementioned models have been widely used.

Yi et al. [28] present an advanced 3D assembly tolerance analysis method for digital twin precision analysis, addressing limitations of current approaches that miss geometric tolerances and form errors and fail to account for parallel connections. Their novel method integrates the unified Jacobian–Torsor model with skin model shapes for effective tolerance propagation and geometric representation. An improved approach calculates positioning errors in serial and parallel connections using progressive contact and algebraic methods. The method’s statistical calculation scheme is validated through a case study, showcasing its effectiveness.

Peng and Peng [29] present an iterative statistical tolerance design method to guide economical and effective tolerance selection. They derive a unified Jacobian–Torsor model from assembly functional requirements (FR) and functional elements (FEs). Monte Carlo simulations generate variations within tolerance zones, and statistical analysis of these simulations determines FR limits. Critical FE tolerances are adjusted iteratively until the calculated FR aligns with the imposed FR. A case study demonstrates the method’s cost-effectiveness and precision relaxation compared to traditional deterministic tolerancing.

Roth et al. [30] explore the integration of sampling-based tolerance analysis into tolerance-cost optimization, emphasizing its industrial significance for cost-effective tolerance allocation. They address the problem of sampling-induced variance, which impacts the stability, reproducibility, and reliability of the optimization process. The article proposes methods to mitigate and manage these uncertainties, improving the reliability of the optimization. Their recommendations offer guidance for researchers and practitioners to achieve consistent and dependable tolerance-cost optimization outcomes.

Ding et al. [31] address challenges in aero-engine rotor assembly, focusing on the impact of manufacturing errors and assembly variations on engine reliability. They address issues in three-dimensional variation analysis, specifically over-positioning of multiple datums and variation propagation in rotating components. They developed an improved Jacobian–Torsor model, enhancing rotation regulation and feature interaction. Their multi-stage optimization of a four-stage aero-engine rotor assembly demonstrates the model’s effectiveness in precision prediction and analysis during the design phase.

Liu et al. [32] introduce a new method for assembly tolerance analysis by combining the Jacobian model with the skin model shape. This technique models small displacements and uses point cloud representations to simulate actual toleranced surfaces. It effectively manages geometric tolerances throughout the product lifecycle, allowing accurate analysis of kinematic variations and functional requirements. While still under development, this method supports design, manufacturing, and inspection by quantitatively analyzing the impact of multiple tolerances on key characteristics. The innovative integration of these models provides a comprehensive approach to geometric tolerance consideration in assembly processes.

To improve the machining performance of complex shapes, Wong et al. [33] proposed a new solution for precision machining of thin-walled turbine blades. The integrated analysis method combines geometric tolerance localization analysis and structural deformation prediction based on the finite element method (FEM). Zhang et al. [34] employed an analytical methodology for tolerance analysis and synthesis in a cam and translation follower system. They distributed tolerance values associated with design requirements in terms of functionality or output precision among identified design tolerances using a sequential quadratic programming (SQP) algorithm. Chang et al. [30] stress the significance of tolerance analysis in the development and production of cam mechanisms, and the necessity of computer calculations and mathematical modelling to ascertain the optimal tolerance values.

Cam-clamping devices are extensively utilized in diverse machining fixtures due to their capacity for swift action, generation of substantial clamping force, and execution of specified functions, paths, and motions. These capabilities surpass those of pure linkages when evaluated through the lens of kinematic design. However, the irregular shape of cams [35,36,37] presents a greater challenge in terms of accurate machining compared to the more straightforward dimensions of linkages. Even minor deviations in the cam contour within machining fixtures can result in excessive noise, wear, and vibrations [36,37,38], which adversely affect the precision and reproducibility of machined components.

To achieve kinematic accuracy and dynamic performance at an acceptable level, the manufacturing and assembly errors in a cam-clamping device must stay within specified tolerances. Consequently, the processes of tolerance analysis and synthesis [39,40,41] become pivotal in the design and production of precise cam-clamping devices. Tolerance analysis assesses output motion errors resulting from known deviations or specified tolerances in the design parameters, while tolerance synthesis focuses on identifying the optimal combination of tolerances, considering restricted output motion errors and controlled production costs.

In the context of design for manufacturing and assembly (DFMA) [42, 43], it is essential to specify the largest (or optimal) values for the cam profile and the tolerance of each design parameter. This is crucial for simplifying the fabrication of components in a cam-clamping device. Additionally, the optimal combination of tolerances must align with the operational or functional requirements of the output motion. Therefore, the development of mathematical tools for both tolerance analysis and synthesis is imperative to facilitate the production of precise cam-clamping devices.

This paper aims to develop a computerized method based on the unified Jacobian–Torsor approach to conduct tolerance analysis on cam-clamping devices, particularly those with complex surfaces such as fastening flanges. The innovation lies in applying the Unified Jacobian–Torsor method to assess tolerance among functional components, including irregularly shaped mechanical parts, within a cam-clamping device. This method offers a more precise and integrated approach for evaluating the quality and dimensional variations within the assembly.

Additionally, the paper introduces the innovative application of the bootstrap technique for uncertainty analysis, enhancing the robustness of the tolerance assessment. The bootstrap technique, a Monte Carlo simulation approach, is leveraged to estimate the uncertainty associated with the analytical results, providing valuable insights into potential variability within specified tolerances. This dual integration of the unified Jacobian–Torsor method and the bootstrap technique contributes to a more comprehensive and advanced methodology for precision engineering in cam-clamping devices.

2 Small displacement torsor (SDT)

A variety of geometric shapes, such as parallel planes or surfaces, parallelepiped faces, coaxial cylinders, and cylindrical faces, are frequently used to represent a three-dimensional tolerance zone. Table 1 provides these 3D tolerance zones coupled with the Small Degrees of Freedom (SDOF) vectors that correspond to them, along with a general description of the elements of these SDOF vectors in modal interval expressions [44].

Table 1 Modal interval description of 3D tolerance zones in SDOF vector form [44]

The modeling of these 3D tolerance zones greatly benefits from the use of small displacement torsor (SDT) parameters. The six parametric intervals of the SDT are particularly well-suited to this task, as they allow for representing all potential variations in terms of size, shape, orientation, position, and out-of-roundness of a geometric element relative to its nominal position within the tolerance zone. This approach provides essential precision and flexibility to comprehensively describe geometric variations in a three-dimensional context, which is crucial for ensuring compliance of parts and assemblies in applications requiring strict tolerances. A detailed inventory of the various standard tolerance zones, together with torsor representations and related geometric restrictions, was compiled by Desrochers et al. [2]. Several typical tolerance zone examples are included in Table 1, along with information on their forms, related torsor matrices, and underlying geometric restrictions. Each geometric limitation constrains the range of variation of the different torsor components, as illustrated in Table 2. Following their incorporation into the torsor matrices, these geometric restrictions can be expressed as follows (Eq. (1)):

Table 2 Zones of tolerance and related torsor parameters [2]
$${\varvec{T}}=\left\{{\varvec{\rho}}{\varvec{\varepsilon}}\right\}=\left\{\begin{array}{cc}\left[\underset{\_}{\boldsymbol{\alpha }},\overline{\boldsymbol{\alpha }}\right]& \left[\underset{\_}{{\varvec{u}}},\overline{{\varvec{u}}}\right]\\ \left[\underset{\_}{{\varvec{\beta}}},\overline{{\varvec{\beta}}}\right]& \left[\underset{\_}{{\varvec{v}}},\overline{{\varvec{v}}}\right]\\ \left[\underset{\_}{{\varvec{\gamma}}},\overline{{\varvec{\gamma}}}\right]& \left[\underset{\_}{{\varvec{w}}},\overline{{\varvec{w}}}\right]\end{array}\right\}$$
(1)

3 Integration of the Jacobian–Torsor model

The integration of the Jacobian–Torsor model highlights the fundamental concepts and tools of the proposed unified model for cam clamping devices in scenarios involving the assembly of complex geometries. This integration involves the visualization of Functional Elements (FEs), which represent the structure of a mechanical system through a contact graph, categorizing these elements into real and fictitious components. Pairs of Contact Functional Elements (PCFE) are established when there is physical contact between two functional elements, symbolically represented by (C). Additionally, Pairs of Internal Functional Elements (PIFE) are formed when two FEs on the same part come into contact, symbolized by (I). Functional requirements (FR) define the relationships between FEs located on separate parts, particularly focusing on the space between end surfaces, depicted by double-oriented arrows. The complete set of these desired functional requirements is designated as (FR).

4 Unified Jacobian–Torsor model

To create the unified Jacobian–Torsor model, the benefits of both approaches are combined: the Torsor model is helpful in characterizing tolerances, and the Jacobian matrix is used to propagate tolerances. Jacobian matrices describe the locations and relative orientations between local frames and the global frame of reference. This combination allows complex geometric changes in this model to be accurately represented and transmitted. The model considers the kinematic links among various mechanism aspects, allowing for the evaluation of the effects of geometric alterations on product performance and assembly. The final statement of a unified Jacobian–Torsor model can be written as follows: [2, 3]:

$$\left[FR\right]=\left[J\right].\left[{FE}_{S}\right]$$
(2)
$${\left[\begin{array}{c}\left[\underline{u},\overline{u}\right]\\ \vdots \\ \left[\underset{\_}{\gamma },\overline{\gamma }\right]\end{array}\right]}_{FR}=\left[{J}_{1}\dots ..{J}_{n}\right]{\left[\begin{array}{c}\left[\underline{u},\overline{u}\right]\\ \vdots \\ \left[\underset{\_}{\gamma },\overline{\gamma }\right]\end{array}\right]}_{FEi}$$
(3)

Equations (2) and (3) allow us to understand and quantify how geometric variations propagate through the different components of an assembly, providing a powerful tool for product quality analysis and improvement.

Here, \([FR]\) represents the translational matrix [\(u\) \(v\) \(w{]}^{T}\) and the rotational matrix [\(\alpha\) \(\beta\) \(\gamma {]}^{T}\) in the global reference system. In this global system, u, v, and w correspond to three translation vectors, while α, β, and γ represent three rotation vectors around the x, y, and z axes, respectively, in the local reference systems.

On the other hand, \(\left[{FE}_{S}\right]\) represents the translation and rotation matrix of the ith \(\left[{FE}_{i}\right]\) in the local reference system. Finally, \(\left[J\right]\) symbolizes the 6 × 6 Jacobian matrix for the ith pair of assembly features, with i ranging from 1 to N. The subsequent formulation can be used to express it precisely:

$${\left[{J}_{1}\dots ..{J}_{6}\right]}_{FEi}={\left[\begin{array}{ccc}{\left[{R}_{0}^{i}\right]}_{3\times 3} .{\left[{R}_{PTi}\right]}_{3\times 3} \vdots & {\left[{W}_{i}^{n}\right]}_{3\times 3}& . {\left[{R}_{0}^{i}\right]}_{3\times 3}. {\left[{R}_{PTi}\right]}_{3\times 3}\\ \cdots \cdots \vdots & \cdots \cdots \cdots & \cdots \cdots \cdots \\ {\left[0\right]}_{3\times 3} \vdots & & {\left[{R}_{0}^{i}\right]}_{3\times 3}.{\left[{R}_{PTi}\right]}_{3\times 3}\end{array}\right]}_{6\times 6}$$
(4)

The relationship between the minor variation of all functional components \([FE]\) and the intended functional requirement \([FR]\) is expressed using the Jacobian matrix. The matrix’s columns are derived from different homogeneous transformation matrices that connect the functional elements’ \([FE]\) and functional requirements’ \([FR]\) reference frames [45].

The geometric relationships between the 0th and ith consecutive references are defined by the transformation matrices \(\left[{T}_{0}^{i}\right],\) More precisely, a rotation matrix and a translation vector can be extracted from each transformation matrix [46]. Therefore, the following representation can be used to represent a transformation matrix:

$$\left[T_0^i\right]=\begin{bmatrix}{\left[R_0^i\right]}_{3\times3}&\cdots&{\left[P_0^i\right]}_{3\times1}\\\vdots&\ddots&\vdots\\\left[0\right]&\cdots&\left[1\right]\end{bmatrix}={\begin{bmatrix}{\overrightarrow C}_{1i}&{\overrightarrow C}_{2i}&{\overrightarrow C}_{3i}&{\overrightarrow d}_i\\0&0&0&1\end{bmatrix}}_{4x4}$$
(5)

where \({\left[{R}_{0}^{i}\right]}_{3\times 3}\) represents the orientation transformation matrix of the ith \({FE}_{S}\) relative to the global reference system (designated as the 0th frame). This matrix is defined in Eq. (6).

\({\left[{R}_{PTi}\right]}_{3\times 3}\) is a projection matrix, indicating the projection coefficient of the three axes in the ith local reference system, depending on the direction of variation of the tolerance zone. The product \({\left[{R}_{0}^{i}\right]}_{3\times 3} . { \left[{R}_{PTi}\right]}_{3\times 3}\) in Eq. (4), ensures that the Jacobian matrix takes into account the inclination of the reference system of a projected tolerance zone.

$${\left[{R}_{0}^{i}\right]}_{3\times 3}=\left[{\overrightarrow{C}}_{1i} {\overrightarrow{C}}_{2i} {\overrightarrow{C}}_{3i}\right]$$
(6)

The vectors within the matrix \({\left[{R}_{0}^{i}\right]}_{3\times 3}\) illustrate the orientation of ith local reference system concerning the global reference system 0 −th frame. The columns \({\overrightarrow{C}}_{1i}\), \({\overrightarrow{C}}_{2i}\), and \({\overrightarrow{C}}_{3i}\) correspond to the unit vectors along the axes \({x}_{i}\), \({y}_{i}\), and \({z}_{i}\) of reference mark ith within reference global 0−th. The position vector, denoted as \({d}_{i}=\left[{dx}_{i} {dy}_{i}{dz}_{i}\right]\), indicates the location of the origin of reference frame ith with respect to reference mark 0th.

\({\left[{W}_{i}^{n}\right]}_{3\times 3}\) represents the position transformation matrix between the ith and nth local reference system, which is anti-symmetric. To express it, use the formula below.

$${\left[{W}_{i}^{n}\right]}_{3\times 3}=\left[\begin{array}{ccc}0& {-dz}_{i}^{n}& {dy}_{i}^{n}\\ {dz}_{i}^{n}& 0& {-dx}_{i}^{n}\\ {-dy}_{i}^{n}& {dx}_{i}^{n}& 0\end{array}\right]$$
(7)

In the ith and nth local reference systems with respect to the global reference system, the coordinate values around the\({x}\),\({y}\), and \({z}\) axes are represented by the variable \({dx}_{i}^{n}\) = \({dx}_{n}\)\({dx}_{i}\), \({dy}_{i}^{n}\)= \({dy}_{n}\)\({dy}_{i}\), and \({dz}_{i}^{n}\) = \({dz}_{n}\)\({dz}_{i}\); \({dx}_{i}\) et\({dx}_{i}^{n}\), \({dy}_{i}\) et\({dy}_{i}^{n}\), and \({dz}_{i}\) and\({dz}_{i}^{n}\), respectively. The constraint relationship between surface entities and the tolerance variation domain interval will be determined by the surface type and tolerance value of\({FE}_{S}\). In the tolerance zone where \(\left[{FE}_{I}\right]\) must be located, every parameter of \(\left[{FE}_{S}\right]\) will be restricted to the allowable range of the variation domain. Thus, the conventional unified Jacobian–Torsor model can be described as follows by applying the principle of addressing variances and constraints imposed by surface features in mechanical assemblies. The Jacobian matrices for internal and kinematic pairs are computed using the unified Jacobian–Torsor model, and they are crucial for building the final expression of the unified model.

$${\left[\begin{array}{c}\left[\underline{u},\overline{u}\right]\\ \left[\underline{v},\overline{v}\right]\\ \left[\underline{w},\overline{w}\right]\\ \left[\underset{\_}{\alpha },\overline{\alpha }\right]\\ \left[\underset{\_}{\beta },\overline{\beta }\right]\\ \left[\underset{\_}{\gamma },\overline{\gamma }\right]\end{array}\right]}_{FR}={\left[{\left[{J}_{1}{J}_{2}{J}_{3}{J}_{4}{J}_{5}{J}_{6}\right]}_{EF1}\dots ..{\left[{J}_{1}{J}_{2}{J}_{3}{J}_{4}{J}_{5}{J}_{6}\right]}_{EFN}\right]}_{.}\left[\begin{array}{c}{\left[\begin{array}{c}\left[\underline{u},\overline{u}\right]\\ \left[\underline{v},\overline{v}\right]\\ \left[\underline{w},\overline{w}\right]\\ \left[\underset{\_}{\alpha },\overline{\alpha }\right]\\ \left[\underset{\_}{\beta },\overline{\beta }\right]\\ \left[\underset{\_}{\gamma },\overline{\gamma }\right]\end{array}\right]}_{FE1}\\ \dots \\ {\left[\begin{array}{c}\left[\underline{u},\overline{u}\right]\\ \left[\underline{v},\overline{v}\right]\\ \left[\underline{w},\overline{w}\right]\\ \left[\underset{\_}{\alpha },\overline{\alpha }\right]\\ \left[\underset{\_}{\beta },\overline{\beta }\right]\\ \left[\underset{\_}{\gamma },\overline{\gamma }\right]\end{array}\right]}_{FEN}\end{array}\right]$$
(8)

Each matrix represents contributions to the functional requirements (FR).

N: Number of wrenches in a chain.

(\(\underline{u}\), \(\underline{v}\)……\(.\underset{\_}{\gamma }\)): Minimum limits of \(u\),\(v\), …, \(\gamma\)

(\(\overline{u},\overline{v}\)……\(\overline{\gamma }\)): Maximum limits of \(u\),\(v\), …, \(\gamma\)

The interval matrix representation, as proposed, better represents reality in tolerancing.

The dispersions of a functional requirements (FR)are represented by the column matrix [FR]. The column matrix \({FE}_{S}\) contains the dispersions of functional elements and uncertainties of a contact pair. Both column matrices contain tolerance intervals in translation and rotation. This expression allows presenting tolerancing with tolerance zones instead of points. Indeed, some values of \(u\), \(v\), …, \(\gamma\) contain zero values. To make calculations easier, some of the primary wrench model vectors in Table 2 can be set to zero in accordance with Hervé's displacement set theory [47].

5 Unified Jacobian–Torsor tolerance model organization

The methodology for analyzing tolerances involves five key steps. First, it entails establishing the sequence of events relevant to the functional requirement or system under examination. The second step involves deriving the torsors of internal functional elements, which define their degrees of freedom, permissible small movements, and constraints. Subsequently, obtaining the contact zone torsors constitutes the third step. The fourth step employs Jacobian matrices to represent the relative positions and orientations of the torsors within the chosen kinematic chain. Finally, the torsor and Jacobian are integrated to form a matrix equation, the solution of which yields the limits of the functional requirements (FR) being analyzed. Figure 1 illustrates the organizational structure of these five steps in the unified J-T model.

Fig. 1
figure 1

The five key steps of organizational structure in the unified model (J-T)

6 Three-dimensional dimension chain

As mentioned earlier, the proposed approach was applied on a cam-clamping device. The cam-clamping device comprises two essential elements: firstly, the fixed part represented by a flange, serving as the assembly’s foundation, and secondly, the movable part consisting of an irregular-shaped component known as a cam. This movable piece is critical to the fastening mechanism and plays an essential role in the overall functionality of the assembly.

To achieve the utilization of a unified model, it is crucial to follow a series of important preliminary steps to precisely define the dimensional specifications related to the functional requirements (FR) of the mechanism. The model relies on identifying contact surfaces between the various components of the mechanism. This identification of surfaces is essential for constructing the linkage diagram of the mechanism in question. To illustrate these concepts, refer to Fig. 2, which represents an assembly consisting of two parts, one inserted into the other. This figure also relies on the functional requirements (FR), which expresses a requirement related to the operation or assembly of the two parts, in order to visually represent the various terms involved.

Fig. 2
figure 2

Detailed assembly for a flange mechanism with two FRs

The cam-clamping device, consisting of two different parts—1: a fixed part composed of a flange, and 2: a movable part consisting of a complex piece (a cam)—is represented in Fig. 2 to illustrate the application of the proposed tolerance analysis method. The functional requirement (FR) represents the variation in the circular clearance between the two circular surfaces of the movable part (part 2) and the fixed part (part 1) to achieve optimal working performance.

Particulars of the mechanical drawing and critical dimensional specifications of the cam-clamping device are presented in Fig. 3. A dimensional connection graph is constructed around the FR of this assembly after the required local coordinate frames have been defined and the effective feature surfaces associated with the tolerance analysis have been determined. The effective feature surfaces between the two parts are identified once all effective geometric features have been identified and local coordinate frames have been defined. This allows for the ascertainment of variations in circular displacement between the two circular surfaces, as illustrated in Fig. 4. By locating these surfaces, the linkage diagram of the associated mechanism can be created, and as Fig. 5 illustrates, a connection graph of the restraining flange mechanism can be built.

Fig. 3
figure 3

Mechanical drawing and critical dimensional specifications of the cam-clamping device

Fig. 4
figure 4

Contact surfaces and FR of a mechanism

Fig. 5
figure 5

Connection graph of mechanism

Figures 4 and 5 illustrate six impactful geometric features associated with the functional requisrement (FR) of this assembly. These features include \({FE}_{0}\), representing the arbitrary shape in relation to the two slots (1–2) of the fixed flange. \({FE}_{1}\) and \({FE}_{2}\) form an internal pair signifying coaxiality relative to the two slots (1–2), collectively referred to as \({FE}_{slo}\). \({FE}_{3}\) characterizes the arbitrary shape of the cam concerning the two axes (4–5). \(FR1\) denotes the operational clearance between the two slots (1–2) and the two axes (4–5) of the cam. \({FE}_{4}\) and \({FE}_{5}\), functioning as an internal pair, denote coaxiality concerning the two axes (4–5) of the cam, grouped into a single functional element known as \({FE}_{axe}\). Lastly, \({FE}_{6}\) represents the distance between the axis of the outer radius R20 and the two axes (4–5) of the cam, respectively.

The resulting kinematic chain contains five internal pairs (\({FE}_{0}\), \({FE}_{slo}\)), (\({FE}_{1}\), \({FE}_{2}\)) belonging to the fixed part, (\({FE}_{3}\), \({FE}_{axe}\)), (\({FE}_{4}\), \({FE}_{5}\)), and (\({FE}_{6}\), \({FE}_{axe}\)) belonging to the movable part, as well as a contact pair (\({FE}_{slo}\), \({FE}_{axe}\)).

Note that there are two functional requirements (FR and FR1). FR represents the functional clearance under study, while FR1 applies between (\({FE}_{axe}\), \({FE}_{slo}\)) and is defined by the functional fit H7/g6 of the bore \({18}_{ 0.00}^{+0.018}\) of the fixed flange housing and the diameter \({18}_{-0.017}^{-0.06}\) of the camshafts.

We assumed that the longitudinal plane and the reference points were situated in the middle of the tolerance zone. Six torsors are connected in series to form the cumulative torsor \({T}_{3/0}\), which represents the torsor of the difference between features \({FE}_{0}\) and \({FE}_{3}\). These torsors are \({T}_{\text{slo}/0}\), \({T}_{\text{axe}/3},{T}_{2/1}\), \({T}_{\text{axe}/\text{slo}}\), \({T}_{4/5}\), \({T}_{6/\text{axe}}\). Next, a direction of analysis specified along the modest translation displacement normal to surfaces 0 and 3 of the functional requirements (FR) under study must be projected onto these six torsors. From each transformation matrix, a rotation matrix and a translation vector can be constructed, as indicated in Eq. (5). Additionally, all surfaces are positioned vertically inside the mechanism, which means that their orientation corresponds to that of the tolerance zone. Under these conditions, all \({\left[{R}_{PTi}\right]}_{3\times 3}\) projection matrices are linked to identity matrices so that the tolerance zones respect the movement. The mathematical specifics for the clamping mechanism’s traditional torsors, also known as intermediate torsors, are provided in Table 2. Equation (9) comprises six Jacobian matrices that describe the geometric and dimensional relationships between the assembly pairs FR and \(FE\). These matrices can be expressed as follows:

$$FR{=\begin{array}{c}{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{{FE}_{1}} {{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& 3\\ 0& -3& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{.}}_{{FE}_{4}}\\ {{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& 18\\ 0& -18& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{{FE}_{2}}{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& 18\\ 0& -18& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{{FE}_{5}}\bullet }_{.}\\ {{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& 18\\ 0& -18& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{{FE}_{3}}}_{.}\begin{array}{c}{\left[\begin{array}{cc}\begin{array}{c}\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\\ \begin{array}{ccc}0& 0& 0\\ 0& 0& 0\\ 0& 0& 0\end{array}\end{array}& \begin{array}{c}\begin{array}{ccc}0& 0& 0\\ 0& 0& -23\\ 0& 23& 0\end{array}\\ \begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\end{array}\end{array}\right]}_{{FE}_{6}}\end{array}\end{array}}_{.}\left[\begin{array}{c}\begin{array}{c}{\left[\begin{array}{c}\left[-\text{0.00,0.05}\right]\\ \left[\text{0,0}\right]\\ \left[-\text{0.00,0.05}\right]\\ \left[-\text{0.0026,0.0026}\right]\\ \left[\text{0,0}\right]\\ \left[-\text{0.0026,0.0026}\right]\end{array}\right]}_{{FE}_{1}}\end{array}\\ {\left[\begin{array}{c}\left[-\text{0.00,0.05}\right]\\ \left[\text{0,0}\right]\\ \left[-\text{0.00,0.05}\right]\\ \left[-0.0033,+0.0033\right]\\ \left[\text{0,0}\right]\\ \left[-0.0033,+0.0033\right]\end{array}\right]}_{{FE}_{2}}\\ \\ {\left[\begin{array}{c}\left[\text{0.000,0.018}\right]\\ \left[\text{0,0}\right]\\ \left[\text{0.000,0.018}\right]\\ \left[-0.00127,+0.00127\right]\\ \left[\text{0,0}\right]\\ \left[-0.00127,+0.00127\right]\end{array}\right]}_{EF3}\\ {\left[\begin{array}{c}\left[\text{0.0175,0.0175}\right]\\ \left[\text{0,0}\right]\\ \left[-0.0175,+0.0175\right]\\ \left[-0.00175,+0.00175\right]\\ \left[\text{0,0}\right]\\ \left[-0.00175,+0.00175\right]\end{array}\right]}_{{FE}_{4}}\\ {\left[\begin{array}{c}\left[-0.017,-0.006\right]\\ \left[\text{0,0}\right]\\ \left[-0.017,-0.006\right]\\ \left[-0.0009,+0.0009\right]\\ \left[\text{0,0}\right]\\ \left[-0.0009,+0.0009\right]\end{array}\right]}_{EF5}\\ {\left[\begin{array}{c}\left[-0.05,+0.05\right]\\ \left[\text{0,0}\right]\\ \left[-0.05,+0.05\right]\\ \left[-0.0066,+0.0066\right]\\ \left[\text{0,0}\right]\\ \left[-0.0066,+0.0066\right]\end{array}\right]}_{EF6}\end{array}\right]$$
(9)

In Eq. (9), the inherent drawback of the presented approach is evident—assigning a unique value to each Functional Element (FE) restricts the ability to define uncertainty. In the domain of uncertainty analysis, a critical requirement is to delineate the limits surrounding the average value, providing insights into the potential range of the true value and the associated confidence level. This necessity has led to the recognition of three fundamental approaches for uncertainty evaluation on an international scale: the GUM Method, Monte Carlo simulation, and the Bayesian method. Despite its popularity, the GUM Method, also known as the classical method, relies on simplistic assumptions in its foundational formulation and exhibits limitations when applied to advanced measurement techniques [48,49,50].

This study employs the bootstrap technique, a Monte Carlo simulation method utilizing available data to estimate statistic or estimator uncertainty, chosen for its versatile features. A notable advantage is its capacity to bypass the need for knowledge about the true distribution, making it particularly suitable for scenarios with unknown or complex distributions.

One of the most well-known applications of the bootstrap technique involves estimating the population mean, denoted as µ, from a dataset obtained by random sampling from that population’s distribution function F [51].

$$\mu =\int x dF(x)$$
(10)

The sample mean is a function of the empirical distribution function, namely,

$$\widehat{F}\left(x\right)=\frac{1}{n}\sum\limits_{i=1}^{n}I\left({X}_{i}\le x\right)$$
(11)

where \({X}_{1}\), \({X}_{2},\dots ,{X}_{n}\) denote the data. Hence, the bootstrap estimator for the population mean, denoted by µ, is the sample mean \(\overline{X }\),

$$\overline{X }=\int x d\widehat{F}\left(x\right)=\frac{1}{n}\sum\limits_{i=1}^{n}{X}_{i}$$
(12)

Similarly, the bootstrap estimator for a population variance is the sample variance.

The developed process of integrating the bootstrap technique into statistical tolerance redesign, alongside the unified Jacobian–Torsor model, comprises the following steps:

  1. 1.

    Input specified assembly requirements and assign initial tolerance values for each functional element based on engineering expertise and historical knowledge.

  2. 2.

    Develop the expression for the Jacobian–Torsor model, defining small displacement torsor (SDT) matrices and corresponding Jacobian matrices.

  3. 3.

    Generate authentic random values for each SDT component, adhering to constraints, designated distributions, and a defined rejection rate. By extracting the limits of each parameter, random values are generated, leveraging the normal distribution assumption for all SDT components. The use of the Randn function in Matlab software facilitates the generation of N = 1000 values. Subsequently, the average and standard deviation of these values are calculated.

  4. 4.

    The calculated mean of the data is subjected to the bootstrap process 10,000 times. This involves resampling the data with replacement 10,000 times and computing the mean during each iteration. For every iteration, 10,000 samples are randomly chosen, the mean is computed, and the process is repeated to obtain 10,000 means. These means are then used to establish the confidence interval (CI). The choice of CI type, while not heavily impactful due to the central limit theorem, typically leans towards the percentile method, recommended for its independence from the shape of the distribution. The bootstrap process is summarized in Fig. 6.

  5. 5.

    Utilize the Jacobian–Torsor model to calculate actual Functional Requirement (FR) values.

  6. 6.

    Analyze FR results statistically, simultaneously quantifying the confidence interval (CI) using bootstrap-generated means.

  7. 7.

    Compare the calculated FR with the specified FR. If misalignment occurs, adjust tolerances based on bootstrap-generated data. Iterate until convergence with a predefined deviation limit.

Fig. 6
figure 6

Bootstrap process for SDT components

The meticulous use of the bootstrap technique, assigning normal distributions to each functional element, ensures comprehensive uncertainty analysis. Subsequently, the mean undergoes the bootstrap process 10,000 times, facilitating the establishment of a confidence interval. This approach offers a robust and flexible method for uncertainty analysis, particularly valuable for dealing with complex or unknown distributions. The integrated process aligns with an iterative synthesis methodology, supporting engineers in selecting optimized tolerances for mechanical assemblies.

Table 3, presents a comprehensive analysis of tolerance parameters for various Functional Elements (FE) in a system. Parameters such as u1 and u2 exhibit symmetrical distributions within specified tolerance limits, showcasing precise and consistent values around the averages. The low standard deviation and narrow confidence intervals indicate high control and stability. Similarly, u3 demonstrates a narrow tolerance range with a remarkably low standard deviation, emphasizing a highly controlled and consistent parameter. u4 and u6 have averages precisely at the midpoint of their tolerance limits, with u4 showing stability and u6 having a wider dispersion. u5, with a negative average, exhibits a well-defined and narrow confidence interval, indicating consistent deviation within specified limits. Overall, the bootstrap standard deviation and confidence intervals provide valuable insights into the precision and consistency of each parameter, highlighting effective control within their respective tolerance constraints.

Table 3 Summary of the bootstrap confidence interval and the bootstrap distribution for the mean of each functional element

The functional requirement in direction X can be calculated as

$${FR}_{c}=0.025+0.025+0.009+0-0.0385+0=0.0205$$
(13)

According to Ghie [2009] [4], the dispersion can be calculated as

$${\delta FR}_{c}=\sum_{i=1}^{6}\frac{{\sigma }_{i}}{\sqrt{N}}=\frac{{\sigma }_{1}+{\sigma }_{2}+{\sigma }_{3}+{\sigma }_{4}+{\sigma }_{5}+{\sigma }_{6}}{\sqrt{N}}$$
(14)
$${\delta FR}_{c}=\frac{0.0015+0.0015+{5.63\times 10}^{-4}+0.0011+0.0014+0.0032}{\sqrt{10000}}$$
$${\delta FR}_{c}= {9.26\times 10}^{-5}$$

The functional requirement with uncertainty (\({FR}_{u}\)), derived through statistical analysis, is determined as:

$${FR}_{u}=0.0205\pm {9.26\times 10}^{-5}$$

To enhance the reliability of this result, the mean and standard deviation of \({FR}_{u}\) undergo a thorough bootstrap process through 10,000 iterations, resulting in a comprehensive confidence interval (CI) illustrated in Fig. 7. Employing a large sample size in this statistical distribution process ensures conformance to a normal distribution, as visually represented in the same figure. It is important to emphasize that a specified rejection rate of 5% has been consistently applied throughout these calculations.

Fig. 7
figure 7

Bootstrap simulation applied to functional requirement FR

The resulting confidence interval, graphically depicted in Fig. 6, showcases the range within which the true value of \({FR}_{u}\) is likely to fall based on statistical considerations.

To evaluate the effectiveness of the chosen method, a comparative study was conducted using four techniques: bootstrap, stratified sampling, Bayesian statistics, and the analytical method. This analysis aimed to identify the most suitable approach for managing uncertainties in our data, considering not only the mean and confidence intervals but also additional statistical moments such as standard deviation and the proportion of non-conformance (P(NC)). The results are summarized in Table 4 and visually represented in Fig. 8.

Table 4 Summary of statistical analysis methods
Fig. 8
figure 8

Comparison of histogram distributions for different statistical analysis methods

Results show that, all four methods yielded nearly identical means (approximately 28.218) and confidence intervals, demonstrating a high level of consistency. The confidence intervals are also very similar, ranging from approximately 28.173 to 28.264, which indicates that each method can estimate the central tendency with similar precision. This consistency is clearly illustrated in Fig. 8 and Table 4.

The standard deviation (Std_Dev) is another important metric, reflecting data variability. The standard deviations for the methods are very close, around 8.5, suggesting that all methods capture the data’s variability effectively. The slight variations in Std_Dev highlight how each method manages sample fluctuations, which is depicted in the figure.

The proportion of non-conformance measures the likelihood that a product fails to meet specifications. The P(NC) values are almost identical across all methods, around 0.160. This uniformity indicates that each method is equally effective in predicting defect likelihoods or deviations from desired specifications, as shown in the figure.

Each method has specific scenarios where it excels:

  • Bootstrap is particularly beneficial for small or complex datasets where the underlying distribution is unknown. Its flexibility and non-parametric nature make it highly adaptable.

  • Stratified sampling is optimal for heterogeneous populations with well-defined strata, ensuring appropriate representation of each subgroup and enhancing estimate precision.

  • Bayesian statistics is ideal when prior knowledge is available and iterative updates are necessary, allowing for the incorporation of previous information to improve prediction accuracy.

  • Analytical method is suitable for large datasets with known distributions, requiring fewer computational resources and providing quick, reliable estimates when the underlying distribution is well understood.

Despite the similar results in terms of mean, confidence intervals, standard deviation, and proportion of non-conformance across all four methods, the Bootstrap method stands out for its flexibility and suitability for small or complex datasets with unknown distributions. Its non-parametric nature and ability to handle diverse data scenarios make it a strong candidate for tolerance analysis in manufacturing processes.

Given these metrics and the specific applications for each method, the bootstrap method emerges as the most effective choice for this context. It offers both reliability and adaptability in managing the uncertainties inherent in the manufacturing of cam-clamping devices.

Conclusively, after an extensive series of calculations and analyses, the dimensions and tolerances depicted in Fig. 3 underwent a meticulous update. Subsequently, each component was precisely machined utilizing a CNC machine tool, ensuring the accurate implementation of the refined specifications. The various machined parts were systematically assembled to construct the final cam-clamping device, a culmination of the rigorous engineering and precision adjustments made during the tolerance redesign process. The resulting assembled cam-clamping device, showcased in Fig. 9, stands as a tangible embodiment of the iterative synthesis methodology applied to achieve optimal tolerances. This visual representation not only underscores the successful implementation of the refined specifications but also serves as a testament to the effectiveness of the integrated approach, harmonizing the unified Jacobian–Torsor model with Monte Carlo simulation and the bootstrap technique.

Fig. 9
figure 9

Fabricated cam-clamping device

7 Conclusion

In the design phase, precise tolerance analysis is essential for ensuring that components meet geometric and dimensional constraints, thereby optimizing performance and achieving quality standards efficiently. This study introduces a novel approach to precision engineering through the integration of the unified Jacobian–Torsor model with Monte Carlo simulation and the Bootstrap technique.

A comparative evaluation of four statistical methods—bootstrap, stratified sampling, Bayesian statistics, and the analytical method—demonstrates that while all methods yield similar means, confidence intervals, and standard deviations, the bootstrap technique emerges as particularly advantageous. With nearly identical results across methods, the bootstrap technique’s flexibility and non-parametric nature make it especially suited for handling small or complex datasets with unknown distributions.

The application of this integrated methodology to a cam-clamping device illustrates its practical efficacy. By refining and updating dimensions and tolerances through iterative statistical analysis, this approach not only achieves optimal tolerances but also highlights the importance of uncertainty management in precision engineering. This study advances the field of statistical tolerance redesign and provides a valuable framework for design engineers seeking to optimize tolerances in complex mechanical assemblies. The successful application in real-world scenarios attests to the approach’s robustness and practical utility in manufacturing processes.