A method for automated flushness measurement of point cloud rivets, including: extracting a rivet outline by adopting an RANSAC circle fitting algorithm, and determining a center, a radius and a normal vector of an outline circle; extracting point cloud of a rivet head for a single rivet outline; extracting point cloud around the rivet for the single rivet outline; and generating a distance color difference map reflecting rivet flushness according to the point cloud of the rivet head and the point cloud around the rivet. According to the present invention, the point cloud of the rivet head and the point cloud around the rivet can be respectively extracted, and the distance color difference map reflecting the rivet flushness is generated according to the point cloud of the rivet head and the point cloud around the rivet, so that the rivet flushness is rapidly and effectively measured.
|
1. A method for automated flushness measurement of point cloud rivets, the method for automated flushness measurement of point cloud rivets comprising:
S1: extracting a rivet outline by adopting an RANSAC circle fitting algorithm, and determining the center, a radius and a normal vector of an outline circle;
S2: extracting point cloud of a rivet head for a single rivet outline;
S3 extracting point cloud around the rivet for the single rivet outline; and
S4: generating a distance color difference map reflecting rivet flushness according to the point cloud of the rivet head and the point cloud around the rivet.
2. The method for automated flushness measurement of point cloud rivets according to
S21: adjusting a radius size to obtain a corrected radius based on the center, the radius and the normal vector of the outline circle and according to priori knowledge of a design radius in a rivet manufacturing standard;
S22: constructing an infinite length cylinder according to the center of the circle, the normal vector and the corrected radius, and extracting point cloud surrounded by the cylinder as initial point cloud of the rivet head;
S23: fitting out a three-dimensional plane of the rivet head by utilizing an RANSAC-based three-dimensional plane fitting method according to the initial point cloud of the rivet head; and
S24: constructing a new infinite length cylinder according to the center of the circle, the corrected radius and a corrected normal vector, and extracting point cloud surrounded by the new cylinder as final point cloud of the rivet head.
3. The method for automated flushness measurement of point cloud rivets according to
r′=minRi∈S(|r−Ri|) in the formula, S is a rivet manufacturing standard radius set; and r is the fitting radius.
4. The method for automated flushness measurement of point cloud rivets according to
Ph0={p∈P∥{right arrow over (p)}−{right arrow over (O)}|<r′} wherein P is original point cloud data; and {right arrow over (O)} is the center of the outline circle.
5. The method for automated flushness measurement of point cloud rivets according to
constructing an infinite length cylinder by taking the center of the outline circle as a center and taking a length that is m times of the corrected radius as a radius; and extracting point cloud surrounded by the cylinder except the point cloud of the rivet head as point cloud around the rivet.
6. The method for automated flushness measurement of point cloud rivets according to
7. The method for automated flushness measurement of point cloud rivets according to
S41: fitting a three-dimensional plane of the point cloud around the rivet as a surrounding plane by adopting an RANSAC-based three-dimensional plane fitting method, and determining a normal vector of the surrounding plane;
S42: calculating a distance from the point cloud of the rivet head to the surrounding plane; and
S43: associating the distance with a color ratio, and generating the distance color difference map.
8. The method for automated flushness measurement of point cloud rivets according to
9. The method for automated flushness measurement of point cloud rivets according to
d=|Prjn{right arrow over (phlip0)}| wherein phli is the ith point in the point cloud Ph1 of the rivet head; and Prjna represents a projected vector of a in a direction of the normal vector {right arrow over (n)}s.
|
This application claims the benefit of priority from Chinese Patent Application No. 201911262575.X, filed on Dec. 11, 2019. The content of the aforementioned applications, including any intervening amendments thereto, is incorporated herein by reference in its entirety.
The present invention relates to the technical field of airplane rivet measurement, and particularly relates to a method for automated flushness measurement of point cloud rivets.
With the rapid development of aerospace industry, a major breakthrough has been made in the field of aircraft research-development and manufacturing. Skin serving as one of the key components of an airplane not only maintains configuration of the airplane, but also enables the airplane to have excellent aerodynamic properties. The skin is riveted on an internal structure of the airplane by virtue of rivets, and riveting quality of the rivets directly influences whether the skin can maintain a normal shape and play the due role. Therefore, the riveting quality of the skin is a very important factor of influencing integral aerodynamic performance and long fatigue of the aircraft. The riveting quality may be rapidly determined by rivet flushness.
At present, the rivet flushness is mainly qualitatively measured by a manual method. Measurement based on human eye vision cannot realize quantitative measurement and is high in missing measurement rate, low in efficiency and low in reliability. Meanwhile, due to a large number of rivets used on the skin, manual measurement is time-consuming and labor-consuming, and there are very few researches on an automatic measurement technology of rivet flushness now. With respect to the problem that the rivet flushness cannot be quantitatively measured, an effective solution has not yet been proposed at present.
With the development of a three-dimensional laser scanning technique, acquisition efficiency and accuracy of measured data are obviously increased. The three-dimensional laser scanning technique has the advantages of high real-time property and high data accuracy and can rapidly acquire lots of three-dimensional points and accurately reflect the real shape of a corresponding surface.
With respect to a quantitative evaluation problem of the rivet flushness, the present invention applies the three-dimensional laser scanning technique to rivet flushness measurement and aims to increase rivet flushness measurement accuracy and measurement efficiency.
A purpose of the present invention is to provide a method for automated flushness measurement of point cloud rivets. Point cloud of a rivet head and point cloud around a rivet can be respectively extracted, and a distance color difference map reflecting rivet flushness is generated according to the point cloud of the rivet head and the point cloud around the rivet, so that the rivet flushness is rapidly and effectively measured, and measurement accuracy is high. Moreover, rivet flushness information may be visually represented.
In order to achieve the above purpose, in combination with
S1: extracting a rivet outline by adopting an RANSAC circle fitting algorithm, and determining the center, a radius and a normal vector of an outline circle;
S2: extracting point cloud of a rivet head for a single rivet outline;
S3: extracting point cloud around the rivet for the single rivet outline; and
S4: generating a distance color difference map reflecting rivet flushness according to the point cloud of the rivet head and the point cloud around the rivet.
In a further embodiment, in the step S2, a process of extracting point cloud of a rivet head for a single rivet outline includes the following steps:
S21: adjusting a radius size to obtain a corrected radius based on the center, the radius and the normal vector of the outline circle and according to priori knowledge of a design radius in a rivet manufacturing standard;
S22: constructing an infinite length cylinder according to the center of the circle, the normal vector and the corrected radius, and extracting point cloud surrounded by the cylinder as initial point cloud of the rivet head;
S23: fitting out a three-dimensional plane of the rivet head by utilizing an RANSAC-based three-dimensional plane fitting method according to the initial point cloud of the rivet head; and
S24: constructing a new infinite length cylinder according to the center of the circle, the corrected radius and a corrected normal vector, and extracting point cloud surrounded by the new cylinder as final point cloud of the rivet head.
In a further embodiment, in the step S21, the corrected radius r′ is obtained according to a correcting function as follows:
r′=minRi∈S(|r−Ri|)
In the formula, S is a rivet manufacturing standard radius set; and r is the fitting radius.
In a further embodiment, in the step S22, the infinite length cylinder is constructed according to the center O of the circle, the normal vector {right arrow over (n)} and the corrected radius r′: and the point cloud surrounded by the cylinder is extracted as the initial point cloud Ph0 of the rivet head according to a formula as follows:
Ph0={p∈P∥{right arrow over (p)}−{right arrow over (O)}|<r′}
wherein P is original point cloud data; and {right arrow over (O)} is the center of the outline circle.
In a further embodiment, in the step S3, a process of extracting point cloud around the rivet for the single rivet outline includes the following steps:
constructing an infinite length cylinder by taking the center of the outline circle as a center and taking a length that is m times of the corrected radius as a radius; and extracting point cloud surrounded by the cylinder except the point cloud of the rivet head as point cloud around the rivet.
In a further embodiment, m is equal to 3.
In a further embodiment, in the step S4, a process of generating a distance color difference map reflecting rivet flushness according to the point cloud of the rivet head and the point cloud around the rivet includes the following steps:
S41: fitting a three-dimensional plane of the point cloud around the rivet as a surrounding plane by adopting an RANSAC-based three-dimensional plane fitting method, and determining a normal vector of the surrounding plane;
S42: calculating a distance from the point cloud of the rivet head to the surrounding plane; and
S43: associating the distance with a color ratio, and generating the distance color difference map.
In a further embodiment, in the step S41, the three-dimensional plane of the point cloud Ps around the rivet is fitted as the surrounding plane by adopting the RANSAC-based three-dimensional plane fitting method; the normal vector {right arrow over (n)}s of the plane and a French point plan equation
P1(P0,{right arrow over (n)}s):{right arrow over (n)}s
are determined, wherein p0 is a mean point of the point cloud Ps around the rivet.
In a further embodiment, in the step S42, the distance d from the point cloud of the rivet head to the surrounding plane is calculated by adopting a formula as follows:
d=|Prjn{right arrow over (phlip0)}|
wherein phli is the ith point in the point cloud Ph1 of the rivet head; and Prjna represents a projected vector of a in a direction of the normal vector {right arrow over (n)}s.
In the present invention, an accurate automatic measurement method is provided for rivet flushness measurement. The rivet flushness measurement is specifically realized by manners as follows: the rivet outline is extracted by adopting the RANSAC circle fitting algorithm, and the center, the radius and the normal vector of the outline circle are determined; then, the point cloud of the rivet head is extracted for the single rivet outline; next, the point cloud around the rivet is extracted for the single rivet outline: and finally, the distance color difference map reflecting rivet flushness is generated according to the point cloud of the rivet head and the point cloud around the rivet. According to the above method, the rivet flushness can be visually represented; rivet quality evaluation difficulty is effectively lowered; a gap of the automatic measurement technique of rivet flushness is filled; and the rivet flushness measurement efficiency and accuracy are increased.
Compared with the prior art, the above technical solutions of the present invention have significant beneficial effects as follows:
The point cloud of the rivet head and the point cloud around the rivet are respectively extracted, and the distance color difference map reflecting the rivet flushness is generated according to the point cloud of the rivet head and the point cloud around the rivet, so that the rivet flushness is rapidly and effectively measured, and the measurement accuracy is high. Moreover, the rivet flushness information may be visually represented.
It should be understood that, all combinations of the above concept and additional concepts described below in detail may be considered as a part of a subject of the present invention as long as the concepts have no contradiction. In addition, all combinations of subjects required to protect are considered as a part of the subject of the present invention.
The above and other aspects, embodiments and features taught by the present invention may be more comprehensively understood from descriptions below in combination with drawings. Other additional aspects of the present invention, such as features and/or beneficial effects of illustrative embodiments, will be apparent in descriptions below, or may be obtained in practice of specific embodiments taught by the present invention.
Drawings are not intended to be drawn according to a proportion. In the drawings, each identical or approximately identical component shown in each figure may be represented by the same label. For clarity, in each figure, not all the components are labeled. Now, various embodiments of the present invention will be described through examples and with reference to the drawings.
In order to well understand technical contents of the present invention, the present invention is described below by illustrating specific embodiments and with reference to the drawings.
In order to solve a problem that rivet flushness cannot be quantitatively measured in the prior art, the present invention provides a method for automated flushness measurement of point cloud rivets.
S1: extracting a rivet outline by adopting an RANSAC circle fitting algorithm, and determining a center, a radius and a normal vector of an outline circle;
S2: extracting point cloud of a rivet head according to a single rivet outline;
S3: extracting point cloud around the rivet according to the single rivet outline; and
S4: generating a distance color difference map reflecting rivet flushness according to the point cloud of the rivet head and the point cloud around the rivet.
Through technical solutions of the present invention, the rivet flushness can be visually represented. The rivet flushness is determined by virtue of calculation of a point cloud data set, thereby judging riveting quality of airplane skin. The measuring method in the present application is simple, convenient to realize and high in measurement accuracy.
In a possible embodiment, the step S1 includes:
extracting a rivet outline by adopting an RANSAC circle fitting algorithm having a threshold bandwidth of 0.5 mm and determining a circle enter O coordinate (146.044860839844, 63.193256378174, −61.237236022949), a radius r (4.05 mm) and a normal vector {right arrow over (n)} (0.033267, 0.613552, 0.788953) of the outline circle.
In a possible embodiment, in combination with
S21: adjusting the radius size to obtain a corrected radius r′ (4.00 mm) based on the center O, the radius r and the normal vector {right arrow over (n)} of the outline circle and according to priori knowledge of a fixed radius in a rivet manufacturing standard, wherein a correcting function is as follows:
r′=minRi∈S(|r−Ri|) (4)
wherein S is a rivet manufacturing standard radius set; and r is the fitting radius.
S22: constructing an infinite length cylinder according to the center O of the circle, the normal vector {right arrow over (n)} and the corrected radius r′, and extracting point cloud surrounded by the cylinder as initial point cloud Ph0 of the rivet head:
Ph0=({p∈P∥{right arrow over (p)}−{right arrow over (O)}|<r′} (5)
wherein P is original point cloud data; and {right arrow over (O)} is the center of the outline circle.
S23: fitting out a three-dimensional plane of the rivet head by utilizing an RANSAC-based three-dimensional plane fitting method according to the initial point cloud of the rivet head, thereby obtaining a normal vector of the plane as a corrected normal vector {right arrow over (n)}′ (0.028, 0.059, 0.810), wherein a correction angle is about 3°.
S24: constructing a new infinite length cylinder according to the center O of the circle, the corrected radius r′ and the corrected normal vector {right arrow over (n)}′, and extracting point cloud surrounded by the new cylinder as final point cloud Ph1 of the rivet head according to (5).
In a possible embodiment, the step S3 includes:
constructing an infinite length cylinder by taking the center O of the outline circle as a center and taking a length that is 3 times of the corrected radius r′ as a radius; and extracting point cloud surrounded by the cylinder except the point cloud of the rivet head as point cloud Ps around the rivet.
In a possible embodiment, referring to
S41: fitting a three-dimensional plane of the point cloud Ps around the rivet as a surrounding plane by adopting an RANSAC-based three-dimensional plane fitting method (having a threshold bandwidth of 1 mm), and determining a normal vector {right arrow over (n)} of the plane and a plane equation P1: {right arrow over (PP)}o·{right arrow over (ns)}=0, wherein p0 is a mean point of the point cloud Ps around the rivet;
S42: calculating a distance d from the point cloud of the rivet head to the surrounding plane:
d=|Prjn{right arrow over (phlip0)}| (6)
wherein phli is the ith point in the point cloud Ph1 of the rivet head.
S43: associating the distance with a color ratio, and generating the distance color difference map, wherein a distance interval is [0.00, 0.30].
In the present invention, various aspects of the present invention are described with reference to the drawings. Many described embodiments are illustrated in the drawings. The embodiments of the present invention should not be defined in all the aspects including the present invention. It should be understood that, multiple concepts and embodiments introduced above and those concepts and embodiments described below in detail may be implemented in any of manners because the concepts and the embodiments disclosed by the present invention are not limited to any embodiment. In addition, some aspects disclosed by the present invention may be used alone, or be optionally appropriately combined with other aspects disclosed by the present invention for use.
Although the present invention has been disclosed above through preferred embodiments, the embodiments are not used for limiting the present invention. Various changes and modifications may be made by those skilled in the art in the present invention without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be defined by the claims.
Wang, Jun, Zhang, Yuan, Xie, Qian, Lu, Dening
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
9905026, | Sep 14 2016 | The Boeing Company | Photogrammetric identification of locations for performing work |
20190185186, | |||
20220122317, | |||
CN101099696, | |||
CN103164842, | |||
CN105526882, | |||
CN108120394, | |||
CN205002751, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 19 2020 | Nanjing University of Aeronautics and Astronautics | (assignment on the face of the patent) | / | |||
Nov 24 2022 | WANG, JUN | Nanjing University of Aeronautics and Astronautics | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 061870 | /0414 | |
Nov 24 2022 | XIE, QIAN | Nanjing University of Aeronautics and Astronautics | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 061870 | /0414 | |
Nov 24 2022 | LU, DENING | Nanjing University of Aeronautics and Astronautics | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 061870 | /0414 | |
Nov 24 2022 | ZHANG, YUAN | Nanjing University of Aeronautics and Astronautics | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 061870 | /0414 |
Date | Maintenance Fee Events |
Sep 19 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Oct 01 2020 | SMAL: Entity status set to Small. |
Date | Maintenance Schedule |
Dec 27 2025 | 4 years fee payment window open |
Jun 27 2026 | 6 months grace period start (w surcharge) |
Dec 27 2026 | patent expiry (for year 4) |
Dec 27 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 27 2029 | 8 years fee payment window open |
Jun 27 2030 | 6 months grace period start (w surcharge) |
Dec 27 2030 | patent expiry (for year 8) |
Dec 27 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 27 2033 | 12 years fee payment window open |
Jun 27 2034 | 6 months grace period start (w surcharge) |
Dec 27 2034 | patent expiry (for year 12) |
Dec 27 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |