NC program conversion processing method, conversion calculator, and conversion program

The conversion computer addresses dynamic tool wear in NC programs by calculating tool wear characteristics and adjusting machining conditions, reducing tool costs and improving precision.

JP7726704B2Active Publication Date: 2025-08-20HITACHI LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021144250
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2025-08-20
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

Existing NC programs do not effectively account for dynamic tool wear during machining of complex-shaped products, leading to increased tool costs and difficulty in adjusting machining conditions due to varying tool wear patterns.

Method used

A conversion computer and method that calculates tool wear characteristics, determines contact areas, estimates machining errors, and outputs corrected NC programs to account for tool wear, using a processor and storage resource to manage tool wear information.

Benefits of technology

Enables NC program conversion that considers tool wear, reducing tool replacement frequency and improving machining precision by dynamically adjusting machining conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007726704000002
    Figure 0007726704000002
  • Figure 0007726704000003
    Figure 0007726704000003
  • Figure 0007726704000004
    Figure 0007726704000004
Patent Text Reader

Abstract

To provide an NC program conversion processing method, a conversion calculator, and a conversion program in consideration of tool wear.SOLUTION: A conversion calculator includes a processor and a storage resource. The storage resource stores a tool wear characteristic table related to a wear characteristic of a rotary tool. The processor executes a conversion program used in conversion of an NC program to execute processing determined by the conversion program, that is, determination of a contact region between a blade tip of the rotary tool and a cut material during processing by using shape information and positional information of the rotary tool and the cut material, calculation of a cutting distance that is a distance in which the blade tip of the rotary tool has cut the cut material, calculation of a tool diameter and tool deflection of the rotary tool based on the cut distance by using the tool wear characteristic information, estimation of a processing error from the tool diameter and the tool deflection, and output of a path of the rotary tool by correcting the processing error.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an NC program conversion processing method, a conversion computer, and a conversion program that take tool wear into consideration. [Background technology]

[0002] In recent years, NC cutting machines such as machining centers that machine a workpiece (hereinafter referred to as a workpiece) into a predetermined shape based on a program for NC (Numerical Control) (hereinafter referred to as an NC program) have become widespread.

[0003] Regarding NC programs, for example, Patent Document 1 describes a machining center in which a milling tool including a grinding wheel can be detachably mounted on a tool rotation axis, the machine comprising: a unit for dressing the outer periphery and end face of the grinding wheel; a unit for measuring the diameter of the tool including the grinding wheel; a unit for measuring the protrusion length of the tool including the grinding wheel; and a grinding wheel radius reduction database unit which stores grinding wheel radius reduction amounts corresponding to grinding condition values calculated from the feed rate of the grinding wheel, the peripheral speed of the grinding wheel, the radius of the grinding wheel, and the cutting depth of the grinding wheel, in association with combinations of grinding wheel specifications and workpiece materials. a tool shape information database unit that stores tool specifications and shape information; a database unit that stores machining conditions based on combinations of tools, workpieces, and finishing accuracy; a workpiece shape input unit that inputs the raw shape of the workpiece and the shape after machining; a tool path / machining condition determination unit, a tool use determination unit, a grinding wheel radius reduction amount determination unit, a machining simulation unit, and an NC data output unit, wherein the amount of radius reduction of the grinding wheel is corrected to NC data and the grinding wheel performs machining. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2012-168742 Summary of the Invention [Problem to be solved by the invention]

[0005] According to the machining center described in Patent Document 1, the grinding wheel radius reduction amount database unit stores the grinding wheel radius reduction amount corresponding to the grinding condition value obtained from the cutting depth of the grinding wheel in correspondence with the combination of grinding wheel specifications and workpiece material, and corrects the NC program according to the radial reduction amount due to wear of the grinding wheel, thereby making it possible to achieve high-precision machining.

[0006] However, when cutting complex-shaped products such as molds using rotary tools like end mills, the machining allowance constantly changes during machining of corners and curved surfaces. This, in turn, causes the tool wear to vary dynamically, resulting in tool wear that is not necessarily proportional to the tool travel distance. Furthermore, in the cutting of mass-produced products, tool wear increases with the number of products machined. It is therefore unrealistic to prepare NC programs that take tool wear into account for each machined item. This necessitates the replacement of tools with new ones before their lifespan expires, and the adjustment of machining conditions by skilled workers is necessary. The increased tool costs associated with replacing tools with new ones before their lifespan expires, along with the difficulty of adjusting machining conditions due to lack of worker skill, present challenges for machining sites.

[0007] The present invention has been made in view of the above-mentioned problems, and has an object to provide an NC program conversion processing method, a conversion computer, and a conversion program that take tool wear into consideration. [Means for solving the problem]

[0008] To solve the above problem, a conversion computer according to one aspect of the present invention includes a processor and a storage resource. The storage resource stores tool wear characteristic information related to the wear characteristics of a rotary tool. The processor executes a conversion program used to convert an NC program, thereby performing the following processes defined by the conversion program: determining a contact area between the cutting edge of the rotary tool and the workpiece during machining using shape information and position information of the rotary tool and the workpiece; calculating a cutting distance, which is the distance the cutting edge of the rotary tool cuts the workpiece; calculating a tool diameter and tool deflection of the rotary tool based on the cutting distance using the tool wear characteristic information; estimating a machining error from the tool diameter and tool deflection; and outputting a path of the rotary tool with the machining error corrected. A conversion computer according to one aspect of the present invention includes a processor that executes a conversion program used to convert an NC program, thereby performing processes defined by the conversion program, such as determining a calculation formula for a tool path based on tool wear, including the number of workpieces and a coefficient, and generating an NC program including the calculation formula.

[0009] To solve the above problems, one aspect of the present invention provides an NC program conversion processing method that uses a processor and a storage resource that stores a tool wear characteristic table related to the wear characteristics of a rotary tool. The processor executes the following processes, which are defined by a conversion program used to convert the NC program: determining a contact area between the cutting edge of the rotary tool and the workpiece during machining using shape information and position information of the rotary tool and the workpiece; calculating a cutting distance, which is the distance the cutting edge of the rotary tool cuts the workpiece; calculating the tool diameter and tool deflection of the rotary tool based on the cutting distance using tool wear characteristic information; estimating a machining error from the tool diameter and tool deflection; and outputting a path of the rotary tool with the machining error corrected. [Effects of the Invention]

[0010] According to the present invention, NC program conversion processing that takes tool wear into consideration becomes possible.

[0011] Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments. The present application includes a number of means for solving at least some of the above problems. [Brief explanation of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a processing system according to an embodiment of the present invention. [Figure 2] FIG. 2 is a diagram illustrating an example of the configuration of the conversion computer. [Figure 3] FIG. 3 is a flowchart illustrating an example of the conversion process. [Figure 4] FIG. 4 is a diagram showing a method for calculating the sliding distance (cutting distance) of a rotary tool. [Figure 5] FIG. 5 is a diagram illustrating an example of the structure of the tool wear database. [Figure 6] FIG. 6 is a diagram showing an example of an NC program after conversion processing. DETAILED DESCRIPTION OF THE INVENTION

[0013] An embodiment of the present invention will be described below with reference to the drawings. In all drawings used to describe the embodiment, the same components are generally designated by the same reference numerals, and repeated description thereof will be omitted. It goes without saying that, in the following embodiments, the components (including element steps, etc.) are not necessarily essential unless otherwise specified or considered to be fundamentally essential. It goes without saying that the terms "consisting of A," "made of A," "having A," and "including A" do not exclude other elements, unless otherwise specified to include only the relevant element. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of components, etc., this includes those that are substantially similar or similar to the shape, etc., unless otherwise specified or considered to be fundamentally essential.

[0014] <Configuration example of a processing system according to an embodiment of the present invention> FIG. 1 shows an example of the configuration of a processing system 1 according to an embodiment of the present invention.

[0015] The machining system 1 includes a conversion computer 10, a plurality of NC cutting machines 20, and a plurality of on-site computers 30.

[0016] The conversion computer 10 is placed at location C. The NC cutting machine 20 is installed at each of locations A and B. The on-site computer 30 is placed on the machine side of the NC cutting machine 20, i.e., at each of locations A and B.

[0017] However, the conversion calculator 10 may be located at location A or location B. Furthermore, a plurality of combinations of NC cutting machines 20 and site calculators 30 may be located at the same location, for example, by locating two sets of NC cutting machines 20 and site calculators 30 at location A. Hereinafter, when it is necessary to distinguish between the NC cutting machines 20 located at locations A and B, the NC cutting machine 20 located at location A will be referred to as NC cutting machine 20A, and the NC cutting machine 20 located at location B will be referred to as NC cutting machine 20B. The same applies to the site calculator 30.

[0018] The conversion computer 10, the NC cutting machine 20, and the on-site computer 30 are connected to one another via a network 40. The network 40 is a two-way communication network such as the Internet or a mobile phone communication network.

[0019] The conversion computer 10 is composed of a general computer such as a personal computer equipped with a processor such as a CPU (Central Processing Unit), storage, a communication interface, an input device, a display device, etc. The conversion computer 10 executes a conversion process for converting an NC program (source NC program) that has been tuned to suit a certain NC cutting machine 20 into an NC program (destination NC program) that is suitable for another NC cutting machine 20.

[0020] In the following, an example will be described in which a source NC program tuned to suit NC cutting machine 20A is converted into a destination NC program suitable for NC cutting machine 20B. NC cutting machine 20 is, for example, a machining center. In this case, NC cutting machine 20A corresponds to the first machining center of the present invention, and NC cutting machine 20B corresponds to the second machining center of the present invention.

[0021] The NC cutting machine 20 includes an NC controller 21 , a main body 22 , and a tool magazine 25 .

[0022] The NC controller 21 controls the machining process of the workpiece W by the main body 22 and the tool exchange process by the tool exchange unit 26 in accordance with an NC program.

[0023] The main body 22 performs machining processing on the workpiece W under control of the NC controller 21. The main body 22 has a processing head 23, a stage 24, and a tool exchanger 26. The processing head 23 is capable of mounting a tool TL and has a spindle capable of rotating the mounted tool TL. The workpiece W to be machined is placed on the stage 24. The stage 24 is capable of moving the placed workpiece W.

[0024] The tool magazine 25 has a plurality of slots 25a, 25b, and 25c. Each of the slots 25a to 25c accommodates a tool TL to be used in a processing process.

[0025] The tool exchange unit 26, under the control of the NC controller 21, performs a series of tool exchange processes, such as removing the tool TL attached to the processing head unit 23 and storing it in an empty slot in the tool magazine 25, and also removing the tool TL from the slot in the tool magazine 25 and attaching it to the processing head unit 23.

[0026] In this embodiment, the tools TL include at least a square end mill used to machine the side surface of the workpiece W and a ball end mill used to machine the curved surface of the workpiece W.

[0027] There is a limit to the number of tools TL that can be stored in the tool magazine 25 (three in this embodiment), and it may not be possible to store all of the tools required for processing in the tool magazine 25 at the same time. In such cases, however, it is possible to respond to various processing processes by preparing multiple tool sets 27 in advance and changing the tool sets stored in the tool magazine 25 depending on the processing process to be performed.

[0028] The site computer 30 is composed of a general computer such as a personal computer equipped with a processor such as a CPU, storage, a communication interface, an input device, a display device, etc. The site computer 30 is operated by a worker on-site in a factory or the like where the NC cutting machine 20 is installed. The site computer 30 performs display processing of the conversion input screen, etc., accepts operation input from the worker on the conversion input screen, downloads NC programs, etc. However, when the site computer 30 is used for displaying the screen of the conversion computer 10, it may be used outside the site where the NC cutting machine 20 is installed. The site computer 30 may be assigned to perform part or all of the conversion processing (described below) performed by the conversion computer 10.

[0029] Next, FIG. 2 shows an example of the configuration of the conversion computer 10. As shown in FIG.

[0030] The conversion computer 10 includes a CPU 11, a communication interface (I / F) 12, a user interface 13, and a storage 14 (storage resource).

[0031] The CPU 11 performs conversion processing by reading and executing a conversion program 141 stored in the storage 14. The CPU 11 also performs information acquisition processing by reading and executing a configuration information acquisition program 142 stored in the storage 14. Here, the information acquisition processing refers to processing for acquiring information related to the NC cutting machine 20 via the NC controller 21.

[0032] The communication interface 12 is connected to the network 40 wirelessly or via a wired connection, and communicates various types of information with the NC cutting machine 20 and the on-site computer 30 via the network 40. Input devices such as a keyboard, mouse, and touchpad are connected to the user interface 13. The user interface 13 accepts input from a user using the input device.

[0033] The storage 14 can be a device for storing data such as an HDD (Hard Disc Drive), an SSD (Solid State Drive), etc. The storage 14 stores a conversion program 141, a configuration information acquisition program 142, processing machine configuration information 143, tool set information 144, individual tool information 145, a source NC program 146, a destination NC program 147, and conversion history information 148.

[0034] The conversion program 141 and the configuration information acquisition program 142 are stored in advance in the storage 14.

[0035] The processing machine configuration information 143 is information related to each NC cutting machine 20. The processing machine configuration information 143 stores, in association with the processing machine ID of the NC cutting machine 20, the model number, installation location, usage history, temperature of a predetermined part, rigidity information of a predetermined part, shape of a predetermined part, number of slots, offset value, manufacturer and model number of the NC controller 21, and accuracy information.

[0036] The processing machine ID is an identifier for individually identifying the NC cutting machine 20, and is acquired from the NC cutting machine 20 via the NC controller 21. Instead of the processing machine ID, an identifier of the NC controller 21 or a network address of the NC controller 21 may be used.

[0037] The model number is information indicating the model of the NC cutting machine 20, and is acquired from the NC cutting machine 20 via the NC controller 21. The installation location is information indicating the location where the NC cutting machine 20 is installed, and is input by an operator or the like using the on-site computer 30.

[0038] The usage record is, for example, the accumulated usage time of the NC cutting machine 20 and is acquired from the NC cutting machine 20 via the NC controller 21.

[0039] The temperature of the predetermined portion is, for example, the temperature of the spindle of the processing head unit 23, the stage 24, etc., and is acquired from the NC cutting machine 20 via the NC controller 21. The rigidity information of the predetermined portion is, for example, the Young's modulus, deflection amount, etc. of the spindle of the processing head unit 23, the stage 24, etc., and is input by an operator or the like using the on-site computer 30. The shape of the predetermined portion is, for example, the length of the spindle of the processing head unit 23, the length of the stage 24, etc., and is input by an operator or the like using the on-site computer 30.

[0040] The number of slots is the number of slots that tool magazine 25 has, and is obtained from NC cutting machine 20 via NC controller 21. The offset value is a value for finely correcting coordinates when a tool moves in an NC program, and is obtained from NC cutting machine 20 via NC controller 21. The offset value is changed in accordance with changes over time in NC cutting machine 20 and the installation environment, and is used to correct situations such as slight tilting of stage 24 due to deterioration over time.

[0041] The accuracy information includes information on the rattle of the processing head unit 23, stage 24, etc., movement accuracy (for example, the amount of backlash of the stage 24), straightness, flatness, degree of parallel movement, vibration amplitude and vibration frequency when the device is operating, etc., and is input by an operator or the like using the on-site computer 30.

[0042] The tool set information 144 is information for managing a tool set consisting of one or more tools TL. The tool set information 144 records the tool IDs (which may be model numbers) of the tools TL constituting the tool set in association with the tool set ID. The tool set information 144 is input by a worker or the like using the on-site computer 30.

[0043] The individual tool information 145 is information about each tool TL. The individual tool information 145 records the model number, material, shape, rigidity information, usage history, and temperature of the tool TL, as well as slot information in which the tool TL should be accommodated, in association with the tool ID of each tool TL. All of this information is input by a worker or the like using the on-site computer 30.

[0044] The source NC program 146 is an NC program used in the source NC cutting machine 20A to process the workpiece W. The source NC program 146 may have various parameters tuned to suit the characteristics, state, etc. of the source NC cutting machine 20A. The source NC program 146 is acquired from the NC cutting machine 20A.

[0045] The destination NC program 147 is an NC program obtained as a result of a conversion process that converts the source NC program 146 to suit the characteristics, state, etc., of the destination NC cutting machine 20B. If the conversion process has never been completed in the conversion computer 10, the destination NC program 147 is not stored in the storage 14.

[0046] The conversion history information 148 is information for managing the execution history of the conversion process for converting the source NC program 146 into the destination NC program 147. The conversion history information 148 records, for example, various pieces of information (input information, etc.) used during the conversion process in association with identification information for identifying the conversion process.

[0047] It should be noted that information other than the various types of information described above may be stored in the storage 14. For example, the storage 14 may be configured to record workpiece information representing the shape data of the workpiece W before machining, the material, rigidity, target machining shape data of the workpiece W, and the like.

[0048] <Conversion process by the conversion calculator 10> Next, FIG. 3 is a flowchart illustrating an example of conversion processing by the conversion computer 10. In FIG.

[0049] The conversion process is started by the CPU 11 of the conversion computer 10 reading and executing the conversion program 141 stored in the storage 14 in response to a predetermined operation from the user on the conversion computer 10. The subject that executes the conversion program 141 in the conversion process is the CPU 11.

[0050] First, the conversion program 141 (or the CPU 11 executing it) acquires the NC program used in the source NC cutting machine 20A from the NC cutting machine 20A and stores it in the storage 14 as the source NC program 146 (step S1).

[0051] Next, the conversion program 141 executes an operation simulation in which the NC cutting machine 20B of the conversion destination performs machining based on the acquired NC program (conversion source NC program 146) (step S2). In this operation simulation, for example, the positional relationship between the trajectory of the tool TL and the workpiece W can be confirmed. In this operation simulation, for example, the contact area between the cutting edge of the tool TL and the workpiece W during machining can be determined from shape information and position information of the tool TL and the workpiece W. Here, the shape information and position information of the tool TL and the workpiece W can be acquired as appropriate, and for example, may be acquired from data stored in the storage 14, or the information may be input from an external source (for example, the NC cutting machine).

[0052] Next, the conversion program 141 sequentially reads out the source NC program 146 in units of blocks from the storage 14 and stores it in its own work area (buffer) (step S3). Generally, an NC program is made up of codes such as G code (preparatory function), F code (feed function), S code (spindle function), T code (tool function), M code (auxiliary function), etc., and parameters such as tool coordinate positions, and has a fixed format. Therefore, by registering the format of the NC program in advance in the conversion program 141, it becomes easy to read out the source NC program 146 in units of blocks.

[0053] Next, the conversion program 141 performs a cutting operation simulation based on the NC program for conversion source read in step S3 and the shape of the workpiece, and divides the NC program into NC program sections (hereinafter referred to as machining blocks) where the rotary tool and the workpiece are in contact (step S4). The divided machining blocks are stored in their own buffers.

[0054] Next, the conversion program 141 calculates the cutting distance from the start to the end of the machining block divided in step S4 (step S5). The cutting distance is the distance cut into the workpiece 42 during machining, and a method for calculating the cutting distance will be described with reference to FIG. 4. FIG. 4 is a schematic diagram of side machining (down cutting) observed from a cross section perpendicular to the tool axis direction. As shown in this figure, the rotary tool 41 cuts and processes the workpiece 42 while performing translational motion to the right (X direction) and clockwise rotational motion. Here, an engagement angle 43 at which the tool 41 enters the workpiece 42 due to its rotational motion and a disengagement angle 44 at which the tool 41 retracts from the workpiece 42 are defined as angles formed with the Y axis. From the engagement angle 43, disengagement angle 44, radial depth of cut 45, and tool feed amount per tooth 46, the cutting distance Sd [mm] per tooth when the tool rotates once can be written as in equation (1) using the tool's small movement distance dL [mm].

[0055]

number

[0056] As shown in equation (1), the cutting distance Sd is expressed as the integral of the tool micro-travel distance dL. Therefore, the smaller the tool micro-travel distance dL, the better the calculation accuracy, but the higher the calculation cost. In this embodiment, the analysis was performed with the tool micro-travel distance dL set to 0.5 mm. However, it is desirable to set an appropriate dL depending on the application. Note that the above-described cutting distance calculation method is merely an example and is not limited to this. However, by calculating the cutting distance for each cross section in the tool axial direction for each process (i.e., by calculating the cutting distance at multiple locations in the tool axial direction for each process from when the cutting edge enters the workpiece 42 until it retracts), it is possible to take into account variations in the degree of wear progression even in machining where the axial depth of cut varies.

[0057] Next, the conversion program 141 calculates the relationship between the number of products machined in the processing block and the cutting distance (step S6). In this embodiment, since it is assumed that a plurality of identical products are machined, the cumulative cutting distance in a processing block is expressed as a linear equation proportional to the number of products, where the proportionality constant is the total cutting distance when one product is machined, and the intercept is the cumulative cutting distance from the start of processing to the processing block.

[0058] Next, the conversion program 141 calculates the cutting force coefficient and tool diameter for the number of products machined (step S7). In this step, the cutting force coefficient and tool diameter change due to tool wear when machining multiple identical products are predicted from the linear equation calculated in step S6 and a tool wear characteristic data table (tool wear characteristic information) prepared in advance. First, an example of the tool wear database is shown in FIG. 5. As shown in FIG. 5, the tool wear database is a tool master -Datate It has both a tool master table and a tool wear characteristic data table. -Datate The table contains tool information such as the tool model number, number of teeth, and tool diameter, as well as the processing conditions (rotation speed N, feed rate F, axial depth of cut Ap, radial depth of cut Ae, and one-pass length) of a wear test previously conducted on the product (workpiece material). The tool wear characteristic data table lists the tool wear width during the wear test, cutting force coefficients (Ktc to Kae in the table), and tool diameters relative to the number of passes. The tool wear characteristic data table may also list the cutting length relative to the number of passes. Here, one-pass length corresponds to the cutting distance per pass, and the number of passes is calculated by dividing the cutting distance by the one-pass length. Therefore, in this step, the reference position in the tool wear characteristic data table is determined from the cutting distance calculated in step S6, and the cutting force coefficient and tool diameter in the tool wear state are obtained, allowing for easy acquisition of the cutting force coefficient and tool diameter. If the reference position is within a data interval in the tool wear characteristic data table, the reference position is determined by linear interpolation using the data before and after.

[0059] Next, the conversion program 141 calculates the tool deflection using the cutting force coefficient acquired in step S7 (step S8). The tool deflection is a parameter for evaluating the elastic deformation of the tool due to the machining force, and is calculated from the cutting resistance obtained from the engage angle 43, disengage angle 44, and cutting force coefficient in step S5, and the tool rigidity obtained from the machine tool configuration information 143 and individual tool information 145. The calculated tool deflection is decomposed into the tool travel direction (X direction) and the direction perpendicular to that (Y direction), and only the Y direction component is saved in a buffer.

[0060] Next, the conversion program 141 adds the tool deflection in the Y direction obtained in step S8 to the tool diameter reduction obtained in step S7 to calculate the machining error, and stores it in a buffer as a correction value for the number of processed products (step S9).

[0061] Next, the conversion program 141 derives an interpolation formula for the correction value for the number of processed products (sometimes called a correction value interpolation formula) from the correction value obtained in step S9 (step S10). Note that the interpolation formula is preferably determined by the least squares method, but is not limited to a polynomial or the like.

[0062] Next, the conversion program 141 describes the interpolation formula obtained in step S10 in the NC program (step 11). FIG. 6 shows a conversion destination NC program 147 and an example thereof. The conversion destination NC program 147 shown in FIG. 6 performs machining using tool number 2 (T02) and tool number 3 (T03) among the tools stored in the tool set information 144. A correction command 62 is input to the conversion destination NC program 147 immediately before the machining block 61 divided in step S4. The correction command 62 is composed of a section (G41, G90G10L12P02) that passes a correction value to the NC controller 21 and the correction value interpolation formula (R[0.002*#901^3 + 0.001*#901^2 + 0.005*#901 + 0.015]) derived in step S10. Note that the 02 in P02 is the tool number. #901 is a non-volatile variable for counting the number of machined pieces managed for each tool number. When a tool is replaced, it is incremented by 1 by the variable incremental command 63. By changing the non-volatile variable for counting the number of machined pieces in this manner, it is possible to appropriately express a correction value interpolation formula corresponding to the number of machined pieces. Although an example in which the variable is incremented by the variable incremental command 63 has been described, when tools are replaced multiple times within a single product, the non-volatile variable for counting the number of machined pieces may be incremented by the number of tool changes. Furthermore, when the correction value interpolation formula is determined by a non-volatile variable for counting the number of machined pieces that is decremented (by 1) each time a tool is replaced, the non-volatile variable for counting the number of machined pieces may be decremented (by 1) instead of incremented each time a tool is replaced. Furthermore, the non-volatile variable for counting the number of machined pieces is not limited to #901 and #902 as in this embodiment, and may be any variable that does not volatilize when the machine tool is turned off. For example, the variable for counting the number of machined pieces may be a non-volatile variable of a machining center controller. By using non-volatile variables in this way, the count of the number of machining operations is not reset even when the power is turned off and restarted, and the compensation value interpolation formula is properly expressed. In Figure 6, the description G90G00Z50 defines a tool change. Also, since the compensation command 62 has a one-to-one correspondence with the machining block 61, when the machining block changes, the compensation value interpolation formula also changes.

[0063] Next, it is determined whether the conversion program 141 is the final machining block of the source NC program 146 divided in step S4 (step S12), and if it is the final machining block, the processing of the conversion program 141 is terminated, and if it is not the final machining block, the process returns to step S4.

[0064] The present invention is not limited to the above-described embodiments, and various modifications are possible. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the described configurations. Furthermore, it is possible to replace part of the configuration of one embodiment with or add to the configuration of another embodiment.

[0065] Furthermore, some or all of the above-described configurations, functions, processing units, processing means, etc. may be implemented in hardware, for example, by designing them as integrated circuits. Furthermore, the above-described configurations, functions, etc. may be implemented in software by a processor interpreting and executing a program that implements each function. Information such as programs, tables, and files that implement each function may be stored in memory, a storage device such as a hard disk or SSD, or a storage medium such as an IC card, SD card, or DVD. Furthermore, the control lines and information lines shown are those considered necessary for explanation, and do not necessarily represent all control lines and information lines in the product. In reality, it can be assumed that almost all components are interconnected.

[0066] An example of a processor is a CPU, but other semiconductor devices (for example, a GPU) may also be used as long as they are capable of executing predetermined processing. [Explanation of symbols]

[0067] 1 Machining system, 10 Conversion computer, 11 CPU, 12 Communication interface, 13 User interface, 14 Storage, 41 Rotating tool, 42 Workpiece, 43 Engagement angle, 44 Disengagement angle, 45 Radial depth of cut, 46 Feed rate per tooth, 61a to 61c Machining block, 62a to c Compensation command, 63 Variable incremental command, 141 Conversion program, 142 Configuration information acquisition Program, 143...machine configuration information, 144...tool set information, 145...individual tool information, 146...NC program for conversion source, 147...NC program for conversion destination, 148...conversion history information, 20...NC cutting machine, 21...NC controller, 22...main body, 23...processing head, 24...stage, 25...tool magazine, 25a to 25c...slot, 26...tool changer, 27...tool set, 30...on-site computer, 40...network

Claims

1. a processor; Memory resources and Equipped with The storage resource is storing tool wear characteristic information relating to the wear characteristics of the rotary tool and a tool master data table; The processor: A process defined by a conversion program used for converting an NC program is executed. Determining a contact area between a cutting edge of the rotary tool and the workpiece during machining using shape information and position information of the rotary tool and the workpiece; Calculating a cutting distance, which is the distance that the cutting edge of the rotary tool cuts the workpiece; calculating a tool diameter and a tool deflection of the rotary tool based on the cutting distance using the tool wear characteristic information; Estimating a machining error from the tool diameter and the tool deflection; and outputting a path of the rotary tool in which the machining error has been corrected; The tool wear characteristic information is For each ID of a rotary tool, a change in cutting force coefficient and a tool diameter used to calculate the tool deflection according to the number of passes is stored; The tool master data table includes: The material and tool shape of the workpiece are stored for each ID of the rotary tool. The number of passes is The value obtained by dividing the cutting distance in the abrasion test by the length of one pass under the processing conditions of the abrasion test. The abrasion test is a wear test on the workpiece carried out in advance; The processor: predicting the cutting force coefficient and the tool diameter using the calculated cutting distance, the tool wear characteristic information, and the tool master data table; The processor: Calculate the tool deflection using the cutting resistance obtained by multiplying the cutting force coefficient by the cutting distance. A conversion calculator characterized by:

2. A conversion calculator according to claim 1, The processor: In executing the conversion program, calculating cutting distances at a plurality of locations in the axial direction of the rotary tool for each process from when the cutting edge of the rotary tool enters the workpiece to when it retracts from the workpiece, based on data on a contact area between the rotary tool and the workpiece and an angle of the cutting edge of the rotary tool entering the workpiece in a cross section perpendicular to the axial direction of the rotary tool; A conversion calculator characterized by:

3. 1. An NC program conversion processing method performed using a processor and a storage resource that stores tool wear characteristic information related to wear characteristics of a rotary tool and a tool master data table, comprising: The processor: This is a process defined by a conversion program used to convert an NC program. Determining a contact area between a cutting edge of the rotary tool and the workpiece during machining using shape information and position information of the rotary tool and the workpiece; Calculating a cutting distance, which is the distance that the cutting edge of the rotary tool cuts the workpiece; calculating a tool diameter and a tool deflection of the rotary tool based on the cutting distance using the tool wear characteristic information; Estimating a machining error from the tool diameter and the tool deflection; and outputting a path of the rotary tool in which the machining error has been corrected; The tool wear characteristic information is For each ID of a rotary tool, a change in cutting force coefficient and a tool diameter used to calculate the tool deflection according to the number of passes is stored; The tool master data table includes: The material and tool shape of the workpiece are stored for each ID of the rotary tool. The number of passes is The value obtained by dividing the cutting distance in the abrasion test by the length of one pass under the processing conditions of the abrasion test. The abrasion test is a wear test on the workpiece carried out in advance; The processor: predicting the cutting force coefficient and the tool diameter using the calculated cutting distance, the tool wear characteristic information, and the tool master data table; The processor: Calculate the tool deflection using the cutting resistance obtained by multiplying the cutting force coefficient by the cutting distance. NC program conversion processing method.

4. An NC program conversion processing method according to claim 3, The processor: calculating cutting distances at a plurality of locations in the axial direction of the rotary tool for each process from when the cutting edge of the rotary tool enters the workpiece to when it retracts from the workpiece, based on data on a contact area between the rotary tool and the workpiece and an angle of the cutting edge of the rotary tool entering the workpiece in a cross section perpendicular to the axial direction of the rotary tool; NC program conversion processing method.

5. A program for causing a processor to execute the NC program conversion processing method according to claim 3.

6. A program for causing a processor to execute the NC program conversion processing method according to claim 4.

Citation Information

Patent Citations

  • JP168742A

  • Abrasion correction method

    JP1994143093A

  • Numerical value control device capable of facilitating adjustment of processing operation

    JP2016051190A

  • Control method of working machine

    JP2018058180A

  • Work-piece processing method and work-piece processing machine

    JP2020184321A