SERVO CONTROL APPARATUS

Abstract: A servo control apparatus which generates a torque command based on a difference between an instructed speed and a real speed in order to control the speed of the servo motor based on the torque command. Provision is made of a condition observation unit (50) which converges into zero the deviation between the real speed of the motor and an estimated speed and the deviation between the disturbance torque and the estimated disturbance torque. The estimated disturbance torque is input to a high-pass filter (70) to generate a correction torque command, the torque is corrected through a torque command correction unit (15), and the corrected torque command is input to the servo motor (18) to control the speed.

Description: Technical Field This invention relates to a servo-control apparatus for controlling the velocity of a servomotor. More particularly, the invention relates to a servocontrol apparatus capable of eliminating the influence of a disturbance torque. Background Art In velocity control of an AC motor such as an induction motoror synchronous motor, a current command (torque command) conforming to the error between a commanded velocity and actual velocity is generated to made the actual velocity coincide with the commanded velocity. Fig. 7 is a block diagram of a conventional velocity loop, in which numeral 1 denotes an arithmetic unit for calculating a velocity error, which is the difference between a commanded velocity V CMD and actual velocity V FB , 2 an integrator having an integration gain k₁ for integrating the output of the arithmetic unit 1, 3 a proportional unit set to a proportional gain k₂ for outputting k₂·V FB , 4 an arithmetic unit for calculating the difference between the outputs of the integrator and proportional unit, 5 a setting unit for setting a torque constant K t , 6 an arithmetic unit for adding a disturbance torque and the output of the torque-constant setting unit, and 7 a motor. J m represents motor inertia. In the velocity loop of Fig. 7, the influence of the disturbance torque appears as a fluctuation in motor velocity and is reflected in the torque command through the integrator 2, the transfer function whereof is k₁/s, and the proportion unit 3, whose proportional gain is k₂. Consequently, even through a fluctuation in velocity is produced by the disturbance, the overall velocity loop acts in a direction to reduce the fluctuation in velocity. The higher the gain of the velocity loop, the greater the degree to which the disturbance is suppressed. However, there is a limit to the gain, for the overall system will fall into an oscillatory state if the velocity loop gain is made too high. In other words, if the disturbance torque is large, the fluctuation in motor velocity cannot be suppressed sufficiently because the degree of suppression cannot be raised. For example, when cutting is performed by a machine tool, problems occur, such as an uneven cut surface. Accordingly, an object of the present invention is to provide a servo-control apparatus in which the system will not oscillate and which is capable of applying a sufficient torque correction with regard to the disturbance torque, thus making it possible to sufficiently suppress a fluctuation in motor velocity due to a disturbance torque. Disclosure of the Invention In accordance with the present invention, the foregoing object is attained by providing a servocontrol apparatus, which is for generating a torque command conforming to a difference between a commanded velocity and actual velocity and controlling velocity of a servomotor based on the torque command, with an observer for estimating actual velocity and disturbance torque, and for asymptotically reducing to zero the error between the actual velocity and estimated velocity and the error between the disturbance torque and the estimated value of the disturbance torque, a high-pass filter for applying high-pass processing to the disturbance torque estimated by the observer, and a torque-command correcting unit for correcting, based on the result of high-pass processing, the torque command applied to the servomotor. Brief Description of the Drawings Fig. 1 is a block diagram of a servo-control system according to the present invention; Figs. 2 and 3 are views for describing the principle of an observer; Fig. 4 is a view showing the conditions in a velocity loop from a torque command to actual velocity of a motor; Fig. 5 is a block diagram of an observer for estimating disturbance for carrying out the present invention; Fig. 6 is a view for describing the observer and the frequency band of a high-pass filter for carrying out the present invention; and Fig. 7 is a block diagram showing a conventional velocity loop. Best Mode for Carrying Out the Invention The present invention provides an observer for estimating actual velocity of a motor and disturbance torque, and for reducing to zero an error between the actual velocity of the motor and estimated velocity and an error between the disturbance torque and an estimated value of the disturbance torque, and corrects a torque command, which is applied to a servomotor, based on the disturbance torque estimated by the status estimating unit. The principle of the status estimating unit will be described first. In order to perform control based on status feedback, it is required that all status quantities of a controlled system be measurable at every point in time. However, in an ordinary multiple-variable system, all status quantities cannot be measured directly if the number of variables is too large. Therefore, status variables which cannot be measured must be estimated from outputs directly measurable within the control system. One method of estimating status quantities is to construct a model of the control system and estimate status quantities by comparing the output of the control system and the output of the model system. Such estimating means is referred to as an "observer". Consider an n-dimensional linear system SYS (see Fig. 2) that satisfies the following equations: x = Ax + Bu, x(t) = x o (1) y = Cx (1)' In this system SYS, u(t) represents a control input (manipulated variable), x(t) represents the status, and y(t) represents an output. If a system identical with the above-described system (process) SYS is constructed as a model MDL and the same input is applied thereto, the model will be expressed as follows: Whether x can be estimated from the status x and will now be considered. If the difference between the status x(t) of the system SYS and the status x and(t) of the model MDL is assumed to be x(t) - x (t) = e(t) (3) then we will have the following from Eqs. (1) and (2): where e(0) = x o . If Eq. (4) is asymptotically stable, namely if the real parts of the eigenvalue of A are all negative, then e(t) → 0 for t → infinity. Therefore, x and(t) will approach x(t) asymptotically. Otherwise x and(t) will not indicate information relating to (x)t and the status of the system SYS indicated by Eq. (1) cannot be estimated from Eq. (2). In Fig. 2, SN1, SN2 denote sensors. Consider utilizing feedback in order to arrange it so that (e) → 0 will be achieved asymptotically without fail. More specifically, as shown in Fig. 3, the difference between the output of the original system SYS and the output of the estimating system MDL is utilized as feedback and an arrangement is adopted as set forth below. In Fig. 3, ADD represents an adder, and MUL represents a multiplier. Subtracting Eq. (5) from Eq. (1) gives e (t) = Ae(t) - LCe(t) = (A - LC)e(t), e(0) = x o (6) Therefore, e(t) = {exp(A - LC)t} · e(0) This e(t) is equal to x(t) - x and(t). Accordingly, if an L exists which makes the root of the characteristic equation negative, then e(t)→ 0 will hold without fail at t → infinity and the observer of the system of Eq. (1) is realizable with the system of Eq. (5). In the foregoing, A, B, C, L are predetermined matrices. An example of such an observer is disclosed in JP-A-57199486. For carrying out the present invention, an observer is constructed for the velocity loop in order to estimate disturbance torque. Fig. 4 represents the conditions in velocity control of a servomotor from a torque command to actual velocity of a motor. In Fig. 4, u(t) represents the torque command, x₂(t) the disturbance torque, and x₁(t) the actual velocity of the motor. Numeral 16 denotes a torque-constant setting unit, 17 an arithmetic unit, and 18 a servomotor. J m represents the inertia of the motor. The following holds with regard to status variables x₁, x₂: If this system is treated as a discrete value system and the sampling time is taken as being T, then Eq. (7) can be expressed as the following recurrence formula: Eq. (8) is rewritten as follows: x(i+1) T = A d x(i) T + B d u(i) (8)' and an observer with regard to this is constructed as expressed by Eqs. (9) and (10) below. z(i+1) T = A d x (i) T + B d u(i) (9) x (i) T = z(i) T + K T (y(i) - Cz(i) T ) (10) where and x and₁, x and₂ are estimated values of x₁ x₂. Further, y(i) = Cx(i) T and C, which is an output vector, is [1,0]. Accordingly, we have and Eq. (10) becomes x (i) T = z(i) T + K T C(x₁(i) - z₁(i)) (10)' where K T , which is a gain vector, is as follows: The error vector e(i) T = x (i) T - x(i) T at this time becomes as follows using Eqs. (8)', (9) and (10)': e(i) T = (A d - K T CA d )e(i-1) T (11) Therefore, if the eigenvalues of the matrix (A d - K T CA d ) are in a unit circle, then e(i)T → 0 will hold and the estimated value x and(i) T will converge to the actual value x(i) T . Rewriting the foregoing observer, we have If this is expressed using a block diagram, the observer will be as shown in Fig. 5. In Fig. 5, blocks 51, 52 indicated by Z⁻¹ are delay units for a delay of one sampling time, numerals 53 - 56 denote gain setting units for setting gains K₁, K₂, K t T/Jm, T/J m , respectively, and numerals 57 - 61 represent arithmetic units. Further, x₁(i) denotes actual velocity of the motor, x and₂(i) estimated disturbance torque, and u(i) a torque command. Fig. 1 is a block diagram of a velocity control system incorporating this observer and illustrates the observer in simplified form. Numeral 10 denotes a velocity loop which, with the exception of an analog section (an amplifier, motor and current loop) 10' enclosed by the one-dot chain line, is implemented in its entirety by digital processing using software. Numeral 50 denotes an observer similarly implemented by digital processing using software. Numeral 70 designates a high-pass filter, to which a disturbance torque x and₂ estimated by the observer 50 is inputted, for generating a corrective torque command t₂. In the velocity loop 10, numeral 11 denotes an arithmetic unit for calculating the velocity error, which is the difference between commanded velocity VCMD and motor velocity x₁, 12 an integrator (K₁/s) having an integration gain K₁ for integrating the output of the arithmetic unit 11, 13 a proportion unit for outputting K₂·x₁, 14 an arithmetic unit for generating a torque command (a torque command computed by the velocity loop) t1 by calculating the difference between the outputs of the integrator and proportion unit, and 15 a torque command correcting unit (arithmetic unit) for correcting the torque command, which is outputted by the arithmetic unit 14, by the corrective torque command t₂ outputted by the high-pass filter 70, thereby producing a true torque command u. Numeral 16 denotes a setting unit for setting a torque constant K t , 17 a unit for entering the disturbance torque x₂, and 18 a motor. The motor inertia is J m . The observer 50 for estimating the disturbance torque x₂ is designed in such a manner that the error between the actual velocity X₁ of the motor and the esimated velocity x and₁ thereof, as well as the error between the disturbance torque x₂ and the estimated value x and₂ of the disturbance torque, will converge to zero. The high-pass filter 70 has a transfer function Km·s/(s+a) and is adapted to attenuate low-frequency components of the disturbance torque x and₂ estimated by the observer 50, multiply solely the high-frequency components by K m , and apply the result to the torque command correcting unit 15 of the velocity loop 10 as the corrective torque command t₂. The band of the high-pass filter 70 depends upon the constant a, and the frequency characteristic thereof is as indicated by F1 (the dashed line) in Fig. 6. The frequency characteristic of the observer 50 is as indicated by F2 (the one-dot chain line). Accordingly, the characteristic of the overall system is as indicated by F3 (the solid line). The reason for thus attenuating or cutting the low-frequency components of the estimated disturbance torque x and₂ is that what causes the oscillation phenomenon when the magnitude of the ratio t₂/t₁ of the torque command t₁ to the corrective torque command t₂ becomes greater than 1 is the low-frequency component contained in the disturbance torque x₂. It should be noted that a torque correction cannot be applied to the low-frequency components of the disturbance torque owing to provision of the high-pass filter. However, in a case where the frequency components contained in the disturbance torque are sufficiently low in comparision with the band-pass frequency of the velocity loop, the effects of the low-frequency components of the disturbance torque can be diminished by the action of the velocity loop itself. Hence, no problems are encountered. The overall operation of the apparatus of Fig .1 will now be described. The observer 50 estimates the disturbance torque in such a manner that the difference between the actual velocity of the motor and the estimated velocity will converge to zero, and applies the estimated disturbance torque x and₂(t) to the high-pass filter 70. The high-pass filter 70 attenuates the low-frequency components contained in the estimated disturbance torque x and₂(t), multiplies solely the components higher than a predetermined frequency by K m and outputs the result as the corrective torque command t₂. The torque correcting unit 15 outputs, as the true torque command u(t), a value obtained by subtracting the corrective torque command t₂ from the torque command t₁ computed based on the velocity command, thereby driving the motor. Thereafter, the latest torque command u and the actual velocity x₁ are inputted to the observer 50 and the foregoing operation is repeated to suppress the fluctuation in velocity. Thus, with the present invention as described above, low-frequency components are removed from estimated disturbance torque, as a result of which oscillation of the overall system can be prevented. Furthermore, even though the low-frequency components of disturbance torque are eliminated by the high-pass filter 70, a fluctuation in velocity due to the low-frequency components can be suppressed by the velocity loop itself and no problems are encountered. Further, since the correction coefficient K m of the disturbance torque estimated by the observer can be enlarged, it is possible to sufficiently suppress velocity fluctuation ascribable to high-frequency components, contained in the disturbance, that cannot be suppressed by the velocity loop.

Claims: A servo-control apparatus, which is for generating a torque command (u) according to the difference between a commanded velocity (VCMD) and actual velocity (x₁) and controlling velocity of a servomotor based on said torque command, characterized by comprising: an observer (50) for estimating actual velocity (x and₁) and disturbance torque (x and₂), and for asymptotically reducing to zero the error between said actual velocity and estimated velocity and the error between the disturbance torque and said estimated value of the disturbance torque; a high-pass filter (70) for applying high-pass processing to the disturbance torque estimated by said observer; and a torque-command correcting unit (15) for correcting, based on the result (t₂) of high-pass processing, the torque command applied to the servomotor. A servo-control apparatus according to claim 1, characterized in that said high-pass filter (70) has a characteristic of a transfer function K m ·s/(s+a) , where Km represents gain and a represents a constant.

Inventors: IWASHITA YASUSUKE C O FANUC DA, IWASHITA, YASUSUKE C/O FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: H02P5
IPC codes: H02P29, H02P25