# US 2024/0210915 A1 · Five-axis linkage synchronous tool path interpolation method and system

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

- Number: US 2024/0210915 A1
- Document ID: US20240210915A1
- Status: Published application
- Kind: A1
- Application number: 18/583,904
- Filed: 2024-02-22
- Published: 2024-06-27
- Earliest claimed: 2022-12-14
- Assignees: Guangdong University of Technology
- Applicants: Guangdong University of Technology
- Inventors: Jian GAO; Guixin ZHANG; Yuheng LUO; Lanyu ZHANG; Haixiang DENG; Yun CHEN; Xin CHEN
- Web page: https://patentgrep.com/patent/US20240210915A1

## CPC

- G05B 19/4103: Digital interpolation
- G05B 2219/34169: Coarse interpolator, path calculator delivers position, speed, acceleration blocks
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A five-axis linkage synchronous tool path interpolation method and system, which utilizes the strict proportional coefficient relationship between points, control points and parameters on the first-order derivative curve of the spline curve, more accurate tool axis path curve interpolation points from the parameters of the tool tip path curve are calculated. There is no need to calculate the tool axis path curve interpolation points according to interval synchronization. It is not affected by the shape consistency of the tool tip path curve and the tool axis path curve.

## Claims

### Claim 1

A five-axis linkage synchronous tool path interpolation method, characterized in that it includes:
according to the tool path information, the tool tip path curve and the tool axis path curve are respectively fitted based on the quadratic NURBS curve, and the node vectors of the tool tip path curve and the tool axis path curve are obtained respectively;
according to the relationship between the constraints of the CNC machine tool and the feed speed, the feed speed curve is planned; the constraints of the CNC machine tool include sampling point speed constraints, centripetal acceleration constraints, centripetal jerk constraints, chord error constraints and contour error constraints;
according to the feed speed curve, the tool tip path curve is interpolated from the i=0th interpolation point, and the i+1th interpolation point of the tool tip path curve is calculated according to the second-order Taylor expansion formula;
the tool tip node vector interval is determined where the i+1th interpolation point of the tool tip path curve falls;
the first-order derivative vector of the i+1th interpolation point of the tool tip path curve and the first-order derivative vector of the interpolation point corresponding to the left and right endpoints of the tool tip node vector interval are calculated;
the three first-order derivative vectors are projected onto the XOY plane and the starting point is moved to the same point; the first angle between the first-order derivative vector at the i+1th interpolated point of the tip path curve and the first order derivative vector at the left end of the vector interval of the tool tip node, and the second angle between the first-order derivative vector at the left end of the vector interval of the tool tip node and the first-order derivative vector at the right end of the vector interval of the tool tip node are calculated respectively in the XOY plane; the first angle is divided by the second angle to get the angle progress;
the first angle between the first-order derivative vector at the i+1th interpolated point of the tip path curve and the first order derivative vector at the left end of the vector interval of the tool tip node, and the second angle between the first-order derivative vector at the left end of the vector interval of the tool tip node and the first-order derivative vector at the right end of the vector interval of the tool tip node are calculated respectively in the XOY plane;
the tool axis node vector interval corresponding to the tool tip node vector interval on the tool axis path curve and the first-order derivative vector of the interpolation points corresponding to the left and right endpoints of the tool tip node vector interval are calculated,
the first-order derivative vector of the i+1th interpolation point of the tool axis path curve is determined according to the angular progress;
the intersection point of the first-order derivative vector of the i+1th interpolation point of the tool axis path curve and the first-order derivative curve of the tool axis path curve is calculated; the proportional coefficient is calculated according to the preset formula, which is:
η
2
=
❘
"\[LeftBracketingBar]"
QC
′
(
V
k
)
❘
"\[RightBracketingBar]"
❘
"\[LeftBracketingBar]"
C
′
(
V
k
)
⁢
C
′
(
V
k
+
1
)
❘
"\[RightBracketingBar]"
among them, η2 is the proportional coefficient, Vx is the left end point of the tool tip node vector interval, Vk+1 is the right end point of the tool tip node vector interval, Q is the intersection point of the first-order derivative vector of the i+1th interpolation point of the tool axis path curve and the first-order derivative curve of the tool axis path curve, C′(Vk) is the first-order derivative vector of the interpolation point corresponding to the left end point of the vector interval of the tool tip node, and C′(Vk+1) is the first-order derivative vector of the interpolation point corresponding to the right end point of the vector interval of the tool tip node;
the i+1th interpolation point of the tool axis path curve linked to the i+1th interpolation point of the tool tip path curve is calculated based on the proportional coefficient, and the tool axis path curve is interpolated;
the calculation formula for calculating the i+1th interpolation point of the tool axis path curve linked to the i+1th interpolation point of the tool tip path curve based on the proportional coefficient is:
v
i
+
1
=
V
k
+
η
2
(
V
k
+
1
-
V
k
)
among them, vi+1 is the i+1th interpolation point of the tool axis path curve.

### Claim 2 (depends on 1)

The five-axis linkage synchronous tool path interpolation method according to claim 1, characterized in that the formula for calculating the first-order derivative vector of the i+1th interpolation point of the tool tip path curve and the first-order derivative vector of the interpolation point corresponding to the left and right endpoints of the vector interval of the tool tip node is:
C
′
(
u
)
=
Σ
j
=
0
n
⁢
N
j
,
p
′
(
u
)
⁢
w
j
⁢
P
j
-
C
⁡
(
u
)
·
Σ
i
=
0
n
⁢
N
j
,
p
′
(
u
)
⁢
w
j
Σ
j
=
0
n
⁢
N
j
,
p
(
u
)
⁢
w
j
among them, C (u) is the first-order derivative curve of the tool tip path curve C(u), Nj,p(u) is the B-spline basis function of degree p defined by the node vector of the tool tip path curve, Nip(u) is the first-order derivative of Nj,p(u), Pj is the jth control point, wj and is the jth weight coefficient, n is the number of control points.

### Claim 3 (depends on 1)

The five-axis linkage synchronous tool path interpolation method according to claim 1, characterized in that the sampling point speed constraint is:
f
p
,
max
=
min
⁢
{
f
t
,
max
,
K
1
-
(
v
⋀
,
max
)
,
K
1
-
(
K
2
-
(
v
⋁
,
max
)
)
}
among them, fp,max is the maximum sampling speed, ft,max is the maximum feed speed determined by the performance of the CNC machine tool, V∧,max is the maximum speed of the axis, Vv,max is the maximum speed of the motor, K1− is the inverse kinematic transformation from the tool tip to the axis, K2− and is the inverse kinematic transformation from the axis to the motor;
the centripetal acceleration constraint is:
f
n
,
a
=
ρ
⁢
a
n
,
max
among them, fn,a is the centripetal acceleration, an,max is the maximum centripetal acceleration, p is the curvature of the path curve;
the centripetal jerk constraint is:
f
n
,
j
=
ρ
2
⁢
j
n
,
max
among them, fn,j is the centripetal jerk and jn,max is the maximum centripetal jerk;
the chord error constraint is:
f
chrd
=
2
T
s
⁢
ρ
2
-
(
ρ
-
δ
max
)
2
among them fchra is the maximum speed constrained by the chord error, Ts is the interpolation period, and δmax is the maximum chord error;
the contour error constraint is:
f
cntr
=
ρω
n
⁢
1
-
2
⁢
ξ
2
+
(
2
⁢
ξ
2
-
1
)
2
-
ε
max
2
-
2
⁢
ε
max
⁢
ρ
(
ρ
-
ε
max
)
2
among them, fcntr is the maximum speed constrained by the contour error, εmax is the maximum contour error, ωn is the natural frequency of the CNC machine tool system, and ξ is the damping of the CNC machine tool system.

### Claim 4 (depends on 3)

The five-axis linkage synchronous tool path interpolation method according to claim 3, characterized in that according to the relationship between the constraints of the CNC machine tool and the feed speed, the feed speed curve is planned, which includes:
according to the relationship between the constraints and feed speed of the CNC machine tool, the maximum feed speed that satisfies the constraints at each sampling point is calculated, where the maximum feed speed that satisfies the constraints at each sampling point is:
f
⁡
(
u
i
)
=
min
⁢
{
f
p
,
max
i
,
f
n
,
a
i
,
f
n
,
j
i
,
f
c
⁢
hrd
i
,
f
cntr
i
}
among them, f(ui) is the maximum feed speed that satisfies the constraint condition at the ith sampling point, fip,max is the maximum sampling speed that satisfies the sampling point speed constraint at the ith sampling point, fin,a is the centripetal acceleration that satisfies the centripetal acceleration constraint at the ith sampling point, fin,j is the centripetal jerk that satisfies the centripetal jerk constraint at the ith sampling point, fichrd is the maximum speed at the ith sampling point that satisfies the chord error constraint, and ficntr is the maximum speed at the ith sampling point that satisfies the contour error constraint;
according to the maximum feed speed that satisfies the constraint conditions at all sampling points, polynomial fitting is used to obtain the feed speed curve that satisfies the constraint conditions along the entire curve path.

### Claim 5

A five-axis linkage synchronous tool path interpolation system, characterized in that it includes:
a curve fitting module is used to fit the tool tip path curve and the tool axis path curve based on the quadratic NURBS curve according to the tool path information respectively, and the node vectors of the tool tip path curve and the tool axis path curve are obtained respectively;
a speed planning module is used to plan the feed speed curve based on the relationship between the constraints of the CNC machine tool and the feed speed; the constraints of the CNC machine tool include sampling point speed constraints, centripetal acceleration constraints, centripetal jerk constraints, chord error constraints and contour error constraints;
a tool tip curve interpolation point calculation module is used to interpolate the tool tip path curve from the i=0th interpolation point based on the feed speed curve, and calculate the i+1th interpolation point of the tool tip path curve based on the second-order Taylor expansion formula;
a tool tip node vector interval judgment module is used to judge the tool tip node vector interval where the i+1th interpolation point of the tool tip path curve falls;
a first-order derivative vector calculation module of the tool tip interpolation point is used to calculate the first-order derivative vector of the i+1th interpolation point of the tool tip path curve and the first-order derivative vector of the interpolation point corresponding to the left and right endpoints of the vector interval of the tool tip node;
an angular progress calculation module is used to project three first-order derivative vectors onto the XOY plane, and move the starting point to the same point. The three first-order derivative vectors are projected onto the XOY plane and the starting point is moved to the same point; the first angle between the first-order derivative vector at the i+1th interpolated point of the tip path curve and the first order derivative vector at the left end of the vector interval of the tool tip node, and the second angle between the first-order derivative vector at the left end of the vector interval of the tool tip node and the first-order derivative vector at the right end of the vector interval of the tool tip node are calculated respectively in the XOY plane; the first angle is divided by the second angle to get the angle progress;
a first-order derivative vector calculation module of the first tool axis interpolation point is used to calculate the vector interval of the tool axis node corresponding to the vector interval of the tool tip node on the tool axis path curve and the first-order derivatives vector of the interpolation points corresponding to the left and right endpoints of the vector interval of the tool tip node;
a first-order derivative vector calculation module of the second tool axis interpolation point is used to determine the first-order derivative vector of the i+1th interpolation point of the tool axis path curve based on the angular progress;
a proportional coefficient calculation module is used to calculate the intersection point of the first-order derivative vector of the i+1th interpolation point of the tool axis path curve and the first-order derivative curve of the tool axis path curve; the proportional coefficient is calculated according to the preset formula, which is:
η
2
=
❘
"\[LeftBracketingBar]"
QC
′
(
V
k
)
❘
"\[RightBracketingBar]"
❘
"\[LeftBracketingBar]"
C
′
(
V
k
)
⁢
C
′
(
V
k
+
1
)
❘
"\[RightBracketingBar]"
among them, η2 is the proportional coefficient, Vk is the left end point of the tool tip node vector interval, Vk+1 is the right end point of the tool tip node vector interval, Q is the intersection point of the first-order derivative vector of the i+1th interpolation point of the tool axis path curve and the first-order derivative curve of the tool axis path curve, C′(Vk) is the first-order derivative vector of the interpolation point corresponding to the left end point of the vector interval of the tool tip node, and C (Vk+1) is the first-order derivative vector of the interpolation point corresponding to the right end point of the vector interval of the tool tip node;
a tool axis curve interpolation point calculation module is used to calculate the i+1th interpolation point of the tool axis path curve linked to the i+1th interpolation point of the tool tip path curve based on the proportional coefficient, and the tool axis path curve is interpolated; the calculation formula for calculating the i+1th interpolation point of the tool axis path curve linked to the i+1th interpolation point of the tool tip path curve based on the proportional coefficient is:
v
i
+
1
=
V
k
+
η
2
(
V
k
+
1
-
V
k
)
among them, vi+1 is the i+1th interpolation point of the tool axis path curve.

### Claim 6 (depends on 5)

The five-axis linkage synchronous tool path interpolation system according to claim 5, characterized in that the formula for calculating the derivative the first-order vector of i+1th interpolation point of the tool tip path curve and the first-order derivative vector of the interpolation point corresponding to the left and right endpoints of the vector interval of the tool tip node is:
C
′
(
u
)
=
Σ
j
=
0
n
⁢
N
j
,
p
′
(
u
)
⁢
w
j
⁢
P
j
-
C
⁡
(
u
)
·
Σ
i
=
0
n
⁢
N
j
,
p
′
(
u
)
⁢
w
j
Σ
j
=
0
n
⁢
N
j
,
p
(
u
)
⁢
w
j
among them, C′(u) is the first-order derivative curve of the tool tip path curve C(u), Nj,p(u) is the B-spline basis function of degree p defined by the node vector of the tool tip path curve, Nj,p(u) is the first-order derivative of Nj,p(u), Pj is the jth control point, wj and is the jth weight coefficient, n is the number of control points.

### Claim 7 (depends on 5)

The five-axis linkage synchronous tool path interpolation system according to claim 5, characterized in that the constraints of the CNC machine tool include sampling point speed constraints, centripetal acceleration constraints, centripetal jerk constraints, chord error constraints and contour error constraints;
the sampling point speed constraint is:
f
p
,
max
=
min
⁢
{
f
t
,
max
,
K
1
-
(
v
⋀
,
max
)
,
K
1
-
(
K
2
-
(
v
⋁
,
max
)
)
}
among them, fp,max is the maximum sampling speed, ft,max is the maximum feed speed determined by the performance of the CNC machine tool, V∧,max is the maximum speed of the axis, Vv,max is the maximum speed of the motor, K1− is the inverse kinematic transformation from the tool tip to the axis, K2− and is the inverse kinematic transformation from the axis to the motor;
the centripetal acceleration constraint is:
f
n
,
a
=
ρ
⁢
a
n
,
max
among them, fn,a is the centripetal acceleration, an,max is the maximum centripetal acceleration, p and is the curvature of the path curve;
the centripetal jerk constraint is:
f
n
,
j
=
ρ
2
⁢
j
n
,
max
among them, fn,j is the centripetal jerk and jn,max is the maximum centripetal jerk;
the chord error constraint is:
f
chrd
=
2
T
s
⁢
ρ
2
-
(
ρ
-
δ
max
)
2
among them fchra is the maximum speed constrained by the chord error, Ts is the interpolation period, and δmax is the maximum chord error;
the contour error constraint is:
f
cntr
=
ρω
n
⁢
1
-
2
⁢
ξ
2
+
(
2
⁢
ξ
2
-
1
)
2
-
ε
max
2
-
2
⁢
ε
max
⁢
ρ
(
ρ
-
ε
max
)
2
among them, fcntr is the maximum speed constrained by the contour error, εmax is the maximum contour error, ωn is the natural frequency of the CNC machine tool system, and ξ is the damping of the CNC machine tool system.

### Claim 8 (depends on 7)

The five-axis linkage synchronous tool path interpolation system according to claim 7, characterized in that the speed planning module is specifically used for:
according to the relationship between the constraints and feed speed of the CNC machine tool, the maximum feed speed that satisfies the constraints at each sampling point is calculated, where the maximum feed speed that satisfies the constraints at each sampling point is:
f
⁡
(
u
i
)
=
min
⁢
{
f
p
,
max
i
,
f
n
,
a
i
,
f
n
,
j
i
,
f
c
⁢
hrd
i
,
f
cntr
i
}
among them, f(ui) is the maximum feed speed that satisfies the constraint condition at the ith sampling point, fip,max is the maximum sampling speed that satisfies the sampling point speed constraint at the ith sampling point, fin,a and is the centripetal acceleration constraint that satisfies the centripetal acceleration constraint at the ith sampling point, fin,j is the centripetal acceleration at the ith sampling point that satisfies the centripetal acceleration constraint, fichrd is the maximum speed at the ith sampling point that satisfies the chord error constraint, and ficntr is the maximum speed at the ith sampling point that satisfies the contour error constraint;
according to the maximum feed speed that satisfies the constraint conditions at all sampling points, polynomial fitting is used to obtain the feed speed curve that satisfies the constraint conditions along the entire curve path.
