The present invention relates to a machining time estimation method, a machining time estimation device, and so on for estimating a workpiece machining time in an NC machine tool.
Japanese Unexamined Patent Application Publication No. 2003-175439 (Patent Literature 1 listed below) discloses a conventionally known device for estimating a workpiece machining time in an NC machine tool.
This machining time estimation device estimates a machining time for machining using an NC program in an NC machine tool including a program storage, a program analysis unit, and a drive control unit. The program storage stores the NC program that is constituted by a plurality of command blocks. The program analysis unit reads out the NC program stored in the program storage and analyzes the NC program block by block, and outputs control signals based on the analysis results. The drive control unit receives the control signals output from the program analysis unit and controls operation of drive mechanism units for axial movement and auxiliary function of the NC machine tool in accordance with the received control signals.
Specifically, the machining time estimation device includes a database, actual operating time calculating means, and operating time estimating means. The database stores accumulated actual operating time data of the drive mechanism unit for auxiliary function. The actual operating time calculating means at least calculates an actual operating time of the drive mechanism unit for auxiliary function based on the control signals output from the program analysis unit and an operation complete signal obtained from the drive mechanism unit and updates the data stored in the database with data on the calculated actual operating time. The operating time estimating means analyzes the NC program stored in the program storage block by block. The operating time estimating means calculates an estimated operating time of the drive mechanism unit for axial movement based on the analysis results, and estimates an operating time of the drive mechanism unit for auxiliary function by searching the database based on the analysis results. Based on the calculated estimated operating time of the drive mechanism unit for axial movement and the estimated operating time of the drive mechanism unit for auxiliary function, the operating time estimating means calculates an estimated operating time for each block and then integrates the calculated estimated operating times, thereby calculating an estimated machining time.
In this machining time estimation device, the actual operating time calculating means at least calculates the actual operating time of the drive mechanism unit for auxiliary function and updates the data stored in the database with data on the calculated actual operating time each time actual machining is performed in the machine tool. By this updating process, the reliability of the data stored in the database is increased.
The operating time estimating means executes the machining time estimation using the database with the thus-increased reliability. That is to say, the operating time estimating means analyzes each block of the NC program stored in the program storage. When an axial movement is commanded, the operating time estimating means acquires an axial movement amount based on the axial movement command and calculates an estimated operating time for the axial movement based on the acquired axial movement amount and the commanded axial feed speed. When an auxiliary function operation is commanded, the operating time estimating means searches the database based on the auxiliary function operation command and obtains the corresponding auxiliary function operation time.
Where either an axial movement command or an auxiliary function operation command is command in one block, the time obtained by the above-described process for the command is designated as an estimated operating time for the block. On the other hand, where both an axial movement command and an auxiliary function operation command are commanded in one block and the axial movement and the auxiliary function operation are performed in sequence, the times obtained by the above-described processes are added up and the added-up value is designated as an estimated operating time for the block. Where the axial movement and the auxiliary function operation are performed in parallel, the longer one of the times obtained by the above-described processes is designated as an estimated operating time for the block. An estimated operating time is calculated for each block in this manner and then the calculated operating times are integrated. Thereby, an estimated machining time is calculated.
Thus, with this machining time estimation device, even if the actual operating time for auxiliary function changes with time or changes depending on the condition of the machine tool, the database that reflects the actual condition of the machine tool is used for the machining time calculation. Therefore, a highly accurate machining time corresponding to the actual condition of the machine tool is calculated.
Among the machining conditions in an NC machine tool, the cutting speed is subject to some restrictions due to multiple elements such as the workpiece material, the tool wear, and the tool toughness. Further, the limits of the feed rate and depth of cut of the tool are determined based on the rated power of a spindle motor mounted in the NC machine tool, i.e., the performance of the spindle motor, and the performance of the tool.
Therefore, even when the same workpiece is machined, the machining conditions differ according to the performance of the spindle motor mounted in the NC machine tool and the tool to be used. Further, an NC program created under the machining conditions also differs. Accordingly, the machining time for machining of a workpiece differs according to the performance of the spindle motor mounted in the NC machine tool and the tool to be used.
Likewise in other fields, improvements are constantly made in the field of machine tools and machine tools with improved performance are launched on a daily basis. On the other hand, machine tool users make day-to-day studies so as to reduce the cost for machining a workpiece. An approach therefor is to modernize a facility for machining a workpiece, that is to say, a machine tool, to achieve automation of the machining, reduction of the machining time, etc.
In particular, introducing a leading-edge machine tool in place of the existing machine tool can improve the machine tool operating rate and improve the machine tool performance (particularly, the spindle motor rated power), so that the machining cost is reduced accordingly. Therefore, when considering introducing a new machine tool, the user focuses on the machining time as an index for reducing the machining cost. The user considers how much the machining time is shortened in machining the same workpiece with a leading-edge machine tool to be introduced in place of the existing machine tool. In this consideration of the machining time, application of the above-described conventional machining time estimation device is expected.
However, in order to use the above-described conventional machining time estimation device to estimate an expected machining time (shortened machining time) for machining using the machine tool to be introduced, there is a problem that it is necessary to newly create an NC program that is improved according to the performance of the machine tool to be introduced. In order to newly create such an NC program, it is necessary to accurately analyze the existing NC program. This operation is burdensome. In addition, the machining conditions determined according to the performance of the machine tool diversify. Therefore, it is not easy to newly create such an NC program.
Accordingly, if it is possible to quickly estimate a machining time shortened by using a new machine tool, users can quickly judge the benefit of introducing a new machine tool. On the other hand, it is preferable also for machine tool manufacturers since they can quickly proceed with business negotiations if they can provide such a benefit to users.
The present invention has been achieved in view of the above-described circumstances, and an object of the invention is to provide a machining time estimation method, a machining time estimation device, and so on that enable a machining time shortened according to the performance of a new machine tool to be estimated for machining of the same workpiece by the new machine tool.
To solve the above-described problem, the present invention provides a machining time estimation method including:
The present invention also provides a machining time estimation device capable of suitably implementing the machining time estimation method, including:
In the machining time estimation device and machining time estimation method according to the present invention, a rated power of a first spindle motor mounted in a first NC machine tool and a rated power of a second spindle motor mounted in a second NC machine tool are input from the motor information input unit and thereby acquired. Further, a first machining time for machining of a predetermined workpiece by the first NC machine tool using an NC program created for the machining of the workpiece is input from the machining time input unit and thereby acquired. Furthermore, a high-load machining ratio as a ratio of a high-load machining time performed at a predetermined or more high loading with respect to the rated power of the first spindle motor in the first machining time is input from the high-load machining ratio input unit and thereby acquired.
Based on these acquired data, a second machining time as a machining time for machining of the workpiece by the second NC machine tool using the NC program modified to a condition making a high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool is estimated by the machining time estimation unit.
Thus, with the machining time estimation device and machining time estimation method according to the present invention, where the first NC machine tool is an existing facility and is to be replaced with the second NC machine tool and the same workpiece is to be machined by the second NC machine tool, the second machining time that is an expected machining time for machining performed under the condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool, i.e., the second machining time that is shortened according to the performance of the second NC machine tool, is estimated. Therefore, the user can easily recognize the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool.
Further, the second machining time is estimated without creating a new NC program improved according to the performance of the second NC machine tool. Therefore, the user can easily and quickly recognize the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool.
The machining time estimation unit may estimate the second machining time T2 using the following equation:
where T1 is the first machining time, R is the high-load machining ratio, MP1 is the rated power of the first spindle motor, and MP2 is the rated power of the second spindle motor.
In the present invention, the high loading means that the output of the spindle motor is at a load of a predetermined or more ratio with respect to the rated power of the spindle motor. For example, the high loading can be defined as the output of the spindle motor being 80% or more of the rated power of the spindle motor. Alternatively, the high loading may be defined as the output of the spindle motor being 100% of the rated power of the spindle motor, so that it means limit machining. The high-load machining ratio means the ratio of a machining time with the output of the spindle motor in machining at the high loading to the entire machining time.
The machining time estimation device may be configured according to the following aspect:
This aspect facilitates input of the data and facilitates confirmation (recognition) of the estimated second machining time.
As a matter of course, the rated power of the first spindle motor and the rated power of the second spindle motor are provided by the manufacturer of the first NC machine tool and the manufacturer of the second NC machine tool, respectively.
The first machining time and the high-load machining ratio can be acquired as actual data obtained in machining the workpiece with the existing first NC machine tool. For example, where the first NC machine tool includes a monitoring system for monitoring the operating status of the first NC machine tool, the first machining time and the high-load machining ratio can be acquired from data obtained by the monitoring system. Where the first NC machine tool does not include such a monitoring system, the first machining time and the high-load machining ratio can be acquired by manually measuring the first machining time and monitoring the loading on the first spindle motor during the machining.
Alternatively, the first machining time and the high-load machining ratio may be estimated by analyzing the NC program.
In this case, the machining time estimation device further includes a machining status analysis unit that, using at least information on the workpiece, information on a tool, and machine information on the first NC machine tool, estimates the first machining time for the machining of the workpiece by the first NC machine tool executing the NC program created for the machining of the workpiece and executes the high-load machining ratio. The machining status analysis unit is configured to input the estimated first machining time into the machining time input unit and input the estimated high-load machining ratio into the high-load machining ratio input unit.
The first machining time can be estimated from a tool path, a feed speed, and the like obtained by analyzing the NC program. The high-load machining ratio can be calculated as a ratio of the high-load machining time to the first machining time by estimating an amount of time of machining at the high loading from information on the workpiece, information on the tool, and machine information on the first NC machine tool in addition to the tool path and the feed speed.
Note that the load MP [KW] on the spindle motor in machining can be calculated using the following equation:
where f is a feed per revolution [mm/rev], Vc is a cutting speed [m/min], D is a machining diameter [mm], Kc is a specific cutting force [MPa], and n is a mechanical efficiency factor.
Alternatively, the machining status analysis unit may estimate the first machining time and the high-load machining ratio by a simulation method of virtually executing the NC program using at least the information on the workpiece, the information on the tool, and the machine information on the first NC machine tool.
The present invention also provides a computer program for causing a computer to function as:
The computer program may be configured to cause the computer to function such that the machining time estimation unit estimates the second machining time T2 using the following equation:
where T1 is the first machining time, R is the high-load machining ratio, MP1 is the rated power of the first spindle motor, and MP2 is the rated power of the second spindle motor.
Furthermore, the present invention provides a computer-readable recording medium that has the above-described computer program recorded thereon.
In accordance with the present invention, as described above, where the first NC machine tool is an existing facility and is to be replaced with the second NC machine tool and the same workpiece is to be machined by the second NC machine tool, the second machining time that is an expected machining time for machining performed under the condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool, i.e., the second machining time that is shortened according to the performance of the second NC machine tool, is estimated. Therefore, the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool is recognized easily.
Further, the second machining time is estimated without creating a new NC program improved according to the performance of the second NC machine tool. Therefore, the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool is recognized easily and quickly.
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.
First, a machining time estimation device according to a first embodiment is described on the basis of
As illustrated in
The motor information input unit 3, the machining time input unit 4, and the high-load machining ratio input unit 5 are displayed as an input and output screen on the touch panel 7 as illustrated in
Note that the boxes displayed on the right of the items “1st spindle motor rated power”, “2nd spindle motor rated power”, “1st machining time”, and “High-load machining ratio” in
The data to be input for “1st spindle motor rated power” and the data to be input for “2nd spindle motor rated power” are provided by the manufacturer of the first NC machine tool and the manufacturer of the second NC machine tool, respectively.
The high loading means that the output of the spindle motor is at a load of a predetermined or more ratio with respect to the rated power of the spindle motor. For example, the high loading can be defined as the output of the spindle motor being 80% or more of the rated power of the spindle motor. Alternatively, the high loading may be defined as the output of the spindle motor being 100% of the rated power of the spindle motor, so that it means limit machining. The high-load machining ratio means the ratio of a machining time with the output of the spindle motor in machining at the high loading to the entire machining time. On the basis of these definitions, the high-load machining ratio in the machining of the workpiece by the first NC machine tool represents a ratio of a machining time performed at the high loading with respect to the rated power of the first spindle motor in the first machining time.
The first machining time and the high-load machining ratio in the first machining time can be acquired from actual data obtained in machining the workpiece with the first NC machine tool. For example, where the first NC machine tool includes a monitoring system for monitoring the operating status of the first NC machine tool, the first machining time and the machining time performed at the high loading can be acquired from data obtained by the monitoring system. Where the first NC machine tool does not include such a monitoring system, the first machining time and the high-load machining ratio can be acquired by manually measuring the first machining time and monitoring the loading on the first spindle motor during the machining.
After receiving the estimation start signal input from the touch panel 7, the machining time estimation unit 6 estimates a second machining time T2 for machining of the workpiece by the second NC machine tool, which is different in performance from the first NC machine tool, based on the data on the rated powers of the first and second spindle motors input from the motor information input unit 3, the data on the first machining time input from the machining time input unit 4, and the data on the high-load machining ratio input from the high-load machining ratio input unit 5. The second machining time represents a machining time needed under the assumption that the workpiece is machined by the second NC machine tool using the NC program modified to a condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool.
Specifically, the machining time estimation unit 6 estimates the second machining time T2 using the following equation:
where T1 is the first machining time, R is the high-load machining ratio, MP1 is the rated power of the first spindle motor, and MP2 is the rated power of the second spindle motor.
The high-load machining time THL1 in the first machining time T1 is calculated by the following equation:
The high-load machining time THL2 under the assumption that the workpiece is machined by the second NC machine tool under a condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool is estimated (approximated) by the following equation:
The high-load machining time THL2 represents a machining time performed at the high loading under the assumption that the workpiece is machined by the second NC machine tool using the NC program modified to a condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool. Therefore, the NC program is not changed in this estimation.
On the other hand, the non-high-load machining time TLL1, in the first machining time T1 is calculated by the following equation:
Accordingly, the second machining time T2 is estimated (approximated) by the above-indicated equation.
The machining time estimation unit 6 displays the thus-estimated second machining time T2 in the box located on the right of the “Estimated 2nd machining time” displayed on the touch panel 7.
With the machining time estimation device 1 according to this embodiment having the above-described configuration, data on the rated powers of the first and second spindle motors, data on the first machining time, and data on the high-load machining ratio are first input through the touch panel 7 by the operator.
Once the “RUN” key on the touch panel 7 is pressed after the input of the data and thereby the estimation start signal is input, the machining time estimation unit 6 estimates the second machining time as a machining time for machining of the workpiece by the second NC machine tool using the NC program modified to a condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool. The estimated second machining time is displayed on the touch panel 7.
Thus, with the machining time estimation device 1 according to this embodiment, where the first NC machine tool is an existing facility to be replaced with the second NC machine tool and the same workpiece is to be machined by the second NC machine tool, the second machining time that is an expected machining time for machining of the workpiece under the condition making the high loading with respect to the rated power of the second spindle motor equal to the high loading in the first NC machine tool, that is to say, the second machining time that is shortened according to the performance of the second NC machine tool, is estimated. Therefore, the user can easily recognize the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool.
Further, the second machining time is estimated without creating a new NC program improved according to the performance of the second NC machine tool. Therefore, the user can easily and quickly recognize the effect to be provided by replacing the existing first NC machine tool with the second NC machine tool.
Further, the machining time estimation device 1 according to this embodiment is configured such that the data on the rated powers of the first and second spindle motors, the data on the first machining time, and the data on the high-load machining ratio are input through the touch panel 7. This configuration facilitates input of the data. Further, the estimated second machining time is displayed on the touch panel 7. This configuration facilitates confirmation (recognition) of the estimated second machining time.
Next, a second embodiment of the present invention is described on the basis of
As illustrated in
The NC program storage 12 is a functional unit for storing an NC program to be used in an NC machine tool. In this example, the NC program storage 12 stores the NC program for machining the workpiece with the first NC machine tool.
The machining information storage 13 is a functional unit that stores information such as information on the workpiece (for example, information on the workpiece dimensions and information on the workpiece material), information on the tool (for example, the specific cutting force for the workpiece material), machine information on the first NC machine tool (for example, the rated power of the first spindle motor and the mechanical efficiency factor).
The machining status analysis unit 14 executes a process of analyzing the NC program stored in the NC program storage 12 and estimating the first machining time for machining of the workpiece by the first NC machine tool executing the NC program as well as the high-load machining ratio.
For example, the machining status analysis unit 14 analyzes the NC program, which is constituted by a plurality of blocks written in the NC language, block by block to recognize a tool path, a spindle rotation speed, and a feed rate (feed speed) and estimates the first machining time based on the recognized data. The machining status analysis unit 14 also estimates the high-load machining ratio based on the recognized tool path, spindle rotation speed, and feed rate (feed speed) as well as the information stored in the machining information storage 13, i.e., the workpiece dimensions, the workpiece material, the specific cutting force of the tool for the workpiece material, the rated power of the first spindle motor of the first NC machine tool, and the mechanical efficiency factor. The machining status analysis unit 14 inputs the estimated first machining time into the machining time estimation unit 6 via the machining time input unit 4 and inputs the estimated high-load machining ratio into the machining time estimation unit 6 via the high-load machining ratio input unit 5.
For example, as illustrated in
The machining status analysis unit 14 recognizes the tool path shown in
The machining status analysis unit 14 estimates the moving time of the tool T in each path based on the distance and feed speed in each path and integrates the estimated moving times, thereby estimating the first machining time.
Further, the machining status analysis unit 14 estimates the load MP [KW] on the first spindle motor in each cutting feed path using the following equation:
where f is a feed per revolution [mm/rev], Vc is a cutting speed [m/min], D is a machining diameter [mm], Kc is a specific cutting force [MPa], and n is a mechanical efficiency factor.
Note that the feed per revolution f [mm/rev] and the cutting speed Vc [m/min] can be acquired from the analysis of the NC program, the machining diameter D [mm] can be acquired from the analysis of the NC program or from the data stored in the machining information storage 13, and the specific cutting force Kc [MPa] and the mechanical efficiency factor n can be acquired from the data stored in the machining information storage 13.
The machining status analysis unit 14 calculates what percentage of the rated power of the first spindle motor the estimated load MP [KW] on the first spindle motor corresponds to, and adds up the machining times of the paths in which the calculated percentage exceeds a predetermined percentage (for example, 80%), thereby calculating the high-load machining time. For example, in the example shown in
The machining status analysis unit 14 inputs the calculated first machining time into the machining time estimation unit 6 via the machining time input unit 4 and inputs the calculated high-load machining ratio into the machining time estimation unit 6 via the high-load machining ratio input unit 5.
With the machining time estimation device 10 according to this embodiment having the above-described configuration, data on the rated powers of the first and second spindle motors are first input through the touch panel 7 by the operator. Once the “RUN” key on the touch panel 7 is thereafter pressed and thereby the estimation start signal is input, the machining status analysis unit 14 analyzes the NC program and calculates the first machining time and the high-load machining ratio. The calculated first machining time is input into the machining time estimation unit 6 via the machining time input unit 4 and the calculated high-load machining ratio is input into the machining time estimation unit 6 via the high-load machining ratio input unit 5.
After the data are input into the machining time estimation unit 6, the machining time estimation unit 6 estimates the second machining time based on the input data in the same manner as in the first embodiment. The estimated second machining time is displayed on the touch panel 7.
Thus, the machining time estimation device 10 according to this embodiment is configured such that the first machining time and the high-load machining ratio are calculated by the machining status analysis unit 14. Therefore, the machining time estimation device 10 is able to acquire the first machining time and the high-load machining ratio without depending on manual work, for example, even in the case where the first NC machine tool does not include a monitoring system for monitoring the operating status of the first NC machine tool. In this sense, the machining time estimation device 10 realizes easy and quick estimation of the second machining time.
Above have been described specific embodiments of the present invention. However, it should be noted that the present invention is not limited to the above-described embodiments and can be implemented in other manners.
For example, in the second embodiment, the machining status analysis unit 14 calculates the first machining time and the high-load machining ratio by analyzing the NC program. However, the machining status analysis unit 14 is not limited to this configuration and may be configured to estimate the first machining time and the high-load machining ratio by a simulating method of virtually executing the NC program using at least the information on the workpiece, the information on the tool, and the machine information on the first NC machine tool.
Further, in the second embodiment, the rated power of the first spindle motor is input through the touch panel 7 by the operator. However, the present invention is not limited thereto and a configuration is possible in which the data on the rated power of the first spindle motor stored in the machining information storage 13 is input into the machining time estimation unit 6 via the motor information input unit 3 from the machining status analysis unit 14.
Further, in the second embodiment, the second computing device 11 may be composed of a computer different from the computing device 2.
As already mentioned above, the foregoing description of the embodiments is not limitative but illustrative in all aspects. One skilled in the art would be able to make variations and modifications as appropriate. The scope of the invention is not defined by the above-described embodiments, but is defined by the appended claims. Further, the scope of the invention encompasses all modifications made from the embodiments within a scope equivalent to the scope of the claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/026274 | 7/13/2021 | WO |