The present application claims the benefit of and priority to Chinese Patent Application No. 201210152830.7, filed May 16, 2012, under 35 U.S.C. §119. The entirety of Chinese Patent Application No. 201210152830.7 is incorporated by reference herein.
The present invention relates generally to systems and methods for detecting movement modes of an object, and more particularly to a method and apparatus for Fast Fourier Transformation (FFT)-based microwave detection.
Prior art microwave detection methods and devices present many technical problems to be solved. This is especially true for microwave detection methods and devices used in toilets and bathrooms. Because bathrooms are relatively small and the movement speeds of bathroom objects are relatively slow, it is generally required that the movement state (e.g., distance, position, etc.) of a bathroom object be determined with a relatively high accuracy. However, prior art microwave sensors are typically hidden (e.g., behind or in a wall), resulting in a relatively poor accuracy in detecting an object's movement state.
Moreover, the signal output by typical microwave sensors is constrained by its power and consequently has relatively small signal amplitude. Because signal amplitude reflects the distance between the object and the sensor, a relatively small signal amplitude increases the potential for interference (e.g. power line interference, cell phone signal interference, etc.). Furthermore, current microwave detection technologies only compare the amplitude of the signal output by the sensor at a certain time with a pre-set threshold value without generating a distance value.
Prior art microwave detection methods and devices typically have a low accuracy in determining distances and an inefficient filtering of interference signals. These shortcomings can cause current microwave detection devices to send incorrect signals and can result in faulty operation of bathroom equipment. A solution to the aforementioned problems is needed.
One implementation of the present disclosure is a FFT-based microwave detection method. The method includes transmitting a microwave detection signal to a moving object, receiving an echo-wave signal of the moving object, and superimposing the microwave detection signal and the echo-wave signal as a time domain analog signal. The method further includes sampling the time domain analog signal at a sampling frequency of f and performing analog-digital conversion to obtain a discrete time domain digital signal. The method further includes performing FFT on continuous P discrete time domain digital signals at a certain time interval of Δt to obtain a frequency domain signal and integrating the amplitude of the frequency domain signal within a specific frequency band to obtain an integration sum SumA. In some embodiments, the specific frequency band is determined according to the movement characteristics of the moving object. The method further includes accumulating the integration sums (e.g., multiple SumAs of previous N times including current time) to obtain an accumulation sum SUMaccum and comparing SUMaccum with a pre-stored “Accumulation Sum Distance Standard Curve” to obtain current distance of the moving object.
Another implementation of the present disclosure is a FFT-based microwave detection apparatus. The detection apparatus includes a microwave sensor which transmits a microwave detection signal to a moving object, receives an echo-wave signal of the moving object, superimposes the microwave detection signal and the echo-wave signal as a time domain analog signal, and outputs the time domain analog signal. The detection apparatus further includes a sampling and analog-digital converter which receives the time domain analog signal from the microwave sensor, samples the time domain analog signal at a sampling frequency of f, and performs analog-digital conversion to obtain a discrete time domain digital signal. The detection apparatus further includes a FFT device which receives the discrete time domain digital signal from the sampling and analog-digital converter, and performs FFT on continuous P discrete time domain digital signals at a certain time interval of Δt to obtain a frequency domain signal. The detection apparatus further includes a movement state determination device which performs integration of the amplitude of the frequency domain signal within a specific frequency band to obtain an integration SumA, accumulates a plurality of integration sums (e.g., multiple SumAs) to obtain an accumulation sum SUMaccum, and compares SUMaccum with the pre-stored “Accumulation Sum Distance Standard Curve” to obtain current distance of the moving object.
Advantageously, the accuracy provided by the present invention is 50% higher than traditional microwave detection technologies. Further, the present invention provides strong resistance to interference, particularly to power frequency interference and cell phone signal interference. Further, the present invention can be calibrated before delivery from the factory, which can compensate the non-uniformity of sensitivity of microwave sensors.
Referring to
Process 100 is shown to further include sampling the time domain analog signal and performing analog-digital conversion to obtain a discrete time domain digital signal (step 104). In some embodiments, the low frequency time domain analog signal is sampled continuously and converted to a time domain discrete digital signal. In some embodiments, the frequency f at which the low frequency time domain analog signal is sampled is determined according to the movement characteristics (e.g. velocity, movement direction) of the moving object. In some embodiments, the sampling frequency f is at least two times greater than the greatest frequency needed for detection.
Process 100 is shown to further include performing FFT on continuous P discrete time domain digital signals at a certain time interval of Δt to obtain a frequency domain signal (step 106). Step 106 may be performed on the time domain discrete signals after performing the aforementioned steps involving sampling and analog-digital conversion. The variable P may represent a number of time domain discrete digital signals on which the FFT is performed (e.g., P-point FFT). The frequency domain signal produced by the FFT may be a movement spectrum which indicates the distribution of the movement characteristics in the frequency domain. An amplitude A of the spectrum curve may represent the distance between the object and the sensor.
Still referring to
Process 100 is shown to further include accumulating the integration sums (e.g., multiple SumAs) to obtain an accumulation sum SUMaccum (step 110). The accumulation sum SUMaccum may be calculated by adding the previous N integration sums, including the current integration sum SumA.
Process 100 is shown to further include comparing the accumulation sum SUMaccum with a pre-stored “Accumulation Sum Distance Standard Curve” to obtain current distance of the moving object (step 112). In some embodiments, the Accumulation Sum Distance Standard Curve is determined by a manufacturer and stored in a permanent or semi-permanent data storage device before the sensor is delivered from the factory. In other embodiments, the Accumulation Sum Distance Standard Curve is stored in a non-volatile data storage of the microwave detection apparatus as shown and described with reference to
Referring now to
In some embodiments, the amplitude of the echo-wave signal may be small and various sources of interference (e.g. power line interference, cell phone signal interference, etc.) may be present. To compensate for the interference, the signal outputted by the microwave sensor can be conditioned. The signal conditioning process may include amplifying and band pass filtering the echo-wave signal before performing sampling and analog-digital conversion. The signal can be amplified and interfering signals (e.g., “clutter signals”) can be filtered (e.g., using a band pass filter) to improve the accuracy of the subsequent processing steps. The lower and upper turning frequencies of the band pass filter (e.g., upper and lower limits defining the band pass range) may be determined according to the movement characteristics (e.g. velocity, movement direction) of the moving object. In some embodiments, the sampling frequency f is set at about three times of the upper turning frequency of the band pass filter. In some embodiments, the sampling frequency f is based on the required detection accuracy and/or in consideration of the amount of data processing required at various sampling frequencies.
In some implementations, the volume of the object can influence the amplitude of the signal output by the microwave sensor. Specifically, objects having larger volumes may result in amplitude signals having greater amplitudes. In some embodiments, the effect of object volume on the amplitude of the signal can be eliminated. For example, when obtaining (e.g., setting, generating, calibrating, etc.) Accumulation Sum Distance Standard Curve 200, a standard volume (e.g. for an adult person) can be selected. Because the volume difference among people is usually small, a standard volume can be selected easily. When generating curve 200, the accumulation sum SUMaccum of an object having the standard volume is measured and calculated as previously described. A much smaller object relative to the object having the standard volume is then selected and the accumulation SUMaccum
An adjusted Accumulation Sum Distance Standard Curve can be obtained by subtracting SUMaccum
Further, to improve accuracy and eliminate interference signals of some frequencies, an accumulation sum SUMaccum
For example, consider a 10.525 GHz Doppler microwave sensor (e.g., as described in Chinese Patent Application No. 200910053657.3 titled “Microwave Doppler Sensing System Antenna” and Chinese Patent Application No. 200910052832.7 titled “Low-speed Microwave Detection System”). According to the Doppler principle, the relationship between the frequency of the “low frequency signal” Fout output by the microwave sensor (e.g., the difference between the frequencies of the emitted and received signals) and the movement speed of a sensed moving object is described as shown in the following equation:
where Vm is the movement speed of the object, Fmv is the microwave frequency emitted by the sensor (e.g., 10.525 GHz), C is the speed of light (i.e., 3×108 m/s) and θ is the angle between the movement direction of the moving object and the direction of microwave emission by the sensor. For example, an angle of θ=0 would correspond to the direction of movement being the same as the direction of microwave emission by the sensor. In some embodiments, it is assumed that θ=0.
Applying the above values to the formula
the detected signal frequency Fout can be calculated as a function of movement speed Vm. In some applications, as may be common in a bathroom setting, the movement speed Vm of the object is less than 2 m/s. When the movement speed Vm is 1 m/s, Fout may be approximately 70 Hz (e.g.,
When the movement speed Vm is 2 m/s, Fout may be approximately 140 Hz (e.g.,
In some embodiments, the signal output by the sensor is conditioned. The signal conditioning process may include amplifying and band pass filtering. The lower and upper turning frequencies of the band pass filter may be determined according to the movement characteristics (e.g. speed, direction) of the moving object. In some embodiments, the lower turning frequency of the band pass filter may be set to 10 Hz and the upper turning frequency thereof may be set to 350 Hz.
The conditioned signal may then be sampled and analog-digital converted to obtain a time domain discrete digital signal. In some embodiments, the signal sampling frequency f may be set to a value approximately three times the value of the upper turning frequency used by the band pass filter. For example, an upper turning frequency of 350 Hz may correspond to a sampling frequency f of approximately 1 kHz. Accordingly, the signal sampling period T (i.e., the inverse of the sampling frequency f) may be approximately 1 millisecond. Fast Fourier Transformation (FFT) may be performed on a number P of continuous discrete time domain digital signals at a time interval of Δt. In some embodiments, the values of P and Δt may be set based on the calculating capability (e.g., processing power) of the microwave sensor and the required accuracy of the final distance calculation. In some embodiments, P may be approximately 128 and Δt may be approximately 32 milliseconds. The FFT may produce a frequency domain signal between the spectrum of 0-500 Hz.
In some embodiments, integration is performed on selected frequency ranges in the frequency domain signal to avoid frequencies known to experience external interference. For example, a power line frequency may be known to be approximately 50 Hz or 60 Hz (100 Hz or 120 Hz after half-wave rectification). Cell phone signal interference frequency (e.g. for GSM cell phones) is usually 220 Hz. Therefore, integration may be performed on the amplitudes A of 4 Hz-92 Hz in the outputted spectrum after each FFT so as to avoid power line interference and cell phone signal interference. Integration sum SumA may be obtained by integrating the frequency domain signal between a first frequency (e.g., 4 Hz) and a second frequency (e.g., 92 Hz).
The integration sums (e.g., multiple SumAs) for the previous N times before current time may be accumulated to obtain an accumulation sum SUMaccum. In some embodiments, the value of N is selected according to the calculating capability of the microwave sensor and/or the required accuracy of the final distance measurement. In some embodiments, N=16, meaning that the previous 16 SumA s are added to calculate SUMaccum.
In order to avoid power line interference of 50 Hz or 60 Hz (100 Hz or 120 Hz after half-wave rectification) and GSM cell phone signal frequency interference (e.g., 220 Hz), the first and second frequencies are selected to be lower than the frequency of typical power lines in the location of implementation (e.g., 100 Hz in China, 120 Hz in the United States, etc.). Since the frequency spectrum of an object (e.g., a human body) with a normal movement speed is typically concentrated around a low frequency component, even if the object moves at a high speed, a rich low frequency component (e.g., lower than 100 Hz) may be present in the frequency spectrum. This low frequency component may be sufficient to reflect the distance feature of the detected object.
In some embodiments, the second frequency can be selected to be greater than 100 Hz (e.g., in China) or 120 Hz (e.g., in the United States). In order to avoid power line interference, before delivering the sensor from the factory, the accumulation sum SUMaccum static of the frequency of the power line interference and the neighboring frequencies thereof when the object is in a static state may be measured. After obtaining the Accumulation Sum Distance Standard Curve (e.g. curve 200), the interference signal contribution amount SUMaccum
In other embodiments, the upper and lower integration limits can be selected to avoid power line interference. For example, integration of the amplitude of the signal with frequency between 4 Hz and 92 Hz in the outputted spectrum may avoid power line interference. Because the normal movement speed of an object (e.g. a human body in a bathing area) is about 1 meter per second, even if the object moves at a high speed, the frequency spectrum may include rich low frequency components (e.g., lower than 92 Hz). The main components of the signal will not be lost when only the amplitude of the signal with frequency between 4 Hz and 92 Hz in the spectrum is integrated.
Referring now to
Microwave sensor 302 may detect an object and output a signal which reflects the movement characteristics of the object (e.g., speed, velocity, etc.). In some implementations, the signal output by sensor 302 may have a relatively small amplitude and may contain interference (e.g., “clutter”) signals. In some embodiments, the signal output by sensor 302 may be conditioned. Microwave sensor 302 may output the signal to signal conditioning device 310.
Signal conditioning device 310 is shown to include an amplifier 312 and a band pass filter 314. In some embodiments, amplifier 312 may be a “LMV358” signal amplifier as manufactured by TI Company. Band pass filter 314 may include resistance and capacitance elements. The lower and upper turning frequencies of the band pass filter may be determined according to the movement characteristics (e.g. velocity, movement direction) of the moving object.
Still referring to
FFT device 324 may perform a Fast Fourier Transform on continuous P time domain discrete digital signals (e.g., a P point FFT) at a certain time interval of Δt. FFT device 324 may obtain a movement spectrum curve of the object as a result of the FFT. The spectrum curve may indicate the distribution of the movement characteristics of the object in the frequency domain. The signal amplitude A may represent the distance between the object and the sensor.
The spectrum of the frequency domain signal output by FFT device 324 may be sent to an integrating unit 328 of movement state determination device 326. Integrating unit 328 may integrate the amplitude A of the signal between the first and second frequencies in the movement spectrum to obtain an integration SumA . Integrating unit 328 may accumulate the integrations SumA of the previous N times (including current time) to obtain an accumulation sum SUMaccum Integrating unit 328 may send SUMaccum to comparing unit 330.
Comparing unit 330 may compare SUMaccum with an Accumulation Sum Distance Standard Curve to obtain a corresponding current distance. The Accumulation Sum Distance Standard Curve may be retrieved from storage 332. As to other preferred embodiments, the working principles thereof are substantially the same as those described according to
In some embodiments, after obtaining current distance, microwave detection apparatus 300 can send the distance to another control apparatus. The control apparatus can compare the distance with a threshold value and output a signal according to the comparison result to control the action of bathing equipments. For example, if the distance is smaller than a smallest threshold value, the bathing equipment can be activated or ordered to start operation. If the distance is larger than a largest threshold value, the bathing equipment can be deactivated or ordered to stop operation.
Advantageously, the technical solution offered by the systems and methods of the present invention may be highly accurate. For example, the technical solution of the present invention may be 50% more accurate than traditional microwave detecting devices.
Referring now to
Referring now to
The above embodiments are intended to illustrate, but not to limit the present invention. Any modifications or amendments without departing from the spirit of the description are included in the present invention and shall fall in to the scope of protection defined by the claims.
Number | Date | Country | Kind |
---|---|---|---|
201210152830.7 | May 2012 | CN | national |