SPEED CONTROL SYSTEM

Abstract: A speed control system which enables simultaneous estimation of the speed by an observer based upon position data fed from a rotary encoder and the load torque causa­ tive of constant estimation errors, to thereby control the speed by using the estimated value. The position data fed from the rotary encoder is fed back to the integral control element of the I-P controller to control the speed of a motor.

Description: Technical Field This invention relates to a velocity control system and, more particularly, to a velocity control system in which velocity is controlled by using an observer to estimate velocity on the basis of position information. Background Art By virtue of the rapid progress which has been made in technology, digital feedback control of a variety of motors by microcomputer has become commonplace. When subjecting a motor to feedback control by using a microcomputer, it is necessary to sense the actual velocity of the motor. To this end, conventional practice is to use a rotary encoder, by way of example. The rotary encoder is adapted to generate from several thousand to 20,000 pulses per revolution of the motor, the frequency of these output pulses being proportional to the rotational velocity of the motor. However, the spacing between adjacent pulses becomes very wide and the pulses become discrete in nature, especially when the motor rotates at a low velocity. When these pulses are used directly as motor velocity information, irregular rotation is the result. Thus, when an attempt is made to use a position sensing rotary encoder for sensing velocity as well, highly precise, smooth velocity control cannot be carried out due to the fact that velocity resolution is poor in comparison with an analog-type sensor. EP-A-201 605 and EP-A-208 788 both forming state of the art under Art 54(3) EPC propose a velocity control system in which, when an observer is used to estimate velocity based on position information from a rotary encoder, load torque, which is a cause of a steady-state estimating error, is estimated at the same time to enable highly precise, smooth velocity control. Fig. 2 is a block diagram of such a velocity control system. Numerals 1 through 3 denote arithmetic units, 4 an observer, 5 a motor and 6 an I-P controller constituted by an integration element K₁/S and a proportion element K₂. V c represents a velocity command, U a torque command signal, I motor current and I L current indicative of a load torque. V represents velocity, ϑ position, k₁ integration gain, k₂ feedback gain, K m a motor constant, and T m a ratio between L a and R a , namely the value of L a /R a , where Ra denotes motor winding resistance and La represents inductance. Further, K t is a torque constant, J stands for inertia which is the total of the load and motor inertia, and K p is a conversion coefficient decided by the rotary encoder. S represents d/dt. Further, the observer per se is one commonly in use. An arrangement in which a velocity sensor is combined with the observer has been proposed in Japanese Patent Application No. 5955114. The operation of this velocity control system will now be described. First, the arithmetic unit 1 produces an output indicative of the difference between the velocity command and an estimated value V and of velocity, described below. The output signal is integrated and then applied to the arithmetic unit 2. The result of multiplying the estimated value V and of velocity by the feedback gain k₂ is applied to the arithmetic unit 2, which outputs the difference between its two input signals as the torque command U, thereby controlling the motor 5. The velocity of the motor is outputted as V, and position ϑ is sensed by a rotary encoder. The information indicative of position ϑ includes the results of adding the current I L , which is indicative of the load torque (Coulomb friction), at the arithmetic unit 3. In this velocity control system, the estimated value of velocity is obtained by using the observer 4. At this time the load torque, which is a cause of a steady-state estimation error, is estimated simultaneously. Specifically, the position information ϑ, which takes into account the motor current I and the current I L indicative of load torque, is applied to the observer 4, which proceeds to output the estimated value V of velocity. Let us describe this point in detail. If an identity observer is constructed for the motor current I, velocity V, position ϑ and current I L due to load torque, we will have What are actually sensed and applied to the observer 4 are the motor current I and position ϑ. An identity observer for digital processing is as follows: where T is a sampling period and λ₁, λ₂, λ₃ are the observer gains. These values are inversely proportional to time needed for the estimated value to converge to a true value. In order to process the above by a microprocessor, the observer is implemented by the following algorithm: Fig. 3 is a view useful in describing information processing for obtaining the predicted value V and of velocity. Fig. 3(a) is for describing the processing level (j) of a motor current loop, and Fig. 3(b) is for describing a velocity processing level (m). The observer is equipped with a hardware counter for integrating a number of pulses Δ ϑ which arrive from the rotary encoder in the sampling time period T. In this case, it is assumed that the observer gains λ₁, λ₂, λ₃ which will bring an estimation error to zero in five steps are calculated and given in advance. Fig. 4 illustrates a flowchart of processing performed by the observer 4 at the motor current loop processing level. Fig. 5 illustrates a flowchart of velocity loop processing. First, with regard to the motor current loop, the observer 4 reads in position information Δ ϑ j and motor current I m . Next, these are integrated. Then, based on Eq. (1), position estimation information Δ ϑ and m+1 velocity estimation information V and m+1 and current estimation information I and Lm+1 indicative of load are calculated. When this processing has been performed for the fifth time, V and m+1 is delivered to a velocity processing program. This relationship is evident from Figs. 3(a) and 3(b). Next, in velocity loop processing as indicated by the flowchart of Fig. 5, the observer reads in velocity commands V and 5m and then integrates them. Next, the integrated value is multiplied by the integration gain k₁ and from this product is subtracted the product of velocity estimation information V 5m and feedback gain k₂, whereby the torque command U 5m is obtained. In such velocity control using an observer, the estimated velocity value V and obtained by the observer 4 is fed back to the input side of the integration element K₁/S of the I-P controller and to the proportion element K₂ of the I-P controller. Consequently, when an error is produced in the estimated velocity value by cancelling in the calculations performed by the observer, an offset quantity exists in the torque command U and accurate velocity control cannot be performed. The present invention solves the aforementioned problem of the prior art and its object is to provide a highly accurate velocity control system in which the estimated velocity value obtained by the observer is fed back to the proportion element of the I-P controller and the position information itself is fed back to the input side of the integration element Disclosure of the Invention The present invention provides a velocity control system in which position information from a rotary encoder mounted on a servomotor driving a mechanical load is fed back and a torque command is produced for application to the servomotor. Position information from a rotary encoder is fed back to an integration element of an I-P controller, and an observer is provided for estimating velocity on the basis of the position information and servomotor current. The observer incorporates load torque in the estimated velocity value, feeds back this estimated velocity value to a proportion element in the I-P controller, and obtains torque command information, which is applied to the servomotor, from the output side of the I-P controller. Brief Description of the Drawings Fig. 1 is a block diagram of the present invention, Fig. 2 is a block diagram showing an example of the prior art, Fig. 3 is an explanatory view, and Figs. 4, 5 are flowcharts. Best Mode for Carrying Out the Invention An embodiment of the present invention will now be described in conjunction with the drawings. Fig. 1 is a block diagram of the present invention. In accordance with the invention, the estimated velocity value V and obtained by the observer 4 is fed back to the proportional element K₂ of the I-P controller 6, and the information ϑ indicative of the position of motor 5 obtained by the rotary encoder is fed back to the arithmetic unit 1 provided on the input side of the integration element K₁/S of I-P controller 6. In other respects the arrangement is the same as that of the prior-art example shown in Fig. 2. Thus, the estimated velocity value V and obtained by the observer 4 is fed back solely to the proportion element K₂ of the I-P controller, and the position information ϑ is fed back to the input side of the integration element of the I-P controller. As a result, the offset quantity can be removed from the torque command U. When an error signal is inputted to the integration element, the error signal is integrated, errors are accumulated and the output signal of the integration element develops a large error. In accordance with the present invention, however, an error-free position signal, which can be regarded as an average velocity, is fed back to the integration element, so that the output of the integration element does not contain an error component. Further, since the proportion element can be thought of as being a stable element in comparison with the integration element, a problem such as that described above does not arise. Although the invention has been described in its preferred form with a certain degree of particularity, it is obvious that the present disclosure of the preferred form can be modified in the details of construction, and that various modifications or combinations thereof can be made without departing from the spirit of the invention described in the claims. Industrial Applicability In accordance with the present invention, highly precise, stable velocity control can be carried out since an offset quantity is removed from the torque command obtained on the output side of the I-P controller. Therefore, if the invention is used in a motor control circuit for driving the arm of an industrial robot, this will make it possible to achieve highly accurate positional control of the arm. It goes without saying that the invention can also be applied to the servomotor circuit of a machine tool.

Claims: A control system for an electrical motor (5), comprising a position detector coupled at the output side of the motor (5) to feedback actual position information (ϑ) to be compared, in a first comparison, with initial command information, and velocity feedback means (4) to feedback velocity information (V) to be compared, in a second comparison, with information resulting from said first comparison, the second comparison resulting in control information (U) to be fed to the motor (5), characterised in that: the control system is a velocity control system with said initial command information being velocity command information; the position detector is a rotary encoder mounted on the motor (5); said control information (U) is torque command information for the motor (5) and is produced by an I-P controller (6) which provides for said second comparison a first comparison amount which is the result of said first comparison after integration performed by an integration element provided in the I-P controller (6), and a second comparison amount which is said fed back velocity information (V) after a proportionality operation performed by a proportion element provided in the I-P controller (6); said fed back actual position information (ϑ) incorporates load torque (I L ) as a factor in its production; and said velocity feedback means (4) is an observer means for estimating velocity based on said actual position information (ϑ) and motor current (I). A control system according to claim 1, characterised in that at least a means for feeding back said actual position information (ϑ) from the rotary encoder for said first comparison, the observer means (4) for estimating velocity based on said actual position information (ϑ) and motor current (I), a means for feeding back the estimated velocity value (V) from said observer means (4) to the proportional element of said I-P control means (6), and a means for calculating said torque command information (U) for the motor (5), are constituted by control means comprising a microcomputer.

Inventors: SAKAMOTO KEIJI FUYOU-HAITSU -, TOYOSAWA YUKIO - TAKAKURA-CHO, SAKAMOTO, KEIJI FUYOU-HAITSU 102, 65-4, TOYOSAWA, YUKIO 2-4, TAKAKURA-CHO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1986
Main classification: G05D13
IPC codes: B23Q15, H02P23, G05B19