Method and device for testing the tightness of microphone
By assembling sealing materials for different microphones on smart devices for testing, and using internal sound sources to verify the sealing effect, the problems of inaccurate audio signals and ineffective sealing effect verification in the existing test methods are solved, and the accuracy and reliability of microphone sealing test are achieved.
Patent Information
- Application Number
- CN201911258509.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-10
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2039-12-10
AI Technical Summary
The existing microphone sealing test methods have problems such as inaccurate audio signals and inability to effectively verify the microphone sealing effect of the smart speaker itself.
By assembling sealing materials for different microphones on smart devices for testing, the formation of cavity formed by blocking the microphone pickup holes is avoided, thereby improving the accuracy of the audio signal. At the same time, the internal sound source is used to play sound to effectively verify the microphone sealing effect of the smart device.
Accurate testing of microphone sealing is achieved, improving the reliability and accuracy of test results.
Smart Images

Figure CN112954574B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home, and in particular to a method, device and system for testing the sealing performance of a microphone. Background Art
[0002] With the development of smart homes, the functions of smart devices are becoming more and more complete. For example, smart devices that are usually dormant can be awakened by receiving voice commands. Users hope to be able to wake up smart devices in a larger range to make them work. For example, when a user returns home, he issues a voice command "Please turn on the light." Then the light can be turned on at the door of a room far away from the smart lamp, which is obviously much more convenient than walking into the middle of the house and issuing a voice command to turn on the smart lamp. For another example, when a user is dining, he issues a voice command "Please play music" to a smart speaker in the distance at the dining table, which is obviously much more convenient than walking near the smart speaker to play music with a voice command.
[0003] In this case, the wake-up distance of the microphone on the smart device is one of the key indicators affecting the performance of the smart device. And the key indicator affecting the wake-up distance of the microphone is the sealing performance of the microphone.
[0004] In the process of realizing the present invention, the inventor found that the current method of testing the sealing performance of the microphone is to first assemble the sealing material and then cover the surface of the microphone's test hole with plasticine. This method has some problems. For example, due to the formation of a cavity by covering the microphone's pickup hole, the audio signal is inaccurate and the sealing effect cannot be actually analyzed. In addition, in the case where the smart device is a smart speaker, the existing testing methods often use an external sound source to play sound, which also results in the inability to effectively verify the sealing effect of the microphone of the smart speaker itself. Summary of the invention
[0005] In view of this, the embodiment of the present invention provides a method for testing microphones, which can avoid the formation of a cavity formed by blocking the sound pickup hole of the microphone by assembling sealing materials for different microphones on the smart device, thereby effectively improving the accuracy of the obtained audio signal. And by using the internal sound source to play the sound, the sealing effect of the microphone of the smart device (such as a smart speaker) itself can be effectively verified.
[0006] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, which includes:
[0007] receiving a first sound signal from a first sound source;
[0008] obtaining a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone; and
[0009] analyzing the first sound intensity and the second sound intensity to obtain a first test value, and determining whether the first test value meets a test standard value;
[0010] Wherein, a sealing material is assembled at the first microphone, and
[0011] Wherein, no sealing material is assembled at the second microphone.
[0012] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the first sound signal is calibrated by the following operations:
[0013] receiving a second sound signal played by the first sound source; and
[0014] The first sound source is adjusted so that the first sound source plays the first sound signal, wherein the first sound signal causes the sound intensities obtained by the sound pressure meter at the first microphone and the second microphone to be initial standard intensities.
[0015] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, characterized in that:
[0016] The second sound signal is 0 dB white noise; and
[0017] The initial standard intensity is 70 dB (C).
[0018] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the first test value is a difference between the second sound intensity and the first sound intensity.
[0019] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the first sound intensity is a first average amplitude RMS, and the second sound intensity is a second average amplitude RMS.
[0020] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the step of determining whether the first test value meets the test standard value comprises:
[0021] Determine whether the first test value is greater than or equal to the test standard value.
[0022] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein assembling a sealing material at the first microphone comprises assembling a sealing material between the first microphone and a first sound pickup hole corresponding to the first microphone.
[0023] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, characterized in that it also includes:
[0024] receiving the first sound signal from the first sound source;
[0025] obtaining a third sound intensity of the first sound signal received by the first microphone and a fourth sound intensity of the first sound signal received by the second microphone; and
[0026] analyzing the third sound intensity and the fourth sound intensity to obtain a second test value, and determining whether the second test value meets a test standard value;
[0027] wherein no sealing material is assembled at the first microphone, and
[0028] Wherein, a sealing material is assembled at the second microphone.
[0029] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the second test value is a difference between the third sound intensity and the fourth sound intensity.
[0030] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the third sound intensity is a third average amplitude RMS, and the fourth sound intensity is a fourth average amplitude RMS.
[0031] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein determining whether the second test value meets the test standard value comprises:
[0032] Determine whether the second test value is greater than or equal to the test standard value.
[0033] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, characterized in that it also includes:
[0034] The first test value and the second test value are compared to verify a test result.
[0035] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein assembling the sealing material at the second microphone comprises assembling the sealing material between the second microphone and a second sound pickup hole corresponding to the second microphone.
[0036] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the test standard value is 20 dB.
[0037] According to one aspect of an embodiment of the present invention, a method for testing the sealing performance of a microphone is provided, wherein the sealing material is at least one of EVA or Rubber.
[0038] According to one aspect of an embodiment of the present invention, a device for testing the sealing performance of a microphone is provided, characterized in that it includes:
[0039] A sound receiving module, configured to receive a first sound signal from a first sound source; and
[0040] an analysis module, configured to obtain a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone; and to analyze the first sound intensity and the second sound intensity to obtain a first test value, and to determine whether the first test value meets a test standard value;
[0041] Wherein, a sealing material is assembled at the first microphone, and
[0042] Wherein, no sealing material is assembled at the second microphone.
[0043] According to one aspect of an embodiment of the present invention, a device for testing the sealing performance of a microphone is provided, wherein the first sound source is located inside or outside the device.
[0044] According to one aspect of an embodiment of the present invention, a device for testing the sealing performance of a microphone is provided, characterized in that it also includes:
[0045] The recording module is used to perform recording of a predetermined duration at the first microphone and the second microphone.
[0046] One embodiment of the above invention has the following advantages or beneficial effects: because the technical means of assembling sealing materials for different microphones of smart devices for testing is adopted, the technical problem of blocking the entire microphone to produce a cavity and cause inaccurate analysis is overcome, thereby achieving the technical effect of accurately testing the sealing of the microphone.
[0047] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0049] Figure 1 is a schematic diagram of the main process of a microphone sealing test method according to an embodiment of the present invention;
[0050] Figure 2is a schematic diagram of another main process of the microphone sealing test method according to an embodiment of the present invention;
[0051] Figure 3 is a schematic diagram of another main process of the microphone sealing test method according to an embodiment of the present invention;
[0052] Figure 4-5 is a schematic diagram of an assembled microphone sealing material according to an embodiment of the present invention;
[0053] Figure 6 is a schematic diagram of a microphone sealing test device according to an embodiment of the present invention;
[0054] Figure 7 It is a schematic diagram of the structure of a computer system suitable for implementing the device of the embodiment of the present invention. DETAILED DESCRIPTION
[0055] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0056] Figure 1 is a schematic diagram of the main process of the method for testing the sealing performance of a microphone according to an embodiment of the present invention. Figure 1 As shown, the main process of the microphone sealing test method includes steps S101 and S102.
[0057] Step S101: receiving a second sound signal played by the first sound source.
[0058] Before starting the test, the sound signal received by the microphone to be tested can be calibrated to ensure the test conditions. The calibration process includes first playing 0dB white noise using a sound source.
[0059] When the microphone to be tested is a microphone on a smart speaker, it is preferred to use the smart speaker itself to play the sound source so that the test environment is closer to actual use.
[0060] Step S102: adjusting the first sound source so that the first sound source plays the first sound signal, wherein the first sound signal causes the sound intensities obtained by the sound pressure meter at the first microphone and the second microphone to be initial standard intensities.
[0061] In this step, a sound pressure meter is placed at the pickup hole of the microphone to be tested. The sound source is adjusted so that the pickup hole of the microphone to be tested can receive an audio signal of a certain sound intensity. In the embodiment of the present invention, for example, 70 dB (C) is used.
[0062] After the calibration in step S101 and step S102 , the microphone to be tested is placed under the required test conditions and is able to receive the first sound signal that meets the test conditions.
[0063] Figure 2 FIG. 4 is a schematic diagram of another main process of the method for testing the sealing performance of a microphone according to an embodiment of the present invention. Figure 2 As shown, the main process of the microphone sealing test method includes steps S201, S202 and S203.
[0064] Step S201: receiving a first sound signal from a first sound source.
[0065] In this step, a calibrated first sound signal is received from an external or internal first sound source. Figure 1 .
[0066] Step S202: obtaining a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone.
[0067] A sealing material is assembled between the first microphone and a first sound pickup hole corresponding to the first microphone, and no sealing material is assembled between the second microphone and a second sound pickup hole corresponding to the second microphone.
[0068] Assembling the sealing material means assembling the sealing material between the microphone and the sound pickup hole. For example, the microphone at position A on the smart device can be assembled with the sealing material, and the microphone at position B remains unassembled with the sealing material. Position A and position B can be any position of the microphone on the smart device, such as the left and right sides, the top and bottom sides, etc. This embodiment is described by taking the microphones on the left and right sides as an example, but the embodiments of the present invention are not limited to this implementation. The sealing material can be any material that can achieve the sealing of the microphone, such as EVA or Rubber.
[0069] To simplify the description, a smart device is described as having N first microphones on the left and M second microphones on the right (left and right are only examples of relative positions and do not constitute a limitation on the embodiments of the present invention). Here, N is a natural number greater than or equal to 1, and M is a natural number greater than or equal to 1.
[0070] N=1, M=1, indicating that a sealing material is assembled between the left microphone and its sound pickup hole, and no sealing material is assembled between the right microphone and its sound pickup hole. The two microphones on the left and right sides receive the first sound signal at the same time. N=2, M=2, indicating that a sealing material is assembled between the two microphones on the left and their sound pickup holes, and no sealing material is assembled between the two microphones on the right and their sound pickup holes, and the four microphones on the left and right sides receive the first sound signal at the same time. When the sum of N and M is an odd number, for example, N=1, M=2, it means that a sealing material is assembled between one microphone on the left and its sound pickup hole, and no sealing material is assembled between the two microphones on the right and their sound pickup holes.
[0071] With the sealing material assembled as required, recordings of a predetermined duration are performed at the N first microphones and the M second microphones, respectively. In the present embodiment, the predetermined duration is, for example, 15 seconds, and other predetermined durations may also be used as required. The recordings are then analyzed using recording software to extract the first sound intensities at the N first microphones and the second sound intensities at the M second microphones for subsequent analysis. In one embodiment, the sound intensity may be represented by an average amplitude RMS indicator of the sound, the first sound intensity being represented by the first average amplitude RMS, and the second sound intensity being represented by the second average amplitude RMS. Other sound intensity indicators may also be used to represent the sound intensity.
[0072] Step S203: analyzing the first sound intensity and the second sound intensity to obtain a first test value, and determining whether the first test value meets a test standard value.
[0073] In this step, a first test value is obtained based on the first sound intensity and the second sound intensity obtained in step S202. In an embodiment where the sound intensity is represented by an average amplitude RMS, the second average amplitude RMS is subtracted from the first average amplitude RMS to obtain the difference in RMS between the second microphone without the sealing material assembled and the first microphone with the sealing material assembled as the first test value. If the difference is greater than or equal to the test standard value, it means that the difference meets the test standard value. In one embodiment, the test standard value may preferably be 20 dB. In other embodiments, the test standard value may also be 30 dB, 10 dB, 5 dB, or any other value that can achieve actual needs. That is, the first test value satisfies the following constraints:
[0074] Unassembled RMS - assembled RMS ≥ 20dB (1)
[0075] It should be noted that the values of N and M are only examples, and the number of microphones assembled and / or not assembled with sealing materials in the embodiment of the present invention can be any suitable number according to actual needs. In addition, the left side and the right side mentioned here are also only examples, and the position of the microphone in the embodiment of the present invention can be any suitable position on the smart device in actual use.
[0076] In one implementation, after step S205, the blocked sound pickup holes may be exchanged, the test value may be calculated again, and the test values calculated twice may be compared to verify the result. Figure 3 .
[0077] Figure 3 FIG. 4 is a schematic diagram of another main process of the method for testing the sealing performance of a microphone according to an embodiment of the present invention. Figure 3 As shown, the main process of the microphone sealing test method includes steps S301, S302, S303, S304 and S305.
[0078] Step S301: removing the sealing material at the first microphone, and assembling the sealing material at the second microphone.
[0079] In this step, the assembly sealing material is exchanged between the N first microphones and the M second microphones. Taking the example of N=1, M=1 in the previous text as an example, Figure 2 In the process of , the sealing material is assembled on the first microphone on the left side, then in this step, the sealing material on the first microphone on the left side is removed and the sealing material is assembled on the second microphone on the right side. In the example of N=2, M=2, Figure 2 In the process, the two first microphones on the left are assembled with the sealing material, then in this step, the two second microphones on the right are assembled with the sealing material instead.
[0080] Step S302: receiving the first sound signal played by the first sound source.
[0081] It should be noted that, in order to facilitate comparison, the first sound signal received in this step is Figure 2 The first sound signals received in the process are the same. That is, they all come from the same internal or external sound source and are Figure 1 The sound signal after the process calibration.
[0082] Step S303: obtaining a third sound intensity of the first sound signal received by the first microphone and a fourth sound intensity of the first sound signal received by the second microphone.
[0083] With the sealing material assembled as required, recordings of a predetermined duration are made at the N first microphones and the M second microphones, respectively. In the present embodiment, the predetermined duration is, for example, 15 seconds, and other predetermined durations may also be used as required. The recordings are then analyzed using recording software to extract the third sound intensity at the N first microphones and the fourth sound intensity at the M second microphones for subsequent analysis. In one embodiment, the sound intensity may be represented by an average amplitude RMS indicator of the sound, the third sound intensity is represented by a third average amplitude RMS, and the fourth sound intensity is represented by a fourth average amplitude RMS. Other sound intensity indicators may also be used to represent the sound intensity.
[0084] Step S304: Analyze the third sound intensity and the fourth sound intensity to obtain a second test value, and determine whether the second test value meets a test standard value.
[0085] In this step, a second test value is obtained based on the third sound intensity and the fourth sound intensity obtained in step S303. In an embodiment where the sound intensity is represented by an average amplitude RMS, the third average amplitude RMS is subtracted from the fourth average amplitude RMS to obtain the difference in RMS between the first microphone without the sealing material assembled and the second microphone with the sealing material assembled as the second test value. If the difference is greater than or equal to the test standard value, it means that the difference meets the test standard value. In one embodiment, the test standard value may preferably be 20 dB. In other embodiments, the test standard value may also be 30 dB, 10 dB, 5 dB, or any other value that can achieve actual needs. That is, the second test value also satisfies the constraints of formula (1):
[0086] Unassembled RMS - assembled RMS ≥ 20dB (1).
[0087] Preferably, the method may further include step S305: comparing the first test value and the second test value to verify the test result.
[0088] In this step, the first test value is compared with the second test value to verify the test result. Since the test conditions of the two tests have not changed, the first sound source and the first sound signal are the same, and the two tests are just swapping the assembled microphones. If there is a very significant difference between the two test results, it proves that there is a problem in the test process and the test needs to be repeated.
[0089] It should be noted that the values of N and M are only examples, and the number of microphones assembled and / or not assembled with sealing materials in the embodiment of the present invention can be any suitable number according to actual needs. In addition, the left side and the right side mentioned here are also only examples, and the position of the microphone in the embodiment of the present invention can be any suitable position on the smart device in actual use.
[0090] Figure 4-Figure 5 The diagram shows a schematic diagram of a smart device having one microphone on the left and two microphones on the right.
[0091] like Figure 4 As shown in FIG. 1 , the smart device has a microphone on each side. L1 represents the microphone on the left side. Figure 2 In the process, microphone L1 is assembled with sealing material; R1 represents the microphone on the right. Figure 2 In the process, microphone R1 is not assembled with sealing material. Figure 3 In the process of , microphone L1 is not assembled with sealing material, while microphone R1 is assembled with sealing material. In this embodiment, the first test value and the second test value satisfy formula (2):
[0092] First test value = R1 RMS - L1 RMS;
[0093] Second test value = L1 RMS - R1 RMS;
[0094] like Figure 5 As shown in FIG. 1 , the smart device has two microphones on the left and right sides. L1 and L2 represent the two microphones on the left side. Figure 2 The sealing material is assembled in the process; R1 and R2 represent the two microphones on the right. Figure 2 The sealing material is not assembled in the process. Figure 3 In the process, microphones L1 and L2 are not assembled with sealing material, while microphones R1 and R2 are assembled with sealing material.
[0095] In this embodiment, the sound intensity at each microphone is acquired respectively, and a test value is calculated for each assembled and / or unassembled microphone.
[0096] For example, compared with microphones L1 and R1, the first test value (L1, R1) satisfies formula (3):
[0097] First test value (L1, R1) = R1 RMS - L1 RMS;
[0098] Compared with microphones L2 and R1, the first test value (L2, R1) satisfies formula (4):
[0099] First test value (L2, R1) = R1 RMS - L2 RMS;
[0100] Compared with microphones L1 and R2, the first test value (L2, R1) satisfies formula (5):
[0101] First test value (L1, R2) = R2 RMS - L1 RMS;
[0102] Compared with microphones L2 and R2, the first test value (L2, R2) satisfies formula (6):
[0103] The first test value (L2, R2) = R2 RMS - L2 RMS.
[0104] The calculation method of the second test value is similar to the calculation method of the first test value, and will not be repeated here.
[0105] It should be understood that when there are any number of microphones on the smart device, the sound intensity at each microphone is obtained separately, and the test value is calculated by comparing each assembled and / or unassembled microphone in pairs. For example, when N=1, M=2, that is, a first microphone L1 is assembled with a sealing material, and two second microphones R1 and R2 are not assembled with a sealing material, the sound intensity of the two unassembled second microphones R1 and R2 is compared with the first microphone L1 respectively:
[0106] First test value (L1, R1) = R1 RMS - L1 RMS;
[0107] The first test value (L1, R2) = R2 RMS - L1 RMS.
[0108] It should be noted that the above numbers, positions such as left and right sides, identification methods of microphones, etc. are only examples, and the embodiments of the present invention can also be implemented in any other manner according to actual needs.
[0109] Figure 6 is a schematic diagram of main modules of a microphone sealing test device according to an embodiment of the present invention. Figure 6 As shown, main modules of the microphone sealing test device 600 include modules 601 , 602 , 603 and 604 .
[0110] Module 601: a sound receiving module, receiving a second sound signal played by the first sound source and receiving a first sound signal from a first sound source.
[0111] Module 602: A recording module, used to perform recording for a predetermined time at the N first microphones and the M second microphones respectively, with the sealing material assembled as required. The predetermined time is, for example, 15 seconds.
[0112] Module 603: Analysis module, used to extract the first sound intensity, the second sound intensity, the third sound intensity and the fourth sound intensity from the recording; compare the first test value and / or the second test value with the test standard value to determine whether the first test value and / or the second test value meets the test standard value; and compare the second test value with the first test value to verify the test result. The sound intensity can be represented by the average amplitude RMS.
[0113] Module 604: a playback module, including a first sound source. The playback module may be located inside or outside the microphone sealing test device. In an embodiment where the microphone sealing test device is located inside the smart device to be tested or is implemented using the smart device to be tested, the playback module is located inside or outside the smart device. When the playback module is located inside the smart device, it is an internal sound source for the microphone on the device to be tested. When the playback module is located outside the smart device, it is an external sound source for the microphone on the device to be tested.
[0114] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0115] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0116] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0117] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.
[0118] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0119] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0120] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor includes a sound receiving module, a recording module, an analysis module, and a playback module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, a sound receiving unit may also be described as a "module for receiving a first sound signal from a first sound source."
[0121] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:
[0122] receiving a first sound signal from a first sound source;
[0123] obtaining a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone; and
[0124] analyzing the first sound intensity and the second sound intensity to obtain a first test value, and determining whether the first test value meets a test standard value;
[0125] Wherein, a sealing material is assembled at the first microphone, and
[0126] Wherein, no sealing material is assembled at the second microphone.
[0127] The first sound signal is calibrated by the following operations:
[0128] receiving a second sound signal played by the first sound source; and
[0129] The first sound source is adjusted so that the first sound source plays the first sound signal, wherein the first sound signal causes the sound intensities obtained by the sound pressure meter at the first microphone and the second microphone to be initial standard intensities.
[0130] The determining whether the first test value meets the test standard value includes:
[0131] Determine whether the first test value is greater than or equal to the test standard value.
[0132] receiving the first sound signal from the first sound source;
[0133] obtaining a third sound intensity of the first sound signal received by the first microphone and a fourth sound intensity of the first sound signal received by the second microphone; and
[0134] analyzing the third sound intensity and the fourth sound intensity to obtain a second test value, and determining whether the second test value meets a test standard value;
[0135] wherein no sealing material is assembled at the first microphone, and
[0136] Wherein, a sealing material is assembled at the second microphone.
[0137] Determining whether the second test value meets the test standard value includes:
[0138] Determine whether the second test value is greater than or equal to the test standard value.
[0139] According to the technical solution of the embodiment of the present invention, it is possible to avoid the formation of a cavity formed by blocking the sound pickup hole of the microphone by assembling sealing materials for different microphones on the smart device for testing, thereby effectively improving the accuracy of the obtained audio signal. And by using the internal sound source to play the sound, the sealing effect of the microphone of the smart device (such as a smart speaker) itself can be effectively verified.
[0140] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for testing the sealing performance of a microphone, characterized in that: include: receiving a first sound signal from a first sound source; Obtaining a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone; as well as analyzing the first sound intensity and the second sound intensity to obtain a first test value, and determining whether the first test value meets a test standard value; Wherein, a sealing material is assembled at the first microphone, and Wherein, no sealing material is assembled at the second microphone.
2. The method according to claim 1, characterized in that The first sound signal is calibrated by the following operations: receiving a second sound signal played by the first sound source; and The first sound source is adjusted so that the first sound source plays the first sound signal, wherein the first sound signal causes the sound intensities obtained by the sound pressure meter at the first microphone and the second microphone to be initial standard intensities.
3. The method according to claim 2, characterized in that: The second sound signal is 0 dB white noise; and The initial standard intensity is 70 dB (C).
4. The method according to claim 1, characterized in that: The first test value is a difference between the second sound intensity and the first sound intensity.
5. The method according to claim 4, characterized in that The first sound intensity is a first average amplitude RMS, and the second sound intensity is a second average amplitude RMS.
6. The method according to claim 1, characterized in that The determining whether the first test value meets the test standard value includes: Determine whether the first test value is greater than or equal to the test standard value.
7. The method according to claim 1, characterized in that Assembling the sealing material at the first microphone includes assembling the sealing material between the first microphone and a first sound pickup hole corresponding to the first microphone.
8. The method according to claim 1, characterized in that Also includes: receiving the first sound signal from the first sound source; obtaining a third sound intensity of the first sound signal received by the first microphone and a fourth sound intensity of the first sound signal received by the second microphone; as well as analyzing the third sound intensity and the fourth sound intensity to obtain a second test value, and determining whether the second test value meets a test standard value; wherein no sealing material is assembled at the first microphone, and Wherein, a sealing material is assembled at the second microphone.
9. The method according to claim 8, characterized in that The second test value is a difference between the third sound intensity and the fourth sound intensity.
10. The method according to claim 9, characterized in that The third sound intensity is a third average amplitude RMS, and the fourth sound intensity is a fourth average amplitude RMS.
11. The method according to claim 8, characterized in that The determining whether the second test value meets the test standard value includes: Determine whether the second test value is greater than or equal to the test standard value.
12. The method according to claim 8, characterized in that Also includes: The first test value and the second test value are compared to verify a test result.
13. The method according to claim 8, characterized in that Assembling the sealing material at the second microphone includes assembling the sealing material between the second microphone and a second sound pickup hole corresponding to the second microphone.
14. The method according to claim 1, characterized in that The test standard value is 20dB.
15. The method according to claim 1, characterized in that The sealing material is at least one of EVA and Rubber.
16. A device for testing the sealing performance of a microphone, characterized in that: include: A sound receiving module, used for receiving a first sound signal from a first sound source; as well as An analysis module, configured to obtain a first sound intensity of the first sound signal received by the first microphone and a second sound intensity of the first sound signal received by the second microphone; and analyzing the first sound intensity and the second sound intensity to obtain a first test value, and determining whether the first test value meets a test standard value; The first microphone is assembled with a sealing material, while the second microphone is not assembled with a sealing material.
17. The device according to claim 16, characterized in that The first sound source is located inside or outside the device.
18. The device according to claim 16, characterized in that Also includes: The recording module is used to record the audio for a predetermined time at the first microphone and the second microphone.
19. An electronic device for testing the sealing performance of a microphone, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 15.
20. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
Citation Information
Patent Citations
Tablet PC loudspeaker and microphone automatic calibrating device and method thereof
CN104883654A
Hardware debugging method for analog microphone
CN110113701A