Tracking control method between two servo systems

Abstract: First, second and third compensation signals are generated from the information on the position and speed of the first servo system having a speed control loop as a minor loop. The speed error of the speed control loop of the second servo system which has the speed control loop as a minor loop and uses a signal obtained by sampling the position detection signal, executing a digital calculation process on the sampled signal to obtain a speed signal and integrating the speed signal as a position command signal or a signal obtained by sampling the position detection signal of the first servo system and executing a digital calculation process on the sampled signal as a position command signal is compensated by the first, second and third compensation signals. Thus, even in cases where the acceleration and deceleration of the first servo system are executed even at constant power, positional synchronizing error is not generated. The accurate positional synchronizing control between two servo systems having different response characteristics can be achieved.

Description: FIELD OF THE INVENTION The present invention relates to a tracking control method between two servo systems whereby the position detection signal of the first servo system having a speed control loop as a minor loop is sampled and subjected to a digital calculation to obtain a speed signal and the speed signal is integrated and the resultant signal is set to a position command signal of the second servo system having a speed control loop as a minor loop or said position detection signal is sampled and subjected to a digital calculation and the resultant signal is set to said position command signal, thereby allowing the second servo system to track the positional response of the first servo system. DESCRIPTION OF THE PRIOR ART Conventional techniques for this kind of tracking control method between two servo systems have been disclosed in Japanese Patent Nos. JP-A-63 268 011 and JP-A-3 121 507. In the methods disclosed in both of the above Official Gazettes, servo system of the first axis is limited only to the linear acceleration and deceleration. Namely, in the case where the speed pattern of the first axis servo system has a trapezoidal shape, even if there is a disturbance in the first axis servo system, the second axis servo system will track the first axis servo system while maintaining positional synchronization between the two systems. To effectively use the driving power capability of the servo system, the linear acceleration/deceleration, in other words, a control to keep the torque of a servo drive motor constant is insufficient and it is necessary to provide a control to keep supply power for the servo drive motor constant (hereinafter referred to constant power control). The increasing curve and decreasing curve of the speed in the case of constant power control can be approximated by a quadratic function of time and its position command curve can be given by a cubic function of time. According to conventional positional synchronizing control methods which are called also as tracking control methods, a control to completely eliminate positional synchronizing errors can be achieved in cases where the position command curve of the first axis servo system is a quadratic curve of time. However, there is the drawback that positional synchronizing error cannot be reduced to predetermined errors or less if such a position command curve is a cubic curve of time. SUMMARY OF THE INVENTION It is an object of the invention, as defined in claims 1 to 3, to provide a tracking control method between two servo systems whereby position synchronizing errors can be eliminated even in cases where the acceleration and deceleration of the first axis servo system are executed at constant power. Figs. 2 to 5 are diagrams showing embodiments of the invention. The upper loop of the stage in each diagrams shows the first servo system (for slow response system) and the loop of the lower stage denotes the second servo system (for quick response system). K s and K z denote proportional gains of position loops; G s and G z transfer functions; f(t) a speed command; a position command; X ˙ s and X ˙ z speeds; X s and X z positions; k a constant; K 1 a compensation coefficient for a response; K 2 a compensation coefficient for the speed; K 3 a compensation coefficient for a differentiated value of the speed command; and D a sampling circuit. Fig. 2 shows a first embodiment of the invention. The first compensation signal is obtained by multiplying the compensation coefficient K 1 by the differentiated value of the position command X' s of the second servo system obtained by sampling the position detection signal X s of the first servo system. The second compensation signal is obtained by multiplying the compensation coefficient K 2 by the speed command f(t) of the first servo system. The third compensation signal is obtained by multiplying the compensation coefficient K 3 by the differentiated value (derivative) of the speed command f(t). The speed error of the speed control loop of the second servo system is compensated by adding the first, second and third compensation signals. Fig. 3 shows a second embodiment of the invention. The first compensation signal is obtained by multiplying the compensation coefficient K 1 by the differentiated value of the position comamnd X' s of the second servo system obtained by sampling the position detection signal X s of the first servo system. The second compensation signal is obtained by multiplying the compensation coefficient K 2 by the differentiated value of the position command of the first servo system. The third compensation signal is obtained by multiplying the compensation coefficient K 3 by the differentiated value (derivative) of the differentiated value of the position command The speed error of the speed control loop of the second servo system is compensated by adding the first, second and third compensation signals. Fig. 4 shows a third embodiment of the invention. The first compensation signal is obtained by multiplying the compensation coefficient K 1 by the speed command X ˙' s of the second servo system obtained by sampling and differentiating the position detection signal X s of the first servo system. The second compensation signal is obtained by multiplying the compensation coefficient K 2 by the speed command f(t) of the first servo system. The third compensation signal is obtained by multiplying the compensation coefficient K 3 by the differentiated value (derivative) of the speed command f(t). The speed error of the speed control loop of the second servo system is compensated by adding the first, second and third compensation signals. Fig. 5 shows a fourth embodiment of the invention. The first compensation signal is obtained by multiplying the compensation coefficient K 1 by speed command X ˙' s of the second servo system obtained by sampling and differentiating the position detection signal X s of the first servo system. The second compensation signal is obtained by multiplying the compensation coefficient K 2 by the differentiated value of the position command of the first servo system. The third compensation signal is obtained by multiplying the compensation coefficient K 3 by the differentiated value (derivative) of the differentiated value of the position command The speed error of the speed control loop of the second servo system is compensated by adding the first, second and third compensation signals. The second compensation signal may be obtained from the speed command f(t) and the position command of the first servo system. Alternatively, the compensation of the speed error may also be executed by compensating the gain of the control apparatus (corresponds to the transfer function G 1 ) for outputting the speed command signal of the speed control loop by the sum of the first, second and third compensation signals. The embodiment shown in Fig. 3 will now be described in detail. It has been confirmed from experiments that the construction of Fig. 3 is very effective as a positional synchronizing control method (a tracking control method) between two servo systems. In the construction, the setting of the values of the compensation coefficients K 1 , K 2 , and K 3 is particularly important for the present method. In the optimum state, the tracking error from an ideal straight line can be set to a value within a range of about ±20 pulses. The compensation coefficients K 1 , K 2 , and K 3 necessary to accomplish the optimum adjustment will now be analytically obtained as shown below. It is well known that a transient state can be generally disregarded with respect to both the S axis (the first servo system) and the Z axis (the second servo system) in the period of the synchronizing control. On the other hand, the execution of the tracking control can be shown by the following equations in the block diagram. X S (t) = f S (f i (t)) X Z (t) = f Z (X S (t), X S (t), y'(t), k) = f Z (y(t)) when f i (t): input to the S axis y(t): synthetic input to the Z axis the following equation (1) must be obtained. X Z (t) = kX S (t) In the power constant control, the following equation (2) must be set. f i (t) = At 3 + Bt 2 + Ct + D Assuming that the equation (2) is set to a forced input, a general solution of the following differential equation (3) is obtained by the equation (4). x + K S x = K S f i (t) x S (t) = At 3 + (B - 3A K S ) t 2 + {C - 2 K S (B - 3A K S )} t + D - 1 K S {C - 2 K S (B - 3A K S )} When the compensation signals are input in Fig. 2, a command f Z (t) to the Z axis is expressed by the following equation. f Z (t) = kAt 3 + k [(B - 3A K' S ) + 3AK 1 + 3AK 2 ]t 2 + k[{C - 2 K' S (B - 3A K' S )} + 2K 1 (B - 3A K' S ) + 2BK 2 + 6A]t + k [D - 1 K' S {C - 2 K' S (B - 3A K' S )} + K 1 {C - 2 K' S (B - 3A K' S )}] The relation between the true response X S (t) and the measured response X' S (t) is shown in Fig. 6. Since X s (t) is read in the sampling circuit D in Fig. 2 at a cycle of the system clock, a delay in the calculation of X' s (t) occurs. This delay brings about a decrease in proportional gain K s . The reduced proportional gain is denoted as K' S and the relation between K' S and the proportional gain K S will be obtained. A speed waveform (Fig. 6) is now considered to make the induction of the equations easy. Fig. 6 shows the general relations among the command, the response, and the measured waveform. Δt denotes the time (about 2 to 4 msec) which is required to read. From Fig. 6, it is obvious that the following relation is satisfied in the stationary state. (a is the coefficient of a command input.) 2α(t - Δt) - 2α K S = 2αt - 2α K S From the equation (6), K' S = mK S where, m = 1 1 + ΔtK S is obtained. Therefore, X' S (t) is expressed by the following equation. X' S (t) = At 3 + (B - 3A K' S )t 2 + {C - 2 K' S (B - 3A K' S )}t + D - 1 K' S {C - 2 K' S (B - 3A K' S )} When the compensation coefficients K 1 , K 2 , and K 3 are obtained so as to satisfy the relation of the equation (1) for the stationary solution in the case where f Z (t) was instructed to the Z axis, the following relations are obtained. K 1 + K 2 = 1 K' S - 1 K S + 1 K Z C - 2B K S + 6A K S 2 = C - 2B K' S + 6A K' S 2 + 2B K' S - 2B K S + 2B K Z - 6A ( K 1 K' S - K 3 ) - 2B K Z + 6A K S K Z K 1 K' S - K 3 = 1 K' S 2 - 1 K S 2 + 1 K S K Z D - C K S + 2B K S 2 - 6A K S 3 = D - C K' S + 2B K' S 2 - 6A K' S 3 + C K' S - C K S + C K Z - 2B K' S 2 + 2B K S 2 - 2B K S K Z + 6AK 3 K' S 2 - C K Z + 2B K S K Z + 6A K S 2 K Z The following equation is obtained by substituting the equations (8), (9), and (10) for the equation (11). - 6A K S 3 = - 6A K' S 3 + 6AK 3 K' S 2 + 6A K S 2 K Z K 3 = K' S 2 ( 1 K' S 3 - 1 K S 3 + 1 K S 2 K Z ) In general, when an inverter drive is employed as the speed control apparatus of the first servo system, it takes tens of seconds to raise the number of revolutions of the servo motor to a few thousand revolutions per minute at constant acceleration/deceleration when the system is started, and a drive unit with a capacity several times larger than the rating is needed for the acceleration/deceleration torque alone in order to bring up the system into a constant state in a few seconds. The constant power control makes it possible to improve the energy efficiency without using an inverter drive with a large capacity, because the number of revolutions of the servo motor can be raised to a few thousand revolutions per minute in a few seconds by means of an inverter drive with a normal capacity. Accordingly, in the control of the main axis of a machine tool, the constant power control becomes indispensable. In contrast, a servo tracking control method of the prior art has the drawback that positional synchronizing errors between two axis during acceleration/deceleration become extremely large. As mentioned above, by generating the first, second and third compensation signals from the information of the position and speed of the first servo system and compensating the speed error of the second servo system by the first, second and third compensation signals, position synchronizing errors can be eliminated and an accurate synchronizing control between two servo systems having different response characteristics can be executed even in cases where the acceleration and deceleration of the first servo system are executed even at constant power control. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a servo system to which a tracking control method between two servo systems according to the invention was applied; Figs. 2 to 5 are diagrams showing embodiments of the invention; and Fig. 6 is a command and measurement waveform diagram for explaining the principle of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Fig. 1 is a block diagram of an embodiment of a servo system to which a tracking control method between two servo systems according to the invention was applied. The system is used in a tapping machine. The servo system of the S axis drive (main drive shaft) is composed of a servo motor 1, a tachogenerator 2, a pulse generator 3, a servo drive 4, a D/A converter 5, a error counter 6, and a position command generating section 7. The servo system of the Z axis drive (table drive shaft) is composed of a servo motor 11, a tachogenerator 12, a pulse generator 13, a servo drive 14, a D/A converter 15, an adder 18, a error counter 16, and a multiplier 19. The compensation coefficients K 1 , K 2 , and K 3 are set into constant setting devices 20, 21, and 22 by a microcomputer 8, respectively. The constant k is set into a synchronization speed ratio outputting section 17 by the microcomputer 8. A present value counter 9 samples the position detection signal X S (t) of the servo system of the S axis drive by a sampling signal 26 and generates the position signal X′ S (t). The position signal X′ S (t) is multiplied with the constant k by the multiplier 19 and becomes the position command signal for the servo system of the Z axis. The difference between the position command signal and the preceeding read-out value is calculated by a synchronizing speed compensation arithmetic unit 23. After that, the difference is multiplied with the compensation coefficient K 1 and becomes a first compensation signal y 1 (t). A multiplier 10 multiplies the constant k by a position command signal of the servo system of the S axis drive which is generated from the position command generating section 7 and, thereafter, differentiates the multiplied signal. The output of the multiplier 10 is multiplied with the compensation coefficient K 2 by a synchronizing speed compensation arithmetic unit 24 and becomes a second compensation signal y 2 (t). The output of the multiplier 10 is differentiated by a synchronizing acceleration/deceleration compensation arithmetic unit 25 and is, thereafter, multiplied with the compensation coefficient K 3 and becomes a third compensation signal y 3 (t). The first, second and third compensation signals y 1 (t), y 2 (t), and y 3 (t) are added to the output of the error counter 16 by the adder 18. The delay time which is mainly caused by the sampling and calculation processes is compensated by the first compensation signal y 1 (t). The delay time which is mainly caused at the start of a command is compensated by the second compensation signal y 2 (t). Sudden torque changes are compensated by the third compensation signal y 3 (t). The output signal of the adder 18 is supplied to the D/A converter 15. The compensation coefficients K 1 , K 2 , and K 3 are determined by the delay due to the sampling process, the delay due to the calculation process, and the position loop gains of the S and Z axes. The delay times due to the sampling and calculation process are made constant by the sampling time. By setting the compensation coefficients K 1 , K 2 , and K 3 by the position loop gains of the Z and S axes, the accurate tracking control between two servo systems can be performed. Thus, tapping work at higher speed and accuracy than in conventional methods can be achieved. The present invention is not limited to only tapping machines but can also be applied to double-axis drive of electric trains, gear shaving, a two point suspension cranes, both-end driving of ball screws and the like. While a preferred embodiment of the invention has been described using specific terms, such description is for illustration only, and it is to be understood that changes and variations may be made without departing from the scope of the following claims.

Claims: A tracking control method between two servo systems (1,2,3,4,5,6,7 : 11,12,13,14,15,16,18,19) whereby the position detection signal of the first servo system (1 to 7) having a speed control loop as a minor loop is sampled and subjected to a digital calculation and the resultant signal is set to a position command signal of the second servo system (11 to 16,18,19) having a speed control loop as a minor loop, thereby allowing the second servo system (11 to 16,18,19) to track the positional response of the first servo system (1 to 7), comprising the steps of generating a first compensation signal (y 1 (t)) according to speed information obtained from the position detection signal of the first servo system (1 to 7), and generating a second compensation signal (y 2 (t)) according to the speed information obtained from the command signal of the speed or position of the first servo system (1 to 7), characterized by comprising the steps of generating a third compensation signal (y 3 (t)) according to the derivative of said speed information, and compensating the speed error of the speed control loop of the second servo system (11 to 16,18,19) by the first, second and third compensation signals (y 1 (t), y 2 (t), y 3 (t)). A method as claimed in claim 1, wherein said compensation step includes the step of adding the sum of the first, second and third compensation signals (y 1 (t), y 2 (t), y 3 (t)) to a speed set value of the speed control loop of the second servo system (11 to 16,18,19) as a compensation signal of said speed set value, thereby compensating the speed error. A method as claimed in either one of claims 1 and 2, wherein said compensating step includes the step of compensating the gain of the control apparatus which generates the speed command signal of the speed control loop of the second servo system (11 to 16,18,19) by the sum of the first, second and third compensation signals (y 1 (t), y 2 (t), y 3 (t)), thereby compensating the speed error.

Inventors: HIRAGA YOSHIJI, KYURA NOBUHIRO, HIRAGA, YOSHIJI, KYURA, NOBUHIRO, HIRAGA, YOSHIJI, C/O TOKYO PLANT, K.K. YASKAWA, KYURA, NOBUHIRO, C/O TOKYO PLANT, K.K. YASKAWA
Applicants: YASKAWA DENKI SEISAKUSHO KK, KABUSHIKI KAISHA YASKAWA DENKI SEISAKUSHO
Application year: 1991
Main classification: G05B19
IPC codes: G05D3, G05B19