This application claims the priority of German Patent Application, Ser. No. 103 51 781.2, filed Nov. 6, 2003, pursuant to 35 U.S.C. 119(a)–(d), the disclosure of which is incorporated herein by reference.
The present invention relates, in general, to a process and device for computer-aided adaptation of an application program for a machine tool so as to move a round axle of the machine tool in conformance with a machined contour. The present invention also relates to a data carrier with a computer program stored on the data carrier for carrying out the process, and to a computer with a program memory having stored therein a computer program called by the computer. The present invention also relates to a machine tool with a controller configured to control the machine tool.
Nothing in the following discussion of the state of the art is to be construed as an admission of prior art.
Machine tools and application programs for machine tools that adapt such application programs to various machining operations are known in the art.
In such machining operations, the tool can have an edge, such as a cutting edge of a glass cutter. The machine tool operates optimally by moving the cutter along a contour relative to the machined workpiece. The contour is defined by a sequence of control commands for the feed axes of the machine tool that are part of an application program. The edge of the tool should always be oriented tangentially to the traveled contour. This orientation of the tool is affected by a round axle that rotates the tool or the workpiece.
The control commands for the round axle can also be part of the application program, although it may be necessary to separately program the control commands for the round axle. This would require a substantial programming task for the user when generating the application program.
In state-of-the-art applications, the round axle is therefore typically defined as a secondary axis, with its desired position being determined by the computer based on the control commands for the feed axes. This process operates quite satisfactory for a control command that describes, for example, a straight section or a evenly curved section of the contour. However, if the contour includes discontinuities in the angle or curvature, a contour error occurs which can cause the tool edge to have a significant misorientation at the angular or curvature discontinuity relative to the contour. Curvature discontinuities occur, for example, at a transition from a straight line to a curved line, and vice versa. Angular discontinuities occur, for example, at the corner points of a polygonal trace.
It would therefore be desirable and advantageous to provide an improved device and process for computer-aided adaptation of application programs for a machine tool, which obviates prior art shortcomings and is able to specifically improve tracking of the round axle using sequential instructions processed by a computer.
According to one aspect of the invention, a computer-aided process for controlling a machine tool includes the steps of providing to a computer a sequence of control commands for feed axes of the machine tool that define a contour to be traversed by a tool relative to a workpiece. Based on the sequence of control commands, the computer determines a location of an angular or a curvature discontinuity in the contour and sequential instructions for a round axle of the machine tool so as to enable the tool to follow the contour. The sequential instructions, if an angular or a curvature discontinuity is detected, cause the round axle to begin an acceleration before the angle or curvature discontinuity occurs and cause the round axle to terminate the acceleration after the angle or curvature discontinuity has ended.
The term acceleration used in the context of this application also includes deceleration. The process of the present invention therefore determines predicatively if such discontinuity occurs and, if necessary, predicatively counteracts the adverse effect of this discontinuity.
If an attack point of the tool is located at the center of the round axle, then rotation of the round axle has no effect on the position of the attack point relative to the workpiece.
However, if the attack point of the tool is offset from the round axle, then the computer determines, based on the sequential instructions and the offset, feed axes corrections to be used to correct the control commands. In this way, a positional change caused by the offset configuration of the attack point during rotation of the round axle is automatically corrected.
According to an advantageous embodiment of the invention, ideal commands for the round axle can be determined based on the contour, and the computer can determine the sequential instructions such that a ratio between a magnitude of an integral of a deviation of the sequential instructions from the ideal commands before the angle or curvature discontinuity and a magnitude of an integral of a deviation of the sequential instructions from the ideal commands after the angle or curvature discontinuity has a predetermined value, for example, a value between 0.5 and 2.0, preferably a value between 0.8 and 1.2. Ideally, the ratio is equal to 1.0.
The ratio can be a fixed value resident in the computer. Alternatively, the ratio can be provided to the computer by a user and/or with the application program.
According to another advantageous embodiment of the invention, if an angular or a curvature discontinuity is detected, the computer can determine the sequential instructions such that the round axle will be able to track during a time interval that is between 100% and 200% of a minimum time interval, as determined by the determined angle or curvature discontinuity, and a maximum dynamic response of the round axle. The computer can then determine the sequential instructions so that the angular acceleration of the round axle is continuous.
Like the ratio of the integrals, the percentage and/or the maximum dynamic response can be defined as a fixed value. Alternatively, the percentage and/or the maximum dynamic response can be provided to the computer by a user, for example with the application program.
According to yet another advantageous embodiment of the invention, if an angular or a curvature discontinuity is detected, the computer can change the control commands before determining the sequential instructions, so that a contour defined by the changed control commands deviates from an original contour by at most a tolerance limit, thereby at least diminishing the angular or curvature discontinuity. This improves tracking of the round axle within the allowed tolerances of the contour deviations.
The tolerance limits can also reside in the computer as fixed values. However, tolerance limit can also be provided to the computer by a user, for example with the application program.
As mentioned above, ideal commands for the round axle can be determined by the contour. Advantageously, the computer can determine, based on the sequential instructions and the ideal commands, a maximum angular error for the round axle during the execution of the sequential instructions and then reduce the travel speed of the tool relative to the workpiece, if the maximum angular error exceeds a maximal allowable angular error. The round axle is then always tracked with sufficient accuracy.
The maximal allowable angle error can also reside in the computer as a fixed value or can be defined by a user, for example in the application program.
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 are generally 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 drawings 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 tool 3 is supported along a round axle 8. The round axle 8 is oriented perpendicular to the plane defined by the respective x- and y-directions of the feed axes 6, 7. The tool 3 can be rotated about the round axle 8.
The controller 5 executes a control program 9, which causes, inter alia, movement of the tool 3 relative to a workpiece 10 a long a contour K. The round axle 8 is thereby controlled by the controller 5 according to a control program 9 that keeps the tool edge 4 always essentially parallel to the contour K.
According to
Referring now to
As shown in
The parameters V, P, D, T, βmax include a ratio V, a percentage P, a maximum dynamic response D of the round axle 8, a tolerance threshold T, and a maximum allowable angle error βmax. The significance of the parameters V, P, D, T, βmax will be described below. However, it should be mentioned at this point that the ratio V is preferably between 0.5 and 2, more particularly between 0.8, and 1.2. One particular example of the ratio is V=1.0. The percentage P should also be between 100% and 200%, preferably between 130% and 200%.
In step S3, the controller 5 determines based on the sequence of control commands SB11 to SB1n, SB21 to SB2n if and optionally, at which locations P1, P2 the contour K has curvature discontinuities. As seen in the example of
The contour K is traversed by the tool 3 preferably with a constant travel speed v. As shown in
As shown in
The maximal value α0 of the angular acceleration α corresponds preferably to the maximum dynamic response D of the round axle 8. Optionally, the value can also be slightly smaller. For the parabolic or a sinusoidal curve of the angular acceleration α, the time interval T1 is between 100% and 200% of a minimum time interval TM defined by the detected curvature discontinuities and the maximum dynamic response D of the round axle 8.
The curve of the angular velocity ω of the round axle 8 before and after the curvature discontinuity also tracks the curve of the angular acceleration α depicted in
As seen in
Based on the selection of the maximal value α0 of the angular acceleration α (approximately maximum dynamic response D) and the time dependence of the angular acceleration α (sinusoidal or parabolic), the corresponding time interval T1 is then between P=100% and 200% of the minimum time interval TM required for achieving the minimum required acceleration of the round axle 8. The minimum time interval TM is defined so that the round axle 8 is accelerated during the minimum time interval TM with a constant value corresponding to the maximum dynamic response D, whereby the resulting change in the angular velocity ω corresponds to the curvature discontinuity.
With the afore-described process, the controller 5 determines the sequential instructions FB1 to FBn so that the angular acceleration α of the round axle 8 is continuous.
Ideally, the round axle 8 would not be accelerated before and after the time t1, and would only be accelerated at the time t1 by a Delta-function impulse. If it were possible to realize sequential instructions of this type, then these commands would represent ideal commands for the acceleration α of the round axle 8. Such ideal commands, however, cannot be realized. However, by determining the sequential instructions FB1 to FBn in the afore-described manner, the integral of the deviation of the sequential instructions FB1 to FBn from the ideal commands before and after the curvature discontinuity, as indicated in
As described above with reference to step S1, the ratio V and the percentage P can also be entered into the controller 5 in addition to the maximum dynamic response D of the round axle 8. The ratio V can be adjusted, for example, when the sequential instructions FB1 to FBn are determined, by arranging the curve of the angular acceleration α not symmetrically with respect to the time t1, but instead with a slight advance or delay. For example, above a range of 150%, the percentage P can be adjusted by lowering the maximal value α0 of the angular acceleration α below the maximal dynamic response D of the round axle 8. In the range between 100% and 150%, the curve of the angular acceleration α can be varied accordingly. For example, relatively steep ramps can be implemented at the beginning and at the end of the acceleration curve, while the angular acceleration α is set equal to the maximum dynamic response D between the ramps.
In step S6, the computer 5 determines, based on the sequential instructions FB1 to FBn and the ideal commands, the maximal angular error β assumed by the round axle 8 during the execution of the sequential instructions FB1 to FBn. The computer 5 then compares the maximal angular error β with the maximal allowable angular error βmax, step S7. If the maximal angular error β exceeds the maximal allowable angular error βmax, then the computer 5 reduces the feed speed v, step 8, and returns to step S5. Otherwise, the process branches to step S9.
In step S9, the process checks if additional curvature discontinuities exist. If this is the case, then the next location with a curvature discontinuity, in the present example the location P2, is selected in the following step S10, whereafter the process returns to step S5. Otherwise, the process branches from step S9 to step S11.
In step S11, the controller determines, like in the determination of the curvature discontinuities in step S3 above, based on the sequence of control commands Sb11 to SB1n, SB21 to SB2n, if and, optionally, at which locations the contour K has angular discontinuities. As shown in the example of
Since the location P3 is, if possible, also traversed with a constant feed speed v, the feed speed vy also decreases at a corresponding time t3 approximately stepwise from the value of the feed speed v to zero, while at the same time the feed speed vx increases from zero to the feed speed v. According to
The angular velocity ω of the round axle 8 then also assumes the time dependence depicted in
Referring now to
In step S14, the maximal angular error β assumed by the round axle 8 when executing the sequential instructions FB1 to FBn is determined. The process checks in step S15 if the maximal allowable angular error βmax has been exceeded. If necessary, the feed speed v is reduced in step S16, with the process returning to and executing step S13.
Otherwise, it is checked in step S17 if additional locations with angular discontinuities are to be processed. If this is a case, then the next location with an angular discontinuity is selected, step S18, whereafter the process returns to step S13. Otherwise, the process continues with step S19, when the control commands SB11 to SB1n, SB21 to SB2n and the sequential instructions FB1 to FBn are stored by the controller 5 in control program 9.
With the adaptation process according to the invention, the round axle 8 is able to follow the contour K significantly better than with conventional processes. The adaptation process of the invention can also be expanded, in particular when an effective attack point 16 of the tool edge 4 is not located on the round axle 8, but has an offset a from the axis 8. This is shown in
When the attack point 16 has an offset a from the round axle 8, then the attack point 16 relative to the workplace 10 changes in addition to the angle of the tool edge 4 in the x-y-plane, when the round axle 8 rotates. The offset is determined by the current orientation of the round axle 8, the angle by which the round axle 8 is rotated, and the offset a of the attack point 16 from the round axle 8. Preferably, the controller 5 then determines in a step S20 based on the sequential instructions FB1 to FBn, in conjunction with the offset a, feed correction values K11 to K1n, K21 to K2n for the control commands SB11 to SB1n, SB21 to SB2n. When the control commands SB11 to SB11n, SB21 to SB2n are executed, the control commands SB11 to SB1n, SB21 to SB2n are then corrected by the feed correction values K11 to K1n, K21 to K2n.
According to
It is also possible to insert steps S22 (see
If the control commands SB11 to SB1n, SB21 to SB2n are changed in steps S22 and S23, then the changed control commands SB11′ to SB1n′, SB21′ to SB2n′ are stored in the control program 9 instead of the original control commands SB11 to SB1n, SB21 to SB2n, step S21.
If steps S22 and S23 are present, then the changed control commands SB11′ to SB1n′, SB21′ to SB2n′ are used to determine the sequential instructions FB1 to FBn.
The determination of the changed control commands SB11′ to SB1n′, SB21′ to SB2n′ will now be described again with reference to
For example, if the control commands SB11 to SB1n, SB21 to SB2n are changed before and after the location P1, then the changed contour K′ based on the changed control commands SB11′ to SB1n′, SB21′ to SB2n′ and indicated in
As clearly seen in
The adaptation process according to the invention can be used to significantly improve tracking of the round axle 8. A maximum angular error of the round axle 8 is typically between 10% and 50% of the angular error of a corresponding to conventional process. The round axle 8 can also be controlled much more stably. The generation of the computer program 12 does not require significant added resources.
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 of the present invention. The embodiments were chosen and described in order to best 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.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims and includes equivalents of the elements recited therein.
Number | Date | Country | Kind |
---|---|---|---|
103 51 781 | Nov 2003 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
3595106 | Pomella et al. | Jul 1971 | A |
6227082 | Hormansdorfer et al. | May 2001 | B1 |
6597968 | Matsumoto et al. | Jul 2003 | B1 |
6604015 | Iriguchi et al. | Aug 2003 | B1 |
6647314 | Kato et al. | Nov 2003 | B1 |
6735545 | Jayaram et al. | May 2004 | B1 |
6922606 | Yutkowitz | Jul 2005 | B1 |
6969961 | Tolkmitt et al. | Nov 2005 | B1 |
Number | Date | Country |
---|---|---|
40 32 770 | Apr 1992 | DE |
0 706 104 | Sep 1998 | EP |
0 797 135 | Jul 2003 | EP |
1398681 | Mar 2004 | EP |
Number | Date | Country | |
---|---|---|---|
20050137741 A1 | Jun 2005 | US |