Calculation device, machine tool, control device for machine tool, and calculation program
The computing device calculates the tool's position using tangent lines and processing width to address inaccuracies in existing methods, ensuring stable and precise cutting for deburring or chamfering processes.
Patent Information
- Application Number
- CN202280095084.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-12-13
AI Technical Summary
Existing methods for calculating the tool trajectory in deburring or chamfering processes are inaccurate, leading to potential undercutting or overcutting of workpieces, which affects the stability of the cutting process.
A computing device and method that calculates the first position of a tool for cutting a ridge formed by a peripheral wall surface and a cylindrical surface of a processing object, using acquired data to determine the tool's position based on tangent lines and specified processing width, ensuring accurate cutting.
Enables accurate calculation of the tool position for stable cutting, effectively removing burrs without undercutting or overcutting, thereby improving the precision of the machining process.
Smart Images

Figure CN119137553A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a computing device, a machine tool, a control device of the machine tool and a computing program. Background Art
[0002] International Publication No. 2016 / 133162 discloses a tool trajectory calculation program. According to the trajectory calculation program, the trajectory of the tool for removing burrs from a workpiece can be calculated. Summary of the invention
[0003] International Publication No. 2016 / 133162 discloses two methods for calculating the processing depth in deburring or chamfering of a workpiece. According to the method disclosed as the "first method", the chamfer width is reduced. Therefore, the "first method" is inaccurate. According to the method disclosed as the "second method", Newton's method is used for solving the problem. Therefore, the "second method" is also inaccurate.
[0004] According to these methods, there is a problem that the accurate position of the tool for realizing stable cutting cannot be calculated. Cutting using the tool moved to the calculated position may result in undercutting or overcutting of the workpiece.
[0005] The object of the present invention is to solve the above-mentioned problems.
[0006] The first form of the present invention is a computing device that computes a first position of a tool, the tool cutting a ridge formed by a peripheral wall surface and a cylindrical peripheral surface of a processing object with a specified processing width, at least one of an outer peripheral surface and an inner peripheral surface of the processing object being formed as the cylindrical peripheral surface, the peripheral wall surface forming a through hole, the through hole penetrating the processing object from one of the outer peripheral surface and the inner peripheral surface toward the other in the shape of a cylinder or a columnar body including a plurality of parallel cylinders at corners, the computing device comprising: an acquisition unit that acquires processing object data and a third radius of the tool, the processing object data including a second position of the processing object, a third position of the through hole, a first radius of the cylindrical peripheral surface of the processing object, a second radius of the cylinder, a third radius of the processing object 1 and an eccentric distance from the first center axis of the cylinder extending in a second direction perpendicular to the first direction; and a first calculation unit for calculating the first position of the tool for cutting the edge line including the processing object point based on a second tangent line at the processing object point of a first ellipse formed by a plane and the cylindrical circumferential surface, a third tangent line at the processing object point of a second ellipse formed by the cylinder and the plane, the prescribed processing width, and the third radius of the tool, the plane being a plane including the processing object point and being perpendicular to the first tangent line of the edge line on the processing object point on the edge line, and being a plane prescribed based on a fourth position of the processing object point and the processing object data.
[0007] A second aspect of the present invention is a machine tool comprising: the computing device according to the first aspect; the tool; and a machining control unit that moves the tool to the first position to allow the tool to cut the ridge line.
[0008] A third aspect of the present invention is a control device for a machine tool, comprising: the computing device according to the first aspect; and a processing control unit that moves the tool to the first position to allow the tool to cut the ridge line.
[0009] The fourth aspect of the present invention is a computing program, which allows a processing circuit of a computing device to execute an acquisition step and an operation step, wherein the computing device calculates the first position of a tool, the tool cuts a ridge formed by a peripheral wall surface and a cylindrical peripheral surface of a processing object with a specified processing width, at least one of the outer peripheral surface and the inner peripheral surface of the processing object is formed as the cylindrical peripheral surface, and the peripheral wall surface forms a through hole, and the through hole penetrates the processing object from one of the outer peripheral surface and the inner peripheral surface toward the other in the shape of a cylinder or a columnar body including a plurality of parallel cylinders at corners, and in the acquisition step, the processing object data and the third radius of the tool are acquired, the processing object data including the second position of the processing object, the third position of the through hole, the first radius of the cylindrical peripheral surface of the processing object, the third position of the through hole, the first radius of the cylindrical peripheral surface of the processing object, and the third radius of the cylinder. 2 radii, a first direction in which the first center axis of the processing object extends, and an eccentric distance of the second center axis of the cylinder extending in a second direction perpendicular to the first direction from the first center axis, in the calculation step, the first position of the tool for cutting the edge line including the processing object point is calculated based on a second tangent line at the processing object point of a first ellipse formed by the plane and the cylindrical circumferential surface, a third tangent line at the processing object point of a second ellipse formed by the cylinder and the plane, the specified processing width, and the third radius of the tool, the plane being a plane including the processing object point that is perpendicular to the first tangent line of the edge line on the processing object point on the edge line, and being a plane specified based on a fourth position of the processing object point and the processing object data.
[0010] According to the present invention, the position of the tool for realizing stable cutting for removing burrs can be accurately calculated. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a diagram showing an example of a machine tool. Figure 2A This is a diagram showing the configuration of a machine tool control device. Figure 2B A diagram for explaining processing performed according to a G code. Figure 3A and Figure 3B A diagram for explaining a thick-walled cylinder and a through hole formed in the thick-walled cylinder. Figure 4A This is a diagram showing the burrs generated on the inner circumference of a thick-walled cylinder and the tool for removing the burrs. Figure 4B The figure shows burrs generated on the outer peripheral surface of a thick-walled cylinder and a tool for removing the burrs. Figure 5A : is a diagram showing the positional relationship between the first central axis of the thick-walled cylinder and the second central axis of the cylinder in the shape of a through hole when the eccentric distance is zero. Figure 5B The figure shows the positional relationship between the first central axis of the thick-walled cylinder and the second central axis of the column in the shape of a through hole when the eccentric distance is not zero. Figure 6 A diagram showing data acquired by an acquisition unit of the computing device. Fig. 7A This is a diagram for explaining the relationship between the cutting depth and the specified processing width. Figure 7B and Figure 7C is a diagram for explaining the tolerance amount. Figure 8 It is a diagram for explaining a through hole penetrating a thick-walled cylinder in a cylindrical shape and a first tangent line of the ridge line of the through hole. Fig. 9 It is a diagram for explaining a vertical plane perpendicular to a first tangent line of an edge line of a through hole, and a first ellipse and a second ellipse formed on the vertical plane. Fig.10 The figure shows the positional relationship between the second tangent line of the first ellipse, the third tangent line of the second ellipse, and a tool for removing burrs generated on the inner peripheral surface of a thick-walled cylinder. Fig.11 It is a diagram for explaining how the first position of the tool corresponding to the processing target point on the ridgeline of the through hole is calculated based on a predetermined processing width. Fig.12 The figure shows the positional relationship between the second tangent line of the first ellipse, the third tangent line of the second ellipse, and a tool for removing burrs generated on the outer peripheral surface of a thick-walled cylinder. Fig.13 It is a diagram for explaining how the first position of the tool corresponding to the processing target point on the ridgeline of the through hole is calculated based on a predetermined processing width. Fig.14 This is a flowchart showing the processing procedure executed in the control device of the machine tool. Fig.15 As an example, the computing device of the control device executes Fig.14 A diagram of a computer program product of an operation program for use with the processing sequence shown. Fig.16 This is a diagram illustrating the configuration of a control device for a machine tool. Fig.17A This is a diagram showing the angle formed by a perpendicular line from a processing target point on the ridgeline of the through hole to the first central axis of the thick-walled cylinder relative to the X-axis. Fig. 17B A diagram showing a third angle formed by a perpendicular line from a processing target point on the ridgeline of the through hole to the second central axis of a cylinder in the shape of the through hole with respect to the X-axis and the first basis vector. Fig.18The figure shows the positional relationship between the second tangent line, the third tangent line, and a tool for removing burrs generated on the inner peripheral surface of a thick-walled cylinder, and the first basis vector and the second basis vector. Fig.19 It is a diagram for explaining how the first position of the tool corresponding to the processing target point on the ridgeline of the through hole is calculated based on a predetermined processing width. Fig. 20 The figure shows the positional relationship between the second tangent line, the third tangent line, and a tool for removing burrs generated on the outer peripheral surface of a thick-walled cylinder, and the first basis vector and the second basis vector. Fig.21 It is a diagram for explaining how the first position of the tool corresponding to the processing target point on the ridgeline of the through hole is calculated based on a predetermined processing width. Fig. 22 This is a flowchart showing the processing procedure executed in the control device of the machine tool. Fig.23 This is a diagram showing an example of a manifold block used as a processing object. Fig.24 It is a diagram for explaining a thick-walled cylinder and a through hole in the shape of a long hole penetrating the thick-walled cylinder. Fig.25 A diagram schematically showing a through hole in the shape of a long hole. Fig.26 It is a diagram for explaining a thick-walled cylinder and a through hole in the shape of a rounded quadrilateral penetrating the thick-walled cylinder. Fig. 27 A diagram schematically showing a through hole in the shape of a rounded quadrilateral. Fig.28 It is a diagram for explaining the positional relationship between the first position of the tool and the first central axis of the thick-walled cylinder. DETAILED DESCRIPTION
[0012] Figure 1 1 is a diagram showing an example of a machine tool 10. The machine tool 10 includes a main body 20 and a control device 30. The control device 30 includes a computing device of an embodiment described later, and controls the main body 20. The control device 30 is, for example, a CNC. The main body 20 includes a bed 52, a saddle 54, a workbench 56, a movable part 74, a movable part 76, and a movable part 78. The bed 52 is placed on the XY plane of the orthogonal coordinate system XYZ. The saddle 54, the workbench 56, the movable part 74, the movable part 76, and the movable part 78 are arranged on the bed 52.
[0013] The movable part 74 can be moved in a direction DX parallel to the X-axis by means of a motor not shown. The movable part 76 is placed on the movable part 74. The movable part 76 can be moved in a direction DY parallel to the Y-axis relative to the movable part 74 by means of a motor not shown. The movable part 78 is mounted on the side of the movable part 76. The movable part 78 can be moved in a direction DZ parallel to the Z-axis relative to the movable part 76 by means of a motor not shown. The direction DZ parallel to the Z-axis is parallel to the direction of gravity. The so-called direction of gravity is the direction in which gravity acts on an object.
[0014] The movable part 78 includes a spindle head. A tool CI is mounted on the spindle head. In the present embodiment, the tool CI is a ball-end milling cutter having a spherical cutting surface formed at the top. The tool CI may also be other tools such as a spherical head polishing tool. Furthermore, the tool CI is not limited to a completely spherical cutting surface, but may also have a cutting surface formed by a part of a sphere.
[0015] In this embodiment, a thick-walled cylinder CP as a processing object is mounted on a workbench 56. The tool CI is driven to rotate by a motor (not shown). The tool CI cuts the ridgeline forming the edge of the through hole HE possessed by the thick-walled cylinder CP with a spherical cutting surface by such rotation. The tool CI removes burrs formed on the inner or outer peripheral surface of the thick-walled cylinder CP by cutting the ridgeline.
[0016] In this embodiment, during cutting, the tool CI is moved in the XYZ space by means of the movable parts 74, 76, and 78. That is, the tool CI moves in the direction DX parallel to the X-axis, the direction DY parallel to the Y-axis, and the direction DZ parallel to the Z-axis, thereby the tool CI moves relative to the object to be processed in the direction of the X-axis, the direction of the Y-axis, and the direction of the Z-axis.
[0017] In addition, as long as the tool CI moves relative to the object to be processed in the direction of the X axis, the direction of the Y axis, and the direction of the Z axis, the tool CI may move in the direction DZ parallel to the Z axis, and the object to be processed may move in the direction DX parallel to the X axis and the direction DY parallel to the Y axis. In this case, for example, a movable mechanism is provided on the saddle 54 and the table 56.
[0018] The tool CI may be grasped by a robot arm instead of the movable part 74, the movable part 76, and the movable part 78. Alternatively, the object to be processed grasped by the robot arm may be moved in the direction of the X axis, the direction of the Y axis, and the direction of the Z axis. In either case, the tool CI moves relative to the object to be processed in the direction of the X axis, the direction of the Y axis, and the direction of the Z axis. In the following description, the tool CI moves relative to the thick-walled cylinder CP as the object to be processed.
[0019] Figure 2A 1 is a diagram illustrating the configuration of the control device 30 of the machine tool 10. The control device 30 includes a computing device 110, a storage device 120, and an input / output device 130. The computing device 110 is composed of a processing circuit. The processing circuit is, for example, a processor such as a CPU or a GPU.
[0020] The storage device 120 includes a volatile memory (not shown) and a nonvolatile memory (not shown). The volatile memory is used as a working memory of the processor. The data DT described later acquired by the acquisition unit 210 is stored in the volatile memory when the macro program described later is read. The volatile memory is, for example, a RAM.
[0021] The nonvolatile memory is used as a storage memory. The nonvolatile memory of the storage device 120 stores the machining program PG and the operation program (macro program) to be executed by the processing circuit of the operation device 110. The nonvolatile memory is, for example, a ROM or a flash memory.
[0022] The input / output device 130 includes, for example, at least a part of an operation panel, a keyboard, a mouse, a display, and a touch panel. The user inputs the user input data in the data DT to the computing device 110 via the input / output device 130. The input data DT is stored in the storage device 120. Furthermore, the setting data of the default setting value in the data DT is also stored in the storage device 120. The input / output device 130 can display the data DT stored in the storage device 120.
[0023] The computing device 110 includes an acquisition unit 210, a determination unit 220, a first computing unit 230, and a process control unit 250. The computing device 110 executes a computing program stored in the storage device 120, thereby realizing the acquisition unit 210, the determination unit 220, the first computing unit 230, and the process control unit 250. At least a part of the acquisition unit 210, the determination unit 220, the first computing unit 230, and the process control unit 250 may also be realized by an integrated circuit such as an ASIC or an FPGA, or an electronic circuit including discrete devices.
[0024] The acquisition unit 210 acquires data input by the user and data DT stored in the storage device 120. The data DT acquired by the acquisition unit 210 includes tool data, processing target data, and option data described later.
[0025] As described above, the tool CI cuts the ridgeline forming the edge of the through hole HE to remove burrs. The position of the tool CI is calculated corresponding to the processing object point on the ridgeline of the through hole HE. The calculated position of the tool CI is referred to as the first position below. The processing object point is located at a position closest to the first position of the tool CI on the ridgeline of the through hole HE. The determination unit 220 determines multiple processing object points on the ridgeline based on the tolerance amount included in the above-mentioned option data. The tolerance amount is described later. The first operation unit 230 calculates the first position of the tool CI corresponding to each processing object point determined by the determination unit 220 based on the data DT acquired by the acquisition unit 210.
[0026] The processing control unit 250 controls the movable parts 74, 76, and 78 of the main body 20 or other movable mechanisms or robot arms to relatively move the tool CI to the first position at each of the plurality of processing target points determined by the determination unit 220. The processing control unit 250 rotates the tool CI to allow the tool CI to cut the edge line.
[0027] Since cutting of the ridgeline starts at the first processing point among the plurality of processing points determined by the determination unit 220, the tool CI moves to the first position corresponding to the processing point calculated by the first calculation unit 230. The ridgeline is cut to form a processing surface of a predetermined processing width.
[0028] Afterwards, the tool CI moves to the next processing object point while cutting the edge line, and moves to the first position corresponding to the processing object point. The edge line is cut to form a processing surface of a specified processing width. After repeating such cutting, the tool CI returns to the initial processing object point. At this time, the processing control unit 250 stops cutting and moves the tool CI to a specified end position.
[0029] Figure 2B 1 is a diagram for explaining processing performed according to G codes. In this embodiment, the processing program PG is executed by the processing circuit of the computing device 110 according to the user input. When the processing program PG is executed, processing based on the G codes included in the processing program PG is performed. The processing program PG includes a G code representing a command for calling a macro program MP.
[0030] The processing circuit of the computing device 110 calls the macro program MP stored in the non-volatile memory of the storage device 120 according to the G code. At the same time, the processing circuit of the computing device 110 writes the data DT of the value corresponding to the argument of the G code or the default value to the volatile memory of the storage device 120. The data DT includes the tool data, the processing object data and the option data described later.
[0031] The first operation unit 230 of the operation device 110 reads the called macro program MP as the operation program from the storage device 120. The acquisition unit 210 of the operation device 110 acquires the data DT from the storage device 120. The processing circuit of the operation device 110 executes the macro program MP using the data DT, thereby the first operation unit 230 calculates the first position of the tool CI.
[0032] Figure 3A and Figure 3B It is a diagram for explaining the thick-walled cylinder CP and the through hole HE formed in the thick-walled cylinder CP. Figure 3A This is a diagram of the case where the thick-walled cylinder CP is viewed from the outside. In this case, the lines that cannot be seen from the outside are not shown. Figure 3A These invisible lines are visualized as dashed lines in the figure below. Figure 3B .
[0033] The center axis of the thick-walled cylinder CP is referred to as the first center axis A1 hereinafter. The direction in which the first center axis A1 of the thick-walled cylinder CP extends is referred to as the first direction hereinafter. In the present embodiment, the first direction in which the first center axis A1 of the thick-walled cylinder CP extends is the direction of the Y axis. In addition, the first direction may also be a direction parallel to the XY plane and forming a predetermined angle with respect to the Y axis on a plane including the first center axis A1. The thick-walled cylinder CP is a hollow cylinder. The inner peripheral surface SN and the outer peripheral surface ST of the thick-walled cylinder CP are respectively formed as cylindrical peripheral surfaces SS.
[0034] In this embodiment, the through hole HE that penetrates the thick-walled cylinder CP in the shape of a cylinder CS from the outer peripheral surface ST of the thick-walled cylinder CP to the inner peripheral surface SN is formed by the peripheral wall surface SW. The ridgeline RL that forms the edge of the through hole HE includes two types of ridgelines RLN and RLT. The ridgeline RLN is formed by the peripheral wall surface SW of the through hole HE and the inner peripheral surface SN of the thick-walled cylinder CP. The ridgeline RLT is formed by the peripheral 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 cylinder CS in the shape of 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 direction of the Z axis. That is, 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 the imaginary cylinder CS in the shape of the through hole HE is hereinafter referred to as the second radius R2.
[0036] Figure 4A The figure shows the burrs BR generated on the inner peripheral surface SN of the thick-walled cylinder CP and the tool CI for removing the burrs BR. Figure 4AThe figure shows a thick-walled cylinder CP cut by a plane perpendicular to the Y axis (a plane parallel to the XZ plane) as viewed from the negative direction of the Y axis. When the tool CI contacts the edge line RL (RLN), the edge line RL including the processing object point P is cut with a specified processing width, thereby removing the burr BR. The first position C of the tool CI that can cut the edge line RL with the specified processing width must be appropriately determined. The first position C of the tool CI is the center position of the ball that forms the cutting surface of the tip of the tool CI.
[0037] The radius of the cylindrical surface SS of the thick-walled cylinder CP is hereinafter referred to as the first radius R1. Figure 4A As shown, when removing the burrs BR generated on the inner circumference SN of the thick-walled cylinder CP, the radius RN of the inner circumference SN is used as the first radius R1 of the cylindrical circumference SS of the thick-walled cylinder CP. The radius RN of the inner circumference SN is equal to the shortest distance between the first center axis A1 of the thick-walled cylinder CP and the inner circumference SN.
[0038] Figure 4B 1 is a diagram showing burrs BR generated on the outer peripheral surface ST of a thick-walled cylinder CP and a tool CI for removing the burrs BR. Figure 4A Same, Figure 4B The figure shows a thick-walled cylinder CP cut by a plane perpendicular to the Y axis (a plane parallel to the XZ plane) as viewed from the negative direction of the Y axis. When the tool CI contacts the edge line RL (RLT), the edge line RL including the processing object point P is cut with a specified processing width, thereby removing the burr BR. The first position C of the tool CI that can cut the edge line RL with the specified processing width must be appropriately determined.
[0039] like Figure 4B As shown, when removing the burrs BR generated on the outer peripheral surface ST of the thick-walled cylinder CP, 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.
[0040] exist Figure 4A as well as Figure 4B In FIG. 1 , the tool CI is described as approaching the first position C from the outside of the thick-walled cylinder CP. However, the tool CI may approach the first position C from the inside of the thick-walled cylinder CP.
[0041] Figure 5A The diagram shows the positional relationship between the first center axis A1 of the thick cylinder CP and the second center axis A2 of the column CS in the shape of the through hole HE when the eccentric distance f is zero. The eccentric distance indicates the shortest distance between the second center axis A2 and the first center axis A1. Figure 5A2 shows a diagram showing a state where the thick-walled cylinder CP having the through hole HE is viewed from the positive direction of the Z axis on the outside of the thick-walled cylinder CP.
[0042] The bottom surface of the cylinder CS in the shape of the through hole HE is circular. Therefore, when the through hole HE is observed from directly above the through hole HE along the Z axis, the through hole HE is a circle corresponding to the cylinder CS. The second central axis A2 is located at a position overlapping the first central axis A1. The radius of the through hole HE observed from directly above is consistent with the second radius R2 of the cylinder CS.
[0043] Figure 5B : is a diagram showing the positional relationship between the first central axis A1 of the thick-walled cylinder CP and the second central axis A2 of the column CS in the shape of the through hole HE when the eccentric distance f is not zero. Figure 5A Same, Figure 5B , a diagram showing a thick-walled cylinder CP having a through hole HE as viewed from the positive direction of the Z axis on the outside of the thick-walled cylinder CP. Figure 5A Similarly, when the through hole HE is viewed from directly above the through hole HE along the Z axis, the through hole HE is circular. The second central axis A2 is located at a position offset from the first central axis A1 by an eccentric distance f in the direction of the X axis.
[0044] Figure 6 The figure shows the data DT acquired by the acquisition unit 210 of the computing device 110. The data DT acquired by the acquisition unit 210 includes tool data, processing object data, and option data. The tool data includes the number of the tool CI stored in the storage device 120. The value of the radius of the tool CI is stored in the storage device 120 in a manner associated with the number of the tool CI. When the number of the tool CI is specified by the user via the input / output device 130, the acquisition unit 210 acquires the tool data, thereby acquiring the radius of the tool CI registered in advance from the storage device 120. In addition, the radius of the tool CI is hereinafter referred to as the third radius.
[0045] The processing object data includes the position of the thick-walled cylinder CP, the position of the through hole HE, the first radius R1 of the cylindrical surface SS of the thick-walled cylinder CP, the second radius R2 of the imaginary cylinder CS in the shape of the through hole HE, the configuration angle of the thick-walled cylinder CP, the penetration angle of the through hole HE, and the above-mentioned eccentric distance f. The thick-walled cylinder CP and the through hole HE are respectively in predetermined positions. The position of the thick-walled cylinder CP is hereinafter referred to as the second position. The position of the through hole HE is hereinafter referred to as the third position. The second position of the thick-walled cylinder CP and the third position of the through hole HE are expressed in a mechanical coordinate system pre-defined for the machine tool 10 or a workpiece coordinate system based on the processing object.
[0046] The configuration angle of the thick-walled cylinder CP is an angle formed by the first direction extending from the first central axis A1 of the thick-walled cylinder CP relative to the Y-axis. In the present embodiment, as described above, the first direction coincides with the direction of the Y-axis. Therefore, the value of the configuration angle of the thick-walled cylinder CP obtained by the acquisition unit 210 as a value representing the first direction is 0°.
[0047] The penetration angle of the through hole HE is an angle formed by the second direction extending from the second central axis A2 of the cylinder CS in the shape of the through hole HE with respect to the Z axis. In the present embodiment, as described above, the second direction coincides with the direction of the Z axis. Therefore, the value of the penetration angle of the through hole HE acquired by the acquisition unit 210 as a value representing the second direction is 0°.
[0048] The optional data includes the cutting amount Q and the tolerance amount TA. The tool CI cuts the edge line RL with the prescribed processing width W at the first position C corresponding to the processing object point P, thereby removing the burr BR. By cutting the edge line RL, a processing surface with the prescribed processing width W is formed between the cylindrical surface SS of the thick-walled cylinder CP and the peripheral wall surface SW of the through hole HE. That is, the distance between the two ends of the processing surface in the processing width direction (the first distance described later) is equal to the prescribed processing width W.
[0049] Fig. 7A It is a diagram for explaining the relationship between the cutting amount Q and the specified processing width W. Fig. 7A As is clear, the predetermined processing width W is expressed by formula (1) using the cutting amount Q. The predetermined processing width W is specified by user input using the cutting amount Q. The cutting amount Q is a value of 1 / √2 times the predetermined processing width W. When the cutting amount Q is specified by the user via the input / output device 130, the acquisition unit 210 acquires the cutting amount Q, thereby acquiring the predetermined processing width W. [Formula 1]
[0050] The tolerance amount TA represents a value related to the machining path RP when the tool CI cuts the edge line RL while moving on the machining path RP corresponding to the edge line RL. When the first position C of the tool CI corresponding to all (infinite) machining object points P on the edge line RL is calculated, the ideal trajectory TR of the tool CI is determined. However, in reality, the first position C of the tool CI corresponding to a finite number of machining object points P is calculated. Therefore, the machining path RP formed by connecting the finite machining object points P in a straight line does not coincide with the above-mentioned ideal trajectory TR.
[0051] The tolerance amount TA is specified by user input as the upper limit of the error of the machining path RP relative to the ideal trajectory TR. When the tolerance amount TA is specified, the determination unit 220 of the computing device 110 determines a plurality of machining target points P on the edge line RL based on the tolerance amount TA.
[0052] Figure 7B and Figure 7C TA is a diagram for explaining the tolerance amount TA. A plurality of processing target points P are determined so that the error RG of the processing path RP relative to the trajectory TR of the ideal tool CI is within the tolerance amount TA. Figure 7B In the example shown, the value TA1 is designated as the tolerance amount TA by user input. In this case, four processing target points P101, P102, P103, and P104 are determined so that the error RG is equal to or less than the value TA1.
[0053] exist Figure 7C In the example shown, a value TA2 smaller than the value TA1 is specified by user input as the tolerance TA. In this case, eight processing target points P201, P202, P203, P204, P205, P206, P207, and P208 are determined so that the error RG is less than the value TA2. Figure 7C The number of processing object points P in Figure 7B The number of processing object points P in is large. Figure 7C RP ratio of machining path in Figure 7B The machining path RP in is close to the ideal trajectory TR.
[0054] If the value of the tolerance amount TA is set to be small, the upper limit value of the error RG is reduced, so the processing path RP approaches the ideal trajectory TR. On the other hand, if the value of the tolerance amount TA is set to be small, the number of processing target points P increases, so the calculation load of the calculation device 110 increases. Therefore, the user considers the degree to which the processing path RP is close to the ideal trajectory TR and the calculation load, and inputs the tolerance amount TA to the calculation device 110 via the input / output device 130. When the user does not input the tolerance amount TA, a predetermined default setting value of the tolerance amount TA is used.
[0055] A tangent line to the ridge line RL of the through hole HE is hereinafter referred to as a first tangent line B1. Figure 8 It is a diagram for explaining the through hole HE penetrating the thick-walled cylinder CP in the shape of a column CS and the first tangent line B1 of the ridge line RL of the through hole HE. Figure 8The cylindrical surface SS of the thick-walled cylinder CP is shown in FIG. When the burrs BR generated on the inner surface SN of the thick-walled cylinder CP are removed, the inner surface SN corresponds to the cylindrical surface SS. When the burrs BR generated on the outer surface ST of the thick-walled cylinder CP are removed, the outer surface ST corresponds to the cylindrical surface SS. The central axis of the cylindrical surface SS coincides with the first central axis A1 of the thick-walled cylinder CP. That is, the direction in which the central axis of the cylindrical surface SS extends is the first direction, which is the direction of the Y axis.
[0056] Figure 8 , the imaginary cylinder CS intersecting the cylindrical surface SS of the thick-walled cylinder CP is shown. The cylinder CS is inserted through the through hole HE. The ridge line RL of the through hole HE is represented as the intersection line obtained by the intersection of the cylindrical surface SS of the thick-walled cylinder CP and the cylinder CS. As described above, the direction in which the second central axis A2 of the cylinder CS extends is the second direction, which is the direction of the Z axis. 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.
[0057] Figure 8 The first tangent line B1 of the edge line RL of the through hole HE on the processing object point P on the edge line RL cut by the tool CI is shown. The tool CI has a spherical cutting surface. If the line connecting the center of the sphere and the processing object point P is perpendicular to the first tangent line B1, no overcutting will occur when the tool CI cuts the edge line RL. The center position of the sphere forming the cutting surface in this case is taken as the first position C of the tool CI. That is, the first position C of the tool CI is on the vertical plane VP including the processing object point P and is perpendicular to the first tangent line B1 of the edge line RL.
[0058] Fig. 9 1 is a diagram for explaining a vertical plane VP perpendicular to a first tangent line B1 of an edge line RL of a through hole HE and a first ellipse E1 and a second ellipse E2 formed on the vertical plane VP. The vertical plane VP is determined based on the position of a processing target point P on the edge line RL and processing target data acquired by the acquisition unit 210 of the computing device 110. The position of the processing target point P on the edge line RL is hereinafter referred to as a fourth position. The vertical plane VP intersects the cylindrical circumferential surface SS and the cylinder CS, thereby obtaining an intersection curve IL.
[0059] The intersection curve IL includes a part of the contour lines of the first ellipse E1 and the second ellipse E2 formed on the vertical plane VP. The first ellipse E1 is formed as the intersection line of the vertical plane VP and the cylindrical peripheral surface SS. The second ellipse E2 is formed as the intersection line of the vertical plane VP and the cylinder CS. On the vertical plane VP, the fourth position of the processing object point P is on the contour line of the first ellipse E1 and the contour line of the second ellipse E2.
[0060] The solid portion between the outer circumferential surface ST and the inner circumferential surface SN of the thick-walled cylinder CP is hereinafter referred to as the cylindrical shell of the thick-walled cylinder CP. The area outside the first ellipse E1 corresponds to the area outside the cylindrical circumferential surface SS. In the case where the cylindrical circumferential surface SS corresponds to the inner circumferential surface SN of the thick-walled cylinder CP, the cylindrical shell of the thick-walled cylinder CP is included in the area outside the first ellipse E1 at the 4th position and the vicinity of the processing object point P on the edge line RL. The area inside the first ellipse E1 corresponds to the area inside the cylindrical circumferential surface SS. In the case where the cylindrical circumferential surface SS corresponds to the outer circumferential surface ST of the thick-walled cylinder CP, the cylindrical shell of the thick-walled cylinder CP is included in the area inside the first ellipse E1 at the 4th position and the vicinity of the processing object point P on the edge line RL.
[0061] The area inside the second ellipse E2 corresponds to the area inside the cylinder CS. At the fourth position of the processing target point P on the ridge line RL and its vicinity, the through hole HE is included in the area inside the second ellipse E2. The section from the processing target point P on the ridge line RL to the position after advancing a predetermined distance along the contour line of the second ellipse E2 is formed by the peripheral wall surface SW forming the through hole HE.
[0062] The tangent line of the first ellipse E1 at the processing target point P is hereinafter referred to as a second tangent line B2. The tangent line of the second ellipse E2 at the processing target point P is hereinafter referred to as a third tangent line B3. Fig.10 1 and 2 are diagrams showing the positional relationship between the second tangent line B2 of the first ellipse E1 , the third tangent line B3 of the second ellipse E2 , and the tool CI for removing the burrs BR generated on the inner peripheral surface SN of the thick cylinder CP.
[0063] The direction in which the major axis of the second ellipse E2 extends is set as the direction of the T axis, and the direction perpendicular to the T axis (the direction in which the minor axis of the second ellipse E2 extends) is set as the direction of the S axis. If the processing object point P is taken as the origin, the positive direction of the S axis is the direction from the origin to the outside of the second ellipse E2. If the processing object point P is taken as the origin, the positive direction of the T axis is the direction from the origin to the outside of the first ellipse E1. The vertical plane VP is a plane formed by the mutually orthogonal S axis (horizontal axis) and T axis (vertical axis).
[0064] At the processing object point P on the ridge line RL, the cylindrical shell of the thick-walled cylinder CP having the through hole HE is included in the area outside the first ellipse E1 and outside the second ellipse E2. The contour line of the first ellipse E1 extending from the processing object point P corresponds to the inner peripheral surface SN of the thick-walled cylinder CP. The contour line of the second ellipse E2 extending from the processing object point P corresponds to the peripheral wall surface SW forming the through hole HE.
[0065] When the tool CI cuts the ridge RL at the first position C corresponding to the processing target point P on the ridge RL, a processing surface of a predetermined processing 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 on the vertical plane VP corresponding to the two ends of the processing surface in the processing width direction are shown in FIG. Fig.10 The straight line distance between the first endpoint G1 and the second endpoint G2 is referred to as the first distance below. The first distance is equal to the specified processing width W. The first endpoint G1 is originally located on the contour line of the first ellipse E1. However, since the first endpoint G1 is located near the processing object point P, the first endpoint G1 is considered to be located on the second tangent B2 of the first ellipse E1 on the processing object point P.
[0066] The second endpoint G2 is originally located on the contour line of the second ellipse E2. However, since the second endpoint G2 is located near the processing object point P, the second endpoint G2 is considered to be located on the third tangent B3 of the second ellipse E2 on the processing object point P. In this embodiment, for ease of calculation, the first endpoint G1 is considered to be located on the second tangent B2, and the second endpoint G2 is considered to be located on the third tangent B3.
[0067] In addition, the first ellipse E1 can be formulated by using the two-dimensional coordinate value of the center K1 on the vertical plane VP and the intermediate variable representation of the major axis and the minor axis based on the eccentric angle. For example, the second tangent B2 of the first ellipse E1 on the processing object point P can be calculated by formulating the first ellipse E1. The second ellipse E2 can be formulated by using the two-dimensional coordinate value of the center K2 on the vertical plane VP and the intermediate variable representation of the major axis and the minor axis based on the eccentric angle. For example, the third tangent B3 of the second ellipse E2 on the processing object point P can be calculated by formulating the second ellipse E2. The third tangent B3 is parallel to the T axis.
[0068] The cross section of the sphere forming the cutting surface of the tool CI is Fig.10 In the figure, it is represented as a circle passing through the first end point G1 and the second end point G2 corresponding to the two ends of the machining width direction of the machining surface on the vertical plane VP. The length from the first position C of the tool CI represented as the center of the circle to the first end point G1 and the length from the first position C of the tool CI to the second end point G2 are both equal to the third radius D of the tool CI.
[0069] Fig.11 This is a diagram for explaining how the first position C of the tool CI corresponding to the processing target point P on the ridge line RL of the through hole HE is calculated based on the specified processing width W. As described above, the first end point G1 and the second end point G2 correspond to the two ends in the processing width direction of the processing surface formed by the tool CI cutting the ridge line RL at the first position C corresponding to the processing target point P.
[0070] In this embodiment, the length from the processing object point P to the first end point G1 on the second tangent line B2 is equal to the length from the processing object point P to the second end point G2 on the third tangent line B3. In this case, the generation of burrs due to the cutting of the edge line RL by the tool CI can be relatively suppressed. In addition, the length from the processing object point P to the first end point G1 and the length from the processing object point P to the second end point G2 may not necessarily be equal.
[0071] As described above, the length from the first position C of the tool CI to the first endpoint G1 and the length from the first position C of the tool CI to the second endpoint G2 are both equal to the third radius D of the tool CI. In the present embodiment, the first position C of the tool CI is also located on the bisector DL that bisects the angle formed by the second tangent line B2 and the third tangent line B3 starting from the processing object point P. The line segment SL connecting the first endpoint G1 and the second endpoint G2 is orthogonal to the bisector DL at the intersection point M. The intersection point M is the midpoint of the line segment SL.
[0072] As described above, the first distance between the first endpoint G1 and the second endpoint G2 is equal to the prescribed processing width W. That is, the length of the line segment SL is equal to the prescribed processing width W. The length from the intersection point M, which is the center of the line segment SL, to the first endpoint G1 is 1 / 2 of the prescribed processing width W. The distance between the intersection point M and the processing object point P is hereinafter referred to as the second distance L. The angle formed by the second tangent line B2 and the third tangent line B3 with the processing object point P as the starting point is hereinafter referred to as the first angle β. The first angle β takes a value of 90° or more and less than 180° (90°≤β<180°).
[0073] The second distance L is calculated based on the first angle β and the predetermined processing width W. According to equation (1), the predetermined processing width W can be expressed as the cutting amount Q. Therefore, the first calculation unit 230 of the calculation device 110 calculates the second distance L using equation (2). [Formula 2]
[0074] The first calculation unit 230 calculates the length CL from the first position C of the tool CI to the processing target point P based on the second distance L, the third radius D of the tool CI, and the cutting amount Q corresponding to the predetermined processing width W. The length CL from the first position C of the tool CI to the processing target point P is calculated using formula (3). [Formula 3]
[0075] As described above, in this embodiment, the first position C of the tool CI is located on the bisector DL. The first operation unit 230 calculates the first position C on the vertical plane VP based on the bisector DL and the length CL from the first position C to the processing object point P. Based on the calculation result and the definition of the vertical plane VP, the first position C of the tool CI in the coordinate space defined by the X-axis, the Y-axis, and the Z-axis can be calculated. The first position C of the tool CI is calculated for each of the multiple processing object points P. Each processing object point is closest to the first position C of the tool CI on the ridgeline RL.
[0076] Fig.12 The figure shows the positional relationship between the second tangent line B2 of the first ellipse E1, the third tangent line B3 of the second ellipse E2, and the tool CI for removing the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP. At the processing object point P on the ridge line RL, the cylindrical shell of the thick-walled cylinder CP is included in the area inside the first ellipse E1 and outside the second ellipse E2. The contour line of the first ellipse E1 extending from the processing object point P corresponds to the outer peripheral surface ST of the thick-walled cylinder CP. The contour line of the second ellipse E2 extending from the processing object point P corresponds to the peripheral wall surface SW forming the through hole HE.
[0077] When the tool CI cuts the edge line RL at the first position C corresponding to the processing target point P on the edge line RL, a processing surface of a predetermined processing width W is formed between the outer peripheral surface ST of the thick-walled cylinder CP and the peripheral wall surface SW of the through hole HE. The first end point G1 and the second end point G2 corresponding to the two ends of the processing surface in the processing width direction are shown in FIG. Fig.12 The straight-line distance between the first endpoint G1 and the second endpoint G2, i.e., the first distance, is equal to the specified processing width W. The first endpoint G1 is originally located on the contour line of the first ellipse E1. However, since the first endpoint G1 is located near the processing object point P, the first endpoint G1 is considered to be located on the second tangent line B2 of the first ellipse E1 on the processing object point P.
[0078] The second endpoint G2 is originally located on the contour line of the second ellipse E2. However, since the second endpoint G2 is located near the processing object point P, the second endpoint G2 is considered to be located on the third tangent B3 of the second ellipse E2 on the processing object point P. In this embodiment, for ease of calculation, the first endpoint G1 is considered to be located on the second tangent B2, and the second endpoint G2 is considered to be located on the third tangent B3.
[0079] The cross section of the sphere forming the cutting surface of the tool CI is Fig.12In the figure, it is represented as a circle passing through the first end point G1 and the second end point G2 corresponding to the two ends of the machining width direction of the machining surface on the vertical plane VP. The length from the first position C of the tool CI represented as the center of the circle to the first end point G1 and the length from the first position C of the tool CI to the second end point G2 are both equal to the third radius D of the tool CI.
[0080] Fig.13 This is a diagram for explaining how the first position C of the tool CI corresponding to the processing target point P on the ridge line RL of the through hole HE is calculated based on the specified processing width W. As described above, the first end point G1 and the second end point G2 correspond to the two ends in the processing width direction of the processing surface formed by the tool CI cutting the ridge line RL at the first position C corresponding to the processing target point P.
[0081] In this embodiment, the length from the processing object point P to the first end point G1 on the second tangent line B2 is equal to the length from the processing object point P to the second end point G2 on the third tangent line B3. In this case, the generation of burrs due to the cutting of the edge line RL by the tool CI can be relatively suppressed. In addition, the length from the processing object point P to the first end point G1 and the length from the processing object point P to the second end point G2 may not necessarily be equal.
[0082] As described above, the length from the first position C of the tool CI to the first endpoint G1 and the length from the first position C of the tool CI to the second endpoint G2 are both equal to the third radius D of the tool CI. In the present embodiment, the first position C of the tool CI is also located on the bisector DL that bisects the angle formed by the second tangent line B2 and the third tangent line B3 starting from the processing object point P. The line segment SL connecting the first endpoint G1 and the second endpoint G2 is orthogonal to the bisector DL at the intersection point M. The intersection point M is the midpoint of the line segment SL.
[0083] The length of the line segment SL is equal to the prescribed processing width W. The length from the intersection point M, which is the center of the line segment SL, to the first end point G1 is 1 / 2 of the prescribed processing width W. The second distance L between the intersection point M and the processing object point P is calculated based on the first angle β of the angle formed by the second tangent line B2 and the third tangent line B3 with the processing object point P as the starting point and the prescribed processing width W. The first operation unit 230 of the operation device 110 calculates the second distance L using formula (2).
[0084] The first operation unit 230 calculates the length CL from the first position C of the tool CI to the processing object point P based on the second distance L, the third radius D of the tool CI, and the cutting amount Q corresponding to the specified processing width W. The length CL from the first position C of the tool CI to the processing object point P is calculated using formula (3). The first operation unit 230 calculates the first position C on the vertical plane VP based on the bisector DL and the length CL from the first position C to the processing object point P. Based on the calculation result and the definition of the vertical plane VP, the first position C of the tool CI in the coordinate space defined by the X-axis, the Y-axis and the Z-axis can be calculated. The first position C of the tool CI is calculated for each of the multiple processing object points P. Each processing object point is closest to the first position C of the tool CI on the ridgeline RL.
[0085] Fig.14 1 is a flowchart showing a processing procedure executed by the control device 30 of the machine tool 10. This processing procedure is performed, for example, by the operation device 110 of the control device 30 executing a calculation program. When this processing procedure starts, in step S102, the acquisition unit 210 of the calculation device 110 acquires processing object data from a user or the storage device 120.
[0086] The processing object data includes the second position of the thick-walled cylinder CP, the third position of the through hole HE, the first radius R1 of the cylindrical surface SS of the thick-walled cylinder CP, the second radius R2 of the imaginary cylinder CS in the shape of the through hole HE, the configuration angle of the thick-walled cylinder CP, the penetration angle of the through hole HE, and the eccentric distance f. The configuration 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 penetration angle of the through hole HE is 0°.
[0087] In step S104, the acquisition unit 210 acquires tool data from the storage device 120 based on the number of the tool CI designated by the user. As the tool data, the third radius D of the tool CI is associated with the number of the tool CI.
[0088] 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 processing width W is determined. When the tolerance amount TA is specified, in step S108, the determination unit 220 of the computing device 110 determines a plurality of processing target points P on the edge line RL.
[0089] In step S110, the first operation unit 230 of the operation device 110 calculates the first tangent line B1 of the edge line RL at each processing target point P. In step S112, the first operation unit 230 calculates the second tangent line B2 at each processing target point P of the first ellipse E1 formed by the vertical plane VP perpendicular to the first tangent line B1 and the cylindrical peripheral surface SS. In step S114, the first operation unit 230 calculates the third tangent line B3 at each processing target point P of the second ellipse E2 formed by the vertical plane VP and the virtual cylinder CS.
[0090] In step S116 , the first calculation unit 230 calculates, based on the processing target data, a bisector DL that bisects an angle formed by the second tangent line B2 and the third tangent line B3 with the processing target point P as a starting point.
[0091] In step S118, the first operation unit 230 determines a line segment SL connecting the first endpoint G1 on the second tangent line B2 and the second endpoint G2 on the third tangent line B3. The first distance between the first endpoint G1 and the second endpoint G2 of the line segment SL is equal to the predetermined processing width W. The first operation unit 230 calculates a second distance L between an intersection point M at which the line segment SL and the bisector DL intersect orthogonally and the processing target point P. The second distance L is calculated based on the first angle β of the angle formed by the second tangent line B2 and the third tangent line B3 and the predetermined processing width W.
[0092] In step S120, the first operation unit 230 calculates the first position C of the tool CI corresponding to each processing object point P based on the second distance L, the third radius D of the tool CI, and the specified processing width W. In step S122, the first operation unit 230 determines whether the first position C of the tool CI corresponding to all the multiple processing object points P determined in step S108 has been calculated.
[0093] If the answer is no in step S122, the processing sequence returns to step S110. If the answer is yes in step S122, the processing sequence proceeds to step S124. In step S124, the processing control unit 250 of the computing device 110 causes the tool CI to cut the edge line RL at the first position C corresponding to each processing object point P. When the processing of step S124 is completed, the processing sequence ends.
[0094] Fig.15 As an example, the operation device 110 of the control device 30 executes Fig.14 The above-mentioned operation program is recorded in a recording medium 310 such as a CD-ROM or a USB memory and is supplied to the control device 30.
[0095] The operation program may be recorded in a data signal 330 circulating in a communication network 320 such as the Internet and supplied to the control device 30 by a server 340. The server 340 puts the operation program stored in a storage device (not shown) on a carrier wave in the form of a data signal 330. The server 340 sends the data signal 330 to the control device 30 via the communication network 320, thereby providing the operation program. In this way, the operation program is supplied in the form of a computer program product such as a recording medium 310 or a data signal 330 that can be read by a computer.
[0096] [Modifications] The above-mentioned embodiment may be modified as follows.
[0097] (Variant 1) In the above-mentioned embodiment, the first position C of the tool CI at the processing object point P is calculated using the first angle β of the angle formed by the second tangent line B2 of the first ellipse E1 and the third tangent line B3 of the second ellipse E2 at the processing object point P. However, the first position C of the tool CI at the processing object point P may be calculated using the coordinate values of the coordinate system composed of the S axis and the T axis on the vertical plane VP.
[0098] Fig.16 2 is a diagram illustrating the configuration of the control device 30 of the machine tool 10. Figure 2A In contrast, the second operation unit 440 is added to the operation device 110. The operation device 110 executes the operation program stored in the storage device 120, thereby realizing the acquisition unit 210, the determination unit 220, the first operation unit 230, the second operation unit 440, and the processing control unit 250. At least a part of the acquisition unit 210, the determination unit 220, the first operation unit 230, the second operation unit 440, and the processing control unit 250 can also be realized by an integrated circuit such as an ASIC and an FPGA, or an electronic circuit including discrete devices.
[0099] The second calculation unit 440 calculates the first basis vector and the second basis vector on the vertical plane VP based on the processing target data. The details of the first basis vector and the second basis vector will be described later.
[0100] Fig.17A Graph showing an angle γ formed by a perpendicular line from the processing target point P on the ridgeline RL of the through hole HE to the first central axis A1 of the thick cylinder CP with respect to the X-axis. Fig.17A The figure shows the negative direction of the Y axis. Figure 3B , Figure 8 as well as Fig. 9The figure shows the situation of the cylindrical surface SS of the thick-walled cylinder CP and the imaginary cylinder CS in the shape of the through hole HE. The fourth position of the processing object point P is on the edge line RL determined according to the processing object data. The second center axis A2 of the cylinder CS is offset from the first center axis A1 of the thick-walled cylinder CP by an eccentric distance f in the direction of the X axis.
[0101] Fig.17A The area of the cylindrical surface SS shown in the figure that is included in the interior of the cylinder CS corresponds to the through hole HE. The processing object point P is located on the ridge line RL of the through hole HE, so the processing object point P is located in the above-mentioned area. The length of the perpendicular line from the processing object point P to the first center axis A1 is equal to the length of the first radius R1 of the cylindrical surface SS. The fourth position of the processing object point P is represented by the intermediate variable of the angle γ formed by the perpendicular line relative to the X-axis. Taking into account the eccentric distance f, the X component Xp of the three-dimensional coordinate value in the XYZ space representing the fourth position of the processing object point P is represented by formula (4) with reference to the position O on the X-axis of the second center axis A2. Xp=R1·cosγ-f ··· (4)
[0102] An angle formed by a perpendicular line from the processing target point P on the ridge line RL of the through hole HE to the second central axis A2 with respect to the X-axis is hereinafter referred to as a third angle. Fig. 17B Graphs showing a third angle φ formed by a perpendicular line from the processing target point P on the ridgeline RL of the through hole HE to the second central axis A2 of the cylinder CS in the shape of the through hole HE with respect to the X-axis and the first basis vector e1. Fig. 17B The figure shows the situation when looking back from the positive direction of the Z axis. Figure 3B , Figure 8 as well as Fig. 9 The processing object point P is located on the edge line RL of the through hole HE, so the third angle φ takes a value greater than 0° and less than 360° (0°<φ≤360°). The upper limit value of the third angle φ may also be less than 360°.
[0103] The length of the perpendicular line from the processing object point P to the second center axis A2 is equal to the length of the second radius R2 of the cylinder CS. The fourth position of the processing object point P is represented by the third angle φ formed by the perpendicular line relative to the X axis as an intermediate variable. The X component Xp of the three-dimensional coordinate value in the XYZ space representing the fourth position of the processing object point P is represented by equation (5) with reference to the position of the second center axis A2. Equation (6) is obtained from equations (4) and (5). Xp=R2·cosφ ··· (5) R1·cosγ-f=R2·cosφ··· (6)
[0104] Fig. 17B The first tangent line B1 of the ridge line RL on the processing object point P is shown in the figure. The vector perpendicular to the first tangent line B1 and passing through the processing object point P is included in the vertical plane VP. The vector starting from the processing object point P, perpendicular to the second central axis line A2 and forming a third angle φ with respect to the X-axis is set as the first basis vector e1 of the vertical plane VP. The first basis vector e1 is perpendicular to the first tangent line B1 and is parallel to the above-mentioned S axis as the horizontal axis of the vertical plane VP. When the size of the first basis vector e1 is set to 1, the three-dimensional coordinate value of the first basis vector e1 in the XYZ space is shown in formula (7) with the third angle φ as the intermediate variable. [Formula 4]
[0105] The three-dimensional coordinate value of the second basis vector e2 on the vertical plane VP, which starts from the processing object point P and is perpendicular to the first basis vector e1, is shown in the form of a vector of magnitude 1 according to equations (6) and (7) in equation (8). The direction in which the second basis vector e2 extends is the direction from the processing object point P to the outside of the thick-walled cylinder CP. The second basis vector e2 is perpendicular to the first tangent line B1 and is parallel to the above-mentioned T axis as the longitudinal axis of the vertical plane VP. The second operation unit 440 of the operation device 110 calculates the first basis vector e1 and the second basis vector e2 for each of the plurality of processing object points P by using equations (7) and (8) using the processing object data. [Formula 5]
[0106] Fig.18 1 is a diagram showing the positional relationship between the second tangent line B2 , the third tangent line B3 , and the tool CI for removing the burr BR generated on the inner peripheral surface SN of the thick cylinder CP, and the first basis vector e1 and the second basis vector e2 . Fig.18 In addition to Fig.10 In addition to the content of , the first basis vector e1 and the second basis vector e2 are also shown. As mentioned above, the first basis vector e1 is parallel to the S axis, and the second basis vector e2 is orthogonal to the first basis vector e1. Therefore, Fig.18 In FIG. 8 , the second basis vector e2 is recorded in a manner overlapping with the third tangent line B3 parallel to the T-axis.
[0107] Fig.19 This is a diagram for explaining how the first position C of the tool CI corresponding to the processing target point P on the ridge line RL of the through hole HE is calculated based on the specified processing width W. As in the above-mentioned embodiment, in this modification, the first position C of the tool CI is also located on the bisector DL that bisects the angle formed by the second tangent line B2 and the third tangent line B3 starting from the processing target point P. Fig.19 In addition to Fig.11 In addition to the contents of , the first basis vector e1, the second basis vector e2, and the direction vector u parallel to the bisector DL are also displayed. The direction vector u is a vector of the fourth direction extending toward the bisector DL from the processing object point P on the vertical plane VP, and is a vector with a magnitude of 1.
[0108] The angle formed by the second tangent line B2 on the vertical plane VP with respect to the first basis vector e1 is hereinafter referred to as the second angle α. As described above, the second tangent line B2 is calculated based on the formula of the first ellipse E1. Therefore, the second angle α formed by the second tangent line B2 on the vertical plane VP with respect to the first basis vector e1 is shown in formula (9). The first operation unit 230 of the operation device 110 calculates the second angle α corresponding to the third angle φ using formula (9) for each processing object point P. [Formula 6]
[0109] The first calculation unit 230 calculates the direction vector u based on the equation (10) using the second angle α. [Formula 7]
[0110] As described above, the first distance between the first endpoint G1 on the second tangent line B2 and the second endpoint G2 on the third tangent line B3 (the length of the line segment SL connecting the first endpoint G1 and the second endpoint G2) is equal to the predetermined processing width W. The first calculation unit 230 calculates the second distance L between the processing target point P and the intersection point M where the line segment SL and the bisector DL are orthogonal to each other on the vertical plane VP based on the formula (11) using the second angle α. [Formula 8]
[0111] The first operation unit 230 calculates the first position C of the tool CI based on the direction vector u, the second distance L, the third radius D of the tool CI, and the cutting amount Q corresponding to the specified processing width W. When the processing object point P is the origin of the ST plane, the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP is calculated using formula (12). Furthermore, the first position C of the tool CI in the coordinate space defined by the X-axis, the Y-axis, and the Z-axis can be calculated based on formula (12) and the definition of the vertical plane VP. [Formula 9]
[0112] Fig. 201 is a diagram showing the positional relationship between the second tangent line B2 , the third tangent line B3 , and the tool CI for removing the burrs BR generated on the outer peripheral surface ST of the thick cylinder CP, and the first basis vector e1 and the second basis vector e2 . Fig. 20 In addition to Fig.12 In addition to the content, the first basis vector e1 and the second basis vector e2 are also displayed. Fig. 20 In FIG. 8 , the second basis vector e2 is recorded in such a manner as to be connected to the third tangent line B3 parallel to the T-axis.
[0113] Fig.21 This is a diagram for explaining how the first position C of the tool CI corresponding to the processing target point P on the ridge line RL of the through hole HE is calculated based on the specified processing width W. As in the above-mentioned embodiment, in this modification, the first position C of the tool CI is also located on the bisector DL that bisects the angle formed by the second tangent line B2 and the third tangent line B3 starting from the processing target point P. Fig.21 In addition to Fig.13 In addition to the content, the first basis vector e1, the second basis vector e2, and the direction vector u parallel to the bisector DL are also shown. The first operation unit 230 of the operation device 110 calculates the second angle α corresponding to the third angle φ for each processing object point P using equation (9).
[0114] The first calculation unit 230 calculates the direction vector u based on the equation (13) using the second angle α. [Formula 10]
[0115] The first calculation unit 230 calculates a second distance L between the processing target point P and an intersection point M where the line segment SL and the bisector DL are perpendicular to each other on the vertical plane VP based on the equation (14) using the second angle α. [Formula 11]
[0116] The first operation unit 230 calculates the first position C of the tool CI based on the direction vector u, the second distance L, the third radius D of the tool CI, and the cutting amount Q corresponding to the specified processing width W. When the processing object point P is the origin of the ST plane, the two-dimensional coordinate value (Sc, Tc) of the first position C of the tool CI on the vertical plane VP is calculated using formula (12). Furthermore, the first position C of the tool CI in the coordinate space defined by the X-axis, the Y-axis, and the Z-axis can be calculated based on formula (12) and the definition of the vertical plane VP.
[0117] Fig. 221 is a flowchart showing a processing procedure executed by the control device 30 of the machine tool 10. This processing procedure is performed, for example, by the operation device 110 of the control device 30 executing a calculation program. Fig. 22 The symbols assigned to each step of the processing order shown are partly the same as those for Fig.14 The same symbols are assigned to the steps of the control processing shown, indicating that the same processing is performed. The description of these processing is omitted.
[0118] When the process of step S110 is completed, in step S200, the second operation unit 440 of the operation device 110 calculates the first basis vector e1 and the second basis vector e2 based on the processing target data. When the process of step S200 is completed, the process of step S112 is performed.
[0119] When the processing of the above-mentioned step S114 is completed, in step S210, the first operation unit 230 of the operation device 110 calculates the direction vector u of the fourth direction extending toward the bisector DL. In step S220, the first operation unit 230 determines the line segment SL connecting the first endpoint G1 on the second tangent line B2 and the second endpoint G2 on the third tangent line B3. The first distance between the first endpoint G1 and the second endpoint G2 of the line segment SL is equal to the prescribed processing width W. The first operation unit 230 calculates the second distance L between the intersection M at which the line segment SL and the bisector DL intersect orthogonally and the processing object point P using the second angle α and the prescribed processing width W.
[0120] In step S230, the first operation unit 230 calculates the first position C of the tool CI based on the direction vector u, the second distance L, the third radius D of the tool CI, and the specified processing width W. When the processing of step S230 is completed, the processing of the above-mentioned step S122 is performed. In addition, a computer program product for causing the operation device 110 of the control device 30 to execute the operation program of this processing sequence is exemplified in Fig.15 .
[0121] (Variant 2) In the above embodiment, the object to be processed is a thick-walled cylinder CP, but the object to be processed is not limited to a thick-walled cylinder CP. The object to be processed may also have a rectangular outer peripheral surface and a cylindrical hollow portion. As an object to be processed having such a shape, for example, a manifold block is used. Fig.23 The figure shows an example of a manifold block MB used as a processing object. Fig.23 In the figure, the manifold block MB is arranged on the XY plane.
[0122] The hollow portion of the manifold block MB is cylindrical, and thus the inner peripheral surface SN of the manifold block MB forms a cylindrical peripheral surface SS. The central axis passing through the center of the cylindrical peripheral surface SS is the first central axis A1 of the manifold block MB. In this modification, the first direction in which the first central axis A1 of the manifold block MB extends is the direction of the Y axis.
[0123] A through hole HE penetrating the manifold block MB in the shape of a cylinder CS from the outer peripheral surface of the manifold block MB toward the inner peripheral surface SN is formed by the peripheral wall surface SW. The second direction in which the second central axis A2 of the cylinder CS in the shape of the through hole HE extends is the direction of the Z axis. In this modification, the tool CI removes the burr BR formed on the inner peripheral surface SN of the manifold block MB.
[0124] The ridgeline RL forming the edge of the through hole HE is the ridgeline RLN. The ridgeline 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. The first calculation unit 230 calculates the first position C of the tool CI that cuts the ridgeline RLN of the manifold block MB with a predetermined processing width W in the same manner as when the processing object is a thick-walled cylinder CP.
[0125] (Variant 3) In the above embodiment, when the through hole HE penetrating the thick cylinder CP is viewed from directly above the through hole HE, the through hole HE is circular. However, the thick cylinder CP may be provided with a long hole-shaped through hole HE instead of the non-circular through hole HE. Fig.24 It is a diagram for explaining the thick-walled cylinder CP and the through hole HE having a long hole shape penetrating the thick-walled cylinder CP. Fig.24 In the process, the thick-walled cylinder CP is formed with a long hole HE to replace the non- Figure 3A The circular through hole HE is shown.
[0126] The ridgeline RL of the through hole HE includes two arc-shaped sections that are arc-shaped when viewed from directly above the through hole HE and two linear sections that are parallel to the first direction (the direction of the Y axis). As described above, the first direction is the direction in which the first central axis A1 of the thick-walled cylinder CP extends. The two arc-shaped sections constitute the two corners (two ends) of the through hole HE in the shape of a long hole in the ridgeline RL. These two arc-shaped sections are connected together via the above-mentioned two linear sections to form the ridgeline RL.
[0127] The through hole HE in the shape of an elongated hole extends from the outer peripheral surface ST of the thick-walled cylinder CP toward the inner peripheral surface SN. Fig.24The shape of the imaginary cylinder CB1 shown penetrates the thick-walled cylinder CP. The cylinder CB1 includes two parallel imaginary cylinders CS1 and CS2 at its two corners (two ends). The second direction in which the central axis A21 of the cylinder CS1 and the central axis A22 of the cylinder CS2 extend is the direction of the Z axis. Therefore, the central axes A21 and A22 are parallel to each other. When the through hole HE is observed from directly above the through hole HE along the Z axis, the through hole HE is a long hole shape corresponding to the cylinder CB1. The through hole HE is formed by the peripheral wall surface SW.
[0128] Fig.25 It is a diagram schematically showing a through hole HE having a long hole shape. Fig.25 2 shows a diagram of a thick-walled cylinder CP having a through hole HE in a long hole shape as viewed from the positive direction of the Z axis on the outside of the thick-walled cylinder CP. Fig.25 In the through hole HE of the long hole shape, the two imaginary cylinders CS1 and CS2 both show circular bottom surfaces. The radius of the cylinder CS1 is equal to the radius of the cylinder CS2. The radii of the cylinders CS1 and CS2 are both the second radius R2.
[0129] The ridge line RL of the through hole HE in the shape of an elongated hole includes an arc-shaped section RL1, a linear section RL2, an arc-shaped section RL3, and a linear section RL4. The linear sections RL2 and RL4 are parallel to the Y axis. The arc-shaped section RL1 corresponds to half of the circumference of the side surface of the cylinder CS1. The arc-shaped section RL3 corresponds to half of the circumference of the side surface of the cylinder CS2. The areas where the two cylinders CS1 and CS2 are respectively inserted through the through hole HE are included in the two corners (two ends) of the through hole HE.
[0130] Fig.25 In FIG. 1 , the processing target point P1 is shown at a position where the linear section RL4 and the arc-shaped section RL1 are connected to each other among the ridge lines RL of the through hole HE. Fig.25 In FIG. 1 , the processing target point P2 is shown at a position where the arc-shaped section RL1 and the linear section RL2 are connected to each other on the ridge line RL of the through hole HE.
[0131] Fig.25 In FIG. 1 , the processing target point P3 is shown at a position where the linear section RL2 and the arc-shaped section RL3 are connected to each other among the ridge lines RL of the through hole HE. Fig.25 In FIG. 1 , the processing target point P4 is shown at a position where the arc-shaped section RL3 and the linear section RL4 are connected to each other on the ridge line RL of the through hole HE.
[0132] As described above, the arc-shaped section RL1 from the processing target point P1 to the processing target point P2 corresponds to the virtual cylinder CS1. Figure 5A and Figure 5BIn the case of the circular through hole HE penetrating the thick cylinder CP shown in the figure, the first position C of the tool CI which cuts the arc-shaped section RL1 of the ridgeline RL with a predetermined processing width W is calculated in the same manner.
[0133] As described above, the arc-shaped section RL3 from the processing target point P3 to the processing target point P4 corresponds to the virtual cylinder CS2. Figure 5A and Figure 5B In the case of the circular through hole HE penetrating the thick cylinder CP shown in the figure, the first position C of the tool CI which cuts the arc-shaped section RL3 of the ridgeline RL with the predetermined processing width W is calculated.
[0134] That is, the first operation unit 230 calculates the first position C of the tool CI in the arc-shaped sections RL1 and RL3 of the edge line RL based on the second tangent line B2 of the first ellipse E1, the third tangent line B3 of the second ellipse E2, the specified processing width W, and the third radius D of the tool CI. The tool CI disposed at the first position C corresponding to the processing object point P in the arc-shaped sections RL1 and RL3 cuts the edge line RL with the specified processing width W.
[0135] 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 cuts the edge line RL with the prescribed processing width W at the processing object point P2 is set to (Xc2, Yc2, Zc2). The processing object point P2 is included in the above-mentioned arc-shaped interval RL1 in the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that cuts the edge line RL with the prescribed processing width W at the processing object point P3 is set to (Xc3, Yc3, Zc3). The processing object point P3 is included in the above-mentioned arc-shaped interval RL3 in the edge line RL.
[0136] like Fig.25 As shown, the linear section RL2 of the ridgeline RL extends in the direction of the Y axis and connects the processing object points P2 and P3. That is, the processing object point P2 is located at a position where the processing object point P3 is moved in the direction of the Y axis by the length of the linear section RL2 of the ridgeline RL. The first position C of the tool CI corresponding to the processing object point P2 is also located at a position where the first position C of the tool CI corresponding to the processing object point P3 is moved in the direction of the Y axis by the length of the linear section RL2.
[0137] Therefore, the difference between the Y component Yc2 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P2 and the Y component Yc3 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P3 corresponds to the length of the linear section RL2 of the ridgeline RL. The Y components Yc2 and Yc3 are determined in this way.
[0138] 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 processing object point P2 are respectively 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 processing object point P3. For any processing object point P on the linear section RL2 of the ridgeline RL, the X component and the Z component of the three-dimensional coordinate value representing the first position C of the tool CI are fixed values, and the Y component changes linearly.
[0139] 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 cuts the edge line RL with the predetermined processing width W at the processing object point P4 is set to (Xc4, Yc4, Zc4). The processing object point P4 is included in the above-mentioned arc-shaped interval RL3 in the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that cuts the edge line RL with the predetermined processing width W at the processing object point P1 is set to (Xc1, Yc1, Zc1). The processing object point P1 is included in the above-mentioned arc-shaped interval RL1 in the edge line RL.
[0140] like Fig.25 As shown, the linear section RL4 of the edge line RL extends in the direction of the Y axis and connects the processing object points P4 and P1. That is, the processing object point P1 is located at a position where the processing object point P4 is moved in the direction of the Y axis by the length of the linear section RL4 of the edge line RL. The first position C of the tool CI corresponding to the processing object point P1 is also located at a position where the first position C of the tool CI corresponding to the processing object point P4 is moved in the direction of the Y axis by the length of the linear section RL4.
[0141] Therefore, the difference between the Y component Yc1 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P1 and the Y component Yc4 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P4 corresponds to the length of the linear section RL4 of the ridgeline RL. The Y components Yc1 and Yc4 are determined in this way.
[0142] 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 processing object point P1 are respectively 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 processing object point P4. For any processing object point P on the linear interval RL4 of the ridgeline 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 fixed values, and the Y component changes linearly.
[0143] The first position C of the tool CI corresponding to the processing object points P1 and P2 in the arc-shaped interval RL1 is calculated as described above. The first position C of the tool CI corresponding to the processing object points P3 and P4 in the arc-shaped interval RL3 is also calculated as described above. The first operation unit 230 calculates the first position C of the tool CI in the linear intervals RL2 and RL4 of the edge line RL based on the first position C of the tool CI corresponding to the processing object points P1, P2, P3 and P4 respectively and the processing object data. As described above, the processing object data is acquired by the acquisition unit 210. The tool CI at the first position C corresponding to the processing object point P in the linear intervals RL2 and RL4 cuts the edge line RL with a specified processing width W.
[0144] (Variant 4) In the above-mentioned modification 3, when the through hole HE penetrating the thick-walled cylinder CP is viewed from directly above the through hole HE, the through hole HE is in the shape of an elongated hole. However, the through hole HE may be in the shape of a rounded quadrilateral. Fig.26 1 is a diagram for explaining a through hole HE having a rounded quadrilateral shape and a thick-walled cylinder CP. The ridge line RL of the through hole HE includes four arc-shaped sections that are arc-shaped when viewed from directly above the through hole HE, two straight-line sections parallel to the first direction (the direction of the Y axis), and two straight-line sections parallel to the direction of the X axis.
[0145] As described above, the first direction is the direction in which the first central axis A1 of the thick-walled cylinder CP extends. The direction of the X-axis is perpendicular to the direction of the Y-axis (the first direction) and the direction of the Z-axis (the second direction). The four arc-shaped sections constitute the four corners of the through hole HE in the shape of a rounded quadrilateral in the ridge line RL. These four arc-shaped sections are connected together via the above-mentioned four straight sections to form the ridge line RL.
[0146] The through hole HE in the shape of a rounded quadrilateral extends from the outer peripheral surface ST of the thick-walled cylinder CP toward the inner peripheral surface SN. Fig.26 The shape of the imaginary cylinder CB2 shown is such that it penetrates the thick-walled cylinder CP. The cylinder CB2 includes four parallel imaginary cylinders CS10, CS20, CS30 and CS40 at its four corners.
[0147] The second direction in which the central axis A210 of the cylinder CS10, the central axis A220 of the cylinder CS20, the central axis A230 of the cylinder CS30, and the central axis A240 of the cylinder CS40 extend is the direction of the Z axis. Therefore, the central axes A210, A220, A230, and A240 are parallel to each other. When the through hole HE is observed from directly above the through hole HE along the Z axis, the through hole HE is in the shape of a rounded quadrilateral corresponding to the column CB2. The through hole HE is formed by the peripheral wall surface SW.
[0148] Fig. 27 It is a diagram schematically showing a through hole HE in the shape of a rounded quadrilateral. Fig. 27 2 shows a diagram of a thick-walled cylinder CP having a through hole HE in a rounded quadrilateral shape as viewed from the positive direction of the Z axis on the outside of the thick-walled cylinder CP. Fig. 27 In the through hole HE of the rounded quadrilateral shape, the four imaginary cylinders CS10, CS20, CS30 and CS40 all show a circular bottom surface. The radius of the cylinder CS10, the radius of the cylinder CS20, the radius of the cylinder CS30 and the radius of the cylinder CS40 are equal. The radii of the cylinders CS10, CS20, CS30 and CS40 are all the second radius R2.
[0149] The ridgeline RL of the through hole HE in the shape of a rounded quadrilateral includes an arc-shaped section RL10, a linear section RL20, an arc-shaped section RL30, a linear section RL40, an arc-shaped section RL50, a linear section RL60, an arc-shaped section RL70, and a linear section RL80. The linear sections RL20 and RL60 are parallel to the X-axis. The linear sections RL40 and RL80 are parallel to the Y-axis.
[0150] The arc-shaped interval RL10 corresponds to 1 / 4 of the circumference of the side surface of the cylinder CS10. The arc-shaped interval RL30 corresponds to 1 / 4 of the circumference of the side surface of the cylinder CS20. The arc-shaped interval RL50 corresponds to 1 / 4 of the circumference of the side surface of the cylinder CS30. The arc-shaped interval RL70 corresponds to 1 / 4 of the circumference of the side surface of the cylinder CS40. The areas where the four cylinders CS10, CS20, CS30, and CS40 are respectively inserted through the through hole HE are included in the four corners of the through hole HE.
[0151] Fig. 27 In FIG. 1 , the processing target point P10 is shown at a position where the linear section RL80 and the arc-shaped section RL10 are connected to each other on the ridgeline RL of the through hole HE. Fig. 27 In FIG. 1 , the processing target point P20 is shown at a position where the arc-shaped section RL10 and the linear section RL20 are connected to each other on the ridge line RL of the through hole HE.
[0152] Fig. 27 In FIG. 1 , the processing target point P30 is shown at a position where the linear section RL20 and the arc-shaped section RL30 are connected to each other on the ridgeline RL of the through hole HE. Fig. 27 In FIG. 1 , the processing target point P40 is shown at a position where the arc-shaped section RL30 and the linear section RL40 are connected to each other on the ridge line RL of the through hole HE.
[0153] Fig. 27In FIG. 1 , the processing target point P50 is shown at a position where the linear section RL40 and the arc-shaped section RL50 are connected to each other on the ridgeline RL of the through hole HE. Fig. 27 In FIG. 1 , the processing target point P60 is shown at a position where the arc-shaped section RL50 and the linear section RL60 are connected to each other on the ridge line RL of the through hole HE.
[0154] Fig. 27 In FIG. 1 , the processing target point P70 is shown at a position where the linear section RL60 and the arc-shaped section RL70 are connected to each other on the ridgeline RL of the through hole HE. Fig. 27 In FIG. 1 , the processing target point P80 is shown at a position where the arc-shaped section RL70 and the linear section RL80 are connected to each other on the ridge line RL of the through hole HE.
[0155] As described above, the arc-shaped section RL10 from the processing target point P10 to the processing target point P20 corresponds to the virtual cylinder CS10. Figure 5A and Figure 5B In the case of the circular through hole HE penetrating the thick cylinder CP shown, the first position C of the tool CI which cuts the arc-shaped section RL10 of the ridgeline RL with a predetermined processing width W is calculated in the same manner.
[0156] As described above, the arc-shaped section RL30 from the processing target point P30 to the processing target point P40 corresponds to the virtual cylinder CS20. Figure 5A and Figure 5B In the case of the circular through hole HE penetrating the thick cylinder CP shown, the first position C of the tool CI that cuts the arc-shaped section RL30 of the ridgeline RL with a predetermined processing width W is calculated in the same manner.
[0157] As described above, the arc-shaped section RL50 from the processing target point P50 to the processing target point P60 corresponds to the virtual cylinder CS30. Figure 5A and Figure 5B In the case of the circular through hole HE penetrating the thick cylinder CP shown in the figure, the first position C of the tool CI which cuts the arc-shaped section RL50 of the ridgeline RL with the predetermined processing width W is calculated in the same manner.
[0158] As described above, the arc-shaped section RL70 from the processing target point P70 to the processing target point P80 corresponds to the virtual cylinder CS40. Figure 5A and Figure 5B In the case of the circular through hole HE penetrating the thick cylinder CP shown in the figure, the first position C of the tool CI which cuts the arc-shaped section RL70 of the ridgeline RL with a predetermined processing width W is calculated.
[0159] That is, the first operation unit 230 calculates the first position C of the tool CI in the arc-shaped intervals RL10, RL30, RL50, and RL70 of the edge line RL based on the second tangent line B2 of the first ellipse E1, the third tangent line B3 of the second ellipse E2, the specified processing width W, and the third radius D of the tool CI. The tool CI disposed at the first position C corresponding to the processing object point P in the arc-shaped intervals RL10, RL30, RL50, and RL70 cuts the edge line RL with the specified processing width W.
[0160] like Fig. 27 As shown, the linear section RL40 of the edge line RL extends in the direction of the Y axis, connecting the processing object points P40 and P50. That is, the processing object point P40 is located after the processing object point P50 is moved in the direction of the Y axis by the length of the linear section RL40 of the edge line RL. The first position C of the tool CI corresponding to the processing object point P40 is also located after the first position C of the tool CI corresponding to the processing object point P50 is moved in the direction of the Y axis by the length of the linear section RL40. Therefore, the first operation unit 230 is used in conjunction with Fig.24 and Fig.25 In the case of the through hole HE having the long hole shape penetrating the thick cylinder CP shown, the first position C of the tool CI which cuts the linear section RL40 of the ridgeline RL with the predetermined processing width W is calculated in the same manner.
[0161] like Fig. 27 As shown, the linear section RL80 of the edge line RL extends in the direction of the Y axis, connecting the processing object points P80 and P10. That is, the processing object point P10 is located after the processing object point P80 is moved in the direction of the Y axis by the length of the linear section RL80 of the edge line RL. The first position C of the tool CI corresponding to the processing object point P10 is also located after the first position C of the tool CI corresponding to the processing object point P80 is moved in the direction of the Y axis by the length of the linear section RL80. Therefore, the first operation unit 230 is used in conjunction with Fig.24 and Fig.25 In the case of the through hole HE having the long hole shape penetrating the thick cylinder CP shown, the first position C of the tool CI which cuts the linear section RL80 of the ridgeline RL with the predetermined processing width W is calculated in the same manner.
[0162] The first position C of the tool CI corresponding to the processing object point P10 in the arc-shaped interval RL10 is calculated as described above. The first position C of the tool CI corresponding to the processing object point P40 in the arc-shaped interval RL30 is also calculated as described above. The first position C of the tool CI corresponding to the processing object point P50 in the arc-shaped interval RL50 is also calculated as described above. The first position C of the tool CI corresponding to the processing object point P80 in the arc-shaped interval RL70 is also calculated as described above.
[0163] The first operation unit 230 calculates the first position C of the tool CI in the linear sections RL40 and RL80 of the edge line RL based on the first position C of the tool CI corresponding to the processing object points P10, P40, P50, and P80, respectively, and the processing object data. As described above, the processing object data is acquired by the acquisition unit 210. The tool CI disposed at the first position C corresponding to the processing object point P in the linear sections RL40 and RL80 cuts the edge line RL with a predetermined processing width W.
[0164] 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 cuts the edge line RL with the prescribed processing width W at the processing object point P20 is set to (Xc20, Yc20, Zc20). The processing object point P20 is included in the above-mentioned arc-shaped interval RL10 in the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that cuts the edge line RL with the prescribed processing width W at the processing object point P30 is set to (Xc30, Yc30, Zc30). The processing object point P30 is included in the above-mentioned arc-shaped interval RL30 in the edge line RL.
[0165] like Fig. 27 As shown in FIG. 1 , the linear section RL20 of the edge line RL extends in the direction of the X-axis and connects the processing object points P20 and P30. That is, the processing object point P30 is located at a position where the processing object point P20 is moved in the direction of the X-axis by the length of the linear section RL20 of the edge line RL. The first position C of the tool CI corresponding to the processing object point P30 is also located at a position where the first position C of the tool CI corresponding to the processing object point P20 is moved in the direction of the X-axis by the length of the linear section RL20.
[0166] Therefore, the difference between the X component Xc30 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P30 and the X component Xc20 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P20 corresponds to the length of the linear section RL20 of the ridgeline RL. The X components Xc20 and Xc30 are determined in this way.
[0167] Furthermore, the Y component Yc20 of the three-dimensional coordinate value indicating the first position C of the tool CI corresponding to the processing object point P20 is equal to the Y component Yc30 of the three-dimensional coordinate value indicating the first position C of the tool CI corresponding to the processing object point P30.
[0168] The processing object points P20 and P30 are located on the cylindrical surface SS of the thick-walled cylinder CP. Fig.17A As shown, when viewed from the Y axis, the cylindrical surface SS is represented by a circle of a first radius R1 centered on the position of the first central axis A1 of the thick-walled cylinder CP on the XZ plane. The linear section RL20 when viewed from the positive direction of the Z axis is a part of the arc of the circle when viewed from the negative direction of the Y axis. Fig.17A In FIG. 1 , if the two-dimensional coordinate value of the position O on the X-axis of the second central axis A2 is set to (0, 0), the coordinate value representing the center position of the circle of the cylindrical circumferential surface SS is (−f, 0).
[0169] Fig.28 It is a diagram for explaining the positional relationship between the first position C of the tool CI and the first central axis A1 of the thick cylinder CP. Fig.28 , a diagram showing the portion of a thick-walled cylinder CP cut in a plane perpendicular to the Y axis (a plane parallel to the XZ plane) from the cut surface forward is shown in the figure. The tool CI cuts the ridgeline RL including the processing object point P with a predetermined processing width, thereby removing the burr BR. Among the cut ridgelines RL, the section RL20 from the processing object point P20 to the processing object point P30 is included in the circle representing the cylindrical circumferential surface SS.
[0170] Therefore, the first position C of the tool CI that cuts the edge line RL in the interval RL20 from the processing object point P20 to the processing object point P30 is on the arc of the circle CC with a radius R3 centered at a position equal to the center position (-f, 0) of the circle representing the cylindrical circumferential surface SS mentioned above. The center position (-f, 0) of the circle CC is the position on the XZ plane of the first center axis A1 of the thick-walled cylinder CP. The circle CC is represented by formula (15) on the XZ plane. The X component and Z component of the three-dimensional coordinate value of the first position C of the tool CI that cuts the edge line RL in the interval RL20 from the processing object point P20 to the processing object point P30 satisfy formula (15). (X+f) 2 +Z 2 =R3 2 · · · (15)
[0171] The X component Xc20 and Z component Zc20 representing the three-dimensional coordinate value of the first position C20 of the tool CI corresponding to the processing object point P20 also satisfy the formula (15). The X component Xc30 and Z component Zc30 representing the three-dimensional coordinate value of the first position C30 of the tool CI corresponding to the processing object point P30 also satisfy the formula (15). Therefore, the radius R3 of the above-mentioned circle CC is obtained using the formula (16). The radius R3 of the circle CC is equal to the distance between the first position C20 of the tool CI corresponding to the processing object point P20 and the first center 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 processing object point P30 and the first center axis A1 of the thick-walled cylinder CP. [Formula 12]
[0172] The X components Xc20 and Xc30 representing the three-dimensional coordinate values of the first position C of the tool CI corresponding to the processing object points P20 and P30 are substituted into the variable X in equation (15), thereby obtaining the Z components Zc20 and Zc30.
[0173] At any processing object point P on the section RL20 of the edge line RL, when the X component of the three-dimensional coordinate value representing the first position C of the tool CI changes, the Y component is a fixed value, and the Z component changes with the X component according to formula (15). Fig.28 , an example of a case where the ridge line RL (RLN) forming the edge of the through hole HE is cut by the tool CI in order to remove the burr BR generated on the inner peripheral surface SN of the thick-walled cylinder CP. However, the same is true when the ridge line RL forming the edge of the through hole HE is cut by the tool CI in order to remove the burr BR generated on the outer peripheral surface ST of the thick-walled cylinder CP.
[0174] 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 cuts the edge line RL with the prescribed processing width W at the processing object point P60 is set to (Xc60, Yc60, Zc60). The processing object point P60 is included in the above-mentioned arc-shaped interval RL50 in the edge line RL. The three-dimensional coordinate value of the first position C of the tool CI that cuts the edge line RL with the prescribed processing width W at the processing object point P70 is set to (Xc70, Yc70, Zc70). The processing object point P70 is included in the above-mentioned arc-shaped interval RL70 in the edge line RL.
[0175] like Fig. 27As shown in FIG. 1 , the linear section RL60 of the ridgeline RL extends in the direction of the X-axis and connects the processing object points P60 and P70. That is, the processing object point P60 is located at a position where the processing object point P70 is moved in the direction of the X-axis by the length of the linear section RL60 of the ridgeline RL. The first position C of the tool CI corresponding to the processing object point P60 is also located at a position where the first position C of the tool CI corresponding to the processing object point P70 is moved in the direction of the X-axis by the length of the linear section RL60.
[0176] Therefore, the difference between the X component Xc60 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P60 and the X component Xc70 representing the three-dimensional coordinate value of the first position C of the tool CI corresponding to the processing object point P70 corresponds to the length of the linear section RL60 of the ridgeline RL. The X components Xc60 and Xc70 are determined in this way.
[0177] Furthermore, the Y component Yc60 of the three-dimensional coordinate value indicating the first position C of the tool CI corresponding to the processing target point P60 is equal to the Y component Yc70 of the three-dimensional coordinate value indicating the first position C of the tool CI corresponding to the processing target point P70.
[0178] The processing object points P60 and P70 are located on the cylindrical surface SS of the thick-walled cylinder CP. Therefore, the formula (15) in which the Z components Zc60 and Zc70 representing the three-dimensional coordinate values of the first position C of the tool CI corresponding to the processing object points P60 and P70 are used as the variable Z holds. The above-mentioned X components Xc60 and Xc70 representing the three-dimensional coordinate values of the first position C of the tool CI corresponding to the processing object points P60 and P70 are substituted into the variable X of the formula (15), thereby obtaining the Z components Zc60 and Zc70.
[0179] At any processing target point P on the section RL60 of the edge line RL, when the X component of the three-dimensional coordinate value representing the first position C of the tool CI changes, the Y component is a fixed value and the Z component changes with the X component according to equation (15).
[0180] The first position C of the tool CI corresponding to the processing object point P20 in the arc-shaped interval RL20 is calculated as described above. The first position C of the tool CI corresponding to the processing object point P30 in the arc-shaped interval RL30 is also calculated as described above. The first position C of the tool CI corresponding to the processing object point P60 in the arc-shaped interval RL50 is also calculated as described above. The first position C of the tool CI corresponding to the processing object point P70 in the arc-shaped interval RL70 is also calculated as described above.
[0181] The first operation unit 230 calculates the first position C of the tool CI in the linear sections RL20 and RL60 of the edge line RL based on the first position C of the tool CI corresponding to the processing object points P20, P30, P60, and P70, respectively, and the processing object data. As described above, the processing object data is acquired by the acquisition unit 210. The tool CI disposed at the first position C corresponding to the processing object point P in the linear sections RL20 and RL60 cuts the edge line RL with a predetermined processing width W.
[0182] (Variant 5) The above-mentioned embodiments and modifications may be arbitrarily combined.
[0183] [Inventions derived from embodiments] The invention that can be grasped from the above-mentioned embodiment and modified examples will be described below.
[0184] (1) A computing device (110) for computing a first position (C) of a tool (CI), wherein the tool (CI) cuts a ridge line (RL) formed by a peripheral wall surface (SW) and a cylindrical peripheral surface of a processing object (CP, MB) with a predetermined processing width (W), wherein at least one of an outer peripheral surface (ST) and an inner peripheral surface (SN) of the processing object (CP, MB) is formed as the cylindrical peripheral surface (SS), and the peripheral wall surface (SW) forms a through hole (HE), wherein the through hole (HE) extends from one of the outer peripheral surface and the inner peripheral surface toward The other side penetrates the processing object in the shape of a cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a column (CB1, CB2) including a plurality of parallel cylinders at corners, and the computing device (110) comprises: an acquisition unit (210) which acquires processing object data and a third radius (D) of the tool, wherein the processing object data includes a second position of the processing object, a third position of the through hole, and a first radius (R1) of the cylindrical circumference of the processing object. , a second radius (R2) of the cylinder, a first direction in which the first center axis (A1) of the object to be processed extends, and an eccentric distance (f) of the second center axis (A2, A21, A22, A210, A220, A230, A240) of the cylinder extending in a second direction perpendicular to the first direction from the first center axis; and a first calculation unit (230) which calculates the eccentricity of the second center axis (A2, A21, A22, A210, A220, A230, A240) of the cylinder from the first center axis based on a second tangent (B2) at the processing object point of the first ellipse (E1) formed by the plane and the cylindrical circumferential surface, The first position of the tool for cutting the edge line including the processing object point is calculated based on the third tangent line (B3) on the processing object point of the second ellipse (E2) formed by the cylinder and the plane, the specified processing width, and the third radius of the tool, wherein the plane is a plane (VP) including the processing object point and is perpendicular to the first tangent line (B1) on the edge line on the processing object point (P) on the edge line, and is a plane specified based on the fourth position of the processing object point and the processing object data. Thus, the position of the tool for realizing stable cutting processing for removing burrs can be accurately calculated.
[0185] (2) The computing device may include a determination unit (220), and when a user specifies a tolerance amount (TA) related to the processing path when the tool cuts the edge while moving on the processing path (RP) corresponding to the edge, the determination unit (220) determines a plurality of processing target points on the edge based on the tolerance amount, and the first computing unit calculates the first position of the tool corresponding to each of the plurality of processing target points. Thus, cutting processing that takes into account the balance between the required precision of cutting processing and the computing performance of the computing device can be achieved.
[0186] (3) The first operation unit may calculate a bisector (DL) that bisects an angle formed by the second tangent and the third tangent with the processing object point as a starting point, based on the processing object data; the first operation unit may calculate a second distance (L) between an intersection (M) of a line segment (SL) and the bisector orthogonal to the processing object point and the processing object point, based on a first angle (β) of the angle and the prescribed processing width; the line segment (SL) connects a first end point (G1) on the second tangent and a second end point (G2) on the third tangent, and a first distance between the first end point and the second end point is equal to the prescribed processing width; and the first operation unit may calculate the first position of the tool based on the bisector, the second distance, the third radius of the tool, and the prescribed processing width. Thus, the position of the tool can be accurately calculated by simple calculation.
[0187] (4) It may also be that the computing device further includes a second computing unit (440), and the second computing unit (440) calculates, based on the processing object data, a first basis vector (e1) on the plane with the processing object point as the starting point and perpendicular to the second center axis, and a second basis vector (e2) on the plane with the processing object point as the starting point and perpendicular to the first basis vector, and sets the first direction to the direction of the Y axis, the second direction to the direction of the Z axis perpendicular to the direction of the Y axis, and the third direction perpendicular to both the Y axis and the Z axis. When the direction of the X-axis is set, the first operation unit calculates the second angle α formed by the second tangent on the plane with respect to the first basis vector based on the first radius R1 of the processing object, the second radius R2 of the cylinder, and the eccentric distance f according to the formula (9) using the first radius R1 of the processing object, the second radius R2 of the cylinder, and the eccentric distance f, and according to the third angle φ formed by the perpendicular line from the processing object point to the second center axis with respect to the X-axis. The first operation unit calculates the direction vector u toward the fourth direction based on the formula (10) and the formula (13) using the second angle α. The fourth direction The direction is a direction in which a bisector (DL) that bisects an angle formed by the second tangent and the third tangent with the processing object point as a starting point on the plane extends, and the first operation unit calculates a second distance L between an intersection point (M) at which a line segment (SL) and the bisector are orthogonal to each other and the processing object point based on equations (11) and (14) using the second angle α and the predetermined processing width √2·Q, and the line segment (SL) connects a first endpoint (G1) on the second tangent and a second endpoint (G2) on the third tangent on the plane, and the processing object point. The first distance between the first endpoint and the second endpoint is equal to the specified processing width, and the first operation unit calculates the coordinate value (Sc, Tc) representing the first position of the tool on the plane based on the formula (12) using the direction vector u, the second distance L, the third radius D of the tool, and the specified processing width √2·Q, and the first operation unit calculates the first position of the tool in the coordinate space defined by the X-axis, the Y-axis, and the Z-axis based on the coordinate value, the first basis vector, and the second basis vector. Thus, the position of the tool can be accurately calculated by simple calculation.
[0188] (5) The through hole may penetrate the object in the shape of a cylinder, and when the through hole is viewed from directly above the through hole, the through hole is a circle corresponding to the cylinder. Thus, the position of the tool for cutting the ridgeline of the circular through hole can be accurately calculated.
[0189] (6) It may also be that the through hole penetrates the processing object in the shape of the column including two parallel cylinders at two corners, the through hole is a long hole shape corresponding to the column when the through hole is observed from directly above the through hole, the edge line of the through hole when the through hole is observed from directly above the through hole includes two arc-shaped sections (RL1, RL3) corresponding to the two cylinders respectively and two straight-line sections (RL2, RL4) parallel to the first direction, the first calculation unit calculates the first position of the tool corresponding to the processing object point in the two arc-shaped sections of the edge line based on the second tangent, the third tangent, the specified processing width, and the third radius of the tool, and the first calculation unit calculates the first position of the tool corresponding to the processing object point in the two straight-line sections of the edge line based on the first position of the tool in the two arc-shaped sections and the processing object data. Thereby, the position of the tool for cutting the ridgeline of the through hole having the elongated hole shape can be accurately calculated.
[0190] (7) It may be that the through hole penetrates the processing object in the shape of a column including four parallel cylinders at four corners, and the through hole when the through hole is observed from directly above the through hole is in the shape of a rounded quadrilateral corresponding to the cylinder, and the ridge line of the through hole when the through hole is observed from directly above the through hole includes four arc-shaped sections (RL10, RL30, RL50, RL70) corresponding to the four cylinders, two straight-line sections (RL40, RL80) parallel to the first direction, and another straight-line section parallel to a direction perpendicular to the first direction and the second direction. The first operation unit calculates the first position of the tool corresponding to the processing object point in the four arc-shaped intervals of the edge line according to the second tangent line, the third tangent line, the specified processing width, and the third radius of the tool, and the first operation unit calculates the first position of the tool corresponding to the processing object point in the two linear intervals parallel to the first direction and the other two linear intervals of the edge line according to the first position of the tool in the four arc-shaped intervals and the processing object data. Thus, the position of the tool for cutting the edge line of the through hole in the shape of a rounded quadrilateral can be accurately calculated.
[0191] (8) The acquisition unit may acquire the predetermined processing width based on a user input, thereby allowing the user to set the processing width of the processing surface to be formed on the ridgeline to a value required for removing burrs.
[0192] (9) Alternatively, the acquisition unit may acquire the processing object data, the specified processing width, and the third radius of the tool according to a G code, wherein the G code indicates a command for calling a macro program (MP) from a storage device (120), and the first operation unit may read the macro program from the storage device according to the G code with at least one of the specified processing width, the processing object data, and a number associated with the tool as an argument, and the first operation unit may calculate the first position of the tool by executing the macro program. Thus, for users who are accustomed to using G codes to cut processing objects, convenience is improved.
[0193] (10) A machine tool (10) includes the computing device, the tool, and a processing control unit (250) for moving the tool to the first position to allow the tool to cut the ridge line. Thus, stable cutting processing for removing burrs can be achieved.
[0194] (11) A control device (30) for a machine tool (10) includes the computing device and a processing control unit (250) for moving the tool to the first position to allow the tool to cut the ridge line, thereby achieving stable cutting processing for removing burrs.
[0195] (12) A computing program causing a processing circuit of a computing device (110) to execute an acquisition step and a computing step, wherein the computing device (110) computes a first position (C) of a tool (CI), wherein the tool (CI) cuts a ridge line (RL) formed by a peripheral wall surface (SW) and a cylindrical peripheral surface of a processing object (CP, MB) with a predetermined processing width (W), wherein at least one of an outer peripheral surface (ST) and an inner peripheral surface (SN) of the processing object (CP, MB) is formed as the cylindrical peripheral surface (SS), and the peripheral wall surface (SW) A through hole (HE) is formed, wherein the through hole (HE) penetrates the object to be processed in the shape of a cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a column (CB1, CB2) including a plurality of parallel cylinders at corners from one of the outer circumferential surface and the inner circumferential surface toward the other, and in the acquisition step, the processing object data and the third radius (D) of the tool are acquired, wherein the processing object data includes the second position of the processing object, the third position of the through hole, the The first radius (R1) of the cylindrical circumferential surface, the second radius (R2) of the cylinder, the first direction in which the first center axis (A1) of the object to be processed extends, and the eccentric distance (f) of the second center axis (A2, A21, A22, A210, A220, A230, A240) of the cylinder extending in a second direction perpendicular to the first direction from the first center axis, in the calculation step, a second tangent (B2) at the processing object point of the first ellipse (E1) formed by the plane and the cylindrical circumferential surface is calculated. , the third tangent (B3) on the processing object point of the second ellipse (E2) formed by the cylinder and the plane, the specified processing width, and the third radius of the tool to calculate the first position of the tool for cutting the edge line including the processing object point, the plane is a plane (VP) including the processing object point that is perpendicular to the first tangent (B1) of the edge line on the processing object point (P) on the edge line, and is a plane specified based on the fourth position of the processing object point and the processing object data. Thus, the position of the tool for realizing stable cutting processing for removing burrs can be accurately calculated. Explanation of symbols
[0196] 10…Machine tool 20…Main body 30...control device 52...bed 54…Saddle 56…Workbench 74, 76, 78 ... movable part 110 ... computing device 120 ... storage device 130 ... input / output device 210 ... Acquisition unit 220 ... Determination unit 230 ... first computing unit 250 ... processing control unit 310 ... recording medium 320 ... communication network 330…Data signal 340…Server 440…Second operation unit.
Claims
1. A computing device (110), It is characterized in that The computing device (110) computes a first position (C) of a tool (CI), wherein the tool (CI) cuts a ridge (RL) formed by a peripheral wall surface (SW) and a cylindrical peripheral surface of a processing object (CP, MB) with a predetermined processing width (W), wherein at least one of an outer peripheral surface (ST) and an inner peripheral surface (SN) of the processing object (CP, MB) is formed as the cylindrical peripheral surface (SS), and a through hole (HE) is formed on the peripheral wall surface (SW), and the through hole (HE) penetrates the processing object from one of the outer peripheral surface and the inner peripheral surface toward the other in the shape of a cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a column (CB1, CB2) including a plurality of parallel cylinders at corners, The computing device (110) comprises: an acquisition unit (210) for acquiring processing object data and a third radius (D) of the tool, the processing object data including a second position of the processing object, a third position of the through hole, a first radius (R1) of the cylindrical circumference of the processing object, a second radius (R2) of the cylinder, a first direction in which a first central axis (A1) of the processing object extends, and an eccentric distance (f) from the first central axis of a second central axis (A2, A21, A22, A210, A220, A230, A240) of the cylinder extending in a second direction perpendicular to the first direction; and The first operation unit (230) calculates the first position of the tool for cutting the edge line including the processing object point based on the second tangent line (B2) on the processing object point of the first ellipse (E1) formed by the plane and the circumferential surface of the cylinder, the third tangent line (B3) on the processing object point of the second ellipse (E2) formed by the cylinder and the plane, the specified processing width, and the third radius of the tool, wherein the plane is a plane (VP) including the processing object point and is perpendicular to the first tangent line (B1) of the edge line on the processing object point (P) on the edge line, and is a plane specified based on the fourth position of the processing object point and the processing object data.
2. The computing device according to claim 1, It is characterized in that A determination unit (220) is provided, and when a user specifies a tolerance amount (TA) related to the processing path when the tool cuts the edge line while moving on a processing path (RP) corresponding to the edge line, the determination unit (220) determines a plurality of processing target points on the edge line according to the tolerance amount, The first calculation unit calculates the first position of the tool corresponding to each of the plurality of processing target points.
3. The computing device according to claim 1 or 2, It is characterized in that The first calculation unit calculates a bisector (DL) for bisecting an angle formed by the second tangent line and the third tangent line with the processing target point as a starting point based on the processing target data, The first calculation unit calculates a second distance (L) between an intersection (M) of a line segment (SL) and the bisector orthogonal to the processing object point based on the first angle (β) of the angle and the prescribed processing width, wherein the line segment (SL) connects a first endpoint (G1) on the second tangent line and a second endpoint (G2) on the third tangent line, and a first distance between the first endpoint and the second endpoint is equal to the prescribed processing width. The first calculation unit calculates the first position of the tool based on the bisector, the second distance, the third radius of the tool, and the predetermined processing width.
4. The computing device according to claim 1 or 2, It is characterized in that The invention also comprises a second operation unit (440) for calculating, based on the processing object data, a first basis vector (e1) on the plane that is perpendicular to the second center axis and has the processing object point as a starting point, and a second basis vector (e2) on the plane that is perpendicular to the first basis vector and has the processing object point as a starting point, When the first direction is set as the direction of the Y axis, The second direction is set to be the direction of the Z axis perpendicular to the direction of the Y axis, When a third direction perpendicular to both the Y axis and the Z axis is set as the direction of the X axis, The first operation unit calculates a second angle α formed by the second tangent line on the plane with respect to the first basis vector based on the following formula (1) using the first radius R1 of the object, the second radius R2 of the cylinder, and the eccentric distance f, and according to a third angle φ formed by a perpendicular line from the object point to the second center axis with respect to the X-axis. The first operation unit calculates a direction vector u toward a fourth direction based on the following formula (2) using the second angle α, wherein the fourth direction is a direction extending from a bisector (DL) that bisects an angle formed by the second tangent line and the third tangent line with the processing object point as a starting point on the plane. The first operation unit calculates a second distance L between an intersection point (M) at which a line segment (SL) and the bisector are orthogonal to each other and the processing object point based on an equation (3) using the second angle α and the prescribed processing width √2·Q, wherein the line segment (SL) connects a first endpoint (G1) on the second tangent and a second endpoint (G2) on the third tangent on the plane and a first distance between the first endpoint and the second endpoint is equal to the prescribed processing width, The first calculation unit calculates coordinate values (Sc, Tc) representing the first position of the tool on the plane based on the equation (4) using the direction vector u, the second distance L, the third radius D of the tool, and the predetermined processing width √2·Q. The first calculation unit calculates the first position of the tool in a coordinate space defined by the X-axis, the Y-axis, and the Z-axis based on the coordinate value, the first basis vector, and the second basis vector. [Formula 1] [Formula 2] [Formula 3] [Formula 4] 5. The computing device according to any one of claims 1 to 4, It is characterized in that The through hole penetrates the object to be processed in the shape of the cylinder, The through hole has a circular shape corresponding to the cylinder when the through hole is viewed from directly above the through hole.
6. The computing device according to any one of claims 1 to 4, It is characterized in that The through hole penetrates the object to be processed in the shape of a column having two parallel cylinders at two corners. When the through hole is viewed from directly above the through hole, the through hole is in the shape of a long hole corresponding to the column. The ridgeline of the through hole when the through hole is viewed from directly above the through hole includes two arc-shaped sections (RL1, RL3) corresponding to the two columns, respectively, and two linear sections (RL2, RL4) parallel to the first direction, The first calculation unit calculates the first position of the tool corresponding to the processing target point within the two arc-shaped sections of the ridge line based on the second tangent line, the third tangent line, the predetermined processing width, and the third radius of the tool, The first calculation unit calculates the first position of the tool corresponding to the processing target point in the two linear sections of the ridgeline based on the first position of the tool in the two arc-shaped sections and the processing target data.
7. The computing device according to any one of claims 1 to 4, It is characterized in that The through hole penetrates the object to be processed in the shape of a column having four parallel cylinders at four corners. When the through hole is viewed from directly above the through hole, the through hole is in the shape of a rounded quadrilateral corresponding to the column. The ridgeline of the through hole when the through hole is viewed from directly above the through hole includes four arc-shaped sections (RL10, RL30, RL50, RL70) corresponding to the four columns, two straight-line sections (RL40, RL80) parallel to the first direction, and another two straight-line sections (RL20, RL60) parallel to a direction perpendicular to the first direction and the second direction, The first calculation unit calculates the first position of the tool corresponding to the processing target point within the four arc-shaped sections of the ridge line based on the second tangent line, the third tangent line, the predetermined processing width, and the third radius of the tool, The first operation unit calculates the first position of the tool corresponding to the processing object point in the two linear intervals parallel to the first direction among the ridges and the other two linear intervals based on the first position of the tool in the four arc-shaped intervals and the processing object data.
8. The computing device according to any one of claims 1 to 7, It is characterized in that The acquisition unit acquires the predetermined processing width based on a user input.
9. The computing device according to any one of claims 1 to 7, It is characterized in that The acquisition unit acquires the processing object data, the specified processing width, and the third radius of the tool according to a G code, wherein the G code represents a command for calling a macro program (MP) from a storage device (120) and takes at least one of the specified processing width, the processing object data, and a number associated with the tool as an argument. The first operation unit reads the macro program from the storage device according to the G code. The first calculation unit calculates the first position of the tool by executing the macro program.
10. A machine tool (10), It is characterized in that have: The computing device according to any one of claims 1 to 9; the cutting tool; and A processing control unit (250) moves the tool to the first position to allow the tool to cut the edge line.
11. A control device (30) for a machine tool (10), It is characterized in that have: The computing device according to any one of claims 1 to 9; and A processing control unit (250) moves the tool to the first position to allow the tool to cut the edge line.
12. A computing program, It is characterized in that The invention is used to cause a processing circuit of a computing device (110) to execute an acquisition step and a computing step, wherein the computing device (110) computes a first position (C) of a tool (CI), wherein the tool (CI) cuts a ridge line (RL) formed by a peripheral wall surface (SW) and a cylindrical peripheral surface of a processing object (CP, MB) with a predetermined processing width (W), wherein at least one of an outer peripheral surface (ST) and an inner peripheral surface (SN) of the processing object (CP, MB) is formed as the cylindrical peripheral surface (SS), and a through hole (HE) is formed on the peripheral wall surface (SW), wherein the through hole (HE) penetrates the processing object from one of the outer peripheral surface and the inner peripheral surface toward the other in the shape of a cylinder (CS, CS1, CS2, CS10, CS20, CS30, CS40) or a column (CB1, CB2) including a plurality of parallel cylinders at corners, In the acquisition step, the processing object data and the third radius (D) of the tool are acquired, the processing object data including the second position of the processing object, the third position of the through hole, the first radius (R1) of the cylindrical circumference of the processing object, the second radius (R2) of the cylinder, the first direction in which the first center axis (A1) of the processing object extends, and the eccentricity distance (f) of the second center axis (A2, A21, A22, A210, A220, A230, A240) of the cylinder extending in a second direction perpendicular to the first direction from the first center axis, In the calculation process, the first position of the tool for cutting the edge line including the processing object point is calculated based on the second tangent line (B2) on the processing object point of the first ellipse (E1) formed by the plane and the cylindrical circumferential surface, the third tangent line (B3) on the processing object point of the second ellipse (E2) formed by the cylinder and the plane, the specified processing width, and the third radius of the tool. The plane is a plane (VP) including the processing object point that is perpendicular to the first tangent line (B1) of the edge line on the processing object point (P) on the edge line, and is a plane specified based on the fourth position of the processing object point and the processing object data.
Citation Information
Patent Citations
Path calculation program, processing device, path calculation method, tool, and processed article
WO2016133162A1
