METHOD OF DETERMINING SPEED OF ROTATION OF SQUIRREL-CAGE MOTOR AND A COMPUTER SOFTWARE PRODUCT TO CARRY OUT THE METHOD

Abstract: The present invention relates to a method of determining a speed of rotation of a squirrel-cage motor (1), in which method samples (x[n]) from the current (Im) taken by the squirrel-cage motor (1) are collected by an electric current measuring device (2) at a predetermined sampling frequency (fs) for a measurement period (T), the samples (x[n]) being stored as measurement data (S1) of a fixed format. The method is characterized by comprising the step of determining the rotation speed of the squirrel-cage motor (1) from the measurement data (S1) by determining the base frequency (ff) and side frequencies (f1, f2) of the electric current (Im) taken by the squirrel-cage motor (1), the rotation speed frequency (fr) of the squirrel-cage motor (1) being obtained by subtracting the lower side frequency (f1) from the higher side frequency (f2) and by dividing the difference thus obtained by two, i.e. the squirrel-cage motor's (1) speed of rotation fr=(f2-f1)/2.

Description: METHOD OF DETERMINING SPEED OF ROTATION OF SQUIRREL-CAGE MOTOR AND A C0MPUTER SOFTWARE PRODUCT TO CARRY OUT THE METHOD FIELD OF THE INVENTION [0001] The invention relates to a method of determining a speed of rotation of a squirrel-cage motor and a computer software product according to the method. The speed of rotation is determined from an electric motor which is of a squirrel-cage motor type. BACKGROUND OF THE INVENTION [0002] The invention relates to the determining of the rotation speed of squirrel-cage motors. The primary structural aspects determining the speed of rotation of a squirrel-cage motor are the pole pair number of the motor and the frequency of the voltage to be supplied to the motor. An unloaded squirrel-cage motor of a single pole pair rotates, in an ideal case, at a voltage frequency of 50 Hz at a synchronous speed of 3000 rotations per minute. If the number of pole pairs is increased, the synchronous speed of the motor decreases, whereby a motor rotation speed proportional to the pole pair number is arrived at by dividing 3000 rotations per minute by the number of the pole pairs of the squirrel-cage motor. [0003] In other words, when there is no load on a squirrel-cage type motor, the motor rotates at a speed which is almost directly proportional to the frequency of the voltage supplying electric current to the motor, i.e. synchronous speed. The rotation speed of the squirrel-cage motor deviates downward from the synchronous speed by the amount of the motor slip, the rotation speed of the motor being lower than the synchronous speed proportioned to voltage frequency by the amount of the slip. [0004] The rotation speed of a squirrel-cage motor is also proportional to the motor load. As the load on the motor increases, its rotation speed begins to decrease. The motor torque rises steeply, in accordance with the squirrel-cage motor torque curve, up to the point of maximum torque after which the torque starts to decrease again, whereby the load on the motor grows so great that the motor begins to slip from the speed provided by the voltage frequency of the current supply system. Figure 2 shows the torque curve of a squirrel-cage motor. [0005] Due to the above described phenomenon, the precise instantaneous speed of rotation depends on several factors, i.e. the structure, slip and load of the motor, and the frequency of the voltage supplied to the motor. [0006] In prior art measurement solutions, rotation speed of motors is measured using tachometer or stroboscope measurements. There are, however, major drawbacks in the prior art. When a tachometer is used for measuring speed of rotation, there must be one mounted in the motor, or one must be mounted for the measurement. Correspondingly, when a stroboscope is used, the motor must contain the means for carrying out the measurement. Motors do not usually have built-in speed measurement devices, but the motor must be halted for mounting one. However, motors used in industrial processes cannot usually be halted without causing undue harm for the process of which the motor is a part. In addition, a squirrel cage motor used in an industrial process may be located in a space where the mounting of the measurement device is difficult, or almost impossible. As an example, a gaseous space or one where there is a risk of an explosion could be mentioned. [0007] It is also known in the art to measure the current taken by a motor with an ammeter. The measurement can be carried out by connecting an ammeter coupled to a data collection means, such as a PC, to a wire that supplies electric current to the motor, the measurement being then carried out by collecting samples from the current taken by the motor. The measurement data obtained from the meter is stored in the memory of the data collection means and processed using software which produces a spectrum of the measurement data for visual analysis. This method of determining requires a discrete Fourier analysis (DFT) of the signal. In DFT, the measurement time and the frequency resolution (the distinction between two consecutive frequency points) are interrelated in that the better the desired resolution, the longer is the measurement time required. A long measurement time is a problem, because the motor load, and thereby its speed of rotation, should remain constant during the measurement to allow accurate and reliable measurement data to be collected. When the motor is used in an industrial process, this is not, however, usually possible without causing undue harm for the process. Secondly, in the DFT method the set of frequency points where the calculation is to be carried out is determined in advance by the measurement time and the sampling frequency. If the speed of rotation is not exactly the same as the frequency of any of the frequency points, error will occur in the estimation of fault frequencies, which are proportional to the speed of rotation, and, consequently, amplitude estimate will also be erroneous. [0008] The precise instantaneous rotation speed of the squirrel- cage motor depends on several factors, i.e. on the structure, slip and load of the motor, and the frequency of the voltage supplied to the motor. As illustrated above, drawbacks that often appear in connection with the prior art is the need to halt the motor for the mounting of the speed measurement device, the need for a plural number of measurement devices and, thereby, the need to carry out various measurements to allow an analysis to be made. Moreover, an accurate analysis requires a long measurement time, during which a constant speed of rotation of the motor is required. This naturally slows down and complicates the measurement, and impairs its accuracy and reliability. BRIEF DESCRIPTION OF THE INVENTION [0009] It is an object of the invention to alleviate the drawbacks of the prior art and to provide an improved method of determining speed of rotation, and computer software implementing the method. [0010] This is achieved by a method and computer software of the present invention comprising the characteristics set forth in the claims. More precisely, a method according to a preferred embodiment of the invention is primarily characterized by what is stated in the characterizing part of claim 1. [0011] An underlying idea of the invention is that the speed of rotation of a squirrel-cage motor is determined by measuring, with an ammeter suitable for the purpose, electric current from one phase supplying power to the motor. From the electric current taken by the squirrel-cage motor is collected measurement data at a suitable sampling frequency for a predetermined measurement period. The measurement data is stored in the memory of a data carrier as measurement data of a fixed format from which the rotation speed of the squirrel- cage motor can be estimated by calculation, the electric current taken by the squirrel-cage motor being proportional to the speed of rotation of the motor such that the motor takes the highest current at a frequency corresponding to the base frequency, and a side frequency lower than the base frequency by the rotation frequency and a side frequency higher than the base frequency by the rotation frequency show clearly distinguishable current values, and by determining the frequencies at which they appear, the actual rotation speed of the squirrel-cage motor can be determined by subtracting the lower side frequency from the higher side frequency and by dividing the difference thus obtained by two which allows to determine the instantaneous rotation speed of the squirrel-cage motor. These side frequencies proportional to the pole pair number are estimated from the measurement data using a maximum likelihood estimate (MLE) which is calculated by maximizing the maximum likelihood function (MLF) of the measurement data. The side frequencies proportional to the pole pair number are found at frequency points where the maximum likelihood function (MLF) obtains its highest values. [0012] Before the ML function is calculated to find the side frequencies proportional to the pole pair number, a base frequency is estimated from the measurement data, the estimation being also carried out using the maximum likelihood estimate (MLE) calculated by maximizing the maximum likelihood function (MLF) of the measurement data. The base frequency is found at a frequency point where the maximum likelihood function (MLF) obtains its highest value. Next, a sine signal of the base frequency is generated, the signal having the same amplitude and phase as the base frequency current taken by the squirrel-cage motor from the electric supply network. The signal thus generated is subtracted from the measurement data to provide a more accurate estimation of the frequencies proportional to the pole pair number. [0013] The speed of rotation is determined using the maximum likelihood estimate of the time domain. This provides an advantage in that the measurement time needed for determining the frequency is now significantly shorter than in the conventional DFT method. The reason for this is that in the maximum likelihood method, frequency is produced as a continuous variable and not as separate values in which the minimum difference between two frequency values, i.e. their resolution, is determined by the measurement time and the sampling frequency, as in the commonly used DFT method of the frequency domain. In the maximum likelihood method the only factor having an effect on the accuracy at which the speed of rotation can be determined is the magnitude of interference in the measurement signal. [0014] Practice has shown that for the impact of the interference that is in the measurement signals to be eliminated, the length of the measurement period must be more than 100 times the cycle length of the basic current and voltage frequency. The measurement time is, however, advantageously short in proportion to the variation in the speed of rotation caused by variations in the motor load. For example, at a basic current and voltage frequency of 50 Hz, the required measurement time is 2 seconds in the maximum likelihood method, whereas in DFT methods a measurement time of about 30 seconds is needed to obtain the required resolution. [0015] For sufficiently reliable measurement results, a sampling frequency about three times the highest frequency to be estimated is preferred, i.e. the base frequency with the speed of rotation added thereto. [0016] An advantage of the described method of determining the speed of a squirrel-cage motor is that there is no need to know the shape of the torque curve of the squirrel-cage motor or other parameters relating to it. It suffices to know the pole pair number of the motor and the frequency of the current taken by the motor. [0017] A further advantage is that no speed measuring devices need to be installed to the motor, which produces costs savings. In addition, the collection of the measurement data needed for the speed measurement can be carried out in a central unit feeding the motor, which provides another advantage in that there is no need to enter the motor space or to have separate wiring, but the measurements of even a plural number of motors can be carried out in a centralized manner in one and the same motor feeding central unit. Moreover, this enables the speed measurement method to be used advantageously in connection with a real-time, centralized control and monitoring system. BRIEF DESCRIPTION OF THE DRAWINGS [0018] In the following the invention will be described with reference to the accompanying drawings, in which Figure 1 shows a simplified schematic view of a measurement arrangement of the invention for the determining of a speed of rotation of a squirrel-cage motor; Figure 2 shows a torque curve of the squirrel-cage motor as a function of the rotation speed; Figure 3 shows a current measurement data signal taken by the squirrel-cage motor as a function of time; Figure 4 shows a current measurement data signal taken by the squirrel-cage motor as a function of time when a sine signal of a base frequency has been subtracted from the current measurement data signal; Figure 5 shows a schematic view of current taken by the squirrel- cage motor as a function of time; Figure 6 shows a principle of determining a base frequency from a maximum likelihood function adjusted to measurement data; Figure 7 shows a principle of determining a first side frequency from a maximum likelihood function adjusted to measurement data; and Figure 8 shows a principle of determining a second side frequency from a maximum likelihood function adjusted to measurement data. DETAILED DESCRIPTION OF THE INVENTION [0019] Figure 1 shows a simple example of an arrangement according to a preferred embodiment of the invention for the measuring of a speed of rotation of a squirrel-cage motor 1. The embodiment illustrates, by way of example, the determining of the rotation speed of a three-phase squirrel-cage motor 1 on the basis of electric current l m taken by the motor 1. [0020] The speed of rotation is measured from the squirrel-cage motor 1. Power, i.e. electric current, is supplied to the motor in a conductor 3 at a voltage and frequency typical of an electric supply network. The voltage of an electric supply network is typically 400V and its frequency 50 Hz. A first end of the conductor is coupled to a motor output 5 which is in a central unit 6 and a second end to the electric motor 1. When the squirrel-cage motor 1 is running, it takes electric current l m , depending on loading, which is measured from one phase of the motor output 5 with an ammeter 2 in the central unit 6. Current can be fed to the squirrel-cage motor 1 also with a frequency converter, in which case the voltage to be supplied to the motor 1 and its frequency are variables. However, the basic principle of the invention remains the same also when a frequency converter is used. [0021] The current measuring device 2 is of a clip-on ammeter type, or a similar ammeter. To the current measuring device 2 is coupled a data collection means 7, such as a PC 7, or a similar device provided with a memory means 4 suitable for data collection. [0022] The data collection means 7 comprises computer software which is used for collecting current measurement data S1 and for storing it in the memory of the data collection means 7 where it is arranged as processable measurement data of a fixed format. The shape of the current measurement data signal S1 is shown in Figure 3. Before the measurement is initiated, the software is provided with the initial data, to be described below, needed for carrying out the measurement. [0023] The base frequency f f of the electric current l m taken by the squirrel-cage motor 1 is the same as the frequency f n to be supplied to the motor 1 , i.e. in the case referred to in this embodiment, the frequency of the electric supply network voltage is about 50 Hz. On the basis of the characteristics of the squirrel-cage motor 1 , the pole pair number P of the motor 1 can be determined, the pole pair number in turn determining the synchronous speed f, of an unloaded squirrel-cage motor 1. The synchronous speed f, of the squirrel-cage motor 1 is determined on the basis of the pole pair number such that f, = f n / P, in which formula P = the pole pair number of the squirrel-cage motor, and f n = the frequency of the voltage of the electric supply network. [0024] The torque curve of the squirrel-cage motor 1 is illustrated as a function of the rotation speed in Figure 2. The Figure shows that as the load increases and the speed of rotation decreases, the torque of the motor 1 increases up to a certain point, after which the torque starts to decrease and the motor 1 begins to slip from the synchronous speed. [0025] The described preferred embodiment assumes that the pole pair number of the squirrel-cage motor 1 is 2. This means that the motor 1 rotates at a synchronous speed f, of 1500 rotations per minute, i.e. 25 rotations per second, or at a frequency of 25 Hz. [0026] The measurement operation is initiated by connecting the current measuring device 2, i.e. the clip-on ammeter or a similar ammeter, to measure the electric current l m taken by the squirrel-cage motor 1. The measurement is carried out from one phase of the motor output 5 in the central unit 6. To the current measuring device 2 is coupled a data collection means 7 comprising a data carrier 4 in which measurement data S1 will be stored. [0027] Next, the length of the measurement period T used in the data collection is set. To provide reliable results, the length of the measurement period T is at least 100 times the cycle length of the base frequency f f of the squirrel-cage motor 1 , the base frequency f f being the same as the frequency f n of the voltage to be supplied to the motor 1. With a base frequency f f of 50 Hz, a measurement period T length of 2 seconds is required. [0028] The next step is to set the sampling frequency f s to be applied in the data collection. To provide a reliable measurement result, the sampling frequency f s must be at least three times the sum of the synchronous speed f, of the squirrel-cage motor 1 and the base frequency f f . When the synchronous speed f, of the motor 1 is 25 Hz and the frequency f n of the electric supply network is 50 Hz, a sampling frequency of at least 3 times 75 Hz, i.e. at least 225 Hz, is required. [0029] The measurement is then initiated by collecting samples from the electric current l m taken by the squirrel-cage motor 1 at the set sampling frequency f s for the measurement period T. The data collection means 7 comprises computer software for collecting the measurement data and for storing it in the memory of the data collection means 7 where it is arranged as processable measurement data S1 of a fixed format. [0030] After the measurement data S1 have been collected and stored in the memory of the data collection means 7, the measurement data S1 is processed with the computer software which determines the speed of the rotation f r of the squirrel-cage motor 1. The measurement data S1 is illustrated graphically in Figure 3. [0031] The determining of the rotation speed of the squirrel-cage motor 1 begins by first determining from the measurement data S1 the base frequency f f of the electric current l m taken by the squirrel-cage motor 1. This is carried out in the time domain, using a maximum likelihood estimate (MLE) calculated by maximizing the maximum likelihood function J adjusted to the measurement data S1. The base frequency f f is found at the frequency point where the maximum likelihood function J obtains its highest value. [0032] The maximum likelihood function to be used for determining the base frequency f f of the electric current l m taken by the squirrel-cage motor 1 takes the following form: N-1 J = ABS ( ∑ x[n] e - j2πnυ f ) , n=0 in which formula ABS = the absolute value of a complex number J = a maximum likelihood function (MLF) to be maximized N = the number of samples n = the order number of a sample x[n] = an individual sample υ f = a digital frequency of base frequency f f of a sinusoidal electric current l m which is to be estimated υ f = f f / f s , in which formula f f = base frequency f f of electric current l m taken by the motor f s = sampling frequency. [0033] In the following, the operation of the method will be described with reference to Figure 6 which shows a principle for determining the rotation speed of the squirrel-cage motor 1 from the maximum likelihood function J adjusted to the measurement data S1. [0034] In the first step, a rotation speed search interval 20, 21 is determined, i.e. an initial frequency point f ιnι 20 and an end point f end 21 of frequency. The point of origin of the search interval 20, 21 is obtained on the basis of the frequency f n of the voltage to be supplied to the squirrel-cage motor, which is 50 Hz in this embodiment. At voltage frequency f n of 50 Hz, the initial point 20 of the search interval 20, 21 is selected such that f ιm = 49 Hz and the end point 21 such that f end = 51 Hz. [0035] In the second step, the measurement data signal S1 is filtered with a bandpass filter, such as a FIR (Finite Impulse Response) filter of the 50 th order, the coefficients of which have been calculated using an optimal Parks-McClellan algorithm (Alan V. Oppenheim, Ronald W. Scafer: "Discrete- Time Signal Processing" Prentige Hall Inc., New Jersey 1989, pp. 476-479). The search interval 20, 21 is located on the passband of the bandpass filter. [0036] In the third step, the search interval 20, 21 is divided into sub-intervals 10, 11 , 12, 13, 14 of an equal length such that f k = f,™ + k(f end - f, n ,) / N, where k = 0,1 , ...,N. [0037] As shown in the example of Figure 2, the number of sub- intervals is selected such that N = 5, whereby the end points of the sub- intervals are denoted in sub-interval 10 by points 10a = 49 Hz and 10b = 49.4 Hz, in sub-interval 11 by points 11a = 49.4 Hz and 11 b = 49.8 Hz, in sub- interval 12 by points 12a = 49.8 Hz and 12b = 50.2 Hz, in sub-interval 13 by points 13a = 50.2 Hz and 13b = 50.6 Hz, and in sub-interval 14 by points 14a = 50.6 Hz and 14b = 51 Hz. [0038] In the fourth step, the highest value of the maximum likelihood function J is determined in each sub-interval: J k max = max ( J (f k max )), where k = 1 ,2,...,N [0039] As shown in Figure 6, in the second 11 , third 12 and fifth 14 sub-intervals the maximum likelihood function J obtains its highest value at end point 11 a, where f 2 max = 49.4 Hz, end point 12b, where f 3 max = 50.2 Hz, and end point 14a, where f 5 max = 50.6 Hz. In the first 10 and fourth 13 sub-intervals the maximum likelihood function J has a local maximum value J k max . In Figure 2 the local maximum values are at points 10max, where f, max = 49.33 Hz and 13max, where f 4 ax = 50.22 Hz. The highest value of the maximum likelihood function J is searched for using for example the Brent method (William H. Press, Brian P. Flannery, Saul A. Teukolsky, William T. Wetterling: "Numerical Recipies", Cambridge University Press 1986, pp. 283-286). [0040] In the fifth step, the base frequency f f is selected to be an f k max value corresponding to the highest value of maximum likelihood function J k max . In the example of Figure 6 the base frequency thus arrived at is value f 4 max = 50.22 Hz 13f which corresponds to the highest maximum likelihood function value J 4 ax 13max of the calculated f k max values. Consequently, the base frequency f f of the current l m taken by the squirrel-cage motor 1 determined by the method of the invention is 50.22 Hz. [0041] Next, a sinusoidal signal based on the base frequency f, of the current l m taken by the squirrel-cage motor 1 is generated, the amplitude and phase of the signal being the same as the amplitude and phase of the base frequency f f current taken by the squirrel-cage motor 1. The amplitude and phase of the sinusoidal signal based on the base frequency f, are estimated from the measurement data by applying the method of least squares. The generated signal is subtracted from the measurement data to provide a more accurate estimation of frequencies f, and f 2 proportional to the pole pair number P. Figure 4 is a graphic illustration of measurement data signal S2 from which the sinusoidal signal based on the base frequency f, of the current l m taken by the squirrel-cage motor 1 has been subtracted, the amplitude and phase of the signal being the same as the amplitude and phase of the base frequency f f current taken by the squirrel-cage motor 1. [0042] As shown in Figure 5, substantially measurable current values l 1 τ l 2 are detected at side frequencies f 1 ( f 2 , the first side frequency f, appearing at a frequency formed of the base frequency f f from which is subtracted the rotation speed frequency f r , i.e. f - f, - f r , and the second side frequency f 2 appearing at a frequency formed of the base frequency f f to which is added the rotation speed frequency f r , i.e. f, = f f + f r . By estimating the frequencies f 1 f f 2 at which the current values l 1 f l 2 appear, the rotation speed frequency f r of the squirrel-cage motor 1 can be determined by subtracting the lower side frequency f, from the higher side frequency f 2 and by dividing the difference thus obtained by two, i.e. f r = (f 2 - f,) / 2. [0043] The side frequencies f,, f 2 are estimated from the measurement data in the time domain by applying a maximum likelihood estimate which is calculated by maximizing the maximum likelihood function adjusted to the measurement data, the frequencies being found at frequency points f, and f 2 where the maximum likelihood function obtains its highest value. [0044] The side frequency f, is estimated as follows. As already stated, it is assumed that the pole pair number of the squirrel-cage motor 1 is 2. This means that the motor 1 runs at a synchronous speed f, of 1500 rotations per minute, i.e. 25 rotations per second, or at a frequency of 25 Hz. The side frequency f, appears approximately at a frequency formed of the base frequency f f from which is subtracted the rotation speed frequency f r of the motor, i.e. f 1 = f - f r . The side frequency f, thus appears approximately at a frequency of 25 Hz. [0045] The determining of the side frequency f, begins by subtracting from the measurement data the sinusoidal signal based on the base frequency f, of the electric current l m taken by the squirrel-cage motor 1. The side frequency f, is determined from the signal S2 thereby generated, shown in Figure 4, in the time domain by using the maximum likelihood estimate (MLE) calculated by maximizing the maximum likelihood function J adjusted to the signal. The side frequency f, is found at the frequency point at which the maximum likelihood function J obtains its highest value. [0046] The maximum likelihood function to be used for estimating a precise value for the side frequency f, takes the following form: N-1 J = ABS ( ∑ x(n)e - 2mυ ,) , n=0 in which formula ABS = the absolute value of a complex number J = a maximum likelihood function (MLF) to be maximized N = the number of samples n = the order number of a sample x(n) = an individual sample Ό = a digital frequency of side frequency f 2 of sinusoidal electric current which is to be estimated in which formula f, = side frequency f, of electric current \ and f s = sampling frequency. [0047] In the following, the operation of the method will be described with reference to Figure 7 which shows a principle for determining the side frequency f, from the maximum likelihood function J adjusted to the measurement data S2. [0048] In the first step, a side frequency f, search interval 40, 41 is determined, i.e. an initial frequency point f ιn , 40 and an end point f end 41 of frequency. The point of origin of the search interval 40, 41 is obtained on the basis of the base frequency f f from which is subtracted the synchronous speed f, of the squirrel-cage motor 1. Consequently, the initial point 40 of the search interval 40, 41 is selected such that f ιnι = 25 Hz and the end point 21 such that [0049] In the second step, the measurement data signal S2 is filtered with a bandpass filter, such as a FIR filter of the 50 th order, similarly as in connection with the determining of the base frequency f f . [0050] In the third step, the search interval 40, 41 is divided into sub-intervals 30, 31 , 32, 33, 34 of an equal length such that f k = f,n, + k(f end - U / N, where k = 0,1 ,...,N. [0051] As shown in the example of Figure 7, the number of sub- intervals is selected such that N = 5, whereby the end points of the sub- intervals are denoted in sub-interval 30 by points 30a = 25 Hz and 30b = 25.4 Hz, in sub-interval 31 by points 31a = 25.4 Hz and 31 b = 25.8 Hz, in sub- interval 32 by points 32a = 25.8 Hz and 32b = 26.2 Hz, in sub-interval 33 by points 33a = 26.2 Hz and 33b = 26.6 Hz, and in sub-interval 34 by points 34a = 26.6 Hz and 34b = 27 Hz. [0052] In the fourth step, the highest value of the maximum likelihood function J is determined in each sub-interval: J k max = max ( J (f k max )), where k = 1 ,2 N [0053] As shown in Figure 7, in the second 31 , third 32 and fifth 34 sub-intervals the maximum likelihood function J obtains its highest value at end point 31 a, where f 2 max = 25.4 Hz, end point 32b, where f 3 max = 26.2 Hz, and end point 44a, where f 5 max = 26.6 Hz. In the first 30 and fourth 33 sub-intervals the maximum likelihood function J has a local maximum value J k max . In Figure 7 the local maximum values are at points 30max, where f ™ ax = 25.33 Hz, and 33max, where f 4 max = 26.22 Hz. The highest value of the maximum likelihood function J is searched for using for example the Brent method, similarly as in connection with the determining of the base frequency f f . [0054] In the fifth step, the side frequency f, is selected to be an f k max value corresponding to the highest value of maximum likelihood function J k ma . In the example of Figure 7 the side frequency ^ thus arrived at is value f 4 max = 26.22 Hz 33f which corresponds to the highest maximum likelihood function value J 4 max 33max of the calculated f k max values. Consequently, the side frequency f, of the current l m taken by the squirrel-cage motor 1 determined by the method of the invention is 26.22 Hz. [0055] The estimation of the side frequency f 2 is carried out similarly as f 2 estimation. The side frequency f 2 appears approximately at a frequency formed of the base frequency f f to which is added the synchronous speed frequency f„ i.e. f, = f f + f t . The side frequency f 2 thus appears approximately at a frequency of 75 Hz. [0056] The determining of the side frequency f 2 begins by subtracting from the measurement data S1 the sinusoidal signal based on the base frequency f f of the current l m taken by the squirrel-cage motor 1. The side frequency f 2 is determined from the measurement data signal S2 thereby generated in the time domain by using the maximum likelihood estimate (MLE) calculated by maximizing the maximum likelihood function J adjusted to the signal. The side frequency f 2 is found at the frequency point at which the maximum likelihood function J obtains its highest value. [0057] The maximum likelihood function to be used for estimating a precise value for the side frequency f 2 takes the following form: N-1 J = ABS ( ∑ x(n) e - j2πnυ 2 ) , n=0 in which formula ABS = the absolute value of a complex number J = a maximum likelihood function (MLF) to be maximized N = the number of samples n = the order number of a sample x(n) = an individual sample υ 2 = digital frequency of a sinusoidal signal to be estimated υ 2 = f 2 / f s , in which formula f 2 = digital frequency of side frequency f 2 of electric current l 2 , and f s = sampling frequency. [0058] In the following, the operation of the method will be described with reference to Figure 8 which illustrates a principle for determining the side frequency f 2 from the maximum likelihood function J adjusted to measurement data S2. [0059] In the first step, a rotation speed search interval 60, 61 is determined, i.e. an initial frequency point f ιnι 60 and an end point f end 61 of frequency. The point of origin of the search interval 60, 61 is obtained on the basis of the base frequency f f to which is added the synchronous speed of the squirrel-cage motor 1. Consequently, the initial point 60 of the search interval 60, 61 is selected such that f ιnι = 73 Hz and the end point 61 such that f end = 75 Hz. [0060] In the second step, measurement data signal S2 is filtered with a bandpass filter, such as a FIR filter of the 50 th order, similarly as in connection with the determining of the base frequency f f . [0061] In the third step, the search interval 60, 61 is divided into sub-intervals 50, 51 , 52, 53, 54 of an equal length such that f k = f, n , + k(f eπd - U / N, where k = 0,1 N. [0062] As shown in the example of Figure 8, the number of sub- intervals is selected such that N = 5, whereby the end points of the sub- intervals are denoted in sub-interval 50 by points 50a = 73 Hz and 50b = 73.4 Hz, in sub-interval 51 by points 51a = 73.4 Hz and 51 b = 73.8 Hz, in sub- interval 52 by points 52a = 73.8 Hz and 52b = 74.2 Hz, in sub-interval 53 by points 53a = 74.2 Hz and 53b = 74.6 Hz, and in sub-interval 54 by points 54a = 74.6 Hz and 54b = 75 Hz. [0063] In the fourth step, the highest value of the maximum likelihood function J is determined in each sub-interval: J k max = max ( J (f k max )), where k = 1 ,2,...,N [0064] As shown in Figure 8, in the second 51 , third 52 and fifth 54 sub-intervals the maximum likelihood function J obtains its highest value at end point 51a, where f 2 max = 73.4 Hz, end point 52b, where f 3 max = 74.2 Hz, and end point 54a, where f 5 max = 74.6 Hz. In the first 50 and fourth 53 sub-intervals the maximum likelihood function J has a local maximum value J k max . In Figure 8 the local maximum values are at points 50max, where f 1 max = 73.33 Hz and f 4 max = 74.22 Hz. The highest value of the maximum likelihood function J is searched for using for example the Brent method, similarly as in connection with the determining of the base frequency f f . [0065] In the fifth step, the side frequency f 2 is selected to be an f k max value corresponding to the highest value of maximum likelihood function J k ax . In the example of Figure 8 the side frequency f 2 thus arrived at is value f 4 ax = 74.22 Hz 53f which corresponds to the highest maximum likelihood function value J 4 max 53max of the calculated f k max values. Consequently, the side frequency f 2 of the current l 2 taken by the squirrel-cage motor 1 determined by the method of the invention is 74.22 Hz. [0066] Finally, the rotation speed of the squirrel-cage motor 1 is determined by calculating it from the estimated side frequencies f, and f 2 , the rotation speed frequency f r of the squirrel-cage motor 1 being obtained by subtracting the lower side frequency f, from the higher side frequency f 2 and by dividing the difference thus obtained by two, i.e. f r = (f 2 - f 1 ) / 2. [0067] In this example f r = (74.22 - 26.22) Hz / 2 = 24 Hz, i.e. 1440 rotations per minute. [0068] It is to be understood that the above specification and the accompanying Figures are only intended to illustrate the present invention. The invention is thus not restricted to the embodiment described above or disclosed in the claims, but a person skilled in the art will find it apparent that diverse variations and modifications can be made to the invention within the inventive idea disclosed in the accompanying claims.

Claims: CLAIMS 1. A method of determining a speed of rotation of a squirrel-cage motor (1 ), the method comprising the steps of determining a nominal frequency (f n ) of the voltage to be supplied to the squirrel-cage motor (1 ); determining the pole pair number P of the squirrel-cage motor; arranging an electric current measuring device (2) to measure the current (l m ) taken by the squirrel-cage motor (1 ); setting a measurement period length (T); setting a sampling frequency (f s ); collecting samples (x[n]) with the electric current measuring device (2) from the current (l m ) taken by the squirrel-cage motor (1 ) at the sampling frequency (f s ) for the duration of the measurement period (T); storing the samples (x[n]) in the memory of a data carrier (6) as measurement data (S 1 ) of a fixed format, c h a r a c t e r i z e d by further comprising the steps of determining the rotation speed of the squirrel-cage motor (1 ) from the measurement data (S1 ) by determining the base frequency (f f ) of the electric current (I taken by the squirrel-cage motor (1 ), whereby the rotation speed frequency (f r ) of the squirrel-cage motor (1 ) is obtained by determining side frequencies (f,, f 2 ), the first side frequency (f,) appearing at a frequency formed of the base frequency (f f ) from which is subtracted the rotation speed frequency (f r ), i.e. f, = f f - f r and the second side frequency (f 2 ) appearing at a frequency formed of the base frequency (f f ) to which is added the rotation speed frequency (f r ), i.e. f, = f f + f r , in which side frequencies (f^ f 2 ) substantially measurable current values (I,, l 2 ) are detected, whereby by estimating the side frequencies (f,, f 2 ) in which the current values (I,, l 2 ) appear, the rotation speed frequency (f r ) of the squirrel-cage motor (1 ) can be determined by subtracting the lower side frequency (f,) from the higher side frequency (f 2 ) and by dividing the difference thus obtained by two, i.e. f r = (f 2 - f,) / 2; determining the rotation speed frequency (f r ) of the squirrel-cage motor (1 ) by estimating the side frequencies (f,) and (f 2 ) from the measurement data (S2) in the time domain by using a maximum likelihood estimate (MLE) calculated by maximizing a maximum likelihood function J adjusted to the measurement data (S2), the side frequencies being found at frequency points (f f ) and (f 2 ) where the maximum likelihood function obtains its maximum value. 2. A method according to claim 1, characterized by comprising the step of determining from the measurement data (S1) the base frequency (f f ) of the electric current (l m ) taken by the squirrel-cage motor (1) in the time domain by using a maximum likelihood estimate (MLE) calculated by maximizing a maximum likelihood function adjusted to the measurement data (S1), the base frequency (f f ) being found at a frequency point (f,) where the maximum likelihood function obtains its maximum value. 3. A method according to claim 2, c h a r a c t e r i z e d in that an approximate rotation speed frequency (f r ) of the squirrel-cage motor (1) is calculated by using formula f r = f f / P , in which formula P = the pole pair number of the squirrel-cage motor, and f f = the base frequency of the current taken by the squirrel-cage motor. 4. A method according to claim 1 or 2, characterized by further comprising the step of generating a sinusoidal signal based on the base frequency (f f ) of the current taken by the squirrel-cage motor (1), the generated signal being subtracted from the measurement data (S1) to provide more accurate estimation of the side frequencies (fj and (f 2 ) proportional to the pole pair number (P). 5. A method according to claim 3, characterized in that the amplitude and phase of the generated sinusoidal signal based on the base frequency (f f ) of the current (l m ) taken by the squirrel-cage motor (1) are estimated from the measurement data by applying the method of least squares. 6. A method according to claim 1 or 2, characterized in that the side frequencies (f^ and (f 2 ) proportional to the pole pair number (P) of the squirrel-cage motor (1) appear approximately at frequency points proportional to the pole pair number (P) of the squirrel-cage motor (1) according to the following formulae: f 1 (P) = f f -f f /P and f 2 ( p ) = f f + f f / P, in which formulae f^P) = the lower frequency proportional to the pole pair number P of the squirrel-cage motor; f 2 (P) = the higher frequency proportional to the pole pair number P of the squirrel-cage motor; P = the pole pair number of the squirrel-cage motor; and f f = the base frequency of the current taken by the squirrel-cage motor. 7. A method according to claim 1 and 2, characterized in that the maximum likelihood function takes the following form: N-1 J= ABS(∑ x[n]e "i2 ) I n=0 ABS = the absolute value of a complex number J = a maximum likelihood function to be maximized N = the number of samples n = the order number of a sample x[n] = an individual sample υ ( = a digital frequency of a sinusoidal signal which is to be estimated υ. = f./f.. in which formula f s = sampling frequency and the index of both υ t and l t is f, 1 or 2, depending on the frequency to be estimated. 8. A method according to any one of the preceding claims, characterized in that the length of the measurement period (T) is at least 100 times the cycle length of the base frequency (f f ) of the squirrel-cage motor (1). 9. A method according to any one of the preceding claims, characterized in that the sampling frequency f s is at least three times the sum of the base frequency (f f ) and the rotation speed frequency (f r ) of the squirrel cage motor, i.e. frequency f 2 . 10. A method according to claim 1, characterized in that the frequencies (f f , f,, f 2 ) are determined using a maximum likelihood estimate of the time domain. 11. A method according to any one of the preceding claims, characterized in that the measurement of current is carried out on the current of one phase feeding electric current (l m ) to the squirrel-cage motor (1). 12. A method according to any one of the preceding claims, characterized in that the current measuring device (2) is a clip-on ammeter. 13. A method according to any one of the preceding claims, characterized in that the measurement of the squirrel-cage motor (1) current is carried out in a central unit (6) feeding the motor (1). 14. A computer software product for determining speed of rotation, the product comprising a computer-readable program stored in a program storage medium, characterized in that the program carries out the operations defined in claim 1.

Inventors: ORKISZ MICHAL, SAARINEN KARI, ORKISZ, MICHAL, SAARINEN, KARI
Applicants: ABB RESEARCH LTD, ORKISZ MICHAL, SAARINEN KARI, ORKISZ, MICHAL, SAARINEN, KARI
Application year: 2001
Main classification: G01P3
IPC codes: G01P3