Tool path correction device
The tool path correction device addresses inaccuracies in machine tool processing by adding and relocating command points to align tool paths with target shapes, enhancing machining precision and accuracy.
Patent Information
- Application Number
- JP2022547550
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-09
- Filing Date
- 2021-09-03
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-09-03
AI Technical Summary
Existing tool path generation methods in machine tools result in inaccuracies when processing curved surfaces, leading to the tool deviating from the target shape or digging into it, causing errors in the workpiece's final shape.
A tool path correction device that adds additional command points near feature change points on the target shape and relocates existing command points to ensure precise alignment with the target shape, using a system comprising a tool path acquisition unit, tool shape acquisition unit, target shape acquisition unit, and command point addition and relocation units.
The device corrects tool paths to accurately process workpieces to the target shape, reducing deviations and improving machining accuracy by minimizing tool distance from or penetration into the target shape.
Smart Images

Figure 0007564224000001 
Figure 0007564224000002 
Figure 0007564224000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a tool path correction device. [Background technology]
[0002] In order to machine a workpiece with a tool in a machine tool, a command is created for a numerical control device to move the tool relatively along a target shape (product shape) of the workpiece after machining, which is generated by, for example, CAD. Since the tool has a three-dimensional shape, the profile of the tool's movement path and the surface shape of the workpiece after machining do not completely match. For this reason, a device has been proposed that corrects the tool's movement path in consideration of the shape of the tool (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6157781 Summary of the Invention [Problem to be solved by the invention]
[0004] Usually, the information of the tool path along which the tool moves is expressed as a set of coordinates of a plurality of command points through which the tool should pass. That is, in a machine tool, the tool moves along a path in which a plurality of command points included in the tool path information are connected by straight lines. For this reason, when the target shape of a workpiece has a curved surface, if the tool moves along a tool path in which a plurality of command points are connected by straight lines, the tool may move away from the target shape or cut into the target shape between the command points. Furthermore, if the position of the command point is not appropriate, the tool may move away from the target shape or cut into the target shape even at the command point. This causes an error in the shape of the workpiece after machining with respect to the target shape. Therefore, a tool path correction device that can correct the tool path along which the tool moves so that the workpiece can be accurately machined into the target shape is desired. [Means for solving the problem]
[0005] A tool path correction device according to one embodiment of the present disclosure includes a tool path acquisition unit that acquires tool path information that specifies a tool path along which a tool that processes a workpiece moves, based on a plurality of command points through which the tool must pass; a tool shape acquisition unit that acquires tool shape information that specifies a shape of the tool; a target shape acquisition unit that acquires target shape information that specifies a target shape after processing of the workpiece; and a command point addition unit that adds an additional command point as a new command point at a position close to a feature change point at which a feature of the target shape changes. Effect of the Invention
[0006] According to the tool path correction device according to the present disclosure, it is possible to correct the tool path along which the tool moves so as to accurately machine a workpiece into a target shape. [Brief description of the drawings]
[0007] [Figure 1] 1 is a block diagram showing a configuration of a machining system including a tool path correction device according to a first embodiment of the present disclosure. FIG. [Diagram 2] FIG. 2 is a schematic diagram illustrating a tool path generated by CAM. [Diagram 3] 3 is a schematic diagram showing a closest point to a feature change point in the tool path of FIG. 2; FIG. [Figure 4] 4 is a schematic diagram showing an arrangement of additional command points to be inserted corresponding to the closest point in FIG. 3. [Diagram 5] 5 is a schematic diagram showing rearrangement of command points based on an added command point in FIG. 4; FIG. [Figure 6] FIG. 11 is a block diagram showing a configuration of a machining system including a tool path correction device according to a second embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] First Embodiment Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Fig. 1 is a block diagram showing a configuration of a machining system including a tool path correction device according to a first embodiment of the present disclosure. The machining system in Fig. 1 includes a CAD 1, a CAM 2, a tool path correction device 3 according to an embodiment of the present disclosure, a post processor 4, a numerical control device 5, and a machine tool 6.
[0009] CAD 1 is a known system for designing using a computer. That is, CAD 1 is used to design a target shape (product shape, part shape, etc.) of a workpiece after machining by a machine tool 6. The target shape may be specified by a plane, a cylindrical surface, a spherical surface, a Bezier surface, a NURBS surface, etc.
[0010] CAM2 is a known system that generates machining programs and the like to be used by a numerical control device 5 that controls the machine tool 6 in order to machine a workpiece into a target shape designed by the CAD 1 using the machine tool 6. CAM2 generates tool path information that specifies the tool path along which a tool that machines the workpiece moves by using a plurality of command points through which the tool should pass. For this purpose, CAM2 may generate a shape of a machining area that corresponds to the target shape created by the CAD 1. The tool path information may be generated in the form of Cutter Location (CL) data that does not take into account the configuration and settings of each individual machine tool 6.
[0011] The tool path information may include information about which part of the tool moves on the tool path. Examples of the part of the tool that moves on the tool path (hereinafter sometimes referred to as the reference point) include the tip of the tool and the center of the tool shape (for example, the ball center of a ball end mill). The tool path information may also include information about whether the movement of the tool along the tool path is a movement that involves cutting or a movement that does not involve cutting (rapid forward, approach, retract, etc.). Furthermore, the tool path information may include information about the specific feed speed when the tool moves along the tool path.
[0012] The tool path modification device 3 includes a target shape acquisition unit 31, a tool shape acquisition unit 32, a tool path acquisition unit 33, a command point addition unit 34, a command point rearrangement unit 35, and a tool path output unit 36. The tool path modification device 3 can be realized by, for example, executing an appropriate control program on a computer device equipped with a CPU, a memory, an input / output interface, etc. The target shape acquisition unit 31, the tool shape acquisition unit 32, the tool path acquisition unit 33, the command point addition unit 34, the command point rearrangement unit 35, and the tool path output unit 36 of the tool path modification device 3 are functionally distinct, and may not be clearly distinguished in terms of physical configuration and program configuration. The tool path modification device 3 may also be configured integrally with other devices such as the CAM 2 and the post processor 4. In other words, the tool path modification device 3 may be realized by adding a control program to the CAM 2, the post processor 4, etc.
[0013] The target shape acquisition unit 31 acquires target shape information that specifies the target shape of the workpiece after machining. The target shape information may be information on the product shape generated in the CAD 1, or may be information on the shape of the machining area created by the CAM 2 (for example, the shape of the machining surface approximated as a collection of multiple planes). In other words, the target shape acquisition unit 31 may acquire the target shape information from the CAD 1 as shown in the figure, or may acquire the target shape information from the CAM 2. The target shape acquisition unit 31 may also acquire the target shape information from another device or a recording medium.
[0014] The tool shape acquisition unit 32 acquires tool shape information that specifies the shape of a tool. The tool shape acquisition unit 32 can be configured to acquire the tool shape information used by the CAM 2 to generate the tool path information from the CAM 2. The tool shape acquisition unit 32 may also be configured to acquire the tool shape information from a server, a recording medium, or the like (not shown).
[0015] The tool used in the present processing system is typically, but not necessarily limited to, a milling tool, such as a ball end mill, a radius end mill, a square end mill, a lens type mill, a barrel type mill, or a taper type mill.
[0016] The tool path acquisition unit 33 acquires the tool path information generated by the CAM 2. The tool path acquisition unit 33 may acquire the tool path information via a server, a recording medium, or the like (not shown).
[0017] The command point adding unit 34 adds an additional command point as a new command point at a position close to a feature change point where the feature of the target shape changes. A portion where the feature of the target shape changes, such as the boundary between a flat surface and a curved surface, is a portion where high machining accuracy is often required. Placing a command point at such a position is effective in reducing the error between the tool path and the target shape and improving the machining accuracy. Specifically, by placing a command point through which the tool passes at a position close to a feature change point of the target shape, the distance of the tool from the target shape or the cutting into the target shape between the command points can be reduced. Note that "close" means that the distance is close, for example, equal to or less than the diameter of the tool, and includes the case where the distance is zero.
[0018] The characteristic change point preferably includes at least one of a minimum point of the radius of curvature of the target shape, a discontinuous point of the change in the radius of curvature of the target shape, and a boundary point of the curved surface forming the target shape, and is particularly preferably a minimum point of the radius of curvature of the target shape. The radius of curvature may be expressed by a rate of change in the normal direction of the target shape. The change in the radius of curvature may also be expressed as a change in the center position of the radius of curvature. The characteristic change point may also include a point having other specified shape characteristics. Note that, from the viewpoint of the limit value, an edge of the target shape, that is, a point where the normal direction changes discontinuously, can be interpreted as a point where the radius of curvature is zero, and can also be interpreted as a point where the rate of change in the normal direction is infinite.
[0019] The command point adding unit 34 can be configured to have: a characteristic section identification unit 341 that identifies a characteristic section adjacent to a characteristic change point among multiple sections divided by command points of the tool path; an additional position calculation unit 342 that calculates an additional position, which is the position of the tool corresponding to the characteristic change point; and an additional command point placing unit 343 that places an additional command point at the additional position.
[0020] The characteristic section identification unit 341 may determine whether or not a section is close to a characteristic change point based on feature quantities such as the radius of curvature, normal direction, and center position of the radius of curvature of the target shape at the cutting point when the tool is placed at the command point on the front side of the section of the tool path, and feature quantities of the target shape at the cutting point when the tool is placed at the command point on the rear side. As a specific example, the characteristic section identification unit 341 can determine that the section is close to a feature change point when a value (change rate) obtained by dividing the amount of change between the feature quantity at the command point on the front side and the feature quantity at the command point on the rear side by the distance between the command points is greater than a preset threshold value. The cutting point may be calculated as the tangent point or the closest point between the tool shape and the target shape (the point on the target shape closest to the tool shape).
[0021] Furthermore, when the target shape is formed by connecting a plurality of faces, the characteristic section identification unit 341 may determine that a section is close to a feature change point when the face including the cutting point at the front command point is different from the face including the cutting point at the rear command point. The characteristic section identification unit 341 may also determine that a section is close to a feature change point when other preset conditions are satisfied.
[0022] The additional position calculation unit 342 can calculate the position of the feature change point by, for example, a binary search method. As a specific example, the additional position calculation unit 342 may calculate the feature amount at the midpoint between two command points, determine that the closest point to the feature change point exists in the one of the two divided sections divided by the midpoint, which has a larger difference between the feature amounts at both ends (change amount of the feature amount), and further divide the section in which it is determined that the closest point exists in two to select the divided section in which the closest point exists, thereby identifying the position of the closest point to the feature change point. If the difference between the change amounts of the feature amounts in the two divided sections is equal to or less than a predetermined threshold, this repeated process may be terminated by determining that the midpoint is the closest point to the feature change point. Also, the additional position calculation unit 342 may determine that the midpoint is the closest point when the length of the divided section is equal to or less than a predetermined threshold.
[0023] The additional position calculation unit 342 calculates an additional position where the tool shape will be in contact with the target shape when the tool is placed at that position based on the calculated position of the closest point. For example, the additional position calculation unit 342 may calculate an additional position where the tool shape is in contact with the target shape by moving the closest point in the direction of the rotation axis of the tool, the normal direction of the target shape, or a direction along a constraint surface including three command points closest to the closest point.
[0024] The additional command point placement unit 343 inserts, into the tool path information, information indicating the additional position calculated by the additional position calculation unit 342 as an additional command point. If the interval between command points is too small, the operation of the tool may become unsmooth. Therefore, the additional command point placement unit 343 may be configured to delete information about command points that are within a certain distance from the additional position from the tool path information.
[0025] The command point rearrangement unit 35 rearranges a command point in the vicinity of the added command point, for example, a command point before and after the added command point that exists in a range where the tool path length from the added command point (the sum of the distances between the command points) is equal to or less than a preset distance. When another added command point is arranged within this vicinity range, the following may be performed to prevent the same command point from being the subject of rearrangement based on the added command point and the rearrangement based on an adjacent added command point. For example, the command point up to the one before the next added command point may be the subject of rearrangement based on the added command point, and may be excluded from the subject of rearrangement based on the next added command point. A command point closer to the next added command point than the midpoint may be the subject of rearrangement based on the added command point, and a command point farther than the midpoint to the next added command point may be the subject of rearrangement based on the next added command point.
[0026] The command point rearrangement unit 35 may rearrange the command points at approximately equal intervals, or may rearrange the command points so that the density of the command points increases as the curvature of the target shape increases. The rearrangement of the command points may be performed by temporarily arranging the command points on a straight line connecting command points adjacent to the group of command points to be rearranged (at least one of which is an additional command point), and adjusting the position of each command point so that the tool shape is tangent to the target shape in the same manner as when the additional position calculation unit 342 calculates the additional position.
[0027] The tool path output unit 36 stores the tool path information corrected by the command point adding unit 34 and the command point rearrangement unit 35, and outputs it to the post-processor 4 as required.
[0028] The post-processor 4 converts the data format of the tool path information output from the tool path correction device 3 into a data format that can be processed by the numerical control device 5. Typically, the post-processor 4 converts the tool path information in the CL data format into a G code. As the post-processor 4, a well-known one can be used.
[0029] The numerical control device 5 controls the machine tool 6 in accordance with the tool path information input from the post processor 4. As the numerical control device 5, a well-known one can be used.
[0030] The machine tool 6 uses a tool to machine a workpiece according to instructions from the numerical control device 5. As the machine tool 6, a well-known machine can be used.
[0031] 2 to 5 show schematic diagrams of insertion of an added command point and rearrangement of command points by the command point adding unit 34. FIG. 2 shows an example of a target shape S having a feature change point Q, a tool path F generated by the CAM 2 and characterized by command points P1 to P6, and a tool shape M at each of the command points P1 to P6. FIG. 3 shows a closest point R to the feature change point Q on the tool path F. FIG. 4 shows the arrangement of an added command point Ps inserted corresponding to the closest point R. FIG. 5 shows the rearrangement of the command points P1 to P6 based on the added command point Ps.
[0032] As shown in Figure 2, when command points P3 and P4, which sandwich feature change point Q at which a feature quantity such as the radius of curvature of the target shape S changes, are positioned away from feature change point Q, the tool (tool shape M) moves linearly between command points P3 and P4, causing the tool shape M to significantly penetrate into the target shape S at feature change point Q, as shown by the dotted line.
[0033] First, the characteristic section identification unit 341 identifies that the sections P3 to P4 are close to the characteristic change point Q by the method described above. Next, the adding position calculation unit 342 calculates the closest point R to the characteristic change point Q on the tool path F in the sections P3 to P4 by the method described above (FIG. 3). Then, the adding position calculation unit 342 moves the tool shape M when the tool reference point is placed at the closest point R to a position where the tool shape M contacts the target shape S at one point, and sets the position of the reference point of the tool shape M after the movement as the adding position where the adding command point Ps should be placed (FIG. 4).
[0034] As shown in FIG. 5, the command point rearrangement unit 35 rearranges the previous and next command points P1 to P6 based on the additional command point Ps, ensuring smooth movement of the tool along the target shape S and suppressing deviation of the tool position between adjacent passes.
[0035] As described above, in the machining system of this embodiment, the tool path correction device 3 adds an additional command point at a position close to the feature change point of the target shape by the command point adding unit 34, so that the tool path can be corrected so that the distance between the command points of the tool from the target shape or the cutting into the target shape is reduced. This allows the machining system of this embodiment to accurately machine the workpiece into the target shape.
[0036] In addition, in the machining system of this embodiment, the tool path correction device 3 includes a command point rearrangement unit 35 that rearranges command points near feature change points of the target shape, so that the deviation of the positions of command points between adjacent passes of the tool path near the feature change points can be reduced. This makes it possible for minute errors occurring between command points between adjacent passes to tend to be the same, so that striped machining marks along the tool movement path are less likely to be formed.
[0037] <Second embodiment> Fig. 6 is a block diagram showing a configuration of a machining system including a tool path correction device according to a second embodiment of the present disclosure. The machining system of Fig. 6 includes a CAD 1, a CAM 2, a tool path correction device 3A according to an embodiment of the present disclosure, a post-processor 4, a numerical control device 5, and a machine tool 6. In the machining system of Fig. 6, the same components as those in the machining system of Fig. 1 are given the same reference numerals and will not be described again. In the machining system of Fig. 6, the tool path correction device 3A corrects a machining program described, for example, in G-code, which is input to the numerical control device 5 by the post-processor 4.
[0038] The tool path correction device 3A includes a target shape acquisition unit 31, a tool shape acquisition unit 32, a tool path acquisition unit 33A, a command point addition unit 34A, a command point rearrangement unit 35A, and a tool path output unit 36A. The tool path correction device 3A can be realized by causing a computer device including, for example, a CPU, a memory, an input / output interface, etc. to execute an appropriate control program, and may be configured integrally with the post processor 4, the numerical control device 5, etc.
[0039] The tool path acquisition unit 33A acquires tool path information from the post-processor 4. Therefore, the tool path acquired by the tool path acquisition unit 33A is in a format such as a G code.
[0040] The command point adding unit 34A, command point rearrangement unit 35A and tool path output unit 36A in the machining system of Figure 6 are functionally the same as the command point adding unit 34, command point rearrangement unit 35 and tool path output unit 36 in the machining system of Figure 1. However, since the tool path description format is different, details of the program may differ.
[0041] Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments. Furthermore, the effects described in the above-described embodiments are merely a list of the most preferable effects resulting from the present disclosure, and the effects of the present disclosure are not limited to those described in the above-described embodiments.
[0042] In the tool path modification device according to the present disclosure, the command point rearrangement unit may be omitted. Also, when the tool path modification device according to the present disclosure is integrated with a numerical control device, the tool path output unit may be omitted. [Explanation of symbols]
[0043] 1 CAD 2 CAM 3,3A Tool path correction device 4 Post-processor 5. Numerical control device 6 Machine tools 31 Target shape acquisition section 32 Tool shape acquisition section 33, 33A Tool path acquisition unit 34,34A Command point addition section 341 Feature Section Identification Unit 342 Additional Position Calculation Unit 343 Additional command point placement section 35,35A Command point relocation section 36,36A Tool path output section
Claims
1. A tool path correction device that corrects tool path information that is provided as a machining program or data to be converted into a machining program and that specifies a tool path along which a tool for machining a workpiece moves by a plurality of command points through which the tool should pass, comprising: A tool path acquisition unit that acquires the tool path information; a tool shape acquisition unit that acquires tool shape information that identifies a shape of the tool; a target shape acquisition unit that acquires target shape information that specifies a target shape of the workpiece after machining; a command point adding unit that adds an additional command point as a new command point at a position close to a feature change point at which a feature of the target shape changes; a tool path output unit that outputs the tool path information to which the additional command point has been added to a numerical control device or a post processor that converts the tool path information into a data format that can be processed by the numerical control device; A tool path correction device comprising:
2. The command point adding unit is a feature section identifying unit that identifies a feature section adjacent to the feature change point among a plurality of sections divided by the command points of the tool path; an additional position calculation unit that calculates an additional position that is a position of the tool corresponding to the feature change point; an additional command point placement unit that places the additional command point at the additional position; The tool path modification device according to claim 1 , further comprising:
3. The tool path correction device according to claim 1 or 2, wherein the characteristic change points include at least one of a minimum point of the radius of curvature of the target shape, a discontinuous point of change in the radius of curvature of the target shape, and a boundary point of a surface forming the target shape.
4. The tool path correcting device according to claim 1 , further comprising a command point rearrangement unit that rearranges the other command points using the additional command point as a reference.
Citation Information
Patent Citations
Rotor of electric rotary machine
JP1981006658A
Slide door apparatus of receiving furniture
JP1986057781A
Device and method for generating free curved surface
JP1997270027A
Numerical control device, CNC machine tool, numerical control method, and program for numerical control
JP2019082851A
