Control device and method for precisely repeating motion at varying speeds

By configuring a closed-loop control device for the machine tool and determining multiple set values ​​to achieve precise and repeatable movement of the tool on a preset trajectory curve, the problem of interruption caused by current faults is solved, ensuring the accuracy and safety of the tool's retraction movement.

CN123125557APending Publication Date: 2026-11-17SIEMENS AG
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202580024712.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-03-25
Filing Date
2025-02-24
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies make it difficult to accurately achieve the retraction motion of machine tools due to unexpected interruptions caused by current failures, especially in complex trajectory machining such as T-slot manufacturing, which can easily lead to collision damage between the tool and the workpiece.

Method used

By configuring a closed-loop control device for each axis and determining first and second setpoints, the tool moves at different speeds and directions on a preset trajectory curve. The setpoints are adjusted during the interpolation cycle using the closed-loop control device to ensure accurate repeatability of the motion and speed variations.

Benefits of technology

It enables the tool to repeat its movements with high precision on a preset trajectory curve, avoiding collisions between the tool and the workpiece, saving computing resources, and supporting user-defined speed and direction adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123125557A_ABST
    Figure CN123125557A_ABST
Patent Text Reader

Abstract

The present invention relates to a control device (3) for a machine (2) having at least two controllable axes (X, Y, Z, B, C) for moving an object (13) included in or connected to the machine (2) along a preset trajectory curve, wherein each axis (X, Y, Z, B, C) includes at least one driver equipped with a closed-loop control device, and wherein the control device (3) determines a first set value for each axis (X, Y, Z, B, C) such that when the first set value is supplied to the closed-loop control device in an interpolation cycle, the axis (X, Y, Z, B, C) moves such that the object (13) moves at a preset first speed along at least one trajectory segment (A) of the preset trajectory curve. The objective of the present invention is to enable the object (13) to move multiple times along a preset trajectory curve with high precision but at different speeds and possibly in different directions of motion. Therefore, the present invention specifies that the control device (3) determines a second set value that is different from the first set value by means of the first set value of the first quantity. When these second set values ​​are preset to the closed-loop control device in the interpolation cycle, these second set values ​​cause the object (13) to move at least approximately along the trajectory segment (A) at a second speed different from the first speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control device for a machine having at least two controllable axes for moving an object included in or connected to the machine along a preset trajectory curve, wherein each axis includes at least one driver equipped with a closed-loop control device, wherein the control device determines a first set value for each axis such that when the first set value is supplied to the closed-loop control device in an interpolation cycle, the axis moves such that the object moves at a preset first speed along at least one segment of the preset trajectory curve.

[0002] Furthermore, the present invention relates to a method for operating such a control device for a machine.

[0003] Furthermore, the present invention relates to a method for operating such a control device for a virtual machine.

[0004] Furthermore, the present invention relates to a computer program product having program instructions for performing the method steps according to the present invention. Background Technology

[0005] Today, machine tools are controlled by control devices, such as CNC controllers. Here, the control device “controls” the movement of machine components according to the part program, and thereby controls the movement of the tool (e.g., the tool is introduced into the machine via a tool holder) relative to the workpiece (which is also introduced into the machine). It is clear to those skilled in the art that the term “control” here refers to its common usage and not to “control” in the technical sense. “Control” here specifically refers to the position control of axes, which implies a control process in the technical sense.

[0006] To create a part program, a CAM (Computer-Aided Manufacturing) system, preferably in a standardized data format, generates motion information about the movement of the tool to be executed, for example, in the form of straight lines or arcs, and this information is read by a downstream post-processor. The post-processor, based on the motion information generated by the CAM system, the kinematic data and machine data of the machine tool, and the instruction set of the CNC controller and the instruction set of the PLC controller included in the CNC controller, generates a part program adapted to the specific machine tool (on which the machining process should be performed). This part program is in the form of control instructions, for example, in G-code format, adapted to the specific control device of the machine tool. Thus, the motion information generated by the CAM system, preferably in a standardized data format, is adapted by the post-processor to the specific machine-connected control device, read by the control device, and executed.

[0007] The post-processor, in addition to considering the specific available CNC instruction set, also considers the machine-specific kinematic conditions of the machine tool, such as the kinematic chain, geometric relationships, the maximum range of motion of the drive axes, and the maximum speed of the machine components. This data exists in the form of machine data. Furthermore, when generating control instructions, the post-processor also considers machine-specific PLC (Programmable Logic Controller) functions, such as lubrication, tool changing, and door locking. The specific available PLC functions are also available to the post-processor in the form of a PLC instruction set.

[0008] The part program generated by the post-processor here consists primarily of control instructions, which are read and interpreted by a control device. Based on these control instructions, the control device controls the movement of the machine tool's components and thereby controls the movement of the tool relative to the workpiece.

[0009] The control device or controller, particularly a CNC controller, now derives the necessary and coordinated movements of the machine's various axes based on the part program, in order to achieve, for example, the desired movement of the tool relative to the workpiece. To this end, the control device first determines position setpoints along the path based on program instructions, such that, combined with time and / or speed information, the desired movement (trajectory) of the object is specified sufficiently precisely. For the object to be moved by the machine in the desired manner, the machine's various axes need to move correspondingly and coordinatedly in the axis combinations. For this purpose, the control device determines setpoints for each axis, which are supplied to the closed-loop control device of the corresponding axis during interpolation cycles.

[0010] The process of deriving numerous individual points (first the path or trajectory settings, then the individual axis settings) from various program instructions (statements) is also known as "interpolation," thereby obtaining coordinated axis movements. This generates motion commands (setpoints) for the various drives of the machine, and compliance with these motion commands is monitored for the drives or inverters within the control loop of the control equipment.

[0011] When converting G-code to position settings, there are usually intermediate steps involved. These intermediate steps can be wavelet transformation or spline decomposition. These intermediate steps are typically implemented by a so-called compressor.

[0012] To travel along a specific path at a specific speed, the controller outputs new position setpoints for the position controllers of each axis at a specific period, also known as an interpolation period or simply an IPO period. To achieve uniform motion, position control alone is insufficient. Therefore, in addition to position control, the controller also performs speed (or rotational speed) control and acceleration control, and, if necessary, jerk control.

[0013] For example, control equipment for a machine tool having multiple machine axes (shafts) is known from EP3518051A1, the control equipment including a closed-loop control device for drives for the axes of said machine tool.

[0014] A persistent problem in machine tools is that their operation during manufacturing can be interrupted unexpectedly, such as due to a current failure at the machine. This interruption can occur at any (unpredictable) point in time during any machining process. In many cases, this interruption does not have serious consequences. A power supply interruption causes machine axes or their drives to stop operating, and control equipment (CNC, SPS / PLC, etc.) also cannot function without current.

[0015] When the required energy is provided again after the interruption, the machine tool can be reconnected. Depending on whether the shaft can be mechanically held in position during the interruption of power supply, damage to the workpiece being machined may not occur and machining can continue.

[0016] If a workpiece is damaged or destroyed due to an interruption in the power supply, it may not be processed and will be treated as "scrap".

[0017] In most cases, machine operators want to evaluate the workpiece first after the fault at the machine is remedied, and for this purpose, the last tool used must be removed from the workpiece, i.e., retraction.

[0018] If the tool can be retracted along the tool direction without collision, the machine tool control today provides functions to support the machine operator, such as the retracting motion along the tool direction (JOG-Retract) described in Chapter 16.12 on pages 828-839 of SINUMERIK ONE Function Manual "Axes and Spindles" 07 / 2022, A5E48053595A.

[0019] However, there are situations, for example, when drilling threads, where it is not possible to simply retract along the tool direction. See, for example, the function description in Chapter 16.12, pages 828-839, of the SINUMERIK ONE Function Manual "Spindles and Spindles" 07 / 2022, A5E48053595A.

[0020] For example, in the case of thread drilling, it is necessary to simultaneously rotate the tool in the correct direction for a retraction motion. Solutions already exist for this, especially since this retraction motion is also necessary during normal machine operation in thread drilling to remove the tap from the threaded hole.

[0021] However, there are also cases where the tool feeds into the workpiece along a specific trajectory. One example is the manufacture of T-slots.

[0022] When manufacturing T-slots, it is necessary to feed the milling cutter into the T-slot in a specific manner and method to enable machining of the inner wall. When power is cut off during such machining and the T-slot follows an arbitrary trajectory (not just an axis-parallel trajectory), it is difficult to remove the tool from the workpiece.

[0023] When information about the trajectory movement history exists in the controller, enabling the trajectory movement to travel a longer path in the same reverse manner, for example, from a power-off position (i.e., a machining interruption position) to a position where the workpiece and tool are completely separated, or even possibly to a position where the tool is changed, it is possible to simply "retract the tool" in any complex situation. For example, a process applicable to this is described in patent publication JP2005321979A.

[0024] Patent publication JP2005321979A discloses that motion commands (position setpoints) (Xi, Yi, Zi) output to the axis control loops of the feed axes X, Y, and Z in each interpolation cycle are sequentially stored in a table. Furthermore, time information derived from the interpolation cycle is added to the table for each position setpoint.

[0025] For example, if you want to perform a retraction motion for the currently used tool after an unexpected interruption in machining to separate the tool from the workpiece, you would read the points stored in the interpolation cycle (IPO cycle) from the table again in reverse order and preset these points as new position settings for the axis.

[0026] If the method of the background technique known in JP2005321979A is used, the retraction motion is achieved at the same trajectory speed as the original forward motion.

[0027] The controller uses a fixed IPO cycle and a preset duration (cycle duration) for each IPO point. Therefore, the speed of the relevant axis at the corresponding cycle time point is preset by this fixed preset "time distance" between adjacent IPO points stored in the table (the geometric distance between the two IPO points divided by the cycle duration), and thus the speed of the retraction motion itself is ultimately preset.

[0028] Since the tool is no longer in contact with the material, the machine operator may not want to retract the tool at a precise speed, but rather slower or faster depending on the machine's dynamics. For example, depending on whether the original machining trajectory speed was relatively high (e.g., in tape laying machines or woodworking), the machine operator may want to retract the tool more slowly than the original speed. Or conversely, for example, when the original machining trajectory speed was relatively low, such as in turning with end-face traction feed, the machine operator may want to retract the tool more quickly than the original speed.

[0029] In currently known methods, the midpoint of the traveled trajectory is stored and a new trajectory is generated from it in the form of new program instructions, which crosses or approaches the stored trajectory. Then, during a reversing motion, the newly generated trajectory is traversed in the opposite direction of motion relative to the original trajectory, possibly at a higher or lower speed relative to the original motion, using the new program instructions, see, for example, patent publication DE4010364A1.

[0030] A motor control device with a motor drive unit and an anomaly detection unit is known from DE 112011105361 T5. The motor drive unit is designed to drive a motor in accordance with an input command signal, and the anomaly detection unit is designed to monitor for anomalies, such as power failures, that prevent the normal operation of the motor. During a cycle of normal operation based on a first command signal received from the controller, motor drive information is sampled at regular intervals and stored in a storage unit. When an anomaly occurs, a second command signal capable of driving the motor is internally generated from the motor drive information stored in the storage unit. When an anomaly occurs, the internally generated second command signal is input as a command signal to the motor drive unit. This makes it possible to perform the required rollback operation without problems even if the first command signal cannot be obtained from the controller.

[0031] When a new trajectory is generated, a difference arises between the original driving trajectory and the reversing trajectory. These undesirable differences can easily lead to collisions and damage to the workpiece and / or tool. Summary of the Invention

[0032] The purpose of this invention is to make an object move along a preset trajectory curve with high precision multiple times, but at different speeds and possibly in different directions.

[0033] This objective is achieved according to the invention by a control device for a machine having at least two controllable axes for moving an object included in or connected to the machine along a predetermined trajectory curve, wherein each axis includes at least one driver equipped with a closed-loop control device, wherein the control device determines a first number of first setpoints for each axis such that when the first number of first setpoints is supplied to the closed-loop control device in an interpolation cycle, the axis moves such that the object moves at a predetermined first speed along at least one segment of the predetermined trajectory curve, wherein the control device determines a second number of second setpoints different from the first number of first setpoints, and when these second setpoints are preset to the closed-loop control device in the interpolation cycle, these second setpoints cause the object to move at least approximately along the trajectory segment at a second speed different from the first speed.

[0034] Furthermore, this objective is also achieved through a method for operating such control equipment for the machine.

[0035] Furthermore, this objective is also achieved through a method for operating such a control device for virtual machines.

[0036] This invention specifies that the object moves again along the trajectory segment, but at a changed speed relative to the original motion and, if necessary, in the opposite direction of motion. However, this second motion is not generated primarily based on a preset trajectory curve, for example, by re-presetting points along the trajectory curve, but rather on intermediately stored setpoints supplied to the controllers of each axis. These setpoints are either directly supplied to the controllers again as setpoints or new setpoints are determined for the controllers from these setpoints. The trajectory curve thus generated is therefore very closely consistent with the originally generated trajectory curve, especially much more accurately than, for example, when a new trajectory curve is determined based on the original trajectory curve or some points of that trajectory curve.

[0037] In addition to the already mentioned advantages—namely, the highly precise correspondence between the repeated motion and the original motion when the motion is repeated based on the setpoints derived in the original motion (if necessary, in the opposite direction)—this invention offers further advantages. Therefore, for repeated motion, it is not necessary to redetermine the corresponding setpoints, such as position setpoints, for all parameters required for the motion; instead, only the setpoints derived in the original motion are referenced. This saves computational overhead. Furthermore, this invention enables the change of motion speed relative to the original motion during repeated motion without altering the interpolation cycle of the control device. The interpolation cycle is typically fixed by the control device manufacturer and cannot be changed by the user. Changing the interpolation cycle would result in numerous additional changes to the associated control device and is therefore impossible without significantly additional overhead.

[0038] The control device according to the invention is preferably a CNC controller and the machine controlled by the controller is a machine tool. However, other controller types and machine types are also possible, such as robot controllers for controlling industrial robots connected to them.

[0039] The machine includes at least two, but usually more than two, especially five or six controllable, particularly position-controllable axes (circular or rotary axes and / or linear axes), which move in an axis combination (composite) as described at the beginning and thereby achieve the motion of the object along a desired trajectory curve or path.

[0040] Objects included in or connected to the machine are, for example, machine components such as tool receptacles or workpiece receptacles. Furthermore, this can also be parts that are detachably connected to the machine, particularly effects units. This especially includes tools, grippers, etc. Typically, the trajectory curve is not preset for the entire object, but only for specific points on the object, such as the center of gravity, midpoint, zero point, or TCP (tool center point) within the tool.

[0041] To control the axes, the control equipment includes closed-loop control equipment or closed-loop control equipment attached to the control equipment. The closed-loop control equipment further includes one or more closed-loop controllers for each axis, such as those for position control, speed control, velocity control, current control, etc.

[0042] Embodiments of the present invention specify that the first speed and / or the second speed can be preset by the user, particularly by means of an operating element on the control device. For example, an existing rotary controller on the control device can be used for this purpose. Advantageously, it is possible not only to set a speed higher than the original travel speed, but also to set a speed lower than the original travel speed.

[0043] Embodiments of the present invention specify that the first setting value and the second setting value are determined such that the object moves along the trajectory segment in a first movement direction by means of the first setting value and moves along the trajectory segment in the same movement direction or in a second movement direction opposite to the first movement direction by means of the second setting value. Similarly, the set movement direction (forward, backward) can also advantageously be set by the user to the control device. Therefore, the corresponding control device can not only be used to repeat already executed movements with high precision, but also for no-load driving, such as causing the tool to move backward at least a distance along a previously forward-traveled trajectory segment. Here, the movement direction is derived from the order in which the second setting values ​​are generated or invoked. If the second setting values ​​are generated or invoked in the same order as the first setting values, movement in the same movement direction is thus obtained. Conversely, if the second setting values ​​are generated or invoked in the opposite order to the first setting values, movement in the opposite movement direction is thus obtained.

[0044] The preset values ​​assigned to the drive or closed-loop control device particularly involve position setpoints and / or speed setpoints and / or acceleration setpoints and / or jerk setpoints and / or voltage setpoints and / or current setpoints. The closed-loop control device particularly ensures that the actual value derived from the preset setpoints differs from the setpoints by at most the respective preset maximum value.

[0045] There are different methods for determining the second setting value from the first setting value. For example, the second setting value can be derived from the first setting value by including only every nth setting value from the first setting value, where n is a natural number starting with 2. For example, in the second setting value, every second setting value relative to the first setting value is deleted. Thus, the second setting value assigned to the relevant trajectory segment is only half of the first setting value. If the second setting value is invoked with the same interpolation cycle and supplied to the closed-loop control device, double the movement speed is automatically obtained.

[0046] If the second setpoint is derived from the first setpoint by inserting intermediate values ​​between two adjacent first setpoints, then the final setpoint assigned to the relevant trajectory segment is twice as high. If the second setpoint thus formed is invoked and supplied to the closed-loop control device with the same interpolation cycle, the moving speed is thus halved relative to the original speed.

[0047] The advantage of the two processes described last is that at least some of the second set values ​​precisely match the corresponding first set values. Therefore, the repetition of the motion along the trajectory segment derived therefrom (in the reverse direction if necessary) matches the original motion with particularly high precision.

[0048] As can be seen, only discrete speed changes can be achieved by omitting or inserting setpoints. For more or less stepless speed changes, an alternative process method is advantageously implemented, as described below.

[0049] A function is determined from the first setpoints for each axis, such that the first setpoints deviate from the function only by a preset tolerance. In the case of a graphical function, the function is now "sampled," but using a second setpoint that changes by a second number relative to the first setpoint. Similarly, the function can be mathematically described using a functional equation. The method for determining the functional equation from a given number of points is well known mathematically to those skilled in the art. The second setpoint can then be determined in a simple manner by simply substituting the desired time point into the functional equation.

[0050] Depending on whether the second set value is higher or lower than the first set value, the speed of the relevant trajectory segment is slowed down or increased. If the second set value, thus derived from the first set value, is now supplied to the closed-loop control device in reverse order, the vehicle will travel in the opposite direction through the trajectory segment hidden behind the set value.

[0051] The embodiment described last can be further supplemented or improved if necessary by smoothing the function formed from the first setpoint before it is sampled to determine the second setpoint. As with the function formed from the setpoint itself, many smoothing algorithms are known to those skilled in the art from the prior art. The smoothed function ultimately leads to a smoothed trajectory.

[0052] The described process can be used to directly control and control machines connected to control equipment.

[0053] Alternatively, the described process can also be used to first control virtual machines connected to control devices in a simulation, for example, to first test the desired behavior of the control devices or control programs. Those skilled in the art are well aware of the generation and operation of virtual machines, particularly based on existing real machines.

[0054] Furthermore, the aforementioned objective is addressed by a method for operating a control device for a machine having at least two controllable axes, the machine for moving objects included in or connected to the machine along a preset trajectory curve, wherein each axis includes at least one driver equipped with a closed-loop control device, wherein the control device determines a first setpoint of a first quantity for each axis such that when the first setpoint of the first quantity is supplied to the closed-loop control device during an interpolation cycle, the axis moves such that the object moves at a preset first speed along at least one segment of the preset trajectory curve, wherein the control device determines a second setpoint of a second quantity different from the first setpoint of the first quantity, and when these second setpoints are preset to the closed-loop control device during the interpolation cycle, these second setpoints cause the object to move at least approximately along the trajectory segment at a second speed different from the first speed.

[0055] The described method can be specified more accurately in the following ways: The first speed and / or the second speed are preset by the user of the control device; The first setting value and the second setting value are determined such that the object moves along the trajectory segment in a first direction of motion with the aid of the first setting value and moves along the trajectory segment in a second direction of motion opposite to the first direction of motion with the aid of the second setting value; The settings include position settings and / or speed settings and / or velocity settings and / or acceleration settings and / or jerk settings and / or voltage settings and / or current settings; The setting value is stored as an original setting value in the storage device of the control device, wherein a function is derived using the original setting value, wherein a new setting value is derived using the function, the new setting value also describing the function, and wherein a first number of original setting values ​​describing the function is different from a second number of new setting values ​​describing the function; First, smooth the function and then use the smoothed function to derive the new set value; The second setting value is derived from the first setting value in such a way that the second setting value includes only the nth setting value in the first setting value, where n is a natural number starting with the number 2; The second setting value is derived from the first setting value, that is, an intermediate value or n intermediate values ​​are inserted between two adjacent first setting values, where n is a natural number starting with the number 2.

[0056] Furthermore, the aforementioned objective is addressed by a method for operating a control device for a virtual machine having at least two controllable virtual axes, the virtual machine being used to simulate the motion of a virtual object included in or connected to the virtual machine along a preset trajectory curve, wherein each virtual axis includes at least one virtual driver equipped with a virtual closed-loop control device, wherein the control device determines a first number of first setpoints for each virtual axis such that when the first number of first setpoints is supplied to the virtual closed-loop control device during an interpolation cycle, the virtual axis moves such that the virtual object moves along at least one trajectory segment of the preset trajectory curve at a preset first speed, wherein the control device determines a second number of second setpoints different from the first number of first setpoints, and when these second setpoints are preset to the virtual closed-loop control device during the interpolation cycle, these second setpoints cause the virtual object to move at least approximately along the trajectory segment at a second speed different from the first speed.

[0057] Similarly, the methods for controlling the virtual machine can also be specified more precisely through the specific implementation described above.

[0058] Furthermore, the control device itself can also be constructed as a virtual control device, particularly in the form of software that can run on a computer, simulating the behavior of a real control device. Similarly, components of the virtual control device, such as closed-loop control devices included in a real control device, are also implemented as virtual closed-loop control devices.

[0059] Furthermore, the objective stated at the beginning is also achieved through a computer program product having program instructions for performing the method steps according to the present invention. These program instructions can be stored on a data carrier and read by the control device or transmitted to the control device as a data stream.

[0060] The invention will now be described and illustrated in more detail by way of example. Attached Figure Description

[0061] This is shown here: Figure 1 A machine tool is shown for performing the method according to the invention. Figure 2 and Figure 3 The trajectory segment is shown, along which the tool moves relative to the workpiece. Figure 4A , Figure 4B ; Figure 5A , Figure 5B ; Figure 6A , Figure 6B ; Figure 7A , Figure 7B This displays a function graph showing the motion of a single machine axis. Figure 8 The method steps according to the invention are shown. Detailed Implementation

[0062] exist Figure 1 The diagram schematically illustrates a machine tool system 1. The machine tool system 1 includes a machine in the form of a machine tool 2. Furthermore, the machine tool system 1 includes a control device in the form of a CNC controller 3 connected to the machine tool 2 for controlling the machine tool 2. Additionally, the machine tool system 1 includes an external computing device in the form of a CAD / CAM / PP system 5 connected via a network 4, such as the Internet.

[0063] The presented machine tool 2 has three linear axes X, Y and Z whose positions are controlled, wherein the first bearing element 7 along the x direction, the second bearing element 8 along the y direction and the third bearing element 9 along the z direction can be controlled relative to the machine coordinate system MKS which is fixed about the position of the machine tool 2.

[0064] The first load-bearing element 7 is connected to the stationary frame 6 via a linear actuator (not shown) controllable in the x-direction, the second load-bearing element 8 is connected to the first load-bearing element 7 via a linear actuator (not shown) controllable in the y-direction, and the third load-bearing element 9 is connected to the second load-bearing element 8 via a linear actuator (not shown) controllable in the z-direction.

[0065] The third support element 9 supports the spindle driver 10, which itself is pivotable about a circular shaft B that is controlled to be positioned parallel to the Y-axis. The spindle driver 10 itself has a tool spindle 11 whose rotational speed and / or position is controlled to be rotatable about a spindle axis (not shown), and a tool holder 12 with a tool 13 fastened thereto is clamped in the tool spindle.

[0066] In addition, the machine tool 2 includes a tool table axis C whose position is controlled about a position parallel to the Z-axis, and the workpiece table 14 is capable of rotating about the tool table axis.

[0067] The tool table 14 is also connected to the stationary frame 6 and the workpiece 16 is fastened to the tool table 14 by means of the tool holder 15.

[0068] Therefore, within the scope of this embodiment, the machine tool 2 has five position-controlled machine axes, through which relative motion can be performed between the tool 13 in the form of a milling cutter and the workpiece 16 within the scope of this embodiment. This thus relates to a so-called 5-axis machine tool (5-axis machine), wherein it should be noted that a machine tool can of course have more than five but also fewer than five machine axes. For better overview, the drives for the position-controlled machine axes are not shown in this embodiment.

[0069] Machine tool 2 is connected to CNC controller 3, which derives motion setpoints for the machine axes based on part programs and / or manual operation inputs to control the relative motion between the tool 13 and the workpiece 16. Specifically, CNC controller 3 derives these motion setpoints based on the part program, in which the motions to be performed by the tool 13 relative to the workpiece 16 are defined in the form of commands or program instructions (typically in G-code).

[0070] Alternatively or additionally, the movement of tool 13 and / or workpiece 16 can also be preset by the operator at the machine tool 2 via manual operation input from an operating device having operating elements 18, combined with a display device in the form of a display 17 of the CNC controller 3. Operating elements 18 particularly include buttons or rotary controllers. Advantageously, the display 17 can also be a touchscreen and thus similarly implemented as an operating element.

[0071] Part programs are typically generated in an external computing device (in this embodiment, a CAD / CAM / PP system 5 outside of the CNC controller 3) from the perspective of the CNC controller and transmitted from there, particularly via network 4, to the CNC controller 3.

[0072] During part programming, the CNC controller 3 generates position setpoints x, y, and z for linear axes and angular position setpoints β and γ for circular axes B and C at specific cycles (i.e., interpolation cycles or IPO cycles for short). Using these position setpoints, the tool 13 moves along a motion trajectory (trajectory curve or path) with a preset orientation relative to the workpiece 16.

[0073] In addition to pure position setpoints, CNC controllers can also derive or set parameters related to the dynamics of relative motion or the motion of individual axes, particularly speed, acceleration, or jerk. To this end, the CNC controller derives setpoints for these parameters and presets them with interpolation cycles to a closed-loop control device that implements control of one or more parameters related to the corresponding axis. The closed-loop control device can accordingly include a closed-loop position controller, a closed-loop speed controller, a closed-loop velocity controller, a closed-loop acceleration controller, a closed-loop jerk controller, a closed-loop current controller, or a closed-loop voltage controller.

[0074] Figure 2 An exemplary illustration shows the machining of a portion of a workpiece W using a tool in the form of a ball end mill F, which has a hemispherical cutting head K, wherein multiple cutting edges or teeth (not shown) are distributed on the circumference of the cutting head.

[0075] To machine the workpiece W, the ball end mill F is guided along a predetermined trajectory defined relative to the Cartesian coordinate system MKS (machine coordinate system) with coordinate axes x, y, and z on the workpiece surface WO, thereby producing the desired workpiece surface WO by cutting. Here, the tool trajectory can extend parallel to the xz plane, corresponding to the trajectory segment A shown exemplary, but can also extend into the drawing plane (y direction) or along any 3D curve in space. Similarly, it can also extend from... Figure 2 As can be seen, in this embodiment, the movement of tool F relative to workpiece W is referenced to the tool center point (TCP) M of tool F. The trajectory segment A should be traversed in the direction of movement indicated by the arrow.

[0076] The present invention now describes a solution for performing the exact same motion again at a subsequent time point and in the case of the same workpiece or at another location on the same workpiece, or for using tool F to drive through the trajectory segment A in the opposite direction at the end of the trajectory segment A, without having to recalculate all the required settings preset for the closed-loop control device to implement the motion along the trajectory segment A.

[0077] Figure 3 Show again Figure 2 The trajectory segment A in the xz plane is shown in the figure, which is traversed in the direction of motion from right to left, as indicated by the arrow.

[0078] As described above, the CNC controller derives position settings for the X and Z axes of the machine from a preset trajectory segment A. These position settings are preset to the controller of the axis with a specific interpolation period, so that by simultaneously implementing the movements of the individual axes (here: the X and Z axes) in the axis combination according to these presets, the preset movement of the tool along the trajectory segment A at a preset trajectory speed (feed speed) is obtained overall.

[0079] Not in accordance with actual conditions and purely for the purpose of illustrating the invention, Table 1 shows the position settings for the X and Z axes for cycle times (cycles) T1 to T10 for a specific interpolation cycle. The cycle duration of the interpolation cycle of a CNC controller is typically in the range of milliseconds (ms), for example, 5 ms. Therefore, for the motion described in relation to the illustrated tool, thousands of interpolation cycles (cycles of interpolation cycles) would be required, which would make the description difficult and complex. Therefore, it is intentionally deviated from reality here, and the motion is described using only 10 cycle durations of the interpolation cycle.

[0080] Based on this simplification, Table 1 now shows the position settings for the X and Z axes for the cycle time points T1 to T10.

[0081] Tables 2, 2A, and 2B illustrate the process that doubles the speed of motion. To achieve this, as shown in Table 2, every second row is deleted, leaving only half the number of cycle times. The result can be seen in Table 2A. Since the motion of each axis now occurs in half the previously set cycle time and therefore in half the original required time—that is, in only 5 cycles—the speed of motion is doubled.

[0082] Table 2B similarly illustrates the case where the speed is doubled, however, in the opposite direction of motion. The order of the position settings is reversed accordingly compared to Table 2A.

[0083] Tables 3, 3A, and 3B now show the situation where not only the X-axis but also the Z-axis are involved, with intermediate values ​​inserted between every two adjacent interpolation cycles and their associated position settings. Therefore, to traverse the preset trajectory segment A, 20 cycles (circuit cycles) are now set instead of 10. For the same cycle duration, this requires twice the time relative to the original motion. Consequently, the speed is halved. Table 3A shows the result for repeating the motion at half speed in the positive direction (similar to the original direction), and Table 3B shows the result for the reverse direction.

[0084] Based on the same principle, other speeds can be easily achieved by deleting a certain number of cycles after each cycle, or by inserting a certain number of intermediate values ​​between two adjacent cycles. Thus, the speed can be varied in a simple way throughout the discrete steps.

[0085] The following tables and figures now illustrate the generalization of the above scheme, through which quasi-continuous variation of velocity is possible. To this end, the position settings of the X and Z axes within relevant time periods are respectively converted into functions that vary with time. Several mathematical algorithms are known for this, differing particularly in computational cost and accuracy.

[0086] Unlike Table 2, Table 4 now includes a column 't' with periodic time points, so that in addition to the periods (T1 to T10), the position settings for the X and Z axes are also equipped with time points ranging from 0 to 45 (the units of measurement are intentionally omitted here for the reasons mentioned above). Figure 4A and Figure 4B The time points are respectively compared with their corresponding X-axis ( Figure 4A ) and Z-axis ( Figure 4B The relationship between the position settings is represented as a function.

[0087] As an example, we now assume the speed should be reduced by one-third (33.3%). Therefore, instead of setting the original 10 cycles, we set 15 cycles. To do this, the function graphs visible in 4A and 4B are sampled at 15 equidistant time points. The results are... Figure 5A and Figure 5B As shown in Table 5 derived from this, the motion of the corresponding axis is divided into 14 time segments of equal duration.

[0088] Alternatively, it can also be used for Figure 5A and Figure 5B The function graph shown in the figure determines the function equation. The resulting value can then be determined by calculation, rather than by sampling.

[0089] As mentioned earlier, the duration of the interpolation period is a fixed preset (5 time units in the embodiment). Therefore, the 15 illustrated periods (T1 to T15) no longer require 45 time units, but instead require 70 time units. The function obtained within the preset interpolation period... Figure 6A and Figure 6B This is shown in Table 5.

[0090] This process can be similarly applied to arbitrary changes in speed, whereby the stepless change of speed can be at least approximately achieved.

[0091] Table 6 and related Figure 7A and Figure 7B The situation shown is that the reduced movement speed should now be achieved in the opposite direction of movement, for example, by reversing the movement. Therefore, the X-axis and Z-axis position settings should be relative to Table 5 or... Figure 6A and Figure 6B The two were swapped accordingly.

[0092] Next, based on Figure 8 The flowchart shown illustrates the main method steps when performing the method according to the invention.

[0093] In the first method step S1, a control device for a machine and a machine having at least two controllable axes are provided. The machine is used to move objects included in or connected to the machine along a preset trajectory curve, wherein each axis includes at least one driver equipped with a closed-loop control device.

[0094] In the second method step S2, a first set value of a first quantity is obtained for each axis by means of a control device, such that when the first set value of the first quantity is supplied to the closed-loop control device in the interpolation cycle, the axis moves such that the object moves at a preset first speed along at least one trajectory segment of a preset trajectory curve.

[0095] In the third method step S3, the control device determines a second set value for a second quantity that is different from the first quantity based on the first set value of the first quantity. When these second set values ​​are preset to the closed-loop control device in the interpolation cycle, these second set values ​​cause the object to move at least approximately along the trajectory segment at a second speed different from the first speed.

[0096] In the fourth method step S4, the second set value obtained by the interpolation period is preset to the closed-loop control device, and the object is moved at least approximately along the trajectory segment at a second speed different from the first speed.

[0097] This machine can be either a real machine with a real machine axis or a virtual machine with a virtual machine axis.

[0098] As a simulation computer used to simulate the behavior of a virtual machine, it is particularly possible to consider the control device itself or external computing devices connected to the control device, such as CAD / CAM / PP systems.

Claims

1. A control device (3) for a machine (2), the machine having at least two controllable axes (X, Y, Z, B, C), the axes being used to move an object (13) included in or connected to the machine (2) along a preset trajectory curve, wherein, Each axis (X, Y, Z, B, C) includes at least one driver equipped with a closed-loop control device, wherein the control device (3) determines a first set value for each axis (X, Y, Z, B, C) such that when the first set value is supplied to the closed-loop control device in an interpolation cycle, the axis (X, Y, Z, B, C) is moved such that the object (13) moves at a preset first speed along at least one trajectory segment (A) of a preset trajectory curve, wherein the control device (3) determines a second set value based on the first set value, the second set value being different from the first set value, and when the second set value is preset to the closed-loop control device in the interpolation cycle, the object (13) moves at least approximately along the trajectory segment (A) at a second speed different from the first speed.

2. The control device (3) according to claim 1, wherein, The object (13) is configured as a machine element, in particular a tool receptacle or workpiece receptacle.

3. The control device (3) according to claim 1, wherein, The object (13) is constructed as a tool (13), which is clamped in particular in the tool receiving part (12) of the machine (2).

4. The control device (3) according to claim 1, wherein, The object is constructed as a workpiece (16, W), which is clamped in particular in the workpiece receiving part (15) of the machine (2).

5. The control device (3) according to any one of the preceding claims, wherein, The first speed and / or the second speed can be preset by the user of the control device (3).

6. The control device (3) according to any one of the preceding claims, wherein, The first setting value and the second setting value are determined such that the object (13) moves along the trajectory segment (A) in a first motion direction by means of the first setting value and moves along the trajectory segment (A) in a second motion direction opposite to the first motion direction by means of the second setting value.

7. The control device (3) according to any one of the preceding claims, wherein, The settings include position settings and / or speed settings and / or acceleration settings and / or jerk settings and / or voltage settings and / or current settings.

8. The control device (3) according to any one of the preceding claims, wherein, The set value is stored as an original set value in the storage device of the control device (3), wherein a function is derived based on the original set value, wherein a new set value describing the function is derived based on the function, and wherein a first number of original set values ​​describing the function is different from a second number of new set values ​​describing the function.

9. The control device (3) according to claim 8, wherein, First, the function is smoothed, and the new set value is derived using the smoothed function.

10. The control device (3) according to any one of the preceding claims, wherein, The second setting value is derived from the first setting value, such that the second setting value includes only the nth setting value from the first setting value, where n is a natural number starting with the number 2.

11. The control device (3) according to any one of claims 1 to 9, wherein, The second setting value is derived from the first setting value, such that an intermediate value or n intermediate values ​​are inserted between two adjacent first setting values, where n is a natural number starting with the number 2.

12. A method for operating a control device (3) for a machine (2), the machine having at least two controllable axes (X, Y, Z, B, C), the axes being used to move an object (13) included in or connected to the machine (2) along a predetermined trajectory curve, in, Each axis (X, Y, Z, B, C) includes at least one driver equipped with a closed-loop control device. In this process, the control device (3) determines a first set value for each axis (X, Y, Z, B, C) of a first quantity, such that when the first set value of the first quantity is supplied to the closed-loop control device during the interpolation cycle, the axis (X, Y, Z, B, C) is moved, causing the object (13) to move at least one trajectory segment (A) of the preset trajectory curve at a preset first speed. In this process, the control device (3) determines a second set value of a second quantity based on the first set value of the first quantity, the second quantity being different from the first quantity. When the second set value is preset to the closed-loop control device during the interpolation cycle, the object (13) moves at least approximately along the trajectory segment (A) at a second speed different from the first speed.

13. A method for operating a control device (3) for a virtual machine (2), the virtual machine having at least two virtual controllable axes (X, Y, Z, B, C), the axes being used to simulate the motion of a virtual object (13) included in or connected to the virtual machine (2) along a preset trajectory curve, wherein, Each virtual axis (X, Y, Z, B, C) includes at least one virtual driver equipped with a virtual closed-loop control device, wherein the control device (3) determines a first set value for each virtual axis (X, Y, Z, B, C) such that when the first set value is supplied to the virtual closed-loop control device in an interpolation cycle, the virtual axis (X, Y, Z, B, C) moves such that the virtual object (13) moves at a preset first speed along at least one trajectory segment (A) of the preset trajectory curve, wherein the control device (3) determines a second set value based on the first set value, the second set value being different from the first set value, and when the second set value is preset to the virtual closed-loop control device in the interpolation cycle, the virtual object (13) moves at least approximately along the trajectory segment (A) at a second speed different from the first speed.

14. A computer program product having program instructions for performing the method according to claim 13.

Citation Information

Patent Citations

  • Motor control device

    DE112011105361T5

  • Method for the automatic return of the tool of a program-controlled machine tool

    DE4010364A1

  • Determining a strategy for optimising the operation of a processing machine

    EP3518051A1

  • Numerical controller

    JP2005321979A