# US 2021/0173966 A1 · Method for constructing curve of robot processing path of part with small curvature based on point cloud boundary

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173966 A1
- Document ID: US20210173966A1
- Status: Published application
- Kind: A1
- Application number: 17/059,469
- Filed: 2020-06-13
- Published: 2021-06-10
- Earliest claimed: 2019-06-30
- Assignees: Huazhong University of Science and Technology
- Applicants: Huazhong University of Science and Technology
- Inventors: Wenlong LI; Cheng JIANG; Gang WANG; Zelong PENG; Han DING
- Web page: https://patentgrep.com/patent/US20210173966A1

## CPC

- G06T 17/30: Polynomial surface description
- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G06F 30/10: Geometric CAD
- G06F 30/17: Mechanical parametric or variational design
- G06V 10/763: {Non-hierarchical techniques, e.g. based on statistics of modelling distributions}
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- G06T 2210/56: Particle system, point based geometry or rendering
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The disclosure discloses a method for constructing actual processing curve of part with small curvature based on a point cloud boundary. The method includes: (a) encrypting a three-dimensional ordered boundary curve of a part to be processed; (b) fitting encrypted boundary points into a plane, and projecting each boundary point into the plane to obtain a projection point; (c) performing Euclidean cluster within the plane to obtain point sets, and fitting the obtained point sets into a straight line; (d) performing the Euclidean cluster on projection points that are not fitted into the straight line to obtain corner point sets, and fitting a sharp corner or a rounded corner of the corner point sets to obtain a fitted boundary curve within the plane; (e) mapping the fitted boundary curve to a curved surface of the three-dimensional ordered boundary curve to obtain an actual processing curve of the part to be processed.

## Claims

### Claim 1

A method for constructing an actual processing curve of a part with small curvature based on a point cloud boundary, characterized in that the method includes the following steps:
(a) encrypting a three-dimensional ordered boundary curve, comprising a plurality of ordered boundary points, of a part to be processed, so that distribution of boundary points on the three-dimensional ordered boundary curve is denser to obtain an encrypted three-dimensional ordered boundary curve;
(b) fitting all boundary points on the encrypted three-dimensional ordered boundary curve to form a plane, and projecting each of the boundary points into the plane, so as to obtain a projection point of each of the boundary points within the plane, and a projection vector corresponding to each of projection points;
(c) performing Euclidean cluster on the projection points within the plane, so that projection points that is fitted into a straight line are clustered to obtain a plurality of straight line point sets, and fitting each of straight line points set into a straight line to obtain a plurality of straight lines;
(d) performing the Euclidean cluster on projection points that are not fitted into the straight line to be divided into a plurality of corner point sets, and determining whether points in each of the corner point sets may be fitted into a circular arc, wherein when the points may not be fitted into the circular arc, straight lines on left and right sides of the corner point set are respectively extended and then intersected to form a sharp corner; and when the points may be fitted into the circular arc, the corner point set is fitted into the circular arc, and a radius and a center of the circular arc are obtained, a radius and a center of a circular arc are set with reference to the radius and the center obtained by fitting, points of the corner point set are constructed into the circular arc according to the set radius and the set circle, and the circular arc is tangent to the straight lines on the left and right sides of the corner point set;
completing processing of all the projection points within the plane so far, and obtaining a fitted boundary curve within the plane; and
(e) back-projecting each of the projection points on the fitted boundary curve to a curved surface where the three-dimensional ordered boundary curve is located according to a projection vector corresponding to each of the projection points, so as to obtain an actual processing boundary point corresponding to each of the projection points, and sequentially connecting actual processing boundary points to obtain an actual processing curve of the part to be processed.

### Claim 2 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (a), encryption of the three-dimensional ordered boundary curve is performed by adopting NURBS curve interpolation.

### Claim 3 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (c), the Euclidean cluster is preferably performed according to following steps:
(c1) calculating an external offset vector of each of the boundary points on the encrypted three-dimensional ordered boundary curve, wherein the external offset vector is a unit vector of a normal vector and a tangent vector perpendicular to the boundary point at a same time;
(c2) calculating an included angle between external offset vectors of adjacent boundary points, wherein when the included angle is less than a preset threshold, two adjacent projection points in the plane corresponding to the adjacent boundary points are found, the two adjacent projection points are clustered into a same straight line point set, all boundary points are traversed to obtain a plurality of preliminary straight line point sets within the plane; and
(c3) calculating a distance between adjacent projection points in each of the preliminary straight line point sets, and determining whether the distance between the two adjacent projection points is greater than a preset distance value, wherein when the distance is greater than the preset distance value, the two adjacent projection points are separated to form two independent straight line point sets, and when the distance is less than the preset distance value, the two adjacent projection points are grouped into a same straight line point set, all projection points in the preliminary straight line point set are traversed, so that the preliminary straight line point set is divided into one or more straight line point sets required finally to distinguish parallel straight lines in the same preliminary straight line point set.

### Claim 4 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (d), performance of the Euclidean cluster on the projection points that are not fitted into the straight line is performed according to a distance between two adjacent points, wherein when the distance between the two adjacent points is less than a preset acceptable threshold, the two adjacent points belong to a same corner point set, or otherwise, the two adjacent points do not belong to the same corner point set.

### Claim 5 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (d), determination of whether the points in each of the corner point sets may be fitted into the circular arc is performed by adopting a random sample consensus fitting method based on a circular arc model.

### Claim 6 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (d), setting of the radius and the center of the circular arc with reference to the radius and the center obtained by fitting is preferably performed in a following manner: for two straight lines on both sides of the corner point set, two parallel lines are respectively made above and below each of the straight lines, a distance between each of the parallel lines and the straight line is the set radius to obtain two parallel lines of each of the two straight lines, that is, four parallel lines, the four parallel lines intersect to obtain four intersection points, a plurality of distances between the four intersection points and the fitted center are calculated, and one of the intersection points with a shortest distance is set as the set center.

### Claim 7 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (d), the straight lines on the left and right sides of the corner point set are obtained through a following manner: points on the three-dimensional ordered boundary curve are ordered boundary points, each of the ordered boundary points is projected to the plane and then forms an ordered projection point, and the straight lines on the left and right sides of the corner point set is obtained according to an order of projection points in the corner point set.

### Claim 8 (depends on 1)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 1, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 9 (depends on 2)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 2, characterized in that in step (c), the Euclidean cluster is preferably performed according to following steps:
(c1) calculating an external offset vector of each of the boundary points on the encrypted three-dimensional ordered boundary curve, wherein the external offset vector is a unit vector of a normal vector and a tangent vector perpendicular to the boundary point at a same time;
(c2) calculating an included angle between external offset vectors of adjacent boundary points, wherein when the included angle is less than a preset threshold, two adjacent projection points in the plane corresponding to the adjacent boundary points are found, the two adjacent projection points are clustered into a same straight line point set, all boundary points are traversed to obtain a plurality of preliminary straight line point sets within the plane; and
(c3) calculating a distance between adjacent projection points in each of the preliminary straight line point sets, and determining whether the distance between the two adjacent projection points is greater than a preset distance value, wherein when the distance is greater than the preset distance value, the two adjacent projection points are separated to form two independent straight line point sets, and when the distance is less than the preset distance value, the two adjacent projection points are grouped into a same straight line point set, all projection points in the preliminary straight line point set are traversed, so that the preliminary straight line point set is divided into one or more straight line point sets required finally to distinguish parallel straight lines in the same preliminary straight line point set.

### Claim 10 (depends on 2)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 2, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 11 (depends on 3)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 3, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 12 (depends on 4)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 4, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 13 (depends on 5)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 5, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 14 (depends on 6)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 6, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 15 (depends on 7)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 7, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.

### Claim 16 (depends on 9)

The method for constructing the actual processing curve of the part with small curvature based on the point cloud boundary according to claim 9, characterized in that in step (a), the three-dimensional ordered boundary curve is obtained through collecting point cloud data of a part to be processed.
