PROCESSING TIME FORECASTING SYSTEM AND MACHINE TOOL
The machining time prediction system addresses resource limitations by sharing and dividing machining programs across CNC machines, ensuring efficient and timely processing time calculations.
Patent Information
- Application Number
- DE102018119945
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-08-23
- Filing Date
- 2018-08-16
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2038-08-16
AI Technical Summary
Existing machining time prediction systems in CNC machine tools face inefficiencies due to hardware resource limitations, leading to prolonged processing times and incomplete calculations when resources are insufficient.
A machining time prediction system that shares machining programs across multiple CNC machine tools, dividing them into sections and calculating processing times collaboratively to optimize resource use and reduce load on individual machines.
Enables efficient and accurate machining time prediction even with limited hardware resources by distributing calculations across available machines, reducing overall processing time and improving resource utilization.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
STATE OF THE ART 1. Field of the invention
[0001] The present invention relates to a machining time prediction system and, more particularly, to a Machining time prediction system in which a plurality of CNC machine tools work together, to predict a processing time. 2. Description of the state of the art
[0002] Operators who create or correct an NC program often want to determine the processing time by the NC Check the program when creating or correcting the NC program.
[0003] For this reason, the time actually required for processing is determined by a Machine time prediction function as one of the simulations performed before machining.
[0004] Performing high-speed and short-term processing time prediction requires Hardware resources such as high-performance computing power, a CPU and sufficient memory.
[0005] However, if hardware resources are lacking because a machining form is complicated or an operator another application is running and using the CPU or memory, the processing time prediction may take time and may not be executed.
[0006] JP 2004-227028 A discloses a technique for a control device for dividing a machining program for the machining of a workpiece into machining steps, to calculate a cycle time (machining time) for each split processing step, and displaying the result on a display section.
[0007] JP 2006-106858 A discloses a technique related to a distributed processing system that includes a Master server, which provides distributed processing of a computing task to efficiently calculate a large data volume, and a plurality of slave servers connected to the master server via a network are to perform computational processing of the distributed computation task and processes the distributed Math problem.
[0008] The above-mentioned technique disclosed in JP 2004-227028 A calculates a cycle time for each Processing step of the machining program of a workpiece, where the calculation is carried out by only one control device is executed, and the cycle time is calculated in such a way that an operator can determine whether the machining sequence performed on the workpiece is appropriate or not. If hardware resources of the If the control device is lacking, the calculation of cycle time can take time.
[0009] The above-mentioned technique disclosed in JP 2006-106858 A divides the calculation task in such a way that the Processing of the computing task is distributed across a plurality of slave servers, but even though a cumulative The computing capacity of each slave server is assumed to be equal, a processing capacity or the like of each Slave server is not taken into account, and therefore the calculation may vary depending on the situation of the slave server may not be carried out within a reasonable time.
[0010] From DE 10 2015 009 437 A1 a processing time estimation device is known which estimates a processing time, required for a machine tool to machine a workpiece, the machine tool being on the controlled based on an NC program. The machining time estimation device includes a storage unit that stores first segment information about a plurality of segments that form a first NC program, a Program division unit that generates a second NC program modified on the basis of the first NC program was divided into a plurality of segments and second segment information about the plurality of segments generated, and a processing time estimation unit that estimates a processing time required for processing the Machine tool is required, which is controlled on the basis of the second NC program, in order to US 2005 / 0 228 533 A1 concerns a device for calculating the Machining time for a machining program based on an interpolated machining path. SUMMARY OF THE INVENTION
[0011] It is therefore an object of the present invention to provide a machining time prediction system which capable of shortening a processing time when a machining time in a CNC machine tool is predicted This object is achieved by a processing time prediction system according to claim 1 and by a Machine tool according to claim 3.
[0012] A machining time prediction system that predicts a machining time according to an aspect of the present invention predicts, shows a processing machining program division unit for dividing a machining program executed by a machine tool is divided into a plurality of sections, a machining program transfer unit for transferring the divided Processing programs to at least one processing unit, a processing time receiving unit for receiving the Processing time calculated by the calculation unit and a processing time integration unit for Assembling the processing time received by the processing time receiving unit.
[0013] According to the machining time prediction system, in this aspect, particularly in the case where Hardware resources of a computing device for calculating a processing time are lacking, it is possible to To reduce processing time by performing necessary calculations in cooperation with other management devices or machine tools, to prevent a load from being directed to some machine tools that To reduce load and achieve efficient use of resources on a network.
[0014] The machining program division unit may divide the machining program at a position of a command under Commands described in the machining program in which all axes of the machine tool are stopped, split.
[0015] In one embodiment, the machining program is divided at the position of the command where all axes the machine tool is stopped, and it is therefore possible to reliably calculate the total machining time, without being affected by operations before and after the division position of the machining program.
[0016] The machining program dividing unit divides the machining program such that parts of divided sections before and after the division position partially overlap each other, and the machining time integration unit can Merge processing times received from the processing time receiving unit and then Subtract the processing time of the overlapping parts.
[0017] In the embodiment, the machining program is divided by causing the machining program is to overlap before and after the division position, and the machining time of the overlapped part during Joining is subtracted, and it is therefore possible to reliably calculate the total processing time without to be affected by operations before and after the division position of the machining program.
[0018] A machine tool according to one aspect of the present invention is for a Machining time prediction system available that predicts a machining time, whereby the machine tool has a Machining program division unit for dividing a machining program into a plurality of sections, a Machining program transfer unit for transferring the divided machining programs to at least one Computing unit, a processing time receiving unit for receiving the processing time received from the computing unit and a machining time integration unit for merging machining times calculated by the Processing time receiving unit.
[0019] The machining program division unit may divide the machining program at a position of a command under Commands described in the machining program in which all axes of the machine tool are stopped, split.
[0020] The machining program dividing unit divides the machining program such that parts of divided sections before and after the division position partially overlap each other, and the machining time integration unit can Merge processing times received from the processing time receiving unit and then Subtract the processing time of the overlapping parts.
[0021] A management device is available for a processing time prediction system that calculates a processing time predicts, wherein the management device comprises a machining program dividing unit for dividing a Machining program to be executed by a machine tool into a plurality of sections, a Machining program transfer unit for transferring the divided machining programs to at least one Computing unit, a processing time receiving unit for receiving the processing time received from the computing unit and a machining time integration unit for merging machining times calculated by the Processing time receiving unit.
[0022] The machining program division unit may divide the machining program at a position of a command under Commands described in the machining program in which all axes of the machine tool are stopped, split.
[0023] The machining program division unit may divide the machining program such that parts of divided Sections before and after the division position partially overlap each other, and the machining time integration unit can combine processing times that are determined by the processing processing time receiving unit, and then subtract the processing time of the overlapping parts.
[0024] It is therefore an object of the present invention to provide a machining time prediction system which capable of shortening a processing time when a machining time in a CNC machine tool is predicted becomes. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view illustrating an overall configuration of the present invention; Fig. 2 is a block diagram of main parts according to an embodiment of the present invention; Fig. 3 is a functional block diagram of a calculation processing apparatus according to the embodiment of the present invention; Fig. 4 is a flowchart showing a processing flow according to the embodiment of the present describes the invention; Fig. 5 is a diagram resulting from extraction functions used when an NC program from the functional block diagram of the arithmetic processing device shown in Fig. 3; Fig. 6 is a diagram resulting from extraction functions to be used when an NC Program from the functional block diagram of the arithmetic processing device shown in Fig. 3, not is shared; Fig. 7 is a diagram for describing a technique of dividing the NC program; Fig. 8 is a diagram describing the calculation of a processing time at another machine tool or the like; Fig. 9 is a diagram illustrating an example of a machining time calculation result; and Fig. 10 is a diagram describing a technique of splitting an NC program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First embodiment)
[0025] A machining prediction system of the present invention comprises a PC or the like having a management device, as well as a plurality of machine tools. Fig. 1 is a schematic view of a Overall configuration of the machining prediction system of the present invention.
[0026] As shown in Fig. 1, in the machining prediction system of the present invention, a PC 400 and each Machine tool 500, such as machine tool 1 (500a) to machine tool 4 (500d), with a network 300, and the PC 400 and each machine tool 500 can send each other an NC program 32 and mechanical status information, including parameters such as acceleration / deceleration speed, specific to each machine tool 500, as well as transmit modal information.
[0027] Fig. 2 is a block diagram of main parts of the computing processing device 100 of the PC 400 and each Machine tool 500 of the present embodiment.
[0028] The arithmetic processing device 100 includes a CPU 10 which is a processor that performs arithmetic processing a memory 12 consisting of a RAM or ROM, a display control device 14 which Display device 140 controls, a power control device 16 which controls the ON / OFF of the power of the arithmetic processing device 100 according to an ON / OFF signal from the power switch 160, a Input device control device 18 which controls an external input device 180, a Hardware resource determination unit 40 for determining a state of hardware resources such as the CPU 10 and of the memory 12, a program transmission unit 50 for transmitting a program to the other Machine tool 500 or the like, a program receiving unit 60 for receiving a program from the other machine tool 500 or the like, and a machining time receiving unit 70 for receiving a Machining time calculated by the other machine tool 500, which are all connected to each other via a bus 17 are connected.
[0029] The memory 12 is a storage unit for storing an NC program 32 for machining a Machine tool, of parameters 34, such as acceleration / deceleration parameters, which are defined for each Machine tool specific, and for modal information, and various types of data that come from outside through the external input device 180 or the like. A keyboard is an example of the external Input device 180, and input data from the external input device 180 are transmitted via the Input device control device 18 is incorporated into the computing processing device 100. Functions of other Components such as the hardware resource determination unit 40, the program transmission unit 50, the program receiving unit 60 and the processing time receiving unit 70 are below described.
[0030] Fig. 3 is a functional block diagram of the computing processing device 100 according to the present Embodiment.
[0031] The computing device 100 is provided with a hardware resource determination unit 40, a transmission destination determination unit 42, a program division unit 44, a program transmission unit 50, a Processing time receiving unit 70, a program receiving unit 60, a processing time calculating unit 80, a processing time transmission unit 52 and a processing time integration unit 90.
[0032] With reference to the NC program 32 and the various parameters 34 stored in the memory 12 are, the hardware resource determination unit 40 checks operating situations of the CPU 10 and the memory 12 in the Arithmetic processing device 100 in the PC 400 and each machine tool 500 into which the arithmetic processing device 100 is installed, and determines a margin for operation processing of the computing processing device 100. Furthermore, how As described below, the hardware resource determination unit 40 also receives operating situations of the CPU 10 and the Memory 12 in the machine tool 500 in which the arithmetic processing device 100 is installed, and a margin for Operation processing by the hardware resource determination unit 40 in other machine tools.
[0033] In the present embodiment, the hardware resource determination unit 40 checks hardware resources, such as the CPU 10 and the memory 12, in the computing processing device 100, and in the case where it is determined that There is little margin for operational processing in the hardware resources because, for example, the operator has other work, the hardware resource determination unit 40 transfers the shared programs and parameters that required for the calculation, to the other machine tool 500 and to the PC 400, and the machine tool 500 and the PC 400 each calculate processing times for the split programs.
[0034] These processes are described in detail below. Fig. 4 is a flowchart showing a process flow according to the present embodiment, and Fig. 5 is a diagram resulting from the extraction of Functions that are to be used when the NC program 32 is derived from the functional block diagram of the arithmetic processing device 100 shown in Fig. 3, and Fig. 6 is a diagram taken from the Extracting functions to be used when the NC program 32 is extracted from the functional Block diagram of the arithmetic processing device 100 shown in Fig. 3 is not to be divided.
[0035] Next, the operation of the present embodiment will be explained step by step based on the flowchart described in Fig. 4. - (Step SA1) The hardware resource determination unit 40 determines whether sufficient hardware resources are present or not, in order to predict the machining time of the entire NC program 32 in the arithmetic processing device 100 of the machine tool 500. The flow proceeds to step SA8, if sufficient hardware resources (YES) are available, or proceed to step SA2 if not enough Hardware resources are available (NO).
[0036] The operation from step SA2 to SA7 below (function executed when insufficient hardware resources are present) is shown in Fig. 5. - (Step SA2) Similar to step SA1, the determination result of hardware resources in the other Machine tool 500, which is determined by the hardware resource determination unit in the other machine tool 500 or the like. - (Step SA3) The transmission destination determination unit 42 determines a transmission destination as a calculation unit for Calculating the split program. When determining the transmission destination, the Transmission destination determination unit 42 of the transmission destination of the program with reference to the number other machine tools 500 received at step SA2, and the determination results of the Hardware resource determination unit of the other machine tool 500. As the method for determining of the transfer destination if the usage situation of hardware resources in the other machine tool 500 exceeds a predetermined threshold, the transmission destination determination unit 42 determines that there is not enough time to perform the calculation of a processing time prediction, and transfers the NC program 32 by dividing the NC program 32 equally by the number of Machine tools that do not exceed a threshold. Furthermore, it is also possible to Ratio of the amount of the program according to the processing capacity of the CPU 10 or the like for each machine tool 500 and transfer the program. - (Step SA4) The program division unit 44 divides the program. More specifically, the Program division unit 44 divides the program by a number corresponding to the number of machine tools corresponds to which the usage situation of hardware resources in the other machine tool 500 does not exceed a threshold, or can split the program at a point where the program regardless of the number of machine tools at the transfer destination. In the latter case, Splitting the program is a process of combining the split programs in accordance with the Transfer target machine tool required. All shared programs can be transferred to other machine tools are transferred, or some of the shared programs may not be transferred, can be calculated in the arithmetic processing device 100. Details of the Program sharing process is described below. - (Step SA5) The NC program 32 divided by the program division unit 44 and the parameters 34, which are required to calculate a machining time of the NC program 32 are added to the program transmission destination determined by the transmission destination determination unit 42. A Calculation of the machining time of the NC program 32 in the other machine tool after transfer is described below. - (Step SA6) In the case where any of the NC programs 32 is calculated in the arithmetic processing device 100 without transferring them, the program division unit 44 calculates the processing times of the NC programs 32, which were not transmitted by the processing time calculation unit 80. - (Step SA7) The machining time receiving unit 70 receives the machining time of the NC program 32, the in the other machine tool 500 was calculated. - (Step SA8) Since the machining time can be calculated without dividing the NC program 32, the Machining time calculation unit 80 the machining time of the entire NC program 32. - (Step SA9) The machining time integration unit 90 adds the machining time calculated in the arithmetic processing device 100, and the machining time in the other machine tools 500 is calculated together.
[0037] When calculating the machining time of the NC program, a general calculation method, which is usually For general machining, the total machining time can be calculated by calculating the Processing time from a relationship between a processing length and a processing speed and further can be calculated by adding the rise time and the fall time using time constant parameters. Furthermore, as another technique, it is also possible to divide a toolpath into segments, which are fine pieces, a processing time for each segment using a segment length and a movement speed of the tool in the segment and combine the machining times. If the split NC program is an auxiliary function, it is possible to specify the time required by the auxiliary function in the form of a table or the like in the To store and read such data in advance and thereby calculate the time.
[0038] Fig. 7 is a diagram for describing a technique of dividing the NC program 32.
[0039] The program division unit 44 processes the NC program 32 read from the memory for each Block, for processes of distinguishing a ´´section division condition´´ and dividing the NC program 32 into Sections corresponding to a plurality of blocks.
[0040] When distinguishing the ´´section division condition´´ for dividing the NC program into sections, the NC- The program is first divided into blocks that contain auxiliary code or into blocks that contain an instruction that ´´Subprogram Call´´ in the header, and then the NC program is further called on a part of a code, such as T-code or M-code or a part of a command, such as a dwell command where all axes are stopped are divided as ´´section division conditions´´.
[0041] The program division unit 44 may be configured to divide the NC program 32 at all points where which the section division conditions are met, or to specify the number of places to be divided and the Program set of shared blocks considering the number of target devices supported by the transmission destination determination unit 42.
[0042] Fig. 8 is a diagram for describing a calculation of a processing time at the transmission destination of the program, like the other Machine tool 500 determined by the transfer destination determination unit 42 at step SA6 in the flowchart in Fig. 4. The basic configuration for calculating the processing time is similar to the Functional block diagram of the arithmetic processing device 100 shown in Fig. 3, where the functions required for Calculating the machining time of the split NC program 32 can be extracted.
[0043] The program receiving unit 60 receives the split NC program 32 generated from the other machine tool 500 or the like. The received NC program 32 is transferred to the machining time calculation unit 80, the machining time calculation unit 80 calculates the machining time in the transmitted NC- Program 32, transmits the calculated machining time to the machining time transmission unit 52, and the Machining time transmission unit 52 transmits the machining time to the other machine tool 500, which transmission source.
[0044] Each machine tool 500 calculates the machining time of the divided NC program 32, and the Processing time receiving unit 70, which is the transmission source, receives the calculated processing time and also receives the machining times calculated by the other machine tools 500. And the Machining time integration unit 90 adds the machining time calculated in the arithmetic processing device 100 and the machining times calculated in the other machine tools 500 together, and calculates thus a total processing time.
[0045] Fig. 9 is a diagram illustrating an example of a machining time calculation result, where the NC- Program 32 is divided into four sections, with each machine tool 500 calculating a machining time, where these calculated processing times are added together and a total processing time of seven minutes is calculated.
[0046] It should be noted that when the NC program 32 is divided to calculate the machining time, in comparison to the case where the processing time of the entire NC program 32 is calculated, there is a time difference required for processing between locations before and after splitting, but the description of the This disclosure is given assuming that there is no influence of the difference. (Second embodiment)
[0047] Next, the present embodiment will be described based on Fig. 10. In the present Embodiment is the present embodiment regarding the method of dividing the NC program 32 different, although the basic configuration is similar to that of the previous embodiment. In the above embodiment, the program is divided into parts where all axes are stopped, as in Tool spare parts, dwell command position or the like of the NC program 32, while in the present Embodiment, the program is divided in such a way that parts of the divided sections before and after the division position partially overlap each other, as shown in Fig. 10.
[0048] As can be seen in a relationship between section 2 and section 3 in Fig. 10, the program is divided by This is caused by parts where an interpolation method is changed, such as G00 and G01, overlapping each other. As shown in the case of the above embodiment, the shared NC program 32 is sent to the other machine tool 500 or the like and calculated. After splitting the program and calculating the processing time, the processing time receiving unit 70, which is the transmission source, receives the calculated processing time and also receives the machining times calculated by the other machine tools 500. And the Machining time integration unit 90 adds the machining time calculated in the arithmetic processing device 100 and the machining times calculated by the other machine tools 500 together, deletes the overlapping part of these processing times and then calculates a total processing time. The processing time, the corresponds to the overlapping part, can be determined from the machining distance and the machining speed at the overlapping part can be calculated.
[0049] It should be noted that a case described in the embodiments as an example in which the Hardware resources are lacking, the computer processing device 100 of the machine tool 500 the NC program 32 of a of the machine tools 500, and the divided NC program 32 to the other machine tool 500, where the usage situation of hardware resources does not exceed a threshold, but the present The invention is not limited to this example. In the embodiments, an example has been described in which the shared NC program 32 is transferred to a plurality of other machine tools 500. Since the transfer destination However, the arithmetic unit is the NC program 32 can be converted to a Management device, such as one of the other machine tools 500 or to the PC 400, which has a processing capacity have, in a single piece without splitting the program, and the processing time will be charged, or the Number of divisions can be set to 2, and the machining time can be shared by two machine tools be calculated: from machine tool 500 and one of the other machine tools 500.
[0050] Although the hardware resource determination unit 40 in the computing processing apparatus of the other Machine tools 500 itself determines whether the usage situation of hardware resources of the other Machine tool 500 exceeds a threshold or not, the machine tool 500 on the side that transfers the NC program 32, determine hardware resources of the other machine tool 500, or the Management device, such as PC 400 connected on network 300, can determine the hardware resources.
[0051] Furthermore, the management device, such as the PC 400, in the machine tool 500 for which the prediction a processing time of the NC program 32 is desirable, determine whether hardware resources are lacking or not, divide the NC program 32 thereafter, transfer the divided program to the other machine tool 500, or Integration processing of the processing time after the processing time has been calculated, instead of the Run machine tool 500.
Claims
1. A processing time prediction system that predicts a processing time, comprising: a machining program dividing unit (44) for dividing a machining program generated by a machine tool (500) is executed, into a plurality of sections; a machining program transmission unit (50) for transmitting the divided machining programs to at least a computing unit (100); a processing time receiving unit (70) for receiving the processing time received from the computing unit (100) is calculated; and a processing time integration unit (90) for merging the processing time obtained from the processing time receiving unit (70) is received, wherein the machining program dividing unit (44) divides the machining program such that parts of divided Sections before and after the division position partially overlap each other, and the processing time integration unit (90) processing times received from the processing time receiving unit (70) received, and then subtracts the processing time of the overlapping parts.
2. Machining time prediction system according to claim 1, wherein the machining program division unit (44) Machining program at a position of a command among commands described in the machining program at which all axes of the machine tool (500) are stopped.
3. Machine tool (500) adapted for a machining time prediction system that predicts a machining time, is available, which includes: a machining program dividing unit (44) for dividing a machining program into a plurality of sections; a machining program transmission unit (50) for transmitting the divided machining programs to at least a computing unit (100); a processing time receiving unit (70) for receiving the processing time received from the computing unit (100) is calculated; and a processing time integration unit (90) for merging processing times obtained from the processing time receiving unit (70), wherein the machining program dividing unit (44) divides the machining program such that parts of divided Sections before and after the division position partially overlap each other, and the processing time integration unit (90) processing times received from the processing time receiving unit (70) received, and then subtracts the processing time of the overlapping parts.
4. Machine tool (500) according to claim 3, wherein the machining program division unit (44) Machining program at a position of a command among commands described in the machining program at which all axes of the machine tool (500) are stopped.
Citation Information
Patent Citations
Estimation device for machining time after change of NC program
DE102015009437A1
Information display method and information extraction and display method
JP2004227028A
Distribution processing system, distribution processing method, and its program
JP2006106858A
Machining time calculating apparatus
US20050228533A1
