CN111157095B - Automatic frequency extraction method of noise source - Google Patents
Automatic frequency extraction method of noise source Download PDFInfo
- Publication number
- CN111157095B CN111157095B CN202010052954.2A CN202010052954A CN111157095B CN 111157095 B CN111157095 B CN 111157095B CN 202010052954 A CN202010052954 A CN 202010052954A CN 111157095 B CN111157095 B CN 111157095B
- Authority
- CN
- China
- Prior art keywords
- frequency
- self
- sound pressure
- power spectrum
- frequencies
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H3/00—Measuring characteristics of vibrations by using a detector in a fluid
- G01H3/04—Frequency
- G01H3/08—Analysing frequencies present in complex vibrations, e.g. comparing harmonics present
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention discloses a method for automatically extracting the frequency of a noise sound source, which comprises the following steps: s1, acquiring a time-domain sound pressure signal of a sound source, and calculating a self-power spectrum of the time-domain sound pressure signal; s2, setting a concerned sound pressure square amplitude range, and carrying out windowing filtering processing on the self-power spectrum; s3, selecting the frequency corresponding to the peak value in the window range in the square peak value of the self-power spectrum sound pressure; s4, sequencing the selected frequencies from small to large or from large to small, judging whether continuous frequencies exist in the sequenced frequencies based on the minimum interval of the acquisition frequencies of the self-power spectrum, combining the continuous frequencies, and replacing the combined frequency by the center frequency and the frequency bandwidth of the combined frequency so as to finish frequency extraction. The method utilizes the self-power spectrum to restore the real sound pressure amplitude corresponding to each frequency, and when the sound pressure amplitude of the noise is within the set window range, the automatic extraction of the sound source signal frequency is realized.
Description
Technical Field
The invention relates to the technical field of noise sound sources, in particular to a method for automatically extracting the frequency of a noise sound source.
Background
In noise analysis, a microphone receives a signal generated by a sound source, and a computer background can further process the signal. Since in actual testing, the signals received by the microphone are often affected by background noise, or the received signals are generated by a plurality of sound sources with different frequencies, the signals received by the microphone in the time domain are not usable. Therefore, sound source information needs to be extracted in the frequency domain. As shown in fig. 1, in a conventional frequency extraction process, after fourier transform, signal peaks are manually confirmed, a frequency range to be extracted is selected, and a proper window function is selected for frequency extraction.
Most of the conventional frequency extraction methods need to manually judge the frequency range to be selected. When the environment in which the signal is located is very complex or the signal itself consists of the frequencies of a large number of different sound sources, the user needs to expend a lot of effort to select the required frequency range in the complex frequency domain.
Disclosure of Invention
Aiming at the problems and the defects in the prior art, the invention provides a method for automatically extracting the frequency of a noise sound source.
The invention solves the technical problems through the following technical scheme:
the invention provides a method for automatically extracting the frequency of a noise sound source, which is characterized by comprising the following steps of:
s1, acquiring a time-domain sound pressure signal of a sound source, and calculating a self-power spectrum of the time-domain sound pressure signal, wherein the self-power spectrum represents the relationship between the sound pressure square of the sound signal and the frequency;
s2, setting a concerned sound pressure square amplitude range, and carrying out windowing filtering processing on the self-power spectrum in the sound pressure square amplitude range;
s3, selecting the frequency corresponding to the peak value in the window range in the square peak value of the self-power spectrum sound pressure;
s4, sequencing the selected frequencies from small to large or from large to small, judging whether continuous frequencies exist in the sequenced frequencies based on the minimum interval of the acquisition frequencies of the self-power spectrum (the acquisition frequencies are set when acquiring time domain signals), merging the continuous frequencies, and replacing the merged frequencies by the center frequency and the frequency bandwidth of the merged frequencies so as to finish frequency extraction.
Preferably, step S3 includes:
s31, traversing the whole self-power spectrum to obtain frequency spectrum information, and selecting the maximum peak value in the range of the window in the sound pressure square peak value of the self-power spectrum;
s32, extracting the frequency corresponding to the maximum peak value, and setting the maximum peak value as zero;
s33, repeating the step S31 until the peak values within the window range are all zero;
and S34, selecting the ending frequency.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows:
the invention combines the self-power spectrum of the signal with the practical experience, thereby solving the following problems:
in the process of extracting the frequency spectrum signal of the complex sound field, a user can more accurately extract the concerned frequency by referring to the actual concerned sound pressure amplitude range.
Drawings
Fig. 1 is a flowchart of a method for extracting a frequency of a noise source in the prior art.
Fig. 2 is a flowchart of a method for automatically extracting the frequency of a noise source according to a preferred embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
As shown in fig. 2, the present embodiment provides a method for automatically extracting the frequency of a noise source, which includes the following steps:
102, setting a concerned sound pressure square amplitude range according to practical experience, and carrying out windowing filtering processing on a self-power spectrum in the sound pressure square amplitude range.
103, selecting a frequency corresponding to a peak value positioned in a window range in the square peak values of the sound pressure of the self-power spectrum, wherein the window range is equal to the square amplitude range of the sound pressure.
s31, traversing the whole spectrum information of the self-power spectrum, and selecting the maximum peak value in the sound pressure amplitude range in the sound pressure square peak values of the self-power spectrum;
s32, extracting the frequency corresponding to the maximum peak value, and marking the maximum peak value as zero;
s33, repeating the step S31 until the peak values in the sound pressure amplitude range are zero;
and S34, selecting the ending frequency.
And 104, sequencing the selected frequencies from small to large or from large to small, judging whether continuous frequencies exist in the sequenced frequencies based on the minimum interval of the acquisition frequencies of the self-power spectrum (the acquisition frequencies are set when acquiring time domain signals), merging the continuous frequencies, and replacing the merged frequencies by the center frequency and the frequency bandwidth of the merged frequencies so as to finish frequency extraction.
The method utilizes the self-power spectrum to restore the real sound pressure amplitude corresponding to each frequency, and when the sound pressure amplitude of the noise is positioned in a set window, the automatic extraction of the sound source signal frequency is realized.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (2)
1. A method for automatically extracting the frequency of a noise sound source is characterized by comprising the following steps:
s1, acquiring a time-domain sound pressure signal of a sound source, and calculating a self-power spectrum of the time-domain sound pressure signal, wherein the self-power spectrum represents the relationship between the square of sound pressure and frequency;
s2, setting a sound pressure square amplitude range, and carrying out windowing filtering processing on the self-power spectrum in the sound pressure square amplitude range;
s3, selecting the frequency corresponding to the peak value in the self-power spectrum sound pressure square amplitude within the window range;
s4, sequencing the selected frequencies from small to large or from large to small, judging whether continuous frequencies exist in the sequenced frequencies based on the minimum interval of the acquisition frequencies of the self-power spectrum, combining the continuous frequencies, and replacing the combined frequency by the center frequency and the frequency bandwidth of the combined frequency so as to finish frequency extraction.
2. The method for automatically extracting the frequency of a noise sound source according to claim 1, wherein the step S3 comprises:
s31, traversing the whole self-power spectrum to obtain frequency spectrum information, and selecting the maximum peak value in the self-power spectrum sound pressure square amplitude within a window range;
s32, extracting the frequency corresponding to the maximum peak value, and setting the maximum peak value as zero;
s33, repeating the step S31 until the peak values within the window range are all zero;
and S34, selecting the ending frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010052954.2A CN111157095B (en) | 2020-01-17 | 2020-01-17 | Automatic frequency extraction method of noise source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010052954.2A CN111157095B (en) | 2020-01-17 | 2020-01-17 | Automatic frequency extraction method of noise source |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111157095A CN111157095A (en) | 2020-05-15 |
CN111157095B true CN111157095B (en) | 2022-03-01 |
Family
ID=70564145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010052954.2A Active CN111157095B (en) | 2020-01-17 | 2020-01-17 | Automatic frequency extraction method of noise source |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111157095B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2034056A (en) * | 1978-09-26 | 1980-05-29 | Victor Company Of Japan | Spectrum display apparatus |
WO1980002744A1 (en) * | 1979-05-25 | 1980-12-11 | T Nakagawa | Apparatus for measuring acoustic frequency characteristics |
CN101672692A (en) * | 2009-10-14 | 2010-03-17 | 大连理工大学 | Tuning fork resonance frequency quick measuring method based on virtual instrument |
CN102519651A (en) * | 2011-12-13 | 2012-06-27 | 清华大学 | Method for determining basic frequency of stay cable when testing cable tension of cable stayed bridge by using vibration method |
CN103033329A (en) * | 2012-12-24 | 2013-04-10 | 北京工业大学 | Space grid structure frequency identification method of improved power spectrum peak method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8548803B2 (en) * | 2011-08-08 | 2013-10-01 | The Intellisis Corporation | System and method of processing a sound signal including transforming the sound signal into a frequency-chirp domain |
CN104732970B (en) * | 2013-12-20 | 2018-12-04 | 中国科学院声学研究所 | A kind of ship-radiated noise recognition methods based on comprehensive characteristics |
CN103743470B (en) * | 2013-12-23 | 2016-05-18 | 广西科技大学 | A kind of automobile noise frequency spectrum analysis method |
CN105223906B (en) * | 2015-09-15 | 2017-10-03 | 华中科技大学 | A kind of auto-correction method of digital control system servo drive signal harmonic frequency |
CN109655148B (en) * | 2018-12-19 | 2019-09-17 | 南京世海声学科技有限公司 | A kind of autonomous extracting method of ship noise non-stationary low frequency spectrum lines |
CN109633268B (en) * | 2018-12-20 | 2020-03-10 | 北京航空航天大学 | Square wave fundamental frequency identification method based on B-spline and histogram |
CN110454942B (en) * | 2019-08-21 | 2020-06-09 | 珠海格力电器股份有限公司 | Control method and control device for preventing beat vibration of multi-noise-source equipment |
-
2020
- 2020-01-17 CN CN202010052954.2A patent/CN111157095B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2034056A (en) * | 1978-09-26 | 1980-05-29 | Victor Company Of Japan | Spectrum display apparatus |
WO1980002744A1 (en) * | 1979-05-25 | 1980-12-11 | T Nakagawa | Apparatus for measuring acoustic frequency characteristics |
CN101672692A (en) * | 2009-10-14 | 2010-03-17 | 大连理工大学 | Tuning fork resonance frequency quick measuring method based on virtual instrument |
CN102519651A (en) * | 2011-12-13 | 2012-06-27 | 清华大学 | Method for determining basic frequency of stay cable when testing cable tension of cable stayed bridge by using vibration method |
CN103033329A (en) * | 2012-12-24 | 2013-04-10 | 北京工业大学 | Space grid structure frequency identification method of improved power spectrum peak method |
Also Published As
Publication number | Publication date |
---|---|
CN111157095A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102037195B1 (en) | Voice detection methods, devices and storage media | |
US7492814B1 (en) | Method of removing noise and interference from signal using peak picking | |
US7676046B1 (en) | Method of removing noise and interference from signal | |
CN108875170B (en) | Noise source identification method based on improved variational modal decomposition | |
CN110619296B (en) | Signal noise reduction method based on singular decomposition | |
CN104036786A (en) | Method and device for denoising voice | |
CN109932624B (en) | Cable partial discharge period narrow-band interference denoising method based on Gaussian scale space | |
WO2001033547B1 (en) | Methods and apparatuses for signal analysis | |
CN107392123B (en) | Radio frequency fingerprint feature extraction and identification method based on coherent accumulation noise elimination | |
CN110706693A (en) | Method and device for determining voice endpoint, storage medium and electronic device | |
CN110503967B (en) | Voice enhancement method, device, medium and equipment | |
US9792898B2 (en) | Concurrent segmentation of multiple similar vocalizations | |
CN111754983A (en) | Voice denoising method and device, electronic equipment and storage medium | |
CN111863014A (en) | Audio processing method and device, electronic equipment and readable storage medium | |
CN109102818B (en) | Denoising audio sampling algorithm based on signal frequency probability density function distribution | |
CN111157095B (en) | Automatic frequency extraction method of noise source | |
CN105283915B (en) | Digital watermark embedding device and method and digital watermark detecting device and method | |
CN112929141A (en) | Unmanned aerial vehicle detection and identification method and system based on graph-borne signal matching | |
CN107993666B (en) | Speech recognition method, speech recognition device, computer equipment and readable storage medium | |
KR101661666B1 (en) | Hybrid audio fingerprinting apparatus and method | |
CN109272054B (en) | Vibration signal denoising method and system based on independence | |
US20220319022A1 (en) | Improving the resolution of a continuous wavelet transform | |
CN108051856A (en) | A kind of time-frequency domain Fluid Identification Method based on AMD-HHT | |
CN113113051A (en) | Audio fingerprint extraction method and device, computer equipment and storage medium | |
CN113679396A (en) | Training method, device, terminal and medium for fatigue recognition model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 201206 Shanghai, Pudong New Area, China (Shanghai) free trade zone, new Jinqiao Road, No. 13, building 2, floor 27 Applicant after: Shanghai suochen Information Technology Co., Ltd Address before: 201204 No. 27, Lane 676, Wuxing Road, Pudong New Area, Shanghai Applicant before: SHANGHAI SUOCHEN INFORMATION TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |