CN115334440A - Microphone testing system and testing method - Google Patents
Microphone testing system and testing method Download PDFInfo
- Publication number
- CN115334440A CN115334440A CN202211045995.4A CN202211045995A CN115334440A CN 115334440 A CN115334440 A CN 115334440A CN 202211045995 A CN202211045995 A CN 202211045995A CN 115334440 A CN115334440 A CN 115334440A
- Authority
- CN
- China
- Prior art keywords
- microphone
- audio
- judging
- unit
- audio signals
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/004—Monitoring arrangements; Testing arrangements for microphones
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention provides a microphone testing system, which comprises an audio decoding unit, a judging unit and a processing unit, wherein the audio decoding unit is used for decoding an audio signal; the microphone array to be tested comprises at least one microphone pair, and each microphone pair outputs a corresponding digital signal; the audio decoding unit is used for decoding the digital signal and outputting two audio signals corresponding to the microphone pair; the judging unit is used for judging the two audio signals and outputting a judging result to the processing unit; and outputting the test result of the microphone array through the processing unit. The invention can quickly and effectively test the microphones in the microphone array, and avoids the occurrence of abnormal conditions such as microphone loss and the like.
Description
Technical Field
The invention relates to the field of acoustic product testing, in particular to a microphone testing system and a microphone testing method.
Background
With the rapid development of artificial intelligence, the voice technology has an increasingly large influence on the life of people, but in the practical application of the semantic technology, due to the influence of factors such as noise, echo and even reverberation existing in the environment, the single-microphone algorithm technology cannot meet the high-quality experience requirement of users.
At present, in order to effectively acquire a voice signal and improve the experience effect of a user, a microphone array, for example, a four-microphone array or a loop array, is usually used as a pickup module, and a noise signal is effectively suppressed through the microphone array to eliminate reverberation and echo, so that the back-end processing is simpler and easier.
However, in actual production testing, due to the presence of multiple frequency microphones in the array, if one of the multiple frequency microphones is lost or damaged, the test result is usually normal. In other words, in the conventional circuit design of the microphone array, when the microphone is missing, the conventional test means cannot detect the abnormality of the individual microphone, and the overall effect of the product is affected.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide a microphone testing system and a testing method thereof, so as to effectively test each microphone unit in a microphone array, thereby solving the problem that the existing testing method cannot effectively detect a lost microphone.
The invention provides a microphone test system, which comprises an audio decoding unit, a judging unit and a processing unit; the microphone array to be tested comprises at least one microphone pair, and each microphone pair outputs a corresponding digital signal; the audio decoding unit is used for decoding the digital signal and outputting two audio signals corresponding to the microphone pair; the judging unit is used for judging the two audio signals and outputting a judging result to the processing unit; and outputting the test result of the microphone array through the processing unit.
In addition, optionally, the processing unit is further configured to send clock signal data to the audio decoding unit and the microphone array to be tested.
In addition, an optional technical solution is that the audio signal is a signal within one collected clock signal data period.
In addition, the optional technical scheme is that when the data of the two audio signals are completely consistent, the judgment result is NG; otherwise, when the data of the two audio signals are not completely consistent, the judgment result is qualified.
In addition, an alternative solution is that one microphone pair includes a first microphone and a second microphone; the two audio signals correspond to a first microphone and a second microphone, respectively.
In addition, an optional technical solution is that the number of the microphone pairs is the same as the number of the judgment units.
According to another aspect of the present invention, there is provided a microphone testing method for testing a microphone array to be tested by using the above-mentioned microphone testing system, the method including: controlling the sound card to send out a sound signal through the processing unit; collecting sound signals by a microphone array to be tested, and outputting corresponding digital signals through a microphone pair in the microphone array to be tested; decomposing the digital signal through an audio decoding unit, and outputting audio signals respectively corresponding to two microphones in the microphone pair; judging whether the data of the audio signals of the two microphones are completely consistent through a judging unit; a test result of the microphone array is determined based on a determination result of the determination unit.
In addition, an optional technical solution is that: and sending clock signal data to the audio decoding unit and the microphone array to be tested through the processing unit.
In addition, an optional technical solution is that, the determining unit determines whether the data of the audio signals of the two microphones are completely consistent, including: collecting a signal of an audio signal in one clock cycle of clock signal data; the audio signal in one period is judged by the judging unit.
In addition, an optional technical solution is that: and if the data of the audio signals in one clock period are completely consistent, acquiring the audio signals in two continuous clock periods, and judging through the judging unit.
By utilizing the microphone testing system and the testing method, the audio decoding unit is used for decomposing the digital signals output by the microphones to obtain the audio signals corresponding to the two microphones in the microphone pair respectively, and then the judging unit is used for judging whether the data of the audio signals of the two microphones are completely consistent or not, if so, the single-frequency microphone loss possibly exists in the microphone pair, otherwise, the microphone pair is in accordance with the requirement, and the system is simple in structure, convenient to test and high in accuracy.
To the accomplishment of the foregoing and related ends, one or more aspects of the invention comprise the features hereinafter fully described. The following description and the annexed drawings set forth in detail certain illustrative aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed. Further, the present invention is intended to include all such aspects and their equivalents.
Drawings
Other objects and results of the present invention will become more apparent and more readily appreciated as the same becomes better understood by reference to the following description taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 is a block diagram of a microphone testing system according to an embodiment of the invention;
fig. 2 is a schematic diagram of a microphone testing system according to an embodiment of the present invention.
The same reference numbers in all figures indicate similar or corresponding features or functions.
Detailed Description
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. It may be evident, however, that such embodiment(s) may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, but are not intended to indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the invention. The terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In order to solve the problem that the conventional microphone array cannot test an abnormal microphone when the abnormal microphone exists, the invention provides the microphone testing system and the microphone testing method, which can decompose the digital signals output by the microphone through the audio decoding unit to obtain the audio signals respectively corresponding to the two microphones in the microphone pair, judge whether the data of the audio signals of the two microphones are completely consistent through the judging unit, and finally determine whether the abnormal microphone pair exists according to the judging structure.
To describe the microphone testing system and testing method in detail, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 shows a block schematic diagram of a microphone testing system according to an embodiment of the invention.
As shown in fig. 1, a microphone testing system according to an embodiment of the present invention includes an audio decoding unit, a determining unit, and a processing unit; the microphone array to be tested comprises at least one microphone pair, each microphone pair comprises two microphones, and one microphone pair outputs a corresponding digital signal; then, the audio decoding unit is used for decoding the digital signal and outputting two audio signals respectively corresponding to the two microphones in the microphone pair; the judgment unit is used for judging the two audio signals, outputting the judgment result to the processing unit, and finally outputting the test result of the microphone array through the processing unit, so that the detection of a plurality of microphone pairs in the microphone array can be realized, and the defect that a single-frequency microphone is lost and cannot be detected is overcome.
The processing unit may be a processing chip, a processor, or a computer PC, etc., and in addition to outputting the test result, the processing unit is also used to transmit clock signal data to the audio decoding unit and the test microphone array.
As a specific example, when the microphone array includes two microphone pairs, that is, four-frequency microphones, the two-frequency microphones of each microphone pair output one digital signal (DATA signal), and the two groups of microphone pairs output two digital signals, as known from the characteristics of the sequential logic circuit, the output signal at any time depends not only on the input signal at that time, but also on the original state of the circuit, that is, when there is no DATA feedback output after one CLK (clock signal) is triggered, the DATA signal output defaults to the original signal state in the storage circuit. This results in the DATA chain remaining in the previous state in the event of loss of one of the microphones of a microphone pair, so that the signals received by the two microphones are identical and the two DATA streams are identical for the processing unit at the DATA receiving end. The end result is that data signals can be acquired despite the absence of a single frequency microphone, and the end result is OK.
Therefore, in the microphone testing system of the invention, the processing unit is also used for sending clock signal data to the audio decoding unit and the microphone array to be tested, then when the audio signal output by the audio decoding unit is obtained, the audio signal in one clock signal data period can be collected, then the judgment is carried out based on the judging unit, and when the data of the two audio signals are completely consistent, the judgment result is NG; otherwise, when the data of the two audio signals are not completely consistent, the judgment result is qualified.
Fig. 2 shows a schematic diagram of a microphone testing system according to an embodiment of the invention.
As shown in fig. 1 and 2, in an embodiment of the present invention, two sets of microphone pairs are provided, a processing unit controls a sound card to emit an original digital audio signal of a specified frequency band, the sound card is used as a wellhead for audio signal processing, the original digital audio signal can be converted into an analog audio signal, the analog audio signal is further amplified by a power amplifier, the power amplifier can drive a loudspeaker to work and emit sound after amplifying the analog audio signal, and then a microphone array to be tested can pick up a sound signal emitted by the power amplifier.
Meanwhile, the microphone array to be tested also receives a clock signal sent by the processing unit, the audio acquisition module (or the audio acquisition unit) is used as an interface of the audio signals of the microphones to be tested, can simultaneously receive two paths of DATA signals, namely DATA1 and DATA2, and decomposes and outputs the corresponding two paths of DATA DATA into four paths of I2S audio signals, namely I2S1, I2S2, I2S3 and I2S4, through a rising edge and a falling edge of the clock signal, and then can judge the two paths of I2S audio signals in one of the microphone pairs through a judgment program in the test program sent by the processing unit, wherein one microphone pair comprises a first microphone and a second microphone, and the two audio signals respectively correspond to the first microphone and the second microphone.
For example, whether the data of I2S1 and I2S2 are completely consistent is judged through the judgment program 1, and whether the data of I2S3 and I2S4 are completely consistent is judged through the judgment program 2, wherein if the data of the two paths of I2S audio signals are completely consistent, it is indicated that the microphone pair is abnormal, otherwise, it is indicated that the microphone pair is normal, and finally, the processing unit outputs the OK or NG result.
It should be noted that the set number of the microphone pairs is the same as the set number of the judgment units, and when the microphone array to be tested includes three microphone pairs, that is, six-frequency microphones are provided, three judgment units may be provided for respectively testing the three microphone pairs.
Corresponding to the microphone testing system, the invention also provides a microphone testing method, which is used for testing the microphone array to be tested by utilizing the microphone testing system and comprises the following steps:
step one, controlling a sound card to send out a sound signal through a processing unit;
step two, collecting sound signals by the microphone array to be tested, and outputting corresponding digital signals through the microphone pairs in the microphone array to be tested;
decomposing the digital signal through an audio decoding unit, and outputting audio signals corresponding to two microphones in the microphone pair respectively;
step four: and judging whether the data of the audio signals of the two microphones are completely consistent through the judging unit, and determining the test result of the microphone array based on the judgment result of the judging unit.
The microphone testing method further comprises the following steps: and sending clock signal data to the audio decoding unit and the microphone array to be tested through the processing unit.
Specifically, in the process of determining whether the data of the audio signals of the two microphones are completely identical by the determination unit: the signal of the audio signal in one clock period of the clock signal data can be collected; the audio signal in one period is judged by the judging unit. If the data of the audio signals in one clock period are completely consistent, in order to ensure the accuracy of the test, the audio signals in two continuous clock periods can be collected and judged by the judging unit, so that the occurrence of misjudgment is prevented.
It should be noted that, the embodiments of the microphone testing method may refer to the descriptions in the embodiments of the microphone testing system, and the two may refer to each other, which is not described herein again.
According to the microphone testing system and the testing method, the audio signals corresponding to the two microphones in the microphone pair can be subjected to data judgment through the cooperation of the audio decoding unit and the judging unit, if the data of the two audio signals in the microphone pair are completely consistent, the fact that the microphones are lost in the microphone pair is represented, otherwise, the fact that the microphone pair meets the requirements is represented, and the testing system is simple in overall structure, convenient to test, high in accuracy and applicable to testing of the microphone array of the centering type.
A microphone testing system and a testing method according to the invention are described above by way of example with reference to fig. 1 and 2. However, it will be appreciated by those skilled in the art that various modifications may be made to the microphone testing system and method of the present invention without departing from the scope of the invention. Therefore, the scope of the present invention should be determined by the contents of the appended claims.
Claims (10)
1. A microphone test system is characterized by comprising an audio decoding unit, a judging unit and a processing unit; wherein,
the microphone array to be tested comprises at least one microphone pair, and each microphone pair outputs a corresponding digital signal;
the audio decoding unit is used for decoding the digital signal and outputting two audio signals corresponding to the microphone pair;
the judging unit is used for judging the two audio signals and outputting a judging result to the processing unit;
outputting, by the processing unit, a test result of the microphone array.
2. The microphone testing system of claim 1,
the processing unit is further configured to send clock signal data to the audio decoding unit and the array of microphones to be tested.
3. The microphone testing system of claim 2,
the audio signal is a signal within one acquired clock signal data period.
4. The microphone testing system of claim 1,
when the data of the two audio signals are completely consistent, the judgment result is NG; otherwise, when the data of the two audio signals are not completely consistent, the judgment result is qualified.
5. The microphone testing system of claim 1,
the one microphone pair comprises a first microphone and a second microphone;
the two audio signals correspond to the first microphone and the second microphone, respectively.
6. The microphone testing system of claim 1,
the set number of the microphone pairs is the same as the set number of the judgment units.
7. A microphone testing method for testing a microphone array to be tested by using the microphone testing system as claimed in any one of claims 1 to 6, the method comprising:
controlling a sound card to send out a sound signal through a processing unit;
the microphone array to be tested collects the sound signals and outputs corresponding digital signals through a microphone pair in the microphone array to be tested;
decomposing the digital signal through an audio decoding unit, and outputting audio signals respectively corresponding to two microphones in the microphone pair;
judging whether the data of the audio signals of the two microphones are completely consistent through a judging unit;
determining a test result of the microphone array based on a determination result of the determination unit.
8. The microphone testing method of claim 7, further comprising:
sending, by the processing unit, clock signal data to the audio decoding unit and the microphone array to be tested.
9. The microphone testing method according to claim 8, wherein the judging whether the data of the audio signals of the two microphones are completely identical by the judging unit comprises:
collecting the signal of the audio signal in one clock period of the clock signal data;
and judging the audio signal in the period by the judging unit.
10. The microphone testing method of claim 9, further comprising:
and if the data of the audio signals in one clock period are completely consistent, acquiring the audio signals in two continuous clock periods, and judging through the judging unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211045995.4A CN115334440A (en) | 2022-08-30 | 2022-08-30 | Microphone testing system and testing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211045995.4A CN115334440A (en) | 2022-08-30 | 2022-08-30 | Microphone testing system and testing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115334440A true CN115334440A (en) | 2022-11-11 |
Family
ID=83927485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211045995.4A Pending CN115334440A (en) | 2022-08-30 | 2022-08-30 | Microphone testing system and testing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115334440A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792415A (en) * | 2016-12-26 | 2017-05-31 | 歌尔科技有限公司 | A kind of method of testing and device for digital microphone array |
CN113301490A (en) * | 2021-05-26 | 2021-08-24 | 四川长虹电器股份有限公司 | Method for detecting PDM silicon microphone array |
CN113329316A (en) * | 2021-05-28 | 2021-08-31 | 四川长虹电器股份有限公司 | Array microphone missing detection circuit and method |
CN113840221A (en) * | 2021-11-26 | 2021-12-24 | 杭州兆华电子有限公司 | Microphone array verification method |
US20220124446A1 (en) * | 2020-10-21 | 2022-04-21 | Mh Acoustics, Llc | In-situ calibration of microphone arrays |
-
2022
- 2022-08-30 CN CN202211045995.4A patent/CN115334440A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792415A (en) * | 2016-12-26 | 2017-05-31 | 歌尔科技有限公司 | A kind of method of testing and device for digital microphone array |
US20220124446A1 (en) * | 2020-10-21 | 2022-04-21 | Mh Acoustics, Llc | In-situ calibration of microphone arrays |
CN113301490A (en) * | 2021-05-26 | 2021-08-24 | 四川长虹电器股份有限公司 | Method for detecting PDM silicon microphone array |
CN113329316A (en) * | 2021-05-28 | 2021-08-31 | 四川长虹电器股份有限公司 | Array microphone missing detection circuit and method |
CN113840221A (en) * | 2021-11-26 | 2021-12-24 | 杭州兆华电子有限公司 | Microphone array verification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103179495B (en) | The ear microphone of mobile terminal and the audio testing method of receiver and system | |
US9602649B2 (en) | Event disambiguation | |
CN113259832B (en) | Microphone array detection method and device, electronic equipment and storage medium | |
CN108124042B (en) | Device fault detection method and device and mobile terminal | |
CN103179240A (en) | Audio test method and system for mobile terminal | |
CN110913214A (en) | Method and device for detecting faults of array microphone at television end | |
CN115604621A (en) | Earphone testing method, device, equipment and computer readable storage medium | |
CN110996244B (en) | Microphone array performance test method, device and system | |
CA2755695C (en) | Supervisory method and apparatus for audio input path | |
CN115334440A (en) | Microphone testing system and testing method | |
US11770213B2 (en) | Failure detection apparatus and method and non-transitory computer-readable storage medium | |
CN100437506C (en) | Method for detecting audio connection function of audio receiver and computer mainframe board | |
CN106028248B (en) | Loudspeaker polarity detection method and device | |
CN115767337A (en) | Failure detection method, device, equipment and medium for digital microphone | |
CN205374622U (en) | Detection device of buzzer | |
CN113543005B (en) | Audio device detection method and system | |
CN105718178A (en) | Display method and device of pushed message | |
JP2008096305A (en) | Abnormality monitor | |
CN112333619A (en) | Method, device and system for detecting receiver performance | |
CN112929808A (en) | Method, module and system for detecting whether campus broadcasting equipment can work normally | |
TWI778428B (en) | Method, device and system for detecting memory installation state | |
CN119364275A (en) | Voice equipment hole clogging detection method, device, computer equipment and storage medium | |
CN209330402U (en) | A kind of anti-howl howl system for no paper meeting | |
CN118102201A (en) | Bluetooth headset automatic test method and system | |
CN117202073A (en) | Sound detection method, device, equipment and 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 |