SYNCHRONIZATION CONTROL OF SPINDLE MOTOR AND FEED MOTOR

Abstract: When a main spindle (10) is rotated and the main spindle and a work are moved linearly and relative to each other in the axial direction (Z) of the main spindle in, for example, the threading of a machine tool, a spindle servo-motor (12) and a feed servo-motor (22) as the driving sources must be actuated while they are being synchronized. Generally, the spin­ dle servo-motor drives directly the main spindle without resort to a reduction gear but the feed servo-motor drives a main spindle head (18) through reduction gears (26, 28). Therefore, the synchronization is generally governed by the accelera­ tion/deceleration performance of the spindle servo-motor. The synchronization with maximum efficiency can be accom­ plished by accelerating and decelerating the main spindle while actuating the spindle servo-motor in line with its torque li­ mit curves (L1, L2).

Description: TECHNICAL FIELD The present invention relates to a method of controlling an acceleration and deceleration of each of two motors for driving objects in each of two directions when machining is carried out while a rotational speed of a spindle of a machine tool and a relative translational speed between the spindle and a workpiece are synchronized. Accordingly, the present invention can be utilized as a method of synchronously controlling two motors to ensure that a screw pitch coincides with a rotation speed of a tool spindle and with a translation speed of the tool spindle relative to a workpiece during, for example, a tapping operation. BACKGROUND ART In the prior art, a spindle motor driving a spindle and a feed servomotor feeding a spindle head are not always synchronized, even when a predetermined relationship should be established between a rotation of a tool spindle and a feed thereof in a straight line parallel to a central axis thereof, during a tapping operation. Instead, in this case, a spring is arranged at a mounting portion of the spindle to which a tool is attached, and an error of the translational feed speed, compared with the rotational speed against a screw pitch, is absorbed by the spring. However, a problem occurs in a ratchet mechanism etc. for converting a rotation of the feed servomotor to a linear motion to feed the spindle head along the central axis of the spindle, when the spindle motor is driven at a high rotational speed, and the accuracy of a machined screw is not always sufficient because the tapper tap is not fixed. To solve this problem, a method of synchronous control according to the precharacterizing portion of claim 1 is known from JP-A-60 146 649 and EP-A-0 025 652. The acceleration of the feed servomotor feeding the spindle head is usually ten to twenty times higher than that of the spindle motor rotating the spindle, because the feed servomotor moves the spindle head linearly through the medium of a reduction gear, and the spindle motor drives the spindle also through a reduction gear. Consequently, the tapper tap is driven at a lower acceleration than the spindle motor, and under the condition of a constant torque, namely a constant acceleration or deceleration when two motors are rotated synchronously. Nevertheless, the performance of the spindle motor is not always fully utilized in the synchronous operation under the above-mentioned condition of a constant torque, because a limit torque curve indicating a limit of an output torque versus a rotational speed of the spindle motor is not a constant level line. Therefore, there is still room for improvement from the view point of the efficiency of a machining process such as tapping. DISCLOSURE OF THE INVENTION Accordingly, an object of the present invention is to obtain an optimum improvement of the efficiency of a machining process and to reduce a time needed for machining a workpiece, to thereby solve the above-mentioned problem. This object is attained with the method according to claim 1. Claim 2 describes a preferred embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is an explanation diagram comparing an acceleration and deceleration synchronous pattern according to the present invention with that of a prior pattern; Figure 2 is a diagram showing a torque control pattern when a spindle servomotor as the object of control is accelerated or decelerated; Figure 3 is a diagram showing a torque control pattern when a feed servomotor as the object of control is accelerated or decelerated; and Figure 4 is a schematic view showing a control system for synchronizing a spindle servomotor and a feed servomotor. BEST MODE OF CARRYING OUT THE INVENTION The present invention is described in more detail in the following in accordance with the embodiments shown in the attached drawings. Referring to Fig. 4, a built-in type spindle servomotor 12 is housed in a spindle head 18, and a tapper tap 14 for screw cutting is attached to the servomotor coaxially with a spindle 10, and accordingly, the tapper tap 14 is driven to rotate by the spindle servomotor. On the other hand, the spindle 10 can be moved with the spindle head 18 linearly along a central axis of the spindle 10, that is, along a.direction Z, by the feed servomotor 22. The spindle head 18 can move smoothly and linearly along a ball screw shaft 20 extended along the direction Z through a ball nut 42 engaged with the ball screw shaft 20. A gear 26 is attached at one end of the ball screw shaft 20, and engaged with another gear 28 attached to an output shaft of the feed servomotor 22. Thus, the spindle 10 with the spindle head 18 is forced, by the feed servomotor 22 through a transmission mechanism having a deceleration function comprising the gears 28, 26, and the ball screw shaft 20, to move linearly along the direction Z. A detector 16 or 24, for example, a tachometer or a pulse encoder, is attached to each motor 12 or 22 to detect a respective rotational speed thereof. A rotational speed a of the spindle 10 detected by the detector 16 is input to a spindle controller 30, the which spindle outputs a signal c to a power source 44 for the spindle servomotor 12. This signal is used to supply power in accordance with a difference between the actual rotational speed a and an instructed rotational speed b of the spindle 10 output by a synchronous controller 36 described later. Namely, a servo loop control of the spindle servomotor 12 is achieved by the detector 16 and the spindle controller 30. A servo loop control of the feed servomotor 22 is also achieved by the detector 24 and a feed controller 34, similar to the above, to obtain a required rotational speed of the servomotor 22. The tapper tap 14 having a desired pitch must be rotated and moved linearly along the longitudinal direction thereof (Z direction) in accordance with the rotational speed when screw cutting is carried out, and therefore, the respective rotational speeds of the spindle servomotor 12 and the feed servomotor 22 must be controlled synchronously. The synchronous controller for this purpose is designated by a reference number 36. The above-mentioned feed controller 34 receives an instruction signal b′ of a rotational speed output by the synchronous controller 36 and sends an instruction signal c′ to a power source 46 to cause the feed servomotor 22 to supply a required power to the spindle servomotor 22, in accordance with a signal a′ indicating a detected rotational speed of the spindle servomotor 22 output by a detector 24. Such a spindle controller 30, feed controller 34, and synchronous controller 36 are well-known in the art and can be realized by a computer software program. The feed servomotor 22 moves the spindle 10, that is, the tapper tap 14, linearly along the direction Z through the transmission mechanism 20, 26, 28 as described above, and the spindle servomotor 12 directly drives the tapper tap 14 to rotate same. A linear motion speed of the tapper top 14 can be provided by selecting an appropriate transmission mechanism for the translational mechanism linearly along the direction Z. The work by the spindle servomotor 12, however, for driving the tapper tap 14 to rotate is limited by only the performance of the spindle servomotor 12, because a transmission mechanism is not used when screw cutting is carried out. The efficiency of the work is controlled in accordance with the performance of the spindle servomotor 12, especially during screw cutting work requiring a large acceleration and deceleration of the tapper tap 14. In the prior art, the spindle servomotor is accelerated up to a speed N2 and decelerated under the condition of a constant torque T1 corresponding to a point P2, because the point P2 is a torque limit point as shown in Fig. 2, namely, under the condition of a constant acceleration as indicated by the two-dotted line ℓ1 when screw cutting is effected at the rotational speed of a tool corresponding to the rotational speed N2 of the spindle servomotor. A change of the rotational speed N of the spindle servomotor versus a time t of the case is shown by a two-dotted line 60 in Fig. 1, which line comprises a linear increasing line and a linear decreasing line. On the other hand, a line showing that the feed servomotor for feeding the tool synchronously with the rotational speed of the tool is accelerated and decelerated is also designated by the two-dotted line 60 in Fig. 1. A torque T of the case is a constant T3 shown in Fig. 3, and a rotational speed of the feed servomotor is accelerated up to a speed N4 and decelerated under the condition indicated by a two-dotted line ℓ2. The constant torque line ℓ2 has sufficient allowance up to a torque limit line L0. However, an allowance is found up to a torque limit curve line (designated by a solid line in Fig. 2) corresponding to the acceleration and deceleration performance of the spindle servomotor, when the spindle servomotor is controlled by the above-mentioned linear increasing and decreasing, and therefore, the spindle servomotor is controlled along the above-mentioned torque limit curve line as the upper limit of the acceleration and deceleration performance thereof, in accordance with the present invention, to thereby increase the efficiency of a work process, for example, screw cutting. Namely, the spindle servomotor is accelerated or decelerated along a straight line L1 having a constant torque value T2 and a hyperbola line L2 as shown in Fig. 2. An increasing and decreasing curve line of the case is designated by the one-dot line 50 in Fig. 1. The curve line 50 consists of a straight line up to a time t1 when a rotational speed N of the spindle servomotor reaches the speed N1 (up to the point P1 in Fig. 2) and a parabola line from the time t1 to a time t2 when the rotational speed N reaches the speed N2 (from the point P1 to the point P2 in Fig. 2). A remainder of the curve line 50, in a decreasing case, is symmetrical with respect to the time t2 in Fig. 1 because the line L1 is passed on after the curve line L2 in Fig. 2 in the case of a decrease. A time t3 corresponds to the point P1 in the case of a decrease. The spindle servomotor is controlled along the lines L1 and L2 in Fig. 2, as described above, so that a torque T larger than that of the line ℓ1 is always generated. Consequently, a time t5 up to the end of the increasing and decreasing line 50 in Fig. 1 is shorter than a time t6 up to the end of the linear increasing and decreasing line 60, as in the prior art, and accordingly, the work is effected rapidly and the efficiency thereof is high. On the other hand, a torque curve line of the feed servomotor synchronized with the spindle servomotor is as shown by one-dot lines L3 and L4 in Fig. 3. The line L3 in a straight line having a torque T4, and the line L4 is a hyperbola line. A larger torque T is always generated along the lines L3 and L4 than a torque T3 generated along the line ℓ2 as in the prior art, and the feed servomotor shows the same increasing and decreasing pattern as the spindle servomotor. Namely, the time t5 at the end of the increasing and decreasing line 50 of the present invention in the feed servomotor is shorter than the time t6 at the end of the linear increasing and decreasing line 60 in the prior art. Furthermore, a torque generated by the feed servomotor has an allowance up to the torque limit line L0 as recognized by Fig. 3. Although the speeds of the servomotors are decreased as soon as a rotational speed of the spindle servomotor reaches the speed N2 and a rotational speed of the feed servomotor reaches the speed N4 in the above embodiment, each servomotor may be held at the rotational speed N2 or N4 for a desired time, to effect a screw cutting, and then decreased. It is obvious that the working time becomes shorter also in a synchronous control method similar to the above embodiment. The spindle servomotor 12 can be controlled by a software program along the torque limit curve line when each torque limit curve line in Figs. 2 and 3 is stored in a memory of a computer constructing the controllers in the present system. As apparent from the foregoing description, according to the present invention, screw cutting can be effected even when the spindle servomotor for rotating a tool (a spindle) and the feed servomotor are accelerated or decelerated, because the two servomotors are always synchronized, and the work efficiency is maximized because the acceleration or deceleration capacity of the spindle servomotor is optimally utilized.

Claims: A method of synchronous control of a spindle servomotor (12) driving a spindle (10) of a machine tool and of a feed servomotor (22) driving a spindle head (18) of the machine tool via a transmission mechanism (20, 26, 28), for implementing a screw cutting of a workpiece using a tapping tool (14) held by the spindle (10), characterized in that said spindle servomotor (12), which drives the tapping tool (14) directly, is initially accelerated to a rotating speed (N1) close to a preselected speed (N2) suitable for implementing said screw cutting of the workpiece by the maximum possible output power exerted by said spindle servomotor (12), and thereafter said rotating speed (N1) of said spindle servomotor (12) is brought to said preselected speed (N2) as quickly as possible, and that said feed servomotor (22) is constantly driven and controlled by a synchronous controller (36) so as to be synchronized with said rotating speed of said spindle servomotor (12). The method according to claim 1, characterized in that said rotating speed N1 of said spindle servomotor (12) is brought to said preselected speed N2 by decelerating said spindle servomotor (12).

Inventors: KIMIJIMA MASAMI FANUC DAI- VIR, KONO SHINICHI FANUC MANSION HA, NAKAMURA KOSEI, NUMAI KAZUHISA FANUC DAI- VIRA, KIMIJIMA, MASAMI FANUC DAI-3 VIRA-KARAMATSU, KONO, SHINICHI FANUC MANSION HARIMOMI 7-203, NAKAMURA, KOSEI, NUMAI, KAZUHISA FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1988
Main classification: G05B19
IPC codes: G05D13, G05B19