The following relates to a method and an apparatus for computer-aided optimization of an occupancy of magazine slots by tools within at least one tool magazine for a machine tool.
A machine tool is an automated manufacturing facility that is used to produce a prescribed shape on a workpiece by means of one or more tools. Multiple tools can be associated with one tool type, e.g. milling. Another tool type can be e.g. drilling. A machine tool has a tool spindle in which the machining tool, also called the spindle tool, is located during machining.
The tools that can be used by the machine tool to machine a workpiece are stored in a tool magazine. There are various types of these. One form used very frequently is chain-type magazines, which are used e.g. in the automotive industry.
Another magazine type is shelf-type magazines R, as indicated in
The shelf-type magazine has an apparatus, in particular a magazine device, which is not depicted in
A workpiece of a specific workpiece type is machined using a prescribed sequence of tools. It is entirely possible for a tool to occur repeatedly in this sequence. The sequence is the same for all workpieces of a workpiece type, e.g. car seat. The sequence can be a different one for workpieces of another workpiece type.
During a work step of machining a workpiece using a tool of the sequence, the spindle tool, the “predecessor tool” of the preceding work step is returned to or replaced in its magazine slot in the shelf-type magazine. An empty run is then made to the magazine slot of the “successor tool” of the subsequent work step. The tool is then picked up and transported to a supply point. When the current work step, i.e. the machining using the current spindle tool, is finished, the tool in the spindle is exchanged (e.g. using a tool changer). If the machining using the spindle tool is finished but the successor tool is not yet available for the next work step, a waiting period arises for the spindle supply. These individual waiting periods reduce machine efficiency and increase the production time. These waiting periods should therefore be avoided.
When minimizing the waiting periods for the spindle supply during the production of a prescribed or prescribable set of workpieces of one or more workpiece types, the following restrictions must be heeded:
A tool cannot usually be put into any magazine slot, i.e. there are permissible magazine slots and prohibited magazine slots for the tool:
The magazine slot type of the tool and the magazine slot type of the magazine or shelf slot must be compatible. As such, e.g. large tools cannot be put in magazine slots for small tools, and possibly vice versa.
Tools must not jut out at the edge.
There must be no tools at closed magazine slots.
If tools are oversize, one or possibly even more adjacent magazine slots need to be released.
The initial situation is usually a shelf-type magazine filled (possibly even very full) with tools. In order to be able to heed the aforementioned restrictions, the tools are moved in the shelf-type magazine. This cannot be performed during peak times (i.e. while production is in progress) and therefore entails a downtime for the machine tool. In this context, it makes sense to assign as many tools as possible back to the old magazine slot.
An aspect relates to optimize machine efficiency and, with it, in particular the aforementioned waiting periods.
Embodiments of the invention claim a method for computer-aided optimization of an occupancy of magazine slots by tools within at least one tool magazine for a machine tool, wherein one or more workpieces of a workpiece type are manufactured by using the tool provided by a magazine device at a supply point, having the following steps:
The supply time can be made up of a fetch time, which comprises the time for the magazine device to fetch a tool to the supply point from one magazine slot permissible for the tool, and of a replace time, which comprises the time for the magazine device to replace a tool from the supply point to one magazine slot permissible for the tool, and of an empty-run time for an empty run by the magazine device from a first magazine slot to another, second magazine slot.
If the next work step is the first work step in the sequence of work steps, then there is no replace time, i.e. the replace time is zero, and no empty run, i.e. the empty-run time is zero.
Allowance can be made for all magazine slot pair combinations of first and second magazine slots. The number of magazine slot pair combinations can be reduced if need be by virtue of allowance being made for them on the basis of the tools to be used in the order of the work steps within the sequence.
Moreover, a set of workpiece types and quantities of the workpieces to be manufactured of each workpiece type of the set can be detected and allowance can be made for these in optimizing the occupancy of the magazine slots by tools.
The optimization can be performed by means of mixed integer linear optimization or by means of a heuristic integer linear optimization, each of which is explained in more detail in the exemplary embodiments below.
One development of embodiments of the invention provides for further steps of:
detecting a set of all half-slots,
detecting a subset of half-slots covered whenever there is a tool in one magazine slot, wherein allowance is made for these sets when optimizing the occupancy, with the aim of no half-slot being covered by multiple tools.
A magazine slot can comprise one or more half-slots. These can be situated to the left, to the right or above or below. They are locations at the respective magazine slot that can be covered by other tools at adjacent magazine slots.
One development of embodiments of the invention provides for the optimization of the occupancy of the magazine slots by tools to be performed such that the number of magazine slots occupied by tools other than the tools before the optimization is as low as possible.
One development of embodiments of the invention provides for a set of magazine slots that are each permanently occupied by a tool to be detected that cannot be occupied by other tools as a result of the optimization.
One development of embodiments of the invention provides for the optimization of the occupancy of the magazine slots by tools to be performed such that the tools for which the waiting period assumes the value zero are placed in magazine slots close to the supply point.
The embodiments entails the following advantages:
The optimization entails shorter paths of movement of the magazine device of a shelf-type magazine, which ultimately also results in energy savings and longer durability. This is also accompanied by shorter production times for the machine tools.
A further aspect of embodiments of the invention provides for a control facility that is in particular designed to perform the method of the aforementioned type and the embodiments thereof. The control facility (not shown in
The control facility for computer-aided optimization of an occupancy of magazine slots by tools within at least one tool magazine for a machine tool, wherein one or more workpieces of a workpiece type are manufactured using the tools provided by a magazine device at a supply point, has:
A further aspect of embodiments of the invention is a computer program (product) having program code means for performing the method as claimed in one of the preceding method claims when the computer program (product) runs on a control facility of the aforementioned type or is stored on a computer-readable medium.
The computer program or a computer program product (non-transitory computer readable storage medium having instructions, which when executed by a processor, perform actions)can be stored on a computer-readable medium. The computer program or computer program product can be created in a standard programming language (e.g. C++, Java). The processing facility can comprise a standard computer or server on the market having appropriate input, output and storage means. This processing facility can be integrated in the control facility or in the means thereof.
The control facility and the computer program (product) can be developed or designed analogously to the aforementioned method.
Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:
A special case of optimization methods is linear optimization. It is concerned with the optimization of linear target functions over a set that is limited by linear equations and inequations. It is the basis of the solution processes of (mixed) integer linear optimization. What is known as a solver is a collective name for specific mathematical computer programs that can solve mathematical problems numerically. In association with MILP (mixed integer linear programming), standard solvers such as e.g. CPLEX, Scip, Gurobi, Xpress can be used for IP programs (integer optimization models).
The text below describes an example in which an MILP (mixed integer linear programming) model is used to perform a computer-aided optimization of an occupancy of magazine slots by tools within at least one tool magazine for a machine tool, wherein one or more workpieces of a workpiece type can be manufactured by means of an occupancy of the magazine slots by tools.
The following designations apply in the MILP formulation:
Indexes:
Parameters:
Variables:
QIP Formulation (Quadratic IP Formulation):
Minimization Target Function:
Constraints:
For all l ∈ L, l′ ∈ L, w ∈ W, i=2, . . . , n−1, it holds that:
A waiting period arises after the first operation if the empty run from the supply point to the magazine slot of the tool for the next second operation takes longer than the first operation.
For i=1, it holds for all l ∈ L, w ∈ W that:
MILP Reformulation:
The test problem with 250 slots, 60 tools and 20 operations is not solvable using the QIP formulation. The QIP is therefore formulated as MILP:
Additional Variables:
Modified Restrictions:
The restrictions (6) are replaced by the restrictions (9).
For all l ∈ L, l′ ∈ L, w ∈ W, i=2, . . . , nw−1, it holds that:
For i=1, it furthermore holds for all l ∈ L, w ∈ W that:
If the tools ti−1w and ti+1w are not in magazine slot l and magazine slot l′, respectively, then the minimization target function ensures that it holds that hw,i,l,l′=0.
Performance Measures:
In order to decrease the operating time, also called performance, the following further performance measures are useful.
Consideration of Exclusively Critical Operations:
The maximum time for a cycle (returning or replacing, intermediate run and fetching (collecting)) can be calculated. In (9), it is therefore possible to provide a restriction only to the operations have that a shorter production time than the maximum cycle time. These operations are referred to as critical. Critical tools refer to those tools that need to be returned to or fetched from the shelf-type magazine during critical operations.
Limitation of the Solution Space:
Depending on the number of critical tools, the solution space for the possible magazine slots of the critical tools can be limited, since the time for returning and fetching the tools increases as the distance from the supply point becomes greater.
Journey times to the opposite side of the shelf-type magazine are extremely long. If only a few tools are critical, it is possible e.g. to dispense with the complete opposite side as potential magazine slots for the critical tools.
Additional Restrictions (Cuts):
Lower Bounds:
It is possible to ascertain minimum cycle times, which, minus the production time, provide a lower bound for the waiting period.
Extensions:
A target function made up of multiple waited components allows further target criteria to be optimized as well. Accordingly, a starting tool magazine slot occupancy is detected and the maximization of the number of concordant occupancies between the starting occupancy and the optimized occupancy is deemed a second, less highly weighted target criterion. The main criterion remains the minimization of the waiting period.
Preference for Old Magazine Slots:
The new occupancy of the magazine slots by tools that is calculated by the optimization needs to be produced physically in the machine tool by means of conversions. During this period, the machine tool is probably at a standstill. It is therefore advantageous if the optimization results in a tool t landing up in the old magazine slot loldt where possible and therefore the number of such tools is maximized:
Storing Relocated Tools Close to the Supply Point:
Additionally, it can make sense for visual reasons and also for performance reasons if, by means of a very low weighting, the relocated, noncritical, tools land up close to the supply point and therefore the sum of the intervals of time between the tools and the supply point is minimized.
Fixed-Setup Tools:
For a set of FixedSetups of pairs (t,lt) with t ε T and lt ε L, the following is specified:
MILP Heuristics:
For large problem instances, the performance is not adequate and the following MILP-based heuristics are proposed therefore to minimize the waiting periods for a workpiece type:
For a FixedSetup set of tool/magazine-slot pairs and an OpSubset set of operations (w,i), MILP(FixedSetup, OpSubset) will be the MILP (see above) with additionally fixed-setup tools according to the FixedSetup set and a limitation of the restriction (9) to the operations of the OpSubset set, i.e. only the waiting periods of the operations from OpSubset are minimized.
According to
According to step S3, the OpSubset set comprises all operations whose predecessor and successor tools are already in a fixed setup or are the same as the aforementioned tp and ts. In step S4, an optimization is performed using a MILP formulation MILP(FixedSetup, OpSubset). In step S5, operation op1 is removed from the list ListOp. The tools tp, ts are included in the FixedSetup set with the magazine slots that result from the optimization and that are assigned and also permissible, FixedSetup comprising respective pairs of a tool and the associated magazine slot. FixedSetup therefore expresses the occupancy of the magazine slots by tools. After condition B is satisfied, the method is finished, this being denoted by E. The tool/magazine-slot association of the MILP solution in this iteration is then the solution of the heuristic. Otherwise, the method is continued or repeated with step 2. The condition is satisfied if ListOp is empty. Ultimately, an optimized occupancy is supposed to result from this MILP heuristic, which ultimately leads to a minimization of the overall waiting period described at the outset. An individual waiting period a work step is obtained from the positive value of the difference between the replace time for replacing the tool tp envisaged for the preceding work step, the empty-run time of the empty run by the magazine device from the magazine slot of the tool ts envisaged for the preceding work step to the magazine slot of the tool tp envisaged for the subsequent work step, and also the fetch time for fetching the tool ts envisaged for the subsequent work step and the detected time of the work step that is currently to be performed.
The heuristic can also be extended to multiple workpiece types having identical or different amounts of workpieces to be manufactured per type by means of appropriate prioritization/reordering of ListOp.
In
In the columns 23, 21 and 31 shown therein, there are the magazine slots for the larger tools. The tools are provided with numbers.
The dots represent the magazine slots, the small dots being the magazine slots in which there are only smaller tools and the large dots being those magazine slots in which there can be either smaller or larger tools. The shaded circular disks represent the primed tools. The light-colored circular disks represent the tools of the operations.
In the cycle depicted in
Normally, it holds that: the closer the light-colored circular disks are to the supply point and the shorter the distances of the intermediate runs, the shorter are the waiting periods.
The implementation of the processes or method sequences described above can be provided on the basis of instructions that are available on computer-readable storage media or in volatile computer memories (referred to collectively below as computer-readable memories). Computer-readable memories are for example volatile memories such as caches, buffers or RAM and also nonvolatile memories such as removable data carriers, hard disks, etc.
The functions or steps described above can be present here in the form of at least one instruction set in/on a computer-readable memory. In this case, the functions or steps are not tied to a specific instruction set or to a specific form of instruction sets or to a specific storage medium or to a specific processor or to specific execution schemes and can be implemented by software, firmware, microcode, hardware, processors, integrated circuits, etc., in standalone operation or in arbitrary combination. In this case, a wide variety of processing strategies can be employed, for example serial processing by a single processor or multiprocessing or multitasking or parallel processing, etc.
The instructions can be stored in local memories, but it is also possible to store the instructions on a remote system and to access them via a network.
“Computer-aided” can be understood within the context of embodiments of the invention to mean for example an implementation of the method in which in particular a processor carries out at least one method step of the method.
The term “processor”, “central signal processing”, “control unit” or “data evaluation means or evaluator”, as used here, encompasses processing means or processor in the broadest sense, that is to say for example servers, general purpose processors, graphics processors, digital signal processors, application-specific integrated circuits (ASICs), programmable logic circuits such as FPGAs, discrete analog or digital circuits and arbitrary combinations thereof, including all other processing means or processor that are known to a person skilled in the art or will be developed in the future. In this case, processors can consist of one or more apparatuses or facilities or units. If a processor consists of multiple apparatuses, the latter can be designed or configured for the parallel or sequential processing or execution of instructions. A “memory unit” can be understood within the context of embodiments of the invention to mean for example a memory in the form of random-access memory (RAM) or a hard disk.
Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.
For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements. The mention of a “unit” or a “module” does not preclude the use of more than one unit or module.
This application claims priority to PCT Application No. PCT/EP2017/073206, having a filing date of Sep. 14, 2017, the entire contents of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/073206 | 9/14/2017 | WO | 00 |