CN116132900A - Self-checking method, device and medium of active noise reduction system - Google Patents

Self-checking method, device and medium of active noise reduction system Download PDF

Info

Publication number
CN116132900A
CN116132900A CN202211540930.7A CN202211540930A CN116132900A CN 116132900 A CN116132900 A CN 116132900A CN 202211540930 A CN202211540930 A CN 202211540930A CN 116132900 A CN116132900 A CN 116132900A
Authority
CN
China
Prior art keywords
frequency
preset
preset test
loudspeaker
microphone
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.)
Pending
Application number
CN202211540930.7A
Other languages
Chinese (zh)
Inventor
殷久超
张希
俞贵涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN202211540930.7A priority Critical patent/CN116132900A/en
Publication of CN116132900A publication Critical patent/CN116132900A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/004Monitoring arrangements; Testing arrangements for microphones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Abstract

The invention discloses a self-checking method, a self-checking device and a self-checking medium of an active noise reduction system, wherein the active noise reduction system comprises at least one microphone and at least one loudspeaker, and the at least one loudspeaker plays corresponding preset test signals; synchronously acquiring at least one target audio signal by the at least one microphone; windowing a target audio signal for a fast fourier transform (Fast Fourier Transformation, FFT) of a preset resolution, converting to a target spectrum; extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of the preset resolution; and judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not. The self-checking method of the active noise reduction system does not need to add other parts, can be judged by only self-running equipment in the noise reduction system, and has high testing speed and comprehensive testing.

Description

Self-checking method, device and medium of active noise reduction system
Technical Field
The present invention relates to a detection method, a detection device, and a medium, and in particular, to a self-checking method, a self-checking device, and a medium for an active noise reduction system.
Background
Active noise reduction is a noise control technique that can effectively reduce low frequency noise levels. Active noise reduction systems are typically composed of a control board, a microphone and a speaker. In order to ensure the noise reduction effect, the active noise reduction system generally comprises a plurality of microphones and a plurality of loudspeakers so as to form a plurality of noise reduction channels, and before the product is assembled and delivered, whether each device can work normally or not needs to be detected, namely, the system is subjected to self-inspection; in addition, when the active noise reduction system fails, engineers need to quickly locate the problem, and there is also a need for quick detection. It is common practice to have multiple loudspeakers in the active noise reduction system play sound in sequence, let the microphone pick up the signal, and then detect the comparison microphone signal. This method, while simple and easy to understand, is time consuming and the test item is inadequate when the number of speakers is large.
Disclosure of Invention
The invention aims to overcome the defect that an active noise reduction system cannot be detected rapidly in the prior art, and provides a self-checking method, a self-checking device and a self-checking medium capable of realizing rapid and comprehensive detection of faults of the active noise reduction system.
The invention solves the technical problems by the following technical scheme: a method of self-checking an active noise reduction system comprising at least one microphone and at least one speaker, characterized by:
the at least one loudspeaker plays corresponding preset test signals; synchronously acquiring at least one target audio signal by the at least one microphone;
windowing a target audio signal for a fast fourier transform (Fast Fourier Transformation, FFT) of a preset resolution, converting to a target spectrum;
extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of the preset resolution;
and judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not.
Preferably, the self-checking method further includes determining whether the gain of the microphone reaches a standard according to whether the maximum amplitude of the at least one target audio signal falls within a preset range.
Preferably, whether the at least one microphone and the at least one speaker work normally is determined according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal, specifically:
if the target frequency spectrum of any microphone contains all frequency domain characteristics of a preset test signal of any loudspeaker, the loudspeaker is indicated to work normally;
if the target frequency spectrum of the partial microphone contains all frequency domain characteristics of the preset test signals corresponding to all loudspeakers and the target frequency spectrum of the partial microphone does not contain, the fault of the partial microphone is indicated;
if the target frequency spectrums of all the microphones do not detect the frequency domain characteristics of the preset test signals corresponding to any loudspeaker and the loudspeaker does not sound, the loudspeaker is damaged;
if the frequency domain characteristics of the preset test signals corresponding to any loudspeaker are not detected in the target frequency spectrums of all the microphones, and the loudspeaker really sounds, all the microphones are damaged.
Preferably, before the at least one speaker plays the respective corresponding preset test signal, generating the respective corresponding preset test signal for the at least one speaker;
the preset test signals comprise at least three superimposed single-frequency sinusoidal signals with different frequencies, the at least three single-frequency sinusoidal signals with different frequencies comprise at least one high frequency, one intermediate frequency and one low frequency, and the single-frequency sinusoidal signals with different frequencies of each preset test signal are different.
Preferably, the self-checking method further comprises: collecting environmental sound by a microphone to obtain a reference audio signal;
the reference audio signal is windowed to be converted into a reference frequency domain signal by a fast fourier transform of a preset resolution,
and subtracting the reference frequency domain signal from the target frequency spectrum, and judging whether the frequency domain characteristics of the preset test signal are contained or not.
Preferably, extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of the preset resolution; the method specifically comprises the steps of calculating each frequency peak value of a preset test signal under the fast Fourier transform of a preset resolution.
Preferably, whether the target spectrum contains frequency domain features of the preset test signal or not; in particular to
Searching peak values in the target frequency spectrum by using a peak searching algorithm, and if the value corresponding to the frequency peak value in the preset test signal or the adjacent value is judged to be the peak value, judging that the target frequency spectrum contains the frequency peak value, namely the frequency domain feature.
Preferably, in at least three single-frequency sinusoidal signals contained in each preset test signal, no multiple relationship exists between the frequencies of the single-frequency sinusoidal signals.
Preferably, the frequency bandwidth of all preset test signals is mHz, the frequency of the fast Fourier transform of the preset resolution is rHz, the number of single-frequency sine limit numbers of all preset test signals is Mxj, and the above-mentioned requirement of 0.01 (M/r) is less than or equal to MxJ is less than or equal to 0.1 (M/r), wherein J is the number of speakers, and M is the number of corresponding single-frequency sine signals in the preset test signals of each speaker.
In another aspect of the present invention, a self-checking device for an active noise reduction system is disclosed, which is characterized in that: comprising
The control unit controls at least one loudspeaker to play corresponding preset test signals;
the acquisition unit is connected with the microphone for acquiring a target audio signal;
the first transformation unit is used for windowing the target audio signal acquired by the acquisition unit, performing fast Fourier transform with preset resolution and converting the signal into a target frequency spectrum;
the computing unit is used for computing and extracting frequency domain characteristics of the preset test signal under the fast Fourier transform of the preset resolution;
and the judging unit is used for judging whether the at least one microphone and the at least one loudspeaker work normally according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal.
Preferably, the judging unit includes a first judging unit for judging whether the target spectrum includes the frequency domain characteristics of the preset test signal, and a second judging unit for judging whether the at least one microphone or the at least one speaker is operating normally.
Preferably, the judging unit further includes a third judging unit for judging whether the gain of the microphone reaches the standard according to whether the maximum amplitude of the at least one target audio signal falls within a preset range.
Preferably, the system further comprises a generating unit for generating a respective preset test signal for each loudspeaker, and the control unit controls at least one loudspeaker to play the respective preset test signal.
Preferably also comprises
The environment signal acquisition unit is used for connecting with the microphone to acquire environment audio signals;
the second transformation unit is connected with the environmental signal acquisition unit and is used for windowing the environmental audio signals acquired by the microphone to perform fast Fourier transformation with preset resolution and converting the signals into reference frequency domain signals.
In another aspect of the invention, an electronic device is disclosed, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
In yet another aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the above-described method is disclosed.
The invention has the positive progress effects that: according to the self-checking method of the active noise reduction system, other components are not required to be added, equipment in the noise reduction system only needs to be operated by oneself to judge, the testing speed is high, the testing is comprehensive, whether the system is abnormal can be judged by combining whether a tester hears sound or not, a microphone or a loudspeaker with a problem can be positioned rapidly, and the detection efficiency is improved.
Drawings
Fig. 1 is a flow chart of a self-checking method of an active noise reduction system according to embodiment 1 of the present invention;
fig. 2 is a flow chart of a self-checking method of the active noise reduction system according to embodiment 2 of the present invention;
fig. 3 is a flow chart of a self-checking method of an active noise reduction system according to embodiment 3 of the present invention;
FIG. 4 is a schematic block diagram of a self-checking device of an active noise reduction system according to embodiment 4 of the present invention;
fig. 5 is a schematic block diagram of an exemplary electronic device 500 provided in embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
The self-checking method of the active noise reduction system provided in embodiment 1 of the present invention generally includes at least one speaker and at least one microphone, preferably j speakers and i microphones, where i-k reference microphones and k error microphones are included in the i microphones, and i, j and k are positive integers. As shown in fig. 1, the method specifically includes the following steps:
s1, j speakers simultaneously play respective corresponding preset test signals f j And i microphones are synchronously used for collecting to obtain a target audio signal d i The target audio signal corresponding to the ith microphone is d i The target audio signal d i And mixing all preset test signals played by j loudspeakers for the time domain signals. Each preset test signal comprises m single-frequency sinusoidal signals, namely each preset test signal is formed by superposing m single-frequency sinusoidal signals, and each loudspeaker corresponds to m single-frequency sinusoidal signals in each preset test signalAll of which are different.
The m single-frequency sinusoidal signals of the preset test signals corresponding to each loudspeaker comprise at least three, namely m is more than or equal to 3, and the m single-frequency sinusoidal signals comprise at least one high-frequency, one medium-frequency and one low-frequency single-frequency sinusoidal signal. The low frequency is not required to be lower, for example, the low frequency below 100Hz, because the preset test signal needs to be subjected to the fast Fourier transform with preset resolution, the resolution is limited, and the normal background noise contains higher low frequency signals. In the m single-frequency sinusoidal signals of each preset test signal, the frequencies of the sinusoidal signals have no integer multiple relation, otherwise, the test result is affected by the harmonic effect.
S2, windowing a target audio signal to perform fast Fourier transform with preset resolution, and converting the fast Fourier transform into a target frequency spectrum; in particular the target audio signal d i Windowing to perform fast Fourier transform with preset resolution to obtain a target frequency spectrum F i The method comprises the steps of carrying out a first treatment on the surface of the There are i target audio signals in total, i are converted to i target frequency spectrums F 1 、F 2 ……F i
S3, extracting frequency domain characteristics of the preset test signal under the preset resolution ratio fast Fourier transform, and specifically extracting frequency peak values of the preset test signal under the preset resolution ratio fast Fourier transform.
The step can be obtained through calculation, j preset test signals are provided, each preset test signal is overlapped by m single-frequency sinusoidal signals, and therefore the frequency peak value is the frequency value position of the m single-frequency signals. Each preset test signal has m frequency peaks, and all preset test signals have m×j frequency peaks in total. For example, the preset test signal f of speaker with serial number j j The peak value of [ A ] j1 ,A j2 ,……,A jm ]J is the number of speakers, and m is the number of peaks, i.e. the number of single frequency sinusoidal signals.
S4, judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not. In particular to the preparation method of the composite material,
if the target frequency spectrum of any microphone contains all frequency domain characteristics of a preset test signal of any loudspeaker, the loudspeaker is indicated to work normally;
if the target frequency spectrum of the partial microphone contains all frequency domain characteristics of the preset test signals corresponding to all loudspeakers and the target frequency spectrum of the partial microphone does not contain, the fault of the partial microphone is indicated;
if the target frequency spectrums of all the microphones do not detect the frequency domain characteristics of the preset test signals corresponding to any loudspeaker and the loudspeaker does not sound, the loudspeaker is damaged;
if the frequency domain characteristics of the preset test signals corresponding to any loudspeaker are not detected in the target frequency spectrums of all the microphones, and the loudspeaker really sounds, all the microphones are damaged.
The frequency domain characteristics of the preset test signal are m frequency peaks [ A ] of the preset test signal determined in the step S3 under the fast Fourier transform of the preset resolution j1 ,A j2 ,……,A jm ]. Therefore, by judging whether the frequency domain peak value [ A ] is contained in the target frequency spectrum j1 ,A j2 ,……,A jm ]To determine whether the speaker or microphone is operating properly.
Specifically, the peak searching algorithm is adopted to search the target frequency spectrum F i Searching for peak values in the middle if the frequency peak value A j1 If the corresponding value or the corresponding value is determined to be a peak value, the target spectrum is considered to contain the frequency peak value, that is, the frequency domain feature.
More specifically, the method comprises the steps of,
if any target frequency spectrum F of microphone with serial number u u Comprising a predetermined test signal f of any number s speaker s All frequency peaks [ A ] s1 ,A s2 ,……,A sm ]Indicating that the loudspeaker s works normally; s is the serial number of the loudspeaker, u is the serial number of the microphone, u is more than or equal to 1 and less than or equal to i, and s is more than or equal to 1 and less than or equal to j.
If the part number is 1-3 the target spectrum of the microphone, e.g. F 1 、F 2 、F 3 Comprising a pre-set of all loudspeaker correspondencesSet all frequency peaks of test signal [ A 11 ,A 12 ,……,A 1m ]……[A j1 ,A j2 ,……,A jm ]And the target spectrum of microphones with part number 4-i, e.g. F 4 、F 5 ……F i If not, the sequence number is F 4 、F 5 ……F i Part of the microphones failed.
If the target frequency spectrum F of all microphones 1 、F 2 、F 3 ……F i The frequency peak value of a preset test signal corresponding to any loudspeaker is not detected, and the loudspeaker does not sound, so that the loudspeaker is damaged;
if the target frequency spectrum F of all microphones 1 、F 2 、F 3 ……F i The frequency peak value of the preset test signal corresponding to any loudspeaker is not detected, and the loudspeaker sounds indeed, so that all the microphones are damaged.
If the frequency bandwidth of all the preset test signals is bHz and the preset frequency of the fast fourier transform of the preset resolution is cHz, the number of all single-frequency sinusoidal signals of all the preset test signals is mxj, where j is the number of speakers and m is the number of corresponding single-frequency sinusoidal signals in the preset test signals of each speaker, and the above satisfies 0.01 (b/c) is less than or equal to mxj is less than or equal to 0.1 (b/c).
Example 2
As shown in FIG. 2, the method of this embodiment is substantially similar to that of embodiment 1, except that two steps S100 and S104 are added, i.e.
Step S100, generating a corresponding preset test signal f for each speaker j J is the speaker serial number, i.e. the test signal corresponding to the j-th speaker is f j . Each preset test signal comprises m single-frequency sinusoidal signals, namely each preset test signal is formed by superposing m single-frequency sinusoidal signals, and m single-frequency sinusoidal signals in each preset test signal corresponding to each loudspeaker are different.
The m single-frequency sinusoidal signals of the preset test signals corresponding to each loudspeaker comprise at least three, namely m is more than or equal to 3, and the m single-frequency sinusoidal signals comprise at least one high-frequency, one medium-frequency and one low-frequency single-frequency sinusoidal signal. The low frequency is not required to be lower, for example, the low frequency below 100Hz, because the preset test signal needs to be subjected to the fast Fourier transform with preset resolution, the resolution is limited, and the normal background noise contains higher low frequency signals. In the m single-frequency sinusoidal signals of each preset test signal, the frequencies of the sinusoidal signals have no integer multiple relation, otherwise, the test result is affected by the harmonic effect.
This step S100 is located before step S1, but in embodiment 1, this step may be omitted, for example, the system may automatically preset a plurality of preset test signals for sounding detection by the speaker earlier.
Step S104, specifically, according to the target audio signal d i Judging whether the gain level of the microphone reaches the standard, specifically, judging the target audio signal d corresponding to the ith microphone i If the maximum amplitude of the microphone is within the preset range, the gain level is normal, and if the maximum amplitude is outside the preset range, the gain of the corresponding microphone needs to be adjusted. This step may also be carried out in a suitable subsequent step, which need not necessarily be in this position. Only after the target audio signal is collected, whether the gain of the microphone reaches the level can be independently judged.
This step S104 may be located at any step after step S1 or after step S1, i.e. only after the target audio signal is generated, it may be determined separately.
Example 3
As shown in fig. 3, in the self-checking method of the active noise reduction system provided in embodiment 3 of the present invention, the active noise reduction system generally includes at least one speaker and at least one microphone, preferably includes j speakers and i microphones, where i-k reference microphones and k error microphones are included in the i microphones, and i, j and k are positive integers. As shown in fig. 1, the method specifically includes the following steps:
s101, collecting environment signals by i microphones to obtain a reference audio signal d i ' the reference audio signal is a time domain signal;
s102, the reference audio signal d i ' windowing a fast Fourier transform (Fast Fourier Transformation, FFT) of a predetermined resolution to obtain a reference frequency domain signal F i '. Where i is the microphone number.
The two steps may be performed at the forefront or at a suitable location in the subsequent steps.
S100, generating a corresponding preset test signal f for each speaker j J is the speaker serial number, i.e. the test signal corresponding to the j-th speaker is f j . Each preset test signal comprises m single-frequency sinusoidal signals, namely each preset test signal is formed by superposing m single-frequency sinusoidal signals, and m single-frequency sinusoidal signals in each preset test signal corresponding to each loudspeaker are different.
The m single-frequency sinusoidal signals of the preset test signals corresponding to each loudspeaker comprise at least three, namely m is more than or equal to 3, and the m single-frequency sinusoidal signals comprise at least one high-frequency, one medium-frequency and one low-frequency single-frequency sinusoidal signal. The low frequency is not required to be lower, for example, the low frequency below 100Hz, because the preset test signal needs to be subjected to the fast Fourier transform with preset resolution, the resolution is limited, and the normal background noise contains higher low frequency signals. In the m single-frequency sinusoidal signals of each preset test signal, the frequencies of the sinusoidal signals have no integer multiple relation, otherwise, the test result is affected by the harmonic effect.
S1, j speakers simultaneously play respective corresponding preset test signals f j And i microphones are synchronously used for collecting to obtain a target audio signal d i The target audio signal corresponding to the ith microphone is d i The target audio signal d i And mixing all preset test signals played by j loudspeakers for the time domain signals.
S2, windowing the target audio signal to be a fast Fourier transform with preset resolutionConverting the target spectrum; in particular the target audio signal d i Windowing to perform fast Fourier transform with preset resolution to obtain a target frequency spectrum F i The method comprises the steps of carrying out a first treatment on the surface of the There are i target audio signals in total, i are converted to i target frequency spectrums F 1 、F 2 ……F i
Preferably, after this step, step S103 may be further performed to obtain the target spectrums F corresponding to the i microphones i Subtracting the respective reference frequency domain signals F i The removal of the reference frequency domain signal corresponds to the removal of the noise floor.
S3, extracting frequency domain characteristics of the preset test signal under the preset resolution ratio fast Fourier transform, and specifically extracting frequency peak values of the preset test signal under the preset resolution ratio fast Fourier transform.
The step can be obtained through calculation, j preset test signals are provided, each preset test signal is overlapped by m single-frequency sinusoidal signals, and therefore the frequency peak value is the frequency value position of the m single-frequency signals. Each preset test signal has m frequency peaks, and all preset test signals have m×j frequency peaks in total. For example, the preset test signal f of speaker with serial number j j The peak value of [ A ] j1 ,A j2 ,……,A jm ]J is the number of speakers, and m is the number of peaks, i.e. the number of single frequency sinusoidal signals.
S4, judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not. In particular to the preparation method of the composite material,
if the target frequency spectrum of any microphone contains all frequency domain characteristics of a preset test signal of any loudspeaker, the loudspeaker is indicated to work normally;
if the target frequency spectrum of the partial microphone contains all frequency domain characteristics of the preset test signals corresponding to all loudspeakers and the target frequency spectrum of the partial microphone does not contain, the fault of the partial microphone is indicated;
if the target frequency spectrums of all the microphones do not detect the frequency domain characteristics of the preset test signals corresponding to any loudspeaker and the loudspeaker does not sound, the loudspeaker is damaged;
if the frequency domain characteristics of the preset test signals corresponding to any loudspeaker are not detected in the target frequency spectrums of all the microphones, and the loudspeaker really sounds, all the microphones are damaged.
The frequency domain characteristics of the preset test signal are m frequency peaks [ A ] of the preset test signal determined in the step S3 under the fast Fourier transform of the preset resolution j1 ,A j2 ,……,A jm ]. Therefore, by judging whether the frequency domain peak value [ A ] is contained in the target frequency spectrum j1 ,A j2 ,……,A jm ]To determine whether the speaker or microphone is operating properly.
Specifically, the peak searching algorithm is adopted to search the target frequency spectrum F i Searching for peak values in the middle if the frequency peak value A j1 If the corresponding value or the corresponding value is determined to be a peak value, the target spectrum is considered to contain the frequency peak value, that is, the frequency domain feature.
More specifically, if any one of the target spectrums F of the u microphones is the same number u Comprising a predetermined test signal f of any number s speaker s All frequency peaks [ A ] s1 ,A s2 ,……,A sm ]Indicating that the loudspeaker s works normally; s is the serial number of the loudspeaker, u is the serial number of the microphone, u is more than or equal to 1 and less than or equal to i, and s is more than or equal to 1 and less than or equal to j.
If the part number is 1-3 the target spectrum of the microphone, e.g. F 1 、F 2 、F 3 All frequency peaks [ A ] of preset test signals corresponding to all loudspeakers are contained 11 ,A 12 ,……,A 1m ]……[A j1 ,A j2 ,……,A jm ]And the target spectrum of microphones with part number 4-i, e.g. F 4 、F 5 ……F i If not, the sequence number is F 4 、F 5 ……F i Part of the microphones failed.
If the target frequency spectrum F of all microphones 1 、F 2 、F 3 ……F i No pre-detection of any speaker correspondenceSetting a frequency peak value of the test signal, and if the loudspeaker does not sound, the loudspeaker is damaged completely;
if the target frequency spectrum F of all microphones 1 、F 2 、F 3 ……F i The frequency peak value of the preset test signal corresponding to any loudspeaker is not detected, and the loudspeaker sounds indeed, so that all the microphones are damaged.
If the frequency bandwidth of all the preset test signals is bHz and the preset frequency of the fast fourier transform of the preset resolution is cHz, the number of all single-frequency sine limit numbers of all the preset test signals is mxj, and the above-mentioned requirement is 0.01 (b/c) less than or equal to mxj less than or equal to 0.1 (b/c), where j is the number of speakers, and m is the number of corresponding single-frequency sine signals in the preset test signals of each speaker.
As shown in fig. 3, the step S101 is preferably located before the step S1, that is, may be located before the step S101, or between the step S101 and the step S1; step S102 is located after step S101, and may be located before step S1, i.e. may be located before step S101, or between step S101 and step S1; or between steps S1 and S2, between steps S2 and S3, and between steps S3 and S4, i.e. after step S4, after step S101; step S103 needs to be located after step S102 and before step S4, and thus may also be located between steps S2 and S3 or between S3 and S4.
Example 4
As shown in fig. 4, corresponding to the methods of embodiments 1-3, the active noise reduction system self-checking device of the present embodiment includes a control unit, where the control unit controls at least one speaker to play respective corresponding preset test signals; for example, the device includes j speakers and i microphones, and controls the j speakers to respectively play the corresponding preset test signals f j
The acquisition unit is used for connecting at least one microphone and synchronously and respectively acquiring target audio signals of the microphones; i microphones are connected, and preset test signals which are received by the microphones and played by j speakers at the same time are synchronously collected to obtain i target audio signals d i . The target audio signal d i For j winnowingMixing of preset test signals played by the sounder.
The conversion unit is connected with the acquisition unit and is used for converting the target audio signal d acquired by the acquisition unit i Windowing the signal to perform fast Fourier transform with preset resolution, and converting the signal into i target frequency spectrums F i
The computing unit is used for computing and extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of a preset resolution;
the judging unit is connected with the transforming unit and the calculating unit, receives the target frequency spectrum converted by the transforming unit and the frequency domain characteristics calculated by the calculating unit, and judges whether the at least one microphone and the at least one loudspeaker work normally according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal.
The device also comprises a generating unit for generating a preset test signal f corresponding to each loudspeaker j And then the control unit controls at least one loudspeaker to play the corresponding preset test signals.
Each loudspeaker corresponds to a preset test signal, the preset test signal comprises at least three superimposed single-frequency sinusoidal signals with different frequencies, the at least three single-frequency sinusoidal signals with different frequencies comprise at least one high frequency, one intermediate frequency and one low frequency, and the frequencies of the at least three single-frequency sinusoidal signals with different frequencies of each preset test signal are all different. Preferably, in at least three single-frequency sinusoidal signals contained in each preset test signal, no multiple relationship exists between the frequencies of the single-frequency sinusoidal signals.
Preferably, the judging unit includes a first judging unit that judges whether the target spectrum includes the frequency domain characteristics of the preset test signal, and a second judging unit that judges whether the at least one microphone or the at least one speaker operates normally.
Preferably, the first judging unit uses a peak-finding algorithm to find a target frequency spectrum F i If the value corresponding to the frequency peak value or the adjacent value of the frequency peak value in the preset test signal is judged as the peak value, judging that the target frequency spectrum comprises the frequencyThe rate peak, i.e. contains the frequency domain feature.
The second judging unit is used for judging whether the at least one microphone and the at least one loudspeaker work normally or not, specifically:
if the target frequency spectrum of any microphone contains all frequency domain characteristics of the preset test signal of any loudspeaker, if any target frequency spectrum F of any microphone with the sequence number u u Comprising a predetermined test signal f of any number s speaker s All frequency peaks [ A ] s1 ,A s2 ,……,A sm ]Indicating that the loudspeaker s works normally; s is the serial number of the loudspeaker, u is the serial number of the microphone, u is more than or equal to 1 and less than or equal to i, and s is more than or equal to 1 and less than or equal to j.
If the target frequency spectrum of the partial microphone contains all frequency domain characteristics of the preset test signals corresponding to all loudspeakers and the target frequency spectrum of the partial microphone does not contain, the fault of the partial microphone is indicated; for example, the speaker is illustrated as functioning properly; specifically, if the part number is 1-3, the target spectrum of the microphone, e.g. F 1 、F 2 、F 3 All frequency peaks [ A ] of preset test signals corresponding to all loudspeakers are contained 11 ,A 12 ,……,A 1m ]……[A j1 ,A j2 ,……,A jm ]And the target spectrum of microphones with part number 4-i, e.g. F 4 、F 5 ……F i If not, the sequence number is F 4 、F 5 ……F i Part of the microphones failed.
If the target frequency spectrums of all the microphones do not detect the frequency domain characteristics of the preset test signals corresponding to any loudspeaker and the loudspeaker does not sound, the loudspeaker is damaged;
if the frequency domain characteristics of the preset test signals corresponding to any loudspeaker are not detected in the target frequency spectrums of all the microphones, and the loudspeaker really sounds, all the microphones are damaged.
The frequency domain characteristic is the peak frequency in the preset test signal.
The judging unit further comprises a third judging unit for judging whether the gain of the microphone reaches the standard according to whether the maximum amplitude of the at least one target audio signal falls within a preset range.
Preferably, the self-checking device of the active noise reduction system of the embodiment further comprises an environmental signal acquisition unit, which is used for connecting with a microphone to acquire an environmental audio signal; the second transformation unit is connected with the environmental signal acquisition unit and is used for windowing the environmental audio signals acquired by the microphone to perform fast Fourier transformation with preset resolution and converting the signals into reference frequency domain signals. The environmental signal acquisition unit can also be an acquisition unit, the second transformation unit can also be a first transformation unit, and the environmental signal acquisition unit is used for windowing an audio time domain signal received by a microphone and performing a preset frequency FFT.
Example 5
Fig. 5 shows a schematic block diagram of an example electronic device 500 that may be used to implement an embodiment of the invention. The apparatus 500 includes a computing unit 501 that can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 502 or a computer program loaded from a storage unit 508 into a RAM (Random Access Memory ) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, ROM 502, and RAM 503 are connected to each other by a bus 504. An I/O (Input/Output) interface 505 is also connected to bus 504.
Various components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a CPU (Central Processing Unit ), GPU (Graphic Processing Units, graphics)Processing unit), various special AI (artifical)Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processor, digital signal processors), and any suitable processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the self-test method of the active noise reduction system. For example, in some embodiments, the active noise reduction system self-test method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into RAM 503 and executed by computing unit 501, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the self-test method of the aforementioned active noise reduction system in any other suitable way (e.g., by means of firmware).
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and 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 principles and spirit of the invention, but such changes and modifications fall within the scope of the invention. While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and 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 principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (16)

1. A method of self-checking an active noise reduction system comprising at least one microphone and at least one speaker, characterized by:
the at least one loudspeaker plays corresponding preset test signals; synchronously acquiring at least one target audio signal by the at least one microphone;
windowing a target audio signal for a fast fourier transform (Fast Fourier Transformation, FFT) of a preset resolution, converting to a target spectrum;
extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of the preset resolution;
and judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not.
2. The active noise reduction system self-test method of claim 1, wherein: the self-checking method further comprises the step of judging whether the gain of the microphone reaches the standard according to whether the maximum amplitude of the at least one target audio signal falls into a preset range.
3. The active noise reduction system self-test method of claim 1, wherein: judging whether the at least one microphone and the at least one loudspeaker work normally or not according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not, specifically:
if the target frequency spectrum of any microphone contains all frequency domain characteristics of a preset test signal of any loudspeaker, the loudspeaker is indicated to work normally;
if the target frequency spectrum of the partial microphone contains all frequency domain characteristics of the preset test signals corresponding to all loudspeakers and the target frequency spectrum of the partial microphone does not contain, the fault of the partial microphone is indicated;
if the target frequency spectrums of all the microphones do not detect the frequency domain characteristics of the preset test signals corresponding to any loudspeaker and the loudspeaker does not sound, the loudspeaker is damaged;
if the frequency domain characteristics of the preset test signals corresponding to any loudspeaker are not detected in the target frequency spectrums of all the microphones, and the loudspeaker really sounds, all the microphones are damaged.
4. The active noise reduction system self-test method of claim 1, wherein:
before the at least one loudspeaker plays the respective corresponding preset test signals, generating the respective corresponding preset test signals for the at least one loudspeaker;
the preset test signals comprise at least three superimposed single-frequency sinusoidal signals with different frequencies, the at least three single-frequency sinusoidal signals with different frequencies comprise at least one high frequency, one intermediate frequency and one low frequency, and the single-frequency sinusoidal signals with different frequencies of each preset test signal are different.
5. The active noise reduction system self-test method of claim 1, wherein: the self-checking method further comprises the following steps: collecting environmental sound by a microphone to obtain a reference audio signal;
the reference audio signal is windowed to be converted into a reference frequency domain signal by a fast fourier transform of a preset resolution,
and subtracting the reference frequency domain signal from the target frequency spectrum, and judging whether the frequency domain characteristics of the preset test signal are contained or not.
6. The active noise reduction system self-test method of claim 1, wherein: extracting frequency domain characteristics of a preset test signal under the fast Fourier transform of the preset resolution; the method specifically comprises the steps of calculating each frequency peak value of a preset test signal under the fast Fourier transform of a preset resolution.
7. The active noise reduction system of claim 6, wherein: whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal or not; in particular to
Searching peak values in the target frequency spectrum by using a peak searching algorithm, and if the value corresponding to the frequency peak value in the preset test signal or the adjacent value is judged to be the peak value, judging that the target frequency spectrum contains the frequency peak value, namely the frequency domain feature.
8. The active noise reduction system self-test method of claim 4, wherein: in at least three single-frequency sinusoidal signals contained in each preset test signal, multiple relations do not exist among frequencies of the single-frequency sinusoidal signals.
9. The active noise reduction system self-test method of claim 1, wherein: the frequency bandwidth of all preset test signals is mHz, the frequency of the fast Fourier transform of the preset resolution is rHz, the number of single-frequency sine limit numbers of all preset test signals is Mxj, the number of the single-frequency sine limit numbers of all preset test signals is 0.01 (M/r) to MxJ to 0.1 (M/r), J is the number of loudspeakers, and M is the number of corresponding single-frequency sine signals in the preset test signals of each loudspeaker.
10. The utility model provides an initiative noise reduction system self-checking device which characterized in that: comprising
The control unit controls at least one loudspeaker to play corresponding preset test signals;
the acquisition unit is connected with the microphone for acquiring a target audio signal;
the first transformation unit is used for windowing the target audio signal acquired by the acquisition unit, performing fast Fourier transform with preset resolution and converting the signal into a target frequency spectrum;
the computing unit is used for computing and extracting frequency domain characteristics of the preset test signal under the fast Fourier transform of the preset resolution;
and the judging unit is used for judging whether the at least one microphone and the at least one loudspeaker work normally according to whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal.
11. The active noise reduction system self-test device of claim 10, wherein: the judging unit comprises a first judging unit for judging whether the target frequency spectrum contains the frequency domain characteristics of the preset test signal, and a second judging unit for judging whether the at least one microphone or the at least one loudspeaker normally works.
12. The active noise reduction system self-test device of claim 11, wherein: the judging unit further comprises a third judging unit for judging whether the gain of the microphone reaches the standard according to whether the maximum amplitude of the at least one target audio signal falls within a preset range.
13. The active noise reduction system self-test device of claim 10, wherein: the system also comprises a generating unit, wherein the generating unit generates a corresponding preset test signal for each loudspeaker, and the control unit controls at least one loudspeaker to play the corresponding preset test signal.
14. The active noise reduction system self-test device of claim 10, further comprising an ambient signal acquisition unit for connecting a microphone to acquire an ambient audio signal;
the second transformation unit is connected with the environmental signal acquisition unit and is used for windowing the environmental audio signals acquired by the microphone to perform fast Fourier transformation with preset resolution and converting the signals into reference frequency domain signals.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
16. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-9.
CN202211540930.7A 2022-12-02 2022-12-02 Self-checking method, device and medium of active noise reduction system Pending CN116132900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211540930.7A CN116132900A (en) 2022-12-02 2022-12-02 Self-checking method, device and medium of active noise reduction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211540930.7A CN116132900A (en) 2022-12-02 2022-12-02 Self-checking method, device and medium of active noise reduction system

Publications (1)

Publication Number Publication Date
CN116132900A true CN116132900A (en) 2023-05-16

Family

ID=86308975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211540930.7A Pending CN116132900A (en) 2022-12-02 2022-12-02 Self-checking method, device and medium of active noise reduction system

Country Status (1)

Country Link
CN (1) CN116132900A (en)

Similar Documents

Publication Publication Date Title
CN110265064B (en) Audio frequency crackle detection method, device and storage medium
US9025781B2 (en) Sound quality evaluation apparatus and method thereof
US8543387B2 (en) Estimating pitch by modeling audio as a weighted mixture of tone models for harmonic structures
CN108430026B (en) Audio equipment fault detection method and karaoke equipment
CN110111811B (en) Audio signal detection method, device and storage medium
JP2012226080A (en) Music piece retrieval device and method, program, and recording medium
CN108200526B (en) Sound debugging method and device based on reliability curve
CN102045621A (en) Sound processing apparatus, sound processing method, and sound processing program
CN109340586A (en) A kind of detection method and system of water supply line leakage
CN113452855B (en) Howling processing method, howling processing device, electronic equipment and storage medium
CN111739542A (en) Method, device and equipment for detecting characteristic sound
CN113259832A (en) Microphone array detection method and device, electronic equipment and storage medium
CN114699042A (en) Frequency detection method and device, electronic equipment and storage medium
CN113125135A (en) Fault diagnosis method for rotary machine, storage medium, and electronic device
CN104869519A (en) Method and system for testing background noise of microphone
CN114564983A (en) Hydroelectric generating set state monitoring characteristic signal processing method based on time-frequency conversion
CN116132900A (en) Self-checking method, device and medium of active noise reduction system
JPWO2020026829A1 (en) Sound data processing method, sound data processing device and program
CN112712816A (en) Training method and device of voice processing model and voice processing method and device
CN108419199A (en) Fault detection method, device and the equipment of acoustic signals, readable medium
US9351072B2 (en) Multi-band harmonic discrimination for feedback suppression
CN113139430A (en) Acoustic signal analysis method for fault detection, and method and device for fault detection
CN111883147A (en) Audio data processing method and device, computer equipment and storage medium
CN110021289A (en) A kind of audio signal processing method, device and storage medium
CN113382348B (en) Earphone detection method, device and system and computer readable storage medium

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