This application claims priority under 35 U.S.C. §119 and/or §365 to Japanese Application No. 2014-117392 filed Jun. 6, 2014, the entire contents is incorporated herein by reference.
The present invention relates to a numerical controller, and particularly relates to a numerical controller which performs control for preventing instantaneous speed projection that occurs due to a difference between an acceleration time period and a deceleration time period, in a superimposed control of performing control by superimposing a movement amount of an arbitrary axis on that of another axis.
A method of performing control by superimposing a movement amount of an arbitrary axis (reference axis) on that of another axis (superimposed axis) is generally known as “superimposed control”. For instance, in an example of a machine tool having a dual path control, when a workpiece 1 mounted on a headstock 2 is worked by a first tool 3 and a second tool 4 as is illustrated in
In this work, if the ZIIs axis is moved simultaneously with the movement of the ZIm axis, a relative position of the ZIIs axis with respect to the workpiece 1 does not change. From this fact, as for the work for the workpiece 1 by the second tool 4, a working program is previously prepared in a state in which the movement of the workpiece 1 in the ZIm-axis direction is stopped. In the actual work, superimposed control is performed which adds a movement command to the ZIm axis to a movement command to the ZIIs axis to move the ZIIs axis. The second tool 4 thereby moves relatively to the workpiece 1 according to the program command and works the workpiece 1. That is, by performing this superimposed control, the numerical controller can simultaneously execute the work for the workpiece 1 on the XI axis and the ZIm axis, and the work therefor on the XIIs axis and the ZIIs axis.
In the superimposed control, a movement amount δZIm based on the movement command to the reference axis ZIm, which is determined by the numerical controller for each distribution cycle, is added to a current value register of the reference axis ZIm, coordinate values of a workpiece coordinate system of a first path are updated, and the updated values are output to a servo processing unit of the first path. On the other hand, a movement amount δZIIS based on the movement command to the superimposed axis ZIIs is added to a current value register of the superimposed axis ZIIs, and coordinate values of a workpiece coordinate system of a second path are updated. For the superimposed axis ZIIs, a movement amount (δZIIS+δZIm), which is obtained by adding the movement amount δZIm based on the movement command to the reference axis ZIm, to the movement amount δZIIS based on the movement command to the superimposed axis ZIIs, is output to a servo processing unit of the second path. The superimposed control of the reference axis for the superimposed axis is performed according to such processing.
In the case where the superimposed control is performed, when the movement amount of the reference axis is superimposed on that of the superimposed axis, the movement amount of the superimposed axis becomes excessively large, and the moving speed occasionally exceeds a speed limit of the machine. For instance, in the case where the superimposed control is performed on the reference axis ZIm and the superimposed axis ZIIs in
In order to avoid such a problem, a technology of clamping the moving speed of the superimposed axis is disclosed in Japanese Patent Application Laid-Open No. 03-212707, for instance. The numerical controller which is configured on the basis of this technology decelerates the command speed of the reference axis or the superimposed axis when determining that the moving speed of the superimposed axis exceeds the speed limit of the machine, and clamps the moving speed of the superimposed axis to the speed limit of the machine.
For instance, in the case where the superimposed control is performed on the reference axis ZIm and the superimposed axis ZIIs in
However, in the case where while the speed of any one axis of the reference axis and the superimposed axis is reduced in a deceleration state until reaching a target speed, the other axis having a superimposition relationship with the one axis is accelerated, suppose that the acceleration time period of the above described accelerated other axis is shorter than the deceleration time period of the decelerated one axis. Such a phenomenon occurs that the moving speed of the superimposed axis exceeds the speed limit of the machine during this acceleration/deceleration interval.
For instance, in the case where the superimposed control is performed on the reference axis ZIm and the superimposed axis ZIIs in
Such a phenomenon tends to easily occur when two axes particularly having the superimposition relationship with each other are operated by a combination of a rapid traverse and a cutting feed, because the deceleration time period and the acceleration time period are different in many cases and such a situation tends to easily occur that the deceleration is not in time.
An object of the present invention is, therefore, to provide a numerical controller which performs control for preventing instantaneous speed projection that occurs while a reference axis or a superimposed axis is accelerated and/or decelerated, due to a difference between an acceleration time period and a deceleration time period.
The numerical controller according to the present invention has a first axis which is determined to be a reference axis and a second axis which is determined to be a superimposed axis different from the first axis, and performs superimposed control which superimposes a movement amount of the reference axis on a movement amount of the superimposed axis, and thereby controls the movement of the superimposed axis. This numerical controller includes an acceleration start time control unit which controls an acceleration start time of an axis to be accelerated in a superimposition interval in which one of the reference axis and the superimposed axis is accelerated and the other axis thereof is decelerated.
The acceleration start time control unit can include: an acceleration/deceleration combination determining portion which determines respective combinations of acceleration and deceleration of the reference axis and the superimposed axis; an acceleration/deceleration time comparing portion that compares a time period during which the axis to be accelerated is accelerated, with a time period during which the axis to be decelerated is decelerated in a case where the acceleration/deceleration combination determining portion determines that one of the reference axis and the superimposed axis is accelerated and the other axis thereof is decelerated; a speed limit excess determining portion which determines whether a moving speed of the superimposed axis exceeds a speed limit of the superimposed axis in a case where the acceleration/deceleration time comparing portion determines that the time period for deceleration is longer than the time period for acceleration; and a speed control portion which excludes the movement amount contributing to the acceleration from the movement amount of the superimposed axis in a case where the speed limit excess determining portion determines that the moving speed of the superimposed axis exceeds the speed limit of the superimposed axis.
The acceleration start time control unit may be configured so as to also control, when controlling the acceleration start time of the axis to be accelerated, an acceleration start time of another axis having no superimposition relationship, at the same time.
The present invention can provide a numerical controller that delays the acceleration start time of the axis to be accelerated, in the superimposition interval in which one of the reference axis and the superimposed axis is accelerated and the other axis thereof is decelerated, and thereby performs control for preventing instantaneous speed projection that occurs while the reference axis or the superimposed axis is accelerated and/or decelerated, due to a difference between an acceleration time period and a deceleration time period.
The above and other objects and features of the present invention will become apparent from the description of embodiments with reference to the attached drawings, in which:
In the present invention, a numerical controller determines whether a present interval is a superimposition interval of acceleration/deceleration, in which one of a reference axis and a superimposed axis (for instance, superimposed axis) is accelerated and the other axis thereof (for instance, reference axis) is decelerated, and calculates an acceleration time period of the one axis to be accelerated and a deceleration time period of the other axis to be decelerated. The numerical controller then compares the calculated acceleration time period with the deceleration time period, and when the deceleration time period is longer than the acceleration time period, compares the moving speed of the superimposed axis which is being accelerated or decelerated, with the speed limit of the machine. As a result of comparison, when the moving speed of the superimposed axis is higher than the speed limit of the machine, the numerical controller excludes a moving pulses contributing to the acceleration, and makes the acceleration wait for the next execution processing. As a result, after the axis to be decelerated is sufficiently decelerated, the axis to be accelerated is accelerated, and the moving speed of the superimposed axis does not exceed the speed limit of the machine in the acceleration/deceleration interval.
One embodiment of the numerical controller according to the present invention will be described below with reference to
A numerical controller 10 has two sets of control axis systems which are formed of two axes of an X axis and a Z axis as shown in
The interface 15 enables the connection between the numerical controller 10 and an external device. A PMC (programmable machine controller) 16 outputs a signal to an auxiliary apparatus of a machine tool (not shown) through an I/O unit 17 according to a sequence program built in the numerical controller 10, and controls the machine tool. The PMC 16 also receives signals sent from various switches of an operation panel equipped in the main body of the machine tool, and the like, subjects the signals to necessary signal processing, and then delivers the processed signals to the CPU 11. The display/operation panel 20 is a manual data input apparatus which includes a display of a liquid crystal, a CRT or the like, a keyboard, and the like.
Axis control circuits 30 to 33 of the X axis and the Z axis which move a first tool 3, a second tool 4 and a workpiece 1 (for more information, XI axis which is X axis that moves the first tool 3, ZIm axis which is Z axis that moves the workpiece 1, and XIIs axis and ZIIs axis which are X axis and Z axis that move the second tool 4) receive a command of a movement amount of each of the axes sent from the CPU 11, and outputs the commands to the respective axes to servo amplifiers 40 to 43. The servo amplifiers 40 to 43 receive these commands, and drive servo motors 50 to 53 of respective axes (specifically, XI axis, ZIm axis, XIIs axis and ZIIs axis). The servo motors 50 to 53 of respective axes each have a position/speed detector built-in, feedback a position/speed feedback signal sent from this position/speed detector to the axis control circuits 30 to 33, respectively, and perform feedback control for the positions/speeds. Incidentally, in
In addition, a spindle control circuit 60 performs speed control based on a spindle speed signal and a feedback signal which is sent from a position detector (not shown), outputs a signal of the resultant spindle speed to a spindle amplifier 61, and controls the speed of a spindle motor 62.
The configuration of the numerical controller as described above is a known configuration.
In the superimposed control, the CPU 11 reads out the movement amounts of each of the axes and the superimposition relationships among each of the axes which are temporarily stored in the RAM 13, and delivers commands of movement amounts in which the movement amount commanded to the reference axis is superimposed on the movement amounts of each of the axes, to the axis control circuits 30 to 33 of superimposed axis, respectively. An operation example of a numerical controller 10 in the case where the superimposed axis ZIIs is accelerated and the reference axis ZIm is decelerated, in the numerical controller having such a configuration, will be described below with reference to
The numerical controller 10 of
The procedure of the processing of the superimposed control which is executed by the numerical controller 10 of
In the superimposed control processing by the numerical controller 10, firstly, the reference axis ZIm which is determined to be a reference, and the superimposed axis ZIIs on which movement amount is superimposed, are set (S501). Next, the numerical controller 10 determines respective combinations of acceleration and deceleration of the reference axis ZIm and the superimposed axis ZIIs (S502). The combinations of the acceleration and the deceleration of the reference axis ZIm and the superimposed axis ZIIs are as follows.
(1) Reference axis ZIm is accelerated, and superimposed axis ZIIs is also accelerated.
(2) Reference axis ZIm is accelerated, whereas superimposed axis ZIIs is decelerated
(3) Reference axis ZIm is decelerated, whereas superimposed axis ZIIs is accelerated
(4) Reference axis ZIm is deceleration, and superimposed axis ZIIs is also decelerated
In the case where the reference axis ZIm is accelerated and the superimposed axis ZIIs is also accelerated (combination (1) above), or the reference axis ZIm is decelerated and the superimposed axis ZIIs is also decelerated (combination (4) above), as a result of the determination of the combinations of acceleration and deceleration in the step S502, instantaneous speed projection does not occur, and accordingly a result of superimposition in which the movement amount of the reference axis ZIm is superimposed on the superimposed axis ZIIs is output to the servo motor (S506), and the processing of the superimposed control ends.
On the other hand, in the case where the reference axis ZIm is accelerated and the superimposed axis ZIIs is decelerated (combination (2) above), or the reference axis ZIm is decelerated and the superimposed axis ZIIs is accelerated (combination (3) above), as a result of the determination of the combinations of acceleration and deceleration in the step S502, next, the acceleration time period and the deceleration time period or the deceleration time period and the acceleration time period of the reference axis ZIm and the superimposed axis ZIIs are compared with each other (S503). Incidentally, the acceleration time period and the deceleration time period of the reference axis ZIm and the superimposed axis ZIIs are set for each of the axes as acceleration/deceleration time constants, in the RAM 13 or the CMOS memory 14 in the numerical controller.
When the time period required for the deceleration of the axis to be decelerated (for instance, superimposed axis ZIIs) is equal to or shorter than the time period required for the acceleration of the axis to be accelerated (for instance, reference axis ZIm), as a result of the comparison of the acceleration time period and the deceleration time period in the step S503, the axis to be accelerated is sufficiently decelerated by the axis to be decelerated before the acceleration, and instantaneous speed projection does not occur. Accordingly, a result of superimposition of the movement amount of the reference axis ZIm on the superimposed axis ZIIs is output to the servo motor (S506), and the processing of the superimposed control ends.
On the other hand, when the time period required for the deceleration of the axis to be decelerated (for instance, superimposed axis ZIIs) is longer than the time period required for the acceleration of the axis to be accelerated (for instance, reference axis ZIm), as a result of the comparison of the acceleration time period and the deceleration time period in the step S503, there is a possibility that the instantaneous speed projection occurs. Accordingly, the moving speed of the superimposed axis ZIIs during the acceleration/the deceleration is compared with the speed limit vmax (S504).
As a result of the comparison of the moving speed of the superimposed axis ZIIs with the speed limit vmax in the step S504, when the moving speed of the superimposed axis ZIIs is equal to or less than the speed limit vmax, a result of superimposition of the reference axis ZIm on the superimposed axis ZIIs is output to the servo motor (S506), and the processing of the superimposed control ends.
On the other hand, as a result of the comparison of the moving speed of the superimposed axis ZIIs with the speed limit vmax in the step S504, when the moving speed of the superimposed axis ZIIs exceeds the speed limit vmax, a movement amount contributing the acceleration is excluded (S505), then a result of superimposition of the movement amount of the reference axis ZIm on the superimposed axis ZIIs is output to the servo motor (S506), and the processing of the superimposed control ends.
Incidentally, the start of the movement of the reference axis or the superimposed axis is delayed by the time period during which the acceleration is waited. However, by similarly delaying operations of other axes which do not have a superimposition relationship in synchronization with the reference axis or the superimposed axis, the numerical controller can maintain the synchronization of these operations at the time before delaying the start of the movement. For instance, in the case where the workpiece 1 is worked by a machine tool illustrated in
Number | Date | Country | Kind |
---|---|---|---|
2014-117392 | Jun 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4137001 | Fountain | Jan 1979 | A |
4652804 | Kawamura | Mar 1987 | A |
4987359 | Saitoh | Jan 1991 | A |
5013989 | Kurakake | May 1991 | A |
5361472 | Kubota | Nov 1994 | A |
5977736 | Nakazato | Nov 1999 | A |
6225772 | Aizawa | May 2001 | B1 |
20100138047 | Bauer | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
S60-198606 | Oct 1985 | JP |
H02-048101 | Feb 1990 | JP |
H03-212707 | Sep 1991 | JP |
H04-137001 | May 1992 | JP |
H10-003305 | Jan 1998 | JP |
H10-31509 | Feb 1998 | JP |
2006-031077 | Feb 2006 | JP |
Entry |
---|
Notification of Reasons for Refusal dated Dec. 27, 2016 in Japanese Patent Application No. 2014-117392 (3 pages) with an English translation (2 pages). |
Number | Date | Country | |
---|---|---|---|
20150355624 A1 | Dec 2015 | US |