Numerical controller for controlling overlap of press operations
10409266 ยท 2019-09-10
Assignee
Inventors
Cpc classification
G05B19/402
PHYSICS
G05B2219/34175
PHYSICS
G05B19/4155
PHYSICS
International classification
G05B19/4155
PHYSICS
Abstract
A numerical controller is provided with an axis motion control unit configured to control the motions of a table axis and a press axis according to a machining program. The axis motion control unit starts the motion of the press axis for a first block at a first top dead center, if the state of the table axis satisfies a condition adapted for the start of the motion of the press axis for the second block and if the motion of the press axis for the first block is not completed, and the axis motion control unit starts the motion of the press axis for a second block at a second top dead center lower than the first top dead center, thereby overlapping the motions of the press axis for the first and second blocks.
Claims
1. A numerical controller comprising: a processor configured to control the motions of a table along a table axis and a press along a press axis according to a machining program having a first block and a second block, wherein according to the machining program, the processor is configured to: 1) start the motion of the press axis for the first block at a first top dead center, and 2) start the motion of the press axis for the second block at a clearance lower than the first top dead center, thereby overlapping the motions of the press axis for the first and second blocks, when: a) the state of the table axis satisfies a condition adapted for the start of the motion of the press axis for the second block, b) the motion of the press axis for the first block is not completed, and c) the clearance is greater than or equal to a minimum clearance, the clearance calculated based on a remaining travel time for the press in the first block and an amount of movement of the press measured from a start of the second block.
2. The numerical controller according to claim 1, wherein the processor is further configured to: calculate, when the state of the table axis satisfies the condition adapted for the start of the motion of the press axis for the second block and when the motion of the press axis for the first block is not completed, a predicted top dead center for the case in which the overlapping is started at the present point in time, based on a remaining time for the motion of the press axis for the first block, and cause the axis motion control unit to start the overlapping if the height of the predicted top dead center is not lower than a predetermined threshold.
3. The numerical controller according to claim 1, wherein the axis motion control unit executes the overlapping when a high-speed machining mode is ON.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(13)
(14) The numerical controller 100 comprises a determination unit 110 and an axis motion control unit 120. The numerical controller 100 is an information processor typically provided with a central processing unit (CPU), storage device, and input/output device and configured to logically implement the determination unit 110 and the axis motion control unit 120 as the CPU executes a predetermined program.
(15) The determination unit 110 performs processing for monitoring the motions of table axes (X- and Y-axes) and a press axis and determining whether or not the motion of the press axis can be overlapped.
(16) The axis motion control unit 120 controls the motions of the table axes (X- and Y-axes) and the press axis according to the machining program and performs control for overlapping the motion of the press axis in response to a command from the determination unit 110.
(17) An outline of the operation of the numerical controller 100 will now be described with reference to
(18) First, the determination unit 110 detects a state in which the states of the table axes satisfy conditions for the start of a press operation and the press operation for the previous block is not completed. If the states of the table axes satisfy the conditions for the start of the press operation, then temporal conditions in which overlapping of the table axes and the press axis can be started are met. More specifically, the satisfaction of the starting conditions implies the passage of the point in time preceding the estimated time for the completion of the motions of the table axes by a necessary time interval during which a punch head having started its operation at the top dead center reaches the upper surface of a workpiece.
(19) When the determination unit 110 detects the above-described state, the axis motion control unit 120 can start the press operation for the next block by overlapping it with the press operation for the previous block. If the distance (clearance) between the position of the punch head and the upper surface of the workpiece is too short as this is done, however, machining defects easily occur. Thereupon, in the present embodiment, the minimum value of the clearance (hereinafter referred to as the minimum clearance) to be maintained is defined as another condition for starting the overlapping between the press operations. When the above-described state is detected and if the minimum clearance is obtained by the position of the punch head, the determination unit 110 commands the axis motion control unit 120 to start overlap control for the press operations. In this way, the numerical controller 100 can improve the hit rate while maintaining the machining quality. In (II) and (III) of
(20) Here the minimum clearance (also referred to as a second top dead center) is a parameter separate from a conventionally used clearance (also referred to as a first top dead center) and these two parameters can coexist with each other. The conventional clearance has a value set for each of conditions such as a workpiece thickness, and a press operation pattern is also provided for each of these conditions. On the other hand, the parameter introduced as the minimum clearance according to the present embodiment can be freely set independently of the operation pattern by a user. Therefore, the user can set and chance the minimum clearance without changing the operation pattern. It is to be understood that the relation conventional clearance>minimum clearance holds.
(21) In some cases, the conventional clearance may be set with a tolerance in consideration of warp or undulation of the workpiece. If the amount of table movement is small, however, the influence of the warp or undulation of the workpiece is so small that machining can be carried out without the interference be the workpiece and a tool despite the use of the minimum clearance (second top dead center) smaller than the conventional clearance (first top dead center).
(22) The determination unit 110 or the axis motion control unit 120 may be configured to switch the presence or absence of implementation of the overlapping between the press operations in response to an M code, input signal, or the like. Thus, if high-speed machining is not required, higher machining qualities can be pursued without overlapping the press operations.
(23) A method in which the axis motion control unit 120 overlaps the motions of the press axis will be described further in detail with reference to
(24) At the start of the overlapping, the axis motion control unit 120 adds pulses of the press operation for the previous block (also referred to as a first block) to pulses of the press operation for the next block (also referred to as a second block). Thus, the punch head changes its speed in the manner indicated by (II) of
(25) A method in which the determination unit 110 detects the maintenance of the minimum clearance will be described with reference to
(26) An integrated value of the amount of movement of the punch head from the start of the block (point in time when the punch head leaves the workpiece) to the present time is assumed to be A. Moreover, the distance between the punch head and the upper surface of the workpiece at a point in time when the punch head speed should become 0 if the overlapping is started at the present time is assumed to be a clearance C. In other words, the clearance C is the amount of movement of the punch head from the block start until the punch head speed becomes 0. The determination unit 110 calculates the value of the clearance C (also referred to as a predicted top dead center) predicted at the time concerned at regular time intervals and starts the overlapping when clearance Cminimum clearance is obtained.
(27) Here a remaining travel time T for the press operation for the previous block is defined as follows:
(28) In case in which distribution pulses P remain:
T=P/F+.
(29) In case in which the distribution pulses P do not remain:
T=f/F.
(30) The case in which the distribution pulses P remain is a case in which the punch head is moving at a command speed. On the other hand, the case in which the distribution pulses P do not remain is a case in which the punch head is decelerating. Symbol denotes the time constant of pressing, that is, the time required for attaining the command speed, and F denotes a command speed of the pressing.
(31) The clearance C is obtained according to the following equations based on the remaining travel time T for the press operation for the previous block.
(32) In case of 2T> (see
C=A+(T)(F+F/T)/2+F/T(T/2)/2=A+(2FTF)/4.(1)
(33) In case of T (see
C=A+(FT/T/2)/2=A+FT.sup.2/4.(2)
(34) In case of T2, overlapping is performed so that T= is obtained, thereby clamping the time for the start of the pressing (see
(35) The operation of the numerical controller 100 will be described with arrangement with reference to the flowchart of
(36) Step S1: The axis motion control unit 120 creates a move command for the press axis. The determination unit 110 calculates the movement amount integrated value A of the press axis at regular time intervals after the start of the block (when the punch head leaves the workpiece).
(37) Step S2: The determination unit 110 determines whether or not positions in which the press operation for the next block can be carried out are reached by the table axes. If these positions are reached, the processing proceeds to Step S3. If not, the processing returns to Step S1.
(38) Step S3: The determination unit 110 determines whether or not the press operation for the previous block is completed. If the press operation is not completed, the processing proceeds to Step S4. If the press operation is completed, the processing proceeds to Step S9.
(39) Step S4: The determination unit 110 determines whether or not a high-speed machining mode is on. If the high-speed machining mode is on, the processing proceeds to Step S5. If not, the processing returns to Step S1.
(40) Step S5: The determination unit 110 calculates the remaining travel time T for the pressing for the previous block.
(41) Step S6: The determination unit 110 determines whether or not T>2 is obtained. If the determination result is NO, the processing proceeds to Step S7. If the determination result is YES, the processing returns to Step S1.
(42) Step S7: The determination unit 110 calculates the clearance C according to equation (1) or (2) using T and A.
(43) Step S8: The determination unit 110 determines whether or not Cminimum clearance is obtained. If the determination result is YES, the processing proceeds to Step S9. If the determination result is NO, the processing returns to Step S1.
(44) Step S9: The determination unit 110 instructs the axis motion control unit 120 to start the overlap control for the press operations. The axis motion control unit 120 starts the press operation for the next block so as to overlap the press operation for the previous block.
(45) According to the present embodiment, the numerical controller 100 accepts the setting of the minimum clearance that is smaller than the conventional clearance. The press operations are overlapped between the blocks so that the punch head speed becomes 0 when the minimum clearance is achieved by the punch head. Thus, high-speed machining can be achieved even if the amount of movement of the table axes is small.
(46) The present invention is not limited to the above-described embodiment and may be suitably changed without departing from the spirit of the invention. Any of the constituent elements of the embodiment may be modified or omitted without departing from toe scope of the invention.
(47) While the above-described embodiment is based on the assumption that the press axis moves on a straight axis, for example, the present invention is also applicable to the case in which the press axis is a crank axis, as shown in
(48) Moreover, although the determination unit 110 carries out the overlapping of the press operations only when the high-speed machining mode is ON (Step S4) in the embodiment described above, this determination step need not always be provided and may be omitted as required.