CN112015138B - Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm - Google Patents
Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm Download PDFInfo
- Publication number
- CN112015138B CN112015138B CN202010918692.3A CN202010918692A CN112015138B CN 112015138 B CN112015138 B CN 112015138B CN 202010918692 A CN202010918692 A CN 202010918692A CN 112015138 B CN112015138 B CN 112015138B
- Authority
- CN
- China
- Prior art keywords
- point
- blade
- patch
- profile
- point cloud
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
- G05B19/4086—Coordinate conversions; Other special calculations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35356—Data handling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30164—Workpiece; Machine component
Abstract
The invention discloses a blade contour error evaluation method based on a K nearest neighbor iterative nearest grid algorithm, wherein a five-axis measurement system is adopted in the blade surface contour error evaluation method to obtain measurement point cloud of the whole blade surface, the maximum and minimum distance from the measurement point cloud to an ideal profile triangular patch is taken as a target function, and the KNN-ICM algorithm is used for matching and analyzing the measurement point cloud and a triangulated CAD model; the method solves the problem of incomplete analysis of the key section method, and completely reflects the deviation distribution of the whole and all parts of the blade profile.
Description
Technical Field
The invention relates to the technical field of computer-aided manufacturing and numerical control machining, in particular to a blade contour error evaluation method based on a K nearest neighbor iterative nearest grid algorithm.
Background
The blade part is used as a high-fault part in the power device, and the working performance and the service life of the whole machine are seriously influenced. The shape error of the blade profile has great influence on the secondary flow loss, directly influences the energy conversion rate of the air compressor and further influences the working efficiency, plays a very important role in the performance of the engine, and therefore the processing of the blade parts and the detection of the profile quality have very important significance in the detection of engine parts.
With the continuous development and improvement of the measuring technology, the technology and means for analyzing the surface profile of the blade are more and more. The contour information of the key part of the blade can be obtained based on a key section analysis method of a three-coordinate measuring machine. However, the three-coordinate measuring machine has low measuring efficiency, and the key section method cannot acquire all profile information of the molded surface. The five-axis coordinate measuring system can keep the probe continuously sweeping on the curved surface in the measuring process, can obtain all contour information of the surface of the workpiece, and then registers the measured point cloud with an ideal CAD model so as to evaluate the contour error of the molded surface. However, the existing round error evaluation method has the problems of low evaluation precision, low calculation efficiency, large memory consumption and the like.
Non-patent document A method for registration of 3-D maps proposes a point cloud matching method, but the efficiency of finding the closest point is very low, and the calculation fails when the point cloud is large in scale. In order to improve the calculation efficiency, a K Nearest Neighbor (KNN) algorithm is introduced into point cloud matching in non-patent document Tunnel development Analysis using KNNs-ICP Method Based on terrestial Laser Scanning Data to form a nearest neighbor point cloud matching Method (KNN-ICP), and the Method can efficiently acquire the nearest point of each point in the point cloud. However, the existing evaluation methods for profile contour errors still have defects, point clouds are adopted to describe a CAD model, data points which are dense enough are needed to ensure the accuracy of the distance between a calculation point and an ideal curved surface, the requirement on a memory is high, and the calculation efficiency is low. In addition, the existing contour error evaluation method adopts the distance between the measured point cloud and the ideal point cloud as an optimization target, but the index cannot accurately reflect the real contour error of the surface of the workpiece.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the existing contour error evaluation method adopts the distance between a measured point cloud and an ideal point cloud as an optimization target, but the index cannot accurately reflect the real contour error of the surface of a workpiece; the method adopts point cloud to describe the CAD model, needs the point cloud with enough density to ensure the precision of the distance between the calculation point and the ideal curved surface, and has high requirement on the memory and low calculation efficiency.
The invention solves the technology through the following technical scheme:
the scheme provides a blade contour error evaluation method based on a K nearest neighbor iterative nearest grid (KNN-ICM) algorithm, which comprises the following steps:
s1: triangulating each molded surface part of the compressor blade according to the machining tolerance to generate a triangular surface patch of each molded surface part, and acquiring a triangular surface patch discrete point cloud set of each molded surface part;
s2: measuring points of each molded surface part of the compressor blade are obtained by using an REVO five-axis scanning measuring system, and all measuring point cloud data sets are obtained;
s3: aiming at the discrete point cloud set and all the measured point cloud sets of the triangular surface patches of the parts of the molded surfaces, calculating the closest point and the corresponding distance from each measured point to the triangular surface patch by adopting a KNN algorithm and spreading search;
s4: if the absolute value of the difference between the average value of the distances from all the current measuring point positions to the triangular patch and the last calculated value is smaller than the iteration termination precision, the step S6 is entered, otherwise, the step S5 is continuously executed;
s5: calculating a rotation matrix and a translation matrix by using a quaternion method, enabling the current position of each measuring point to approach the position of the closest point on the corresponding triangular patch to obtain a new measuring point cloud data set, and returning to S3;
s6: and stopping the iterative calculation, and outputting the maximum contour error of the whole blade, the maximum contour error of each profile part, the average contour error of the whole blade and the average contour error of each profile part.
The further optimization scheme is that the machining tolerance of a workpiece is set to be tau, and the parts of the molded surfaces of the blades of the compressor are triangulated with the discrete precision of omega tau, wherein 0< omega < 1.
The further optimization scheme is that the compressor blade comprises: a bucket profile portion, a trailing edge profile portion, a back profile portion, and a leading edge profile portion.
The further optimization scheme is that when the triangular dissection is carried out on each section of the compressor blade, each section is dissected independently.
The further optimization scheme is that the mark numbers of a blade basin (CC) profile part, a rear edge (TE) profile part, a blade back (CV) profile part and a front edge (LE) profile part are sequentially 1,2,3 and 4;
by usingThe number of discrete points representing the t-profile portion; k denotes the number of iterations of the KNN algorithm calculation, the initial case k is 0,corner mark i 1 … nt,ntIndicates the number of partial measuring points of the t-shaped surface, N ═ Sigmatnt;
setting measuring pointsThe closest point to the triangular patch is:the corresponding distance is:wherein
the further optimization scheme is that the method for calculating the closest point and the corresponding distance from each measuring point to the triangular patch by adopting the KNN algorithm and the spreading search comprises the following steps:
t1: firstly, the discrete point cloud of the triangular surface patch of a certain molded surface partStoring according to a k-d tree structure, and recording the triangular patch set asmtThe number of patches of each part;
t2: calculating the position of the current measuring pointTo the closest point on the triangular patchTo obtainDistance to the closest point of the triangular patch
The further optimization scheme is that the T2 comprises the following specific steps:
t2.1 definition: if M istIf at least one vertex of the middle triangular patch is a certain element in the discrete point set V, the patch is called as a V associated patch, and a set formed by all the V associated patches is marked as CM (V); point cloudThe first K points with the distance from the middle point P to the middle point P from small to large are called as K nearest neighbor points of P, and the set formed by the K points is recorded as
Setting j as an iteration counter for calculating the closest point; let j be 1 and j be equal to 1,note the book ToThe minimum value of the distances of each patch isIt corresponds toPoint of isDiscrete point cloud on triangular patch using KNN algorithmMiddle searchA nearest neighbor, calculating
T2.2: orderDiscrete point cloud on triangular patch by KNN algorithmMiddle searchA nearest neighbor, calculatingAnd
the further optimization scheme is that a measuring point is calculatedToAll the associated patch distances of the nearest neighbors take the minimum value of the distancesThe method comprises the following specific steps:
k1: calculating data pointsAll relations to vertices containing a nearest neighborThe distance of the connected pieces;
k2: traverse in sequenceA nearest neighbor, calculatingThe distance from each nearest neighbor point to all the associated patches with the vertex, and the minimum value of all the distances is taken as the minimum value
The further optimization scheme is that the K1 comprises the following specific steps:
k1.1: discrete point cloud with triangular patchMedian data pointFinding a triangular patch set M with a certain nearest neighbor point of CtAll the related patches CM (C) taking C as a vertex;
k1.2: calculating pointsDistances to each triangular patch in the set CM (C), and taking the minimum value as a pointDistance to patch CM (C).
Calculating data pointsDistance d to all associated patches CM (C) containing a nearest neighbor C as a vertexCM(C)(ii) a The method comprises the following steps:
(1) setting the intermediate and data points of the surface patch vertex of the CAD modelFinding all the related patches taking C as a vertex, wherein the nearest neighbor point of C is C;
(2) let one of the patches with C as the vertex be ABC. Separately calculating vectorsAndthe included angle between is theta1And theta2. If it isOrThen calculateDistance d to triangle patch ABCABC(ii) a If not, then,as a pointDistance to triangle patch ABC.
(a) is provided withThe point coordinate is (x)0,y0,z0) The coordinate of point A is (x)1,y1,z1) And the coordinate of the point B is (x)2,y2,z2) And the coordinate of the point C is (x)3,y3,z3). Let t1=(y2-y1)(z3-z1)-(y3-y1)(z2-z1),t2=(z2-z1)(x3-x1)-(z3-z1)(x2-x1),t3=(x2-x1)(y3-y1)-(x3-x1)(y2-y1),t4=-(t1x1+t2y1+t3z1) CalculatingThe projection point S of the plane where the triangular patch ABC is located is (x)S,yS,zS):
(b) Is provided withIf the sequence of alpha, beta, gamma is not changed, the projection point is positioned in the triangular patch, and the projection point is takenOtherwise, go to step (c);
(c) respectively calculating pointsThe distance from the three line segments AB, BC and CA of the patch is taken as the minimum value dABC. Therein, a pointTo each stripThe calculation method of the edge distance is as follows: taking AB edge as an example, first calculateProjected point D on line AB:
order toWhen 0 is present<r<1, the projection point is inside the line segment; otherwise, the projection point is outside the line segment, pointDistance d to line segment ABABThe calculation formula of (2) is as follows:
similarly, d is calculatedBC,dCAGet dABC=min{dAB,dBC,dCA}。
(3) Traversing all the associated patches with C as the vertex, respectively calculating the distances from the data points to all the associated patches with C as the vertex by adopting the steps, and taking the minimum value as dCM(C)。
Traverse in sequenceA nearest neighbor, calculatingThe distance to the associated patch of each neighboring point is taken as the minimum value of all the distances and recorded as
Further, in S5, a quaternion method is used to calculateA rotation matrix and a translation vector. Note the book The rotation matrix is R(k)Translation matrix is T(k)The specific calculation steps are as follows:
(1) set of computation points P(k)And Q(k)Central position ofAndand carrying out centralized processing:
(2) calculating a covariance matrix C from the centralized data point setmAnd constructing a positive definite matrix N through the covariance matrix:
(3) calculating the eigenvalue of the positive definite matrix N, wherein the eigenvector corresponding to the maximum eigenvalue corresponds to the rotation quaternion as follows:
q=(q0,q1,q2,q3)T
(4) using a rotating quaternion q ═ q (q)0,q1,q2,q3)TThe rotation matrix is represented as:
The working principle of the method is as follows: in order to more accurately and comprehensively evaluate the precision of the whole surface of a part, the technical scheme adopts an REVO five-axis measuring system to obtain the measuring point cloud data of the whole blade surface and provides a K nearest neighbor iterative nearest grid algorithm to calculate the profile error between the measuring point cloud and a CAD model (the CAD model is divided into four parts, namely a CC profile part, a CV profile part, an LE profile part and a TE profile part).
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. according to the blade contour error evaluation method based on the K nearest neighbor iterative nearest grid algorithm, the five-axis measurement system is adopted in the blade surface contour error evaluation method to obtain the measurement point cloud of the whole blade surface, the speed is high, the precision is high, and the point cloud data obtaining efficiency is improved; the method solves the problem of incomplete analysis of the key section method, and completely reflects the deviation distribution of the whole and all parts of the blade profile.
2. According to the blade contour error evaluation method based on the K nearest neighbor iterative nearest grid algorithm, the maximum and minimum distance from the measured point cloud to the triangular surface patch of the ideal profile is used as a target function, the measured point cloud is matched and analyzed with the triangulated CAD model through the KNN-ICM algorithm, memory consumption during calculation is reduced, calculation accuracy and efficiency of the distance from the measured point to the ideal profile are improved, and the contour error of a workpiece can be reflected more accurately.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention.
FIG. 1 is a flow chart of a blade contour error evaluation method based on a K nearest neighbor iterative nearest grid algorithm;
FIG. 2 is a schematic structural diagram of a tablet press blade;
FIG. 3 is a schematic diagram of a REVO five-axis scanning measurement system;
FIG. 5 shows measurement pointsSchematic diagram of the position relation with the triangular patch;
FIG. 6 shows measurement pointsSchematic diagram of the projection point of (a) in the triangular patch;
FIG. 8 shows measurement pointsA schematic diagram of the position relationship between the projection point and the triangular patch;
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
As shown in fig. 1, a method for evaluating a blade surface contour error based on a K-nearest neighbor iterative nearest grid algorithm includes the following steps:
s1, triangulation (0) is carried out on the CAD molded surface of the blade with the discrete precision of omega & tau, and the machining tolerance of the workpiece is set to be tau<ω<1) The set of discrete point clouds constituting the triangular patch isWhere t denotes the identification number of the respective part of the blade,indicating the number of discrete points of the part plane.
S2: as shown in FIG. 3, a REVO five-axis measurement system is adopted to obtain measurement points on the surface of the whole blade, and a measurement point cloud data set is recorded asntRepresents the number of the measuring points of the part, and N is sigmat nt. k denotes the number of iterations, the initial case k is 0,i=1…nt。
s3: respectively calculating the current position of all measuring points for each part of the bladeTo the closest point on the triangular patchAnd corresponding distance
S4: when k is more than or equal to 1, calculatingIf e<E (where e is the given iteration termination precision), go to step S6; otherwise, the step S5 is continued.
S5: rotation matrix R is calculated by adopting quaternion method(k)And translation matrix T(k)So that the current measurement point cloudApproximationObtaining new measuring point cloud positionWhereinLet k be k +1, return to step S3.
S6: stopping iteration, and respectively outputting maximum profile errors of the whole blade and each partAndand average profile error of the whole and each part of the bladeAnd
further, in step S1, the blade profile is composed of four parts, i.e., a blade basin (CC), a blade back (CV), a Leading Edge (LE), and a Trailing Edge (TE), as shown in fig. 2. When the CAD model is triangulated, the four parts are separately subdivided.
Further, in step S3, the nearest point of each point cloud data in the triangular patch is found by using the KNN algorithmThe method comprises the following steps:
firstly, acquiring point cloud data of a blade profile by using a REVO five-axis scanning measurement system; the actual measurement point cloud consists of four parts of CC, CV, LE and TE. Recording the current position of some part of the measured point cloud data of the blade as follows:k represents the number of iterations and the initial value is 0.
Second, the discrete point clouds that will form the triangular patchStoring according to a k-d tree structure, and recording a part of triangular patch set asmtThe number of partial triangular patches.
Thirdly, calculating the current position of the measuring pointTo the closest point of the triangular patchTo a corresponding distance i=1...nt. Defining: if M istIf at least one vertex of the medium triangular patch is an element in the discrete point set V, the patch is calledV associated patch, the set formed by all associated patches of V is marked as CM (V); point cloudThe first K points with the distance from the middle point P to the middle point P from small to large are called as K nearest neighbor points of P, and the set formed by the K points is recorded asCalculating the closest pointThe specific procedure for the corresponding distances is as follows:
(1) let j be the calculationTo triangular patch MtIteration counter of the closest point. Let j be 1 and j be equal to 1,note the book ToThe minimum value of the distances of each patch isIt corresponds toPoint of isPoint cloud using KNN algorithmMiddle searchA closest point, calculating
similarly, the four parts of the blade calculate the closest point on the patch and the corresponding distance in the same way. (As shown in FIG. 4, the triangle of the dotted line isFor the associated patch of the vertex, the point is determined by calculationIs the closest point to the point of the image,to threeThe distance of the corner pieces is)
Further, the points are calculatedAndminimum of distances of all associated patches of the nearest neighborsComprises the following steps:
first, calculate the data pointDistance d to all associated patches CM (C) containing a nearest neighbor C as a vertexCM(C);
(1) Setting the intermediate and data points of the surface patch vertex of the CAD modelFinding all related patches taking C as a vertex, wherein the nearest neighbor point of C is C;
(2) let one of the patches with C as the vertex be ABC. Separately calculating vectorsAndthe included angle between is theta1And theta2. If it isOrThen calculateDistance d to triangle patch ABCABC(ii) a If not, then,as a pointDistance to triangle patch ABC.
(a) as shown in fig. 8, letThe point coordinate is (x)0,y0,z0) The coordinate of point A is (x)1,y1,z1) And the coordinate of the point B is (x)2,y2,z2) And the coordinate of the point C is (x)3,y3,z3). Let t1=(y2-y1)(z3-z1)-(y3-y1)(z2-z1),t2=(z2-z1)(x3-x1-(z3-z1)(x2-x1),t3=(x2-x1)(y3-y1)-(x3-x1)(y2-y1),t4=-(t1x1+t2y1+t3z1) CalculatingThe projection point S of the plane where the triangular patch ABC is located is (x)S,yS,zS):
(b) Is provided withIf the sequence of alpha, beta, gamma and alpha does not change sign, the projection point is positioned inside the triangular patch (as shown in figure 6), and the projection point is takenOtherwise (the projection point is not inside the triangular patch, as shown in fig. 7), go to step (c);
(c) calculating pointsThe distance from the three line segments AB, BC and CA of the patch is taken as the minimum value dABC. DotThe distance to each edge is calculated as follows: taking the AB edge as an example (as shown in FIG. 9, there are two cases that the projection point is inside the line segment and outside the line segment), first, calculateProjected point D on line AB:
order toWhen 0 is present<r<1, the projection point is inside the line segment; otherwise, the projection point is outside the line segment, pointDistance d to line segment ABABThe calculation formula of (2) is as follows:
similarly, d is calculatedBC,dCAGet dABC=min{dAB,dBC,dCA}。
(3) Traversing all the associated patches with C as the vertex, respectively calculating the distances from the data points to all the associated patches with C as the vertex by adopting the steps, and taking the minimum value as dCM(c)。
Two, sequentially traverseThe nearest neighbor point is calculated by the methodThe distance to the associated patch of each neighboring point is taken as the minimum value of all the distances and recorded as
Further, in step S5, a rotation matrix and a translation vector are calculated by a quaternion method. Note the book The rotation matrix is R(k)Translation matrix is T(k)The specific calculation steps are as follows:
(1) set of computation points P(k)And Q(k)Central position ofAndand carrying out centralized processing:
(2) calculating a covariance matrix C from the centralized data point setmAnd constructing a positive definite matrix N through the covariance matrix:
(3) calculating the eigenvalue of the positive definite matrix N, wherein the eigenvector corresponding to the maximum eigenvalue corresponds to the rotation quaternion as follows:
q=(q0,q1,q2,q3)T
(4) using a rotating quaternion q ═ q (q)0,q1,q2,q3)TThe rotation matrix is represented as:
Example 2
The specific implementation mode of the blade contour error evaluation method based on the K nearest neighbor iterative nearest grid algorithm comprises the following steps of:
marking the marks of four parts CC, CV, LE and TE of a blade CAD molded surface of an air compressor as t1, 2,3 and 4 respectively, taking the machining tolerance tau of a workpiece as 0.01mm, taking omega as 0.1, triangulating the blade CAD molded surface with the discrete precision of 0.1 tau, and integrating the discrete point clouds forming a triangular surface patch into a discrete point cloud setThe data amount of the discrete point cloud of each part is respectively154966 in total. The discrete point clouds constituting the triangular patchStoring according to k-d tree structure, each part of triangular patch is collected intoThe number of each is m1=69531、m2=75043、m3=59688、m4102331 and 306593 pieces in total. Adopting an REVO five-axis measuring system to obtain measuring points on the surface of the whole blade, and collecting the measuring point cloud data into a data setThe data quantity of the measured point clouds of each part is n1=2866、n2=2496、n3=856、n41973, 8191 in total.
And step two, solving the closest point and the corresponding distance from the current measuring point positions to the triangular patch. Setting iteration termination precision as 0.001mm in the form of ∈, if the absolute value of the difference between the average value of the distances from all the current measuring points to the triangular patch and the last calculated value is smaller than the ∈, entering a fourth step, otherwise, continuing to execute a third step;
and thirdly, calculating a rotation matrix and a translation matrix by adopting a quaternion method, enabling the position of the current measurement point cloud to approach the nearest position on the triangular surface patch of the CAD model, and updating the position of the measurement point cloud. Returning to the step two;
and step four, terminating iteration, and respectively outputting the maximum contour error of the whole blade and each part and the average contour error of the whole blade and each part, as shown in table 1.
TABLE 1 average and maximum profile errors of the entire blade from section to section
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (9)
1. The blade contour error evaluation method based on the K nearest neighbor iterative nearest grid algorithm is characterized by comprising the following steps of:
s1: triangulating each molded surface part of the compressor blade according to the machining tolerance to generate a triangular surface patch of each molded surface part, and acquiring a triangular surface patch discrete point cloud set of each molded surface part;
s2: measuring points of each molded surface part of the compressor blade are obtained by using an REVO five-axis scanning measuring system, and all measuring point cloud data sets are obtained;
s3: aiming at the discrete point cloud set and all measured point cloud data sets of the triangular surface patches of the parts of the molded surfaces, searching and calculating the closest point and the corresponding distance from each measured point to the triangular surface patch through a KNN algorithm;
s4: if the absolute value of the difference between the average value of the distances from all the current measuring point positions to the triangular patch and the last calculated value is smaller than the iteration termination precision, the step S6 is entered, otherwise, the step S5 is continuously executed;
s5: calculating a rotation matrix and a translation matrix by using a quaternion method, enabling the current position of each measuring point to approach the position of the closest point on the corresponding triangular patch to obtain a new measuring point cloud data set, and returning to S3;
s6: and stopping the iterative calculation, and outputting the maximum contour error of the whole blade, the maximum contour error of each profile part, the average contour error of the whole blade and the average contour error of each profile part.
2. The blade profile error evaluation method based on the K-nearest neighbor iterative nearest grid algorithm according to claim 1, wherein the machining tolerance of a workpiece is set to be tau, and each profile part of the compressor blade is triangulated with discrete precision of omega-tau, wherein 0< omega < 1.
3. The blade contour error evaluation method based on the K-nearest neighbor iterative nearest grid algorithm according to claim 1, wherein a compressor blade comprises: a bucket profile portion, a trailing edge profile portion, a back profile portion, and a leading edge profile portion.
4. The blade contour error evaluation method based on the K-nearest neighbor iterative nearest grid algorithm according to claim 2 or 3, wherein when triangulating each profile part of the compressor blade, each profile part is separately subdivided.
5. The blade contour error evaluation method based on the K-nearest neighbor iterative nearest grid algorithm according to claim 3, wherein the labels of the leaf basin profile part, the trailing edge profile part, the leaf back profile part and the leading edge profile part are t ═ 1,2,3 and 4 in sequence;
the number of discrete points representing the t-profile portion; k denotes the number of iterations of the KNN algorithm calculation, the initial case k is 0,corner mark i 1 … nt,ntExpressing the number of partial measuring points of the t-shaped surface, wherein N is sigmatnt;
setting measuring pointsThe closest point to the triangular patch is:the corresponding distance is:wherein
The new measured point cloud data set obtained in S5 isWhereinR(k)Rotation matrix, T, for a measurement point cloud data set(k)A translation vector of the measurement point cloud data set; returning to S3 when k is k + 1;
6. The method for evaluating the blade contour error based on the K-nearest neighbor iterative nearest grid algorithm according to claim 5, wherein the method for iteratively calculating the nearest point and the corresponding distance from each measuring point to the triangular patch by using the KNN algorithm comprises the following steps:
t1: firstly, the discrete point cloud of the triangular surface patch of a certain molded surface partStoring according to a k-d tree structure, and recording the triangular patch set asmtThe number of patches of each part;
7. The blade contour error evaluation method based on the K-nearest neighbor iterative nearest grid algorithm according to claim 6, wherein T2 comprises the following specific steps:
t2.1 definition: if M istAt least one vertex of the medium triangular patch is an element of the discrete point set V,the patch is called as the associated patch of V, and the set of all associated patches of V is denoted as cm (V); point cloudThe first K points with the distance from the middle point P to the middle point P from small to large are called as K nearest neighbor points of P, and the set formed by the K points is recorded as
Setting j as an iteration counter for calculating the closest point; let j be 1 and j be equal to 1,note the book ToThe minimum value of the distances of each patch isIt corresponds toPoint of isDiscrete point cloud on triangular patch using KNN algorithmMiddle searchA nearest neighbor, calculating
T2.2: orderDiscrete point cloud on triangular patch by KNN algorithmMiddle searchA nearest neighbor, calculatingAnd
8. the method for evaluating the blade profile error based on the K-nearest neighbor iterative nearest grid algorithm according to claim 7, wherein a measuring point is calculatedToThe distance of all the related patches of the nearest neighbors is taken as the minimum valueThe method comprises the following specific steps:
k1: calculating data pointsDistances to all associated patches containing a certain nearest neighbor point as a vertex;
9. The method for evaluating the blade contour error of the K-nearest neighbor iterative nearest grid algorithm according to claim 8, wherein K1 comprises the following steps:
k1.1: discrete point cloud with triangular patchMedian data pointFinding a triangular patch set M with a certain nearest neighbor point of CtAll the related patches CM (C) taking C as a vertex;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010918692.3A CN112015138B (en) | 2020-09-04 | 2020-09-04 | Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010918692.3A CN112015138B (en) | 2020-09-04 | 2020-09-04 | Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112015138A CN112015138A (en) | 2020-12-01 |
CN112015138B true CN112015138B (en) | 2021-08-10 |
Family
ID=73515808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010918692.3A Active CN112015138B (en) | 2020-09-04 | 2020-09-04 | Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112015138B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955939A (en) * | 2014-05-16 | 2014-07-30 | 重庆理工大学 | Boundary feature point registering method for point cloud splicing in three-dimensional scanning system |
CN107451378A (en) * | 2017-09-05 | 2017-12-08 | 电子科技大学 | A kind of three-dimensional coordinates measurement blade profile samples point extracting method |
CN107767457A (en) * | 2017-10-09 | 2018-03-06 | 东南大学 | A kind of STL digital-to-analogue generation methods quickly rebuild based on a cloud |
CN108376408A (en) * | 2018-01-30 | 2018-08-07 | 清华大学深圳研究生院 | A kind of three dimensional point cloud based on curvature feature quickly weights method for registering |
CN110175954A (en) * | 2019-05-29 | 2019-08-27 | 西安邮电大学 | The quick joining method of improved ICP point cloud, device, electronic equipment and storage medium |
-
2020
- 2020-09-04 CN CN202010918692.3A patent/CN112015138B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955939A (en) * | 2014-05-16 | 2014-07-30 | 重庆理工大学 | Boundary feature point registering method for point cloud splicing in three-dimensional scanning system |
CN107451378A (en) * | 2017-09-05 | 2017-12-08 | 电子科技大学 | A kind of three-dimensional coordinates measurement blade profile samples point extracting method |
CN107767457A (en) * | 2017-10-09 | 2018-03-06 | 东南大学 | A kind of STL digital-to-analogue generation methods quickly rebuild based on a cloud |
CN108376408A (en) * | 2018-01-30 | 2018-08-07 | 清华大学深圳研究生院 | A kind of three dimensional point cloud based on curvature feature quickly weights method for registering |
CN110175954A (en) * | 2019-05-29 | 2019-08-27 | 西安邮电大学 | The quick joining method of improved ICP point cloud, device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
基于自适应邻域匹配的点云配准方法;张顺利等;《计算机学报》;20190930;第42卷(第9期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112015138A (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106643551B (en) | A kind of quick scanning means of blade shape and method | |
CN106600622B (en) | A kind of point cloud data segmentation method based on super voxel | |
CN111369607B (en) | Prefabricated part assembling and matching method based on picture analysis | |
CN103106632B (en) | A kind of fusion method of the different accuracy three dimensional point cloud based on average drifting | |
CN113834625B (en) | Aircraft model surface pressure measuring method and system | |
CN1996387A (en) | Mark point matching method for point-cloud registration in 3D scanning system | |
CN116204990B (en) | Three-dimensional measured data driven precise coordination repair method for large-scale framework of aircraft | |
CN113192116A (en) | Aviation blade thickness parameter measuring method based on structured light camera | |
CN111709131B (en) | Tunnel axis determination method and device | |
CN105354850A (en) | Method for detecting size of complex curved part in three-dimensional matching manner based on electric-field properties | |
CN113592961A (en) | Point cloud splicing method based on precision control field and point cloud feature similarity | |
CN111199549B (en) | Blade profile extraction method based on blade profile measurement point cloud | |
CN112002013A (en) | Three-dimensional overlapping type modeling method | |
CN113642681B (en) | Matching method of aircraft model surface mark points | |
CN106355178B (en) | Self-adaptive simplification method for mass point clouds based on hierarchical clustering and topological connection model | |
CN112015138B (en) | Blade contour error evaluation method based on K nearest neighbor iterative nearest grid algorithm | |
CN107665496B (en) | Three-dimensional attitude registration method | |
Bergström et al. | Repeated surface registration for on-line use | |
CN115082547A (en) | Profile measuring method based on point cloud data and storage medium | |
TWI444586B (en) | System and method for detecting form-position tolerances of an object | |
CN114608478A (en) | High-precision front and rear edge parameter measurement method for curved sheet | |
CN112902839A (en) | Machining allowance measuring method and system based on point laser displacement sensor | |
Hermann et al. | Application of computational geometry in coordinate measurement | |
Yunyong et al. | Geometric analysis of investment casting turbine blades based on digital measurement data. | |
He et al. | Research on rapid detection of characteristic parameters of aeroengine blade surface based on laser scanning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |