Tool path generation method, tool path generation device, and machine tool control device
12416907 ยท 2025-09-16
Assignee
Inventors
Cpc classification
G05B19/4093
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G05B19/4097
PHYSICS
International classification
Abstract
Provided is a tool path generation method for generating a tool path (Tp), along which a workpiece is machined as a tool (T) moves over a tool movement curved surface (So) generated along a work surface of the workpiece. In this method: a scanning policy is set, which is a rule for establishing a path along which the tool is to move over the tool movement curved surface (So); a dividing line (Cd) is disposed on the tool movement curved surface (So); and the location of an intersection of the dividing line and a trajectory of the tool moving over the tool movement curved surface is calculated on the basis of the scanning policy. A tool path is generated, the path being represented by a movement command for curve interpolation using a curve that passes through the location of the intersection.
Claims
1. A device for generating a plurality of adjoining tool paths which is a movement path of a rotary tool with respect to a workpiece for machining the workpiece by moving the rotary tool and the workpiece relative to each other, the device comprising a computer aided manufacturing (CAM) device and a processor, wherein the processor is configured to: generate a tool movement curved surface along a surface of the workpiece to be machined, select a machining pattern which defines a scanning policy for determining a path of a scanning machining path, an equal-height contour machining path or a radial machining path along which the tool moves repeatedly and adjacently, generate dividing lines along the tool movement curved surface, project the machining pattern selected by the machining pattern selection unit onto the tool movement curved surface, calculate positions of intersections between curves which are trajectories of the tool when the tool moves along the tool movement curved surface and the dividing lines so that the intersection points on adjacent trajectories are adjacent each other along the dividing line, determine tangent vectors of the curves at the intersection points, determine a Nerves curve, a Bezier curve or a B-spline curve passing and connecting the intersection points using the tangent vector, and generate a tool path represented by movement commands which interpolates the intersection points using the Nerves curve, the Bezier curve or the B-spline curve; wherein the CAM device sends the tool path to a controller of a machine tool, and wherein the machine tool cuts the workpiece according to the tool path.
2. The tool path device according to claim 1, wherein the dividing lines are generated so that a plurality of generatrixes are arranged on the tool movement curved surface and the generatrixes are connected by a curve along the tool movement curved surface to form triangles.
3. The device of claim 1, wherein the machine tool cuts the workpiece with a ball end mill.
4. The device of claim 1, wherein the machine tool cuts the workpiece with a bull nose ball end mill.
5. The device of claim 1, wherein the machine tool cuts the workpiece with a square end mill.
6. The device of claim 1, wherein the machine tool and the processor are part of a common device.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
DESCRIPTION OF EMBODIMENTS
(18) The preferred embodiments of the present invention will be described below with reference to the attached drawings.
(19)
(20) Various types of data necessary for generating tool paths are stored in the storage unit 22. The types of data stored in the storage unit 22 include, for example, data related to tools (tool data) such as tool management numbers, tool and tool holder dimensions and shapes, and tool materials, data related to machining conditions (machining condition data) such as feed speed, tool rotation speed, pick feed amount, presence/absence of coolant, machining patterns, area division data for dividing the surface to be machined into a plurality of machining areas, basic data for selecting the optimum tool for machining a certain machined surface, and data related to materials (material data) such as material type, hardness, tensile strength, and elastic modulus. Note that the storage unit 22 may be accessed from the input device 32 so that the operator can modify the data stored in the storage unit 22 or input new data.
(21) The machining area setting unit 12 receives model shape data from a model shape supply device 30. The model shape data is data representing the shape of the workpiece to be machined, and in particular, the shape of a workpiece for which finishing machining is completed. The model shape supply device 30 can typically be a CAD device. When the model shape data is stored in a computer or database, such as when a past product is produced again, the model shape supply device 30 can be a computer or a database in which model shape data is stored.
(22) The machining area setting unit 12 divides the surface of the workpiece to be machined (to be machined surface) into a plurality of machining areas based on the model shape data received from the model shape supply device 30 and the data stored in the storage unit 22. More specifically, the machining area setting unit 12 recognizes the shape of the surface of the workpiece to be machined from the model shape data, and based on area division data stored in the storage unit 22 and the recognized shape of the surface to be machined, divides the surface to be machined into a plurality of machining areas using the curvature, inclination angle, depth, etc., of the surface to be machined as surface parameters.
(23) The tool movement curved surface generation unit 14 generates a tool movement curved surface for each of the machining areas set by the machining area setting unit 12. An optimal example of the tool movement curved surface is the offset curved surface So (
(24) When the tool T is a milling tool, the center point Ot of the tool T is a position retracted from the tip surface toward the shank along the center axis O of the tool T by the radius R of the corner portion of the tool T, i.e., the arc-shaped outer peripheral portion at the tip of the tool T. For example, as shown in
(25) In the present embodiment, the tool movement curved surface generation unit 14 generates the offset curved surface So as the tool movement curved surface for each of the machining areas set by the machining area setting unit 12 based on model shape data and data related to the position of the center point Ot of the tool T.
(26) The machining pattern selection unit 16 selects the optimum tool and machining pattern for machining the machining area corresponding to each surface parameter of the machining area, and sets machining conditions such as feed rate, tool rotation speed, and pick feed amount.
(27) Furthermore,
(28) The dividing line generation unit 18 generates dividing lines consisting of a plurality of curves extending along the tool movement curved surface. In the present embodiment, the dividing line generation unit 18 generates dividing lines Cd on the offset curved surface So. The dividing lines Cd can be generated by, for example, as shown in
(29) The dividing lines Cd are not limited to the triangular shapes shown in
(30) Furthermore, as shown in
(31) The calculation unit 20 calculates the positions of the intersections Pi between the curve C, which is the trajectory of the center point Ot of the tool T when the tool T moves on the offset curved surface So based on the scanning policy, and the dividing lines Cd. The scanning policy can be, for example, a plurality of X-Z planes intersecting the offset curved surface So. In the present example, the positions of the intersections Pi between the X-Z planes and the dividing lines Cd on the offset curved surface So are obtained by calculation. Alternatively, as the scanning policy, as shown in
(32) The calculation unit 20 then calculates the intersections Pi between the curve C generated in this manner and the dividing lines Cd, and smooths the sequence of points along the curve C given by the intersections Pi using a technique such as Bezier curves, B-spline curves, NURBS curves, simple averaging, and weighted averaging. For example, the calculation unit 20 can obtain the tangent vectors Vt of the curve C at the intersections Pi, and use the tangent vectors Vt to perform interpolation and smoothing by means of the NURBS curve connecting the intersections Pi. The calculation unit 20 then generates a tool path Tp (
(33) For example, in a conventional tool path generation method in which a tool path is generated using a spline curve such as NURBS, even if each tool path Tp has no path error at the connection points and the curvature changes continuously, as shown in
(34) Though the tool path generation device 10 described above can be configured as a CAM device independent of the controller of the machine tool, it may be configured as a part of the controller, as shown in
(35) The reading and interpretation unit 104 reads the tool path (machining program) represented by movement commands from the tool path generation unit 102. The reading and interpretation unit 104 transmits the movement commands to the interpolation calculation unit 106. The interpolation calculation unit 106 calculates position command values for each interpolation cycle. For example, the interpolation calculation unit 106 calculates the movement amount for each time interval set based on the movement commands. The interpolation calculation unit 106 transmits the position command values to the servo control unit 108. The servo control unit 108 calculates the movement amount in each feed axis, such as the X axis and the Y axis, based on the position command values, and drives each axis servomotor of the machine tool 110.
(36) The machine tool 110 can be a vertical or horizontal machining center which machines a workpiece (not illustrated), wherein a rotary tool such as a ball end mill is mounted on the tip of a spindle (not illustrated) and the spindle is relatively moved in the three orthogonal X, Y, and Z axis directions relative to the workpiece, which is affixed to a table (not illustrated) so as to face the rotary tool.
DESCRIPTION OF REFERENCE SIGNS
(37) 10 Tool Path Generation Device 12 Machining Area Setting Unit 14 Tool Movement Curved Surface Generation Unit 16 Machining Pattern Selection Unit 18 Dividing Line Generation Unit 20 Calculation Unit 22 Storage Unit 30 Model Shape Supply Device 32 Input Device 100 Controller 102 Tool Path Generation Unit 104 Reading And Interpretation Unit 106 Interpolation Calculation Unit 108 Servo Control Unit 110 Machine Tool