The invention relates to a method and device for guiding the movement of a moving machine element of a numerically controlled machine, wherein a movement path of the machine element is broken up into successive movement sections, wherein a maximum possible path speed, a maximum possible acceleration and a maximum possible path jolt are defined by means of predefined restrictions on machine axles.
The numerical controller 1 according to
The principle planning of such guidance of a movement of a machine element is illustrated schematically in
The associated motor position setpoint angle φMS, the associated motor setpoint angle speed {dot over (φ)}MS, the associated motor setpoint angle acceleration {umlaut over (φ)}MS and the associated motor setpoint angle jolt can be calculated from the path length s, the path speed {dot over (s)}, the path acceleration {umlaut over (s)} and the path jolt in accordance with the specific kinematic transformation, which is valid for the respective machine kinematics and is known to a person skilled in the art, for each motor of the machine which is involved in the movement. The respective motor position setpoint angle φMS forms the respective setpoint value for the respectively associated position control circuit of the relevant regulating system 2a or 2b according to
By selectively predefining the input variable path jolt it is possible to change all the other variables (path acceleration {umlaut over (s)}, path speed {dot over (s)} and path length s) from one state into another via suitable intermediate values by means of integration so that all the limits can be checked and complied with. The limits define a minimum time period of the processing operation. Conversely, this means that the guidance of the movement can be optimum in terms of time only if at least one variable reaches its possible maximum value each time. The restrictions which have to be taken into account in the guidance of the movement have a correspondence with the real machine. For example, the maximum rotational speeds of the drives together with transmission ratios and gradients of spindles of, for example, ball castor spindles, yield the maximum possible path speed as a limit.
By means of the predefined restrictions which are described above for the machine axles, according to the prior art the maximum possible path speed vlim(s), the maximum possible path acceleration alim(s) and the maximum possible path jolt rlim(s) for the predefined movement path S, which is broken up into successive movement sections for the purpose of determination, are determined for the predefined movement path S. This is prior art.
The guidance of the movement along the movement path S will now be configured within these predefined limits in such a way that said guidance is optimum with respect to time, i.e. is carried out with the highest possible path speed v(s). For this purpose, it is customary in the trade to guide the movement in such a way that the maximum possible path jolt rlim(s) is fully utilized. The jolt profile for the path jolt r(s) thus fluctuates within a movement section (in
German laid-open patent application DE 199 44 607 A1 discloses a method for controlling the speed of a numerically controlled machine tool or a robot for multiple sets.
The German patent application with file No. 103 219 70.6 discloses a method for guiding the movement of a moving machine element of a numerically controlled machine tool or production machine.
The invention is based on the object of providing a simple method and a simple device for guiding the movement of a moving machine element of a numerically controlled machine in which the restriction on the machine axles of the machine is utilized as well as possible.
This object is achieved by means of a method for guiding the movement of a moving machine element of a numerically controlled machine,
Furthermore, this object is achieved by a device for guiding the movement of a moving machine element of a numerically controlled machine, wherein a movement path of the machine element is broken up into successive movement sections, wherein the device has
For the invention it proves advantageous if adjacent path speed segments of two adjacent minimum values are connected to one another, while complying with the maximum possible path jolt and the maximum possible path acceleration, in such a way that at at least one connecting point the path acceleration assumes a value of zero. This constitutes a particularly simple possible way of connecting the path speed segments to one another and complying with the required condition for the possibility of double continuous differentiation of the path length s over time t.
Furthermore, it proves advantageous if at at least two connecting points the path acceleration assumes a value of zero.
In addition, it proves advantageous if at more than two connecting points the path acceleration assumes a value of zero.
In addition, it proves advantageous if the machine is embodied as a machine tool, production machine and/or as a robot since methods for guiding the movement of moving machine elements are required particularly in these technical fields.
Furthermore it proves advantageous that the device has means for determining a jolt profile for the guidance of the movement, wherein adjacent path speed segments of two adjacent minimum values are connected to one another, while complying with the maximum possible path jolt and the maximum possible path acceleration, in such a way that in at least one connecting point the path acceleration assumes a value of zero. This constitutes a particularly simple way of connecting the path speed segments to one another and complying with the required condition for the possibility of double continuous differentiation of the path length s over time t.
In addition, it proves advantageous if the device is embodied as a control device for controlling the machine. If the device is embodied as a control device for controlling the machine no separate control device is required to control the machine.
In addition it proves advantageous that a computer program product is provided for the device according to the invention, which product contains code sections with which the method according to the invention can be carried out.
Advantageous embodiments of the device can be formed in a way which is analogous with advantageous embodiments of the method, and vice versa.
An exemplary embodiment of the invention is illustrated in the drawing and will be explained in more detail below. In the drawing:
The inventive method is illustrated in
In this respect,
What is referred to as a left-hand side and a right-hand side path speed segment, i.e. a segmented path speed profile v(s) which are associated with the respective minimum value are then determined to the left and to the right of each minimum value, at step 706. As a result, for each minimum value a path speed segment which is located to the left of the respective minimum value, referred to below as the left-hand side path speed segment, is obtained, and for each minimum value an associated path speed segment which is located to the right of the minimum value, referred to below as the right-hand side path speed segment, is obtained. For the portion of the movement process which is illustrated by way of example in
For each local minimum value M1, M2, M3 and M4 an associated left-hand side and right-hand side path speed segment tr1(s) to tr6(s) are thus respectively determined for the individual path values of the path length s to the left and right of a respective minimum value M1 to M4 by utilizing the maximum possible path jolt rlim(s) and the maximum possible path acceleration alim(s), at step 708, wherein the resulting path speed v(s), i.e. the respective path speed segments tr1(s) to tr6(s) are determined until the path speed v(s) exceeds the maximum possible path speed vlim(s) to the left and right of the respective minimum value, step 710. The locations at which the respective path speed segments tr1(s) to tr6(s), i.e. the path speed v(s) exceeds the maximum possible path speed vlim(s), are designated by Ü1 to Ü6 in
The calculation of the respective path speed segment tr1(s) to tr6(s) is carried out here, as already stated with reference to step 708, by utilizing the maximum possible path jolt rlim(s) and the maximum possible path acceleration alim(s). The path speed segments tr1(s) to tr6(s) are determined by determining an optimized, respectively associated jolt profile r1(s) to r6(s) for each path speed segment. For this purpose, a path jolt which is as large as possible is selected as the first optimization criterion, i.e. the movement with the maximum possible path jolt rlim(s) is carried out. By integrating the path jolt profiles r1(s) to r6(s) over time t, the respectively associated path acceleration profiles a1(s) to a6(s) are obtained. For example the path acceleration a1(s) is obtained from the profile of the path jolt r1(s), with the associated path speed segment tr1(s) being obtained from the path acceleration a1(s) by integrating once more over time t.
Since, as already stated above, the path length s itself is in turn a function of the time t, the integration over time t in
During the determination of the respective path jolt profile r1(s) to r6(s) it is ensured that the respectively associated path acceleration a1(s) to a6(s) of the path speed segments tr1(s) to tr6(s) does not exceed the maximum possible path acceleration alim(s), at step 712. For example, the path jolt r3(s) is thus immediately reduced to a value of zero, at step 714, if the associated path acceleration a3(s) for the path speed segments tr3(s), for example at the location ST1, threatens to be unacceptably exceeded. In this way, a respectively associated path speed segment tr1(s) to tr6(s) is determined for specific movement sections from each jolt profile r1(s) to r6(s) by integrating twice, step 716.
For path values with the path length s in the region of the minimum values M1, M2, M3 and M4, the associated path jolt r(s) is assumed here to be zero, which is not illustrated in
In a further step, adjacent path speed segments of two adjacent minimum values are connected to one another, while complying with the maximum possible path jolt rlim(s) and the maximum possible path acceleration alim(s), in such a way that in at least one connecting point the path acceleration assumes a value of zero, at step 718. A connection between adjacent path speed segments of two adjacent minimum values comprises a plurality of adjacent connecting points here.
The connections VB1, VB2 and VB3 are represented by dots at the top of
Taking as a starting point the profile of the path jolt r(s) (illustrated below in the previous step in
The determination of the profile of the path jolt r(s) with the objective of bringing about a connection between adjacent path speed segments which can be differentiated continuously over time twice is carried out using numerical solution methods which are generally known to a person skilled in the art, such as for example the bisection method. Bisection methods are numerical search methods which determine the solutions approximately through repeated division in a specific interval. Bisection methods are described in the document “Numerische Mathematik 1, Lineare und nichtlineare Gleichungssysteme, Interpolation, numerische Integration [Numerical mathematics 1, linear and nonlinear equation systems, interpolation, numerical integration]; Jochen Werner; Vieweg-Studium; vol. 32: Aufbaukurs Mathematik; 1992”.
The profile of the path jolt r(s) is preferably determined here on the further secondary condition that the path speed v(s) is as large as possible in the region of the connection.
As is apparent above from the profile of the path speed v(s) in
Furthermore, a movement profile which is smoother compared to the prior art is also obtained since the path acceleration does not have to be reduced to zero in every movement section.
Furthermore, the method according to the invention has the advantage that the quality of the result no longer depends to a high degree on the width of the movement sections, as was the case in the prior art. By dividing the overall optimizing into a plurality of small optimizations around the local minimum values it is possible to calculate the solution to the problem relatively easily.
Of course, it is also conceivable for the connections between adjacent path speed segments also to be calculated in some other way, in particular to be calculated in such a way that the path acceleration does not assume a value of zero in any connecting point. However, disadvantages in terms of the continuity of the acquired movement path s then occur.
Number | Date | Country | Kind |
---|---|---|---|
10 2004 059 966 | Dec 2004 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2005/056454 | 12/5/2005 | WO | 00 | 8/17/2009 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2006/063945 | 6/22/2006 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5331264 | Cheng et al. | Jul 1994 | A |
5832188 | Papiernik | Nov 1998 | A |
6002231 | Dirkx et al. | Dec 1999 | A |
6223111 | Cronin et al. | Apr 2001 | B1 |
7208901 | Ladra et al. | Apr 2007 | B2 |
7319910 | Papiernik | Jan 2008 | B2 |
Number | Date | Country |
---|---|---|
199 44 607 | Mar 2001 | DE |
100 63 722 | Jul 2002 | DE |
102 00 680 | Aug 2003 | DE |
103 21 970 | Sep 2004 | DE |
0 289 150 | Nov 1988 | EP |
11090758 | Apr 1999 | JP |
2001051708 | Feb 2001 | JP |
WO 2004102292 | Nov 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20090295323 A1 | Dec 2009 | US |