This application claims the priority of European Patent Application, Serial No. 14159692.4, filed Mar. 14, 2014, pursuant to 35 U.S.C. 119(a)-(d), the content of which is incorporated herein by reference in its entirety as if fully set forth herein.
The present invention relates to a method of operation for a processing machine, especially for a machine tool.
The present invention further relates to a system program which includes machine code that is able to be executed by a numerical controller, wherein the effect of the processing of the machine code by the numerical controller is that the numerical controller executes such an operating method.
The present invention further relates to a numerical controller which is programmed with a system program of this type.
The present invention further relates to a processing machine, especially a machine tool.
The following discussion of related art is provided to assist the reader in understanding the advantages of the invention, and is not to be construed as an admission that this related art is prior art to this invention.
With processing machines—for example machine tools—the position-regulated axes are moved in a coordinated manner so that the workpiece is processed by means of the tool according to processing defined by the parts program.
Typically only the so-called TCP (=tool center point), i.e. a central point of the tool which acts on the workpiece during processing, is predetermined by means of the parts program. The real kinematics of the processing machine is not taken into account in predetermining the TCP. Because of the fact that the real kinematics of the processing machine is not known in advance within the context of establishing the parts program, no check can be made within the context of the parts program as to whether a desired processing defined by the parts program by means of the real processing machine is possible or not. In particular no check can be made as to whether, as part of the movement processes to be undertaken by the real kinematics of processing machine, the result will be undesired collisions of the tool with machine elements of the processing machine or the workpiece or undesired collisions of the machine elements with each other or with the workpiece.
To avoid such collisions virtual volumes (=protection bodies) are assigned to the tool, the workpiece and the machine elements by the numerical controller. The protection bodies can be defined—both in the prior art and also within the context of the present invention—as real volumes. As an alternative it is possible to define the protection bodies by their envelope curves. Therefore, when reference is made below to the protection bodies or the corresponding volumes, this can likewise be taken to mean the envelope curves as an alternative.
According to the real kinematics of the processing machine the protection bodies are linked. They are moved virtually by the numerical controller as part of a so-called preamble, i.e. before the real activation of the axes, in accordance with the movement to be realized. The numerical controller checks whether, within the context of this movement, the protection bodies intrude into or touch each other. If they do, the protection bodies do not remain disjoint from one another. Thus there is an unwanted collision. Otherwise the real execution of the parts program can take place.
In the parts program the setpoint position values are stored as ideal setpoint position values for an ideal processing machine. In the establishment of the parts program the assumption has therefore been made that the respective positioning of the tool relative to the workpiece corresponds entirely exactly to the predetermined setpoint values. Real processing machines exhibit deviations however. These deviations for example include offsets, zero point displacements, linear deviations and rotational deviations. Therefore a field is often stored in the numerical controller which specifies the resulting position error for the respective combination of setpoint axis values. A position error field is therefore known to the numerical controller, which specifies for any given setpoint axis values the actual position that the tool assumes relative to the workpiece when the position-regulated axes are positioned at the respective setpoint axis values. The respective position error is defined typically as a deviation from the corresponding ideal position which would be produced if the processing machine were to be constructed entirely error-free. As an alternative the actual position itself can be stored. Regardless of which method of operation is adopted, the numerical controller is capable, as a result of the position error field, of correcting the setpoint axis value accordingly, so that as a result of the TCP will be positioned correctly, i.e. in accordance with the specification by the parts program. The respective position error typically includes—both in the prior art and also within the context of the present invention—at least the (translational) positioning errors. It can additionally—both in the prior art and also within the context of the present, invention—include a (rotational) orientation error with one, two or three angles.
In the prior art the position error field is only used for correction of the real activation, but not as part of the preliminary phase for determining the positions of the protection bodies and for determining collisions resulting therefrom.
It would therefore be desirable and advantageous to obviate prior art shortcomings and to provide an improved method and system by which collisions can be reliably avoided.
According to one aspect of the present invention, an operating method for a processing machine includes
In accordance with the present invention, an operating method of the type is embodied by the numerical controller taking into account the position error field at least for a part of the protection bodies in the establishment of the volumes the which would be occupied by the protection bodies on activation of the position-regulated axes in accordance with the sequence of setpoint position values.
It is possible that the numerical controller, for all protection bodies, takes into account the position error field in the establishment of the occupied volumes. Although this method of operation is entirely exact, it is however not necessary in many cases. Typically it is necessary however for those protection bodies for which the numerical controller takes into account the position error field in the establishment of the volumes occupied to include the tool and a tool holder. In a similar way it is likewise necessary typically that those protection bodies for which the numerical controller takes into account the position error field in the establishing the volumes occupied include at least the workpiece and a workpiece holder. Where necessary, other protection bodies can naturally also be included in this method of operation. In a sense of optimizing the additional effort to be made in taking into account the position error field within the context of collision checking, it is however appropriate typically for the numerical controller to only take into account the position error field in establishing the volumes occupied by these protection bodies. For the other protection bodies, the starting point in this case for establishing their respective position are the setpoint axis values directly corresponding to the setpoint position values—i.e. without taking into account the position error field.
In many processing machines, the machine elements moved by means of the position-regulated axes follow each other sequentially towards the tool or the workpiece, as seen from a resting base body of the processing machine. In this case it is often sufficient if, during the establishing of the volumes occupied by protection bodies corresponding to a specific machine element, account is only taken of the setpoint axis values of those position-regulated axes which act on machine elements which, viewed from the base body towards the tool or the workpiece, are disposed between the base body and the specific machine element. It is however likewise possible to also take into account the setpoint axis values of the further position-regulated axes. This can especially be sensible for taking into account elastic bending or the like.
The inventive method of operation can be even further optimized by the numerical controller, within the context of the establishment of the volumes occupied by the protection bodies, also taking into account a temperature dependence and/or elastic effects in addition to the position error field.
Many processing machines are embodied as three-axis machines by means of which the tool, although it is positioned translationally relative to the workpiece, cannot however be oriented rotationally. With this type of processing machine, although a translational positioning error can be corrected by a correspondingly corrected activation of the position-regulated axes, a rotational orientation error cannot be. The position error field—i.e. the description stored in the numerical controller of the deviation of the TCP from its ideal position—can also define the rotational orientation error in addition to the translational positioning error (even if said area cannot be corrected). If this is the case, the numerical controller preferably takes account, within the context of establishing the volumes occupied by the protection bodies, of the orientation error in addition to the positioning error. This allows any collision to be predicted or avoided even more precisely.
As already mentioned, the numerical controller also takes into account the position error field in the establishment of the setpoint axis values. It is possible for the numerical controller, in establishing the setpoint axis values—i.e. the real activation of the position-regulated axes—to constantly take into account the position error field. As an alternative it is possible for the numerical controller to have a control command specified to it by a user and for the numerical controller, depending on the specified control command, to take account or not take into account the position error field in establishing the setpoint axis values. Independently thereof the position error field is taken into account by the numerical controller however in both cases at least for the establishment of the volumes of the protection bodies.
According to another aspect of the present invention, a system program includes a sequence of setpoint position values for a tool of a processing machine relative to a workpiece to be processed with the tool and causes the numerical controller to execute the aforedescribed operating method.
According to yet another aspect of the present invention, a numerical controller is programmed with a system program according to the invention.
According to still another aspect of the present invention, a processing machine, especially a machine tool, includes a numerical controller programmed with a system program according to the invention.
Other features and advantages of the present invention will be more readily apparent upon reading the following description of currently preferred exemplified embodiments of the invention with reference to the accompanying drawing, in which:
Throughout all the figures, same or corresponding elements may generally be indicated by same reference numerals. These depicted embodiments are to be understood as illustrative of the invention and not as limiting in any way. It should also be understood that the figures are not necessarily to scale and that the embodiments are sometimes illustrated by graphic symbols, phantom lines, diagrammatic representations and fragmentary views. In certain instances, details which are not necessary for an understanding of the present invention or which render other details difficult to perceive may have been omitted.
Turning now to the drawing, and in particular to
The directions x, y, z typically define a right-angled Cartesian coordinate system. Typically one of the three directions x, y, z—in accordance with
A few of the machine elements form a base body of the processing machine which is not able to be moved. In the embodiment of the processing machine in accordance with
The embodiment of the processing machine in accordance with
The processing machine has a numerical controller 14. The numerical controller 14 is programmed with a system program 15. The system program 15 can be supplied to the numerical controller 14 via a data medium 16 for example, on which the system program 15 is stored in machine-readable form (for example in electronic form. Purely by way of example the data medium 16 is shown in
The system program 15 includes machine code 17 which is able to be executed by the numerical controller. The execution of the machine code 17 by the numerical controller 14 has the effect that the numerical controller 14 executes an operating method which will be explained in greater detail below.
The numerical controller 14 has a parts program 18 specified to it. For example in accordance with the diagram in
Often further values are assigned to the respective setpoint position value p*, such as a setpoint velocity value v*, a setpoint rotational speed value n* and/or additional information W for example. The setpoint velocity value v* specifies how quickly the tool 7 is to be moved relative to the workpiece 10 for the setpoint position value p* involved. The rotational speed value n* specifies the rotational speed at which the spindle drive 5 is to rotate the tool holder 6 and the tool 7. The additional information W can for example define which of a number of possible tools 7 is to be used.
At the beginning of the operating method the numerical controller 14 establishes for each position-regulated axis 11 to 13, on the basis of the setpoint position values V and associated setpoint axis value li* in each case (with for example i=1, 2 or 3, depending on the position-regulated axis 11 to 13 for which the respective setpoint axis value li* is determined, see
The individual machine elements 1 to 6, 8 and 9 of the processing machine are not completely ideal. If for example the crossrail 2 is moved on the portal supports 1 in the x-direction, for an ideal processing machine processing machine—as shown in
It can readily be seen that in such a case those machine elements which are moved by means of the crossrail 2 will likewise be incorrectly positioned. Thus for example the error explained above leads to the tool 7, in the situation shown in
Therefore as a result a deviation—even if small in practice—of the movement of the crossrail 2 in relation to the position of the tool 7 relative to the workpiece 10 can cause an error in all three directions x, y, z and also an error in the orientation of the tool 7 relative to the workpiece 10.
In a similar manner for example the crossrail 2, in accordance with the diagram in
In order to be able to correct these types of positioning error, a position error field F is known to the numerical controller 14 in accordance with
It can be possible, with the given setpoint position value V and known position error field F, to establish the setpoint axis values li* directly, for which the corresponding position error F(li*) is corrected. In this case however a method of operation is possible for establishing the setpoint axis values li* as will be explained below in conjunction with
In accordance with
In a step S3 the numerical controller 14 checks whether the actual position values p established in step S2 match the associated setpoint position values p* (within permissible, predefined tolerances). If they do not, the numerical controller 14 goes to a step S4. In step S4 the numerical controller 14, starting from the setpoint axis values li*, establishes from the deviation of the actual position values p from the setpoint position values p* and the kinematics K of the processing machine, new, modified setpoint axis values li*. Then the numerical controller 14 returns to step S2. Otherwise, if the established actual position values p thus match the associated setpoint position values p*, the establishing of the setpoint axis values li* is ended.
As part of the method of operation explained above in conjunction with
In principle, because of the establishment of the correct setpoint axis values li*, the activation of the position-regulated axes 11 to 13 by the numerical controller 14 would now be possible. Were this now to be undertaken however there would be a danger of collisions. In particular the tool 7 could collide with machine elements 1 to 3, 8, 9 or (in the case of contact processing, for example metal-removal processing, naturally with the exception of the location of the workpiece 10 which is to be processed by the tool 7) with the workpiece 10. Likewise a moving machine element 2 to 6 could collide with another machine element 1 to 6, 8, 9 or the workpiece 10.
To exclude the danger of such collisions or at least keep it as low as possible, the machine elements 1 to 6, 8, 9, the workpiece 10 and the tool 7 are assigned virtual protection bodies SK within the numerical controller 14. The protection bodies SK are shown by way of example in
When the setpoint axis values li* are established, the numerical controller 14, as already explained, goes to step S5. In step S5 the numerical controller 14 establishes volumes V. In particular the numerical controller 14 in step S5 establishes, for each combination of setpoint axis values li* determined for a specific setpoint position value p*, the volumes V which are occupied by the protection bodies SK in each case if the position-regulated axes 11 to 13 were to be activated in accordance with the sequence of setpoint position values p* (or the corresponding sequences of setpoint axis values li*). The protection bodies SK thus so to speak, in accordance with the diagram depicted in
In step S5 the numerical controller 14 also takes account, in establishing the volumes V—at least for a part of the protection bodies SK—of the position error field F in addition to the setpoint axis values li*. Provided the numerical controller 14 takes into account the position error field F, the numerical controller 14 establishes as part of step S5 for the respective protection bodies SK the correct volume V, i.e. especially its location and position. The numerical controller 14 thus takes account for example of the fact that—see for example
In a step S6 the numerical controller 14 checks whether the protection bodies SK, within the context of the movement simulated by means of step S5, remain disjoint from one another. An exception here is formed in the case of contact-based processing, for example metal-removal processing, by the (desired) processing of the workpiece 10 by the tool 7. At this point a contact between the protection bodies SK assigned to the tool 7 with the protection bodies SK assigned to the workpiece 10 is permitted. The location of the workpiece 10 at which the contact is permitted can vary over time. Furthermore especially the protection bodies SK assigned to the workpiece 10 can vary over time in accordance with the processing by the tool 7.
Depending on the result of the test of step S6 the numerical controller 14 goes to a step S7 or to a step S8. The step S7 is executed if the protection bodies SK remain disjoint from one another. In this case the numerical controller 14 activates the position-regulated axes 11 to 13 in accordance with the sequence of setpoint position values p*, more precisely in accordance with the sequence of established setpoint axis values li*. The step S8 is executed if the protection bodies SK do not remain disjoint from one another. In this case the activation of the position-regulated axes 11 to 13 is suppressed by the numerical controller 14. Furthermore an error response is executed, for example an error message is output to an operator 20 (see
It is possible to carry out the inventive method—i.e. the method according to
For all other machine elements—in the event of the processing machine being designed in accordance with the explanations for
Within the context of the method of operation explained above in conjunction with
In many processing machines—see the remarks relating to
If the machine elements 1 to 6, 8, 9 are embodied sufficiently stiff, it is possible, in the establishment of the volume V occupied by one of the respective protection bodies SK, only to take into account the setpoint axis values li* of the upstream position-regulated axes 11 to 13. It is thus possible to only take into account the setpoint axis values li* of those position-regulated axes 11 to 13 which act on machine elements 1 to 6, 8, 9 which, viewed from the base body towards the tool 7 or towards the workpiece 10, are disposed between the base body and the specific machine element 3, 4. In the exemplary embodiment of the processing machine in accordance with
As an alternative the case can also occur that the machine elements 1 to 6, 8, 9, or a few of these machine elements cannot be assumed to be completely stiff. In this case the numerical controller 14, within the context of establishing the volumes V occupied by the protection bodies SK preferably takes account, in addition to the position error field F, also of the elastic effects, for example as a result of bending moments. The extent of an elastic deformation of a specific machine element is typically (at least inter alia) also dependent on the positioning of downstream machine elements. In this case therefore typically the method of operation is not adopted of only taking into account, in the establishing of the volumes V occupied by one of the respective protection bodies SK, the setpoint axis values li* of the upstream position-regulated axes 11 to 13. As an alternative or in addition to taking into account elastic effects, it is further possible to take into account a temperature dependency as well.
This case is considered below, i.e. that the processing machine is embodied as a three-axis machine by means of which the tool 7, although it can be translationally positioned relative to the workpiece 10, cannot however be rotationally oriented. In this case it is possible for the position error field F to exclusively define a translational positioning error δp. A rotational orientation error δo can actually be defined by the position error field F in this case, however it cannot be corrected. It is possible for example for the position error field F according to the diagram shown in
Typically the setpoint axis values li* represent input variables of the position error field F, the positioning error δp and if necessary also of the orientation error δo represent output variables. In principle however an inverse use of the position error field F is likewise, possible.
In summary the present invention thus includes the following subject matter:
A parts program 18, which has a sequence of setpoint position values p* for a tool 7 of the processing machine relative to a workpiece 10 to be processed, is specified to a numerical controller 14 of a processing machine. The numerical controller 14 establishes on the basis of the setpoint position values p* for position-regulated axes 11 to 13 of the processing machine acting on machine elements 2 to 4 of the processing machine, a setpoint axis value li* in each case. The machine elements 1 to 6, 8, 9, the workpiece 10 and the tool 7 are assigned virtual protection bodies SK within the numerical controller 14. The numerical controller 14 establishes, before activating the position-regulated axes 11 to 13, volumes V which are occupied by the protection bodies SK on activation of the position-regulated axes 11 to 13 and checks whether the protection bodies SK remain disjoint from one another here. Depending on the result of the checks the numerical controller 14 activates the position-regulated axes 11 to 13 in accordance with the setpoint position values p* or suppresses the activation and executes an error response. A position error field F is known to the numerical controller, which for any given setpoint axis values li*, specifies which actual position p the tool 7 assumes relative to the workpiece 10 in each case. The numerical controller 14, at least for a part of the protection bodies SK, takes into account the position error field F in the establishing of the volumes V which would be occupied by the protection bodies SK on activation of the position-regulated axes 11 to 13 in accordance with the setpoint position values p*.
The present invention has many advantages. In particular a superior, highly-accurate modeling of the movement of the machine elements 1 to 6, 8, 9, of the tool 7 and of the workpiece 10 and thus also a highly-accurate collision monitoring within the context of the so-called preamble is possible.
While the invention has been illustrated and described in connection with currently preferred embodiments shown and described in detail, it is not intended to be limited to the details shown since various modifications and structural changes may be made without departing in any way from the spirit and scope of the present invention. The embodiments were chosen and described in order to explain the principles of the invention and practical application to thereby enable a person skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.
Number | Date | Country | Kind |
---|---|---|---|
14159692 | Mar 2014 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
5105368 | Flemming | Apr 1992 | A |
6535788 | Yoshida | Mar 2003 | B1 |
6539274 | Rauth | Mar 2003 | B1 |
7570006 | Bretschneider | Aug 2009 | B2 |
7988606 | Bretschneider | Aug 2011 | B2 |
8322698 | Bretschneider | Dec 2012 | B2 |
9063536 | Otsuki | Jun 2015 | B2 |
9524583 | Montana | Dec 2016 | B2 |
20020126297 | Wang | Sep 2002 | A1 |
20090102410 | Bretschneider | Apr 2009 | A1 |
20090164038 | Bretschneider | Jun 2009 | A1 |
20090222306 | Bretschneider | Sep 2009 | A1 |
20100138018 | Bretschneider | Jun 2010 | A1 |
20100174410 | Greer | Jul 2010 | A1 |
20110316335 | Bretschneider | Dec 2011 | A1 |
20120004760 | Bonerz | Jan 2012 | A1 |
20130139397 | Jordil | Jun 2013 | A1 |
20140156052 | Nishibashi | Jun 2014 | A1 |
20150039122 | Barakchi Fard | Feb 2015 | A1 |
20150088301 | Erdim | Mar 2015 | A1 |
Number | Date | Country |
---|---|---|
10321241 | Dec 2004 | DE |
1531374 | May 2005 | EP |
Number | Date | Country | |
---|---|---|---|
20150261201 A1 | Sep 2015 | US |