Background of the Invention
The present invention relates to a synchronous control method and an apparatus therefor which are suitable for a case where a work which is held between two opposed spindles in an opposed spindle lathe is synchronously rotated, the two spindles being opposed to each other and rotatably provided.
In such an opposed spindle lathe having two spindles which are opposed to each other and rotatably provided, when a work is subjected to adjustable-speed rotation or cutting work while being held between the two opposed spindles, the two spindles must be synchronously controlled so that no excessive torsional torque occurs in the work. This synchronous control can be realized by a first method of precisely controlling both spindles so that torsional torque is no greater than an allowable value or by a second method disclosed in Japanese Laid-open Patent Application Nos. 2843/1989 and 2844/1989.
In the first conventional method, when both spindles and the work have a high rigidity, torsional torque excessively occurs in the work even if only a slight deviation occurs in synchronization, and power is transmitted from one spindle driving servo motor to the other spindle driving servo motor. This causes unnecessary power running or regenerative operation of both servo motors and thus causes an unnecessary current to flow to both servo motors and the driving apparatus therefor, resulting in the occurence of a trouble in the control.
In the second conventional method, one spindle driving servo motor is rotated with a given torque, and the other spindle driving servo motor is rotated with a torque which is smaller than the given torque. However, since this method is based on the assumption that there is a difference in torque between both spindles, the torsional torque occurs in the work, and, particularly, there is a problem with respect to the precision of synchronous control when the work has a low level of torsional rigidity.
Summary of the Invention
The present invention has been achieved in consideration of the above-mentioned situation, and it is an object of the present invention to provide a synchronous control method and an apparatus therefor which are capable of controlling two spindles so that only a small torsional torque is applied to a work, and a difference between the positions of the two spindles is no greater than an allowable value.
According to one aspect of the present invention, for achieving the objects described above, there is provided a method of synchronously controlling the two spindles rotatably provided and opposed to each other in an opposed spindle lathe when a work is held between said two spindles, said method comprising the steps of controlling first and second control objects by first and second servo motors using first and second driving apparatuses so that, when said first and second control objects are mechanically combined, controlling the position or speed of said first control object is controlled by said first servo motor, and applying the torque command, for torque control, formed by the control of said first servo motor to said second driving apparatus from said second servo motor.
According to another aspect of the present invention, there is provided a synchronous control apparatus for an opposed spindle lathe having two spindles which are rotatably provided and opposed to each other, said apparatus comprising a torque estimating means for estimating a torque command to one servo motor on the basis of the torque command formed by control of the other servo motor so as to control the torque.
The nature, principle and utility of the invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings.
Brief Description of the Drawings
In the accompanying drawings:
FIG. 1 is a diagram of the control block in an example of opposed spindle lathes to which the present invention can be applied;
FIG. 2 is a block diagram in an embodiment of a means for estimating torque; and
FIG. 3 is a block diagram in another embodiment of means for estimating torque.
Description of the Preferred Embodiment
An embodiment of the present invention is described below with reference to the drawings.
FIG. 1 is a block diagram of am example of control apparatuses for opposed spindle lathes to which the present invention can be applied. An encoder 2 and a first spindle 3 are connected to a first servo motor 1, the first spindle 3 being provided with a chuck 4. An encoder 6 and a second spindle 7 are connected to a second servo motor 5, the second spindle 7 being provided with a chuck 8. The chuck 4 of the first spindle 3 is opposite to the chuck 8 of the second spindle 7. A cutting tool 21 is fixed to a tool rest 20, and the position or the speed of the first servo motor 1 is detected by a position/speed control means 10 through the encoder 2. A position command P.sub.1CM to the first servo motor 1 and the position signal P.sub.1 generated from the encoder 2 are input to the position/speed control means 10 which calculates and outputs a torque command T.sub.1. The torque command T.sub.1 is input to a torque control means 11 for the first servo motor 1 from the position/speed control means 10 so that electric power is amplified and then supplied to the first servo motor 1 from the torque control means 11. The position or the speed of the second servo motor 5 is detected by a position/speed control means 12 through the encoder 6. A position command P.sub.2CM to the second servo motor 5 and a position detection signal P.sub.2 generated from the encoder 6 are input to the position/speed control means 12 which calculates and outputs a torque command T.sub.2 . In this way, the positions or speeds of the two spindles 3 and 7 of the opposed spindle lathe are generally independently controlled.
As shown in FIG. 1, when the work 9 is delivered while being held between the chucks 4 and 8, or when the work 9 is subjected to a cutting work using the cutting tool 21 fixed to the tool rest 20, if the spindles 3 and 7 are not synchronously controlled with a high precision, a high torsional torque occurs in the work 9, this causing a trouble with respect to the work precision or the control of the servo motors.
It is an object of the present invention to synchronously control the spindles 3 and 7 without applying excessive torsional torque to the work 9 so that rotational phase error of the spindles 3 and 7 is small in the above-described case. Specifically, the torque command T.sub.1, position command P.sub.1CM and position detection signal P.sub.1 for the first servo motor 1 and the position command P.sub.2CM, the position detection signal P.sub.2 and synchronous operation signal SYNC for the second servo motor 5 are input to the torque estimating means 14 which makes calculations for estimating the desired torque of the second servo motor 5 and outputs the estimated desired to as a torque command T.sub.CMP to the second servo motor 5 to an addition means 15. The torque command T.sub.2CMP resulting from addition of T.sub.2 to T.sub.CMP in the addition means 15 is fed to a torque control means 13.
During the synchronous control, the synchronous operation signal SYNC is in an on-state wherein the torque estimating means 14 is operated, and the torque command T.sub.2 of the position/speed control means 12 for the second servo motor 5 is zero. Contrary to this, when the synchronous operation signal SYNC is in an off-state, the output T.sub.CMP of the torque estimating means 14 is zero, and the position/speed control means 12 is operated.
A typical embodiment of the torque estimating means 14 is described below with reference to FIG. 2.
The rotational resistance F.sub.1 of the first spindle system is first subtracted from the torque command T.sub.1 to the first servo motor 1 by a subtracter 141. The subtraction result (T.sub.1 -F.sub.1) is multiplied by the inertia ratio J.sub.2 /J.sub.1 between the first and second spindle systems by a coefficient means 142. The multiplication result is added to the rotational resistance F.sub.2 of the second spindle system by an adder 143 to obtain a torque command T.sub.JF. On the other hand, a difference signal (P.sub.1 -P.sub.2) between the position detection signals P.sub.1 and P.sub.2 is obtained by a subtracter 144. A position correcting torque command T.sub.P is determined by a position error signal generator 145 which outputs a predetermined function signal if the difference signal (P.sub.1 -P.sub.2) is over a predetermined value. The position correcting torque command T.sub.P is added to the torque command T.sub.JF by an adder 146 to generate the torque command T.sub.CMP to the second servo motor 5.
Another embodiment of the torque estimating means 14 is described below with reference to FIG. 3 corresponding to FIG. 2. A difference between the command signal E.sub.P of the difference in rotational phase between the two servo motors, which is generally zero, and the output of the position error signal generating means 145 is determined by a subtracter 141A. The difference is multiplied by a proportional coefficient K.sub.P in a coefficient means 147 to determine a relative speed command R.sub.2. On the other hand, the output from the position error signal generating means 145 is input to a differentia for means 148 and differentiated so as to thereby determine a relative speed R.sub.1 between the two servo motors. The relative speed R.sub.1 is input to a subtracter 141B in which a difference (R.sub.2 -R.sub.1) from the relative speed command R.sub.2 is determined. The difference (R.sub.2 -R.sub.1) is input to a proportional integration means 149 in which the position correcting torque command T.sub.P is compensated by proportional integration. In this way, the position correcting torque command T.sub.P , which enables precise relative position control or relative speed control on the basis of the difference in rotational phase between the two servo motors, is determined. The position correcting torque command T.sub.P is added to the value of the torque command T.sub.JF in an adder 146 to determine the torque command value T.sub.CMP for the second servo motor 5.
If the torque command value for the first servo motor 1 is subtracted from the position correcting torque command T.sub.P so as to avoid saturation of the output of the second servo motor 5 and the driving apparatus therefor, it is possible to control the relative position or the relative speed between the two servo motors.
As described above, in the present invention, the position of the first servo motor is controlled during synchronous control, and the torque required for the second servo motor is precisely estimated by calculations on the basis of the result of the position control. Thus, no excessive torsional torque is applied to the work, and there is no trouble in control that most of the power of one of the two servo motors is transmitted to the other servo motor. In addition, since the rotational phase difference between the two servo motors can be significantly reduced even if the work has very low rigidity, it is possible to make high-precision synchronous control or high-precision cutting. Namely, the two spindles of the opposed spindle lathe can be synchronously operated with high precision.
It should be understood that many modifications and adpatations of the invention will become apparent to those skilled in the art and it is intended to encompass such obvious modifications and changes in the scope of the claims appended hereto.