Procedure for filtering a speed feedback signal

Abstract: Procedure for filtering the speed feedback signal in an elevator motor drive which is provided with a speed controller and in which the speed of rotation of the motor (3) is measured. The procedure of the invention involves sampling of the speed feedback signal, producing a prediction of the next sample by a predicting procedure that filters the noise in the speed feedback signal, and forming an estimate of the latest sample by delaying the prediction by a time corresponding to one sample.

Description: The present invention relates to a procedure for filtering the speed feedback signal in an elevator motor drive provided with a speed controller and in which the speed of rotation of the motor is measured. To suppress the noise in the speed feedback signals in elevator drives, low-pass filters are currently used. However, these cause a delay in the processing of the primary signal and thus make the servo system more difficult to control. Also, non-linear median filters have been used for the filtering of a feedback signal measured by means of a tachometer generator, but they, too, produce an undesirable additional delay in the control loop. The noise appearing in tachometer signals is dealt with e.g. in an article by S. J. Ovaska, entitled "Multistage digital prefiltering of noisy tachometer signals", IEEE Transactions on Instrumentation and Measurement, Vol. 37, no. 3, September 1988, pp. 466 - 468. DE-A 35 03 606 concerns delay free filtering of signals. The known method considers the fact that a signal is processed in a signal processing means wherein the usable filtered signal is delayed by the time which a filtering means in the signal processing means needs to process the input signal into the output signal. To compensate this delay a predictor is connected after the signal processing means. Therefore by this method the signal delay caused by the signal processing means is compensated to obtain a delay free signal. The object of the present invention is to eliminate the drawbacks of the previously known techniques. The procedure of the invention for filtering the speed feedback signal in an elevator motor drive provided with a speed controller is based on predicting and delaying samples obtained from the speed feedback signal in the manner defined in the claims presented later on. The procedure of the invention can be applied both to the suppression of the noise in speed feedback signals produced by conventional tachometer generators and to the reduction of the random error contained in speed signals obtained by calculating from the pulse duration of a pulse encoder. The procedure of the invention does not produce any additional delay in the control loop. Using this procecure improves the speed controller's ability to follow the reference and consequently enhances the travelling comfort offered by the elevator system. In the following, the invention is described in detail by the aid of an example by referring to the drawings attached, in which Fig. 1 represents an elevator system together with its motor drive. Fig. 2 presents a typical noise spectrum for a measured speed signal, and the spectrum of the output of a FIR predictor. Fig. 3 represents the median delay. Fig. 4 represents the FIR delay. Fig. 5 represents a typical measured speed signal. Fig. 6 represents a speed signal filtered by conventional techniques. Fig. 7a and 7b represent the frequency responses of a FIR predictor. Fig. 8 presents a speed signal filtered by the procedure of the invention. In the elevator system illustrated by Fig. 1, a frequency converter 2 connected to a three-phase network L1 - L3 by means of connectors la - 1c feeds a three-phase squirrel-cage motor (M) 3. The rotation of the motor is transmitted by a shaft 4 to a traction sheave 5 which, by means of hoisting ropes 6, moves the elevator car 7 and counterweight 8. The frequency converter is controlled by a control unit 9 provided with a speed controller. The motor speed is measured by means of a tachometer generator 10. The speed feedback signal returned to the control unit 9 is filtered by means of a filter 11. The filtering procedure of the invention is based on the use of predictors with a low-pass type frequency response. According to the invention, the predictor output is delayed by an amount corresponding to one sampling, period allowing an estimate for the latest real sample to be obtained. Fig. 2 presents a simplified diagram representing the typical frequency response 13 of the speed feedback signal of an elevator motor and the frequency response 14 of a predictor with a low-pass type frequency response. Fig 2 shows that such a predictor effectively eliminates the noise in the speed sigal by suppressing the high frequencies. A FIR (Finite Impulse Response) type predicting procedure suited for use with the procedure of the invention is presented e.g. in an article entitled "FIR-median hybrid filters with predictive FIR substructures" by P. Heinonen and Y. Neuvo in IEEE Transactions on Acoustics, Speech and Signal Processing; Vol. 36, no. 6, June 1988, pp. 892 - 899. In the procedure of the invention, it is also possible to use other types of predictors besides the FIR type which is described in the article referred to. In addition, IIR (Infinite Impulse Response) type predictors can be used. FIR and IIR filters are described e.g. in the publication Oppenheim A.V., Schafer R. W.: Discrete-Time Signal Processing, Englewood Cliffs, NJ: Prentice-Hall, 1989, pp. 290- 317. An IIR filter (predictor) can be represented mathematically by means of the following differential equation with a constant factor: An FIR filter (predictor) can be represented mathematically by means of the following differential equation with a constant factor: These predictors are applicable for the extrapolation of the future value of polynomes of a low degree, in practice not higher than 3rd degree, when a number of previous values are known. The speed reference curve of an elevator consists of this kind of 1st and 2nd degree curve parts. The predictors used effectively reduce noise, of both normal and even distribution, that has been summed to the primary signal. According to the invention, the input of the predicting filter 11 is supplied with measured/calculated speed samples at a constant sampling frequency, and its output provides a prediction of the next sample. Delaying the output by an amount corresponding to one sampling period makes it possible to obtain an estimate of the latest real sample. The variance (power) of the noise comprised in this estimate is lower than the noise in the measured sample. Instead of a delay 12 it is possible to use a median filter 15 (Fig. 3) of a length corresponding e.g. to three samples, with a total delay equal to one sampling period. Median filters are described e.g. in the reference publication I. Pitas, A. N. Venetsanopoulos: Nonlinear Digital Filters; Principles and Applications, Kluwer Academic Publishers, Boston, MA, 1990, pp. 63 - 65. The median filter can be placed either before the predictor or after it. In this way, additional reduction of especially fast noise transients is achieved. Also, it is possible to use e.g. a linear-phased FIR filter (Fig. 4) of a length equal to three samples, in which the samples have weight factors a, b and c symmetrical with respect to the centre of the filter, the samples being added together in a summing element 16. Using a FIR delay enables the filtering of e.g. mains noise, while the median delay can be used to filter noise like impulse peaks. To visualize the action of the procedure of the invention, it was tested by performing a series of computer simulations based on a noise-free speed signal of a duration corresponding to 2000 sampling periods, with a sampling interval of 500 Hz. Bipolar noise with a standard deviation of 0.02 and even distribution was added to the noise-free speed signal. The noisy speed signal (Fig. 5, in which the horizontal axis represents time, the value 2000 corresponding to 4s) was first filtered with a median filter (length 24 samples), which, in respect of noise suppression, is optimal for the filtering of noise with normal and even distribution. The result was otherwise excellent but the filter output (dotted line) was delayed with respect to the real signal (continuous curve) (Fig. 6, horizontal axis as in Fig. 5). Similar results are also obtained when other types of low-pass filters are used. Next, the same noisy signal was filtered with the delayed FIR predictor (length 24 samples) of the invention, the frequency responses for which are shown in Fig. 7a (amplitude) and 7b (phase). The horizontal axis in Fig. 7a and 7b represents the frequency. The value 1 corresponds to the Nyquist frequency, which is half the sampling frequency being used. The noise level was not reduced quite as much as in the case of the median filter, but in this case the primary signal was not delayed (Fig. 8, where the horizontal axis corresponds to that in Fig. 5). The coefficients of the predictor were calculated from the equation (17) given in the aforesaid article by P. Heinonen and Y. Neuvo. The results were analyzed by means of predictors of various lengths (N) (the error power contained in the unfiltered signal has been normalized to the value 1) according to the table below. N input error power median filter error power predictor error power 8 1.0 0.5085 0.6181 16 1.0 1.3837 0.2634 24 1.0 2.8611 0.1646 32 1.0 4.9042 0.1253 40 1.0 7.5069 0.1053 Using the method of the lowest sum of squares, numeric formulas for the output error power (including both the noise component and the delay) were calculated. P out (median filter) = 0.01461N 1.675 The output error power is roughly proportional to the square of the length of the filter i.e. the error power is a function that increases with the filter length. P out (predicting filter) = 6.008N -1.114 The output error power is almost inversely proportional to the number of coefficients in the predicting filter, i.e. the error power is a function that decreases with the length of the filter. It is obvious to a person skilled in the art that different embodiments of the invention are not restricted to the examples described above, but that they may instead be varied within the scope of the following claims.

Claims: Procedure for filtering the speed feedback signal in an elevator motor drive which is provided with a speed controller and in which the speed of rotation of the motor (3) is measured, wherein the speed feedback signal is first sampled for producing a prediction of the next sample by a predicting procedure that filters the noise in the speed feedback signal, which prediction is of a low-pass type predicting procedure extrapolating polynomes of a low degree, e.g. max. third degree and thereafter the output signal of the predictor with a phase lead of one sample being delayed by a time corresponding to one sampling period by using a delay (12) or by processing in a median filter (15) or a linear FIR (Finite Impulse Response) filter (16), the filter length of these filters equals a given number of samples and the total signal delay of these filters equals the duration of one sampling period. Procedure according to claim 1, characterized in that the samples are taken at a sampling frequency that remains substantially constant. Procedure according to claim 1, characterized in that the prediction procedure is of the FIR or IIR (Infinite Impulse Response) type.

Inventors: OVASKA SEPPO, OVASKA, SEPPO
Applicants: KONE ELEVATOR GMBH
Application year: 1992
Main classification: H03H17
IPC codes: B66B1, H03H17