Abstract:
A numerical controller controls a drilling operation. When a feed shaft is decelerated from the constant speed state to a stop state in a drilling operation, a bell-type acceleration/deceleration mode is selected from the constant speed state to a linear deceleration mode where deceleration is carried out at a constant rate, and then a linear deceleration mode in which a deceleration is carried out at the same constant rate as in the linear part, from the linear part to the stop state. Thus, it is possible to carry out a high-speed operation in the vicinity of a portion having a speed of zero around a hole bottom while performing a smooth deceleration.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to a numerical, controller for a machining tool that performs a drilling operation. 
         [0003]    2. Description of the Related Art 
         [0004]    In order to perform a drilling operation of drilling a workpiece, there is known a drilling device that performs a drilling operation by rotating and feeding a tool with respect to the workpiece. As an acceleration/deceleration mode in the drilling operation, a linear acceleration/deceleration mode or a bell-type acceleration/deceleration mode is performed when the tool is decelerated from a constant speed, the tool is stopped from a deceleration state, the tool is accelerated from a stop state, or the tool is changed to a constant speed from an acceleration state. Here, in the linear acceleration/deceleration mode, the tool speed is abruptly changed. Then, in the hell-type acceleration/deceleration mode, the tool speed is changed in a curved state at the early or late time of the deceleration or acceleration, and is changed in a linear state therebetween so that the tool speed is smoothly changed as a whole. It is considered that an impact for a machine may be reduced in the bell-type acceleration/deceleration mode compared to the linear acceleration/deceleration mode. 
         [0005]    JP 6-274220 A, JP 2001-312309 A, and JP 2004-202594 A disclose a technique of performing a smooth acceleration/deceleration mode such as a bell-type acceleration/deceleration mode in order to reduce an impact for any machine. 
         [0006]    In the above-described related art, the drilling operation is performed at a constant speed. However, since the deceleration is performed in the bell-type acceleration/deceleration mode, a smooth acceleration is performed while the speed waveform in the vicinity of the bottom of a hole is changed from the linear state to the curved state. For that reason, the tool may be stopped at the bottom of a hole so that the tool speed is decreased to about zero while the impact for the machine is reduced. Here, since the next processing is performed after the tool is stopped, the tool is maintained in position at the bottom of a hole in the stop state. As a result, there is a concern that the processing time may be increased. 
       SUMMARY OF THE INVENTION 
       [0007]    Therefore, an object of the invention is to provide a numerical controller that controls a drilling operation and is able to shorten a machining time while maintaining machining accuracy during a drilling operation. 
         [0008]    A numerical controller according to the invention controls a drilling operation of drilling a workpiece by controlling a spindle rotating a rotation tool and a feed shaft moving the rotation tool. The numerical controller includes an acceleration/deceleration maintaining section that selects, when the feed shaft, is decelerated from a constant speed state to a stop state during the drilling operation, a bell-type acceleration/deceleration mode from the constant speed state to a linear part in which the feed shaft is decelerated at a constant rate, and carries out a linear deceleration in an area from the linear part to a stop state in a manner such that the feed shaft is decelerated at the same constant rate as in the linear part. 
         [0009]    According to the present invention, when the feed shaft is decelerated, a bell-type acceleration/deceleration is carried out from a constant speed state to the linear part where deceleration is carried out at a constant rate, thereby carrying out smooth deceleration, and then a linear acceleration/deceleration is carried out from the linear part to a stop state, at the same rate as in the linear part, as a result, it is possible to perform a control with the stop state removed, thereby enabling to perform a high-speed operation around a hole bottom at a speed of around zero. 
         [0010]    The numerical controller may further include: a deficient-movement-amount calculation section that obtains, when the feed shaft is decelerated from the linear part to the stop state, a deficient: movement amount which will be deficient if the linear deceleration is carried out from the linear part to the stop state, with respect to the movement amount achieved when the bell-type acceleration/deceleration mode is applied from the linear part to the stop state; and an accuracy compensation section that compensates machining accuracy by instructing the deficient movement amount obtained by the deficient-movement-amount calculation section before the deceleration is carried out from the constant speed state. 
         [0011]    In the above-described embodiment, a deficient movement amount which will be deficient when the linear acceleration/deceleration is carried out is calculated, with respect to the movement amount achieved when the bell-type acceleration/deceleration is carried out is calculated, and then the movement amount deficient in reaching the bottom of a hole to be originally machined is instructed in advance as a compensation amount, before the deceleration is carried out from the constant speed state. Since the compensation is carried out in this way, the feed shaft can accurately reach the bottom of a hole. 
         [0012]    Since the invention has the above-described configuration, it is possible to provide a numerical controller that controls a drilling operation and is able to shorten a machining time while maintaining machining accuracy during a drilling operation. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0013]    The above-described object, the other object, and the feature of the invention will be proved from the description of embodiments below with reference to the accompanying drawings. In these drawings: 
           [0014]      FIG. 1  is a block diagram illustrating an embodiment of a numerical controller according to the invention; 
           [0015]      FIG. 2  is a diagram illustrating a selection of an acceleration/deceleration control method during a drilling operation using the first embodiment of the numerical controller according to the invention; 
           [0016]      FIG. 3  is a graph illustrating a relation between a speed and a time in a feed shaft during the drilling operation illustrated in  FIG. 2 ; 
           [0017]      FIG. 4  is a graph illustrating a relation of acceleration in the feed shaft during the drilling operation illustrated in  FIG. 2 ; 
           [0018]      FIG. 5  is a flowchart illustrating a sequence of an operation that is performed by the first embodiment of the numerical controller according to the invention; 
           [0019]      FIG. 6  is a diagram illustrating a selection of an acceleration/deceleration control method during a drilling operation using a second embodiment of the numerical controller according to the invention; 
           [0020]      FIG. 7  is a graph illustrating a relation between a speed and a time in a feed shaft during the drilling operation illustrated in  FIG. 6 ; and 
           [0021]      FIG. 8  is a flowchart illustrating a sequence of an operation that is performed by the second embodiment of the numerical controller according to the invention. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0022]    A numerical controller according to the invention will be described with reference to  FIG. 1 . 
         [0023]    A program analysis section  2  reads and analyzes a machining program  1 . A movement instruction start section  4  causes a feed shaft to move based on the analysis data that is analyzed by the program analysis section  2 . An interpolation process section  5  creates an interpolation data by performing an interpolation using the analysis data. An acceleration/deceleration process section  6  drives a servo motor of each axis by accelerating and decelerating the feed shaft based on the created interpolation data. 
         [0024]    A hole-bottom deficient-movement-amount calculation section  3  is provided between the program analysis section  2  and the interpolation process section  5 . The hole-bottom deficient-movement-amount calculation section  3  calculates a deficient movement amount to the bottom of a hole, and the interpolation process section  5  issues an accuracy compensation instruction. A specific method of calculating a compensation amount of the accuracy compensation instruction will be described later. The program analysis section  2 , the hole-bottom deficient-movement-amount calculation section  3 , the movement instruction start section  4 , and the interpolation process section.  5  constitute an accuracy compensation section  30 . 
         [0025]    Subsequently, an acceleration/deceleration mode selection section  7  which is provided in a hole-bottom acceleration/deceleration maintaining section  40  drives the servo motor of each axis by changing and carrying out the acceleration/deceleration mode through the selection of a bell-type acceleration/deceleration mode or a linear acceleration/deceleration mode for the acceleration/deceleration of the feed shaft processed by the acceleration/deceleration process section  6 . 
         [0026]    First, a first embodiment of a numerical controller according to the invention will be described with reference to  FIGS. 2 to 5 . 
         [0027]      FIG. 2  is a diagram illustrating a change of an acceleration/deceleration control method during a drilling operation, where (a) illustrates a state before the drilling operation and (b) illustrates a state during the drilling operation. In  FIG. 2 , Reference sign S indicates a drilling operation start position, and a feed shaft  10  and a tool perform a drilling operation in a rotation state from the drilling operation start position S. From a position before the drilling operation start position S, the feed shaft  10  and the tool move at a constant speed. 
         [0028]    Reference sign P 1  indicates a point where a constant speed machining starts to be changed to a bell-type acceleration/deceleration mode. Reference sign P 2  indicates a point (a linear acceleration/deceleration switching start point) where a linear-type acceleration/deceleration which has been changed from a curved-type acceleration/deceleration in the bell-type acceleration/deceleration mode is changed to a curved-type acceleration/deceleration again, in case of prior art, whereas, in case of the present invention, the linear acceleration/deceleration which has been switched from the curved-type acceleration/deceleration is maintained with the same deceleration as in the linear-type acceleration/deceleration, without being changed again to the curved-type acceleration/deceleration. In case of the present invention, the moving speed at the point P 2  is Fc. 
         [0029]      FIG. 3  is a graph illustrating a relation between a speed and a time in the feed shaft during the drilling operation illustrated in  FIG. 2 . In the case of prior art, since the linear acceleration/deceleration switching start point P 2  (the time t 1 ) is set as a start point of the curved waveform in the bell-type acceleration/deceleration mode, the time at which the speed becomes zero is t 3 . However, in the case of the present embodiment, since the linear acceleration/deceleration is maintained without being switched to the curved acceleration/deceleration, the time at which the speed becomes zero is t 2  that is earner than t 3 . As a result, the operation in the vicinity of the bottom of a hole can be performed at a high-speed as compared with prior art. 
         [0030]    This relation is also described in  FIG. 4  as a graph illustrating a relation between the time and the acceleration Aa of the feed shaft during the drilling operation illustrated in  FIG. 2 . In  FIG. 4 , a waveform in the case of the bell-type acceleration/deceleration according to prior art technique is indicated by dotted lines, whereas a waveform in the case of the linear acceleration/deceleration according to the present embodiment is indicated by solid lines. 
         [0031]      FIG. 5  is a flowchart illustrating a sequence of an operation that is performed by the first embodiment of the numerical controller according to the invention. Hereinafter, description is given below in line with the steps of the flowchart.
       (step SA 1 ) The constant speed machining is changed to the bell-type acceleration/deceleration.   (step SA 2 ) It is determined whether the speed reaches the acceleration/deceleration mode switching speed Fc or not. When the speed reaches Fc (YES), the routine proceeds to step SA 3 . Otherwise (NO), the process in step SA 2  is repeated until the speed reaches Fc.   (step SA 3 ) It is determined whether the high-speed setting state is valid or not. When the high-speed setting is valid (YES), the routine proceeds to step SA 4 . Otherwise (NO), the routine proceeds to step SA 5 .   (step SA 4 ) A linear acceleration/deceleration of the same deceleration as in the linear-type acceleration/deceleration in the bell-type acceleration/deceleration mode is carried out.   (step SA 5 ) The linear-type acceleration/deceleration is switched to the curved-type acceleration/deceleration according to the original bell-type acceleration/deceleration mode.   (step SA 6 ) It is determined whether the current position reaches the bottom of a hole position or not. When the current position reaches the bottom of a hole (YES), this operation ends. Otherwise (NO), the process in step SA 6  is repeated until the current position reaches the bottom of a hole.       
 
         [0038]    Next, a second embodiment of the numerical controller according to the invention will be described with reference to  FIGS. 6 to 8 . 
         [0039]    In the bell-type acceleration/deceleration mode, the original waveform changes from the linear acceleration/deceleration to the curved acceleration/deceleration at the speed of about zero. However, if the deceleration is carried out while maintaining the linear acceleration/deceleration state, instead of being changed to the curved acceleration/deceleration state, as in the first embodiment, then there may be a case where the movement amount is not enough to reach the bottom of a hole. So, in the present embodiment, a movement amount deficient in reaching the bottom of a hole is calculated in advance before changing from a constant speed machining to the bell-type acceleration/deceleration mode, so that a compensation instruction is given. 
         [0040]      FIG. 6  is a diagram illustrating a change in an acceleration/deceleration control method during a drilling operation, where (a) illustrates a state before the drilling operation, and (b) illustrates a state during the drilling operation. In  FIG. 6 , reference sign S indicates a drilling operation start position, and a drilling operation starts with the feed shaft  10  and the tool rotating, from the drilling operation start position S. The feed shaft  10  and the tool move at a constant speed from a position before the drilling operation start position S. 
         [0041]    Reference sign PA indicates a point at which compensation of the speed of the feed shaft is started, and Reference sign P 1  indicates a point where a constant speed machining starts to be changed to a bell-type acceleration/deceleration mode. Reference sign P 2  indicates a point (a linear acceleration/deceleration switching start point) where a linear-type acceleration/deceleration which has been changed from a curved-type acceleration/deceleration in the bell-type acceleration/deceleration mode is changed to a curved-type acceleration/deceleration again, in case of prior art, whereas, in case of the present invention, the linear acceleration/deceleration which has been switched from the curved-type acceleration/deceleration is maintained with the same deceleration as in the linear type acceleration/deceleration without being changed again to the curved-type acceleration/deceleration. In case of the present invention, the moving speed at the point P 2  is Fc. Here, the process from the start of compensation at point PA until the start of the bell-type acceleration/deceleration mode after completion of the compensation is referred to as A. 
         [0042]      FIG. 7  is a graph illustrating a relation between a speed and a time in the feed shaft during the drilling operation illustrated in  FIG. 6 . In case of prior art, as the linear acceleration/deceleration switching start point P 2  (the time t 1 ) is set as the start point of the curved waveform of the bell-type acceleration/deceleration mode, the time at which the speed becomes zero is t 3 . However, in the case of the present embodiment, as the linear acceleration/deceleration state is maintained, instead of being changed to the curved acceleration/deceleration state, the time at which the speed becomes zero is t 2  which is earlier than t 3 . As a result, the operation in the vicinity of the bottom of a hole can be performed at a high-speed as compared with prior art. 
         [0043]    Here, as illustrated in  FIG. 7 , the waveform of the bell-type acceleration/deceleration mode (prior art) in which a linear acceleration/deceleration is changed to a curved acceleration/deceleration at the linear acceleration/deceleration switching start point P 2  becomes D, and the movement distance from the linear acceleration/deceleration switching start point P 2  to a point at which the speed becomes zero is Xd+Xc. On the contrary, the waveform of the present embodiment in which a linear acceleration/deceleration in the bell-type acceleration/deceleration mode is maintained in deceleration even after the linear acceleration/deceleration switching start point P 2  becomes C, and the movement distance from the linear acceleration/deceleration switching start point P 2  to a point at which the speed becomes zero is Xc. Therefore, the forward movement in the groove bottom is not sufficient by the amount Xd. For this reason, in the present embodiment, such a deficient movement amount Xd deficient in reaching the bottom of a hole is calculated in advance before changing from a constant speed machining to the bell-type acceleration/deceleration mode, so that compensation is carried out by delaying the timing of switching the constant speed machining to the bell-type acceleration/deceleration mode by an amount corresponding to the calculated amount Xd. 
         [0044]      FIG. 8  is a flowchart illustrating a sequence of an operation that is performed by the second embodiment of the numerical controller according to the invention. Hereinafter, description is given below in line with the steps of the flowchart.
       (step SB 1 ) The machining program is read and analyzed.   (step SB 2 ) It is determined whether or not a bell-type acceleration/deceleration mode is selected as a rigid-type acceleration/deceleration mode. When the bell-type acceleration/deceleration mode is selected (YES), the routine proceeds to step SB 4 . Otherwise (NO), the routine proceeds to step SB 3 .   (step SB 3 ) The routine ends by performing a normal rigid-type process.   (step SB 4 ) It is determined whether the current position reaches the deceleration start position or not. When the current position reaches the deceleration start position (YES), the routine proceeds to step SB 5 . Otherwise (NO), the routine in step SB 4  is repeated until the current position reaches the deceleration start position.   (step SB 5 ) It is determined whether the high-speed setting state is valid or not. When the high-speed setting is valid (YES), the routine proceeds to step SB 6 . Otherwise (NO), the routine proceeds to step SB 9 .   (step SB 6 ) An area which will be deficient in reaching the bottom of a hole is calculated.   (step SB 7 ) Instruction for a movement amount which will be deficient in reaching the bottom of the hole is issued. More specifically, compensation is carried out by delaying the timing in which a constant speed machining is switched to a bell-type acceleration/deceleration mode.   (step SB 8 ) An acceleration/deceleration is carried out by maintaining the linear acceleration/deceleration state, without changing the previous linear acceleration/deceleration in a bell-type acceleration/deceleration mode.   (step SB 9 ) The linear acceleration/deceleration in the bell-type acceleration/deceleration mode is changed to the curved acceleration/deceleration in the bell-type acceleration/deceleration mode, based on the original bell-type acceleration/deceleration.       
 
         [0054]    (step SB 10 ) It is determined whether the current position reaches the bottom of the hole or riot. When the current position reaches the bottom of the hole (YES), the routine ends. Otherwise (NO), the process in step SB 10  is repeated until the current position reaches the bottom of the hole. 
         [0055]    Next, a method for calculating a deficient movement amount deficient in reaching the bottom of a hole with respect to the part D in which the speed waveform during drilling operation changes from the linear acceleration/deceleration to the curved acceleration/deceleration in the bell-type acceleration/deceleration mode and the part C in which the linear acceleration/deceleration is carried out with the same deceleration as the linear acceleration/deceleration in the bell-type acceleration/deceleration mode, for explaining the difference in the deficient movement amounts between the parts D and C. 
         [0056]    First, the area (Xd+Xc) of the curved part of the bell-type acceleration/deceleration mode in the case (the part D) where a linear acceleration/deceleration is changed to a curved acceleration/deceleration in a bell-type acceleration/deceleration mode may be calculated as below, where: 
         [0057]    t 0  indicates a time which the bell-type acceleration/deceleration mode starts; 
         [0058]    t 1  indicates a time at which a linear acceleration/deceleration in a bell-type acceleration/deceleration mode is changed to a curved acceleration/deceleration; 
         [0059]    t 2  indicates a time at which the current position reaches the bottom of a hole in case where a linear acceleration/deceleration is carried out, without changing the previous linear acceleration/deceleration in a bell-type acceleration/deceleration mode to the curved deceleration as the linear acceleration/deceleration in the bell-type acceleration/deceleration mode; 
         [0060]    t 3  indicates a time at which the current position reaches the bottom of the hole in case where the linear acceleration/deceleration in the bell-type acceleration/deceleration mode is changed to the curved acceleration/deceleration at time t 1 ; 
         [0061]    Fc indicates a speed at which the current position reaches the bottom of the hole when the linear acceleration/deceleration in the bell-type acceleration/deceleration mode is changed to the curved. acceleration/deceleration at time t 1 ; 
         [0062]    Fa indicates an instruction speed (a speed during the constant speed machining); and 
         [0063]    Aa indicates an acceleration in the bell-type acceleration/deceleration mode. 
         [0064]    The respective values are set as below. 
         [0065]    The time constant t 3 −t 1  of the curved part is set by parameters. 
         [0066]    The time constant t 1 −t 0  of the curved part plus the linear part is set by parameters. 
         [0067]    The instruction speed Fa is instructed by a program. 
         [0068]    The total movement amount X is instructed by a program. 
         [0069]    When the function of acceleration in the time range t 3 −t 1 , starting from t 1  at which switching of the linear part to the curved part in the bell-type acceleration/deceleration mode is made with an acceleration zero is carried out, is denoted by A(T), A(T) is given as below. 
         [0000]    
       
         
           
             
               
                 
                   
                     A 
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   = 
                   
                     
                       ( 
                       
                         
                           t 
                           
                             
                               t 
                                
                               
                                   
                               
                                
                               3 
                             
                             - 
                             
                               t 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                         
                         - 
                         1 
                       
                       ) 
                     
                      
                     Aa 
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
     
         [0070]    The speed Fc when the linear part the bell-type acceleration/deceleration mode is changed to the curved part, is given below. 
         [0000]        Fc= 1/2 Aa ×( t 3− t 1)   (2)
 
         [0071]    When the function in the time range t 3 −t 1 , starting from t 1  at which switching of the linear part to the curved part in the bell-type acceleration/deceleration mode is made with an acceleration zero is carried out, is denoted by F(T), F(T) is given as below. 
         [0072]    When the function from t 1  (the acceleration of zero at the changed part from the linear part to the curved part in the bell-type acceleration/deceleration mode) to t 3 −t 1  in the bell-type acceleration/deceleration mode is denoted by F(t), F(t) is obtained as below. 
         [0000]    
       
         
           
             
               
                 
                   
                     F 
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   = 
                   
                     
                       Fc 
                       + 
                       
                         ∫ 
                         
                           
                             ( 
                             
                               A 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                             ) 
                           
                            
                           
                              
                             t 
                           
                         
                       
                     
                     = 
                     
                       
                         Fc 
                         + 
                         
                           ∫ 
                           
                             
                               ( 
                               
                                 
                                   t 
                                   
                                     
                                       t 
                                        
                                       
                                           
                                       
                                        
                                       3 
                                     
                                     - 
                                     
                                       t 
                                        
                                       
                                           
                                       
                                        
                                       1 
                                     
                                   
                                 
                                 - 
                                 1 
                               
                               ) 
                             
                              
                             Aa 
                              
                             
                                
                               t 
                             
                           
                         
                       
                       = 
                       
                         
                           
                             1 
                             2 
                           
                            
                           Aa 
                           × 
                           
                             ( 
                             
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 3 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                             ) 
                           
                         
                         + 
                         
                           
                             ( 
                             
                               
                                 
                                   t 
                                   2 
                                 
                                 
                                   2 
                                    
                                   
                                     ( 
                                     
                                       
                                         t 
                                          
                                         
                                             
                                         
                                          
                                         3 
                                       
                                       - 
                                       
                                         t 
                                          
                                         
                                             
                                         
                                          
                                         1 
                                       
                                     
                                     ) 
                                   
                                 
                               
                               - 
                               t 
                             
                             ) 
                           
                            
                           Aa 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   3 
                   ) 
                 
               
             
           
         
       
     
         [0073]    Accordingly, the area (Xc+Xd) of the curved part in the bell-type acceleration/deceleration mode obtained when the acceleration/deceleration is changed from the linear part to the curved part is given as below. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         
                           ( 
                           
                             Xc 
                             + 
                             Xd 
                           
                           ) 
                         
                         = 
                           
                          
                         
                           
                             ∫ 
                             0 
                             
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 3 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                           
                            
                           
                             
                               F 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                              
                             
                                 
                             
                              
                             
                                
                               t 
                             
                           
                         
                       
                     
                   
                   
                     
                       
                         = 
                           
                          
                         
                           
                             ∫ 
                             0 
                             
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 3 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                           
                            
                           
                             
                               ( 
                               
                                 
                                   
                                     1 
                                     2 
                                   
                                    
                                   Aa 
                                   × 
                                   
                                     ( 
                                     
                                       
                                         t 
                                          
                                         
                                             
                                         
                                          
                                         3 
                                       
                                       - 
                                       
                                         t 
                                          
                                         
                                             
                                         
                                          
                                         1 
                                       
                                     
                                     ) 
                                   
                                 
                                 + 
                                 
                                   
                                     ( 
                                     
                                         
                                     
                                      
                                     
                                       
                                         
                                           t 
                                           2 
                                         
                                         
                                           2 
                                            
                                           
                                             ( 
                                             
                                               
                                                 t 
                                                  
                                                 
                                                     
                                                 
                                                  
                                                 3 
                                               
                                               - 
                                               
                                                 t 
                                                  
                                                 
                                                     
                                                 
                                                  
                                                 1 
                                               
                                             
                                             ) 
                                           
                                         
                                       
                                       - 
                                       t 
                                     
                                     ) 
                                   
                                    
                                   Aa 
                                 
                               
                               ) 
                             
                              
                             
                                
                               t 
                             
                           
                         
                       
                     
                   
                   
                     
                       
                         = 
                           
                          
                         
                           
                             
                               1 
                               2 
                             
                              
                             Aa 
                             × 
                             
                               ( 
                               
                                 
                                   t 
                                    
                                   
                                       
                                   
                                    
                                   3 
                                 
                                 - 
                                 
                                   t 
                                    
                                   
                                       
                                   
                                    
                                   1 
                                 
                               
                               ) 
                             
                             × 
                             
                               ( 
                               
                                 
                                   t 
                                    
                                   
                                       
                                   
                                    
                                   3 
                                 
                                 - 
                                 
                                   t 
                                    
                                   
                                       
                                   
                                    
                                   1 
                                 
                               
                               ) 
                             
                           
                           + 
                           
                             
                               ( 
                               
                                 
                                   
                                     
                                       ( 
                                       
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           3 
                                         
                                         - 
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           1 
                                         
                                       
                                       ) 
                                     
                                     3 
                                   
                                   
                                     6 
                                      
                                     
                                       ( 
                                       
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           3 
                                         
                                         - 
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           1 
                                         
                                       
                                       ) 
                                     
                                   
                                 
                                 - 
                                 
                                   
                                     
                                       ( 
                                       
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           3 
                                         
                                         - 
                                         
                                           t 
                                            
                                           
                                               
                                           
                                            
                                           1 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                   2 
                                 
                               
                               ) 
                             
                              
                             Aa 
                           
                         
                       
                     
                   
                   
                     
                       
                         = 
                           
                          
                         
                           
                             
                               
                                 ( 
                                 
                                   
                                     t 
                                      
                                     
                                         
                                     
                                      
                                     3 
                                   
                                   - 
                                   
                                     t 
                                      
                                     
                                         
                                     
                                      
                                     1 
                                   
                                 
                                 ) 
                               
                               2 
                             
                             6 
                           
                            
                           Aa 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   4 
                   ) 
                 
               
             
           
         
       
     
         [0074]    Next, the area (Xc) from the linear acceleration/deceleration switching start point P 2  in the case (the part C) where the linear acceleration is maintained in an acceleration control is given as below. 
         [0000]      1/2× Fc ×( t 2− t 1)=1/4× Aa ×( t 2− t 1)( t 3− t 1)   (5)
 
         [0075]    Accordingly, the Xd, which is a deficient movement area shown in  FIG. 3 , may be calculated as below by the equations (4) and (5) above. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       ( 
                       
                         Xc 
                         + 
                         Xd 
                       
                       ) 
                     
                     - 
                     Xc 
                   
                   = 
                   
                     
                       
                         
                           
                             ( 
                             
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 3 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                             ) 
                           
                           2 
                         
                         6 
                       
                       × 
                       Aa 
                     
                     - 
                     
                       
                         1 
                         4 
                       
                       × 
                       Aa 
                       × 
                       
                         ( 
                         
                           
                             t 
                              
                             
                                 
                             
                              
                             2 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             1 
                           
                         
                         ) 
                       
                        
                       
                         ( 
                         
                           
                             t 
                              
                             
                                 
                             
                              
                             3 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             1 
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   6 
                   ) 
                 
               
             
           
         
       
     
         [0076]    The acceleration Aa may be calculated as below by using the instruction speed Fa. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       Fa 
                       - 
                       
                         2 
                          
                         
                             
                         
                          
                         Fc 
                       
                     
                     = 
                     
                       Aa 
                       × 
                       
                         ( 
                         
                           
                             ( 
                             
                               
                                 T 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 0 
                               
                             
                             ) 
                           
                           - 
                           
                             ( 
                             
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 3 
                               
                               - 
                               
                                 t 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                             ) 
                           
                         
                         ) 
                       
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       Fa 
                       - 
                       
                         Aa 
                          
                         
                           ( 
                           
                             
                               t 
                                
                               
                                   
                               
                                
                               3 
                             
                             - 
                             
                               t 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                           ) 
                         
                       
                     
                     = 
                     
                       Aa 
                       × 
                       
                         ( 
                         
                           
                             2 
                              
                             
                                 
                             
                              
                             t 
                              
                             
                                 
                             
                              
                             1 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             0 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             3 
                           
                         
                         ) 
                       
                     
                   
                    
                   
                     
 
                   
                    
                   
                     Aa 
                     = 
                     
                       - 
                       
                         Fa 
                         
                           
                             t 
                              
                             
                                 
                             
                              
                             1 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             0 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
           
         
       
     
         [0077]    Fc may be calculated as below by using the time t 2 . 
         [0000]        Fc=Aa ×( t 2− t 1)   (8)
 
         [0078]    Accordingly, t 2  may be calculated as below from the equation (2) above. 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         1 
                         2 
                       
                        
                       
                         Aa 
                          
                         
                           ( 
                           
                             
                               t 
                                
                               
                                   
                               
                                
                               3 
                             
                             - 
                             
                               t 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                           ) 
                         
                       
                     
                     = 
                     
                       Aa 
                       × 
                       
                         ( 
                         
                           
                             t 
                              
                             
                                 
                             
                              
                             2 
                           
                           - 
                           
                             t 
                              
                             
                                 
                             
                              
                             1 
                           
                         
                         ) 
                       
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       t 
                        
                       
                           
                       
                        
                       2 
                     
                     = 
                     
                       
                         
                           t 
                            
                           
                               
                           
                            
                           3 
                         
                         = 
                         
                           T 
                            
                           
                               
                           
                            
                           1 
                         
                       
                       2 
                     
                   
                 
               
               
                 
                   ( 
                   9 
                   ) 
                 
               
             
           
         
       
     
         [0079]    Next, the time which is reduced by these embodiments will be described. 
         [0080]    As the machining program,
       M29 S1000;   G84z-100. r-20. F4000.;   G80;
 
are instructed. Here, the time constant t 1 −t 0  is set as 200 msec and the curved time constant t 3 −t 1  is set as 32 msec.
       
 
         [0084]    From the equation (9) above, if t 0 =0, then t 1 =200, t 3 =232, and t 2 =216. Further, regarding acceleration Aa, from the equation (7) above, Aa=Fa/t1=4000/(60×1000×200)−0.000166 mm/ms 2 . 
         [0085]    Then, from the equation (6) above, the deficient movement area Xd is given as below. 
         [0000]    
       
         
           
             
               
                 
                   Xd 
                   = 
                   
                     
                       
                         
                           0.000166 
                           × 
                           
                             
                               ( 
                               
                                 232 
                                 - 
                                 200 
                               
                               ) 
                             
                             2 
                           
                         
                         6 
                       
                       - 
                       
                         
                           1 
                           4 
                         
                         × 
                         0.000166 
                         × 
                         
                           ( 
                           
                             216 
                             - 
                             200 
                           
                           ) 
                         
                         × 
                         
                           ( 
                           
                             232 
                             - 
                             200 
                           
                           ) 
                         
                       
                     
                     = 
                     
                       0.00708 
                        
                       
                           
                       
                        
                       
                         ( 
                         
                           mm 
                           2 
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
           
         
       
     
         [0086]    Further, the time (td) to be added by the compensation by an accuracy compensation section is given below. 
         [0000]        td=Xd/Fa= 0.0708 (mm 2 )/4000 (mm/min)=0.0000042 (min)=0.106 (ms)   (11)
 
         [0087]    Further, the time (tc) which is reduced by a hole bottom acceleration/deceleration maintaining section is given below. 
         [0000]        tc=t 3− t 2=232−216=16 (ms)
 
         [0088]    Accordingly, a time (ta) to be totally reduced is given below. 
         [0000]        ta=tc−td= 16.0−0.106=15.9 (msec)