The invention relates to a machine control device for a grinding machine or for comparable machines and a method to determine the travel path of a tool, particularly a grinding tool and/or a corresponding workpiece.
On grinding machines or similar machines, as for example erosion machines or the like, it is frequently necessary to adjust the workpiece and/or the tool relative to one another so that a collision cannot occur. For example, this is the case when the machining process performed with a grinding tool is completed and another grinding tool is to be brought into contact with the workpiece. The positioning of the workpiece and the grinding tool as well as the control of paths to be traveled is an object in the machine control program that a machine adjustment specialist or a machine operator has to achieve with more or less intelligent programming assistance. In the As a rule, it is not possible for the machine adjustment specialist to provide position paths that are optimal time wise. This applies especially when these paths cannot be linear to bypass obstacles and to avoid collisions thereby. If a machine control program has been created, then it has to be carefully tested over a long period for its freedom of collision to avoid that the case where grinding tools or workpieces collide with one another or that they collide with other parts. If obviously safer paths are taken to avoid collisions whereby after the end of an operation the respective tool is moved to a so-called safe parked position, for example, and whereby the starting position of the subsequent operational step is approached from said parked position—or whereby another parked position is approached from said first parked position—then this results in lengthy travel paths and long positioning times. The positioning times add up to a considerable loss of time, which is to be avoided, particularly during grinding operations on complicated workpieces, as for example drills, cutters or the like.
It is therefore the an object of the invention to provide a positioning method as well as a corresponding machine control device with which travel paths for tools and/or workpieces can be determined in a short time and in a simple manner requiring a short positioning time.
This object is achieved by a workpiece-shaping machine which comprises a shaping tool carrier and a workpiece carrier, a multi-axial actuation device, and a machine control device. The shaping tool carrier and the workpiece carrier are arranged for relative movement in a plurality of directions within a working area. The multi-axial actuation device produces the relative movement. The machine control device is connected to the multi-axial actuation device and includes a processing unit, and a memory unit connected to the processing unit. The memory unit includes a pre-computed data base for the working area, which area is divided into coordinates. Collision parameters are pre-assigned to the coordinates for predetermined shaping tools and predetermined workpieces in respective predetermined positions thereof. The machine control device is operable to map out a freedom-from-collision travel path based upon the collision parameters.
The invention also pertains to a method of mapping out a freedom-from-collision travel path utilizing the above-described apparatus. The method comprises that the steps of:
The machine control device according to the invention assists the programmer in the input or determination of travel paths requiring a short positioning time. Said machine control device can also be equipped to determine such travel paths automatically. The characteristic of the machine control device and the associated control method is based on the fact that a pre-computed data base is provided, which applies to the separated working area and which contains a collision parameter for each tool and each tool position as well as for each workpiece and each workpiece position as well as for each separation element of the working area. For example, this parameter is “zero” when there is no collision and “one” when the respective workpiece position and the tool position collide (whereby said tool position is determined by a location in the area of the machine coordinates), which means an overlapping path of tool and workpiece. If a special path of the workpiece is provided through the working area and/or of the tool through the working area, then there can be determined through a simple search of the data base whether the proposed path includes collisions or not. This can be achieved in the way of checking predetermined paths and it can also be a supporting measure during the determination of travel paths.
The search of the data base is an extremely time-intensive process, but it has to be performed only one time. If there is a working area that is divided respectively in hundred separate steps in all three spatial directions, for example, then there are created already 10,000 separation elements. For example, a first and also separated tool can assume 10,000 different positions at a predetermined orientation of the workpiece. If the workpiece can assume 100 separate orientations, then the separate working area has 1,000,000 points. A collision parameter of “0” or “1” is assigned to each separation element (cell) in the entire working area for each point, which means for each separate workpiece-tool constellation (workpiece position and tool position in the working area). If the workpiece and the tool does not come into contact with one another or overlap each other, then all cells are “zero”. If contact or overlapping occurs, then only the specific cells are a “ones” in which there is contact or overlapping, for example.
Determination of the collision parameters in the above-mentioned manner occurs preferably now for each separated type of tool in combination with each separated type of workpiece whereby preferably the geometric shape of the unfinished pieces are selected as workpieces. All these constellations are then entered into the data base. It has been shown that the computation of such a data base can take more than a day even on highly efficient computers. The data base forms then a lookup table through which a proposed path of a grinding tool and/or a workpiece can be checked for freedom from collision within a few seconds or even faster at a corresponding arrangement of data. The inventive method and the machine control device achieve thereby an individual basis to be able to check for freedom from collision during programming of travel paths or during the automatic creation of said travel paths. In particular, time-efficient travel paths can be determined very rapidly through repeat return to the data base.
The data base has to be established only one time by the machine manufacturer. This data base can subsequently be copied onto all existing machines or grinding machines and it makes the determination of a favorable travel path possible then. For example, a collision-free path is selected additionally between all conceivable paths between a starting point and an end point of the path to be determined, which is as close as possible near an optimum path. Known standardized methods can be used in addition. In individual cases it may be sufficient if the data base includes only the separation elements of the working area and its collision parameters, which have to be checked during positioning. Separation elements associated with marginal regions of the working area may be possibly omitted. However, it is considered to be advantageous to include all separation elements of the working area so that each conceivable case of collision is contained in the data base.
Moreover, it is preferred to consider all tools used on the respective machine whereby the tools are described by tool separation elements forming a respective type of a tool. Workpieces are also separated whereby the unfinished pieces to be machined on the respective grinding machine serve separately as designs for workpieces and whereby said workpieces have simple geometric shapes such as cylinders, cones, stepped cylinders or the like.
The method is especially suitable for use on grinding machines having only a small amount of material to be cut so that the workpiece is changed in its shape only to a small degree during machining. The workpiece designs of the unfinished pieces remain generally the same even with the machining process on the workpieces.
The data base consists of an indexed listing, which means a chain of zeros appear in the rule. Said data base can thereby easily compressed from the start. Data compression can be performed and respectively limited to the pairing of tool types and workpiece types so that only a partial data base has to be decompressed (unpacked) to check freedom from collision of paths of a specific workpiece and of a specific tool.
Additional details of advantageous embodiments of the invention are shown in the drawings, the description, or the claims.
An embodiment example is illustrated in the drawings:
A grinding machine 1 is shown in
The coordinates X, Y, Z and A form a four-dimensional working area for the movement of the grinding wheel 3 and the unfinished piece 11. The control device 7 controls the movement of the grinding wheel 3 and the unfinished piece 11 to achieve desired grinding results. It additionally controls the movement of the grinding wheel 3 and/or the unfinished piece 11 to be able to bring different tools into contact with the unfinished piece 11 one after the other, for example. The grinding spindle carrier 2 and the workpiece carrier 9 must be moved thereby in the shortest time possible, which means that time-optimal or nearly time-optimal or at least time-efficient travel paths are searched for. Above all, there must not occur thereby any collisions between the grinding wheel 3 and the unfinished piece 11 or any other elements. The control device 7 is therefore in a position to check the proposed paths for collision in the four-dimensional working area. It uses thereby a data base provided in the memory unit 8 containing a collision parameter for all possible positions of the grinding wheel 3 and the unfinished piece 11 in the separated four-dimensional working area. This means that for all separated X, Y and Z positions of the grinding wheel 3, combined with all separated rotating positions (A positions) of the unfinished piece 11, a determination is made if overlapping (collision) occurs relative to the volume of the grinding wheel 3 and the unfinished piece 11. A two-dimensional example is shown in
The control device 7 determines now a path P as it is shown with the aid of another two-dimensional example in
A collision-free path is searched from A to B in the separated working area (here it is two-dimensional X, Y). Said path should be tolerably short. The areas at risk for collision are marked with hatch lines and they are respectively identified with “1” in the data base D. The method searches now a path in the grids provided by the separation that leads around the area at risk for collision. This path is furthermore an optimal path running directly along the inner area 14 and it is defined by a curved line whereby said area 14 identifies the collision zone. However, path P is considerably more favorable than a traditional through-going path P0 leading across parked positions, which is entered shown schematically in
Two-dimensional grids are not sufficient for the actual grinding machine 1 and therefore the operation has to be conducted correspondingly in the four-dimensional work area. Which means that the collision parameter “0” or “1” is determined and stored for all coordinate sets of fours X, Y, Z, A, which respectively identifies a possible relative position of tool and workpiece. This data base can then be used in the search for a path to determine if the selected path, or a recently determined partial path, or a partial path entered by the operator is collision-free or not—and this is accomplished by checking the stored values without any computing effort.
The collision parameters are preferably not only determined for a particular workpiece and a particular tool and for the entire multi-dimensional working area, but they are determined at the same time for all separated tools and all separated workpieces as well. This is illustrated in
As mentioned above, the data set can be stored in compressed form. The data set is preferably divided into partial data sets whereby each partial data set represents a tool-workpiece pairing (DT=WZI overl WSJ/R). Only the partial data set has to be decompressed then to determine freedom of collision of a positioning path that applies to the specific tool or workpiece of interest. The decompressed data set can be used to determine or check a path whereby the result is available practically at once.
The data set D is made available for machine control of a grinding machine to determine time-efficient, collision-free paths whereby said data set has a collision parameter of “0” or “1” in each separated coordination point (X, Y, Z, A) and for each combination of the separated tool types WZI and workpiece types WSJ. Said collision parameter shows if a collision or spatial overlapping of the tool and the workpiece can occur or not for the constellation assigned to the corresponding coordinate point X, Y, Z, A, which means the relative position of the workpiece 11 and the tool 3. This data base D forms a lookup table that can be used to check given paths or for the expansion or for the step-by-step layout of a path. The computation of time-efficient paths can be performed in a few seconds even at limited computing capacity since the time-intensive and computing-intensive collision computation is eliminated thereby. The pre-computed lookup table is referred to for this purpose.