Calculation device, machine tool, device for controlling a machine tool and calculation program
The calculation device addresses inaccuracies in existing burr removal methods by determining the tool's position using basis vectors and ellipses, ensuring stable and precise cutting on workpiece surfaces.
Patent Information
- Application Number
- DE112022006704
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-12-19
AI Technical Summary
Existing methods for calculating the position of a tool to remove burrs or chamfer a workpiece are inaccurate, leading to unstable cutting processes that may result in insufficient or excessive machining.
A calculation device that determines the first position of a tool to cut a burr line with a predetermined machining width by using machining target data to calculate basis vectors and intersecting an ellipse formed by the workpiece's cylindrical peripheral surface and a circular cylinder, ensuring accurate tool positioning for stable cutting.
Accurately calculates the tool position for stable cutting, preventing insufficient or excessive machining and ensuring precise removal of burrs on both outer and inner peripheral surfaces of a workpiece.
Smart Images

Figure 00000000_0001_ABST 
Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present invention relates to a calculation device (calculating device), a machine tool, a control device for a machine tool (machine tool control device) and a calculation program (calculating program). STATE OF THE ART
[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] Furthermore, both methods calculate the position of the tool using a spherical cutting surface formed at the distal end of a tool shank. The problem with these methods is that they are unable to calculate an accurate tool position that enables a stable cutting (machining) process. Cutting with a tool that has been moved to a calculated position risks either insufficiently cutting (machining) the workpiece or over-cutting (machining).
[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 a burr line with a predetermined machining width, the burr 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 having an outer peripheral surface and an inner peripheral surface, 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 or a columnar body penetrating the workpiece from the outer peripheral surface to the inner peripheral surface, the columnar body including 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: a detection unit configured to detect machining target data, a third radius of the tool, and a first angle of a tip angle formed by a cutting surface 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 axis (axial line) of the workpiece extends, and an eccentric distance of a second central axis of the circular cylinder from the first central axis, wherein the second central axis 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 axis and has as a starting point a machining target point lying on the ridge 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 ridge 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 configured to calculate the first position of the tool intersecting the ridge 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 specified machining width, the third radius of the tool, the first angle 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 burr 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 burr 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 a burr line with a predetermined machining width, the burr 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, a third radius of the tool, and an angle of a tip angle formed by a cutting surface 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 axis of the workpiece extends, and an eccentric distance of a second central axis of the circular cylinder from the first central axis, wherein the second central axis 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 axis and has, as a starting point, a machining target point lying on the ridge 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 ridge 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 ridge 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 angle 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 the processing performed based on a G-code; [ 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 outer 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 inner 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 between a first central axis of the thick-walled cylinder and a second central axis of a circular cylinder forming the through-hole in a case where an eccentric distance is zero, and Fig. 5B is a diagram showing a positional relationship between the first central axis of the thick-walled cylinder and the second central axis of a circular cylinder forming the through-hole in a case where the eccentric distance is not zero; [ Fig. 6] Fig. 6 is a diagram showing data acquired by an acquisition unit of a computing device; [ Fig. 7] 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 penetrating the thick-walled cylinder in the form of a circular cylinder and a tangent to a ridge line of the through hole; [ Fig. 9] Fig. 9 is a diagram for describing a vertical plane perpendicular to the tangent to the ridge 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 ridge line of the through hole to the first central axis 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 ridge line of the through hole to a second central axis 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 outer peripheral surface of the thick-walled cylinder, and the first base vector and the 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 a ridge 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 inner peripheral surface of the thick-walled cylinder, and the first base vector and a 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 a ridge 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 shown; [ Fig. 17] Fig. 17 is a diagram illustrating 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 in the shape of an elongated hole 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 axis 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, a movable member 78, and a movable member 80. 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, the movable member 78, and the movable member 80 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 via the movable member 80. 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. The tool CI is a chamfering tool having a drill-shaped cutting surface formed at its distal end. In the present embodiment, a thick-walled cylinder CP as a workpiece (an object to be machined) is placed on the table 56. The tool CI is driven by a motor (not shown) while rotating. Through such rotation, the tool CI, with the drill-shaped cutting surface, cuts (machines) a burr line forming an edge of a through hole HE that the thick-walled cylinder CP has. By cutting the burr line, the tool CI removes burrs formed on an inner peripheral surface or an outer peripheral surface of the thick-walled cylinder CP.
[0014] The movable member 80 rotates by a motor (not shown) in a direction DB of a B-axis that rotates around the Y-axis, with the Y-axis as the center. When the movable member 80 rotates in the B-axis direction DB, the movable member 78 also rotates in the B-axis direction DB. By rotating the movable member 78 in the B-axis direction DB, the entire tool CI installed on the spindle head can be rotated in the B-axis direction DB. In this way, the tool CI is capable of cutting the burr line while in a tilted state.
[0015] In the present embodiment, the tool CI is moved in an XYZ space during cutting 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 relatively with respect 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] In the present embodiment, during cutting, the entire tool CI rotates in the B-axis direction DB when the movable member 80 rotates the movable member 78. In addition, since the tool CI is allowed to rotate in the B-axis direction DB relative to the workpiece, the workpiece may be rotated in the B-axis direction DB instead of the tool CI. In this case, for example, a movable mechanism that rotates in the B-axis direction DB is provided on the saddle 54 and the table 56. In addition, the spindle head on which the tool CI is installed can be rotated in a direction DA of an A-axis by an unillustrated movable mechanism. The A-axis direction is a rotation direction around the X-axis with the X-axis as the center.
[0018] Instead of the movable member 74, the movable member 76, the movable member 78, and the movable member 80, a robot arm can grip the tool CI. Alternatively, the workpiece gripped by the robot arm can move in the X-axis, Y-axis, and Z-axis directions and rotate in the A-axis and B-axis directions. In both cases, the tool CI moves relative to the workpiece in the X-axis, Y-axis, Z-axis, A-axis, and B-axis directions. In the following description, the tool CI moves relative to the thick-walled cylinder CP, which serves as the workpiece.
[0019] 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 and a GPU, or the like.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] The calculation device 110 includes the acquisition unit 210, a determination unit 220, a first calculation unit 230, a second calculation unit 240, and a processing control unit 250. The acquisition unit 210, the determination unit 220, the first calculation unit 230, the second calculation 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 calculation unit 230, the second calculation 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.
[0024] 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.
[0025] As mentioned above, the tool CI cuts (machines) the burr line forming the edge 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 burr line of the through hole HE. The calculated position of the tool CI is hereinafter referred to as the first position. The determination unit 220 determines a plurality of machining target points on the burr line based on a tolerance amount included in the aforementioned option data. The tolerance amount will be discussed later.
[0026] 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 C1 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.
[0027] The machining control unit 250 controls the movable member 74, the movable member 76, the movable member 78, and the movable member 80 of the base 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 ridge line to be cut by the tool CI.
[0028] To start cutting the ridge 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 ridge 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 ridge line and moves to a first position corresponding to such a machining target point. The ridge line is cut, thereby forming a machining surface with a predetermined machining width.After such a cutting process is repeated, the machining control unit 250 stops the cutting process when the tool CI returns to the first (initial) machining target point and causes the tool CI to move to a predetermined end position.
[0029] 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.
[0030] 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.
[0031] The second calculation unit 240 of the calculation device 110 reads the macroprogram MP, which is a target for the call, from the storage device 120 as a calculation program. The acquisition unit 210 of the calculation device 110 acquires the data DT from the storage device 120. Using the data DT, the processing circuit of the calculation device 110 executes the macroprogram MP, whereby the second calculation unit 240 calculates the first position of the tool CI.
[0032] 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.
[0033] Hereinafter, the central axis of the thick-walled cylinder CP is referred to as the first central axis A1. The direction in which the first central axis 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 axis 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.
[0034] 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 ridge line RL, which forms an edge of the through hole HE, includes two types of ridge lines RLN and RLT. The ridge 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 ridge 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.
[0035] The central axis of the circular cylinder CS defining the through hole HE is hereinafter referred to as the second central axis A2. The direction in which the second central axis A2 extends is hereinafter referred to as the second direction. In the present embodiment, the second direction in which the second central axis A2 extends is the Z-axis direction. More specifically, the second direction in which the second central axis A2 extends is perpendicular to the first direction in which the first central axis 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.
[0036] Fig. 4A 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 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 burr line RL (RLT), the tool CI removes the burr BR by cutting the burr 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 burr line RL with the predetermined machining width. The first position C of the tool CI is a tip position of the drill-shaped cutting surface formed at the distal end of the tool CI.
[0037] 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 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 axis A1 of the thick-walled cylinder CP and the outer peripheral surface ST.
[0038] Fig. Figure 4B is a diagram showing a burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP and the tool CI for removing such a 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 comes into contact with the burr line RL (RLN), the tool CI removes the burr BR by cutting the burr 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 burr line RL with the predetermined machining width.
[0039] As in Fig. As shown in Figure 4B, 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 axis A1 of the thick-walled cylinder CP and the inner peripheral surface SN.
[0040] In the case of removing the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP, the tool CI is used as shown in Fig. 4A, so that it approaches the first position C from the outside of the thick-walled cylinder CP. When the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP is removed, the tool Cl, as shown in Fig. 4B, from the inside of the thick-walled cylinder CP towards the first position C.
[0041] Fig. Figure 5A is a diagram showing a positional relationship between the first central axis A1 of the thick-walled cylinder CP and the second central axis 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 axis line A2 from the first central axis 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.
[0042] 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 from 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.
[0043] Fig. Figure 5B is a diagram showing a positional relationship between the first central axis A1 of the thick-walled cylinder CP and the second central axis 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 axis A2 is located at a position offset (shifted) by the eccentric distance f in the X-axis direction from the first central axis A1.
[0044] 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 tool radius 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.
[0045] The machining target data includes a tip angle of the tool CI, a predetermined length of a region not used for cutting, 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 defining 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 above-mentioned eccentric distance f.
[0046] The tip angle of the tool CI indicates an angle of the tip angle formed by the cutting surface of the tool CI used for cutting. The angle of the tip angle of the tool CI is hereinafter referred to as a first angle ψ of the tool CI. The predetermined length of the area not used for cutting refers to a predetermined length H of the area not used for cutting along the radial direction from the outer circumference of the cutting surface of the tool CI. Details of the predetermined length H will be described later. The value of the first angle ψ of the tool CI and the value of the predetermined length H are determined in advance as user input values or alternatively as default setting values.
[0047] The thick-walled cylinder CP and the through hole HE are each positioned at predetermined positions. The position of the thick-walled cylinder CP is hereinafter referred to as a 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.
[0048] The arrangement angle CP of the thick-walled cylinder is an angle formed by the first direction in which the first central axis 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.
[0049] The penetration angle of the through-hole HE is an angle formed by the second direction, in which the second central axis 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 indicating the second direction is 0 degrees.
[0050] The option data includes a cutting amount Q and a tolerance amount TA. By cutting the burr 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 burr 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.
[0051] Fig. 7A is a diagram for describing the relationship between the cutting amount Q and the predetermined 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 cutting 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
[0052] The tolerance amount TA specifies a value related to a machining path RP when the tool CI intersects the ridge line RL while moving along the machining path RP corresponding to the ridge line RL. When the first position C of the tool CI corresponding to all (infinitely many) machining target points P on the ridge line RL is calculated, an ideal path (ideal path, trajectory) TR of the tool CI is determined. However, in practice, the first position C of the tool CI corresponding to a finite number of machining target points P is calculated. Therefore, the machining path RP formed by linearly connecting the finite number of machining target points P does not agree with the ideal path TR.
[0053] The tolerance amount TA is set by a user as the upper limit of an error in the machining path RP with respect to the ideal path TR. When the tolerance amount TA is specified, a plurality of machining target points P on the ridge line RL are determined based on the tolerance amount TA by the determination unit 220 of the calculation device 110.
[0054] Fig. 7B and Fig. 7C are diagrams for 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 path 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.
[0055] 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 trajectory TR than the one in Fig. 7B shown machining path RP.
[0056] 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 computing device 110 becomes higher. Accordingly, the user inputs the tolerance amount TA to the computing 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.
[0057] In addition, the first angle ψ of the tip angle of the tool CI and the predetermined length H of the area not used for cutting may be included in the tool data or in the option data and not in the machining target data.
[0058] Fig. Figure 8 is a diagram describing the through hole HE, which penetrates the thick-walled cylinder CP in the form of a circular cylinder CS, and the tangent TL to the ridge 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 axis of the cylindrical peripheral surface SS coincides with the first central axis A1 of the thick-walled cylinder CP. More specifically, the direction in which the central axis of the cylindrical peripheral surface SS extends is the first direction, the Y-axis direction.
[0059] 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 ridge line RL of the through hole HE is shown 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 axis A2 extends is perpendicular to the first direction in which the first central axis A1 extends.
[0060] The tangent TL to the ridge line RL of the through hole HE at the machining target point P on the ridge line RL cut by the tool CI is in Fig. 8. The tool CI includes the drill-shaped cutting surface. If a line connecting the tip (distal end) of the cutting surface and the machining target point P is perpendicular to the tangent line TL, excessive cutting will not occur when the burr line RL is intersected by the tool CI. In this case, the tip position of the cutting surface of the drill shape 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 to the burr line RL and including the machining target point P.
[0061] Fig. 9 is a diagram for describing the vertical plane VP perpendicular to the tangent TL of the ridge 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 ridge 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 ridge line RL is hereinafter referred to as the fourth position. An intersection curve IL is obtained from the intersection point of the vertical plane VP with the cylindrical peripheral surface SS and the circular cylinder CS.
[0062] The intersection curve IL comprises sections of the 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 the intersection line between the vertical plane VP and the cylindrical circumferential surface SS. The second ellipse E2 is formed as the 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 the contour line of the second ellipse E2.
[0063] 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 ridge 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 ridge line RL and in the vicinity thereof in the area on the inner side of the first ellipse E1.
[0064] 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 ridge 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 ridge 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 defining the through hole HE.
[0065] The angle formed by the second axial centerline A2 of the imaginary circular cylinder CS, which defines the shape of the through hole HE, with respect to the vertical plane VP is referred to below as the third angle. Fig. 9, the third angle ε is shown as an angle formed by the second central axis A2 with respect to a straight line VL obtained by projecting the second central axis A2 onto the vertical plane VP. The third angle ε is determined depending on the machining target point P. The straight line VL intersects the second central axis A2 at the center of the second ellipse E2 on the vertical plane VP and runs in the same direction as the major axis of the second ellipse E2. The second central axis A2 is parallel to the Z axis. Accordingly, the value of the third angle ε can be calculated. The calculation of the third angle ε will be described later.
[0066] Fig. Figure 10A is a diagram showing an angle γ formed by a perpendicular line from the machining target point P on the ridge line RL of the through hole HE to the first central axis A1 of the thick-walled cylinder CP with respect to the X-axis. 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.
[0067] 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 ridge line RL determined based on the machining target data.
[0068] 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 ridge 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.
[0069] 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
[0070] 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 ridge line RL of the through hole HE to the second central axis A2 of the circular cylinder CS forming the shape of the through hole HE, and a first base vector e1. The angle ϕ formed by the perpendicular line from the machining target point P on the ridge line RL of the through hole HE to the second central axis A2 of the through hole HE with respect to the X-axis is hereinafter referred to as the second angle ϕ.
[0071] In Fig. 10B is the Fig. 3B, Fig. 8 and Fig. The imaginary circular cylinder CS shown in Figure 9 is viewed from the positive direction of the Z-axis. Since the machining target point P is located on the ridge line RL of the through hole HE, the second 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 second angle ϕ may be less than 360°.
[0072] The length of a perpendicular line from the machining target point P to the second central axis 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 second 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 ϕ
[0073] In Fig. 10B shows the tangent TL to the ridge 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 whose origin is the machining target point P, which is perpendicular to the second central axis A2 and which forms the second 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 second angle ϕ as a parameter. e1→=(cos ϕsin ϕ 0)
[0074] The three-dimensional coordinate value of the second basis vector e2, which uses the machining target point P as the starting point P and is perpendicular to the first basis vector e1 on the vertical plane VP, 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 ϕR12−(R2⋅cos ϕ+f)2⋅cos2 ϕR12−(R2⋅cos ϕ+f)2R12−(R2⋅cos ϕ+f)2⋅cos2 ϕ)
[0075] The second basis vector e2 of the vertical plane VP is parallel to the Fig. 9 on the vertical plane VP. The second axial center line A2 of the circular cylinder CS is parallel to the Z axis. Accordingly, the third angle ε formed by the second center axis A2 with respect to the vertical plane VP satisfies Equation (10). More specifically, the third angle ε is calculated by Equation (9) and Equation (10) based on the machining target data. cos ε=e2→⋅(001)
[0076] Fig. Figure 11 is a diagram of the first position C 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 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 ridge line RL.
[0077] 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 forms with the X-axis is equal to the second angle ϕ mentioned above. The positive direction of the T-axis is a direction from the origin point to the outside of the first ellipse E1.
[0078] 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 third angle ε mentioned above. 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
[0079] At the machining target point P on the ridge line RL, the cylindrical surface of the thick-walled cylinder CP with the through hole HE lies in a region located on the inside of the first ellipse E1 and further on the outside of the second ellipse E2. A contour line (outline) of the first ellipse E1 extending from the machining target point P corresponds to the outer peripheral surface ST of the thick-walled cylinder CP. An outline of the second ellipse E2 extending from the machining target point P corresponds to the wall peripheral surface SW forming the through hole HE.
[0080] When the tool CI intersects the ridge line RL at the first position C corresponding to the machining target point P on the ridge 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. 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 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.
[0081] 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→
[0082] From the fact that the outline 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, it is understood that 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
[0083] The second endpoint G2 is located on the contour 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
[0084] As mentioned above, in the case of removing the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP, the tool CI is made to approach from the outside of the thick-walled cylinder CP. The central axis of the tool CI passing through the tip position of the cutting surface is hereinafter referred to as the third central axis A3. As mentioned above, the tool CI may be inclined when cutting the burr line RL. In the present embodiment, the angle at which the third central axis A3 of the tool CI is inclined with respect to the Z axis is equal to the above-mentioned third angle ε. In such a case, the occurrence of burrs caused by the tool CI cutting the burr line RL can be comparatively suppressed.
[0085] In the case that the tool CI is moved to the first position C, the third central axis A3 of the tool CI includes the first position C, is contained in the vertical plane VP and is also parallel to the T-axis and the second basis vector e2. As in Fig. As shown in Fig. 11, a cutting line MS between the cutting surface of the tool CI and the vertical plane VP passes through the first end point G1 and the second end point G2, which correspond to the two ends in the direction of the machining width of the aforementioned machining surface.
[0086] 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 ridge 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 ridge line RL at the first position C corresponding to the machining target point P.
[0087] Among the endpoints of the cutting line MS between the cutting surface of the tool CI and the vertical plane VP, an endpoint closest to the first endpoint G1 is hereinafter referred to as the third endpoint SO. As shown in Fig. As shown in Figure 11, the distance from the third central axis A3 of the tool CI to the third end point SO is equal to the third radius D of the tool CI. The first end point G1 is closer to the third central axis A3 than the third end point SO by the predetermined length H. More specifically, the distance between the first end point G1 and the third central axis A3 of the tool CI is D - H.
[0088] 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. (S1−S2)2+(T1−T2)2=2Q2
[0089] The length of the line segment SL connecting the first endpoint G1 and the second endpoint G2 is equal to the distance between the first endpoint G1 and the second endpoint G2 and therefore equal to the specified machining width W. The line segment SL is contained in the cutting line MS between the cutting surface of the tool CI and the vertical plane VP. The first position C of the tool CI lies on an extension of the line segment SL. The first position C of the tool CI is located among the endpoints of the cutting line MS at an endpoint position closest to the second endpoint G2.
[0090] In Fig. 12, the angle formed by the line segment SL (the intersection line MS) with respect to the second base vector e2, which is parallel to the T-axis, is indicated by an auxiliary line LL passing through the second endpoint G2 and which is parallel to the second base vector e2. The angle formed by the line segment SL with respect to the second base vector e2 is half of the aforementioned first angle ψ of the tool CI. The angle formed by the line segment SL with respect to the second base vector e2 is a value greater than 0° and also less than or equal to 90° (0° < ψ / 2 ≤ 90°). Accordingly, Equation (16) is obtained by considering a right-angled triangle in which the line segment SL connecting the first endpoint G1 (S1, T1) and the second endpoint G2 (S2, T2) serves as the hypotenuse. T1−T2S1−S2=1tanψ2
[0091] The angle formed by the intersection line MS with the third central axis A3 of the tool CI, which is parallel to the T-axis, is half of the above-mentioned first angle ψ of the tool CI. Accordingly, the two-dimensional coordinate value (Sc, Tc) representing the first position C of the tool CI on the vertical plane VP is expressed by Equation (17) and Equation (18) using the above-mentioned two-dimensional coordinate value (S2, T2) of the above-mentioned second end point G2. Sc=S2+2⋅Q sinψ2−D+H Tc=T2+2⋅Q cosψ2−D−Htanψ2
[0092] 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 (18). 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.
[0093] 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 (19). (XcYcZc)=(XpYpZp)+Sc⋅e1→+Tc⋅e2→
[0094] Equation (19) 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.
[0095] The first basis vector e1 and the second basis vector e2 of the vertical plane VP are included in equation (19). The first basis vector e1 and the second basis vector e2 on the vertical plane VP are calculated by the first calculation unit 230 based on equation (8) and equation (9).
[0096] 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 (19). 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 (18).
[0097] 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 machining target data acquired by the acquisition unit 210, the second ellipse E2 formulated using the above-mentioned third 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. Furthermore, in the present embodiment, the predetermined length H and the first angle ψ of the tool CI are included in the machining target data.
[0098] Fig. Figure 13 is a diagram showing 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. Fig. 13 is in the same way as in Fig. 11 The origin point of the vertical plane VP is the machining target point P(0, 0) on the ridge line 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).
[0099] The cylindrical surface of the thick-walled cylinder CP lies at the machining target point P on the ridge line RL in an area that lies on the outer side of the first ellipse E1 and further on the outer side of the second ellipse E2. The outline of the first ellipse E1, extending 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, extending from the machining target point P, corresponds to the wall circumferential surface SW that forms the through hole HE.
[0100] When the tool CI intersects the ridge line RL at the first position C corresponding to the machining target point P on the ridge line RL, the machining surface of the specified 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. 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 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 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.
[0101] 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 outline 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).
[0102] The second endpoint G2 lies on the contour 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).
[0103] As mentioned above, in the case where the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP is removed, the tool CI is caused to approach from the inside of the thick-walled cylinder CP. In addition, as mentioned above, the tool CI may be inclined when cutting the burr line RL. In the present embodiment, the angle at which the third central axis A3 of the tool CI is inclined with respect to the Z axis is equal to the above-mentioned third angle ε. In such a case, the occurrence of burrs caused by the tool CI cutting the burr line RL can be comparatively suppressed.
[0104] In the case that the tool CI is moved to the first position C, the third central axis A3 of the tool Cl, which passes through the tip position of the cutting surface, includes the first position C and is parallel to the T-axis and the second base vector e2 on the vertical plane VP. As in Fig. As shown in Fig. 13, a cutting line MS between the cutting surface of the tool CI and the vertical plane VP passes through the first end point G1 and the second end point G2, which correspond to the two ends in the direction of the machining width of the aforementioned machining surface.
[0105] 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 ridge 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 ridge line RL at the first position C corresponding to the machining target point P.
[0106] In Fig. 14, among the endpoints of the intersection line MS between the cutting surface of the tool CI and the vertical plane VP, the third endpoint SO is shown, which is closest to the first endpoint G1. The distance from the third axial centerline A3 of the tool CI to the third endpoint SO is equal to the third radius D of the tool CI. The first endpoint G1 is closer to the third centerline A3 than the third endpoint SO by the specified length H. More precisely, the distance between the first endpoint G1 and the third centerline A3 of the tool CI is D - H.
[0107] The length of the line segment SL connecting 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, thereby obtaining the above-mentioned equation (15). The line segment SL is included in the intersection line MS between the cutting surface of the tool CI and the vertical plane VP. The first position C of the tool CI is located on an extension of the line segment SL. The first position C of the tool CI is located among the end points of the intersection line MS at a position of an end point closest to the second end point G2.
[0108] The angle formed by the line segment SL (the intersection line MS) with respect to the second base vector e2, which is parallel to the T-axis, is half of the aforementioned first angle ψ of the tool CI. The angle formed by the line segment SL with respect to the second base vector e2 is a value greater than 0° and less than or equal to 90° (0° < ψ / 2 ≤ 90°). Accordingly, Equation (20) is obtained by considering a right-angled triangle in which the line segment SL connecting the first endpoint G1 (S1, T1) and the second endpoint G2 (S2, T2) serves as the hypotenuse. T1−T2S1−S2=−1tanψ2
[0109] The angle formed by the intersection line MS with the third central axis A3 of the tool Cl, which is parallel to the T-axis, is half of the above-mentioned first angle ψ of the tool CI. 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 Equation (17) and Equation (21), using the above-mentioned two-dimensional coordinate value (S2, T2) of the above-mentioned second end point G2. Tc=T2−2⋅Q cosψ2+D−Htanψ2
[0110] 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), Equation (17), and Equation (21). 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.
[0111] 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 (19). 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 machining target data acquired by the acquisition unit 210, the second ellipse E2 formulated using the above-mentioned third 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.Furthermore, in the present embodiment, the predetermined length H and the first angle ψ of the tool CI are included in the machining target data.
[0112] 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.
[0113] The machining target data includes the first angle ψ of the tool Cl, the predetermined length H of the area not used for cutting, 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 axis A1 of the thick-walled cylinder CP extends. The value of the penetration angle of the through hole HE is 0 degrees.
[0114] In step S104, the acquisition unit 210 acquires the tool data. Specifically, the acquisition unit 210 acquires the third radius D of the tool CI from the storage device 120 based on the tool CI number specified by the user.
[0115] 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 ridge 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.
[0116] 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.
[0117] In step S112, the second calculation unit 240 of the calculation device 110 calculates the tangent TL to the ridge line RL at each of the machining target points P. In step S114, the second calculation unit 240 calculates the third angle ε that the second central axis A2 of the imaginary circular cylinder CS forms with respect to the vertical plane VP perpendicular to the tangent TL.
[0118] In step S116, the second calculation 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 above-mentioned third 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.
[0119] In step S118, the second calculation unit 240 calculates the first position C and the inclination angle 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 on the vertical plane VP of the tool CI, the three-dimensional coordinate value (Xp, Yp, Zp) representing the fourth position of the machining target point P, and the first basis vector e1 and the second basis vector e2 on the vertical plane VP. As mentioned above, the angle at which the third central axis A3 of the tool CI is inclined with respect to the Z axis is equal to the third angle ε. The inclination angle of the tool CI is calculated as an angle equal to the third angle ε.
[0120] 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 or not. 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 ridge line RL at each of the respective machining target points P. When the process of step S122 is completed, the present machining process comes to an end.
[0121] 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.
[0122] 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]
[0123] The embodiment described above may be modified as indicated below. (Example Modification 1)
[0124] 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.
[0125] 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 axis passing through the center of the cylindrical peripheral surface SS is a first central axis A1 of the manifold block MB. In the present exemplary modification, the first direction in which the first central axis A1 of the manifold block MB extends is the Y-axis direction.
[0126] 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 shape of the circular cylinder CS, is defined by the peripheral wall surface SW. The second direction in which the second central axis 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. To remove the burr BR formed on the inner peripheral surface SN, the tool CI is moved from the inside of the manifold block MB toward the first position C.
[0127] The burr line RL forming the edge of the through hole HE is the burr line RLN. The burr 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 Cl that intersects the burr line RLN of the manifold block MB with the specified machining width W. (Example Modification 2)
[0128] In the embodiment described above, the through-hole HE penetrating the thick-walled cylinder CP is circular in shape 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.
[0129] The ridge 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 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 axis A1 of the thick-walled cylinder CP extends. Within the ridge 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 segments to form the ridge line RL.
[0130] The through hole HE with the elongated hole shape penetrates in the form of an imaginary columnar body CB1, which is 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 axis A21 of the circular cylinder CS1 and the central axis 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 corresponds to the columnar body CB1. The through-hole HE is defined by the circumferential wall surface SW.
[0131] 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.
[0132] The ridge line RL of the elongated hole-shaped 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 both corners (both ends) of the through-hole HE.
[0133] In Fig. 19, the machining target point P1 is shown at a position on the ridge 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 ridge line RL of the through hole HE where the circular arc segment RL1 and the straight line segment RL2 are connected.
[0134] In Fig. 19, the machining target point P3 is shown at a position on the ridge line RL of the through hole HE, where the straight segment RL2 and the circular segment RL3 are connected. Fig. 19, the machining target point P4 is shown at a position on the ridge line RL of the through hole HE where the circular arc segment RL3 and the straight line segment RL4 are connected.
[0135] As mentioned above, 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 ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.
[0136] 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 Cl that intersects the circular arc segment RL3 of the ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.
[0137] Specifically, the second calculation unit 240 calculates the first position C of the tool CI in the circular arc segments RL1 and RL3 of the ridge 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. Furthermore, the machining target data includes the first angle ψ of the tip angle of the tool CI and the predetermined length H of the area of the tool CI not used for cutting. 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, cuts the ridge line RL with the predetermined machining width W.
[0138] 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 ridge 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 ridge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the ridge 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 ridge line RL.
[0139] As in Fig. As shown in Figure 19, the straight line segment RL2 of the ridge 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 ridge 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.
[0140] 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 ridge line RL. In this way, the Y components Yc2 and Yc3 are determined.
[0141] 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 ridge 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.
[0142] 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 ridge 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 above-mentioned circular arc segment RL3 on the ridge line RL. The three-dimensional coordinate value of the first position C of the tool CI intersecting the ridge 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 above-mentioned circular arc segment RL1 on the ridge line RL.
[0143] As in Fig. As shown in Figure 19, the straight line segment RL4 of the ridge 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 ridge 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.
[0144] 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 ridge line RL. In this way, the Y components Yc1 and Yc4 are determined.
[0145] 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 ridge 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.
[0146] 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 ridge 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 ridge line RL with the specified machining width W. (Example Modification 3)
[0147] In the above-described exemplary modification 2, 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 ridge 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.
[0148] As mentioned above, the first direction is the direction in which the first central axis 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 ridge line RL. These four circular arc segments are connected via the aforementioned four straight segments to form the ridge line RL.
[0149] 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.
[0150] The second direction, in which the central axis A210 of the circular cylinder CS10, the central axis A220 of the circular cylinder CS20, the central axis A230 of the circular cylinder CS30, and the central axis A240 of the circular cylinder CS40 extend, is the Z-axis direction. Accordingly, the central axes 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.
[0151] 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.
[0152] The ridge 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.
[0153] 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.
[0154] In Fig. 21, the machining target point P10 is shown at a position on the ridge 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 ridge line RL of the through hole HE where the circular arc segment RL10 and the straight line segment RL20 are connected.
[0155] In Fig. 21, the machining target point P30 is shown at a position on the ridge line RL of the through hole HE, where the straight segment RL20 and the circular segment RL30 are connected. Fig. 21, the machining target point P40 is shown at a position on the ridge line RL of the through hole HE where the circular arc segment RL30 and the straight line segment RL40 are connected.
[0156] In Fig. 21, the machining target point P50 is shown at a position on the ridge 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 ridge line RL of the through hole HE where the circular arc segment RL50 and the straight line segment RL60 are connected.
[0157] In Fig. 21, the machining target point P70 is shown at a position on the ridge line RL of the through hole HE, where the straight segment RL60 and the circular segment RL70 are connected. Fig. 21, the machining target point P80 is shown at a position on the ridge line RL of the through hole HE where the circular arc segment RL70 and the straight line segment RL80 are connected.
[0158] As mentioned above, 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 ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.
[0159] As mentioned above, 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 ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shown thick-walled cylinder CP.
[0160] 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 ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shown thick-walled cylinder CP.
[0161] 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 ridge line RL with the predetermined machining width W, similarly to the case of the circular through hole HE formed by the Fig. 5A and Fig. 5B shows the thick-walled cylinder CP.
[0162] Specifically, the second calculation 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 ridge 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. Furthermore, the machining target data includes the first angle ψ of the tip angle of the tool CI and the predetermined length H of the area of the tool CI not used for cutting. 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, cuts the ridge line RL with the predetermined machining width W.
[0163] As in Fig. As shown in Figure 21, the straight line segment RL40 of the ridge 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 ridge 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 ridge line RL with the predetermined machining width W, in a manner similar to the case of the slot-shaped through hole HE formed by the Fig. 18 and Fig. 19 shows the thick-walled cylinder CP.
[0164] As in Fig. As shown in Figure 21, the straight line segment RL80 of the ridge 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 ridge 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 ridge line RL with the predetermined machining width W, in a manner similar to the case of the slot-shaped through hole HE formed by the Fig. 18 and Fig. 19 shows the thick-walled cylinder CP.
[0165] 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.
[0166] The second calculation unit 240 calculates the first position C of the tool CI within each of the rectilinear segments RL40 and RL80 of the ridge 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 rectilinear segments RL40 and RL80, cuts the ridge line RL with the predetermined machining width W.
[0167] 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 ridge 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 ridge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the ridge 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 ridge line RL.
[0168] As in Fig. As shown in Figure 21, the straight line segment RL20 of the ridge 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 ridge 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.
[0169] 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 ridge line RL. In this way, the X components Xc20 and Xc30 are determined.
[0170] 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.
[0171] 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 axis 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 of the circle representing the cylindrical circumferential surface SS is (-f, 0).
[0172] Fig. Figure 22 is a diagram describing the positional relationship between the first position C of the tool CI and the first central axis A1 of the thick-walled cylinder CP. Fig. Figure 22 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. The tool CI removes the burr BR by cutting the burr line RL including the machining target point P with the specified machining width. Within the cut burr 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.
[0173] Accordingly, the first position C of the tool CI intersecting the ridge 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 point (-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 (22). The X component and the Z component of the three-dimensional coordinate value representing the first position C of the tool CI intersecting the ridge line RL in the segment RL20 from the machining target point P20 to the machining target point P30 satisfy Equation (22). (X+f)2+Z2=R32
[0174] 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 (22). 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 (22). Accordingly, the radius R3 of the above-mentioned circle CC is obtained by Equation (23). 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 axis 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 corresponding to the machining target point P30 and the first central axis A1 of the thick-walled cylinder CP. R3=(Xc20+f)2+Zc202 =(Xc30+f)2+Zc302
[0175] 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 (22).
[0176] 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 ridge line RL, the Y component remains unchanged, and the Z component changes depending on the X component according to equation (22). In addition, in Fig. 22 shows an example of a case where the burr line RL (RLT) 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. However, the same applies to the case where the burr line RL 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.
[0177] 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 ridge line RL with the specified machining width W at the machining target point P60 is set to (Xc60, Yc60, Zc60). The machining target point P60 is included in the aforementioned circular arc segment RL50 within the ridge line RL. The three-dimensional coordinate value of the first position C of the tool CI that intersects the ridge line RL with the specified machining width W at the machining target point P70 is set to (Xc70, Yc70, Zc70). The machining target point P70 is included in the aforementioned circular arc segment RL70 within the ridge line RL.
[0178] As in Fig.As shown in Figure 21, the straight line segment RL60 of the ridge 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 ridge 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.
[0179] 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 ridge line RL. In this way, the X components Xc60 and Xc70 are determined.
[0180] 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.
[0181] The machining target points P60 and P70 are located on the cylindrical peripheral surface SS of the thick-walled cylinder CP. Accordingly, Equation (22) 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 (22).
[0182] 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 ridge line RL, the Y component remains unchanged, and the Z component changes depending on the X component according to Equation (22).
[0183] 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.
[0184] 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 ridge 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, cuts the ridge line RL with the specified machining width W. (Example Modification 4)
[0185] The above-described embodiment and the exemplary modifications can optionally be combined. [Inventions derivable from the embodiment]
[0186] The inventions derived from the above-described embodiment and its modifications will be described below.
[0187] (1) The calculation device (110) calculates the first position (C) of the tool (CI) configured to intersect the burr line (RL) with the predetermined machining width (W), the burr 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 having 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) penetrating the workpiece from one of the outer peripheral surface and the inner peripheral surface to the other, the columnar body including 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 the machining target data, the third radius (D) of the tool, and the first angle (ψ) of the tip angle formed by the cutting surface 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 (A1) of the workpiece extends, and the eccentric distance (f) of the second central axis (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axis, wherein the second central axis extends in the second direction perpendicular to the first direction; the first calculation unit (230),which is configured to calculate 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 axis and has as its starting point the machining target point (P) located on the ridge 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 ridge 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 unit (240) configured to calculate the first position of the tool that intersects the ridge line including the machining target point based on the machining target data,The ellipse (E2) formed by the plane and the circular cylinder is calculated based on the machining target data, the predetermined machining width, the third tool radius, the first tool angle, the first base vector, and the second base vector. According to such features, it is possible to accurately calculate the tool position, which realizes a stable cutting process for the purpose of burr removal.
[0188] (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 burr line is set by the user, determine the plurality of machining target points on the burr line based on the tolerance amount. The tool intersects the burr line while moving along the machining path, and 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. According to such features, it is possible to realize the cutting process that considers a balance between the required accuracy of the cutting process and the computing capacity of the calculation device.
[0189] (3) In the case where the tool is moved to the first position, the third central axis (A3) of the tool including the first position may be parallel to the second base vector in the plane; the line segment (SL) connecting the first end point (G1) and the second end point (G2) may be included in the intersection line (MS) between the intersection surface and the plane, wherein the first end point lies on the plane and on the cylindrical peripheral surface, the second end point lies on the outline of the ellipse, and the distance between the first end point and the second end point is equal to the predetermined machining width; the first end point may be closer to the third central axis by the predetermined length (H) than the third end point (SO) on the intersection line, wherein the distance from the third central axis to the third end point is equal to the third radius of the tool;and the second calculation unit can calculate the first position of the tool based on the machining target data, the ellipse, the predetermined length, the predetermined machining width, the third radius of the tool, the first angle 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 in accordance with the area not used for cutting along the radial direction from the outer circumference of the cutting surface of the tool.
[0190] (4) The third central axis (A3) of the tool, which includes the first position, may be contained in the plane and may be parallel to the second basis vector; 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 calculation unit may calculate, in the 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 determine the first radius R1 of the workpiece, the second radius R2 of the circular cylinder, the off-center distance f, and the second angle ϕ formed by the normal from the machining target point to the second central axis with respect to the X-axis,and the second calculation unit can: calculate the two-dimensional coordinate value (Sc, Tc) of the first position of the tool on the plane through equations (12) to (18), equation (20) and equation (21) which uses the third angle ε formed by the second central axis line with respect to the plane, the first angle ψ of the tool, the first radius R1 of the workpiece, the first angle ψ of the tool, 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, and the three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position based on that: the third central axis of the tool is parallel to the second basis vector e2 on the plane; the line segment (SL) is contained in the section line (MS) between the cutting surface and the plane,wherein the line segment connects the first end point (G1) (S1, T1) and the second end point (G2) (S2, T2), wherein the first end point lies in the plane and on the cylindrical peripheral surface, the second end point lies on the outline 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 the first end point (S1, T1) is closer to the third central axis in the direction of the first base vector e1 by the predetermined length H than the third end point (SO) on the cutting line, wherein the distance from the third central axis to the third end point is equal to the third radius D of the tool; and calculating the three-dimensional coordinate value (Xc, Yc, Zc) of the first position of the tool corresponding to the machining target point by equation (19) on the basis of the two-dimensional coordinate value (Sc, Tc) of the first position of the tool,the first base vector e1 and the second base 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. 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.
[0191] (5) The through hole can penetrate the workpiece in the shape of a circular cylinder, and when viewed 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 ridge line of the circular through hole.
[0192] (6) The through hole may pass through the workpiece in the shape of the columnar body, the columnar body including two of the circular cylinders that are parallel to each other and are respectively arranged in the two corners of the columnar body; in the case where 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 ridge line of the through hole may include the two circular arc segments (RL1, RL3) respectively corresponding to the two circular cylinders and the 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 ridge line based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first angle 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 ridge 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 ridge line of the elongated through hole.
[0193] (7) The through-hole may penetrate the workpiece in the form of a columnar body, the columnar body including four circular cylinders parallel to each other and arranged at four corners of the columnar body, respectively; when viewed from directly above the through-hole, the through-hole may have a rounded rectangular shape corresponding to the columnar body; when viewed from directly above the through-hole, the ridge line of the through-hole may include four circular arc segments (RL10, RL30, RL50, RL70) corresponding to the four circular cylinders, two straight line segments (RL40, RL80) parallel to the first direction, and two straight line segments (RL20, RL60) parallel to the direction perpendicular to the first direction and to the second direction.the second calculation unit may calculate the first position of the tool corresponding to the machining target point within each of the four circular arc segments of the ridge line based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first angle of the tool, the first base vector, and the second base vector;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 ridge line. According to such features, it is possible to accurately calculate the position of the tool intersecting the ridge line of a through hole with the rounded rectangular shape.
[0194] (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 burr line to a value necessary for removing the burrs.
[0195] (9) The acquisition unit can acquire the machining target data, the predetermined machining width, and the third radius of the tool based on the G code indicating a command for calling 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 calculation unit can read the macro program from the storage device based on the G code, and the second calculation unit can 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.
[0196] (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 burr line. According to such features, it is possible to realize a stable cutting process for the purpose of burr removal.
[0197] (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 burr line. According to such features, it is possible to realize a stable cutting process for the purpose of removing burrs.
[0198] (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 burr line (RL) with the predetermined machining width (W), the burr 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 through the workpiece from one to the other of the outer peripheral surface 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, the third radius (D) of the tool, and the angle (ψ) of the tip angle formed by the cutting surface 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 inner peripheral surface, and the third position of the through hole, the second radius (R2) of the circular cylinder, the first direction in which the first central axis (A1) of the workpiece extends,and the eccentric distance (f) of the second central axis (A2, A21, A22, A210, A220, A230, A240) of the circular cylinder from the first central axis, wherein the second central axis 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 axis and has as its starting point the machining target point (P) lying on the ridge 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 ridge 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 intersecting the burr 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 angle 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. REFERENCE SYMBOL LIST 10 Machine tool 20 basic bodies 30 Control unit 52 beds 54 sleds 56 Table 74, 76, 78, 80 movable element 110 Calculation device 120 storage device 130 Input / output device 210 registration unit 220 Determination unit 230 first calculation unit 240 second calculation 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] Calculation device (110) configured to calculate a first position (C) of a tool (CI) configured to cut a burr line (RL) with a predetermined machining width (W), the burr 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 is formed as the cylindrical peripheral surface, and the through hole in the shape of a circular cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a columnar body (CB1, CB2) penetrating the workpiece from the outer peripheral surface to the inner peripheral surface, the columnar body having a plurality of circular contains cylinders,which are parallel to each other and which are respectively arranged in corners of the columnar body, wherein the calculation device comprises a detection unit (210) configured to detect machining target data, a third radius (D) of the tool, and a first angle (ψ) of a tip angle formed by a cutting surface 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 ridge 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 ridge 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 ridge 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 angle 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 burr line is set by a user, determine a plurality of machining target points on the burr line based on the tolerance amount, wherein the tool intersects the burr 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 the second calculation unit calculates the first position of the tool corresponding to each of the plurality of machining target points. [3] The computing device according to claim 1 or 2, wherein: in the event that the tool is moved to the first position, a third central axis (A3) of the tool, which includes the first position, lies parallel to the second base vector in the plane; a line segment (SL) connecting a first end point (G1) and a second end point (G2) is included in a cutting line (MS) between the cutting surface and the plane, wherein the first end point lies on the plane and on the cylindrical peripheral surface, the second end point lies on an outline of the ellipse, a distance between the first end point and the second end point is equal to the predetermined machining width; the first end point is closer to the third central axis by a predetermined length (H) than a third end point (SO) on the cutting line, wherein a distance from the third central axis to the third end point is equal to the third radius of the tool; and the second calculation unit calculates the first position of the tool based on the machining target data, the ellipse, the predetermined length, the predetermined machining width, the third radius of the tool, the first angle of the tool, the first base vector and the second base vector. [4] The computing device according to claim 1 or 2, wherein: a third central axis (A3) of the tool which includes the first position, is contained in the plane and is parallel to the second base vector; 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 a second angle ϕ formed by a perpendicular line from the machining target point to the second central axis with respect to the X-axis; and the second calculation unit: calculate a two-dimensional coordinate value (Sc, Tc) of the first position of the tool on the plane by following equations (3) to (9) which include a third angle ε formed by the second central axis with respect to the plane, the first angle Φ of the tool, the first radius R1 of the workpiece, the second radius R2 of the circular cylinder, the eccentric 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, and a three-dimensional coordinate value (Xp, Yp, Zp) of the fourth position based on: that the third central axis of the tool is parallel to the second basis vector e2 in the plane;a line segment (SL) included in a cutting line (MS) between the cutting surface and the plane, the line segment connecting a first end point (G1) (S1, T1) and a second end point (G2) (S2, T2), the first end point being on the plane and on the cylindrical peripheral surface, the second end point being on an outline of the ellipse on the plane, a distance between the first end point (S1, T1) and the second end point (S2, T2) being equal to the predetermined machining width √2-Q; and the first end point (S1, T1) being closer to the third central axis in a direction of the first base vector e1 by a predetermined length H than a third end point (SO) on the cutting line, a distance from the third central axis to the third end point being equal to the third radius D of the tool; 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−(R cos ϕ+f)2cos2ϕ−(R2⋅cosϕ+f)sin2ϕ⋅cosϕR12−(R2⋅cos ϕ+f)2cos2ϕR12−(R2⋅cosϕ+f)R12−(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ψ2 Sc=S2+2Q⋅tanψ2−D+H Tc=T2±2Q cosψ2+¯D−Htanψ2 (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 ridge 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 the first position of the tool corresponding to the machining target point within each of the two circular arc segments of the ridge line based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first angle of the tool, the first base vector, and the second base vector; 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 ridge 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 ridge 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 the first position of the tool corresponding to the machining target point within each of the four circular arc segments of the ridge line based on the machining target data, the ellipse, the predetermined machining width, the third radius of the tool, the first angle of the tool, the first base vector, and the second base vector; 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 ridge 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 calculation unit reads the macro program from the storage device based on the G-code; and the second calculation unit calculates the first position of the tool by executing the macro program. [10] Machine tool (10), comprising: the calculation 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 burr line. [11] Control device (30) for a machine tool (10), comprising: the computing device according to 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 burr 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 a burr line (RL) with a predetermined machining width (W), the burr 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 acquiring step comprises acquiring machining target data, a third radius (D) of the tool, and an angle (ψ) of a tip angle formed by a cutting surface 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 axis and has as a starting point a machining target point (P) located on the ridge 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 ridge 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 ridge 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 angle 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
