NUMERICAL CONTROL

The numerical control system addresses servo delay-induced deviations and collisions by adjusting feed rate and position width based on distance from disturbance areas, optimizing speed control for efficient machining.

DE102019004361B4Active Publication Date: 2026-11-19FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
DE102019004361
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-06-26
Filing Date
2019-06-19
Publication Date
2026-11-19
Estimated Expiration
2039-06-19

AI Technical Summary

Technical Problem

Existing numerical control systems face issues with servo delay causing deviations in machining paths, leading to potential collisions and increased cycle times due to manual adjustments of feed rate and position width, which are inconvenient and inefficient.

Method used

A numerical control system that adjusts feed rate and position width based on the distance from a disturbance area, setting lower values closer to the disturbance and higher values further away to minimize deviations and collisions while optimizing cycle time.

Benefits of technology

The system effectively minimizes servo delay-induced deviations and collisions by dynamically adjusting speed controls, ensuring efficient operation without unnecessary cycle time extensions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Numerical control (1) for moving a movable object by axis control, wherein the numerical control (1) comprises: a distance determination unit (103) for setting a position width corresponding to a distance between a disturbance area into which the movable object is not to enter and the movable object, wherein the position width is an area for which it is assumed that the tool has reached the end of a block according to the program.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND OF THE INVENTION 1. Field of the invention The patent application relates to a numerical control system and in particular a numerical control system capable of controlling a speed taking into account a disturbance range. 2. State of the art In a machine controlled by a numerical control system (e.g., an industrial machine such as a machine tool), a time delay typically occurs between the output of a program command (according to a machining program, referred to below simply as "program") and the operation of a servo unit. This time delay is also called servo delay. The servo delay causes a deviation between a machining path specified by the program and the actual machining path. The servo delay increases proportionally to the feed rate. Therefore, if the feed rate is high, then, as shown on the left in Fig. 1, inward rotation at an edge can occur due to the servo delay, resulting in a so-called interference, such as a workpiece or a machine component.In this way, a tool can enter an area (disturbance zone) where it should not appear. To avoid this problem, the prior art involves manually adjusting the feed rate or a position width (a range for which the tool is assumed to have reached the end of a block according to the program) near the fault zone, taking into account the inward rotation due to servo delay (right side of Fig. 1). Reducing the feed rate or the position width can reduce the deviation due to servo delay. However, this increases the cycle time. Published Japanese patent application 05-313729 describes the prior art for avoiding collisions with interfering objects. The numerical control described in published Japanese patent application 05-313729 changes the position width between blocks according to an edge angle, keeping an edge error within an acceptable range. When manually adjusting the feed rate and position width, the settings must be made each time taking into account the process being near a disturbance area, which causes considerable inconvenience. In the method described in the published Japanese patent application 05-313729, the feed rate and position width must be automatically adjusted to maintain a predetermined tolerance at the edge. If, for example, such control is implemented at the edge in a disturbance area (see Fig. 2), the disturbance (collision) can be avoided with a compromise regarding the cycle time, which may be quite suitable. However, such control is not necessary outside the vicinity of the disturbance area (see Fig. 2), and thus a problem arises in that the cycle time is unnecessarily extended when such control is implemented. BRIEF DESCRIPTION OF THE INVENTION This patent application aims to overcome such a problem and provides a numerical control system capable of controlling a speed while taking into account a disturbance range. A numerical control according to embodiments of this patent application moves a movable object by axis control and includes a distance determination unit for setting a feed rate and / or a position width according to a distance between a disturbance area into which the movable object should not enter and the movable object. In a numerical control system according to embodiments of this patent application, the distance determination unit sets a feed rate override or a position width to smaller values ​​when the movable object is located in an area of ​​the disturbance region defined within a certain distance range to the periphery of the disturbance region, compared to values ​​that apply when the movable object is located outside the area of ​​the disturbance region. In the numerical control according to embodiments of this patent application, the distance determination unit provides a plurality of areas with different distances from the disturbance area and sets a feed rate override or a position width that is smaller the closer the area in which the movable object is located is to the disturbance area. In the numerical control according to embodiments of this patent application, the distance determination unit determines a direction of movement of the movable object based on a current position of the movable object and a position of the same in a subsequent control cycle and adjusts the feed rate and / or the position width according to the direction of movement. In the numerical control according to embodiments of this patent application, the distance determination unit does not make any adjustments regarding the feed rate or the position width if the movable object moves in a direction in which the distance to the disturbance area increases. In the numerical control according to embodiments of this patent application, the distance determination unit adjusts a feed rate override or the position width to smaller values ​​when the movable object moves in a direction in which its distance to the disturbance area becomes smaller. This teaching makes it possible to provide a numerical control system with which a speed can be adjusted taking into account a disturbance range. BRIEF DESCRIPTION OF THE FIGURES The above objective and features of this application, as well as further objectives and features, will become even clearer from the following description of exemplary embodiments with reference to the figures: Fig. 1 illustrates a problem encountered in a conventional numerical control; Fig. 2 also illustrates a problem encountered in a conventional control; Fig. 3 shows an example of the technical setup of a numerical control; Fig. 4 shows a functional configuration for an example of a numerical control; Fig. 5 illustrates an example of the operation of the numerical control; Fig. 6 illustrates an example of the operation of the numerical control; Fig. 7 illustrates an example of the operation of the numerical control; Fig. 8 illustrates an example of the operation of the numerical control; Fig. 9 illustrates an example of the operation of a numerical control; Fig.Figure 10 illustrates an example of the operation of the numerical control; and Figure 11 illustrates an example of the operation of the numerical control. DESCRIPTION OF PREFERRED EXECUTION EXAMPLES IN DETAIL Fig. 3 schematically shows the device configuration of the main components of a numerical control 1 according to exemplary embodiments described in this document. The numerical control 1 reads a program and controls a machine. The numerical control 1 has a processor 11, a read / write memory (ROM) 12, a random access memory (RAM) 13, a non-volatile memory 14, an interface 18, a bus 10, an axis control circuit 16, and a servo amplifier 17. An input / output device 60 is connected to the interface 18, for example. Processor 11 controls the numerical control 1 as a whole. Processor 11 reads a program stored in ROM 12 via bus 10 and controls the entire numerical control based on the system program. The ROM 12 stores a system program in advance for executing various types of machine controls. The RAM 13 temporarily stores computing data or display data, as well as data entered by an operator via the input / output device 60, etc. The non-volatile memory 14 is, for example, backed up by a battery (not shown) and retains its memory state even when the power supply to the numerical control 1 is switched off. For example, the program mentioned is stored in the non-volatile memory 14. The axis control circuit 16 controls at least one operating axis of the machine. The axis control circuit 16 receives axis movement control commands issued by the processor 11 and sends an axis movement command to the servo amplifier 17. The servo amplifier 17 receives the axis movement command issued by the axis control circuit 16 and drives a servo motor 50. The servomotor 50 is driven by the servo amplifier 17 to move the machine's operating axis. The servomotor 50 typically has a position / speed detector. The position / speed detector provides a position / speed feedback signal, and this signal is fed back to the axis control circuit 16 to perform position / speed control. Fig. 3 shows only one axis control circuit 16, one servo amplifier 17, and one servo motor 50. In reality, however, the number of axis control circuits 16, the number of servo amplifiers 17, and the number of servo motors 50 correspond to the number of axes of the machine. For example, if a machine with six axes is controlled, this results in a total of six sets of axis control circuits 16, servo amplifiers 17, and servo motors 50, one for each axis. The input / output device 60 is equipped with a display, a keyboard, etc. The input / output device 60 displays information received by the processor 11 via interface 16. The input / output device 60 sends commands, data, etc., entered via the keyboard to the processor 11 via interface 18. Fig. 4 is a schematic functional block diagram of the numerical control 1 according to the present embodiment. The numerical control 1 has a preprocessor 101, a front position calculation unit 102, a distance determination unit 103, a processing unit 104 for the distribution of interpolation motion commands, a motion command output unit 105, a processing unit 106 for acceleration / deceleration, a servo control unit 107, a position width command unit 108, a command unit 109 for feed override, and a register 110 for the current position. The preprocessor 101 reads and interprets a program. The computing unit 102 for the front position reads a program in advance and calculates a tool position in a subsequent control cycle. The distance determination unit 103 determines whether a position width or the feed rate needs to be changed based on the distance between the disturbance area and the tool. The processor unit 104 for interpolation motion instruction distribution reads the required program in advance and performs processing with regard to interpolation and axis distribution. The motion command output unit 105 outputs the motion commands for each of the machine's axes. The acceleration / deceleration processor unit 106 performs processing with respect to acceleration / deceleration of the motion command issued by the motion command output unit 105. The servo control unit 107 drives the servo motor 50 of each axis of the machine on the basis of the motion command according to the processing by the processor unit 106 for acceleration / deceleration. The position width command unit 108 changes a set value for the position width according to a predefined determination when the distance determination unit 103 determines that the position width needs to be changed. The feed rate override control unit 109 changes a feed rate override according to a predefined setting when the distance determination unit 103 determines that the feed rate needs to be changed. Register 110 for the current position stores a tool position in the current control cycle. <Example 1> The numerical control 1 according to the present embodiment controls the feed rate and the position width according to a distance from the disturbance area. Fig. 5 illustrates the basic operation of the numerical control 1 according to Example 1. If the tool is located near the disturbance area (right area of ​​Fig. 5), the numerical control 1 according to Example 1 sets the feed rate and / or the position width to a value lower than in the case where the tool is located outside the vicinity of the disturbance area (left area of ​​Fig. 5). The operation of the numerical control 1 in chronological order is now described in more detail based on Fig. 4. The numerical control 1 repeats the process from step 1 to step 3 for each control cycle: Step 1: The preprocessor 101 reads a program from the non-volatile memory 14 etc. and interprets the program. Step 2: The processor unit 104 for interpolation motion instruction distribution performs interpolation processing and axis distribution processing. If the position width according to the output by the position width instruction unit 108 and the feed rate override according to the output by the feed rate override instruction unit 109 can be obtained, the processor unit for interpolation motion instruction distribution takes the position width and the feed rate override into account in the motion instruction.Accordingly, the motion command output unit 105 issues motion commands for each axis of the machine. The acceleration / deceleration processor unit 106 processes the motion command issued by the motion command output unit 105. The servo control unit 107 drives the servo motor 50 of each axis of the machine based on the motion command processed by the acceleration / deceleration unit 106. Step 3: In parallel to the process according to step 2, the front position calculation unit 102 reads the corresponding program in advance and calculates the tool position in the subsequent control cycle. The distance determination unit 103 controls the feed rate and / or the position width depending on whether the tool position in the subsequent control cycle is within or outside the fault zone. An example of the control system will now be described in more detail. Assume that the distance determination unit 103 maintains a feed rate override Oin and a position width Iin for the case where the tool position is close to (i.e., within a predefined near range) the disturbance area, and an override value Oout or a position width Iout for the case where the tool position is outside the aforementioned proximity of the disturbance area, with these values ​​being stored in advance in a database, a settings file, etc. The following applies: Oin < Oout and Iin < Iout. Furthermore, it is assumed that the distance detection unit 103 receives the fault area and its immediate surroundings predefined. For example, the distance detection unit 103 can specify the following areas as fault areas: - An area in which a part of the machine is located. The numerical control 1 typically stores this area. - An area in which a workpiece is located. This area is typically defined in a program. - A fault area entered by an operator. The distance determination unit 103 calculates the immediate vicinity of the disturbance area by adding a specific boundary area to the periphery of the disturbance area determined in the manner above. If the tool position is located in the vicinity of the disturbance area during the subsequent control cycle, the distance detection unit 103 instructs the feed rate override command unit 109 to output the value Oin for feed rate override in the subsequent control cycle. Conversely, if the tool position is located outside the vicinity of the disturbance area during the subsequent control cycle, the feed rate override command unit 109 is instructed to output the value Oout as feed rate override in the subsequent control cycle. In this way, the feed rate is set lower in the vicinity of the disturbance area compared to positions outside the disturbance area, thus minimizing the deviation due to servo delay and preventing disturbances (especially collisions).On the other hand, if a disturbance (especially a collision) occurs, the damage caused by the disturbance can be suppressed or at least minimized. Outside the vicinity of the disturbance area, the feed rate is set higher compared to positions within the vicinity of the disturbance area, thus keeping the cycle time short (see the left side of Fig. 6). If the tool position in the subsequent control cycle lies within the vicinity of the disturbance area, the distance detection unit 103 instructs the position width command unit 108 to output the value Iin as the position width in the subsequent control cycle. If the tool position in the subsequent control cycle lies outside the vicinity of the disturbance area, the position width command unit 108 is instructed to output the value Iout for the position width in the subsequent control cycle. In this way, the position width in the vicinity of the disturbance area is set to values ​​that are small compared to the values ​​outside the vicinity of the disturbance area, thus keeping the deviation due to servo delay small and preventing disturbances. Even if a disturbance does occur, damage from the disturbance can be suppressed or at least minimized.Outside the vicinity of the disturbance area, the position width is set to values ​​larger than in the vicinity of the disturbance area, thus allowing the cycle time to be kept short (see the right side in Fig. 6). The position width output by the position width command unit 108 and the feed rate override output by the feed rate override command unit 109 are used in the subsequent control cycle in the process according to step 2. The numerical control 1 according to Example 1 sets the feed rate override and / or the position width to relatively small values ​​when the tool is located in the vicinity of the disturbance area. This method has the advantage that the feed rate override or the position width can be determined solely based on the position of the tool, and the speed control can be carried out in a simple manner taking the disturbance area into account. <Beispiel 2> Fig. 7 illustrates the basic principles of operation of the numerical control 1 according to Example 2. The numerical control 1 according to Example 2 is characterized in that several ranges are set depending on the distance from the disturbance area, whereby the feed rate override and / or the position width are controlled for each of these ranges. This means: in Example 2, the closer the tool is to the disturbance area, the smaller the feed rate and / or the position width are set (depending on the respective range). The operation of the numerical control 1 according to Fig. 4 will now be described in more detail. The numerical control 1 repeatedly executes the process from step 1 to step 3 for each control cycle. This was described in more detail above for Example 1 and therefore only needs to be partially explained here. Step 1: The preprocessor 101 reads a program from the non-volatile memory 14 etc. and interprets the program. Step 2: The process unit 104 for interpolation motion command distribution executes the interpolation process and the process regarding axis distribution. If the position width, as output by the position width command unit 108, and the feed rate override, as output by the feed rate override command unit 109, can be obtained, the process unit 104 takes the position width and the speed override into account in the motion command. Accordingly, the servomotors 50 for each axis of the machine are driven by the motion command output unit 105 and the process unit 106 with respect to acceleration / deceleration. Step 3: In parallel to the process according to step 2, the front position calculation unit 102 reads the corresponding program in advance and calculates the tool position in the subsequent control cycle. The distance determination unit 103 controls the feed rate and / or the position width according to the range in which the tool position is located in the subsequent control cycle. An example of this control method is described in more detail. In the present example, as shown in Fig. 7, two or more areas outside the disturbance area are defined, each at a different distance from the disturbance area. For example, area A is defined immediately outside the disturbance area, area B outside area A, and area C outside area B. In this case, the distance determination unit 103 provides a value Oa and a position width Ia for the feed rate override when the tool position is in area A, a value Ob and a position width Ib for the feed rate override when the tool position is in area B, and a value Oc and a position width Ic for the feed rate override when the tool position is in area C, with the values ​​being stored in advance in a database, a settings file, or the like. The following applies: The distance measurement unit 103 has pre-specified (received) the disturbance area, area A, area B, and area C. For example, the distance measurement unit 103 defines the disturbance area similarly to Example 1. Area A is calculated by adding a boundary area Ma to the periphery of the disturbance area, area B is calculated by adding a boundary area Mb to the periphery of area A, and area C is calculated accordingly outside of area B. The distance detection unit 103 outputs the value Oa for feed rate override if the tool position in the subsequent control cycle is in area A, the value Ob if the tool position is in area B, and the value Oc if the tool position is in area C, each for the subsequent control cycle to the command unit 109 for feed rate override. In this way, a lower feed rate is set in areas closer to the fault zone, thus minimizing deviations due to servo delay and facilitating fault avoidance. If a fault does occur, any resulting damage can be minimized or suppressed.In areas further away from the disturbance area, however, the feed rate is set higher, thus keeping the cycle time short. The distance detection unit 103 outputs the position width Ia if the tool position in the subsequent control cycle is in area A, the position width Ib if the tool position is in area B, and the position width Ic if the tool position is in area C, each as the position width in the subsequent control cycle to the command unit 108 for the position width. In this way, a correspondingly smaller position width is set for an area closer to the fault zone, thus minimizing deviations due to servo delay and facilitating fault avoidance. Even if a fault does occur, resulting damage can be reduced or avoided. In areas further away from the fault zone, the position width is set to larger values, thus keeping the cycle time short. The position width output by command unit 108 and the feed rate override output by command unit 109 are used in the subsequent control cycle during the process according to step 2. The numerical control 1 according to Example 2 sets the feed rate and / or the position width narrower the closer the area in which the tool is located is to the disturbance area. This method is advantageous in that the feed rate override or the position width can be determined solely based on the position of the tool, and a more finely tuned speed control can be performed compared to Example 1. <Beispiel 3> Fig. 8 illustrates the principles of operation of the numerical control 1 according to Example 3. If the tool moves in a direction in which the distance to the disturbance area increases, the numerical control 1 according to Example 3 sets the feed rate override or the position width to values ​​greater than the values ​​calculated according to Example 1 or Example 2. Preferably, no control is implemented to reduce the feed rate override or the position width. The operation of the numerical control 1 according to Fig. 4 is described in more detail. The description is based on a comparison with Example 2. Descriptions already given with reference to Example 2 therefore do not need to be repeated. Step 1 and Step 2: The numerical control 1 works as in Example 2. Step 3: As in Example 2, the numerical control 1 reduces the feed rate and / or position width the closer the tool position is to the interference zone. That is: feed rate override Oa and position width Ia are set when the tool position is in area A in the subsequent control cycle. Feed rate override Ob and position width Ib are set when the tool position is in area B, and feed rate override Oc and position width Ic are set when the tool position is in area C. The following applies: If the tool moves in a direction where the distance from the interference area increases, the distance detection unit 103 of the numerical control 1 adjusts to the largest adjustable value, regardless of the feed rate override setting or the position width, as described above. For example, in the example shown in Fig. 8, the tool moves from area C → area B → area A → area B (the second time) → .... Within these areas, the tool moves in area B (the second time) in a direction where the distance from the interference area increases, i.e., away from the interference area. The distance detection unit 103 then sets the feed rate override or the position width to a maximum value.This means that although in area B (the second time) according to example 2 the feed rate override has the value Ob, the feed rate override is set to the value Oc (Ob < Oc), corresponding to the maximum value that can be set in this example. The distance determination unit 103 can determine whether the tool is moving in a direction in which the distance to the disturbance area increases by means of the processes shown by way of example in Fig. 9, Fig. 10 to Fig. 11, and according to steps (1) to (3). Step (1): The distance determination unit 103 obtains a current tool position and a tool position in the subsequent control cycle. The current tool position can be obtained from register 110 for the current positions. The tool position in the subsequent control cycle is calculated by the calculation unit 102 for the forward position. Step (2): The distance determination unit 103 obtains a distance C1 between the disturbance area and the current tool position and a distance C2 between the disturbance area and the tool position in the subsequent control cycle. The procedure for obtaining a distance C between the defect area and the tool position is described with reference to Fig. 9. The distance determination unit 103 obtains a linear distance A from the center of the defect area to the tool position. Subsequently, a distance B is determined from the center of the defect area to the outer edge (boundary) of the defect area. Distance C can be obtained by subtracting B from A. Step (3): The distance determination unit 103 compares the distance C1 between the fault area and the current tool position with the distance C2 between the fault area and the tool position in the subsequent control cycle. If C1 > C2, it is determined that the tool is moving in a direction in which the distance to the fault area decreases (see Fig. 10). Conversely, if C1 < C2, it is determined that the tool is moving in a direction in which the distance to the fault area increases (see Fig. 11). If the tool moves in a direction where the distance to the interference area increases, the numerical control 1, as described in Example 3, does not reduce the feed rate or the position width depending on the distance to the interference area. This is because it is assumed that no interference occurs when the tool moves away from the interference area. In this way, it is possible to further reduce the cycle time. The above examples of embodiments of the application have been described in more detail; however, the subject matter of the application can be realized in different ways through suitable modifications and is not limited to the examples described. For example, in the embodiments described above, one or more zones are set depending on the distance to the disturbance zone, and the feed rate override or the position width is determined depending on the zone in which the tool is currently located. However, the subject matter of the application is not limited to this, and the feed rate or the position width can be determined by other calculation methods based on the distance from the disturbance zone. For example, the distance determination unit 103 can maintain a functional relationship between the distance C between the disturbance zone and the tool position (see Fig. 9) and the feed rate override and / or the position width, for example in the form of an equation or a table.Then the distance determination unit 103 can first calculate the distance C and then obtain the feed rate override or the position width according to the distance C based on the functional relationship. The above examples illustrate a relationship between the tool and the disturbance area. However, the subject matter of the application is not limited to a tool and can be used for the relationship between any movable object (usually attached to and moved by a spindle) and the disturbance area.

Claims

Numerical control (1) for moving a movable object by axis control, wherein the numerical control (1) comprises: a distance determination unit (103) for setting a position width corresponding to a distance between a disturbance area into which the movable object is not to enter and the movable object, wherein the position width is an area for which it is assumed that the tool has reached the end of a block according to the program. Numerical control (1) according to claim 1, wherein the distance determination unit (103) sets a position width to smaller values ​​when the movable object is located in a certain area of ​​the periphery of the disturbance area than when the movable object is located outside the vicinity of the disturbance area. Numerical control (1) according to claim 1, wherein the distance determination unit (103) defines several areas with different distances to the disturbance area in the vicinity of the disturbance area and adjusts the position width to be smaller the closer the area in which the movable object is is to the disturbance area. Numerical control (1) according to claim 1, wherein the distance determination unit (103) determines a direction of movement of the movable object based on a momentary position of the movable object and a position of the movable object in a subsequent control cycle and sets the position width depending on the direction of movement. Numerical control (1) according to claim 4, wherein when the movable object moves in a direction in which the distance to the disturbance area increases, the distance determination unit (103) does not perform any adjustment of the position width. Numerical control (1) according to claim 4, wherein when the movable object moves in a direction in which the distance to the disturbance area becomes smaller, the distance determination unit (103) adjusts the position width to smaller values ​​as the distance decreases.

Citation Information

Patent Citations

  • Method for controlling the movement of a robot within a workspace

    DE102007061323A1

  • Machine tool with a spindle head and method for positioning a spindle head of a machine tool

    DE102012106616A1

  • Method for controlling robot arm movements within limits of space available establishes coordinates of reference points of arms and limits operation

    DE10201488A1

  • Woodworking machine

    DE202010004021U1

  • Numerical controller

    JP1993313729A