Numerical control device that performs a three-dimensional interference test according to a change in feed rate.

The numerical control device addresses the issue of collisions by performing lookahead interference checks and adjusting feed correction values to safely prevent collisions during feed speed variations.

DE102016007688B4Active Publication Date: 2024-10-31FANUC LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE102016007688
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-06-30
Filing Date
2016-06-23
Publication Date
2024-10-31
Estimated Expiration
2036-06-23

AI Technical Summary

Technical Problem

Existing numerical control devices fail to safely stop a movable part from interfering with another object when the feed speed is varied, as the interference check is not completed before the feed rate change, leading to potential collisions.

Method used

A numerical control device that performs an interference check based on a lookahead position, recalculates the lookahead position after a feed speed variation, and includes a feed correction command unit to limit or change the feed correction value to prevent collisions.

Benefits of technology

Ensures safe operation by preventing collisions even when the feed speed varies, by accurately predicting and adjusting the feed correction value to avoid interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Numerical control device (1) controlling the driving of a movable part of a machine based on an instruction from a program and comprising an interference detection unit (2) checking for interference between the movable part and another object, wherein the numerical control device (1) is configured to delay and stop a movement of the movable part when interference is predicted by the interference detection unit, wherein the numerical control device (1) comprises: a feed correction instruction unit (4) configured to prescribe a feed correction value to a feed rate of the movable part, an instruction analysis unit (10) configured to look ahead and analyze a program to generate look-ahead block instruction data (21), and a route calculation unit (16) configured to calculate an excess look-ahead time span.which is a time span obtained by adding an excess time span to a predictive time span, which is a time span required by the interference checking unit (2) to predict interference in order to safely delay and stop the movement of the movable part; - based on the predictive block instruction data (21), to calculate a plurality of excess predictive positions of the movable part after the excess predictive time span has elapsed, wherein the excess predictive time span corresponds to a plurality of feed correction values, which includes at least one approximately maximum feed correction value that can be prescribed by the feed correction instruction unit (4); and - output the plurality of excess predictive positions to the interference checking unit (2), wherein - the interference checking unit (2) performs an interference check based on the plurality of excess predictive positions.
Need to check novelty before this filing date? Find Prior Art

Description

Background of the invention 1. Field of the invention

[0001] The present invention relates to a numerical control device related to a variation of the Feed rate performs a three-dimensional interference check so that collisions can be avoided can be. 2. Description of the related prior art

[0002] As an example of a numerical control device that controls a movable part of a machine based on a instruction of a program, Japanese Patent Application Laid-Open No. 2008-27376 discloses a numerical control device comprising an interference check unit that detects the position (hereinafter referred to as ´´look-ahead position´´) of a movable part is calculated, with a predefined period of time after the current time based on a programmed speed and a programmed speed correction value is calculated, and interference between the movable part and another Object is checked based on the look-ahead position, and the movement of the movable part is delayed and is stopped when interference is predicted by the interference checking unit.

[0003] When the technique disclosed in Japanese Patent Application Laid-Open No. 2008-27376 is used a period of time (hereinafter referred to as ´´look-ahead period´´) is calculated from the current position to the Pre-view position calculated by the numerical control device to provide it to the interference check unit enable to predict interference in order to safely decelerate and stop the movement of the movable part, set to a time period not less than a value (=T +T +T +α), where T is the time required for the P1 P2 P3 P1 Interference test time required, T, for communication between the interference test unit and the P2 Main part of the numerical control device required time period, T until deceleration and stopping of the moving P3 movable part and α is the time lead.

[0004] The look-ahead period is a period of time in which the moving part can be safely stopped if the current feed rate is used as a reference. Therefore, if the feed rate (Feed override value) is changed by an operator, the interference may have already occurred when The interference test predicts that the interference will occur. Therefore, there is a problem in that it is not it is possible to stop the moving part safely until a predefined period of time has elapsed (from the time at which the Feed rate is changed until the interference check is completed based on the look-ahead position after changing the feed rate), even if the interference is predicted to occur.

[0005] Fig. 7 is a diagram showing the relationship between a current position of a movable part at the time T and a look-ahead position used in an interference check when controlling a one-way machine n becomes.

[0006] As shown in Fig. 7, it is possible if an interference check is carried out at a look-ahead position P (T ) within P n a look-ahead period that is not less than T +T +T +α at any of the times T, at time T n P1 P2 P3 n+ 1 is completed, to stop the movement of the movable part safely, in principle even after detecting the Occurrence of interference, as long as a coordinate value of a current position has a coordinate value P' (T ) of a P n-1 does not exceed the look-ahead position at which the interference check has already been completed.

[0007] Fig. 8 is a diagram showing the relationship between a current position of a movable part at the time T and a look-ahead position used in an interference check when controlling a n One-way machine a feed correction (override) is changed.

[0008] As shown in Fig. 8, when a feed correction is changed in the period between T and T, since a 0 1 Coordinate value of a current position exceeds a coordinate value of a look-ahead position at which a Interference test has already been completed, as indicated in the drawing in section (1) by a bold line, which Interference testing in the section indicated by the bold line has not been completed. Therefore, there is a possibility that the moving part cannot be stopped safely.

[0009] Figures 9A to 11 show an example in which a feed correction is used when controlling a reusable machine is changed.

[0010] When moving parts are controlled in the path 1 shown in Fig. 9A and the path 2 shown in Fig. 9B without Changing a feed correction is determined at time T (indicated by A in Fig. 10) 2 (Interference check is completed) that a look-ahead position of Path 1 and a look-ahead position of path 2, which are subjected to an interference check at time T, 1 overlap each other, as shown in Fig. 10. Therefore, it is possible to stop the respective moving parts safely before the coordinate values ​​of current positions of the respective paths reach coordinate values ​​at which the interference occurs. However, if a feed correction of path 1 is changed in a period between T and T, as shown in Fig. 11 0 1 As shown, the coordinate values ​​of the current positions of the respective paths overlap at the point shown in Fig. 11 by B displayed position before the forecast position based on the forecast position of path 1 and the forecast position of path 2 Interference test is completed at time T. Therefore, there is a possibility that the moving parts are not 1 can be safely stopped. Summary of the invention

[0011] Therefore, an object of the present invention is to provide a numerical control device which is capable of appropriately avoiding a collision in relation to a variation in the feed rate.

[0012] A numerical control device of the present invention solves the above-described problem by Performing an interference check based on a look-ahead position before a variation of a Feed rate taking into account the variation of the feed rate and controls the change of a Feed correction is safe, since the interference check cannot be carried out safely if the look-ahead position is recalculated after changing the feed rate.

[0013] A numerical control device of the present invention controls the driving of a movable part of a Machine based on a command from a program and includes an interference checking unit that Interference between the movable part and another object is checked, whereby the numerical control device is designed to delay and stop a movement of the movable part when the interference checking unit, an interference is predicted. The numerical control device comprises: a Feed correction command unit configured to output a feed correction value of a feed rate of the movable part, a command analysis unit that is designed to look ahead and program to generate look-ahead block command data, and a route calculation unit configured to is to calculate a surplus forecast period, which is a period of time calculated by adding a surplus period to a forecast period, which is a period that the Interference checking unit is needed to predict interference to ensure the movement of the movable part decelerate and stop based on the look-ahead block command data a plurality to calculate surplus forecast positions of the movable part after the surplus forecast period has expired, wherein the excess look-ahead period corresponds to a plurality of feed correction values ​​comprising at least one approximately maximum feed correction value prescribed by the feed correction command unit and to issue the majority of surplus forecast positions to the interference check unit. Interference check unit performs an interference check based on the majority of surplus forecast positions through.

[0014] The route calculation unit may be configured to calculate a route determined by the look-ahead block command data prescribed command route and the majority of surplus lookahead positions to the interference check unit and the interference checking unit may be configured to output, based on the plurality Excess lookahead positions and the command route to perform an interference check.

[0015] The numerical control device may further comprise a feed correction changing unit that changes a feed correction value according to a command from the interference check unit, wherein the Interference checking unit can be set up to determine, based on the surplus forecast positions, a To perform interference check and to cause the feed correction change unit to change the feed correction value when interference is detected as a result of the interference check.

[0016] According to the present invention, even if a feed rate varies, it is possible to To control the feed rate safely so that one machine does not interfere with another object. Brief description of the drawings

[0017] The above and other objects and features of the present invention will become apparent from the following description of an embodiment with reference to the attached drawings. It shows / shows: Fig. 1 shows an example in which a numerical control device according to the present invention has a Coordinate value of a look-ahead position is calculated to assume that a moving part with a maxima len feed rate from a current position to perform an interference check; Fig. 2 a route information output to an interference check unit, which is in the numerical Control device according to the present invention; Fig. 3 is an overview of a feed correction limit function of the numerical control device according to the present invention; Fig. 4 an overview of a feed correction limit function for multi-path control of the numerical Control device according to the present invention; Fig. 5 is a functional block diagram of a numerical control device according to an embodiment of the present invention; Fig. 6 is a flowchart of a feed correction limiting procedure used in the system shown in Fig. 5 numerical control device; Fig. 7 shows a conventional interference testing procedure; Fig. 8 shows a problem of the conventional interference check method when changing a feed correction; Fig. 9A and Fig. 9B show the routes of movable parts of each path during multi-path control; Fig. 10 shows the conventional interference check procedure during multi-path control; and Fig. 11 a problem of the conventional interference check method when changing a feed correction during a multi-way control. Detailed description of the preferred embodiments

[0018] When a coordinate value of a look-ahead position which a movable object subjected to interference check Part reached after a look-ahead period from a current position to a current point in time, calculated is to be, a numerical control device according to the present invention calculates the coordinate value of the Pre-position assuming that the moving part is moving at a predefined feed rate (predefined feedrate compensation value), the upper limit of which is the maximum feedrate (the feedrate when the feedrate compensation value is largest).

[0019] Fig. 1 shows an example in which a numerical control device according to the present invention has a Coordinate value of a look-ahead position is calculated to assume that a moving part with a maximum feed rate from a current position to perform an interference check.

[0020] As shown in Fig. 1, if P (T ) is the current position at time T , P (T ) is the look-ahead position after cnn MP n Expiration of a look-ahead period when the moving part moves at the maximum feed rate from the current position P (T ), and P' (T ) is the position at which the look-ahead position based on the look-ahead position P (T ) cn MP n MP n Interference check ends even if an operator increases the feed correction value in the middle of the movement, the Interference check on the coordinate value of the movable part moving based on the feed correction value, already completed.

[0021] In this case, block information of a route from a current position to a look-ahead position can be a predefined feed rate, the upper limit of which is the maximum feed rate, Such block information can, for example, as shown in Fig. 2, indicate an end point of a first block, where the current position is located, and information of a command based on a linear interpolation (cutting feed) based, as well as a central position of a circular arc of a second block, a look-ahead position and information a command based on a circular interpolation command.

[0022] With such a function, taking into account the route from the current position to the A high-precision interference check can be carried out at the look-ahead position.

[0023] In addition, when a coordinate value of a look-ahead position is determined based on a predefined Feed correction is to be calculated, a coordinate value of a position (hereinafter referred to as ´´Excess look-ahead position´´) of a movable axis at the time when a Adding a surplus period to a forecast period, the period obtained expires, and at the An interference check is carried out on the surplus forecast position. And if there is a possibility that the route If there is an interference between the current position and the surplus forecast position, the change in the feed correction value of a corresponding path (hereinafter such a function is referred to as ´´Feed correction limit function´´). With such a function, the change the feedrate compensation value is limited or changed as follows. (1) When a feedrate override value is increased, it is blocked to set the feedrate override value to a predefined feed correction value at which the occurrence of interference by the Interference testing is detected. (2) When a feedrate correction value is decreased, the feedrate correction value of the corresponding path is reduced to the extent corresponding to the prescribed value.

[0024] Fig. 3 shows an example in which the numerical control device according to the present invention has a Coordinate value of a surplus forecast position is calculated, which is the position at the time when a The period obtained by adding a surplus period to a forecast period expires when a movable part is moved from the current position at the maximum feed rate, and a Conducts interference testing.

[0025] In the numerical control device of the present invention, when during an interference check, a disturbing object or the like at a position shown in Fig. 3 by <1> displayed coordinate position is present, the Changing a feed correction at a time later than the completion time (T ) of the interference check 0 suppressed. Therefore, even if an operator increases the feed correction value in the period between T and T, 0 1 the change of feedrate compensation is suppressed and the movable part follows the route P (T ), P (T ) and P (T ). LC1 LC2 LC3

[0026] Fig. 4 shows an example in which the numerical control device calculates a coordinate value of a Surplus forecast position is calculated, which is the position at the time when a Excess period to a forecast period expires when a movable part of each Ways when controlling a multi-way machine with the maximum feed rate from a current position moves and performs an interference check.

[0027] Since there is a possibility that during an interference test in the area shown in Fig. 4 by <1> displayed Section path 1 path 2 superimposed, the numerical control device suppresses the change of a feed correction to later than the completion time (T ) of the interference test. Even if an operator 0 If the feed correction value is increased in the period between T and T, the change in the feed correction is suppressed 0 1 and the movable part of path 1 follows the route P (T1), P (T ) and P (T ). 1LC 1LC 2 1LC 3

[0028] For example, a period of time required to complete the interference check may be defined as an excess period of time be set as shown in Fig. 3 and Fig. 4, and a time period T +T +T can be set taking into account P1 P2 P3 a time period required to stop the movement of the movable axis is set as an excess time period become.

[0029] With such a function, it is possible because the change of the feed correction is suppressed when the Possibility of interference exists to safely stop the moving part in case of interference.

[0030] Fig. 5 is a functional block diagram of a numerical control device according to an embodiment of the present invention. A numerical control device 1 of the present invention comprises a Command analysis unit 10, a distribution processing unit 11, a movement command output unit 12, a Acceleration / deceleration processing unit 13, a servo control unit 14, a Predictive position calculation unit 15, a route calculation unit 16 and a Feed correction change unit 17.

[0031] The command analysis unit 10 reads a command for each block from a processing program 20, sets the instruction into executable data to generate lookahead block instruction data 21 and stores the data in a RAM or the like (not shown).

[0032] The distribution processing unit 11 reads out respective blocks of the look-ahead block command data 21, calculates a distributed amount of movement prescribed to the movable part of each axis (a servo motor of each axis) in each distribution cycle based on each axis movement amount and a feed rate specified in Block, and a feed correction command unit 4 Feedrate compensation value (%), and adds the distributed movement amount to a current position register (not shown) to update a current coordinate position (hereinafter referred to as current position).

[0033] Furthermore, the distribution processing unit 11 outputs the calculated distributed movement amount via the motion command output unit 12 to the acceleration / deceleration processing unit 13. As later described, the movement command output unit 12 stops the output of the distributed movement amount of the distribution processing unit 11 to the acceleration / deceleration processing unit 13 movement command issued when an axis stop command is input from the interference check unit 2, and outputs the movement command to the acceleration / deceleration processing unit 13 if no axis stop command input from the interference check unit 2.

[0034] The acceleration / deceleration processing unit 13 performs, in response to the movement command, Acceleration or deceleration to generate a motion command that corresponds to the acceleration or deceleration Delay processing, to the servo control unit 14, which Servo motor 3. The servo control unit 14 performs based on the movement command and the position and Speed ​​of a movable part connected to the servo motor 3 (or the movable part driven by the servo motor 3) attached position / speed detector a position / speed feedback control and based on the current from a current detector which generates a drive current for controlling the driving of the servo motor 3 by means of of an amplifier, performs a current feedback control. Although only one servo motor 3 is shown in Fig. 5, The same control is applied to the servo motors of the respective axes (respective moving parts) of a machine tool carried out and the position and speed of the moving parts are controlled.

[0035] The predictive position calculation unit 15 calculates a predictive position, which is the position to which the movable part driven by the servo motor 3 after a look-ahead period of the current Position. The look-ahead position is determined based on the current position of the movable part, the set or calculated look-ahead period, the look-ahead block command data 21 and the Feed correction value (%) entered in feed correction command unit 4 is calculated. Pre-look position calculation unit 15 outputs the pre-look time period and the coordinate value of the Look-ahead position to the interference check unit 2 to perform an interference check.

[0036] The look-ahead period used by the look-ahead position calculation unit 15 is set to a value which is obtained by adding a predefined time lead α to the value (T +T +T ), which P1 P2 P3 by adding the time period T that the interference check unit 2 takes to perform the P1 interference check procedure, the time T required for communication between the P2 Predictive position calculation unit 15 and the interference check unit 2, and the time period T , P3 required to decelerate and stop a moving part. In general, the Time period T , which is required for communication between the look-ahead position calculation unit 15 and the P2 Interference Test Unit 2 is required, a constant value that rarely varies when a system configuration and can be obtained by a measurement. In addition, the time period T required for deceleration and P3 Stopping the moving part is required, a constant value that depends on the configuration of the Acceleration / deceleration processing unit 13. However, the time period T, which the P1 Interference check unit 2 required to perform the interference check procedure varies depending on a Operating position of a plurality of movable parts. However, since the position of a movable part corresponding to the present interference test is generally located near the position of the movable part corresponding to the previous interference test, the time required by the interference test unit 2 to to perform the last interference check, be returned to the look-ahead position calculation unit 15 and the Time period can be used as the time period T required for the interference test. P1

[0037] The interference check unit 2, which calculates the look-ahead period and the coordinate value of the look-ahead position received from the look-ahead position calculation unit 15, stores an outline shape of a tool or workpiece, an outline shape of a machine and the like, checked based on the positions of the respective movable parts sent from the look-ahead position calculation unit 15, whether the tool has a different object, and issues an axis stop command to the movement command output unit 12. The interference check unit 2 is designed as an information processing device, configured, for example, as a workstation computer.

[0038] Since the details of the processing of the look-ahead position calculation unit 15 and the interference check unit 2 from known documents such as the above-mentioned Japanese Patent Application Laid-Open No. 2008- 27376, are known, this is not described.

[0039] The configuration of the numerical control device 1 is known from the prior art. In the present Embodiment are also the route calculation unit 16 and the feed correction changing unit 17 is provided in the numerical control device 1.

[0040] The route calculation unit 16 calculates a surplus forecast position, which is the position to which the movable part driven by the servo motor 3 after expiry of an excess forecast period from the current position. The route calculation unit 16 differs from the Predictive position calculation unit 15, that when the route calculation unit 16 the predictive position of the movable part, the route calculation unit 16 calculates the coordinate value of the excess forecast position when it is assumed that the moving part is moving at a predefined feed rate whose Upper limit is the maximum feed rate, moved from the current position.

[0041] When the maximum value of the feed correction value that can be prescribed by the feed correction command unit 4 for example, 200%, the route calculation unit 16 calculates based on the movement amount and the Speed ​​of the respective axes prescribed in the block of look-ahead block command data 21, the Coordinate values ​​of a plurality of excess look-ahead positions when the movable part moves as indicated by a number of predefined feed correction values ​​are prescribed (e.g. the three values ​​200%, 170% and 130%), whose The upper limit of the feed correction value is 200%. The route calculation unit 16 initiates the Interference check unit 2, based on the surplus forecast period and the calculated coordinate values ​​of the respective surplus forecast positions, and causes the feed correction change unit 17 described later, a signal for limiting or modifying the change of the feed correction value when the interference check detects that interference occurs.

[0042] The effect of the present invention is achieved when the coordinate value of the excess look-ahead position is calculated by the route calculation unit 16 only if an approximate maximum feed correction value is required, and an interference check is carried out exclusively for the surplus forecast position. In In this case, however, the range of a route in which the occurrence of interference is detected may become too wide and The range of limiting the change in the feed correction value may also be too wide. Therefore, it is possible if the range of feed correction values ​​at which the occurrence of interference is detected is determined by calculating the Coordinate values ​​of a plurality of excess look-ahead positions based on the plurality of feed correction values and performing an interference test as described above, the range of limitation of the To limit the change in the feed correction value and to utilize the function of the present invention more efficiently.

[0043] A plurality of route calculation units 16 may be provided so that the respective Route calculation units 16 the coordinate values ​​of surplus forecast positions based on Calculate feed correction values. Alternatively, the coordinate values ​​of a plurality of Excess forecast positions are calculated by a single route calculation unit 16.

[0044] In addition, the route calculation unit 16 outputs the Interference check unit 2 causes an interference check to be carried out, information from a block of Predicted route from the look-ahead block command data 21 to the interference check unit 2. The information of the Route can, for example, be described above with reference to Fig. 2, in the form of an end point of a first block where the current position is located and information of a linear interpolation (cutting feed) based command and a central position of a circular arc of a second block, a Look-ahead position and information of a command based on circular interpolation are output. Interference checking unit 2, which has received the route information from the route calculation unit 16, can taking into account the route information when performing an interference check based on the Look-ahead time period and the coordinate value of the look-ahead position calculated by the route calculation unit 16 transmitted, conduct a more detailed interference check.

[0045] In response to a command from the interference checking unit 2, the Feed correction change unit 17 the change of the feed correction command unit 4 prescribed However, in a normal state, the feed correction changing unit 17 sets the value determined by the Feed correction command unit 4 as the feed correction value to be applied to the Distribution processing unit 11 is output as it is, wherein (1) when a signal for limiting or modifying the change of a predefined feed correction value received from the interference check unit 2, the feed correction changing unit 17 Changing the feedrate override value by ignoring a command to change the feedrate override value to a predefined feedrate override value or higher when a command to increase the feed correction value is prescribed by the feed correction command unit 4, and (2) when a command to decrease the feed correction value is issued by the feed correction command unit 4 is prescribed, the feed correction changing unit 17 the feed correction value of a command subjected path to the extent corresponding to the prescribed value.

[0046] As an example of a method for limiting the feed correction value when an interference check is carried out with a The majority of feed correction values ​​(e.g. the three values ​​200%, 170% and 130%) were carried out when at one of the Feed correction value of 170% corresponding excess look-ahead position no interference occurs and at a If interference occurs at the excess look-ahead position corresponding to the feed correction value of 200%, This can be blocked to change the feedrate compensation value to a value higher than 170%. another method may be used to limit the change.

[0047] Fig. 6 is a flowchart of a feed correction limiting method used in the numerical Control device according to the embodiment of the present invention is executed. In the flowchart according to In Fig. 6, arrows with dotted lines indicate the flow of data or signals. [Step SA01]

[0048] The command analysis unit 10 reads a command for each block from a processing program 20, sets the instruction into executable data to generate lookahead block instruction data 21 and stores the data in a RAM or the like (not shown). [Step SA02]

[0049] The distribution processing unit 11 reads out respective blocks from the look-ahead block command data 21. [Step SA03]

[0050] It is determined whether the program has ended. This method ends when the program has ended while the process proceeds to step SA04 if the program is not terminated. [Step SA04]

[0051] The feed correction changing unit 17 determines whether a signal for limiting or modifying the change of the feed correction value is received from the interference check unit 2. The process proceeds to step SA06 continues when the signal for limiting or modifying the change of the feedrate correction value from the interference check unit 2 is received, otherwise the process proceeds to step SA05. [Step SA05]

[0052] The feed correction changing unit 17 determines that the change of the feed correction value is not limited and sets the value prescribed by the feed correction command unit 4 as the feed correction value. [Step SA06]

[0053] The feed correction changing unit 17 determines whether the feed correction command unit 4 prescribed value of a decrease in the feed correction value or an increase in the feed correction value within the range of predefined feedrate compensation values ​​where the change is limited. The process continues with step SA07 if the value corresponds to one of the two cases, otherwise the process continues with Proceed to step SA08 (if the feedrate compensation value is to be increased to a value higher than the limited Range of predefined feed correction values). [Step SA07]

[0054] If the prescribed value includes decreasing the feed correction value, the Feed correction changing unit 17 the set feed correction value by reducing the Feed correction value to the extent corresponding to the specified value. If the specified value exceeds the Increasing the feed correction value within the limited range of predefined feed correction values ​​includes whose change is limited, the feed correction changing unit 17 sets the prescribed value as the Feed correction value. [Step SA08]

[0055] The distribution processing unit 11 receives the feed correction value set by the feed correction changing unit 17 Feed correction value. [Step SA09]

[0056] The distribution processing unit 11 calculates a distributed movement amount allocated to a movable part each axis (one servo motor of each axis) in each distribution cycle based on the Axis movement amount and a speed prescribed in the block read out in step SA02, and the feed correction value obtained in step SA08 and outputs the calculated distributed movement amount to the Movement command output unit 12. [Step SA10]

[0057] The distribution processing unit 11 adds the distributed movement amount calculated in step SA09 to the Add current position register to update the current coordinate position. [Step SA11]

[0058] The route calculation unit 16 calculates the coordinate values ​​of a plurality of surplus forecast positions with a plurality of feed correction values, the upper limit of which is the maximum value of the feed correction value, based on the data read from the look-ahead block command data 21 and causes the interference check unit 2, to perform an interference test based on the calculation result. [Step SA12]

[0059] It is determined whether the process for distributing the read blocks is completed. The process returns to step SA02 when the distribution process is completed, while the process returns to step SA04 returns if the distribution process is not completed.

[0060] Although the embodiment of the present invention has been described, the present invention may be implemented in various ways by adding appropriate changes, without resorting to the example of to be limited to the embodiment described above.

[0061] For example, although it is described in the embodiment that the plurality of feed correction values, which are used when the route calculation unit 16 calculates the coordinate values, are set in advance, the feed correction values ​​when shipping the numerical control device and before an operator or anyone Similar to an operation starts. Furthermore, the feed correction values ​​can be set during a be dynamically adjusted and changed by a program or the like. In addition, the The number of feed correction values ​​that are subjected to interference checking can be changed. This makes it It is possible to flexibly perform an interference test according to a processing state.

Claims

1. Numerical control device (1) which controls the driving of a movable part of a machine based on a command from a program and which comprises an interference checking unit (2) which detects interference between the movable part and another object, wherein the numerical control device (1) is arranged to to delay and stop a movement of the movable part if the interference check unit detects a Interference is predicted, - wherein the numerical control device (1) comprises: - a feed correction command unit (4) which is arranged to output a feed correction value of a To specify the feed rate of the moving part, - an instruction analysis unit (10) arranged to look ahead and analyze a program in order to to generate lookahead block command data (21), and - a route calculation unit (16) which is arranged to - to calculate a surplus forecast period, which is a period obtained by adding a surplus period to a forecast period, which is a period that the Interference checking unit (2) is required to predict interference in order to safely control the movement of the movable part to delay and stop, - based on the look-ahead block command data (21), a plurality of excess look-ahead positions of the movable Partly to be calculated after expiry of the surplus forecast period, whereby the surplus forecast period of a A plurality of feed correction values, including at least one approximately maximum feed correction value, which can be prescribed by the feed correction command unit (4), and - output the majority of surplus forecast positions to the interference checking unit (2), whereby - the interference check unit (2) performs an interference check based on the plurality of surplus forecast positions carries out.

2. Numerical control device according to claim 1, wherein - the route calculation unit (16) is arranged to calculate a route determined by the look-ahead block command data (21) prescribed command route and the majority of surplus lookahead positions to the interference check unit (2) to spend, and - the interference checking unit (2) is arranged to determine, based on the plurality of surplus forecast positions and to perform an interference check on the command route.

3. A numerical control device according to claim 1 or 2, further comprising: - a feed correction changing unit (17) for changing a feed correction value according to a command from the interference test unit (2), whereby - the interference checking unit (2) is designed to calculate, based on the surplus forecast positions, interference check and to cause the feed correction changing unit (17) to change the feed correction value when interference is detected as a result of the interference check.

Citation Information

Patent Citations

  • Numerical controller

    EP1890211A1

  • Numerical control device

    JP2008027376A

  • JP002008027376A