NUMERICAL CONTROLLER

20180143619 ยท 2018-05-24

    Inventors

    Cpc classification

    International classification

    Abstract

    To provide a numerical controller that is capable of analyzing a machining program so as to determine whether machining is machining placing emphasis on accuracy and machining placing emphasis on speed and vary an allowable speed difference. The numerical controller includes a determination unit and a corner deceleration control unit. The determination unit analyzes a machining program so as to determine which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed. The corner deceleration control unit executes corner deceleration control based on a speed difference between cutting feed speeds on blocks leading and following a corner and an allowable speed difference which is predetermined. At this time, the corner deceleration control unit varies the allowable speed difference in accordance with a determination result of the determination unit.

    Claims

    1. A numerical controller comprising: a corner deceleration control unit that executes corner deceleration control based on a speed difference between cutting feed speeds on blocks leading and following a corner and an allowable speed difference which is predetermined; and a determination unit that analyzes a machining program so as to determine which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed, wherein the corner deceleration control unit varies the allowable speed difference in accordance with a determination result of the determination unit.

    2. The numerical controller according to claim 1, wherein the determination unit determines which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed, based on an ON/OFF state of a beam with respect to blocks leading and following a corner.

    3. The numerical controller according to claim 1, wherein the determination unit determines which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed, based on an angle formed by blocks leading and following a corner.

    4. The numerical controller according to claim 1, wherein the determination unit determines which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed, based on a difference between command values of blocks leading and following a corner.

    5. The numerical controller according to claim 1, wherein the corner deceleration control unit executes the corner deceleration control by using the allowable speed difference for high-speed machining in a case where the determination unit determines that speed is to be emphasized and executes the corner deceleration control by using the allowable speed difference which is normal in a case where the determination unit determines that accuracy is to be emphasized.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0015] The above-described and other objects and features of the present invention will be apparent from the following embodiments which are described in reference to the accompanying drawings. Among these drawings:

    [0016] FIG. 1A illustrates an example of a conventional corner deceleration control method;

    [0017] FIG. 1B illustrates an example of the conventional corner deceleration control method;

    [0018] FIG. 2A illustrates an example of laser machining;

    [0019] FIG. 2B illustrates the example of the laser machining;

    [0020] FIG. 3 illustrates an example of laser machining;

    [0021] FIG. 4A illustrates an example of a corner deceleration control method employed by a numerical controller according to an embodiment of the present invention;

    [0022] FIG. 4B illustrates an example of a corner deceleration control method employed by the numerical controller according to the embodiment of the present invention;

    [0023] FIG. 5A illustrates an example of a corner deceleration control method employed by the numerical controller according to another embodiment of the present invention;

    [0024] FIG. 5B illustrates an example of a corner deceleration control method employed by the numerical controller according to the other embodiment of the present invention;

    [0025] FIG. 6 is a flowchart illustrating an operation of the numerical controller according to the embodiments of the present invention; and

    [0026] FIG. 7 is a block diagram illustrating the configuration of the numerical controller according to the embodiments of the present invention.

    DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

    [0027] Embodiments according to the present invention will be described below with reference to the accompanying drawings.

    [0028] FIG. 7 is a block diagram illustrating the configuration of a numerical controller 100 according to the embodiments of the present invention. The numerical controller 100 includes a determination unit 110 and a corner deceleration processing unit 120. The numerical controller 100 is typically an information processing apparatus provided with a central processing unit (CPU), a storage device, and an input/output device. In the numerical controller 100, the CPU executes a prescribed program so as to logically realize the determination unit 110 and the corner deceleration processing unit 120.

    [0029] The determination unit 110 performs processing such that the determination unit 110 analyzes a machining program so as to determine which machining is to be performed between machining placing emphasis on accuracy and machining placing emphasis on speed, in light of a predetermined condition.

    [0030] The corner deceleration processing unit 120 determines necessity of an execution of corner deceleration processing, which is performed by using a normal allowable speed difference or an allowable speed difference for high-speed machining, in accordance with the determination result obtained by the determination unit 110. Further, the corner deceleration processing unit 120 executes the corner deceleration processing in accordance with the determination result thereof.

    First Embodiment

    [0031] As the first embodiment, an operation of the numerical controller 100 in the case of machining of paths illustrated in FIGS. 4A and 4B will be described. In both of FIG. 4A and FIG. 4B, the numerical controller 100 repeatedly turns on/off a beam on the ways of cutting feed blocks (G01 etc.), thus performing intermittent cutting.

    [0032] In general, in the case of employing such machining method, it can be considered that a user desires machining placing emphasis on speed. Therefore, the determination unit 110 determines that high-speed machining is to be performed on this corner in the case where blocks leading and following the corner are both cutting feed blocks (G01 etc.) and the on and off of the beam are switched between before and behind the corner (FIG. 4A). In this case, the determination unit 110 may calculate an angle (0<180) formed by the blocks leading and following the corner and further determine whether or not the angle exceeds a prescribed threshold value so as to determine that high-speed machining is to be performed only in the case where the angle does not exceed the prescribed threshold value.

    [0033] Further, in the case where blocks leading and following a corner are both cutting feed blocks (G01 etc.) and a beam is off both before and behind the corner, the determination unit 110 determines that high-speed machining is to be performed on this corner (FIG. 4B). Here, since machining accuracy is basically ignorable in this case, the above-described determination based on the angle does not have to be always performed.

    [0034] When the determination unit 110 determines that high-speed machining is to be performed, the corner deceleration processing unit 120 performs corner deceleration control by using a predetermined allowable speed difference for high-speed machining. In other cases, the corner deceleration processing unit 120 performs corner deceleration processing by using a normal allowable speed difference. An allowable speed difference for high-speed machining is preferably set to have a value larger than a normal allowable speed difference. That is, in the case where machining placing emphasis on speed is to be performed, the corner deceleration processing unit 120 automatically changes an operation condition of the corner deceleration control. Accordingly, reduction in a machining speed caused by excessive corner deceleration can be suppressed.

    [0035] The operation of the numerical controller 100 in the first embodiment will be described with reference to a flowchart of FIG. 6.

    [0036] S1: The determination unit 110 reads out two successive machining blocks in a machining program. The determination unit 110 typically reads ahead a machining block to which processing is to be executed next, during an execution of processing for a machining block.

    [0037] S2: The determination unit 110 determines whether the two machining blocks read in Si are both cutting feed blocks, and whether a beam is on with respect to one of the machining blocks and the beam is off with respect to the other of the machining blocks (speed-oriented machining condition 1). That is, the determination unit 110 determines whether commands of the two machining blocks are both cutting feed commands (G01 etc.) and whether one command value Q1=0 is satisfied and the other command value Q2>0 is satisfied. In the case where the determination result is YES, that is, in the case where the speed-oriented machining condition 1 is satisfied, the processing goes to S3. In other cases, the processing goes to S5.

    [0038] Further, the determination unit 110 may determine that the speed-oriented machining condition 1 is satisfied also in the case where the two machining blocks read in Si are both cutting feed blocks (G01 etc.) and the beam is off for both of the machining blocks.

    [0039] S3: The determination unit 110 calculates an angle (0<180) formed by paths of the two machining blocks read in S1. The determination unit 110 determines whether the angle does not exceed a prescribed threshold value (0<180), that is, whether < is satisfied (speed-oriented machining condition 2). In the case where the determination result is YES, that is, the case where < is satisfied and the speed-oriented machining condition 2 is satisfied, the processing goes to S4. In other cases, the processing goes to S5.

    [0040] S4: The corner deceleration processing unit 120 acquires a predetermined allowable speed difference for high-speed machining. The corner deceleration processing unit 120 typically reads the allowable speed difference for high-speed machining from a storage region which is not illustrated.

    [0041] S5: The corner deceleration processing unit 120 acquires a predetermined normal allowable speed difference. The corner deceleration processing unit 120 typically reads the normal allowable speed difference from a storage region which is not illustrated.

    [0042] S6: The corner deceleration processing unit 120 performs corner deceleration control by using the allowable speed difference acquired in S4 or S5. That is, the corner deceleration processing unit 120 calculates a speed difference between the two machining blocks read in S1. The speed difference is calculated for each of the X axis direction and the Y axis direction. In the case where the speed difference in the X axis direction or the Y axis direction exceeds the allowable speed difference acquired in S4 or S5, the corner deceleration processing unit 120 decelerates a tool before and behind the corner down to a speed at which the speed differences in the X axis direction and the Y axis direction do not exceed the allowable speed difference.

    Second Embodiment

    [0043] As the second embodiment, an operation of the numerical controller 100 in the case of machining of paths illustrated in FIGS. 5A and 5B. FIG. 5A and 5B are both characterized in that command values of cutting feed blocks (G01 etc.) are mutually different between adjacent machining blocks.

    [0044] In FIG. 5A, though two cutting feed blocks are successive, a feed speed is changed from F2000 to F1500. In such case, it is favorable to lower a corner speed so as to correspond to the change of the feed speed. Accordingly, the determination unit 110 determines that machining placing more emphasis on accuracy than speed is to be performed.

    [0045] FIG. 5B also illustrates an example in which two cutting feed blocks are successive. In the case where an exterior angle of the corner angle is relatively small (a corner angle is relatively large) as illustrated in the left drawing, the determination unit 110 determines that machining placing emphasis on speed is to be performed. On the other hand, in the case where the exterior angle of the corner angle difference is relatively large (the corner angle is relatively small) as illustrated in the right drawing, the determination unit 110 determines that machining placing emphasis on accuracy is to be performed. This determination can be executed by comparing the angle to a predetermined threshold value .

    [0046] The corner deceleration processing unit 120 performs the corner deceleration processing by using the allowable speed difference for high-speed machining in the case where the determination unit 110 determines that high-speed machining is to be performed and performs the corner deceleration processing by using the normal allowable speed difference in other cases, as is the case with the first embodiment.

    [0047] The operation of the numerical controller 100 in the second embodiment will be described with reference to the flowchart of FIG. 6.

    [0048] S1: The determination unit 110 reads out two successive machining blocks in a machining program.

    [0049] S2: The determination unit 110 determines whether the two machining blocks read in Si are both cutting feed blocks, and whether command values (values such as a speed F) of both of the machining blocks are different from each other (speed-oriented machining condition 1). That is, the determination unit 110 determines whether the commands of the two machining blocks are both cutting feed commands (G01 etc.) and whether the command values of the two satisfy F1F2. In the case where the determination result is YES, that is, in the case where the speed-oriented machining condition 1 is satisfied, the processing goes to S3. In other cases, the processing goes to S5.

    [0050] S3: The determination unit 110 calculates an angle (0<180) formed by paths of the two machining blocks read in S1. The determination unit 110 determines whether the angle does not exceed a prescribed threshold value (0<180), that is, whether < is satisfied (speed-oriented machining condition 2). In the case where the determination result is YES, that is, the case where < is satisfied and the speed-oriented machining condition 2 is satisfied, the processing goes to S4. In other cases, the processing goes to S5.

    [0051] S4: The corner deceleration processing unit 120 acquires a predetermined allowable speed difference for high-speed machining. The corner deceleration processing unit 120 typically reads the allowable speed difference for high-speed machining from a storage region which is not illustrated.

    [0052] S5: The corner deceleration processing unit 120 acquires a predetermined normal allowable speed difference. The corner deceleration processing unit 120 typically reads the normal allowable speed difference from a storage region which is not illustrated.

    [0053] S6: The corner deceleration processing unit 120 performs corner deceleration control by using the allowable speed difference acquired in S4 or S5.

    [0054] Here, the second embodiment does not use, for determination, the on/off state of a beam characteristic of laser machining, unlike the first embodiment. Accordingly, the second embodiment is applicable to cutting such as milling and water jet machining as well as laser machining.

    [0055] According to these embodiments, the determination unit 110 determines whether a corner is to be machined while placing emphasis on speed or machined while placing emphasis on accuracy, by analyzing a machining program. Then, the corner deceleration processing unit 120 performs corner deceleration control by using an allowable speed difference varying depending on a determination result obtained by the determination unit 110. Accordingly, a user does not have to change an allowable speed difference depending on a machining purpose in every machining.

    [0056] Here, it should be noted that the present invention is not limited to the above-described embodiments but may be altered as appropriate without deviating from the intent of the invention. In the present invention, arbitrary components in the embodiments may be transformed or omitted within the scope of the present invention.

    [0057] For example, though the determination of the speed-oriented machining condition 1 (S2) and the determination of the speed-oriented machining condition 2 (S3) are performed in the above-described embodiments, only either one condition determination may be performed. Alternatively, the condition determination may be executed by reversing orders of these condition determinations.

    [0058] Further, the specific determination method of the speed-oriented machining condition 1 (S2) and the speed-oriented machining condition 2 (S3) described in the above embodiments is merely an example and the determination of the speed-oriented machining condition 1 (S2) and the speed-oriented machining condition 2 (S3) may be performed by other arbitrary determination methods.

    [0059] The embodiments of the present invention have been described thus far. However, the present invention is not limited to the above-described embodiments but can be embodied in other embodiments by making arbitrary alterations.