Numerical control device for performing smooth deceleration and stopping
10671054 ยท 2020-06-02
Assignee
Inventors
Cpc classification
G05B19/416
PHYSICS
International classification
Abstract
A numerical control device configured to perform stopping control of an axis of a machining tool to be controlled corresponding to command for machining interruption during machining by moving a workpiece or a tool using cycle operation, the numerical control device includes an override input unit, a decelerating and stopping override change unit configured to calculate actual override, decelerated in stages at each interpolation period based on the override acquired by the override input unit, and a velocity calculation unit configured to decelerating and stopping control of the axis.
Claims
1. A numerical control device configured to perform stopping control of an axis of a machining tool to be controlled corresponding to command for machining interruption during high-speed cycle machining by moving a workpiece or a tool using cycle operation for repeatedly performing same motion, wherein the numerical control device is further configured to analyze an NC program for machining based on an NC program command and to calculate a feed rate at each interpolation period obtained respectively by dividing each input period, the numerical control device comprising: an override input unit configured to acquire override to be input in the input period longer than the interpolation period; a decelerating and stopping override change unit configured to calculate actual override, decelerated in stages at each interpolation period through dividing the override acquired by the override input unit in the input period by the interpolation period; and a velocity calculation unit configured to perform decelerating and stopping control of the axis based on the actual override, wherein said interpolation occurs during the high-speed cycle machining when any one of resetting, feed holding, and interlocking is performed; and in restarting the operation after the deceleration and stop by performing any one of the resetting, the feed holding, and the interlocking, the actual override is changed in stages at each interpolation period of the cycle from 0% to the actual override at start.
2. The numerical control device according to claim 1, wherein the decelerating and stopping override change unit is configured to calculate the actual override such that the axis decelerates to stop at a predetermined position of the cycle operation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) 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:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(13) Decelerating and stopping function in high-speed cycle machining according to an embodiment of the present invention will be outlined first.
(14) The numerical control device with the decelerating and stopping function in high-speed cycle machining in the present embodiment changes actual override stepwisely at each interpolation period such that the actual override to be 0% in predetermined deceleration time, when any one of resetting, feed holding, and interlocking is performed during the high-speed cycle machining. The machine is smoothly stopped in a short time by changing the actual override not at the signal input period but at the interpolation period. In addition to that, the numerical control device with the decelerating and stopping function in high-speed cycle machining in the present embodiment, when any one of resetting, feed holding, and interlocking is performed during the high-speed cycle machining, does not decelerate and stop immediately, but performs decelerating and stopping such that the machine stops at the predetermined position in cycle operation if necessary.
(15)
(16) The numerical control device 100, for machining based on NC program command, analyzes the NC program by the command program analysis unit 110, calculates the feed rate at each interpolation period by the feed rate calculation unit 120, performs interpolation by the interpolation unit 130 based on the feed rate, performs acceleration and deceleration by the post interpolation decelerating and accelerating unit 140, drives a servo motor 200 through the servo motor control unit 150, and relatively moves the workpiece and the tool.
(17) The numerical control device 100, for high-speed cycle machining, acquires the high-speed cycle machining data from the high-speed cycle machining data acquisition unit 160 by the command program analysis unit 110 as shown in a void arrow in
(18) In the conventional calculation of the feed rate, the command rate is acquired by the command program analysis unit 110, the override is acquired by the override input unit 170, the override is set to the actual override at signal input period by the feed rate calculation unit 120, and multiples the command rate and the actual override to calculate the feed rate.
(19) In contrast, in the calculation of the feed rate in the present embodiment, the command rate is acquired by the command program analysis unit 110, the override is acquired by the override input unit 170, current override is changed to 0% stepwisely in the predetermined time by the decelerating and stopping override change unit 180 in case of any one of resetting, feed holding, and interlocking, the actual override of the decelerating and stopping override change unit 180 is acquired at each interpolation period by the feed rate calculation unit 120, and multiples the command rate and the actual override at interpolation period to calculate the feed rate. The decelerating and stopping override change unit 180 in the present embodiment belongs to the feed rate calculation unit 120.
(20) Feed rate control when any one of resetting, feed holding, and interlocking is performed during the high-speed cycle machining, in the numerical control device 100 in the present embodiment with the above configuration, will be described below.
(21)
(22) As shown in
(23) In contrast, in the numerical control device in the present embodiment, since the decelerating and stopping override change unit 180 calculates the actual override at interpolation cycle and the actual override (OVRp) finely changes, the machine moves more smoothly and decelerates and stops compared to the prior art.
(24) The decelerating and stopping override change unit 180 in the numerical control device 100 in the present embodiment, as shown in
(25) The actual override OVRp at time Tp in interpolation period is represented by the equation (1), in time of the predetermined deceleration time Ts. Here, the minimum value of the OVRp is zero.
(26)
(27) It should be noted that, in the restart of the operation after deceleration and stop by the feed holding or the interlocking, smooth acceleration is enabled by changing the actual override stepwisely at each interpolation cycle from 0% to the actual override at start (OVR0) in the deceleration time Ts.
(28) The decelerating and stopping override change unit 180 in the numerical control device 100 in the present embodiment adjusts the start time of the deceleration such that the machine stops at the predetermined position in cycle operation, including the position at the time when operation of one period of cycle operation completes if necessary.
(29) When the actual override is 100%, a set of the high-speed cycle machining data is executed in an execution period. When the actual override is 50%, a set of the high-speed cycle machining data is executed in two execution periods. Thus, number of the set of the execution data at each execution period can be calculated based on the actual override. For example, when the actual override is 50%, number of execution data for one execution period is 0.5. The execution period of the high-speed cycle machining data can be changed by a parameter, and number of execution data (Dp) for an interpolation period (CYCp) is represented by Equation (2).
(30)
(31) Total sum of the number of the execution data (Dp) in the deceleration time Ts is equal to the number of decelerating and stopping data in the high-speed cycle machining data. Figure after the decimal point of the decelerating and stopping data of the high-speed cycle machining data is round up. When the actual override varies from 75% to, 50%, 25%, and 0% in each interpolation period (CYCp), the number of the execution data (Dp) varies from 0.75 to, 0.5, 0.25 and 0.0. The total sum of the number of execution data (Dp) is equal to 1.5, so the decelerating and stopping data number (Dn) is equal to 2.
(32) The decelerating and stopping override change unit 180 in the present embodiment, as shown in
(33)
(34) The process is executed under conditions below.
(35) Condition 1: Decelerating and stopping completion flag is set as Fc. (Fc=0 at initial state and resetting state)
(36) Condition 2: Decelerating and stopping flag is set as Fe. (Fe=0 at initial state and resetting state)
(37) Condition 3: Time of the interpolation period when the process is called is set as Tp.
(38) Condition 4: When any one of resetting, feed holding, and interlocking is executed at time T0, the actual override is stepwisely changed to 0% in the predetermined time.
(39) [Step SA01] It is determined whether the decelerating and stopping completion flag Fc is set (to be 1) or not. The process in the current period ends when the decelerating and stopping completion flag Fc is set, while the process proceeds to Step SA02 when not.
[Step SA02] It is determined whether the decelerating and stopping flag Fe is set (to be 1) or not. The process proceeds to Step SA05 when the decelerating and stopping flag Fe is set, while the process proceeds to Step SA03 when not.
[Step SA03] It is determined whether operation of commanding resetting, feed holding, or interlocking is performed or not. If the operation is performed, the process proceeds to Step SA04, while the process in the current period ends it when the operation is not performed.
[Step SA04] Value of each variable for decelerating and stopping is initialized. The deceleration start time T0 is set to be time Tp in the interpolation period, and the current override is acquired from the override input unit 170 to be set as the actual override OVR0. In addition to that, the decelerating and stopping flag Fe is set.
[Step SA05] The actual override OVRp of Tp is calculated using Equation (1).
[Step SA06] It is determined whether OVRp is equal to or less than 0. The process proceeds to Step SA07 when OVRp is equal to or less than 0, while the process in the current period ends when not.
[Step SA07] Completion process of decelerating and stopping is performed. The actual override OVRp is set to 0, the decelerating and stopping flag Fe is reset, and the decelerating and stopping completion flag is set to end the process in the current period.
(40) The embodiments of the present invention are described above. The present invention is not limited to the examples of the above embodiments, but is implemented in the other embodiments. For example, a position in cycle operation may be preset in the machining program or operation by the operator such that the machine stops at the preset position in the cycle operation, though the example in which the machine is adjusted to stop at the position at the time when operation of one period of cycle operation completes.
(41) In addition to that, it is mentioned in the above embodiment that the value of the deceleration time Ts is preset, but the value may be set using not the deceleration time Ts but override change rate Rs at deceleration. In this case, since the deceleration time Ts is calculated by OVR0/Rs, using the override OVR0 at the time when the machining is interrupted and the preset override change rate Rs, the calculation may be executed based on Ts as the embodiment above.