Calculation device, machine tool, control device for machine tool and calculation program

The computing device uses machining target data and basis vectors to determine accurate tool positions for stable cutting, addressing inaccuracies in existing burr removal methods and ensuring precise machining.

DE112022006699T5Pending Publication Date: 2024-12-19FANUC LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
DE112022006699
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-12-19

AI Technical Summary

Technical Problem

Existing methods for calculating tool paths to remove burrs or chamfer workpieces are inaccurate, leading to unstable cutting processes that may result in insufficient or excessive machining.

Method used

A computing device calculates the first position of a tool to cut an edge or burr line using machining target data, including the workpiece's dimensions and eccentric distances, to determine accurate tool positions based on basis vectors and ellipses, ensuring stable cutting.

Benefits of technology

Accurately calculates tool positions for stable cutting, preventing insufficient or excessive machining and ensuring precise removal of burrs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0001_ABST
    Figure 00000000_0001_ABST
  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A calculation device (110) calculates the position (C) of a tool (C1) that cuts a burr length (RL) formed by a circumferential wall surface (SW) and a cylindrical circumferential surface (SS), creating a through-hole (HE) in the form of a column (CS) that penetrates a workpiece (CP). The calculation device (110) calculates the position based on: a first basis vector (e1) and a second basis vector (e2) on a plane (VP) perpendicular to a tangent (TL) to the burr line; workpiece data; an ellipse (E2) formed by the plane and the column; a predetermined machining width (W); and a radius (D) of the tool.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to a calculation device (calculating device), a cutting machine tool, a control device for a cutting machine tool and a calculation program (calculating program).

[0002] WO 2016 / 133162 A1 discloses a tool path calculation program. Such a path calculation program makes it possible to calculate a path for a tool for removing burrs (deburring) from a workpiece (an object to be machined). SUMMARY OF THE INVENTION

[0003] WO 2016 / 133162 A1 discloses two methods for calculating a machining depth with respect to burr removal or chamfering of the workpiece. According to the method disclosed as the "first method," a chamfer width becomes smaller. Therefore, the "first method" is not accurate. The method referred to as the "second method" uses a Newton method to determine a solution. Therefore, the "second method" is also not accurate.

[0004] The problem with these methods is that they are unable to calculate an accurate tool position that would enable a stable cutting (machining) process. Cutting with a tool that has been moved to a calculated position carries the risk of either insufficiently or excessively cutting (machining) the workpiece.

[0005] The present invention is based on the object of solving the above-mentioned problem.

[0006] A first aspect of the present invention is characterized by a calculation device configured to calculate a first position of a tool configured to cut an edge or burr line with a predetermined machining width, wherein the edge line is formed by a cylindrical peripheral surface of a workpiece and a peripheral wall surface defining a through-hole passing through the workpiece, wherein the workpiece has an outer peripheral surface and an inner peripheral surface, at least one of the outer peripheral surface or the inner peripheral surface is formed as the cylindrical peripheral surface, and the through-hole in the shape of a circular cylinder or a columnar body penetrates through the workpiece from the outer peripheral surface to the inner peripheral surface, wherein the columnar body includes a plurality of circular cylinders,which are parallel to each other and which are respectively arranged in corners of the columnar body, wherein the calculation device comprises an acquisition unit configured to acquire machining target data and a third radius of the tool, wherein the machining target data includes a second position of the workpiece, a third position of the through hole, a first radius of the cylindrical peripheral surface of the workpiece, a second radius of the circular cylinder, a first direction in which a first central axial line of the workpiece extends, and an eccentric distance of a second central axial line of the circular cylinder from the first central axial line, wherein the second central axial line extends in a second direction perpendicular to the first direction; a first calculation unit configured tothat it calculates a first basis vector and a second basis vector based on the machining target data, wherein the first basis vector is a vector on a plane and perpendicular to the second central axial line and has as a starting point a machining target point lying on the edge line, and the second basis vector is a vector on the plane and perpendicular to the first basis vector and has the machining target point as a starting point, and wherein the plane is perpendicular to a tangent to the edge line at the machining target point, the plane includes the machining target point, and the plane is determined based on a fourth position of the machining target point and the machining target data; and a second computing unit configured to calculate the first position of the tool intersecting the edge line including the machining target point based on the machining target data, an ellipse,which is formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector and the second base vector.,

[0007] A second aspect of the present invention is characterized by a machine tool comprising the calculation device according to the first aspect, the tool, and a machining control unit configured to cause the tool to move to the first position and cause the tool to cut the edge line.

[0008] A third aspect of the present invention is characterized by a control device for a machine tool comprising the calculation device according to the first aspect and a machining control unit configured to cause the tool to move to the first position and cause the tool to cut the edge line.

[0009] A fourth aspect of the present invention is characterized by a calculation program configured to cause a processing circuit included in a calculation device to perform a detection step, a first calculation step, and a second calculation step, wherein: the calculation device is configured to calculate a first position of a tool configured to cut an edge line with a predetermined machining width, the edge line being formed by a cylindrical peripheral surface of a workpiece and a peripheral wall surface defining a through hole passing through the workpiece; the workpiece has an outer peripheral surface and an inner peripheral surface,wherein at least one of the outer peripheral surface or the inner peripheral surface is formed as the cylindrical peripheral surface; and the through-hole in the form of a circular cylinder or a columnar body penetrates through the workpiece from one to the other of the outer peripheral surface and the inner peripheral surface, wherein the columnar body includes a plurality of circular cylinders that are parallel to each other and are respectively arranged in corners of the columnar body, and wherein: the detecting step comprises detecting machining target data and a third radius of the tool, the machining target data including a second position of the workpiece, a third position of the through-hole, a first radius of the cylindrical peripheral surface of the workpiece, a second radius of the circular cylinder, a first direction in which a first central axial line of the workpiece extends,and an eccentric distance of a second central axial line of the circular cylinder from the first central axial line, wherein the second central axial line extends in a second direction perpendicular to the first direction; the first calculation step includes calculating a first basis vector and a second basis vector based on the machining target data, wherein the first basis vector is a vector on a plane and perpendicular to the second central axial line and has, as a starting point, a machining target point located on the edge line, and the second basis vector is a vector on the plane and perpendicular to the first basis vector and has the machining target point as a starting point, and wherein the plane is perpendicular to a tangent to the edge line at the machining target point,the plane includes the machining target point, and the plane is determined based on a fourth position of the machining target point and the machining target data; and the second calculation step comprises calculating the first position of the tool intersecting the edge line including the machining target point based on the machining target data, an ellipse formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector.

[0010] According to the present invention, it is possible to accurately calculate the position of a tool that realizes a stable cutting process for the purpose of removing burrs. BRIEF DESCRIPTION OF THE DRAWINGS [ Fig. 1] Fig. 1 is a diagram showing an example of a machine tool; [ Fig. 2] Fig. 2A is a diagram showing an example of a configuration of a control device for a machine tool, and Fig. 2B is a diagram for describing G-code-based processing; [ Fig. 3] Fig. 3A and Fig. 3B are diagrams for describing a thick-walled cylinder and a through hole formed in the thick-walled cylinder; [ Fig. 4] Fig. 4A is a diagram showing a burr generated on an inner peripheral surface of the thick-walled cylinder and a tool for removing such a burr, and Fig. 4B is a diagram showing a burr generated on an outer peripheral surface of the thick-walled cylinder and a tool for removing such a burr; [ Fig. 5] Fig. 5A is a diagram showing a positional relationship in a case where an eccentric distance is zero between a first central axial line of the thick-walled cylinder and a second central axial line of a circular cylinder forming the through-hole, and Fig. 5B is a diagram showing a positional relationship, in a case where the eccentric distance is not zero, between the first central axial line of the thick-walled cylinder and the second central axial line of a circular cylinder forming the through hole; [ Fig. 6] Fig. 6 is a diagram showing data acquired by an acquisition unit of a computing device; [ Fig. 7] Fig. Fig. 7A is a diagram for describing a relationship between a cutting amount and a predetermined machining width, and Fig. 7B and Fig. 7C are diagrams describing a tolerance amount; [ Fig. 8] Fig. 8 is a diagram for describing a through hole in the shape of a circular cylinder passing through the thick-walled cylinder and a tangent to an edge line of the through hole; [ Fig. 9] Fig. 9 is a diagram for describing a vertical plane perpendicular to the tangent to the edge line of the through-hole, and a first ellipse and a second ellipse formed on the vertical plane; [ Fig. 10] Fig. 10A is a diagram showing an angle formed by a perpendicular line from a machining target point on the edge line of the through hole to the first central axial line of the thick-walled cylinder with respect to the X-axis, and Fig. 10B is a diagram showing an angle formed with respect to the X-axis by a perpendicular line from the machining target point on the edge line of the through hole to a second central axial line of the circular cylinder forming the shape of the through hole, and a first basis vector; [ Fig. 11] Fig. 11 is a diagram showing a first position of a tool for removing the burr generated on the inner peripheral surface of the thick-walled cylinder, and the first base vector and a second base vector; [ Fig. 12] Fig. 12 is a diagram for describing how a first position of the tool corresponding to a machining target point on an edge line of the through hole is calculated based on the predetermined machining width; [ Fig. 13] Fig. 13 is a diagram showing a first position of a tool for removing the burr generated on the outer peripheral surface of the thick-walled cylinder, and the first base vector and the second base vector; [ Fig. 14] Fig. 14 is a diagram for describing how a first position of the tool corresponding to a machining target point on an edge line of the through hole is calculated based on the predetermined machining width; [ Fig. 15] Fig. 15 is a flowchart showing a machining operation executed by a control device of the machine tool; [ Fig. 16] Fig. 16 is a diagram illustrating a computer program product of a calculation program that causes a calculation device of the control device to calculate the Fig. 15 to carry out the processing operation described; [ Fig. 17] Fig. 17 is a diagram showing a distribution block used as an object to be processed; [ Fig. 18] Fig. 18 is a diagram for the purpose of describing the thick-walled cylinder and a through hole having a slotted hole shape passing through the thick-walled cylinder; [ Fig. 19] Fig. 19 is a diagram schematically showing the through hole having the shape of an elongated hole; [ Fig. 20] Fig. 20 is a diagram for describing the thick-walled cylinder and a through hole having a rounded rectangular shape passing through the thick-walled cylinder; [ Fig. 21] Fig. 21 is a diagram schematically illustrating the through hole with the rounded rectangular shape; and [ Fig. 22] Fig. 22 is a diagram for describing a positional relationship between a first position of the tool and a first central axial line of the thick-walled cylinder. DETAILED DESCRIPTION OF THE INVENTION

[0011] Fig. 1 is a diagram showing an example of a machine tool 10. The machine tool 10 includes a base body 20 and a control device 30. The control device 30 includes a computing device according to an embodiment described below and controls the base body 20. The control device 30 is, for example, a CNC (Computer Numerical Controller). The base body 20 includes a bed 52, a saddle 54, a table 56, a movable member 74, a movable member 76, and a movable member 78. The bed 52 is arranged on an XY plane of an XYZ orthogonal coordinate system. The saddle 54, the table 56, the movable member 74, the movable member 76, and the movable member 78 are arranged on the bed 52.

[0012] The movable member 74 can be moved by a motor (not shown) in a direction DX that is parallel to the X-axis. The movable member 76 is placed on the movable member 74. The movable member 76 is movable relative to the movable member 74 in a direction DY that is parallel to the Y-axis by a motor (not shown). The movable member 78 is attached to a side surface of the movable member 76. The movable member 78 can be moved relative to the movable member 76 in a direction DZ that is parallel to the Z-axis by a motor (not shown). The DZ direction, which is parallel to the Z-axis, is parallel to the direction of gravity. The direction of gravity is the direction in which gravity acts on an object.

[0013] The movable member 78 includes a spindle head. A tool CI is installed on the spindle head. In the present embodiment, the tool CI is a ball nose cutter having a spherical cutting surface formed at its distal end. The tool CI may also be another tool, such as a ball nose polishing tool or the like. Furthermore, the tool CI is not limited to having a completely spherical cutting surface, but may have a cutting surface formed by a part of a spherical shape.

[0014] In the present embodiment, a thick-walled cylinder CP is placed on the table 56 as a workpiece (an object to be machined). The tool CI is driven by a motor (not shown) while rotating. Through such rotation, the tool CI, with the spherical cutting surface, cuts (machines) an edge line forming an edge of a through hole HE that the thick-walled cylinder CP has. By cutting the edge line, the tool CI removes burrs formed on an inner peripheral surface or an outer peripheral surface of the thick-walled cylinder CP.

[0015] In the present embodiment, during cutting, the tool CI is moved in an XYZ space by the movable member 74, the movable member 76, and the movable member 78. In other words, by moving the tool CI in the DX direction parallel to the X-axis, the DY direction parallel to the Y-axis, and the DZ direction parallel to the Z-axis, the tool CI moves relative to the workpiece in an X-axis direction, a Y-axis direction, and a Z-axis direction.

[0016] Since the tool CI only needs to move along the X-axis, Y-axis, and Z-axis with respect to the workpiece, the tool CI can be moved in the DZ direction, which is parallel to the Z-axis, and the workpiece can be moved in the DX direction, which is parallel to the X-axis, and in the DY direction, which is parallel to the Y-axis. In this case, for example, movable mechanisms are provided in the saddle 54 and the table 56.

[0017] Instead of the movable element 74, the movable element 76, and the movable element 78, a robot arm can also grip the tool CI. Alternatively, the workpiece gripped by the robot arm can move along the X-axis, Y-axis, and Z-axis. In both cases, the tool CI moves relative to the workpiece along the X-axis, Y-axis, and Z-axis. In the following description, the tool CI moves relative to the thick-walled cylinder CP, which serves as the workpiece.

[0018] Fig. 2A is a diagram showing an example of a configuration of the control device 30 for the machine tool 10. The control device 30 includes a computing device 110, a storage device 120, and an input / output device 130. The computing device 110 is composed of a processing circuit. The processing circuit is, for example, a processor such as a CPU or a GPU, or the like.

[0019] The storage device 120 includes a non-mapped volatile memory and a non-mapped non-volatile memory. The volatile memory serves as the processor's working memory. Later-described data DT, acquired by an acquisition unit 210, is stored in the volatile memory when a macroprogram to be described later is read. The volatile memory is, for example, a RAM.

[0020] The non-volatile memory is used as storage. The non-volatile memory of the storage device 120 stores a processing program PG and a calculation program (a macroprogram) to be executed by the processing circuit of the calculation device 110. The non-volatile memory is, for example, a ROM or a flash memory.

[0021] The input / output device 130 includes at least one component, e.g., a control panel, a keyboard, a mouse, a display, and a touch panel. The user inputs user input data from the data DT into the computing device 110 via the input / output device 130. The input data DT is stored in the storage device 120. In addition, setting data of default setting values ​​from the data DT is also stored in the storage device 120. The input / output device 130 is capable of displaying the data DT stored in the storage device 120.

[0022] The calculation device 110 includes the acquisition unit 210, a determination unit 220, a first arithmetic unit 230, a second arithmetic unit 240, and a processing control unit 250. The acquisition unit 210, the determination unit 220, the first arithmetic unit 230, the second arithmetic unit 240, and the processing control unit 250 are realized by the calculation device 110 executing the calculation program stored in the storage device 120. At least part of the acquisition unit 210, the determination unit 220, the first arithmetic unit 230, the second arithmetic unit 240, and the processing control unit 250 can be realized by an integrated circuit, such as an ASIC or an FPGA, or an electronic circuit including a discrete component.

[0023] The acquisition unit 210 acquires the data DT input by the user and the data DT stored in the storage device 120. The data DT acquired by the acquisition unit 210 includes tool data, machining target data, and option data, all of which will be described later.

[0024] As mentioned above, the tool CI cuts (machines) the edge line forming the periphery of the through hole HE to remove the burrs. The position of the tool CI is calculated according to a machining target point on the edge line of the through hole HE. The calculated position of the tool CI is hereinafter referred to as a first position. The machining target point is positioned on the edge line of the through hole HE at a position closest to the first position of the tool CI. The determination unit 220 determines a plurality of machining target points on the edge line based on a tolerance amount included in the aforementioned option data. The tolerance amount will be discussed later.

[0025] The first calculation unit 230 calculates a first basis vector and a second basis vector based on the data DT acquired by the acquisition unit 210. The first basis vector and the second basis vector will be described in detail later. The second calculation unit 240 calculates the first position of the tool CI corresponding to each of the machining target points determined by the determination unit 220 based on the first basis vector and the second basis vector and the data DT acquired by the acquisition unit 210.

[0026] The machining control unit 250 controls the movable member 74, the movable member 76, and the movable member 78 of the main body 20, or alternatively other movable mechanisms or robot arms, at each of the plurality of machining target points determined by the determination unit 220, thereby causing the tool CI to move relative to the first position. The machining control unit 250 causes the tool CI to rotate, thereby causing the edge line to be cut by the tool CI.

[0027] To start cutting the edge line at the first (initial) machining target point among the plurality of machining target points determined by the determination unit 220, the tool CI moves to a first position corresponding to this machining target point calculated by the second calculation unit 240. The edge line is cut, thereby forming a machining surface with a predetermined machining width. Thereafter, the tool CI moves to a next machining target point while cutting the edge line and moves to a first position corresponding to such a machining target point. The edge line is cut, thereby forming a machining surface with a predetermined machining width.After such cutting is repeated, the machining control unit 250 stops the cutting when the tool CI returns to the first (initial) machining target point and causes the tool CI to move to a predetermined end position.

[0028] Fig. 2B is a diagram for describing machining performed based on a G-code. In the present embodiment, a machining program PG is executed in accordance with a user input by the processing circuit of the computing device 110. When the machining program PG is executed, machining is performed based on the G-code included in the machining program PG. Included in the machining program PG is the G-code indicating a command for calling a macro program MP.

[0029] Based on the G-code, the processing circuit of the calculation device 110 calls the macro program MP stored in the non-volatile memory of the storage device 120. Along with this, the processing circuit of the calculation device 110 writes data DT, which has a value corresponding to an argument of the G-code or is a default value, into the volatile memory of the storage device 120. The data DT includes tool data, machining target data, and option data, all of which will be described later.

[0030] The second computing unit 240 of the computing device 110 reads the macroprogram MP, which is a target for the call, from the storage device 120 as the calculation program. The acquisition unit 210 of the computing device 110 acquires the data DT from the storage device 120. Using the data DT, the processing circuit of the computing device 110 executes the macroprogram MP, whereby the second computing unit 240 calculates the first position of the tool CI.

[0031] Fig. 3A and Fig. 3B are diagrams for describing the thick-walled cylinder CP and the through hole HE formed in the thick-walled cylinder CP. Fig. Figure 3A is a view of the thick-walled cylinder CP as seen from the outside. In this case, lines that are not visible from the outside are in Fig. 3A not shown. Fig. Figure 3B is a representation in which such lines that are not visible are shown as dashed lines.

[0032] Hereinafter, the central axis of the thick-walled cylinder CP is referred to as the first central axial line A1. The direction in which the first central axial line A1 of the thick-walled cylinder CP extends is referred to as the first direction. In the present embodiment, the first direction in which the first central axial line A1 of the thick-walled cylinder CP extends is the Y-axis direction. Alternatively, the first direction may be a direction parallel to the XY plane and forming a predetermined angle with the Y-axis in a plane including the first central axis A1. The thick-walled cylinder CP is a hollow cylinder. An inner peripheral surface SN and an outer peripheral surface ST of the thick-walled cylinder CP are each formed as a cylindrical peripheral surface SS.

[0033] In the present embodiment, the through hole HE, which penetrates the thick-walled cylinder CP from the outer peripheral surface ST to the inner peripheral surface SN of the thick-walled cylinder CP in a circular cylindrical shape, is defined by a circumferential wall surface SW. The edge line RL, which forms an edge of the through hole HE, includes two types of edge lines RLN and RLT. The edge line RLN is formed by the circumferential wall surface SW of the through hole HE and the inner peripheral surface SN of the thick-walled cylinder CP. The edge line RLT is formed by the circumferential wall surface SW of the through hole HE and the outer peripheral surface ST of the thick-walled cylinder CP.

[0034] The central axis of the circular cylinder CS defining the through hole HE is hereinafter referred to as the second central axial line A2. The direction in which the second central axial line A2 extends is hereinafter referred to as the second direction. In the present embodiment, the second direction in which the second central axial line A2 extends is the Z-axis direction. More specifically, the second direction in which the second central axial line A2 extends is perpendicular to the first direction in which the first central axial line A1 extends. The radius of an imaginary circular cylinder CS defining the shape of the through hole HE is hereinafter referred to as the second radius R2.

[0035] Fig. 4A is a diagram showing a burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP and a tool CI for removing such a burr BR. In Fig. 4A shows a case where the thick-walled cylinder CP, which is cut by a plane perpendicular to the Y-axis (a plane parallel to the XZ plane), is viewed from the negative direction of the Y-axis. When the tool CI comes into contact with the edge line RL (RLN), the tool CI removes the burr BR by cutting the edge line RL including the machining target point P with a predetermined machining width. It is necessary to determine a first position C of the tool CI at which it is possible to cut the edge line RL with the predetermined machining width. The first position C of the tool CI is a center position of a sphere that forms the cutting surface of a distal end of the tool CI.

[0036] The radius of the cylindrical peripheral surface SS of the thick-walled cylinder CP is referred to below as a first radius R1. As in Fig. As shown in Figure 4A, when the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP is removed, the radius RN of the inner peripheral surface SN is used as the first radius R1 of the cylindrical peripheral surface SS of the thick-walled cylinder CP. The radius RN of the inner peripheral surface SN is equal to the shortest distance between the first central axial line A1 of the thick-walled cylinder CP and the inner peripheral surface SN.

[0037] Fig. Figure 4B is a diagram showing the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP and the tool CI for removing such burr BR. In the same manner as in Fig. 4A is in Fig. 4B illustrates a case where the thick-walled cylinder CP, which is cut by a plane perpendicular to the Y-axis (a plane parallel to the XZ plane), is viewed from the negative direction of the Y-axis. When the tool CI contacts the edge line RL (RLT), the tool CI removes the burr BR by cutting the edge line RL including the machining target point P with a predetermined machining width. It is necessary to appropriately determine the first position C of the tool CI at which it is possible to cut the edge line RL with the predetermined machining width.

[0038] As in Fig. As shown in Figure 4B, when the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP is removed, the radius RT of the outer peripheral surface ST is used as the first radius R1 of the cylindrical peripheral surface SS of the thick-walled cylinder CP. The radius RT of the outer peripheral surface ST is equal to the shortest distance between the first central axial line A1 of the thick-walled cylinder CP and the outer peripheral surface ST.

[0039] In Fig. 4A and Fig. 4B, the tool CI is shown approaching the first position C from the outside of the thick-walled cylinder CP. However, the tool CI can also approach the first position C from the inside of the thick-walled cylinder CP.

[0040] Fig. Figure 5A is a diagram showing a positional relationship between the first central axial line A1 of the thick-walled cylinder CP and the second central axial line A2 of the circular cylinder CS forming the through-hole HE in a case where an eccentric distance f is zero. The eccentric distance indicates the shortest distance of the second central axial line A2 from the first central axial line A1. Fig. 5A shows a case where the thick-walled cylinder CP having the through-hole HE is viewed from a positive direction of the Z-axis on the outside of the thick-walled cylinder CP.

[0041] A bottom surface of the circular cylinder CS forming the shape of the through hole HE is circular. Therefore, the through hole HE has a circular shape corresponding to the circular cylinder CS when viewed directly above the through hole HE along the Z axis. The second axial centerline A2 overlaps the first axial centerline A1. A radius of the through hole HE, viewed from above, coincides with the second radius R2 of the circular cylinder CS.

[0042] Fig. Figure 5B is a diagram showing a positional relationship between the first central axial line A1 of the thick-walled cylinder CP and the second central axial line A2 of the circular cylinder CS forming the through-hole HE in a case where the eccentric distance f is not zero. In the same way as in Fig. 5A is in Fig. 5B shows a case where the thick-walled cylinder CP with the through-hole HE is viewed from a positive direction of the Z-axis on the outside of the thick-walled cylinder CP. In the same way as in Fig. 5A, the through-hole HE is circular when viewed from directly above the through-hole HE along the Z-axis. The second central axial line A2 is located at a position offset (deviated) by the eccentric distance f in the X-axis direction from the first central axial line A1.

[0043] Fig. 6 is a diagram illustrating the data DT acquired by the acquisition unit 210 of the computing device 110. The data DT acquired by the acquisition unit 210 includes the tool data, the machining target data, and the option data. The tool data includes a tool number CI stored in the storage device 120. A value of the radius of the tool CI is stored in the storage device 120 in association with the tool number CI. When the number of a tool CI is designated by the user via the input / output device 130, the acquisition unit 210 acquires the tool data to thereby acquire, from the storage device 120, the radius of the tool CI registered in advance. Furthermore, the radius of the tool CI is hereinafter referred to as the third radius.

[0044] The machining target data includes a position of the thick-walled cylinder CP, a position of the through hole HE, the first radius R1 of the cylindrical peripheral surface SS of the thick-walled cylinder CP, the second radius R2 of the imaginary circular cylinder CS forming the shape of the through hole HE, an arrangement angle of the thick-walled cylinder CP, a penetration angle of the through hole HE, and the aforementioned eccentric distance f. The thick-walled cylinder CP and the through hole HE are respectively positioned at predetermined positions. The position of the thick-walled cylinder CP is hereinafter referred to as the second position. The position of the through hole HE is hereinafter referred to as the third position.The second position of the thick-walled cylinder CP and the third position of the through hole HE are expressed in a machine coordinate system predefined in the machine tool 10 or alternatively in a workpiece-related coordinate system.

[0045] The arrangement angle CP of the thick-walled cylinder is an angle formed by the first direction in which the first central axial line A1 of the thick-walled cylinder extends with respect to the Y-axis. In the present embodiment, as mentioned above, the first direction coincides with the Y-axis direction. Accordingly, the value of the arrangement angle CP of the thick-walled cylinder detected by the detection unit 210 as a value indicating the first direction is 0 degrees.

[0046] The penetration angle of the through-hole HE is an angle formed by the second direction, in which the second central axial line A2 of the circular cylinder CS forming the shape of the through-hole HE extends, with respect to the Z-axis. In the present embodiment, as mentioned above, the second direction coincides with the Z-axis direction. Accordingly, the value of the penetration angle of the through-hole HE detected by the detection unit 210 as a value indicative of the second direction is 0 degrees.

[0047] The option data includes a cutting amount Q and a tolerance amount TA. By cutting the edge line RL with a specified machining width W at the first position C corresponding to the machining target point P, the burr BR is removed. By cutting the edge line RL, a machining surface with the specified machining width W is formed between the cylindrical peripheral surface SS of the thick-walled cylinder CP and the peripheral wall surface SW of the through hole HE. Specifically, a distance between both ends of the machining surface in the machining width direction is equal to the specified machining width W.

[0048] Fig. 7A is a diagram describing the relationship between the intersection Q and the specified machining width W. As can be seen from Fig. As can be seen from Fig. 7A, the predetermined machining width W is expressed by equation (1) using the intersection amount Q. The cutting amount Q is a value that is 1 / √2 times the predetermined machining width W. When the cutting amount Q is specified by the user via the input / output device 130, the detection unit 210 detects the predetermined machining width W by detecting the cutting amount Q. W=2⋅Q

[0049] The tolerance amount TA specifies a value related to a machining path RP when the tool CI intersects the edge line RL while moving along the machining path RP corresponding to the edge line RL.

[0050] When the initial position C of the tool CI corresponding to all (infinitely many) machining target points P on the edge line RL is calculated, an ideal trajectory (ideal path) TR of the tool CI is determined. However, in practice, the initial position C of the tool CI corresponding to a finite number of machining target points P is calculated. Therefore, the machining trajectory RP formed by linearly connecting the finite number of machining target points P does not match the ideal trajectory TR.

[0051] The tolerance amount TA is set by a user as the upper limit of an error in the machining trajectory RP with respect to the ideal trajectory TR. When the tolerance amount TA is specified, a plurality of machining target points P on the edge line RL are determined based on the tolerance amount TA by the determination unit 220 of the calculation device 110.

[0052] Fig. 7B and Fig. 7C are diagrams for the purpose of describing the tolerance amount TA. The plurality of machining target points P are determined such that an error RG in the machining path RP with respect to the ideal trajectory TR of the tool CI lies within the tolerance amount TA. In the Fig. In the example shown in Figure 7B, a value TA1 is specified as the tolerance amount TA by user input. In this case, four machining target points P101, P102, P103, and P104 are determined such that the error RG becomes less than or equal to the value TA1.

[0053] In the Fig. In the example shown in Figure 7C, a value TA2 that is smaller than the value TA1 is specified as the tolerance amount TA by user input. In this case, eight machining target points P201, P202, P203, P204, P205, P206, P207, and P208 are determined such that the error RG is less than or equal to the value TA2. The number of machining target points P in Fig. 7C is greater than the number of machining target points P in Fig. 7B. The machining path RP in Fig. 7C is closer to the ideal orbit TR than the one in Fig. 7B shown machining path RP.

[0054] When the tolerance amount TA is set to a small value, the upper limit of the error RG becomes smaller, and the machining trajectory RP approaches the ideal trajectory TR. On the other hand, when the tolerance amount TA is set to a small value, as the number of machining target points P increases, the computational load imposed on the calculation device 110 becomes higher. Accordingly, the user inputs the tolerance amount TA to the calculation device 110 via the input / output device 130, taking into account how close the machining trajectory RP should be to the ideal trajectory TR and the computational load. In the case where the tolerance amount TA is not input by the user, a predetermined default setting value of the tolerance amount TA is used.

[0055] A tangent to the edge line RL of the through hole HE is referred to below as tangent TL. Fig. Figure 8 is a diagram describing the through hole HE, which passes through the thick-walled cylinder CP in the form of a circular cylinder CS, and the tangent TL to the edge line RL of the through hole HE. The cylindrical peripheral surface SS of the thick-walled cylinder CP is shown in Fig. 8. When the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP is removed, the inner peripheral surface SN corresponds to the cylindrical peripheral surface SS. When the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP is removed, the outer peripheral surface ST corresponds to the cylindrical peripheral surface SS. The central axial line of the cylindrical peripheral surface SS coincides with the first central axial line A1 of the thick-walled cylinder CP. More specifically, the direction in which the central axial line of the cylindrical peripheral surface SS extends is the first direction, the Y-axis direction.

[0056] The imaginary circular cylinder CS described above, which intersects with the cylindrical circumferential surface SS of the thick-walled cylinder CP, is in Fig. 8. The circular cylinder CS is inserted through the through hole HE. The edge line RL of the through hole HE is represented as an intersection line formed by intersecting the cylindrical peripheral surface SS of the thick-walled cylinder CP and the circular cylinder CS. As mentioned above, the direction in which the second axial center line A2 of the circular cylinder CS extends is the second direction, that is, the Z-axis direction. The second direction in which the second central axial line A2 extends is perpendicular to the first direction in which the first central axial line A1 extends.

[0057] The tangent TL to the edge line RL of the through hole HE at the machining target point P on the edge line RL cut by the tool CI is in Fig. 8. The tool CI has a spherical cutting surface. If a line connecting the center of the sphere and the machining target point P is perpendicular to the tangent TL, excessive cutting will not occur when the edge line RL is intersected by the tool CI. In this case, the center position of the sphere forming the cutting surface is defined as the first position C of the tool CI. More specifically, the first position C of the tool CI lies on a vertical plane VP perpendicular to the tangent TL of the edge line RL and including the machining target point P.

[0058] Fig. 9 is a diagram for describing the vertical plane VP perpendicular to the tangent TL of the edge line RL of the through hole HE, and a first ellipse E1 and a second ellipse E2 formed on the vertical plane VP. The aforementioned vertical plane VP is determined based on the position of the machining target point P on the edge line RL and the machining target data acquired by the acquisition unit 210 of the computing device 110. The position of the machining target point P on the edge line RL is hereinafter referred to as the fourth position.

[0059] In Fig. 9, the angle ε formed by the second central axial line A2 of the imaginary circular cylinder CS, which forms the shape of the through hole HE, with respect to the vertical plane VP, is represented as an angle formed by the second central axial line A2 with respect to a straight line VL. The straight line VL is obtained by projecting the second central axis A2 onto the vertical plane VP. The calculation of the angle ε will be described later.

[0060] An intersection curve IL results from the intersection point of the vertical plane VP with the cylindrical circumferential surface SS and the circular cylinder CS. The intersection curve IL contains sections of contour lines of the first ellipse E1 and the second ellipse E2, which are formed on the vertical plane VP. The first ellipse E1 is formed as an intersection line between the vertical plane VP and the cylindrical circumferential surface SS. The second ellipse E2 is formed as an intersection line between the vertical plane VP and the circular cylinder CS. On the vertical plane VP, the fourth position of the machining target point P lies on the contour line of the first ellipse E1 and further on a contour line of the second ellipse E2.

[0061] A solid portion between the outer peripheral surface ST and the inner peripheral surface SN of the thick-walled cylinder CP is hereinafter referred to as the cylindrical shell of the thick-walled cylinder CP. A region on the outer side of the first ellipse E1 corresponds to a region on the outer side of the cylindrical shell surface SS. In the case where the cylindrical peripheral surface SS corresponds to the inner peripheral surface SN of the thick-walled cylinder CP, the cylindrical shell of the thick-walled cylinder CP is included in the region on the outer side of the first ellipse E1 at the fourth position of the machining target point P on the edge line RL and in the vicinity thereof. A region on the inner side of the first ellipse E1 corresponds to a region on the inner side of the cylindrical peripheral surface SS.In the case where the cylindrical peripheral surface SS corresponds to the outer peripheral surface ST of the thick-walled cylinder CP, the cylindrical shell of the thick-walled cylinder CP is included at the fourth position of the machining target point P on the edge line RL and in the vicinity thereof in the area on the inner side of the first ellipse E1.

[0062] An area on the inner side of the second ellipse E2 corresponds to an area on the inner side of the circular cylinder CS. At and near the fourth position of the machining target point P on the edge line RL, the through hole HE is included in the area on the inner side of the second ellipse E2. A segment from the machining target point P on the edge line RL to a position at a predetermined distance along the contour line of the second ellipse E2 is formed by the circumferential wall surface SW forming the through hole HE.

[0063] Fig. Figure 10A is a diagram showing an angle γ formed by a perpendicular line from the machining target point P on the edge line RL of the through hole HE to the first central axial line A1 of the thick-walled cylinder CP with respect to the X-axis. In Fig. 10A shows a case in which the cylindrical peripheral surface SS of the Fig. 3B, Fig. 8 and Fig. 9 and the imaginary circular cylinder CS, which forms the shape of the through hole HE, are viewed from the negative direction of the Y-axis.

[0064] In Fig. 10A shows a point O (0, 0, 0) on the second axial center line A2, whose distance from the first axial center line A1 is equal to the eccentric distance f. In the present embodiment, the position data included in the machining target data is represented by a three-dimensional coordinate value in XYZ space, with point O serving as the origin. Fig. 10A shows a three-dimensional coordinate value (Xp, Yp, Zp) in XYZ space indicating the fourth position of the machining target point P. The fourth position of the machining target point P is located on the edge line RL determined based on the machining target data.

[0065] Within the Fig. 10A, a region within the circular cylinder CS corresponds to the through hole HE. Since the machining target point P is located on the edge line RL of the through hole HE, the machining target point P is located within the aforementioned region. The length of a perpendicular line from the machining target point P to the first central axis line A1 is equal to the length of the first radius R1 of the cylindrical peripheral surface SS. The fourth position of the machining target point P is expressed by a parameter that is the angle γ that the perpendicular line makes with respect to the X-axis.

[0066] Taking into account the eccentric distance f, the X component Xp of the above-mentioned three-dimensional coordinate value indicating the fourth position of the machining target point P is expressed by Equation (2) using the machining target data. The Z component Zp of the three-dimensional coordinate value indicating the fourth position of the machining target point P is expressed by Equation (3) using the machining target data. Since the machining target point P is positioned on the cylindrical peripheral surface SS, Equation (4) is obtained based on Equation (2) and Equation (3). Xp=R1⋅cos γ−f Zp=R1⋅sin γ (Xp+f)2+Zp2=R12

[0067] Fig. 10B is a diagram showing an angle Φ formed with respect to the X-axis by a perpendicular line from the machining target point P on the edge line RL of the through hole HE to the second axial center line A2 of the circular cylinder CS forming the shape of the through hole HE, and a first basis vector e1.

[0068] In Fig. 10B is the Fig. 3B, Fig. 8 and Fig. 9 is shown as viewed from the positive direction of the Z-axis. Since the machining target point P is located on the edge line RL of the through hole HE, the aforementioned angle Φ is a value greater than 0 degrees and also a value less than or equal to 360 degrees (0° < Φ ≤ 360°). However, the upper limit of the angle Φ may be less than 360°.

[0069] The length of a perpendicular line from the machining target point P to the second central axial line A2 is equal to the length of the second radius R2 of the circular cylinder CS. The fourth position of the machining target point P is expressed by a parameter that is the angle Φ that the perpendicular makes with respect to the X-axis. The X component Xp of the above-mentioned three-dimensional coordinate value indicating the fourth position of the machining target point P is expressed by Equation (5) using the machining target data. Equation (6) is obtained based on Equation (2) and Equation (5). The Y component Yp of the three-dimensional coordinate value indicating the fourth position of the machining target point P is expressed by Equation (7) using the machining target data.More specifically, the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P is obtained using the machining target data. Xp=R2⋅cos ϕ R1⋅cos γ−f=R2⋅cos ϕ Yp=R2⋅sin ϕ

[0070] In Fig. 10B shows the tangent TL to the edge line RL at the machining target point P. A vector perpendicular to this tangent TL and passing through the machining target point P is contained in the aforementioned vertical plane VP. A vector having the machining target point P as its starting point, which is perpendicular to the second central axis A2 and which forms the angle Φ with the X-axis, is defined as the first basis vector e1 of the vertical plane VP. In the case where the magnitude of the first basis vector e1 is assumed to be 1, the three-dimensional coordinate value of the first basis vector e1 in the XYZ space is expressed by Equation (8) using the angle Φ as a parameter. e1→=(cos ϕsin ϕ0)

[0071] The three-dimensional coordinate value of the second basis vector e2, with the machining target point P as the starting point P, which is perpendicular on the vertical plane VP to the first basis vector e1, is represented by Equation (9) as a vector with a magnitude of 1 based on Equation (6) and Equation (8). The first calculation unit 230 of the calculation device 110 calculates the first basis vector e1 and the second basis vector e2 with respect to each of the plurality of machining target points P in accordance with Equation (8) and Equation (9) using the machining target data. e2→=((R2⋅cos ϕ+f)⋅sin2 ϕR12−(R2⋅cos ϕ+f)2⋅cos2 ϕ−(R2⋅cos ϕ+f)⋅sin ϕ cos ϕR22−(R2⋅cos ϕ+f)2⋅cos2ϕR12−(R2⋅cos ϕ+f)2R22−(R2⋅cos ϕ+f)2⋅cos2ϕ)

[0072] The second basis vector e2 of the vertical plane VP is parallel to the Fig. 9 on the vertical plane VP. The second central axial line A2 of the circular cylinder CS is parallel to the Z axis. Accordingly, the angle e formed by the second central axis A2 with respect to the vertical plane VP satisfies Equation (10). More specifically, the angle ε is calculated by Equation (9) and Equation (10) based on the machining target data. cos ε=e2→⋅(001)

[0073] Fig. Figure 11 is a diagram of the first position C of the tool CI for removing the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP, as well as the first base vector e1 and the second base vector e2. A center K1 of the first ellipse and a center K2 of the second ellipse are shown in Fig. 11. A direction in which the major axis of the second ellipse E2 passes through the center point K2 is a T-axis direction, and a direction perpendicular to the T-axis (the direction in which the minor axis of the second ellipse E2 passes through the center point K2) is an S-axis direction. The vertical plane VP is a plane formed by the S-axis (a horizontal axis) and the T-axis (a vertical axis), which are orthogonal to each other. The origin point of the vertical plane VP is the machining target point P(0, 0) on the edge line RL.

[0074] The first basis vector e1 is parallel to the S-axis, and the second basis vector e2 is parallel to the T-axis. The positive direction of the S-axis is a direction from the origin point toward the outside of the second ellipse E2. The angle that the S-axis makes with the X-axis is equal to the aforementioned angle Φ. The positive direction of the T-axis is a direction from the origin point to the outside of the first ellipse E1.

[0075] The second ellipse E2 can be formulated by a two-dimensional coordinate value of the center point K2 on the vertical plane VP and by a parametric representation based on an eccentric anomaly using the major axis and the minor axis. The angle formed by the T axis with the Z axis is equal to the aforementioned angle ε. Accordingly, the second ellipse E2 on the vertical plane VP, defined by the S axis (the variable S) and the T axis (the variable T), is expressed by Equation (11). (S+R2)2R22+T2(R2sin ε)2=1

[0076] At the machining target point P on the edge line RL, the cylindrical surface of the thick-walled cylinder CP with the through hole HE lies in an area that lies on the outside of the first ellipse E1 and also on the outside of the second ellipse E2. The contour line of the first ellipse E1, which extends from the machining target point P, corresponds to the inner circumferential surface SN of the thick-walled cylinder CP. The outline of the second ellipse E2, which extends from the machining target point P, corresponds to the wall circumferential surface SW, which forms the through hole HE.

[0077] When the tool CI intersects the edge line RL at the first position C corresponding to the machining target point P on the edge line RL, the machining surface of the predetermined machining width W is formed between the inner peripheral surface SN of the thick-walled cylinder CP and the peripheral wall surface SW of the through hole HE. A first end point G1 and a second end point G2 on the vertical plane VP, which correspond to the two ends in the machining width direction of the machining surface, are defined in Fig. 11. The first end point G1 is located on the inner peripheral surface SN (the cylindrical peripheral surface SS) of the thick-walled cylinder CP. The second end point G2 is located on the peripheral wall surface SW of the through hole HE (a portion of the circular peripheral surface of the imaginary circular cylinder CS). The linear distance between the first end point G1 and the second end point G2 is equal to the specified machining width W.

[0078] The three-dimensional coordinate value (X1, Y1, Z1) of the first end point G1 in the XYZ space is expressed by equation (12), where the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P, the two-dimensional coordinate value (S1, T1) of the first end point G1 on the vertical plane VP and the first basis vector e1 and the second basis vector e2 are used. (X1Y1Z1)=(XpYpZp)+S1⋅e1→+T1⋅e2→

[0079] The first end point G1 lies on the contour line of the first ellipse E1. Since the contour line of the first ellipse E1 is the intersection line between the inner peripheral surface SN (the cylindrical peripheral surface SS) of the thick-walled cylinder CP and the vertical plane VP, the first end point G1 is positioned on the cylindrical peripheral surface SS in the same way as the machining target point P. Accordingly, the X component X1 and the Z component Z1 within the three-dimensional coordinate value (X1, Y1, Z1) of the first end point G1 in the XYZ space satisfy Equation (13) in the same way as the machining target point P satisfying Equation (4). (X1+f)2+Z12=R12

[0080] The second endpoint G2 is located on the contour line of the second ellipse E2. Since the two-dimensional coordinate value (S2, T2) of the second endpoint G2 satisfies equation (11), which represents the second ellipse E2, equation (14) follows. (S2+R2)2R22+T22(R2sin ε)2=1

[0081] A cross-section of the sphere forming the cutting surface of the tool CI is shown in Fig. 11 is represented as a circle passing through the first end point G1 and the second end point G2, which correspond to the two ends in the machining width direction of the aforementioned machining surface in the vertical plane VP. A length from the first position C of the tool CI, indicated as the center of the circle, to the first end point G1 and a length from the first position C of the tool CI to the second end point G2 are both equal to a third radius D of the tool CI.

[0082] Fig. 12 is a diagram for describing how the first position C of the tool CI corresponding to the machining target point P on the edge line RL of the through hole HE is calculated based on the predetermined machining width W. As mentioned above, the first end point G1 and the second end point G2 correspond to the two ends in the machining width direction of the machining surface formed by the tool CI intersecting the edge line RL at the first position C corresponding to the machining target point P.

[0083] As mentioned above, the length from the first position C of the tool CI to the first end point G1 and the length from the first position C of the tool CI to the second end point G2 are both equal to the third radius D of the tool CI. Accordingly, the straight line DL connecting a midpoint M of a line segment SL connecting the first end point G1 and the second end point G2 to the first position C of the tool CI perpendicularly intersects the line segment SL at the midpoint M. The position of the midpoint M on the vertical plane VP is expressed as a two-dimensional coordinate value ((S1 + S2) / 2, (T1 + T2) / 2).

[0084] As mentioned above, the distance between the first end point G1 (S1, T1) and the second end point G2 (S2, T2) is equal to the predetermined machining width W. According to equation (1), the predetermined machining width W can be expressed by replacing it with the cutting amount Q, resulting in equation (15). (S1−S2)2+(T1−T2)2=2Q2

[0085] The length of the line segment SL is equal to the distance between the first end point G1 and the second end point G2 and is therefore equal to the predetermined machining width W. The length from the center point M of the line segment SL to the first end point G1 becomes 1 / 2 of the predetermined machining width W. As mentioned above, the length from the first position C of the tool CI to the first end point G1 is equal to the third radius D of the tool CI. Accordingly, a length CM from the first position C of the tool CI to the center point M of the line segment SL is obtained by Equation (16). CM=D2−Q22

[0086] The direction in which a line segment SL connecting the first end point G1 (S1, T1) and the second end point G2 (S2, T2) extends is the direction of the machining width of the machining surface formed by cutting. Fig. 12, an angle δ formed by the line segment SL with respect to the second base vector e2 is calculated based on the machining target data and the cutting amount Q. The detection unit 210 of the calculation device 110 detects the calculated angle δ.

[0087] The angle δ formed by the line segment SL with respect to the second base vector e2 may be constant or, alternatively, different for each of the machining target points P. For example, the angle δ may be an angle equal to a complementary angle of an angle obtained by bisecting an angle between the respective tangent lines tangent to the first ellipse E1 and the second ellipse E2 at the machining target points P. In this case, the occurrence of burrs generated by the tool CI intersecting the edge line RL can be comparatively suppressed.

[0088] With reference to Fig. 12, Equation (17) is obtained using the angle δ. Moreover, the angle δ is a value greater than 0 degrees, and also a value less than or equal to 90 degrees (0° < δ ≤ 90°). T1−T2S1−S2=−1tan δ

[0089] The angle formed by the aforementioned straight line DL with respect to an auxiliary line HL passing through the midpoint M of the line segment SL and also parallel to the first basis vector e1 is equal to the angle δ. The length CM from the first position C of the tool CI to the midpoint M of the line segment SL is given by equation (16). Accordingly, the two-dimensional coordinate value (Sc, Tc) representing the first position C of the tool CI on the vertical plane VP is represented by equations (18) and (19), using the aforementioned two-dimensional coordinate value of the midpoint M of the line segment SL. Sc=S1+S22−D2−12Q2⋅cos δ Tc=T1+T22−D2−12Q2⋅sin δ

[0090] The second calculation unit 240 of the calculation device 110 calculates the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP using Equation (12) to Equation (15) and Equation (17) to Equation (19). Based on the calculation result, the first position C of the tool CI can be calculated in a coordinate space defined by the X-axis, the Y-axis, and the Z-axis.

[0091] The second calculation unit 240 calculates, for each of the plurality of machining target points P, the three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI using equation (20). (XcYcZc)=(XpYpZp)+Sc⋅e1→+Tc⋅e2→

[0092] Equation (20) contains the three-dimensional coordinate value (Xp, Yp, Zp) of the machining target point P. The three-dimensional coordinate value (Xp, Yp, Zp) of the machining target point P is obtained using the machining target data as described above.

[0093] The first basis vector e1 and the second basis vector e2 on the vertical plane VP are included in equation (20). The first basis vector e1 and the second basis vector e2 on the vertical plane VP are calculated by the first computing unit 230 based on equation (8) and equation (9).

[0094] The two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP is contained in Equation (20). The two-dimensional coordinate value (Sc, Tc) of the first position C on the vertical plane VP is calculated by the second calculation unit 240 based on Equations (12) to (15) and (17) to (19).

[0095] Specifically, the second calculation unit 240 calculates the three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI based on the aforementioned angle δ, the machining target data acquired by the acquisition unit 210, the second ellipse E2 formulated using the aforementioned angle ε based on the machining target data, the predetermined machining width W, the third radius D of the tool CI, the first basis vector e1 and the second basis vector e2 on the vertical plane VP, and the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P. Each of the machining target points P is closest to the first position C of the tool CI on the edge line RL.

[0096] Fig. Figure 13 is a diagram showing the first position of the tool CI for removing the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP, as well as the first basis vector e1 and the second basis vector e2. Fig. 13 is in the same way as in Fig. 11 the origin point of the vertical plane VP the machining target point P(0, 0) on the edge line

[0097] RL. The first basis vector e1 and the second basis vector e2 of the vertical plane VP are parallel to the S-axis and the T-axis, respectively. The first ellipse E1 and the second ellipse E2 can be formulated in the vertical plane VP. Among these ellipses, in particular, the second ellipse E2 is expressed by the above-mentioned equation (11).

[0098] The cylindrical surface of the thick-walled cylinder CP lies at the machining target point P on the edge line RL in an area located on the inside of the first ellipse E1 and on the outside of the second ellipse E2. The outline (contour) of the first ellipse E1, which extends from the machining target point P, corresponds to the outer peripheral surface ST of the thick-walled cylinder CP. The outline of the second ellipse E2, extending from the machining target point P, corresponds to the wall peripheral surface SW that forms the through hole HE.

[0099] When the tool CI intersects the edge line RL at the first position C corresponding to the machining target point P on the edge line RL, the machining surface with the predetermined machining width W is formed between the outer peripheral surface ST of the thick-walled cylinder CP and the peripheral wall surface SW of the through hole HE. The first end point G1 and the second end point G2, which correspond to the two ends in the machining width direction of the machining surface, are in Fig. 13. The first end point G1 is located on the outer peripheral surface ST (the cylindrical peripheral surface SS) of the thick-walled cylinder CP. The second end point G2 is located on the peripheral wall surface SW of the through hole HE (a portion of a section within the circular peripheral surface of the imaginary circular cylinder CS). The straight-line distance between the first end point G1 and the second end point G2 is equal to the specified machining width W.

[0100] The three-dimensional coordinate value (X1, Y1, Z1) of the first end point G1 in XYZ space is expressed by the above-mentioned equation (12). Since the first end point G1 lies on the contour line of the first ellipse E1, the first end point G1 is also located on the cylindrical circumferential surface SS. Accordingly, the X component X1 and the Z component Z1 of the three-dimensional coordinate value (X1, Y1, Z1) of the first end point G1 in XYZ space satisfy equation (13).

[0101] The second endpoint G2 lies on the contour line of the second ellipse E2. Since the two-dimensional coordinate value (S2, T2) of the second endpoint G2 satisfies equation (11), which represents the second ellipse E2, the above-mentioned equation (14) results. The two-dimensional coordinate value (S1, T1) of the first endpoint G1 and the two-dimensional coordinate value (S2, T2) of the second endpoint G2 satisfy the above-mentioned equation (15).

[0102] A cross-section of the sphere forming the cutting surface of the tool CI is shown in Fig. 13 is represented as a circle passing through the first end point G1 and the second end point G2, which correspond to the two ends of the above-mentioned machining surface in the vertical plane VP. A length from the first position C of the tool CI, specified as the center of the circle, to the first end point G1 and a length from the first position C of the tool CI to the second end point G2 are both equal to the third radius D of the tool CI.

[0103] Fig. 14 is a diagram for describing how the first position C of the tool CI corresponding to the machining target point P on the edge line RL of the through hole HE is calculated based on the predetermined machining width W. As mentioned above, the first end point G1 and the second end point G2 correspond to the two ends in the machining width direction of the machining surface formed by the tool CI intersecting the edge line RL at the first position C corresponding to the machining target point P.

[0104] As mentioned above, the length from the first position C of the tool CI to the first end point G1 and the length from the first position C of the tool CI to the second end point G2 are both equal to the third radius D of the tool CI. Accordingly, the straight line DL connecting the midpoint M of the line segment SL connecting the first end point G1 and the second end point G2 to the first position C of the tool CI intersects the line segment SL perpendicularly at the midpoint M. The position of the midpoint M on the vertical plane VP is expressed as a two-dimensional coordinate value ((S1 + S2) / 2, (T1 + T2) / 2). The length CM from the first position C of the tool CI to the midpoint M of the line segment SL is given by the above-mentioned equation (16).

[0105] The direction in which the line segment SL connecting the first end point G1 (S1, T1) and the second end point G2 (S2, T2) extends is the direction of the machining width of the machining surface formed by cutting. As mentioned above, the detection unit 210 of the calculation device 110 determines the angle δ that the line segment SL forms with respect to the second base vector e2 based on the machining target data and the cutting amount Q.

[0106] In Fig. 14, the angle δ is indicated by an auxiliary line LL, which passes through the second endpoint G2 and is also parallel to the second basis vector e2. With reference to Fig. 14, we obtain equation (21), which uses the angle δ. Furthermore, the angle δ is a value greater than 0 degrees, and it is also a value less than or equal to 90 degrees (0° < δ ≤ 90°). T1−T2S1−S2=1tan δ

[0107] The angle formed by the aforementioned straight line DL with an auxiliary line HL passing through the midpoint M of the line segment SL and also parallel to the first base vector e1 is equal to the angle δ. The length CM from the first position C of the tool CI to the midpoint M of the line segment SL is given by equation (16). Accordingly, the two-dimensional coordinate value (Sc, Tc) representing the first position C of the tool CI on the vertical plane VP is represented by equations (18) and (22), using the aforementioned two-dimensional coordinate value of the midpoint M of the line segment SL. Tc=T1+T22+D2−12Q2⋅sin δ

[0108] The second calculation unit 240 of the calculation device 110 calculates the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP using Equations (12) to (15), Equations (18), (21), and (22). Based on the calculation result, the first position C of the tool CI can be calculated in a coordinate space defined by the X-axis, Y-axis, and Z-axis.

[0109] The second calculation unit 240 calculates, for each of the plurality of machining target points P, the three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI using Equation (20). More specifically, the second calculation unit 240 calculates the three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI based on the aforementioned angle δ, the machining target data acquired by the acquisition unit 210, the second ellipse E2 formulated using the aforementioned angle ε based on the machining target data, the predetermined machining width W, the third radius D of the tool CI, the first basis vector e1 and the second basis vector e2 on the vertical plane VP, and the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P.Each of the machining target points P is closest to the first position C of the tool CI on the edge line RL.

[0110] Fig. 15 is a flowchart showing a machining operation executed by the controller 30 of the machine tool 10. For example, the present processing procedure is performed by the calculation device 110 of the controller 30, which executes the calculation program. When this processing procedure is initiated in step S102, the acquisition unit 210 of the calculation device 110 acquires the machining target data from the user or, alternatively, from the storage device 120.

[0111] The machining target data includes the second position of the thick-walled cylinder CP, the third position of the through hole HE, the first radius R1 of the cylindrical peripheral surface SS of the thick-walled cylinder CP, the second radius R2 of the imaginary circular cylinder CS forming the shape of the through hole HE, the arrangement angle of the thick-walled cylinder CP, the penetration angle of the through hole HE, and the eccentric distance f. The arrangement angle of the thick-walled cylinder CP corresponds to the first direction in which the first central axial line A1 of the thick-walled cylinder CP extends. The value of the penetration angle of the through hole HE is 0 degrees.

[0112] In step S104, the acquisition unit 210 acquires the tool data from the storage device 120 based on the tool number CI specified by the user. As the tool data, the third radius D of the tool CI is associated with the tool number CI.

[0113] In step S106, the acquisition unit 210 acquires the option data. The option data includes the cutting amount Q and the tolerance amount TA. When the cutting amount Q is specified, the predetermined machining width W is determined. When the tolerance amount TA is set, the determination unit 220 of the calculation device 110 determines a plurality of machining target points P on the edge line RL in step S108. The three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of each of the machining target points P is determined using the machining target data and the tolerance amount TA.

[0114] In step S110, the first calculation unit 230 of the calculation device 110 calculates the first basis vector e1 and the second basis vector e2 based on the machining target data.

[0115] In step S112, the second arithmetic unit 240 of the calculation device 110 calculates the tangent TL to the edge line RL at each of the machining target points P. In step S114, the second arithmetic unit 240 calculates the angle e formed by the second central axial line A2 of the imaginary circular cylinder CS with respect to the vertical plane VP perpendicular to the tangent TL.

[0116] In step S116, the second arithmetic unit 240 calculates the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP corresponding to each of the machining target points P. The two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI is calculated based on the machining target data, the aforementioned angle δ, the aforementioned angle ε, the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P, the predetermined machining width W, the third radius D of the tool CI, the first basis vector e1, and the second basis vector e2.

[0117] In step S118, the second arithmetic unit 240 calculates the three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI corresponding to each of the machining target points P. The three-dimensional coordinate value (Xc, Yc, Zc) of the first position C of the tool CI is calculated based on the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP, the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P, the first basis vector e1, and the second basis vector e2 on the vertical plane VP.

[0118] In step S120, the second calculation unit 240 determines whether the first positions C of the tool CI corresponding to all of the plurality of machining target points P determined in step S108 have been calculated. If the result in step S120 is NO, the process returns to step S110. If the result in step S120 is YES, the process proceeds to step S122. In step S122, the machining control unit 250 of the calculation device 110 causes the tool CI to cut the edge line RL at each of the respective machining target points P. When the process of step S122 is completed, the present processing comes to an end.

[0119] Fig. 16 is a diagram illustrating the computer program product of the calculation program that causes the calculation device 110 of the control device 30 to execute the Fig. 15. The aforementioned calculation program is recorded on a recording medium (storage medium) 310, such as a CD-ROM or a USB memory or the like, and is supplied to the control device 30.

[0120] The calculation program may be recorded in a data signal 330 flowing through a communication network 320, such as the Internet or the like, and may be supplied to the control device 30 from a server 340. The server 340 enables the calculation program, stored in a non-illustrated storage device, to be transmitted as a data signal 330 in a carrier wave. The server 340 provides the calculation program by transmitting the data signal 330 to the control device 30 via the communication network 320. In this way, the calculation program is provided in the form of a computer-readable computer program product, such as the recording medium 310 or, alternatively, the data signal 330 or the like. (Example variations)

[0121] The embodiment described above may be modified as indicated below. (Example variation 1)

[0122] In the embodiment described above, although the workpiece is the thick-walled cylinder CP, it is not necessarily limited to the thick-walled cylinder CP. The workpiece may have an outer peripheral surface in the shape of a rectangular parallelepiped and a cylindrically shaped hollow portion. A manifold block, for example, can be used as a workpiece with such a shape. Fig. Figure 17 is a diagram showing a distribution block MB used as a workpiece. In Fig. 17 the distribution block MB is arranged in the XY plane.

[0123] Since the hollow part of the manifold block MB has a cylindrical shape, the cylindrical peripheral surface SS is formed by the inner peripheral surface SN of the manifold block MB. The central axial line passing through the center of the cylindrical peripheral surface SS is a first central axial line A1 of the manifold block MB. In the present exemplary modification, the first direction in which the first central axial line A1 of the manifold block MB extends is the Y-axis direction.

[0124] The through hole HE, which penetrates the manifold block MB from the outer peripheral surface to the inner peripheral surface SN of the manifold block MB in the form of the circular cylinder CS, is defined by the peripheral wall surface SW. The second direction in which the second central axial line A2 of the circular cylinder CS forming the through hole HE extends is the Z-axis direction. In the present exemplary modification, the tool CI removes the burr BR formed on the inner peripheral surface SN of the manifold block MB.

[0125] The edge line RL forming the edge of the through hole HE is the edge line RLN. The edge line RLN is formed by the peripheral wall surface SW of the through hole HE and the inner peripheral surface SN of the manifold block MB. In the same way as in the case where the workpiece is the thick-walled cylinder CP, the second calculation unit 240 calculates the first position C of the tool CI that intersects the edge line RLN of the manifold block MB with the specified machining width W. (Exemplary variation 2)

[0126] In the embodiment described above, the through-hole HE penetrating the thick-walled cylinder CP is circular when viewed from directly above the through-hole HE. However, instead of such a circular through-hole HE, an elongated through-hole HE may also be provided in the thick-walled cylinder CP. Fig. Figure 18 is a diagram describing the thick-walled cylinder CP and the through hole HE with such a long hole shape that penetrates the thick-walled cylinder CP. In Fig. 18 is instead of the Fig. 3A, the through hole HE having such an elongated hole shape is formed in the thick-walled cylinder CP.

[0127] The edge line RL of the through hole HE includes two circular arc segments that form a circular arc shape when viewed directly above the through hole HE, and two straight line segments that run parallel to the first direction (the Y-axis direction). As mentioned above, the first direction is the direction in which the first central axial line A1 of the thick-walled cylinder CP extends. Within the edge line RL, the two circular arc segments form the two corners (both ends) of the through hole HE, which has the shape of an elongated hole. These two circular arc segments are connected via the two aforementioned straight line segments to form the edge line RL.

[0128] The through hole HE with the elongated hole shape penetrates CB1 in the form of an imaginary columnar body, as in Fig. 18, the thick-walled cylinder CP from the outer peripheral surface ST to the inner peripheral surface SN of the thick-walled cylinder CP. The columnar body CB1 includes two imaginary parallel circular cylinders CS1 and CS2 at both corners (both ends) of the columnar body CB1. The second direction in which the central axial line A21 of the circular cylinder CS1 and the central axial line A22 of the circular cylinder CS2 extend is the Z-axis direction. Accordingly, the central axes A21 and A22 are parallel to each other. When viewed from directly above the through hole HE along the Z-axis, the through hole HE has the shape of an elongated hole, which is consistent with the columnar body CB1. The through hole HE is defined by the circumferential wall surface SW.

[0129] Fig. 19 is a diagram schematically showing the through hole HE in the form of a slot. In Fig. Figure 19 shows a case where the thick-walled cylinder CP with the slotted hole HE is viewed from the positive direction of the Z-axis on the outside of the thick-walled cylinder CP. In Fig. Figure 19 shows the circular base surfaces of the two imaginary circular cylinders CS1 and CS2 in the through hole HE with the slotted hole shape. The radius of the circular cylinder CS1 is equal to the radius of the circular cylinder CS2. The radius of each of the circular cylinders CS1 and CS2 is the second radius R2.

[0130] The edge line RL of the slotted through hole HE comprises a circular arc segment RL1, a straight segment RL2, a circular arc segment RL3, and a straight segment RL4. The straight segments RL2 and RL4 run parallel to the Y-axis. The circular arc segment RL1 corresponds to half the circumference forming the side surface of the circular cylinder CS1. The circular arc segment RL3 corresponds to half the circumference forming the side surface of the circular cylinder CS2. The areas where the two circular cylinders CS1 and CS2 are inserted through the through hole HE are contained in the two corners (both ends) of the through hole HE.

[0131] In Fig. 19, the machining target point P1 is shown at a position on the edge line RL of the through hole HE where the straight line segment RL4 and the circular arc segment RL1 are connected. Fig. 19, the machining target point P2 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL1 and the straight line segment RL2 are connected.

[0132] In Fig. 19, the machining target point P3 is shown at a position on the edge line RL of the through hole HE, where the straight line segment RL2 and the circular arc segment RL3 are connected. Fig. 19, the machining target point P4 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL3 and the straight line segment RL4 are connected.

[0133] As already mentioned, the circular arc segment RL1 from the machining target point P1 to the machining target point P2 corresponds to the imaginary circular cylinder CS1. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL1 of the edge line RL with the predetermined machining width W, in a manner similar to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0134] As already mentioned, the circular arc segment RL3 from the machining target point P3 to the machining target point P4 corresponds to the imaginary circular cylinder CS2. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL3 of the edge line RL with the predetermined machining width W, in a similar manner to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0135] Specifically, the second arithmetic unit 240 calculates the first position C of the tool CI in the circular arc segments RL1 and RL3 of the edge line RL based on the machining target data, the second ellipse E2 determined based on the machining target data, the predetermined machining width W, the third radius D of the tool CI, and the first base vector e1 and the second base vector e2 on the vertical plane VP. The tool CI, located at the first position C corresponding to each of the machining target points P within the circular arc segments RL1 and RL3, intersects the edge line RL with the predetermined machining width W.

[0136] In the three-dimensional coordinate space defined by the X-axis, the Y-axis, and the Z-axis, the three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P2 with the predetermined machining width W is set to (Xc2, Yc2, Zc2). The machining target point P2 is included in the aforementioned circular arc segment RL1 within the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P3 with the predetermined machining width W is set to (Xc3, Yc3, Zc3). The machining target point P3 is included in the aforementioned circular arc segment RL3 within the edge line RL.

[0137] As in Fig. As shown in Figure 19, the straight line segment RL2 of the edge line RL extends in the Y-axis direction and connects the machining target points P2 and P3. Specifically, the machining target point P2 is located at a position obtained by shifting the machining target point P3 in the Y-axis direction by the length of the straight line segment RL2 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P2 is also positioned at a position obtained by shifting the first position C of the tool CI corresponding to the machining target point P3 in the Y-axis direction by the length of the straight line segment RL2.

[0138] Accordingly, the difference between the Y component Yc2 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P2 and the Y component Yc3 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P3 corresponds to the length of the straight line segment RL2 of the edge line RL. In this way, the Y components Yc2 and Yc3 are determined.

[0139] In addition, the X component Xc2 and the Z component Zc2 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P2 are equal to the X component Xc3 and the Z component Zc3 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P3. With respect to all machining target points P on the straight line segment RL2 of the edge line RL, the X component and the Z component of the three-dimensional coordinate value representing the first position C of the tool CI are both constant values, and only the Y component changes linearly.

[0140] In the three-dimensional coordinate space defined by the X-axis, the Y-axis, and the Z-axis, the three-dimensional coordinate value of the first position C of the tool CI intersecting the edge line RL at the machining target point P4 with the predetermined machining width W is set to (Xc4, Yc4, Zc4). The machining target point P4 is included in the aforementioned circular arc segment RL3 on the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI intersecting the edge line RL at the machining target point P1 with the predetermined machining width W is set to (Xc1, Yc1, Zc1). The machining target point P1 is included in the aforementioned circular arc segment RL1 on the edge line RL.

[0141] As in Fig. As shown in Figure 19, the straight line segment RL4 of the edge line RL extends in the Y-axis direction and connects the machining target points P4 and P1. Specifically, the machining target point P1 is located at a position obtained by shifting the machining target point P4 in the Y-axis direction by the length of the straight line segment RL4 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P1 is also positioned at a position obtained by shifting the first position C of the tool CI corresponding to the machining target point P4 in the Y-axis direction by the length of the straight line segment RL4.

[0142] Accordingly, the difference between the Y component Yc1 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P1 and the Y component Yc4 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P4 corresponds to the length of the straight line segment RL4 of the edge line RL. In this way, the Y components Yc1 and Yc4 are determined.

[0143] In addition, the X component Xc1 and the Z component Zc1 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P1 are equal to the X component Xc4 and the Z component Zc4 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P4, respectively. With respect to all machining target points P on the straight line segment RL4 of the edge line RL, the X component and the Z component of the three-dimensional coordinate value representing the first position C of the tool CI are both constant values, and only the Y component changes linearly.

[0144] The first position C of the tool CI corresponding to each of the machining target points P1 and P2 within the circular arc segment RL1 is calculated in the manner described above. The first position C of the tool CI corresponding to each of the machining target points P3 and P4 within the circular arc segment RL3 is calculated in the manner described above. The second calculation unit 240 calculates the first position C of the tool CI within each of the straight-line segments RL2 and RL4 of the edge line RL based on the first positions C of the tool CI corresponding to the machining target points P1, P2, P3, and P4, respectively, and the machining target data. As mentioned above, the machining target data is acquired by the acquisition unit 210.The tool CI, located at the first position C corresponding to each of the machining target points P within the straight line segments RL2 and RL4, cuts the edge line RL with the specified machining width W. (Exemplary variation 3)

[0145] In the exemplary modification 2 described above, the through hole HE penetrating the thick-walled cylinder CP has the shape of an elongated hole when viewed directly above the through hole HE. However, the through hole HE may also have a rounded rectangular shape. Fig. Figure 20 is a diagram for describing the thick-walled cylinder CP and the through-hole HE, which has such a rounded rectangular shape and penetrates the thick-walled cylinder CP. The edge line RL of the through-hole HE includes four circular arc segments that form a circular arc shape when viewed directly above the through-hole HE, two straight line segments parallel to the first direction (the Y-axis direction), and two straight line segments parallel to the X-axis direction.

[0146] As mentioned above, the first direction is the direction in which the first central axial line A1 of the thick-walled cylinder CP extends. The X-axis direction is perpendicular to the Y-axis direction (the first direction) and the Z-axis direction (the second direction). The four circular arc segments form the four corners of the through hole HE, which has the rounded rectangular shape of the edge line RL. These four circular arc segments are connected via the aforementioned four straight line segments to form the edge line RL.

[0147] The through hole HE with the rounded rectangular shape penetrates in the form of an imaginary columnar body CB2, which is in Fig. 20, the thick-walled cylinder CP from the outer peripheral surface ST to the inner peripheral surface SN of the thick-walled cylinder CP. The columnar body CB2 includes four imaginary parallel circular cylinders CS10, CS20, CS30, and CS40, respectively, at the four corners of the columnar body CB2.

[0148] The second direction, in which the central axial line A210 of the circular cylinder CS10, the central axial line A220 of the circular cylinder CS20, the central axial line A230 of the circular cylinder CS30, and the central axial line A240 of the circular cylinder CS40 extend, is the Z-axis direction. Accordingly, the central axial lines A210, A220, A230, and A240 are parallel to each other. When viewed from directly above the through hole HE along the Z-axis, the through hole HE has a rounded rectangular shape, corresponding to the columnar body CB2. The through hole HE is formed by the circumferential wall surface SW.

[0149] Fig. Figure 21 is a diagram schematically showing the through-hole HE with the rounded rectangular shape. In Fig. Figure 21 shows a case where the thick-walled cylinder CP with the through-hole HE in a rounded rectangular shape is viewed from the positive direction of the Z-axis on the outside of the thick-walled cylinder CP. In Fig. Figure 21 shows the circular bottom surfaces of the four imaginary circular cylinders CS10, CS20, CS30, and CS40 in the through hole HE with a rounded rectangular shape. The radius of the circular cylinder CS10, the radius of the circular cylinder CS20, the radius of the circular cylinder CS30, and the radius of the circular cylinder CS40 are equal to each other. The radius of each of the circular cylinders CS10, CS20, CS30, and CS40 is the second radius R2.

[0150] The edge line RL of the rounded rectangular through hole HE includes a circular arc segment RL10, a straight segment RL20, a circular arc segment RL30, a straight segment RL40, a circular arc segment RL50, a straight segment RL60, a circular arc segment RL70, and a straight segment RL80. The straight segments RL20 and RL60 are parallel to the X-axis. The straight segments RL40 and RL80 are parallel to the Y-axis.

[0151] The circular arc segment RL10 corresponds to a quarter of the circumference forming the side surface of the circular cylinder CS10. The circular arc segment RL30 corresponds to a quarter of the circumference forming the side surface of the circular cylinder CS20. The circular arc section RL50 corresponds to a quarter of the circumference forming the side surface of the circular cylinder CS30. The circular arc segment RL70 corresponds to a quarter of the circumference forming the side surface of the circular cylinder CS40. The areas in which the four circular cylinders CS10, CS20, CS30, and CS40 each pass through the through hole HE are contained in the four corners of the through hole HE.

[0152] In Fig. 21, the machining target point P10 is shown at a position on the edge line RL of the through hole HE where the straight line segment RL80 and the circular arc segment RL10 are connected. Fig. 21, the machining target point P20 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL10 and the straight line segment RL20 are connected.

[0153] In Fig. 21, the machining target point P30 is shown at a position on the edge line RL of the through hole HE, where the straight line segment RL20 and the circular arc segment RL30 are connected. Fig. 21, the machining target point P40 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL30 and the straight line segment RL40 are connected.

[0154] In Fig. 21, the machining target point P50 is shown at a position on the edge line RL of the through hole HE, where the straight segment RL40 and the circular segment RL50 are connected. Fig. 21, the machining target point P60 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL50 and the straight line segment RL60 are connected.

[0155] In Fig. 21, the machining target point P70 is shown at a position on the edge line RL of the through hole HE, where the straight line segment RL60 and the circular arc segment RL70 are connected. Fig. 21, the machining target point P80 is shown at a position on the edge line RL of the through hole HE where the circular arc segment RL70 and the straight line segment RL80 are connected.

[0156] As already mentioned, the circular arc segment RL10 from the machining target point P10 to the machining target point P20 corresponds to the imaginary circular cylinder CS10. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL10 of the edge line RL with the predetermined machining width W, in a manner similar to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0157] As already mentioned, the circular arc segment RL30 from the machining target point P30 to the machining target point P40 corresponds to the imaginary circular cylinder CS20. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL30 of the edge line RL with the predetermined machining width W, in a manner similar to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0158] As mentioned above, the circular arc segment RL50 from the machining target point P50 to the machining target point P60 corresponds to the imaginary circular cylinder CS30. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL50 of the edge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0159] As mentioned above, the circular arc segment RL70 from the machining target point P70 to the machining target point P80 corresponds to the imaginary circular cylinder CS40. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI that intersects the circular arc segment RL70 of the edge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE that intersects the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.

[0160] Specifically, the second arithmetic unit 240 calculates the first position C of the tool CI in each of the circular arc segments RL10, RL30, RL50, and RL70 of the edge line RL based on the machining target data, the second ellipse E2 determined based on the machining target data, the predetermined machining width W, the third radius D of the tool CI, and the first base vector e1 and the second base vector e2 on the vertical plane VP. The tool CI, located at the first position C corresponding to each of the machining target points P within the circular arc segments RL10, RL30, RL50, and RL70, intersects the edge line RL with the predetermined machining width W.

[0161] As in Fig. As shown in Figure 21, the straight line segment RL40 of the edge line RL extends in the Y-axis direction and connects the machining target points P40 and P50. Specifically, the machining target point P40 is located at a position obtained by shifting the machining target point P50 in the Y-axis direction by the length of the straight line segment RL40 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P40 is also positioned at a position obtained by shifting the first position C of the tool CI corresponding to the machining target point P50 in the Y-axis direction by the length of the straight line segment RL40. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI which intersects the straight line segment RL40 of the edge line RL with the predetermined machining width W, in a manner similar to the case of the elongated hole-shaped through hole HE which has the Fig. 18 and Fig. 19 penetrates the thick-walled cylinder CP.

[0162] As in Fig. As shown in Figure 21, the straight line segment RL80 of the edge line RL extends in the Y-axis direction and connects the machining target points P80 and P10. Specifically, the machining target point P10 is located at a position obtained by moving the machining target point P80 in the Y-axis direction by the length of the straight line segment RL80 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P10 is also positioned at a position obtained by moving the first position C of the tool CI corresponding to the machining target point P80 in the Y-axis direction by the length of the straight line segment RL80. Accordingly, the second calculation unit 240 calculates the first position C of the tool CI which intersects the straight line segment RL80 of the edge line RL with the predetermined machining width W, in a manner similar to the case of the slot-shaped through hole HE which has the Fig. 18 and Fig. 19 penetrates the thick-walled cylinder CP.

[0163] The first position C of the tool CI corresponding to the machining target point P10 within the circular arc segment RL10 is calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P40 within the circular arc segment RL30 is also calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P50 within the circular arc segment RL50 is also calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P80 within the circular arc segment RL70 is also calculated in the manner described above.

[0164] The second calculation unit 240 calculates the first position C of the tool CI within each of the straight-line segments RL40 and RL80 of the edge line RL based on the first positions C of the tool CI corresponding to the machining target points P10, P40, P50, and P80, respectively, and the machining target data. As mentioned above, the machining target data is acquired by the acquisition unit 210. The tool CI, located at the first position C corresponding to each of the machining target points P within the straight-line segments RL40 and RL80, intersects the edge line RL with the specified machining width W.

[0165] In the three-dimensional coordinate space defined by the X-axis, the Y-axis, and the Z-axis, the three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P20 with the predetermined machining width W is set to (Xc20, Yc20, Zc20). The machining target point P20 is included in the aforementioned circular arc segment RL10 within the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P30 with the predetermined machining width W is set to (Xc30, Yc30, Zc30). The machining target point P30 is included in the aforementioned circular arc segment RL30 within the edge line RL.

[0166] As in Fig. As shown in Figure 21, the straight line segment RL20 of the edge line RL extends in the X-axis direction and connects the machining target points P20 and P30. Specifically, the machining target point P30 is located at a position obtained by shifting the machining target point P20 in the X-axis direction by the length of the straight line segment RL20 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P30 is also positioned at a position obtained by shifting the first position C of the tool CI corresponding to the machining target point P20 in the X-axis direction by the length of the straight line segment RL20.

[0167] Accordingly, the difference between the X component Xc30 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P30 and the X component Xc20 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P20 corresponds to the length of the straight line segment RL20 of the edge line RL. In this way, the X components Xc20 and Xc30 are determined.

[0168] In addition, the Y component Yc20 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P20 is equal to the Y component Yc30 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P30.

[0169] The machining target points P20 and P30 are located on the cylindrical peripheral surface SS of the thick-walled cylinder CP. As shown in Fig. As shown in Figure 10A, the cylindrical peripheral surface SS, when viewed from the Y-axis, is represented by a circle with the first radius R1 centered on a position in the XZ plane of the first central axial line A1 of the thick-walled cylinder CP. The segment RL20, which is a straight line when viewed from the positive direction of the Z-axis, is seen as a part of an arc of this circle when viewed from the negative direction of the Y-axis. Fig. 10A the two-dimensional coordinate value of the point O, which is the intersection point between the second central axis A2 and the X-axis, is defined as (0, 0), then the coordinate value of the center position of the circle representing the cylindrical peripheral surface SS is (-f, 0).

[0170] Fig. 22 is a diagram describing the positional relationship between the first position C of the tool CI and the first central axial line A1 of the thick-walled cylinder CP. In Fig. Figure 22 shows a case where the thick-walled cylinder CP, which is intersected by a plane perpendicular to the Y-axis (a plane parallel to the XZ plane), is viewed from the negative direction of the Y-axis. The tool CI removes the burr BR by intersecting the edge line RL including the machining target point P with the specified machining width. Within the intersected edge line RL, the segment RL20 from the machining target point P20 to the machining target point P30 is enclosed in the aforementioned circle, which represents the cylindrical peripheral surface SS.

[0171] Accordingly, the first position C of the tool CI intersecting the edge line RL within the segment RL20 from the machining target point P20 to the machining target point P30 is located on a circular arc CC with a radius R3 centered at a position equal to the center position (-f, 0) of the circle representing the aforementioned cylindrical peripheral surface SS. The center position (-f, 0) of the circle CC is the position of the first central axis A1 of the thick-walled cylinder CP on the XZ plane. The circle CC is expressed in the XZ plane by Equation (23). The X component and the Z component of the three-dimensional coordinate value representing the first position C of the tool CI intersecting the edge line RL in the segment RL20 from the machining target point P20 to the machining target point P30 satisfy Equation (23). (X+f)2+Z2=R32

[0172] The X component Xc20 and the Z component Zc20 of the three-dimensional coordinate value representing the first position C20 of the tool CI corresponding to the machining target point P20 also satisfy Equation (23). The X component Xc30 and the Z component Zc30 of the three-dimensional coordinate value representing the first position C30 of the tool CI corresponding to the machining target point P30 also satisfy Equation (23). Accordingly, the radius R3 of the aforementioned circle CC is obtained by Equation (24). The radius R3 of the circle CC is equal to the distance between the first position C20 of the tool CI corresponding to the machining target point P20 and the first central axial line A1 of the thick-walled cylinder CP.The radius R3 of the circle CC is also equal to the distance between the first position C30 of the tool CI, which corresponds to the machining target point P30, and the first central axial line A1 of the thick-walled cylinder CP. R3=(Xc20+f)2+Zc202 =(Xc30+f)2+Zc302

[0173] Each of the Z components Zc20 and Zc30 is determined by substituting the corresponding one of the above-mentioned X components Xc20 and Xc30 of the three-dimensional coordinate value representing the first position C of the tool CI, which corresponds to the machining target points P20 and P30, respectively, into the variable X in Equation (23).

[0174] When the X component of the three-dimensional coordinate value representing the first position C of the tool CI changes at any machining target point P on the segment RL20 of the edge line RL, the Y component remains unchanged, and the Z component changes depending on the X component according to equation (23). In addition, in Fig. 22 shows an example of a case where the edge line RL (RLN) forming the edge of the through hole HE is cut by the tool CI to remove the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP. However, the same also applies to the case where the edge line RL forming the edge of the through hole HE is cut by the tool CI to remove the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP.

[0175] In the three-dimensional coordinate space defined by the X-axis, the Y-axis, and the Z-axis, the three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P60 with the specified machining width W is set to (Xc60, Yc60, Zc60). The machining target point P60 is included in the aforementioned circular arc segment RL50 within the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the edge line RL at the machining target point P70 with the specified machining width W is set to (Xc70, Yc70, Zc70). The machining target point P70 is included in the aforementioned circular arc segment RL70 within the edge line RL.

[0176] As in Fig.As shown in Figure 21, the straight line segment RL60 of the edge line RL extends in the X-axis direction and connects the machining target points P60 and P70. Specifically, the machining target point P60 is located at a position obtained by shifting the machining target point P70 in the X-axis direction by the length of the straight line segment RL60 of the edge line RL. The first position C of the tool CI corresponding to the machining target point P60 is also positioned at a position obtained by shifting the first position C of the tool CI corresponding to the machining target point P70 in the X-axis direction by the length of the straight line segment RL60.

[0177] Accordingly, the difference between the X component Xc60 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P60 and the X component Xc70 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P70 corresponds to the length of the straight line segment RL60 of the edge line RL. In this way, the X components Xc60 and Xc70 are determined.

[0178] In addition, the Y component Yc60 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P60 is equal to the Y component Yc70 of the three-dimensional coordinate value representing the first position C of the tool CI corresponding to the machining target point P70.

[0179] The machining target points P60 and P70 are located on the cylindrical peripheral surface SS of the thick-walled cylinder CP. Accordingly, Equation (23) is satisfied, in which the Z components Zc60 and Zc70 of the three-dimensional coordinate value representing the first position C of the tool CI, corresponding to the machining target points P60 and P70, serve as the variable Z. Each of the Z components Zc60 and Zc70 is determined by substituting the corresponding one of the above-mentioned X components Xc60 and Xc70 of the three-dimensional coordinate value representing the first position C of the tool CI, corresponding to the machining target points P60 and P70, into the variable X in Equation (23).

[0180] When the X component of the three-dimensional coordinate value representing the first position C of the tool CI changes at any machining target point P on the segment RL60 of the edge line RL, the Y component remains unchanged, and the Z component changes depending on the X component according to Equation (23).

[0181] The first position C of the tool CI corresponding to the machining target point P20 within the circular arc segment RL20 is calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P30 within the circular arc segment RL30 is also calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P60 within the circular arc segment RL50 is also calculated in the manner described above. The first position C of the tool CI corresponding to the machining target point P70 within the circular arc segment RL70 is also calculated in the manner described above.

[0182] The second calculation unit 240 calculates the first position C of the tool CI within each of the rectilinear segments RL20 and RL60 of the edge line RL based on the first positions C of the tool CI corresponding to the machining target points P20, P30, P60, and P70, respectively, and the machining target data. As mentioned above, the machining target data is acquired by the acquisition unit 210. The tool CI, located at the first position C corresponding to the machining target points P within each of the rectilinear segments RL20 and RL60, intersects the edge line RL with the specified machining width W. (Exemplary variation 4)

[0183] The above-described embodiment and the exemplary modifications can optionally be combined. [Inventions that can be derived from the embodiment]

[0184] The inventions derived from the above-described embodiment and its modifications will be described below.

[0185] (1) The calculation device (110) calculates the first position (C) of the tool (CI) configured to intersect the edge line (RL) with the predetermined machining width (W), wherein the edge line is formed by the cylindrical peripheral surface (SS) of the workpiece (CP, MB) and the peripheral wall surface (SW) defining the through-hole (HE) passing through the workpiece, wherein the workpiece has the outer peripheral surface (ST) and the inner peripheral surface (SN), wherein at least one of the outer peripheral surface and the inner peripheral surface is formed as the cylindrical peripheral surface, and the through-hole in the shape of the circular cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or the columnar body (CB1, CB2) penetrates the workpiece from the outer peripheral surface to the inner peripheral surface, wherein the columnar body includes the plurality of circular cylinders,which are parallel to each other and which are respectively arranged in corners of the columnar body. The calculation device comprises: the acquisition unit (210) configured to acquire machining target data and the third radius (D) of the tool, wherein the machining target data includes the second position of the workpiece, the third position of the through hole, the first radius (R1) of the cylindrical peripheral surface of the workpiece, the second radius (R2) of the circular cylinder, the first direction in which the first central axis line (A1) of the workpiece extends, and the eccentric distance (f) of the second central axis line (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axis line, wherein the second central axis line extends in the second direction perpendicular to the first direction; the first calculation unit (230) configured tothat it calculates the first base vector (e1) and the second base vector (e2) based on the machining target data, wherein the first base vector is a vector on the plane (VP) and perpendicular to the second central axial line and has as its starting point the machining target point (P) lying on the edge line, and the second base vector is a vector on the plane and perpendicular to the first base vector and has the machining target point as its starting point, and wherein the plane is perpendicular to the tangent (TL) to the edge line at the machining target point, the plane includes the machining target point, and the plane is determined based on the fourth position of the machining target point and the machining target data; and the second computing unit (240) configured to calculate the first position of the tool intersecting the edge line including the machining target point based on the machining target data, the ellipse (E2),which is formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector. According to such features, it is possible to accurately calculate the position of the tool, which realizes a stable cutting process for the purpose of burr removal.

[0186] (2) The calculation device may further include the determination unit (220) configured to, when the tolerance amount (TA) with respect to the machining path (RP) corresponding to the edge line is set by the user, determine the plurality of machining target points on the edge line based on the tolerance amount, wherein the tool intersects the edge line while moving along the machining path. The first calculation unit may calculate the first basis vector and the second basis vector corresponding to each of the plurality of machining target points, and the second calculation unit may calculate the first position of the tool corresponding to each of the plurality of machining target points. In accordance with such features, it is possible to realize the cutting process that considers a balance between the required accuracy of the cutting process and the calculation capability of the calculation device.

[0187] (3) The second calculation unit can calculate the first position of the tool based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, the second base vector, and the angle (δ) formed by the line segment (SL) connecting, in the plane, the first end point (G1) on the cylindrical peripheral surface and the second end point (G2) on the contour line of the ellipse with the second base vector, wherein the distance between the first end point and the second end point is equal to the predetermined machining width. According to such features, it is possible to accurately calculate the position of the tool according to the angle in the machining width direction of the machining surface formed by cutting.

[0188] (4) In the case where: the first direction is defined as the Y-axis direction; the second direction is defined as the Z-axis direction which is perpendicular to the Y-axis direction; and the third direction which is perpendicular to both the Y-axis direction and the Z-axis direction is defined as the X-axis direction, the first computing unit can calculate, in a coordinate space defined by the X-axis, the Y-axis and the Z-axis, the first basis vector e1 and the second basis vector e2 by equation (8) and equation (9) which use the first radius R1 of the workpiece, the second radius R2 of the circular cylinder, the off-center distance f and the angle ϕ formed by the normal from the machining target point to the second central axis with respect to the X-axis;the second computing unit can: calculate the two-dimensional coordinate value (Sc, Tc) of the first position of the tool on the plane through equations (12) to (15), equations (17) to (19), equation (21) and equation (22) which use: the first radius R1 of the workpiece; the second radius R2 of the circular cylinder; the off-center distance f; the predetermined machining width √2 · Q; the third radius D of the tool; the first basis vector e1 and the second basis vector e2; the three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position; the angle ε formed by the second central axis line with respect to the plane;and the angle δ formed by the line segment (SL) connecting the first end point (G1) (S1, T1) and the second end point (G2) (S2, T2) with respect to the second base vector e2, wherein the first end point lies in the plane and on the cylindrical circumferential surface, the second end point lies on the contour line of the ellipse in the plane, the distance between the first end point (S1, T1) and the second end point (S2, T2) is equal to the predetermined machining width √2 · Q;and calculating the three-dimensional coordinate value (Xc, Yc, Zc) of the first position of the tool intersecting the edge line at the machining target point by equation (20) based on the two-dimensional coordinate value (Sc, Tc) of the first position of the tool, the first basis vector e1 and the second basis vector e2, and the three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position of the machining target point obtained by using the machining target data. In accordance with such features, it is possible to accurately calculate the position of the tool according to the angle in the direction of the machining width of the machining surface formed by cutting.

[0189] (5) The through hole can penetrate the workpiece in the shape of a circular cylinder, and when viewed from directly above the through hole, the through hole can have a circular shape corresponding to the circular cylinder. According to these features, it is possible to accurately calculate the position of the tool intersecting the edge line of the circular through hole.

[0190] (6) The through hole may penetrate the workpiece in the form of a columnar body, wherein the columnar body includes two of the circular cylinders arranged parallel to each other and respectively at the two corners of the columnar body. When the through hole is viewed from directly above the through hole, the through hole may have the shape of an elongated hole corresponding to the columnar body. In the case where the through hole is viewed from directly above the through hole, the edge line of the through hole may include two circular arc segments (RL1, RL3) corresponding to the two circular cylinders, respectively, and two straight line segments (RL2, RL4) parallel to the first direction.The second calculation unit can calculate the first position of the tool corresponding to the machining target point within each of the two circular arc segments of the edge line based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector; and the second calculation unit can calculate the first position of the tool corresponding to the machining target point within each of the two rectilinear segments of the edge line based on the first position of the tool within each of the two circular arc segments and the machining target data. According to such features, it is possible to accurately calculate the position of the tool intersecting the edge line of the elongated through hole.

[0191] (7) The through hole may penetrate the workpiece in the form of a columnar body, the columnar body including four mutually parallel circular cylinders, each arranged at four corners of the columnar body. When the through hole is viewed directly from above, the through hole may have a rounded rectangular shape corresponding to the columnar body. In the case where the through hole is viewed from directly above the through hole, the edge line of the through hole may include four circular arc segments (RL10, RL30, RL50, RL70) respectively corresponding to the four circular cylinders, two straight line segments (RL40, RL80) running parallel to the first direction, and two other straight line segments (RL20, RL60) running parallel to a direction perpendicular to the first direction and to the second direction.The second calculation unit can calculate, based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector, the first position of the tool corresponding to the machining target point within each of the four circular arc segments of the edge line; and the second calculation unit can calculate, based on the first position of the tool within each of the four circular arc segments and the machining target data, the first position of the tool corresponding to the machining target point within each of the two straight line segments parallel to the first direction and the other two straight line segments of the edge line. According to such features, it is possible to accurately calculate the position of the tool intersecting the edge line of a through hole with the rounded rectangular shape.

[0192] (8) The detection unit can detect the predetermined machining width based on user input. According to this feature, the user is able to adjust the machining width of the machining surface formed on the edge line to a value necessary for removing the burrs.

[0193] (9) The acquisition unit may acquire the machining target data, the predetermined machining width, and the third radius of the tool based on the G code indicating a command to call a macro program (MP) from the storage device (120), the G code having as an argument at least one of the predetermined machining width, the machining object data, or the number assigned to the tool, the second arithmetic unit may read the macro program from the storage device based on the G code, and the second arithmetic unit may calculate the first position of the tool by executing the macro program. According to such features, convenience is increased for users who are accustomed to cutting the workpiece using the G code.

[0194] (10) The machine tool (10) includes the calculation device, the tool, and the machining control unit (250) that causes the tool to move to the first position and causes the tool to cut the edge line. According to such features, it is possible to realize a stable cutting process for the purpose of burr removal.

[0195] (11) The control device (30) for the machine tool (10) includes the calculation device and the machining control unit (250) that moves the tool to the first position and causes the tool to cut the edge line. According to such features, it is possible to realize a stable cutting process for the purpose of removing burrs.

[0196] (12) The calculation program causes the processing circuit included in the calculation device (110) to perform the detection step, the first calculation step, and the second calculation step, wherein: the calculation device is configured to calculate the first position (C) of the tool (CI) configured to intersect the edge line (RL) with the predetermined machining width (W), the edge line being formed by the cylindrical peripheral surface (SS) of the workpiece (CP, MB) and the peripheral wall surface (SW) defining the through-hole (HE) passing through the workpiece; the workpiece has the outer peripheral surface (ST) and the inner peripheral surface (SN), at least one of the outer peripheral surface and the inner peripheral surface being formed as the cylindrical peripheral surface; and the through-hole in the shape of the circular cylinder (CS, CS1, CS2, CS10, CS20, CS30,CS40) or the columnar body (CB1, CB2) penetrates the workpiece from one to the other of the outer peripheral surface (ST) and the inner peripheral surface, wherein the columnar body includes the plurality of circular cylinders that are parallel to each other and are respectively arranged in corners of the columnar body, and wherein the detecting step comprises detecting the machining target data and the third radius (D) of the tool, wherein the machining target data includes the second position of the workpiece, the third position of the through hole, the first radius (R1) of the cylindrical peripheral surface of the workpiece, the second radius (R2) of the circular cylinder, the first direction in which the first central axial line (A1) of the workpiece extends, and the eccentric distance (f) of the second central axial line (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axial line,wherein the second central axial line extends in the second direction perpendicular to the first direction; the first calculation step includes calculating the first basis vector (e1) and the second basis vector (e2) based on the machining target data, wherein the first basis vector is a vector on the plane (VP) and perpendicular to the second central axial line and has as its starting point the machining target point (P) located on the edge line, and the second basis vector is a vector on the plane and perpendicular to the first basis vector and has the machining target point as its starting point, and wherein the plane is perpendicular to the tangent (TL) to the edge line at the machining target point, the plane includes the machining target point, and the plane is determined based on the fourth position of the machining target point and the machining target data; and the second calculation step includes calculating the first position of the tool,which intersects the edge line including the machining target point, based on the machining target data, the ellipse (E2) formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector. According to these features, it is possible to accurately calculate the position of the tool, which realizes a stable cutting process for the purpose of burr removal. LIST OF REFERENCE SYMBOLS 10 Machine tool 20 basic bodies 30 Control unit 52 beds 54 sleds 56 Table 74, 76, 78 movable element 110 Calculation device 120 storage device 130 Input / output device 210 registration unit 220 Determination unit 230 first computing unit 240 second computing unit 250 machining control unit 310 Recording medium 320 Communication network 330 data signal 340 servers QUOTES CONTAINED IN THE DESCRIPTION

[0000] This list of documents submitted by the applicant was generated automatically and is included solely for the convenience of the reader. This list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions. Cited patent literature

[0000] WO 2016 / 133162 A1 [0002, 0003]

Claims

[1] A calculation device (110) configured to calculate a first position (C) of a tool (CI) configured to cut an edge line (RL) with a predetermined machining width (W), the edge line being formed by a cylindrical peripheral surface (SS) of a workpiece (CP, MB) and a peripheral wall surface (SW) defining a through hole (HE) passing through the workpiece, the workpiece having an outer peripheral surface (ST) and an inner peripheral surface (SN), at least one of the outer peripheral surface and the inner peripheral surface being formed as the cylindrical peripheral surface, and the through hole in the form of a circular cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a columnar body (CB1, CB2) penetrating the workpiece from one of the outer peripheral surface and the inner peripheral surface to the other,wherein the columnar body includes a plurality of circular cylinders which are parallel to each other and are respectively arranged in corners of the columnar body, wherein the calculation device comprises a detection unit (210) configured to detect machining target data and a third radius (D) of the tool, the machining target data including a second position of the workpiece, a third position of the through hole, a first radius (R1) of the cylindrical peripheral surface of the workpiece, a second radius (R2) of the circular cylinder, a first direction in which a first central axis (A1) of the workpiece extends, and an eccentric distance (f) of a second central axis (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axis, the second central axis extending in a second direction perpendicular to the first direction; a first calculation unit (230) configured to calculate a first basis vector (e1) and a second basis vector (e2) based on the machining target data, wherein the first basis vector is a vector on a plane (VP) and perpendicular to the second central axis and has, as a starting point, a machining target point (P) located on the edge line, and the second basis vector is a vector on the plane and perpendicular to the first basis vector and has the machining target point as a starting point, and wherein the plane is perpendicular to a tangent (TL) to the edge line at the machining target point, the plane includes the machining target point, and the plane is determined based on a fourth position of the machining target point and the machining target data; and a second calculation unit (240) configured to calculate the first position of the tool intersecting the edge line including the machining target point based on the machining target data, an ellipse (E2) formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector. [2] The computing device according to claim 1, further comprising a determination unit (220) configured to, when a tolerance amount (TA) with respect to a machining path (RP) corresponding to the edge line is set by a user, determine a plurality of machining target points on the edge line based on the tolerance amount, wherein the tool intersects the edge line while moving along the machining path, wherein the first calculation unit calculates the first basis vector and the second basis vector corresponding to each of the plurality of machining target points; and wherein the second computing unit calculates the first position of the tool corresponding to each of the plurality of machining target points. [3] The calculation device according to claim 1 or 2, wherein the second calculation unit calculates the first position of the tool based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, the second base vector, and an angle (δ) formed by a line segment (SL) connecting, in the plane, a first end point (G1) on the cylindrical peripheral surface and a second end point (G2) on a contour line of the ellipse with the second base vector, wherein a distance between the first end point and the second end point is equal to the predetermined machining width. [4] The computing device according to claim 1 or 2, wherein: in a case that: the first direction is defined as a Y-axis direction; the second direction is defined as a direction of a Z-axis that is perpendicular to the direction of the Y-axis; and a third direction that is perpendicular to both the Y-axis direction and the Z-axis direction is defined as an X-axis direction, the first calculation unit calculates, in a coordinate space defined by the X-axis, the Y-axis, and the Z-axis, the first basis vector e1 and the second basis vector e2 by a following equation (1) and a following equation (2) using the first radius R1 of the workpiece, the second radius R2 of the circular cylinder, the eccentric distance f, and an angle f formed by a perpendicular line from the machining target point to the second central axial line with respect to the X-axis; and the second computing unit: a two-dimensional coordinate value (Sc, Tc) of the first position of the tool on the plane is calculated by following equations (3) to (9) using: the first radius R1 of the workpiece; the second radius R2 of the circular cylinder; the off-center distance f; the predetermined machining width √2 · Q; the third radius D of the tool; the first base vector e1 and the second base vector e2; a three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position; an angle ε formed by the second central axis line with respect to the plane;and an angle δ formed by a line segment (SL) connecting a first end point (G1) (S1, T1) and a second end point (G2) (S2, T2) with respect to the second basis vector e2, wherein the first end point lies on the plane and on the cylindrical peripheral surface, the second end point lies on a contour line of the ellipse on the plane, a distance between the first end point (S1, T1) and the second end point (S2, T2) is equal to the predetermined machining width √2 · Q; and; a three-dimensional coordinate value (Xc, Yc, Zc) of the first position of the tool corresponding to the machining target point is calculated by a following equation (10) based on the two-dimensional coordinate value (Sc, Tc) of the first position of the tool, the first basis vector e1 and the second basis vector e2, and the three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position of the machining target point obtained using the machining target data. e1→=(cos ϕsin ϕ 0) e2→=((R2⋅cosϕ+f)sin2ϕR12−(R2⋅cos ϕ+f)2cos2 ϕ−(R2⋅cos ϕ+f)sin ϕ⋅cos ϕR12−(R2⋅cos ϕ+f)2cos2 ϕ(R12−(R2⋅cosϕ+f)2R12−(R2⋅cos ϕ+f)2cos2ϕ) (X1Y1Z1)=(XpYpZp)+S1⋅e1→+T1⋅e2→ (X1+f)2+Z12=R12 (S2+R2)2R22+T22(R2sin ε)2=1 (S1−S2)2+(T1−T2)2=2Q2 T1−T2S1−S2=±1tan δ Sc=S1+S22−D2−12Q2⋅cos δ Tc=T1+T22±D2−12Q2⋅sin δ (XcYcZc)=(XpYpZp)+Sc⋅e1→+Tc⋅e2→ [5] Calculation device according to one of claims 1 to 4, wherein: the through hole in the form of a circular cylinder penetrates the workpiece; and in a case where the through-hole is viewed from directly above the through-hole, the through-hole has a circular shape corresponding to the circular cylinder. [6] The computing device according to any one of claims 1 to 4, wherein: the through hole in the form of the columnar body penetrates the workpiece, the columnar body containing two of the circular cylinders which are parallel to each other and which are respectively arranged in both corners of the columnar body; in a case where the through hole is viewed from directly above the through hole, the through hole has the shape of an elongated hole corresponding to the columnar body; in the case that the through-hole is viewed from directly above the through-hole, the edge line of the through-hole comprises two circular arc-shaped segments (RL1, RL3) corresponding respectively to the two circular cylinders and two straight line segments (RL2, RL4) parallel to the first direction; the second calculation unit calculates, based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector, the first position of the tool corresponding to the machining target point within each of the two circular arc segments of the ridge line; and the second calculation unit calculates the first position of the tool corresponding to the machining target point within each of the two straight segments of the edge line based on the first position of the tool within each of the two circular arc segments and the machining target data. [7] The computing device according to any one of claims 1 to 4, wherein: the through hole penetrates the workpiece in the form of the columnar body, wherein the columnar body contains four of the mutually parallel circular cylinders, each arranged in four corners of the columnar body; in a case where the through-hole is viewed from directly above the through-hole, the through-hole has a rounded rectangular shape corresponding to the columnar body; in the case that the through hole is viewed from directly above the through hole, the edge line of the through hole comprises four circular arc segments (RL10, RL30, RL50, RL70) respectively corresponding to the four circular cylinders, two straight line segments (RL40, RL80) parallel to the first direction, and other two straight line segments (RL20, RL60) parallel to a direction perpendicular to the first direction and to the second direction; the second calculation unit calculates, based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector, the first position of the tool corresponding to the machining target point within each of the four circular arc segments of the ridge line; and the second calculation unit calculates, based on the first position of the tool within each of the four circular arc segments and the machining target data, the first position of the tool corresponding to the machining target point within each of the two straight line segments parallel to the first direction and the other two straight line segments of the edge line. [8] The calculation device according to any one of claims 1 to 7, wherein the detection unit detects the predetermined machining width based on a user input. [9] Calculation device according to one of claims 1 to 7, wherein: the acquisition unit acquires the machining target data, the predetermined machining width, and the third radius of the tool based on a G-code indicating a command for calling a macro program (MP) from a storage device (120), the G-code having as an argument at least one of the predetermined machining width, the machining target data, or a number associated with the tool; the second arithmetic unit reads the macro program from the storage device based on the G-code; and the second arithmetic unit calculates the first position of the tool by executing the macro program. [10] Machine tool (10), comprising: the computing device according to one of claims 1 to 9; the tool; and a machining control unit (250) configured to cause the tool to move to the first position and cause the tool to cut the edge line. [11] Control device (30) for a machine tool (10), comprising: the computing device according to any one of claims 1 to 9; and a machining control unit (250) configured to cause the tool to move to the first position and cause the tool to cut the edge line. [12] A calculation program configured to cause a processing circuit included in a calculation device (110) to perform a detection step, a first calculation step, and a second calculation step, wherein: the calculation device is configured to calculate a first position (C) of a tool (CI) configured to cut an edge line (RL) with a predetermined machining width (W), the edge line being formed by a cylindrical peripheral surface (SS) of a workpiece (CP, MB) and a peripheral wall surface (SW) defining a through hole (HE) passing through the workpiece; the workpiece having an outer peripheral surface (ST) and an inner peripheral surface (SN), at least one of the outer peripheral surface and the inner peripheral surface being formed as the cylindrical peripheral surface;and the through hole in the form of a circular cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a columnar body (CB1, CB2) penetrates through the workpiece from the outer peripheral surface to the inner peripheral surface, wherein the columnar body includes a plurality of circular cylinders which are parallel to each other and which are respectively arranged in corners of the columnar body, and wherein:; the detecting step comprises detecting machining target data and a third radius (D) of the tool, the machining target data including a second position of the workpiece, a third position of the through hole, a first radius (R1) of the cylindrical peripheral surface of the workpiece, a second radius (R2) of the circular cylinder, a first direction in which a first central axis (A1) of the workpiece extends, and an eccentric distance (f) of a second central axis (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axis, the second central axis extending in a second direction perpendicular to the first direction; the first calculation step comprises calculating a first basis vector (e1) and a second basis vector (e2) based on the machining target data, wherein the first basis vector is a vector on a plane (VP) and perpendicular to the second central axial line and has as a starting point a machining target point (P) located on the edge line, and the second basis vector is a vector on the plane and perpendicular to the first basis vector and has the machining target point as a starting point, and wherein the plane is perpendicular to a tangent (TL) to the edge line at the machining target point, the plane includes the machining target point, and the plane is determined based on a fourth position of the machining target point and the machining target data; and the second calculation step comprises calculating the first position of the tool intersecting the edge line including the machining target point based on the machining target data, an ellipse (E2) formed by the plane and the circular cylinder and determined based on the machining target data, the predetermined machining width, the third radius of the tool, the first base vector, and the second base vector.

Citation Information

Patent Citations

  • Path calculation program, processing device, path calculation method, tool, and processed article

    WO2016133162A1