# US 2020/0109942 A1 · Arc processing device and method using the same

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

- Number: US 2020/0109942 A1
- Document ID: US20200109942A1
- Status: Published application
- Kind: A1
- Application number: 16/213,039
- Filed: 2018-12-07
- Published: 2020-04-09
- Earliest claimed: 2018-10-09
- Assignees: Industrial Technology Research Institute
- Applicants: Industrial Technology Research Institute
- Inventors: Chung-Min CHANG; Shih-Chang LIANG; Yu-Sheng TSENG; Meng-Chiu LIN; Shih-Che HSU
- Web page: https://patentgrep.com/patent/US20200109942A1

## CPC

- G01B 21/22: for measuring angles or tapers; for testing the alignment of axes
- G05B 19/4086: {Coordinate conversions; Other special calculations}
- G05B 19/402: characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position (G05B19/19 takes precedence)
- G05B 2219/35205: Planning of toolstages, comprising selection tools, position and motion
- G05B 2219/36342: Tool path processing, sequence to cut paths
- G05B 2219/50256: Orienting selected tool with respect to workpiece
- G05B 2219/50353: Tool, probe inclination, orientation to surface, posture, attitude
- G06F 2218/08: Feature extraction
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An arc processing method is provided. Firstly, a machining program code is provided, wherein the machining program code includes a control code for machining an arc having a start point and an end point. Then, the machining program code is analyzed to obtain a first start point vector and a first end point vector, both defined by a first coordinate system, of a tool. Then, the first start point vector is converted to a second start point vector defined by a second coordinate system. Then, the first end point vector is converted to a second end point vector defined by the second coordinate system. Then, a plurality of first interpolation vectors of interpolation points, defined by the second coordinate system and interposed between the second start point vector and the second end point vector, are obtained. Then, all the first interpolation vectors are converted into corresponding second interpolation vectors.

## Claims

### Claim 1

An arc processing method configured to obtain an interpolation vector according to a machining program code comprising a control code for machining an arc using a tool having a start point and an end point, wherein the arc processing method comprises:
analyzing the machining program code to obtain a first start point vector of a start point tool gesture at a start point of the tool and a first end point vector of an end point tool gesture at an end point of the tool, wherein the first start point vector and the first end point vector are defined by a first coordinate system;
converting the first start point vector to a second start point vector defined by a second coordinate system, wherein the second coordinate system has a first coordinate axis and a second coordinate axis, and the arc is located on a plane formed by the first coordinate axis and the second coordinate axis;
converting the first end point vector to a second end point vector defined by the second coordinate system;
obtaining a plurality of first interpolation vectors of interpolation points between the second start point vector and the second end point vector, wherein the first interpolation vectors are defined by the second coordinate system; and
converting the first interpolation vectors to a plurality of second interpolation vectors defined by the first coordinate system.

### Claim 2 (depends on 1)

The arc processing method according to claim 1, wherein the step of analyzing the machining program code further comprises:
obtaining a tilt angle and a rotation angle of the tool from the machining program code; and
obtaining the first start point vector of the tool gesture according to the tilt angle and the rotation angle.

### Claim 3 (depends on 1)

The arc processing method according to claim 1, wherein the step of analyzing the machining program code further comprises:
obtaining a tilt angle and a rotation angle of the tool from the machining program code; and
obtaining the first end point vector of the tool gesture by the forward kinematic theory according to the tilt angle and the rotation angle.

### Claim 4 (depends on 1)

The arc processing method according to claim 1, further comprising:
analyzing the machining program code to obtain a circle center coordinate of a circle center of the arc and a start point coordinate of the start point;
the step of converting the first start point vector to a second start point vector further comprises:
obtaining a start point coordinate transformation matrix according to the circle center coordinate and the start point coordinate; and
calculating a dot product of the first start point vector and the start point coordinate transformation matrix to obtain the second start point vector.

### Claim 5 (depends on 1)

The arc processing method according to claim 1, further comprising:
analyzing the machining program code to obtain a circle center coordinate of the arc and an end point coordinate of the end point;
the step of converting the first end point vector to a second end point vector further comprises:
obtaining an end point coordinate transformation matrix according to the circle center coordinate and the end point coordinate; and
calculating a dot product of the first end point vector and the end point coordinate transformation matrix to obtain the second end point vector.

### Claim 6 (depends on 1)

The arc processing method according to claim 1, further comprising:
analyzing the machining program code to obtain a total central angle, formed by the start point and the end point with respect to a circle center of the arc, and a tool gesture total angle;
the step of obtaining the first interpolation vectors of interpolation points between the second start point vector and the second end point vector further comprises:
setting a plurality of interpolation point central angles formed by the start point of the arc and the interpolation points with respect to the circle center;
obtaining a corresponding tool gesture interpolation point angle of each interpolation point central angle according to the total central angle, the tool gesture total angle and the interpolation point central angles; and
obtaining the corresponding first interpolation vector of each tool gesture interpolation point angle by the plane circular interpolation method according to the second start point vector, the second end point vector, the tool gesture total angle and the tool gesture interpolation point angle.

### Claim 7 (depends on 6)

The arc processing method according to claim 6, wherein in the step of obtaining the tool gesture interpolation point angle, the ratio of each tool gesture interpolation point angle to the tool gesture total angle is equivalent to the ratio of the corresponding interpolation point central angle to the total central angle.

### Claim 8 (depends on 1)

The arc processing method according to claim 1, wherein the first coordinate system is a Cartesian coordinate system, the second coordinate system is a circumferential coordinate system, the first coordinate axis is a radial coordinate axis of the circumferential coordinate system, and the second coordinate axis is a tangent direction coordinate axis of the circumferential coordinate system.

### Claim 9

An arc processing device, comprising:
a machining code analyzer configured to:
analyze the machining program code to obtain a first start point vector of a start point tool gesture at a start point of the tool and a first end point vector of an end point tool gesture at an end point of the tool, wherein the first start point vector and the first end point vector are defined by a first coordinate system;
a coordinate converter configured to:
convert the first start point vector to a second start point vector defined by a second coordinate system, wherein the second coordinate system has a first coordinate axis and a second coordinate axis, and the arc is located on a plane formed by the first coordinate axis and the second coordinate axis; and
convert the first end point vector to a second end point vector defined by the second coordinate system; and
an interpolation vector obtainer configured to:
obtain a plurality of first interpolation vectors of interpolation points between the second start point vector and the second end point vector, wherein the first interpolation vectors are defined by the second coordinate system;
wherein, the coordinate converter is further configured to convert the first interpolation vectors into a plurality of second interpolation vectors defined by the first coordinate system.

### Claim 10 (depends on 9)

The arc processing device according to claim 9, wherein the machining code analyzer is further configured to:
obtain a tilt angle and a rotation angle of the tool from the machining program code; and
obtain the first start point vector of the tool gesture by the forward kinematic theory according to the tilt angle and the rotation angle.

### Claim 11 (depends on 9)

The arc processing device according to claim 9, wherein the machining code analyzer is further configured to:
obtain a tilt angle and a rotation angle of the tool from the machining program code; and
obtain the first end point vector of the tool gesture by the forward kinematic theory according to the tilt angle and the rotation angle.

### Claim 12 (depends on 9)

The arc processing device according to claim 9, wherein the machining code analyzer is further configured to analyze the machining program code to obtain a circle center coordinate of a circle center of the arc and a start point coordinate of the start point; in the step of converting the first start point vector to a second start point vector, the coordinate converter is further configured to:
obtain a start point coordinate transformation matrix according to the circle center coordinate and the start point coordinate; and
calculate a dot product of the first start point vector and the start point coordinate transformation matrix to obtain the second start point vector.

### Claim 13 (depends on 9)

The arc processing device according to claim 9, wherein the machining code analyzer is further configured to analyze the machining program code to obtain a circle center coordinate of the arc and an end point coordinate of the end point; in the step of converting the first end point vector to a second end point vector, the coordinate converter is further configured to:
obtain an end point coordinate transformation matrix according to the circle center coordinate and the end point coordinate; and
calculate a dot product of the first end point vector and the end point coordinate transformation matrix to obtain the second end point vector.

### Claim 14 (depends on 9)

The arc processing device according to claim 9, wherein the machining code analyzer is further configured to analyze the machining program code to obtain a total central angle, formed by the start point and the end point with respect to a circle center of the arc, and a tool gesture total angle; in the step of obtain the first interpolation vectors of interpolation points between the second start point vector and the second end point vector, the interpolation vector obtainer is further configured to:
set a plurality of interpolation point central angles formed by the start point of the arc and the interpolation points with respect to the circle center;
obtain a corresponding tool gesture interpolation point angle of each interpolation point central angle according to the total central angle, the tool gesture total angle and the interpolation point central angles; and
obtain the corresponding first interpolation vector of each tool gesture interpolation point angle by the plane circular interpolation method according to the second start point vector, the second end point vector, the tool gesture total angle and the tool gesture interpolation point angle.

### Claim 15 (depends on 14)

The arc processing device according to claim 14, wherein in the step of obtain the tool gesture interpolation point angle, the ratio of each tool gesture interpolation point angle to the tool gesture total angle is equivalent to the ratio of corresponding interpolation point central angles and the total central angle.

### Claim 16 (depends on 9)

The arc processing device according to claim 9, wherein the first coordinate system is a Cartesian coordinate system, the second coordinate system is a circumferential coordinate system, the first coordinate axis is a radial coordinate axis of the circumferential coordinate system, and the second coordinate axis is a tangent direction coordinate axis of the circumferential coordinate system.
