CN111800723A - Active noise reduction earphone testing method and device, terminal equipment and storage medium - Google Patents

Active noise reduction earphone testing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111800723A
CN111800723A CN201910533671.7A CN201910533671A CN111800723A CN 111800723 A CN111800723 A CN 111800723A CN 201910533671 A CN201910533671 A CN 201910533671A CN 111800723 A CN111800723 A CN 111800723A
Authority
CN
China
Prior art keywords
noise reduction
frequency response
response curve
curve
earphone
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.)
Granted
Application number
CN201910533671.7A
Other languages
Chinese (zh)
Other versions
CN111800723B (en
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.)
Shenzhen Horn Audio Co Ltd
Original Assignee
Shenzhen Horn Audio 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 Shenzhen Horn Audio Co Ltd filed Critical Shenzhen Horn Audio Co Ltd
Priority to CN201910533671.7A priority Critical patent/CN111800723B/en
Publication of CN111800723A publication Critical patent/CN111800723A/en
Application granted granted Critical
Publication of CN111800723B publication Critical patent/CN111800723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Abstract

The embodiment of the application is suitable for the technical field of earphones, and discloses an active noise reduction earphone testing method, an active noise reduction earphone testing device, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone; calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve, and writing the gain into the earphone to be tested; respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed; and obtaining an active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve. The method and the device for testing the active noise reduction earphone can simplify the steps of testing the active noise reduction earphone, reduce testing time and improve testing efficiency.

Description

Active noise reduction earphone testing method and device, terminal equipment and storage medium
Technical Field
The present application belongs to the field of earphone technologies, and in particular, to a method and an apparatus for testing an active noise reduction earphone, a terminal device, and a computer-readable storage medium.
Background
Noise reduction techniques for active noise reduction headphones generally include both feedforward and feedback noise reduction. The feed-forward noise reduction means that a microphone facing outwards is arranged on the earphone and used for receiving environmental noise, and then the environmental noise is inverted for 180 degrees and is superposed on a loudspeaker to eliminate the environmental noise so as to achieve the effect of noise reduction; feedback noise reduction, which may also be referred to as feedback noise reduction, generally places a feedback microphone inside the headset, collects ambient noise and cancels the noise by superposition in a feedback manner.
At present, the testing of the active noise reduction earphone generally needs a system based on audio analysis software, a sound muffling box, an artificial ear, a sound box, a signal amplifier and the like, and the testing process generally comprises the following steps: the method comprises the steps of placing a loudspeaker end of a product to be tested on an artificial ear, controlling a sound box to play noise, simultaneously, acquiring signals by the artificial ear to analyze a frequency response curve and an active noise reduction effect curve in real time, adjusting the gain of a noise reduction microphone in real time, acquiring data in real time and analyzing the curve in real time after multiple adjustment cycles, adjusting the gain of the noise reduction microphone in real time, namely testing the active noise reduction curve, adjusting the gain value of the noise reduction microphone and testing the obtained active noise reduction effect curve. The existing test mode needs to be adjusted and tested repeatedly, a large amount of test time needs to be consumed, and test efficiency is reduced.
Disclosure of Invention
In view of this, embodiments of the present application provide an active noise reduction earphone testing method, an active noise reduction earphone testing device, a terminal device, and a computer-readable storage medium, so as to solve the problem that the testing efficiency of the existing testing method is low.
A first aspect of an embodiment of the present application provides an active noise reduction earphone testing method, including:
respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone;
calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve, and writing the gain into the to-be-tested earphone;
respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed;
and obtaining an active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve.
With reference to the first aspect, in a possible implementation manner, the frequency response curve of the noise reduction microphone includes a third frequency response curve of the feedforward microphone and/or a fourth frequency response curve of the feedback microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of a noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of a feedforward microphone and/or a sixth frequency response curve of a feedback microphone;
the calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve comprises:
according to the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve, passing
Figure BDA0002100519370000021
Calculating a gain of the feedforward microphone; and/or
According to the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve, passing through
Figure BDA0002100519370000022
Calculating a gain of the feedback microphone;
wherein, P1Is the first passive noise reduction curve, G1Is the second passive noise reduction curve, F1Is the third frequency response curve, B1Is said fourth frequency response curve, GF1Is the fifth frequency response curve, GB1Is the sixth frequency response curve.
With reference to the first aspect, in a possible implementation manner, before the separately testing the first passive noise reduction curve of the headset to be tested and the frequency response curve of the noise reduction microphone, the method further includes:
testing a second passive noise reduction curve of the earphone to be tested;
and testing the fifth frequency response curve and/or the sixth frequency response curve.
With reference to the first aspect, in a possible implementation manner, the obtaining an active noise reduction test result of the to-be-tested headset according to the first frequency response curve and the second frequency response curve includes:
subtracting the first frequency response curve from the second frequency response curve to obtain a difference frequency response curve;
and obtaining an active noise reduction test result of the earphone to be tested according to the difference frequency response curve.
With reference to the first aspect, in a possible implementation manner, after obtaining the active noise reduction test result according to the difference frequency response curve, the method further includes:
judging whether the active noise reduction test result meets a preset result or not;
when the active noise reduction test result does not accord with the preset result, the test fails;
and when the active noise reduction test result accords with the preset result, the test is passed.
A second aspect of the embodiments of the present application provides an active noise reduction earphone testing apparatus, including:
the first testing module is used for respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone;
the gain calculation module is used for calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve and writing the gain into the to-be-tested earphone;
the second testing module is used for respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed;
and the calculation module is used for obtaining an active noise reduction test result of the to-be-tested earphone according to the first frequency response curve and the second frequency response curve.
With reference to the second aspect, in a possible implementation manner, the frequency response curve of the noise reduction microphone includes a third frequency response curve of the feedforward microphone and/or a fourth frequency response curve of the feedback microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of a noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of a feedforward microphone and/or a sixth frequency response curve of a feedback microphone;
the gain calculation module includes:
a first calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve
Figure BDA0002100519370000041
Calculating a gain of the feedforward microphone; and/or
A second calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve
Figure BDA0002100519370000042
Calculating a gain of the feedback microphone;
wherein, P1Is the first passive noise reduction curve, G1Is the second passive noise reduction curve, F1Is the third frequency response curve, B1Is said fourth frequency response curve, GF1Is the fifth frequency response curve, GB1Is the sixth frequency response curve.
With reference to the second aspect, in a possible implementation manner, the method further includes:
the third testing module is used for testing a second passive noise reduction curve of the earphone to be tested;
and the fourth testing module is used for testing the fifth frequency response curve and/or the sixth frequency response curve.
With reference to the second aspect, in one possible implementation manner, the calculation module includes:
the subtracting unit is used for subtracting the first frequency response curve and the second frequency response curve to obtain a difference frequency response curve;
and the test unit is used for obtaining an active noise reduction test result of the earphone to be tested according to the difference frequency response curve.
With reference to the second aspect, in a possible implementation manner, the method further includes:
the judging module is used for judging whether the active noise reduction test result meets a preset result or not; when the active noise reduction test result does not accord with the preset result, the test fails; and when the active noise reduction test result accords with the preset result, the test is passed.
A third aspect of embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of the above first aspects when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: by testing the primary frequency response curve of the noise reduction microphone and automatically calculating the gain value and the noise reduction performance, the testing steps are simplified, and the testing efficiency is obviously improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic block diagram of an architecture of an active noise reduction headphone testing system according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a flow of an active noise reduction earphone testing method according to an embodiment of the present application;
FIG. 3 is a block diagram illustrating a flow of a reference curve testing process provided in an embodiment of the present application;
FIG. 4 is a schematic block diagram of a process for calculating test results according to an embodiment of the present disclosure;
fig. 5 is a schematic block diagram of a structure of an active noise reduction earphone testing apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Before specifically describing the technical solution of the embodiment of the present application, a description is first given of a system architecture that may be involved in the embodiment of the present application.
Referring to fig. 1, a schematic block diagram of an architecture of an active noise reduction earphone testing system provided in the embodiment of the present application may include a noise source 11, an artificial ear 12, an active noise reduction earphone 13, and a computer 14. The noise source and the artificial ear are both connected with a computer, and the active noise reduction earphone is fixed on the artificial ear. The noise source can be a sound box in particular, and audio analysis software is loaded in a computer and used for analyzing the acquired signals; a corresponding data acquisition card and the like are arranged between the artificial ear and the computer.
The workflow of the system may be as follows: placing a left loudspeaker and a right loudspeaker of the active noise reduction earphone into left and right artificial simulation ears, starting corresponding signal channels of the active noise reduction earphone, controlling a noise source to emit noise with corresponding frequency and intensity by a computer according to preset noise information, and collecting noise signals by a noise reduction microphone of the active noise reduction earphone; collecting sound signals through artificial ears, and transmitting the sound signals to a computer; the computer carries out corresponding analysis operation on the sound information through the audio analysis software. In the embodiment of the application, the gain value of the noise reduction microphone can be calculated according to the collected sound signal, and the active noise reduction performance curve of the earphone can be tested according to the gain value.
The artificial ear is an acoustic testing device that simulates the acoustic characteristics of the outer ear of a human ear, and the actual shape thereof may be arbitrary. The artificial ear comprises a left artificial ear and a right artificial ear, which correspond to a left loudspeaker and a right loudspeaker of the active noise reduction earphone.
In this embodiment of the present application, the active noise reduction earphone may be a feedforward active noise reduction earphone, and the earphone includes only a feedforward Microphone (FF MIC); or an active noise reduction earphone with a feedback microphone (FB MIC), which includes a feedforward microphone and a feedback microphone. Accordingly, the types of active noise reduction headsets are different, and the specific communication and work flow of the system are correspondingly different. In addition, the active noise reduction earphone can be an in-ear earphone or a headset.
After the system architecture related to the embodiments of the present application is described, the technical solutions provided by the embodiments of the present application will be specifically described below. In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 2, a schematic flow chart of a method for testing an active noise reduction earphone provided in an embodiment of the present application may include the following steps:
step S201, a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone are respectively tested.
It should be noted that the first passive noise reduction curve refers to a Preferred noise standard curve (PNC), and the testing process thereof is well known to those skilled in the art and will not be described herein.
The noise reduction microphone is a microphone for noise reduction in the headset to be tested, when the headset to be tested is a feedforward noise reduction headset, the noise reduction microphone is a feedforward microphone, and a frequency response curve of the noise reduction microphone is a frequency response curve of the feedforward microphone; when the earphone to be tested is an active noise reduction earphone with a feedback microphone, the noise reduction microphone refers to a feedforward microphone and the feedback microphone, and the frequency response curve of the noise reduction microphone comprises a frequency response curve of the feedforward microphone and a frequency response curve of the feedback microphone; of course, the active noise reduction earphone including only the feedback microphone may also be tested in the embodiment of the present application, at this time, the noise reduction microphone refers to the feedback microphone, and the frequency response curve of the noise reduction microphone refers to the frequency response curve of the feedback microphone. The frequency response curve refers to a frequency response curve, the horizontal axis of the frequency response curve is Hz, and the vertical axis of the frequency response curve is dB.
Specifically, a first passive noise reduction curve of the earphone to be tested is tested, the earphone to be tested is controlled to open a signal path of the noise reduction microphone, and a response frequency response curve is tested.
The frequency response curve test process of the feedforward microphone can be specifically as follows: controlling the headset to be tested to start a test path of a feedforward microphone: feedforward microphone → horn of the headset to be tested; the control noise source sends corresponding noise, and after the feedforward microphone gathered corresponding noise signal, output to earphone loudspeaker, the sound that earphone loudspeaker sent is gathered to artifical artificial ear, generates the frequency response curve, and at this in-process, the flow direction of signal is: noise source → feedforward microphone → earphone speaker → artificial ear → signal collection sound card.
The frequency response curve test process of the feedback microphone can be specifically as follows: controlling the earphone to be tested to start a test path of the feedback microphone: the loudspeaker → the feedback microphone of the earphone to be tested; the feedback microphone collects the sound emitted by the loudspeaker of the earphone to be tested, and then transmits the sound to the artificial ear to generate a frequency response curve, and in the process, the flow direction of the signal is as follows: the loudspeaker of the earphone to be tested → the feedback microphone → the signal acquisition sound card.
It will be appreciated that the order of testing the feed-forward and feed-back microphones may be arbitrary when it is desired to test the frequency response curves of the feed-forward and feed-back microphones. Of course, the order of testing the passive noise reduction curve and the noise reduction microphone frequency response curve may be arbitrary.
Step S202, calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and the pre-tested reference curve, and writing the gain into the earphone to be tested.
It should be noted that the pre-test reference curve refers to reference data obtained by testing the to-be-tested earphone in the same testing station in advance, and may also be referred to as golden sample data. Which may include a passive noise reduction curve and a frequency response curve of a noise reduction microphone, the frequency response curve of the noise reduction microphone may include at least one of a frequency response curve of a feed-forward microphone and a frequency response curve of a feed-back microphone.
In some embodiments, the frequency response curve of the noise reduction microphone comprises a third frequency response curve of the feedforward microphone and/or a fourth frequency response curve of the feedback microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of the noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of the feedforward microphone and/or a sixth frequency response curve of the feedback microphone.
The specific process of calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone, and the pre-tested reference curve may include:
according to the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve
Figure BDA0002100519370000081
Calculating the gain of the feedforward microphone; and/or
According to the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve, passing
Figure BDA0002100519370000082
The gain of the feedback microphone is calculated.
Wherein, P1For the first passive noise reduction curveLine, G1Is a second passive noise reduction curve, F1Is a third frequency response curve, B1Is a fourth frequency response curve, GF1Is the fifth frequency response curve, GB1A sixth frequency response curve.
It is understood that the noise reduction microphone may include a feedforward microphone and a feedback microphone, or only one of the feedforward microphone and the feedback microphone, and accordingly, the gain calculation process includes three cases: only one of the gains of the feedforward microphone and the feedback microphone needs to be calculated, and the gains of the feedforward microphone and the feedback microphone need to be calculated. Wherein, the gain calculation process is carried out in a complex form.
In some embodiments, referring to the flow schematic block of the reference curve testing process shown in fig. 3, before the above-mentioned testing the first passive noise reduction curve and the frequency response curve of the noise reduction microphone of the headset to be tested respectively, the method may further include:
and S301, testing a second passive noise reduction curve of the earphone to be tested.
And the second passive noise reduction curve refers to a PNC curve of the earphone to be tested.
And step S302, testing the fifth frequency response curve and/or the sixth frequency response curve.
It will be appreciated that if the headset to be tested includes only one of a feed-forward microphone and a feed-back microphone, only the fifth frequency response curve or the sixth frequency response curve need be tested, and if the headset to be tested includes both a feed-forward microphone and a feed-back microphone, then the fifth frequency response curve and the sixth frequency response curve need be tested.
The frequency response curve test process of the feedforward microphone can be specifically as follows: controlling the headset to be tested to start a test path of a feedforward microphone: feedforward microphone → horn of the headset to be tested; the control noise source sends corresponding noise, and after the feedforward microphone gathered corresponding noise signal, output to earphone loudspeaker, the sound that earphone loudspeaker sent is gathered to artifical artificial ear, generates the frequency response curve, and at this in-process, the flow direction of signal is: noise source → feedforward microphone → earphone speaker → artificial ear.
The frequency response curve test process of the feedback microphone can be specifically as follows: controlling the earphone to be tested to start a test path of the feedback microphone: the loudspeaker → the feedback microphone of the earphone to be tested; the feedback microphone collects the sound emitted by the loudspeaker of the earphone to be tested, and then transmits the sound to the artificial ear to generate a frequency response curve, and in the process, the flow direction of the signal is as follows: the loudspeaker of the earphone to be tested → the feedback microphone → the artificial ear.
It should be noted that the test station for reference to the curve or the sample data and the test station in the test process are the same test station.
And after the gain of the noise reduction microphone is calculated, writing the gain into the earphone to be tested, and testing the frequency response curve of the earphone to be tested when the active noise reduction function is switched on and switched off based on the gain.
Step S203, respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed.
And S204, obtaining an active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve.
Specifically, the active noise reduction function of the earphone to be tested is closed, and a second frequency response curve of the earphone to be tested under the condition is measured; and opening the active noise reduction function of the earphone to be tested, and testing the first frequency response curve of the earphone to be tested under the condition. And subtracting the second frequency response curve from the first frequency response curve to obtain a difference frequency response curve, wherein the difference frequency response curve is an active noise reduction performance curve of the earphone to be tested. And judging whether the to-be-tested earphone meets the test requirement or not according to the difference frequency response curve, if so, passing the test, otherwise, if not, failing the test, analyzing the fault of the to-be-tested earphone, executing repair operation and the like.
In some embodiments, referring to the schematic flow chart of the test result calculating process shown in fig. 4, the specific process of obtaining the active noise reduction test result of the to-be-tested earphone according to the first frequency response curve and the second frequency response curve may include:
step S401, subtracting the first frequency response curve and the second frequency response curve to obtain a difference frequency response curve.
And S402, obtaining an active noise reduction test result of the earphone to be tested according to the difference frequency response curve.
And comparing the difference frequency response curve with a preset target curve, and when the noise reduction effect reaches a certain range of the target curve, determining that the earphone to be tested passes the test, otherwise, determining that the earphone to be tested does not pass the test. After obtaining the active noise reduction test result according to the difference frequency response curve, the method further comprises the following steps: judging whether the active noise reduction test result meets a preset result, wherein the preset result is a preset noise reduction effect preset according to a target curve; when the active noise reduction test result does not accord with the preset result, the test fails; and when the active noise reduction test result accords with the preset result, the test is passed. When the earphone to be tested does not pass the test, the operation such as analysis, repair and the like can be carried out on the earphone to be tested.
Therefore, compared with the traditional method of testing the active noise reduction performance curve at one time, the gain is adjusted at the same time, the adjustment is repeated for many times, the corresponding gain and the active noise reduction performance of the earphone to be tested can be calculated by testing the noise reduction microphone with the frequency response curve for one time, the testing steps can be simplified, the testing time is reduced, and the testing efficiency is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. In addition, the terms "first" and "second" in the embodiments of the present application are used only for distinguishing purposes and do not cause any limitation.
Example two
Referring to fig. 5, a schematic block diagram of a structure of an active noise reduction earphone testing apparatus provided in an embodiment of the present application is shown, where the apparatus may include:
the first testing module 51 is used for testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone respectively;
the gain calculation module 52 is configured to calculate the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone, and the pre-test reference curve, and write the gain into the to-be-tested earphone;
the second testing module 53 is configured to test a first frequency response curve when the active noise reduction function of the to-be-tested earphone is turned on and a second frequency response curve when the active noise reduction function is turned off, respectively;
and the calculating module 54 is configured to obtain an active noise reduction test result of the to-be-tested earphone according to the first frequency response curve and the second frequency response curve.
In one possible implementation, the frequency response curve of the noise reduction microphone comprises a third frequency response curve of the feedforward microphone and/or a fourth frequency response curve of the feedback microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of the noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of the feedforward microphone and/or a sixth frequency response curve of the feedback microphone;
the gain calculation module may include:
a first calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve
Figure BDA0002100519370000111
Calculating the gain of the feedforward microphone; and/or
A second calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve
Figure BDA0002100519370000112
Calculating the gain of the feedback microphone;
wherein, P1Is a first passive noise reduction curve, G1Is a second passive noise reduction curve, F1Is a third frequency response curve, B1Is a fourth frequency response curve, GF1Is the fifth frequency response curve, GB1A sixth frequency response curve.
In a possible implementation manner, the apparatus may further include:
the third testing module is used for testing a second passive noise reduction curve of the earphone to be tested;
and the fourth testing module is used for testing the fifth frequency response curve and/or the sixth frequency response curve.
In a possible implementation manner, the calculating module may include:
the subtracting unit is used for subtracting the first frequency response curve and the second frequency response curve to obtain a difference frequency response curve;
and the test unit is used for obtaining an active noise reduction test result of the earphone to be tested according to the difference frequency response curve.
In a possible implementation manner, the apparatus may further include:
the judging module is used for judging whether the active noise reduction test result meets a preset result or not; when the active noise reduction test result does not accord with the preset result, the test fails; and when the active noise reduction test result accords with the preset result, the test is passed.
It should be noted that the active noise reduction earphone testing apparatus provided in this embodiment corresponds to the active noise reduction earphone testing method of the above embodiment one to one, and for related or similar contents, reference is made to the above corresponding contents, which are not described herein again.
According to the embodiment of the application, the primary frequency response curve of the noise reduction microphone is tested, the gain value and the noise reduction performance are automatically calculated, the test steps are simplified, and the test efficiency is obviously improved.
EXAMPLE III
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, the terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in each of the above embodiments of the active noise reduction earphone testing method, such as the steps S201 to S204 shown in fig. 2. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules or units in the above-described device embodiments, such as the functions of the modules 51 to 54 shown in fig. 5.
Illustratively, the computer program 62 may be divided into one or more modules or units, which are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules or units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal device 6. For example, the computer program 62 may be divided into a first testing module, a gain calculating module, a second testing module, and a calculating module, each module having the following specific functions:
the first testing module is used for respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone; the gain calculation module is used for calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve and writing the gain into the to-be-tested earphone; the second testing module is used for respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed; and the calculation module is used for obtaining an active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve.
The terminal device 6 may be a desktop computer, a notebook computer, a palm computer, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus and the terminal device are merely illustrative, and for example, the division of the module or the unit is only one logical function division, and there may be another division in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules or units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An active noise reduction earphone testing method is characterized by comprising the following steps:
respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone;
calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve, and writing the gain into the to-be-tested earphone;
respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed;
and obtaining an active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve.
2. The active noise reduction headphone testing method of claim 1, wherein the frequency response curves of the noise reduction microphones comprise a third frequency response curve of a feed-forward microphone and/or a fourth frequency response curve of a feed-back microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of a noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of a feedforward microphone and/or a sixth frequency response curve of a feedback microphone;
the calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve comprises:
according to the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve, passing
Figure FDA0002100519360000011
Calculating a gain of the feedforward microphone; and/or
According to the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve, passing through
Figure FDA0002100519360000012
Calculating a gain of the feedback microphone;
wherein, P1Is that it isFirst passive noise reduction curve, G1Is the second passive noise reduction curve, F1Is the third frequency response curve, B1Is said fourth frequency response curve, GF1Is the fifth frequency response curve, GB1Is the sixth frequency response curve.
3. The active noise reduction headphone testing method of claim 2, further comprising, before the separately testing the first passive noise reduction curve and the frequency response curve of the noise reduction microphone of the headphone under test:
testing a second passive noise reduction curve of the earphone to be tested;
and testing the fifth frequency response curve and/or the sixth frequency response curve.
4. The active noise reduction earphone testing method according to any one of claims 1 to 3, wherein the obtaining of the active noise reduction test result of the earphone to be tested according to the first frequency response curve and the second frequency response curve comprises:
subtracting the first frequency response curve from the second frequency response curve to obtain a difference frequency response curve;
and obtaining an active noise reduction test result of the earphone to be tested according to the difference frequency response curve.
5. The active noise reduction earphone testing method according to claim 4, further comprising, after obtaining the active noise reduction test result according to the difference frequency response curve:
judging whether the active noise reduction test result meets a preset result or not;
when the active noise reduction test result does not accord with the preset result, the test fails;
and when the active noise reduction test result accords with the preset result, the test is passed.
6. An active noise reduction earphone testing device, comprising:
the first testing module is used for respectively testing a first passive noise reduction curve of the earphone to be tested and a frequency response curve of the noise reduction microphone;
the gain calculation module is used for calculating the gain of the noise reduction microphone according to the first passive noise reduction curve, the frequency response curve of the noise reduction microphone and a pre-tested reference curve and writing the gain into the to-be-tested earphone;
the second testing module is used for respectively testing a first frequency response curve when the active noise reduction function of the earphone to be tested is opened and a second frequency response curve when the active noise reduction function is closed;
and the calculation module is used for obtaining an active noise reduction test result of the to-be-tested earphone according to the first frequency response curve and the second frequency response curve.
7. The active noise reduction headphone testing device of claim 6, wherein the frequency response curves of the noise reduction microphones comprise a third frequency response curve of a feed-forward microphone and/or a fourth frequency response curve of a feed-back microphone; the reference curves comprise a second passive noise reduction curve of the earphone to be tested and a reference frequency response curve of a noise reduction microphone, and the reference frequency response curve comprises a fifth frequency response curve of a feedforward microphone and/or a sixth frequency response curve of a feedback microphone;
the gain calculation module includes:
a first calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the fifth frequency response curve and the third frequency response curve
Figure FDA0002100519360000031
Calculating a gain of the feedforward microphone; and/or
A second calculating unit for passing the first passive noise reduction curve, the second passive noise reduction curve, the sixth frequency response curve and the fourth frequency response curve
Figure FDA0002100519360000032
ComputingA gain of the feedback microphone;
wherein, P1Is the first passive noise reduction curve, G1Is the second passive noise reduction curve, F1Is the third frequency response curve, B1Is said fourth frequency response curve, GF1Is the fifth frequency response curve, GB1Is the sixth frequency response curve.
8. The active noise reducing headphone testing device of claim 7, further comprising:
the third testing module is used for testing a second passive noise reduction curve of the earphone to be tested;
and the fourth testing module is used for testing the fifth frequency response curve and/or the sixth frequency response curve.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910533671.7A 2019-06-19 2019-06-19 Active noise reduction earphone testing method and device, terminal equipment and storage medium Active CN111800723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910533671.7A CN111800723B (en) 2019-06-19 2019-06-19 Active noise reduction earphone testing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910533671.7A CN111800723B (en) 2019-06-19 2019-06-19 Active noise reduction earphone testing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111800723A true CN111800723A (en) 2020-10-20
CN111800723B CN111800723B (en) 2021-07-23

Family

ID=72805288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910533671.7A Active CN111800723B (en) 2019-06-19 2019-06-19 Active noise reduction earphone testing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111800723B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115196A (en) * 2021-04-22 2021-07-13 东莞市声强电子有限公司 Intelligent test method of noise reduction earphone
CN113423036A (en) * 2021-06-25 2021-09-21 歌尔科技有限公司 Test method and noise reduction test device for noise reduction equipment
CN113473280A (en) * 2021-05-17 2021-10-01 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN114025273A (en) * 2021-11-08 2022-02-08 深圳市智链信息技术有限公司 A to ear debugging auxiliary device for bluetooth headset
CN115580806A (en) * 2022-11-25 2023-01-06 杭州兆华电子股份有限公司 Headset noise reduction method based on automatic weight calculation of filter and noise reduction headset
CN115665643A (en) * 2022-12-12 2023-01-31 杭州兆华电子股份有限公司 Method and system for evaluating active noise reduction effect of earphone
WO2023070920A1 (en) * 2021-10-28 2023-05-04 歌尔科技有限公司 Earphone frequency response calibration method and apparatus, and earphone device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000006065A1 (en) * 1998-07-27 2000-02-10 Saunders William R First draft-active noise reduction audiometry headphones
US20040264706A1 (en) * 2001-06-22 2004-12-30 Ray Laura R Tuned feedforward LMS filter with feedback control
CN106412788A (en) * 2016-10-31 2017-02-15 歌尔科技有限公司 Method and system for testing feed-forward active noise reduction earphones
CN107920322A (en) * 2017-12-05 2018-04-17 歌尔股份有限公司 Noise cancelling headphone test method, test system and computer-readable recording medium
CN108040315A (en) * 2017-10-23 2018-05-15 广东思派康电子科技有限公司 A kind of test machine of computer-readable recording medium and the application medium
CN108260069A (en) * 2018-01-23 2018-07-06 歌尔股份有限公司 The debugging system and method for a kind of noise cancelling headphone
CN108377436A (en) * 2018-01-24 2018-08-07 歌尔科技有限公司 A kind of method, apparatus and active noise reduction earphone adjusting active noise reduction earphone gain
CN108401218A (en) * 2018-03-01 2018-08-14 会听声学科技(北京)有限公司 Active noise reduction earphone method for diagnosing faults
CN108401204A (en) * 2018-01-22 2018-08-14 广东思派康电子科技有限公司 A kind of novel active noise reduction earphone
CN108430024A (en) * 2018-02-28 2018-08-21 东莞市晨新电子科技有限公司 A kind of measurement method of noise cancelling headphone
CN108702581A (en) * 2016-01-26 2018-10-23 声奇股份公司 Method and apparatus for testing ear speaker device
CN108701449A (en) * 2016-01-12 2018-10-23 伯斯有限公司 The system and method for active noise reduction in earphone
CN109076300A (en) * 2016-04-25 2018-12-21 声奇股份公司 earphone test

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000006065A1 (en) * 1998-07-27 2000-02-10 Saunders William R First draft-active noise reduction audiometry headphones
US20040264706A1 (en) * 2001-06-22 2004-12-30 Ray Laura R Tuned feedforward LMS filter with feedback control
CN108701449A (en) * 2016-01-12 2018-10-23 伯斯有限公司 The system and method for active noise reduction in earphone
CN108702581A (en) * 2016-01-26 2018-10-23 声奇股份公司 Method and apparatus for testing ear speaker device
CN109076300A (en) * 2016-04-25 2018-12-21 声奇股份公司 earphone test
CN106412788A (en) * 2016-10-31 2017-02-15 歌尔科技有限公司 Method and system for testing feed-forward active noise reduction earphones
CN108040315A (en) * 2017-10-23 2018-05-15 广东思派康电子科技有限公司 A kind of test machine of computer-readable recording medium and the application medium
CN107920322A (en) * 2017-12-05 2018-04-17 歌尔股份有限公司 Noise cancelling headphone test method, test system and computer-readable recording medium
CN108401204A (en) * 2018-01-22 2018-08-14 广东思派康电子科技有限公司 A kind of novel active noise reduction earphone
CN108260069A (en) * 2018-01-23 2018-07-06 歌尔股份有限公司 The debugging system and method for a kind of noise cancelling headphone
CN108377436A (en) * 2018-01-24 2018-08-07 歌尔科技有限公司 A kind of method, apparatus and active noise reduction earphone adjusting active noise reduction earphone gain
CN108430024A (en) * 2018-02-28 2018-08-21 东莞市晨新电子科技有限公司 A kind of measurement method of noise cancelling headphone
CN108401218A (en) * 2018-03-01 2018-08-14 会听声学科技(北京)有限公司 Active noise reduction earphone method for diagnosing faults

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SEN M.KUO: "Design of noise reduction headphone", 《2006 DIGEST OF TECHNICAL PAPER INTERNATIONAL CONFERENCE ON CONSUMER ELECTRICS》 *
曾健: "一款负反馈控制耳机的主动降噪特性分析", 《电声技术》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115196A (en) * 2021-04-22 2021-07-13 东莞市声强电子有限公司 Intelligent test method of noise reduction earphone
CN113115196B (en) * 2021-04-22 2022-03-29 东莞市声强电子有限公司 Intelligent test method of noise reduction earphone
CN113473280A (en) * 2021-05-17 2021-10-01 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN113473280B (en) * 2021-05-17 2022-11-29 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN113423036A (en) * 2021-06-25 2021-09-21 歌尔科技有限公司 Test method and noise reduction test device for noise reduction equipment
CN113423036B (en) * 2021-06-25 2022-07-29 歌尔科技有限公司 Test method and noise reduction test device for noise reduction equipment
WO2023070920A1 (en) * 2021-10-28 2023-05-04 歌尔科技有限公司 Earphone frequency response calibration method and apparatus, and earphone device and storage medium
CN114025273A (en) * 2021-11-08 2022-02-08 深圳市智链信息技术有限公司 A to ear debugging auxiliary device for bluetooth headset
CN115580806A (en) * 2022-11-25 2023-01-06 杭州兆华电子股份有限公司 Headset noise reduction method based on automatic weight calculation of filter and noise reduction headset
CN115580806B (en) * 2022-11-25 2023-03-10 杭州兆华电子股份有限公司 Headset noise reduction method based on automatic weight calculation of filter and noise reduction headset
CN115665643A (en) * 2022-12-12 2023-01-31 杭州兆华电子股份有限公司 Method and system for evaluating active noise reduction effect of earphone

Also Published As

Publication number Publication date
CN111800723B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN111800723B (en) Active noise reduction earphone testing method and device, terminal equipment and storage medium
EP3111670B1 (en) Method of and apparatus for determining an equalization filter
CN106454674A (en) Testing tooling
CN111800722B (en) Feedforward microphone function detection method and device, terminal equipment and storage medium
CN112562624B (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
CN110956973A (en) Echo cancellation method and device and intelligent terminal
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
US10984779B2 (en) Audio adjustment method and associated audio adjustment device for active noise cancellation
CN108810746A (en) A kind of sound quality optimization method, feedback noise reduction system, earphone and storage medium
EP3871212A1 (en) Tuning method, manufacturing method, computer-readable storage medium and tuning system
US20140226828A1 (en) Method and Arrangement for Auralizing and Assessing Signal Distortion
US10567863B2 (en) System and method for configuring audio signals to compensate for acoustic changes of the ear
CN112449286A (en) System and method for complementary audio output
CN102576560B (en) electronic audio device
US11510013B2 (en) Partial HRTF compensation or prediction for in-ear microphone arrays
CN113242491B (en) Noise reduction processing method, apparatus, device, storage medium, and program
US20230370788A1 (en) Method, apparatus and system for testing a bone conduction communication device
Zhuang et al. A constrained optimal hear-through filter design approach for earphones
US11849291B2 (en) Spatially informed acoustic echo cancelation
US20240089690A1 (en) Method and system for generating a personalized free field audio signal transfer function based on free-field audio signal transfer function data
US20240089683A1 (en) Method and system for generating a personalized free field audio signal transfer function based on near-field audio signal transfer function data
CN114339517A (en) Audio simulation method and device, electronic equipment and storage medium
CN115297420A (en) Signal processing method, device and storage medium
CN117896663A (en) Method for determining transfer function of feedforward filter, related device and test system
CN116437279A (en) Earphone speaker calibration method and device, terminal equipment and 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
GR01 Patent grant
GR01 Patent grant