This application claims the priorities of German Patent Applications, Serial Nos. 103 41 091.0, filed Sep. 5, 2003, and 10 2004 025 118.5, filed May 21, 2004, pursuant to 35 U.S.C. 119(a)–(d), the disclosure of which is incorporated herein by reference.
The present invention relates to a method for controlling the rotation speed of a slave drive, and also to a controller for a slave drive carrying out the method and a machine with a slave drive controlled by such controller.
Nothing in the following discussion of the state of the art is to be construed as an admission of prior art.
A method for controlling the rotation speed is disclosed, for example, in European patent publication no. EP 0 704 781 A, which describes a drive for, for example, a machine tool, which is controlled so as to minimize contour errors by matching a feed rate to the reference rotation speed at a predetermined point in time.
Although conventional rotation speed control methods operate satisfactorily, they are unable to completely eliminate residual contour errors, in particular, if the reference rotation speed is provided to the controller not only once, but continuously.
It would therefore be desirable and advantageous to provide an improved method for controlling the rotation speed, which obviates prior art shortcomings and is able to specifically eliminate residual contour errors of slave drives.
According to one aspect of the present invention, a method for controlling the rotation speed of a slave drive includes providing a reference rotation speed and a reference position to a controller for the slave drive, wherein the controller determines an estimated acceleration curve for the slave drive based on an instantaneous rotation speed, an instantaneous position and a maximum rotation-speed-dependent acceleration of the slave drive. The estimated acceleration curve for the slave drive is hereby determined so that after a compensation time, the rotation speed of the slave drive is equal to the reference rotation speed and the position of the slave drive is also equal to an expected reference position, which is determined by the controller based on the reference position, the reference rotation speed and the compensation time. The controller then controls the slave drive according to the determined acceleration curve.
The rotation speed control method of the invention is particularly suited for synchronizing the slave drive with a master drive. Advantageously, the controller controls the slave drive, so that the reference rotation speed is maintained when the reference rotation speed and the reference position are reached simultaneously. Such synchronization processes occur, for example, with turning machines, where a machine workpiece is transferred to a slave spindle on the fly, i.e., while the master spindle still rotates. In principle, the present invention can also be used with position axes. In both cases, the reference rotation speed and/or the reference position correspond to the corresponding desired, expected, or actual values of the master drive.
In principle, the controller can determine the acceleration curve numerically. However, advantageously, the controller can determine the acceleration curve analytically, which tends to be more accurate and also faster than a numerical computation.
According to an advantageous embodiment of the invention, the acceleration curve can be determined analytically if the slave drive has a constant maximum acceleration value below a ceiling speed and a smaller acceleration value above the ceiling speed, whereby the lower value is either constant or decreases above the ceiling speed with increasing rotation speed, for example, linearly or hyperbolically.
When synchronizing a plurality of rotating bodies, it is frequently only important to synchronize the actual rotary motion and not the number of the actual revolutions. The position of the driven element need only be known within one revolution, so that the reference position is determined modulo 2*π/N, wherein N has an integer value.
Advantageously, the acceleration curve for the slave drive can be readily determined if the controller initially sets the acceleration curve equal to a maximum acceleration value and determines an expected position of the slave drive assuming that the server drive is accelerated to the reference rotation speed with the set acceleration curve, and initially also sets a compensation time. The controller then compares the expected position with the expected reference position, varies the acceleration curve based on the comparison, and adapts the corresponding compensation time and the corresponding expected reference position accordingly. In this way, the slave drive simultaneously reaches the reference rotation speed and the expected reference position.
The acceleration curve can be varied in several ways. For example, if the expected position leads the expected reference position, then the controller can scale the acceleration curve linearly, or the controller can insert an acceleration pause before the acceleration curve, or the controller can insert a counter-acceleration time interval and an additional acceleration time interval before the acceleration curve. These three approaches can be employed alternatively or in combination. Conversely, if the expected position trails the expected reference position, then the controller can insert an additional acceleration time interval and a counter-acceleration time interval after the acceleration curve.
According to another advantageous embodiment of the invention, the controller can determine the acceleration curve so that the slave drive reaches the reference rotation speed and the expected reference position in a time-optimized manner, in particular, if the reference position with respect to the servo element is determined only modulo 2*π/N. For example, a compensation time can be determined for each of the afore-described approaches, and the determined shortest compensation time can be used.
According to another aspect of the invention, a controller for a slave drive is disclosed that carries out the afore-described rotation speed control method, as well as a machine with a controller that controls the slave drive.
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 machine also includes a controller 6 that controls the drives 1,2, the master and slave elements 3, 4, as well as other elements in the machine not shown in
Referring now to
In step S3, the controller 6 determines a reference rotation speed nR and a reference position φR. Alternatively, the actual values n1, φ1 of the master drive 1 or the desired rotation speed n1* and the expected angular position φ1E can be used.
In step S4, the controller receives from the slave drive 2 the actual rotation speed n2 and actual angular position φ2 of the slave drive 2. The controller 6 then compares in steps S5 and S6 the actual rotation speed n2 of the slave drive 2 with the reference rotation speed nR and the angular position φ2 with the reference position φR. If both values are identical, then the controller 6 executes step S7, otherwise step S8.
If the slave drive 2 has already reached the reference rotation speed nR and also the reference position φR, then the controller 6 determines in step S7 an acceleration value a for the slave drive 2. This acceleration value α is determined so that the slave drive 2 maintains the reference rotation speed nR, which can be easily achieved, because the slave drive 2 typically has at least the same dynamic characteristic as the master drive 1, and because the master element 3 and the servo element 4 tend to have a similar construction. Accordingly, the same control signal that is transmitted to the master drive 1 is also transmitted to the slave drive 2.
However, if at least one of the two reference values nR, φR has not yet been reached, then the controller 6 predicts in step S8 an acceleration curve α(t) for the slave drive 2. The controller 6 determines the acceleration curve α(t) based on the rotation speed n2, the actual angular position φ2, and a maximum acceleration αmax of the slave drive 2. The controller 6 determines the acceleration curve α(t) for the slave drive 2 so that, after a compensation time T, the rotation speed n2 of the slave drive is equal to the reference rotation speed nR and simultaneously the position φ2 of the slave drive 2 is equal to an expected reference position φR′.
The controller 6 determines the expected reference position φR′ based on the reference position φR, the reference rotation speed nR and the compensation time T. It is assumed that the reference rotation speed nR remains constant and the reference position φR changes accordingly. Step S8 will be explained below in more detail with reference to
Immediately after steps S7 and/or S8, the controller 6 executes step S9 by controlling the slave drive 2 with a corresponding desired rotation speed value n2* according to the acceleration value α determined in step S7 or according to the acceleration curve α(t) determined in step S8.
The controller 6 then returns to and executes step S1. In the way, an updated reference rotation speed nR and an updated reference position φR are continuously provided to the controller 6.
As shown in
As shown in
A number of boundary conditions of the slave drive 2 determine the curve form of the maximum acceleration αmax. However, in each of the situations depicted in
In order to determine in step S8 of
Rotation speed ranges where the maximum acceleration αmax is constant are easy to handle, because the rotation speed n2 of the slave drive 2 is in these ranges a linear function of time t and the angular position φ2 changes as a quadratic function of time t. These rotation speed ranges will therefore not discussed further since they can also be easily handled. Only those situations will be discussed below where the maximum acceleration αmax decreases linearly or hyperbolically with the rotation speed n2.
If the maximum acceleration αmax decreases hyperbolically with the rotation speed n2, then there exists within this range a time interval Δt required to reach a final rotation speed nE from an initial rotation speed nA. This time interval Δt is defined by the formula
Δt=(nE2−nA2−2nD(nE−nA))/2αP (1)
The change Δφ in the angular position during this time interval Δt is
Δφ=((nE3−nA3)/3−(nE2−nA2)nD/2)αP (2)
wherein nD and αP are parameters which can be determined by the following equations (3) and (4)
nD=(αM·nG−αm·nmax)/(αM−αm) (3)
αP1=αM·(nG−nD) (4)
Conversely, if they maximum acceleration αmax decreases linearly with the rotation speed n2, then the time interval Δt and the angle Δφcan be computed according to the equations (5) and (6)
Δt=(log((αP2+nE)/(αP2+nA)))/αP3 (5)
Δφ=nE−nA−αP2·Δt (6)
wherein αP2 and αP3 are here again parameters which are determined by the equations (7) and (8)
αP2=αM/αP3−nG (7)
αP3=(αm−αM)/(nmax−nG) (8)
Accordingly, the total time interval δt and a total angle δφ can be determined by additionally taken into consideration the regions where the maximum acceleration αmax is constant. The total time interval δt is therefore the time required to accelerate the slave drive 2 with the maximum acceleration αmax to the reference rotation speed nR. The angle δφ is here the total rotation angle of the slave drive 2 during the total time interval δt. The expected position φ2E can then be readily determined as
φ2E=φ2+δφ (9)
The expected reference position φR′ at that point in time can also be easily determined as
φR′=φR+nR·δt (10)
In step S13, the controller 6 determines a difference Δ between the expected angular position φ2E and the corrected reference position φR′. Because the absolute difference Δ is unimportant in the present example, i.e., the angular position of the slave element 4 needs only be determined within one revolution or a fraction of a revolution, this difference can be reduced in step S14 to a modulo difference Δ′. If the master element 3 and/or the slave element 4 have symmetric properties, then N has an integer value of greater than one. If the master or slave element 3 is, for example, a three jaw chuck, then the integer value N is, for example, equal to three. Otherwise, the number N has a value of one.
In step S15, the controller 6 then checks if the modulo difference Δ′ is greater than zero. If this is the case, i.e., the expected position φ2E leads the expected reference position φR′, then step S16 is executed, otherwise step S17.
Step S16 uses different approaches. For example, the controller 6 can linearly scale the magnitude and the time dependence of the acceleration curve α(t), which is schematically shown in
Alternatively, the controller 6 can also insert an acceleration pause tP before the acceleration curve α(t), as shown schematically in
tP=Δ′/(nR−n2) (11)
Alternatively, the controller 6 can insert before the acceleration curve α(t) a time interval tG with an opposing (or counter-) acceleration and an acceleration interval tB. This is shown schematically in
These approaches may also be used in combination. For example, two or all three of the afore-described approaches can be implemented in step S16. In this case, step S18 follows the step S16, as shown in
In step S17, the modulo difference Δ′ is compensated by having the controller 6 append to the acceleration curve α(t) the acceleration time interval tB and the time interval tG for the counter-acceleration. This is schematically shown in
The acceleration time interval tB and the time interval tG for the counter-acceleration mutually compensate each other in both the approach according to step S16 and in the approach according to step S17, as far as the effective change in the rotation speed n2 of the slave drive 2 is concerned. In addition, the acceleration and counter-acceleration during the time intervals tB, tG preferably have the largest values allowed for the drive.
In steps S16 and S17, the controller varies, based on the comparison and/or the modulo difference Δ′, the determined acceleration curve α(t), so that the slave drive 2 can not only reach the reference rotation speed nR, but can simultaneously also reach the expected reference position φR′. It will be understood that the compensation time T can also be adjusted according to changes in the acceleration curve α(t). The expected reference position φR′ is adjusted accordingly.
Alternatively to the approach described with reference to steps S15 to S18, an approach shown in the flow diagram of
According to
In step S22, which is similar to step S16 of
Step S25 corresponds to step S24. Step S26 adds the modulo difference 2*π/N, and step S27 corresponds to step S22.
In step S28, the acceleration curve α(t) with the shortest compensation time t1 to t4 is selected.
It will be understood that the approach according to
The method of the invention can therefore provide a synchronous operation between two drives 1, 2. It should also be mentioned that details of the present invention, in particular the derivation of the equations (1) to (8), are included in the priority application, the content of which is therefore incorporated herein in its entirety.
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.
Number | Date | Country | Kind |
---|---|---|---|
103 41 091 | Sep 2003 | DE | national |
10 2004 025 118 | May 2004 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4084083 | McNally et al. | Apr 1978 | A |
5416648 | Jeppson et al. | May 1995 | A |
5656903 | Shui et al. | Aug 1997 | A |
5841604 | Supino | Nov 1998 | A |
6142760 | Niizeki et al. | Nov 2000 | A |
6598859 | Kureck et al. | Jul 2003 | B1 |
Number | Date | Country |
---|---|---|
0 704 781 | Apr 1996 | EP |
Number | Date | Country | |
---|---|---|---|
20050077857 A1 | Apr 2005 | US |