This application claims priority of Taiwan Patent Application No. 100112897, filed on Apr. 14, 2011, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The invention relates to a signal analyzing system and method, and more particularly to a signal analyzing system and method using continuous shifted transform (CST).
2. Description of the Related Art
Under long operating session, a breakdown of internal components of a machine will occur due to abrasion. Vibration forces can result in failure or inefficient operation of a machine equipped with a motor. For example, in a computer numerical control (CNC) processing machine, an upper computer may provide a position common to a multi-axis alternating current (AC) servo driver, to drive a motor, and then a platform of the processing machine is moved by a guide screw and rail. However, mechanical loss, lubrication conditions or misalignments will affect the normal operations of the processing machine. Therefore, vibrations caused by imbalance (e.g. irregular vibrations) will significantly harm the engine assembly.
Once an imbalancing problem has been discovered, it is necessary to perform vibration analysis to diagnose and correct the problem. So, the machine has to be taken out of service and analyzed which typically involves mounting the engine on a test stand. In general, an accelerometer (G sensor) is used to obtain a vibration signal of a machine, and then the vibration signal is analyzed, so as to obtain health diagnostic/operating conditions of the machine.
A discrete short time Fourier transform (STFT) is usually used to transform the vibration signal for analyzing the frequency components of the vibration signal. For continuity between the frequency spectrums, various window functions are applied to the discrete short time Fourier transforms. If no window function is used, discontinuous portions are formed at the two extremities of the data points of the obtained vibration signal, such that white noise is formed in the frequency spectrum after transformation. However, for N points discrete short time Fourier transform, N multiplication operations are used to perform the window functions and samplings of the vibration signal. Moreover, selecting a window function from various window functions is based on a bandwidth of the vibration signal. For example, a lower frequency signal will cause a larger attenuation in intensity, so a window function will cause a distortion for low frequency components. In addition, N×log2N multiplication operations are needed to complete a discrete short time Fourier transform, that will occupy a large number of operation resources (e.g. multipliers, registers and so on) and operation time.
A signal analyzing system and method using continuous shifted transform (CST) are provided. An embodiment of a signal analyzing system is provided. The signal analyzing system comprises: a band pass filter, filtering an input signal to obtain a filtered signal; a sampling unit, sampling the filtered signal to obtain a discrete signal according to a sampling frequency; and a continuous shifted transform unit, obtaining a first frequency spectrum according to the N discrete signals that are sampled continuously, and obtaining a second frequency spectrum according to a (N+1)th discrete signal and the first frequency spectrum. Each of the first and second frequency spectrums comprises N Fourier transform operation results.
Furthermore, an embodiment of a signal analyzing method is provided. an input signal is filtered to obtain a filtered signal. The filtered signal is sampled to obtain a discrete signal. A first frequency spectrum is obtained according to the N discrete signals that are sampled continuously. A second frequency spectrum is obtained according to a (N+1)th discrete signal and the first frequency spectrum. Each of the first and second frequency spectrums comprises N Fourier transform operation results.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
Discrete Fourier Transform (DFT) is a specific kind of discrete transform operation in the frequency and time domains, used in Fourier analysis. For N point discrete signals x(n), i.e. {x(n)}0≦n<N, a DFT X(n) is given by the following equation (1):
X(n)=Σj=1Nx(n)ωN(j−1)(n−1) (1)
, where ωN represents a root of unity e−2πi/N, e represents a base number of natural logarithm, and i represents an imaginary number unit (i=√{square root over (−1)}).
For each of the frequency spectrums from X1 to Xk+1, N×log2N multipliers are needed to obtain the frequency spectrum when a fast Fourier transform (FFT) is used to perform the transformation operation. Therefore, during each sampling time (i.e. 1/sampling frequency f)), using a FFT to obtain an instantaneous frequency spectrum will occupy a large number of operation resources (e.g. multipliers, registers and so on) and operation time.
The continuous shifted transform operation of the invention is described below. In order to simplify the description, N=4. First, according to the DFT of the equation (1), the four Fourier transform operation results X1(1), X1(2), X1(3) and X1(4) of the first frequency spectrum X1 are given by the following equations:
X
1(1)=x(1)ωN0+x(2)ωN0+x(3)ωN0+x(4)ωN0
X
1(2)=x(1)ωN0+x(2)ωN1+x(3)ωN2+x(4)ωN3
X
1(3)=x(1)ωN0+x(2)ωN2+x(3)ωN4+x(4)ωN6
X
1(4)=x(1)ωN0+x(2)ωN3+x(3)ωN6+x(4)ωN9 frequency spectrum X1.
Next, according to the DFT of the equation (1), the four Fourier transform operation results X2(1), X2(2), X2(3) and X2(4) of the second frequency spectrum X2 are given by the following equations:
X
2(1)=x(2)ωN0+x(3)ωN0+x(4)ωN0+x(5)ωN0
X
2(2)=x(2)ωN0+x(3)ωN1+x(4)ωN2+x(5)ωN3
X
2(3)=x(2)ωN0+x(3)ωN2+x(4)ωN4+x(5)ωN6
X
2(4)=x(2)ωN0+x(3)ωN3+x(4)ωN6+x(5)ωN9 frequency spectrum X2.
Next, by applying the frequency transform operation results of the first frequency spectrum X1 into the second frequency spectrum X2, the Fourier transform operation results X2(1), X2(2), X2(3) and X2(4) of the second frequency spectrum X2 are re-given by the following equations:
Therefore, a new frequency spectrum X2 is obtained by adding a discrete signal x(5) into the frequency spectrum X1 that was obtained previously and removing a discrete signal x(1) from the frequency spectrum X1. Furthermore, as eight multiplication operations (i.e. 4×log24) are used to perform a fast Fourier transform operation, only three multiplication operations (i.e. 4-1) are used to perform the continuous shifted transform operation, to obtain the frequency spectrum X2.
As described above, according to the continuous shifted transform operation of the invention, a kth frequency spectrum, a discrete signal x(k) and a discrete signal s(k+N) are used to obtain a (k+1)th frequency spectrum Xk+1 shown in the following equation (2):
, where j=1, 2, . . . , and N. When j=1, ωN is equal to 1, thus no multiplication operation is needed for the Fourier transform Xk+1(1). Therefore, only N−1 multiplication operations are needed to perform a continuous shifted transform operation for the (k+1)th frequency spectrum Xk+1. Furthermore, for the discrete signal x(n), the continuous shifted transform operation of the invention only shifts one sampling point at a time, thus the frequency spectrum successively varies. Furthermore, compared to the fast Fourier transform operation, less multiplication operations are needed for the continuous shifted transform operation. For example, if N=1024, a fast Fourier transform operation needs 10240 multiplication operations, while a continuous shifted transform operation only needs 1023 multiplication operations.
Referring back to
The signal analyzing system 100 may be implemented in a machine system or other independent apparatus, and may be executed in a hardware or software manner. According to the embodiments of the invention, using the continuous shifted transform operation can result in rapid continuous shifted frequency spectrums, so as to obtain a corresponding time-frequency spectrum immediately. According to the obtained time-frequency spectrum, the related components corresponding to a rotational speed of a machine system and the other non-related components are separated by the processor 150, thus obtaining health diagnostics of the machine system.
Furthermore, the signal analyzing system 100 of the invention may also be implemented in a communication apparatus. In one embodiment, the receiver 110 may be a microphone, and the input signal x0(t) is an audio signal received by the microphone. In another embodiment, the receiver 110 may be a radio frequency (RF) module, which provides the input signal x0(t) corresponding to an RF signal from an antenna, so as to perform a signal analysis for the processor 150.
Data transmission methods, or certain aspects or portions thereof, may take the form of a program code (i.e., executable instructions) embodied in tangible media, such as floppy diskettes, CD-ROMS, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for practicing the methods. The methods may also be embodied in the form of a program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosed methods. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
100112897 | Apr 2011 | TW | national |