1 Introduction

Aero-engine blades, such as turbine and compressor blades, take the central place in the modern aerospace industry. Working in the environment with very high temperature and pressure as well as being impacted with foreign objects, aero-engine blades may suffer from many kinds of damages, such as wear, corrosion, and fatigue [1, 2]. To survive in such a harsh environment, blades are usually made of titanium- or nickel-based alloys which are extremely rare and difficult to machine. Taking the economy cost into consideration, extending the service life of blades via remanufacturing is an inevitable choice since replacing with a new one is far more expensive.

Generally, the damaged blade remanufacturing process mainly involves the following stages: pre-inspection, build-up, removal, and post-inspection, as shown in Fig. 1. On pre- and post-inspection aspects, contact or noncontact measurement instruments are utilized to digitize the damaged/deposited/repaired blades, and the microstructure of repaired blades has to be evaluated. In the build-up process, welding or laser cladding is employed to fill up the missing volume of the damaged part. However, the current build-up techniques cannot restore the damaged blade accurately. Excess material in the raw deposited blade has to be removed by NC machining/grinding and polishing to meet the requirements of geometric size and surface smoothness. Until the early twenty-first century, most stages of the blade repair process had been carried out manually which is time-consuming and labor-intensive. Besides, the repair quality entirely relies on the operators’ individual experience, and the repair results differ from each other due to the lack of a precise geometric description of the damaged region. To reduce the labor and time costs as well as to enhance repair reliability, some efforts have been made to automate scanning [3,4,5,6], laser cladding [7,8,9,10], and machining process [11, 12]. Furthermore, integrating these stages [8, 12,13,14,15] became both the research and industry interests due to fewer costs and higher efficiency.

Fig. 1
figure 1

Blade repair process

In the automated and adaptive blade repair process, target model construction for remanufacturing always takes the key position, because the tool paths for laser cladding and machining are directly generated based on this model. The aerodynamic performance of blades requires a smooth geometric transition on the blade surface. After NC machining stages, there are still some surface discontinuities between the deposited section and the undamaged section which forms a visible interface. The remanufacturing efficiency benefits from a more accurate model as less post-processing work needs to be carried out, such as polishing. However, due to the extreme working conditions, the shapes of aero-engine blades deform to different degrees. The nominal model (original CAD) is obviously inappropriate to utilize for repairing. For the past 20 years, reverse-engineering-based methods [9, 12, 14,15,16,17] and design-feature-based methods [18,19,20,21], as two main strategies for blade repairing, have been developed. The reverse-engineering-based methods attempt to restore damaged blade geometry via the measured data and reverse-engineering tools [9, 12, 14,15,16]. Since the measured data of the damaged part is not reliable, the restored geometry loses accuracy. The design-feature-based methods try to keep some design features or intents in several blade cross-sections by fitting the measure data [19, 21]. However, it is difficult to accurately determine the cross-sections in the measured data, and cross-section geometry cannot be utilized in the blade tip repairing. How to construct an intact deformed blade model accurately is a challenging task since only measured data of the undamaged section are available and reliable.

To guarantee successful damaged blade remanufacturing, the accuracy of the deformed blade model is the focus of our attention. A novel approach based on the accurate matching of measured data and nominal CAD through keeping local rigidity is proposed in this paper. Considering that 3D optical scan only accurately works on a flat area [16], the matching process is performed on the segmented flat surfaces. The profile of the blade consists of two sharp edges: leading edge (LE) and trailing edge (TE), and two surfaces: suction face (SF) and pressure face (PF). Many measured noises and outliers may exist on the LE and TE as well as raw deposited part via 3D optical scanning. Therefore, the undamaged part of the SF and PF in the measured data is segmented and matched with the nominal CAD. Then, the rest of the parts will be stitched up with the matched part with least shrinkage or expansion to form the intact deformed model. In implementation, the input data which is simulated as the deformed blade is achieved by fluid–structure coupling calculation via ANSYS CFX for comparing and verifying. We demonstrate the applicability of our method in two ways: the comparison of the constructed blade model and the deformed blade data, and the machining simulation result.

2 Existing blade model creation methods

Constructing a deformed blade model is vital in the whole manufacturing or repairing process. Common failure types [2] including impact damage from foreign objects, wear of the blade, cracks, corrosion, etc. occur on different blade regions. Many valuable works have been devoted for the deformed blade model construction of different damaged regions, such as the blade tip [8, 12, 14], blade edge [10, 16], and blade profile surface [19, 21]. According to the design information or knowledge being taken into consideration as an additional input in the model construction process, existing methods can be roughly classified into two categories: RE-based methods and design-feature-based methods.

2.1 Reverse-engineering-based methods

RE technologies are aimed at creating a virtual CAD model for an existing component based on 3D measured point data. Therefore, RE-based methods have become the first choice for carrying out the blade remanufacturing/repairing for most people. Gao et al. [16] presented an adaptive detect-free polygon modeling approach through RE tools. Using the Bezier surface to fill the holes caused by the digitizing process or defect deletion, an intact polygon model was created for comparing with the actual scanning data and extracting a repair patch for welding and machining.

For creating a nominal model of worn aerospace components, the geometry of straight and curved blades was analyzed by Gao et al. [14]. Then the reconstructing procedure about how to extrapolate and extend the blade surface for tip repair through reverse-engineering software of PolyWorks was introduced. Similarly, Bagci [17] described the model construction steps for recovery of broken or worn parts using Pro/Engineer CAD/CAE/CAM software, Yilmaz et al. [12] developed an adaptive RE reconstruction method for remodeling of deposited blade through Rhinoceros 3D modeling package, and Wilson et al. [9] demonstrated a semi-automated geometric reconstruction in CATIA software which constructed a solid model by running prominent cross-section (PCS) algorithm in a nondefective region and extrapolating over the remaining height of the defective blade. Li et al. [15] also adopted the combinational method of PCS and extrapolation to reconstruct the nominal model, then a modified ICP algorithm was proposed for the fine registration.

RE-based methods are only relying on the scanned data to restore the damaged blade model. However, there are some common difficulties or problems when carrying out RE-based methods. Firstly, RE-based methods depend on the measured points data, but the geometric information about the defects has been damaged or missing. Extrapolation and extension are adopted in most cases, which only keep the smooth transition rather than the accuracy, especially for twisted/curved blades. Secondly, there are many manual interventions such as the recognition and deletion of the unconspicuous defects when constructing the CAD model for building-up or machining. Besides, the operation procedure of the RE tool is complex and time-consuming.

2.2 Design-feature-based methods

Different from the RE-based methods, the design information or knowledge is introduced to construct a more accurate blade model. Design-feature-based methods generate a valid blade model by capturing and keeping some important design features during the reverse-engineering process.

The nominal model or unused blade scanned data, which is called the master model, is one of the most direct and easy-to-use design features. Zheng et al. [22] presented a method for repairing worn-out turbine blades by laser welding and cladding automatically. After a point-to-surface best-fitting operation, the worn area was recognized and extracted by comparing the distance between scanned point clouds and nominal CAD with the predefined tolerance, then a triangle mesh model representation for the damaged area was generated and transferred into STL file. Based on the additive manufacture technique, Zhang et al. [10] presented an automated damage detection and reconstruction algorithm by fitting the reconstructed model with the nominal model and comparing the overlapping area of each corresponding slice. However, the deformation of damaged blades caused by long-lasting working in the harsh environment was not taken into consideration, which results in the obvious deviation between the reconstructed model and measured data. We cannot achieve the accurate model for the deformed blades just through the master model.

In order to obtain a more accurate result, the design intents have been introduced into deformed model reconstruction. Assuming that the tip will have the same tendency of distortion as the lower section of the blade, Ng et al. [18] built the relationship between the profile of the master model and the profiles of the worn blade under each layer by introducing the neutral line concept and adopting the interpretation vector method in order to reconstruct a profile geometry of the damaged turbine blade. Mohaghegh et al. [19] suggested that seven circular arcs on section profiles as a design key point can lead to a valid shape of the blade, then they constructed the geometry model of a turbine blade using the segmentation and constrained fitting algorithm. As an improved work, Mohaghegh et al. [20] incorporated the design intents and construction geometry behind a sample heavy-duty turbine blade during reverse engineering. Reference sections, stacking axis, and blade twist, which depict the shape of the blade from 2D to 3D, were analyzed to restore the blade surface. Considering deformation caused by long-lasting working, Rong et al. [21] transformed the template curves of the design CAD model to achieve the best fit to measured points on several 2D cross-sectional profiles. Based on the aforementioned design concepts and intents, the shape of 2D cross-sectional profiles should be restored firstly. However, the cross-section geometry of the blade tip is damaged and cannot be utilized in the blade tip repairing. Besides, it is not accurate enough to depict the deformed blade geometry by fitting several cross-sectional profiles. To construct an accurate model of the deformed blade, we argue that the whole 3D blade model should be directly employed instead of the discrete 2D cross-section layers.

3 Methodology

3.1 Overview

The proposed method aims at constructing an accurate model of the deformed blades based on the measured data points and guidance of the nominal model for remanufacturing. The flowchart of our method is shown in Fig. 2. Different from the methods that use several sampled 2D cross-sectional profiles of the blade, the nominal model is brought in as a whole for maintaining the entire geometry and mesh topology. Except the triangulation of the nominal model, the measured data of the deposited blade is the other input of our algorithm. The build-up process is not involved in the proposed method.

Fig. 2
figure 2

Overview of the proposed method

Due to the noises and outliers which are usually gathering at the sharp area such as the LE and TE, the segmentation is carried out firstly in both inputs to avoid interference by applying a region growing algorithm constrained with the smoothness and curvature. Then the SF and PF of the nominal model and the undamaged part of the SF and PF of scanned data are extracted. An optimal ICP framework with the local rigidity amendment is developed to acquire an accurate matching result by avoiding the shrink and expansion. The separation will divide the nominal model into the undamaged part of SF and PF which is corresponding to the undamaged part of SF and PF of the deformed blade and the rest of the parts of the nominal model which include the LE, TE, and the damaged region. Lastly, the constructed deformed blade model is obtained by stitching the nominal model to some fixed positions of the deformed blade under the constraints of keeping the local rigidity as much as possible.

3.2 Segmentation

Noises and outliers during 3D noncontact measurement are almost unavoidable because of the unexpected light disturbance, sharp edge/area, and invisible occluded regions [16]. Obviously, the measured data points with less error result in the more accurate deformed blade model. The blade surface consists of the SF, PF, LE, and TE, in which noises and outliers often appear on LE and TE since the 3D scanner only works well on a flat area. To avoid the interference of these unbearable errors in deformed blade model construction, the segmentation should be performed in both the nominal model and scanned data points of the deposited blade. Specifically, the segmentation is to distinguish two pairs of surface patches: one is the sharp edges and flat surfaces and the other one is the undamaged part and deposited part.

For the segmentation of the nominal model where only the flat patch should be distinguished from the sharp edge, the curvature properties of the surface are taken into consideration. Mean curvature which is defined as the average of the principal curvatures is tending to 0 on a flat surface, but is not on the leading edge and trailing edge. For the scanned data points of the deposited blade, the undamaged part of the PF and SF needs to be extracted. Obviously, the deposited region cannot meet the requirement of smoothness which shows a large change of mean curvature in the neighbor points. Therefore, the variance of the mean curvature of the neighbor points is used to scale the smoothness as follows:

$$ {\mathrm{S}}_i=\mathrm{Var}\left\{{C}_i\right\}=\frac{\sum_{j\epsilon {\mathcal{N}}_i}{\left({C}_j-{C}_i\right)}^2}{n_i} $$
(1)

where pj is the neighbor of piCi and Cj are the curvatures of points pi and pj, \( {\mathcal{N}}_i \) is the neighbor point set of pi, and ni is the number of neighbor points of Ci.

Then each point/vertex is associated with two attributes: mean curvature and smoothness. A region growing algorithm constrained with these two attributes is adopted on the scanned data of the deposited blade to segment the undamaged part, as shown in Algorithm 1. In this paper, the curvature and smoothness thresholds are set as 0.015 and 1.2e−4. In Figs. 3 and 4, we show the segmentation results of the nominal model and the scanned data, respectively.

Fig. 3
figure 3

Segmentation of the nominal blade model

Fig. 4
figure 4

Segmentation of scanned data of the deposited blade

figure a

3.3 Matching

To construct the deformed blade model, we try to find out the rule of blade deformation based on the segmented surfaces of the nominal model and scanned data. The matching is to construct the relationship between a template surface and a target surface. There is always a point in the nominal CAD corresponding to the selected point of segmented scanned data, but not vice versa, because the scanned data of the deposited region has already been deleted in the segmentation. Regarding the segmented nominal model as the target surface in which every template point, the segmented scanned point, has its correspondence, we find out the mapping from the template to the target. Then the reverse mapping brings the corresponding nominal model data to the best alignment with the scanned data. As shown in Fig. 5, the matching is operated as the following three main steps: initial matching, target surface projecting, and local rigidity keeping. We put the steps of target surface projecting and local rigidity keeping into the iterative loop to achieve an accurate matching result.

Fig. 5
figure 5

Matching process

These following steps constitute the basic framework of the iterative closest point (ICP) algorithm:

  • Select some points P from the template surface.

  • Search for the closest points Q in the target surface.

  • Minimize the cost function of selected points and their closest points, and obtain the transformation(s).

  • Update the selected points P according to the transformation(s).

  • Calculate the average distance between the template points P and target points Q.

  • If the average distance is less than a predefined threshold or the number of iterations is larger than the set number, stop the algorithm and return. Else, back to step 2 and start next iteration.

3.3.1 Initial matching

The rigid ICP method is used for initial matching to make the segmented scanned data coincide roughly with the SF and PF of the nominal model. This rigid transformation can be divided into rotation and translation, both of which have three degrees of freedom. Generally, the cost function expressed by the term of the sum of squared errors is utilized to measure the result of matching as follows:

$$ E={\sum}_{i=1}^N{\left\Vert \tau \left({p}_i\right)-{q}_i\right\Vert}^2 $$
(2)

where Ρ = {p1, p2, p3, …, pN} is the selected point set from the scanned data and Q = {q1, q2, q3, …, qN} is the corresponding point set from target surface Starget, τ is the decision variable of this least square problem which can be divided into a rotation matrix R and a translation T as τ(pi) = R · pi + T.

In these ICP methods, the selection of correspondences, which refer to the searching range in the template surface, is vital for the matching result. In our case, the deformation between the nominal model and the scanned data reduces the accuracy of matching, and the great number of data points increases the computational complexity. To solve the above two problems, the searching range of correspondences in the first iteration can be limited to the points on the blade root which suffers from the minimum deformation and can be recognized easily.

3.3.2 Target surface projecting

In the target surface projecting, the error metric about the deformed scanned data \( \left\{\mathbf{\mathcal{D}}\left({p}_i\right)|i=1,2,\dots, N\right\} \) and the nominal model surface Starget is defined by the following cost function:

$$ {E}_{\mathrm{d}}={\sum}_{i=1}^N{\mathrm{d}\mathrm{ist}}^2\left({q}_i,\mathbf{\mathcal{D}}\left({p}_i\right)\right) $$
(3)

where \( \mathrm{dist}\left({q}_i,\mathbf{\mathcal{D}}\left({p}_i\right)\right) \) is the distance between the deformed point \( \mathcal{D}\left({p}_i\right) \) and its closest points qi on the nominal model surface Starget.

The nonrigid ICP algorithm [23, 24], which is employed to project the template onto the target surface, can be regarded as a deformation for the template surface and the appointed correspondences of the target surface. Different from the rigid ICP in which the same rigid transformation matrix is applied for all selected template points, the nonrigid ICP is to assign a transformation to each one under some imposed constraints. There are some common steps in performing the nonrigid ICP algorithm: finding out the nearest correspondences for every template point, calculating the transformations via minimizing the error metric, transforming the template points to new positions, and checking the threshold.

Assuming that the scanned data points set Ρ = {p1, p2, p3, …, pN} is given by the homogeneous coordinates \( \overline{{\boldsymbol{p}}_{\boldsymbol{i}}}={\left[{x}_{p_i},{y}_{p_i},{z}_{p_i},1\right]}^T \), the deformation \( \mathbf{\mathcal{D}} \) can be expressed as a set of affine 3 × 4 transformations \( \mathbf{\mathcal{D}}=\left\{{\boldsymbol{D}}_{\mathbf{1}},{\boldsymbol{D}}_{\mathbf{2}},{\boldsymbol{D}}_{\mathbf{3}},\dots, {\boldsymbol{D}}_{\boldsymbol{N}}\right\} \). Then the deformation of pi can be written as \( \mathbf{\mathcal{D}}\left({p}_i\right)={\boldsymbol{D}}_{\boldsymbol{i}}\overline{p_i} \). To avoid the overlap, the constraint of local regularization [24] is introduced to penalize the differences of transformations of neighboring vertices by \( {E}_{\mathrm{Regular}}=\sum \limits_i{\sum}_{j\in {\mathcal{N}}_i}{\left\Vert \left({\boldsymbol{D}}_{\boldsymbol{i}}-{\boldsymbol{D}}_{\boldsymbol{j}}\right)\right\Vert}_F^2 \). We reconstruct the distance error by adding the weighted constraint of the local regularization as follows:

$$ {E}_{\mathrm{d},\mathrm{R}}={E}_{\mathrm{d}}+{E}_{\mathrm{Regular}}={\sum}_i{\left\Vert {\boldsymbol{D}}_{\boldsymbol{i}}\overline{p_i}-{q}_i\right\Vert}^2+\alpha {\sum}_i{\sum}_{j\in {\mathcal{N}}_i}{\left\Vert \left({\boldsymbol{D}}_{\boldsymbol{i}}-{\boldsymbol{D}}_{\boldsymbol{j}}\right)\right\Vert}_F^2 $$
(4)

where the weight α is set as a constant in this paper.

Minimizing the distance error under the weighted constraint of local regularization can be transferred into solving the linear equations by setting the derivative of the cost function to 0 [24]. The set of deformation transformations is obtained and the template points are transformed into new positions.

In detail, we search for the nearest correspondences on the nominal CAD triangle mesh instead of the nearest mesh vertices when the mesh is not refined enough. In addition, the triangulation for segmented scanned data points can simplify the computation of ERegular by replacing point relations of k-nearest neighbors with the edge of the triangle mesh.

3.3.3 Local rigidity keeping

When projecting the points of the template surface onto the target, shrinking and expanding happen due to the nearest point selection, which is only based on the distance between the selected point and the target surface. In this paper, the interior structure of the surface is introduced, which refers to the relative distance between points and their neighbors. The interior structure of the surface can be used to measure the shrink or expansion of the surface. The shrinking and expanding actually change the interior structure of the segmented scanned data points of the deformed blade. Since only the segmented parts of the nominal CAD and measured data are matched up, the shrink or expansion of these parts should be eliminated as much as possible for the accuracy of the intact deformed blade model. Therefore, keeping the interior structure of these parts, which means the distance relations of vertices and their neighbors, is another main focus in this paper.

To measure the difference of interior structure of the deformed/projected surface, we penalize the changes of position and distance of each defined neighborhood as follows:

$$ {E}_{\mathrm{r}}={\sum}_i{\sum}_{j\in {\mathcal{N}}_i}{\left(\left\Vert \overrightarrow{p_i{p}_j}\right\Vert -\left\Vert \overrightarrow{{p_i}^{\prime }{p_j}^{\prime }}\right\Vert \right)}^2 $$
(5)

where piP = {p1, p2, …, pN} is the deformation of Ρ = {p1, p2, p3, …, pN}.

Inspired by the as-rigid-as-possible (ARAP) method [25], we minimize the following local rigidity energy to adjust the interior structure of the deformed template surface

$$ \overset{\sim }{E_{\mathrm{r}}}={\sum}_i{\sum}_{j\in {\mathcal{N}}_i}{\omega}_{ij}{\left\Vert \left({p_i}^{\prime }-{p_j}^{\prime}\right)-{\boldsymbol{R}}_{\boldsymbol{i}}\left({p}_i-{p}_j\right)\right\Vert}^2 $$
(6)

where ωij is the cotangent weight on meshes [25] or points cloud [26], and Ri is the optimal rotation for the cell \( \left\{{p}_i,{p}_j\left(j\in {\mathcal{N}}_i\right)\right\} \) and its transformed cell \( \left\{{p_i}^{\prime },{p_j}^{\prime}\left(j\in {\mathcal{N}}_i\right)\right\} \) which can be estimated by singular value decomposition (SVD) [25].

To minimize the local rigidity energy with the given rotations, we set the partial derivatives \( \partial \overset{\sim }{E_{\mathrm{r}}}/\partial {p_i}^{\prime } \) to be 0 and the following linear equations can be achieved:

$$ {\sum}_{j\in {\mathcal{N}}_i}{\omega}_{ij}\left({p_i}^{\prime }-{p_j}^{\prime}\right)={\sum}_{j\in {\mathcal{N}}_i}\frac{\omega_{ij}}{2}\left({\boldsymbol{R}}_{\boldsymbol{i}}+{\boldsymbol{R}}_{\boldsymbol{j}}\right)\left({p}_i-{p}_j\right) $$
(7)

The weights ωij are obtained by the geometry of the original template surface which is the discrete of the Laplace–Beltrami operator. For the segmented scanned points data, the tangent-space optimal weights [26] are adopted and the cotangent weights are used if the segmented scanned data is triangulated into mesh topology before. Rewriting Eq. (7) as Lp = b, we obtain the adjusted template data p through keeping the local rigidity.

In the iteration loop, maximum iterations imax, the threshold of distance error εd, and the threshold of local rigidity energy εr are predefined. The iteration will stop when the distance error and local rigidity energy of current template data are all less than the predefined thresholds, or the number of iterations is greater than imax. Figure 6 shows the matched result and comparison result.

Fig. 6
figure 6

Matching result analysis and comparison

3.4 Separation and stitching

We obtain the accurate matching of the corresponding overlap part of the nominal model and the scanned data. According to the matching result and the original position, the rule of deformation about the scanned data is found. However, the matching result is a closely approximated shape of the nominal CAD, not the intact deformed blade model. In this section, ‘separation’ and ‘stitching’ are performed to make the nominal model match up with the scanned data on appearance to obtain the deformed blade model for remanufacturing.

Similar to the segmentation we carry out at first, the separation refers to the extraction of the corresponding part of the nominal model for the undamaged part of the SF and PF. The segmented scanned data are embedded in the SF and PF of the nominal model. Since the deposited part has been taken out, the mesh vertices of the nominal model can be recognized and marked as the undamaged part through the matched scanned data. To simplify the following computations, the triangulation for the matched scanned data is carried out firstly. Same as before, we denote by P = {p1, p2, …, pn} the vertices of matched scanned data whose original data is Ρ = {p1, p2, p3, …, pn}, and by Q = {q1, q2, q3, …, qm} the vertices of the SF and PF of the nominal model. Because the surfaces of matched scanned data and the segmented nominal model are close enough, we replace the normals of matched scanned data by those of the nominal model. The vertices of segmented nominal model Q = {q1, q2, q3, …, qm} are projected onto the surface of matched scanned data along such normals, and the vertices, whose projecting images are in the surface of matched scanned data, are marked as the undamaged part.

Based on the marked vertices, the nominal model is separated into the undamaged part and the rest of the parts. Matching results provide the deformation rule of the segmented scanned data which totally overlap with the undamaged part. To construct an accurate deformed blade model, we firstly make the undamaged part coincide with the scanned data. For each vertex qi in the undamaged part, the only corresponding triangle △pi1pi2pi3 can be found. And qi has barycentric coordinates (αi, βi,  γi) which is treated as weights placed at vertices pi1, pi2, pi3. We get another notation relative to the vertices in the undamaged part with a linear combination of the vertices of the matched scanned data by solving the following linear system:

$$ \left\{\begin{array}{c}{q}_i={\upalpha}_i\cdotp {p_{i1}}^{\prime }+{\upbeta}_i\cdotp {p_{i2}}^{\prime }+{\upgamma}_i\cdotp {p_{i3}}^{\prime}\\ {}1={\upalpha}_i+{\upbeta}_i+{\upgamma}_i\end{array}\right.,i=1,\dots, n $$
(8)

These weights are calculated from the relative position of the vertices of the undamaged part and their relative mesh in the matched scanned data. In other words, these weights keep the local rigidity of the matched results. That the weights are kept in the original scanned data makes sense since the local rigidity is kept as much as possible in the matching. To make the undamaged part of the nominal model coincide with the original scanned data, we do not need to compute the reverse transformations for all vertices, but use the one-to-one correspondence between the original scanned data and the transformed one to estimate as follows

$$ {q_i}^{\prime }={\mathbf{\mathcal{D}}}^{-\mathbf{1}}\left({q}_i\right)\approx {\mathbf{\mathcal{D}}}_{\boldsymbol{i}\mathbf{1}}^{-\mathbf{1}}\left({\upalpha}_i\cdotp {p_{i1}}^{\prime}\left)+{\mathbf{\mathcal{D}}}_{\boldsymbol{i}\mathbf{2}}^{-\mathbf{1}}\left({\upbeta}_i\cdotp {p_{i2}}^{\prime}\right)+{\mathbf{\mathcal{D}}}_{\boldsymbol{i}\mathbf{3}}^{-\mathbf{1}}\right({\upgamma}_i\cdotp {p_{i3}}^{\prime}\right)={\upalpha}_i\cdotp {p}_{i1}+{\upbeta}_i\cdotp {p}_{i2}+{\upgamma}_i\cdotp {p}_{i3} $$
(9)

In the segmentation or separation for the nominal model, the vertices are the objects that we manipulate but the edge relations are not changed which means the mesh topology is also kept. In addition, the vertices on their boundaries \( {q}_i\ \left(i\in \mathcal{B}\right) \) caused by the separation are the intersection of the undamaged part and the rest of the parts. Therefore, the undamaged part and the rest of the parts can be stitched together with the vertices on the boundaries caused by the separation to restore an intact model.

The stitching, in essence, is to impose the constraints on these boundary vertices on the deformation of the nominal model. By regarding the edges of the nominal mesh as springs, such deformation should behave like a physical sheet that will stretch or bend when the forces are acting on it. We minimize the local rigidity energy that measures the change of edges’ length. Instead of deforming the rest of the parts which may not fit the requirements for surface fairness, we manipulate the two separate parts as a whole by stitching the boundary vertices up to the transformed positions. Similar to Eq. (7), the local rigidity energy of the deformed blade model is defined by

$$ {\sum}_{j\in {\mathcal{N}}_i}\overset{\sim }{\omega_{ij}}\left({q_i}^{\prime }-{q_j}^{\prime}\right)={\sum}_{j\in {\mathcal{N}}_i}\frac{\overset{\sim }{\omega_{ij}}}{2}\left({\boldsymbol{R}}_{\boldsymbol{i}}+{\boldsymbol{R}}_{\boldsymbol{j}}\right)\left({q}_i-{q}_j\right) $$
(10)

Equation (10) can be rewritten as LQq = bQ, where LQ is the discretization of the Laplace–Beltrami operator for the nominal model. Adding the constraints of the fixed boundary vertices \( {q_i}^{\prime }\ \left(i\in \mathcal{B}\right) \) into the system, the respective rows and columns in LQ need to be deleted and bQ should be updated with these fixed positions \( {q_i}^{\prime }\ \left(i\in \mathcal{B}\right) \). The starting guess about Q is obtained by minimizing ‖ LQqLQq2 under the constraints of fixed positions \( {q_i}^{\prime }\ \left(i\in \mathcal{B}\right) \).

4 Results and discussion

The proposed method was applied to the remanufacturing of a twisted compressor blade with the blade tip damage which accords with most cases in blade repairing [27]. The fluid–structure coupling calculation is used to simulate the deformation of the nominal model by the ANSYS CFX as shown in Fig. 7, since working deformation largely reflects the actual blade deformation under high-temperature and pressure working conditions. Therefore, this deformed model from the computational fluid dynamics (CFD) software tool, ANSYS CFX, is regarded as the deformed blade for comparison.

Fig. 7
figure 7

Standard deformed model from ANSYS CFX

4.1 Simulated input data

As mentioned before, the damaged blade suffers from deformation and being worn. To make the input data as realistic as possible, we simulated the deformed blade data as the deposited blade by adding the welding-like part on the blade tip as shown in Fig. 8. The surface geometry of the deposited blade is scanned and digitized into point clouds by using 3D optical devices. However, the captured points cloud geometry will be limited by the scanning parameters of the specific noncontact device. Setting measuring accuracy as 0.02 mm, the Gaussian noise is adding to the positions of the deposited blade, whose mathematical expectation and variance are 0.02 mm and (0.02 mm)2, as shown in Fig. 8.

Fig. 8
figure 8

Input data simulation steps

4.2 Deformed blade model construction and comparison

Assuming that the deformed blade also keeps the intrinsic geometry of the new one, we use the nominal model and scanned data of the deposited blade to construct an accurate deformed blade model. Different from the current extrapolation algorithms for blade repairing which only focuses on keeping the C0, C1, or G1 continuity, the proposed method constructs the deformed blade model with the help of the nominal model and the scanned data, and the mesh topology is also kept.

To construct the deformed blade model, we firstly match up the scanned data with the nominal model as mentioned in Section 3.3. Figure 6 shows the matching results and the comparison with the previous matching data. Then the vertices of the nominal model are separated and stitched up to their positions of the scanned data to construct the deformed blade model. The deformed blade model is constructed based on the deposited blade scanned data and the nominal model. Moreover, in Fig. 9, the constructed deformed blade model is analyzed and compared with the deformation blade data acquired from the ANSYS CFX to verify the accuracy. The comparison results in Table 1 show that the maximum error of the constructed deformed blade model is 0.06 mm that is the same order of magnitude as the measuring accuracy, and the average error of the constructed deformed blade model is 0.02 mm that is approximated to the mathematical expectation of measuring noises.

Fig. 9
figure 9

Constructed deformed model analysis and comparison

Table 1 Deviation analysis result of the constructed deformed model and the nominal model (compare with the standard deformed blade from ANSYS CFX)

In addition, the constructed deformed blade model maintains the same mesh topology as the nominal model. It might be helpful for transferring the machining paths of the nominal model adaptively.

4.3 Simulated machining result

The simulated machining was also carried out to verify the accuracy and reliability of our method. Based on the constructed deformed blade model, the tool paths can be generated to machine the deposited blade. Different from the constructed blade model and the deposited blade, the deposited region was determined and extracted for tool path generation.

The isoparametric machining strategy with the ball-end cutter was adopted. Figure 10 shows the cutter-contact tool paths and cutter-position tool paths. The file of generated tool paths was loaded into CutRight, a machining simulation and verification software developed at UBC, to simulate the machining result and verify our method. The cutting result with scallop height is shown in Fig. 11. Figure 11b and c show that smooth transition occurs at the interface of the cutting part and the undamaged part which helps to reduce the post-processing time and workload, such as the polishing. Figure 11b shows that the cutting result of the constructed deformed blade model is accurate though a slight overcut still exists. Figure 11d shows the machining result of the top surface of the constructed deformed blade model, which is usually not a plane in the twisted/curved blade and cannot be created easily by the extrapolation operation in the current RE software.

Fig. 10
figure 10

Simulated blade model and tool path generated on the constructed deformed blade model

Fig. 11
figure 11

ad Machining simulation result by using CutRight

5 Conclusion

Due to the individual geometric variation of deposited/damaged aero-engine blades, it is difficult to construct an accurate model for remanufacturing/repairing automatically. This paper proposed a novel strategy for accurate deformed blade model construction by finding out the relation between the nominal model and the available scanned data. In the segmentation process, the available scanned data was extracted by smoothness and curvature. The flattened surfaces of the nominal model, the suction face and the pressure face, were segmented accordingly. The segmented scanned data were matched up with the segmented nominal model by keeping local rigidity as much as possible in the optimal ICP framework. Then the nominal model was stitched up with the scanned data at some selected positions to construct the deformed blade model. Our method was implemented on a twisted compressor blade with tip damage to verify its feasibility. Especially, the deformed standard model acquired by the CFD software tool was utilized to verify the accuracy of the constructed deformed blade model. In addition, the machining simulation result showed the accuracy of the constructed deformed blade model by the smooth transition at the interface which is greatly helpful to reduce post-processing time. Experimental results demonstrated that the proposed method has advantages in geometric accuracy, automation, and repair, saving time for aero-engine blade remanufacturing, especially for twisted/curved blades.