CN110972014B - Parameter adjustment method and device for active noise reduction earphone and wireless earphone - Google Patents

Parameter adjustment method and device for active noise reduction earphone and wireless earphone Download PDF

Info

Publication number
CN110972014B
CN110972014B CN201911268044.1A CN201911268044A CN110972014B CN 110972014 B CN110972014 B CN 110972014B CN 201911268044 A CN201911268044 A CN 201911268044A CN 110972014 B CN110972014 B CN 110972014B
Authority
CN
China
Prior art keywords
earphone
noise reduction
transfer function
parameters
loudspeaker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911268044.1A
Other languages
Chinese (zh)
Other versions
CN110972014A (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.)
Goertek Intelligent Technology Co Ltd
Original Assignee
Goertek Intelligent Technology 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 Goertek Intelligent Technology Co Ltd filed Critical Goertek Intelligent Technology Co Ltd
Priority to CN201911268044.1A priority Critical patent/CN110972014B/en
Publication of CN110972014A publication Critical patent/CN110972014A/en
Application granted granted Critical
Publication of CN110972014B publication Critical patent/CN110972014B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • 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

Abstract

The invention discloses a parameter adjustment method and a parameter adjustment device of an active noise reduction earphone and a wireless earphone, wherein the method comprises the following steps: when the earphone is in a wearing state, controlling a loudspeaker in the earphone to play a preset test signal; determining a transfer function between a loudspeaker and a feedback microphone according to a test receiving signal acquired by the feedback microphone in the earphone; adjusting target parameters of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters; according to the invention, when the earphone is in a wearing state, the transfer function between the loudspeaker and the feedback microphone is tested, so that the actual influence of uncontrollable factors such as the wearing position of the earphone, the individual difference between the loudspeaker and the noise reduction microphone and the like on the earphone when a user actually wears the earphone is determined; by adjusting the target-containing parameters of the earphone according to the transfer function, the wearing position of the earphone and the individual difference between the loudspeaker and the noise reduction microphone and other uncontrollable factors can be reduced, the influence on the noise reduction effect of the earphone is reduced, and the user experience is improved.

Description

Parameter adjustment method and device for active noise reduction earphone and wireless earphone
Technical Field
The invention relates to the technical field of portable listening equipment, in particular to a parameter adjusting method and device of an active noise reduction earphone and a wireless earphone.
Background
Nowadays, earphones are more and more widely applied, and the use of earphones in a noisy environment also puts higher requirements on the noise reduction of the earphones. Although the passive noise reduction of the general earphone is more effective on middle and high frequency noise, the control effect on low frequency noise is not obvious.
The active noise reduction earphone generates an acoustic signal with a phase opposite to that of noise based on a sound wave destructive interference mechanism so as to offset the noise at the human ear, and is effective in low-frequency noise reduction. Active noise reduction is divided into feedforward control, feedback control and feedforward + feedback mixed control according to a system control mode, and most earphones currently use feedback control or feedforward + feedback mixed control based on noise reduction performance consideration.
However, although the active noise reduction of the earphone has significant advantages, uncontrollable factors such as the wearing position of the earphone, individual differences of the speaker and the noise reduction microphone, and the like, can greatly affect the noise reduction effect of the earphone. Therefore, how to reduce the influence of these uncontrollable factors on the noise reduction effect of the earphone more enough, improve the noise reduction effect of the earphone, and improve the user experience is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide a parameter adjusting method and device of an active noise reduction earphone and a wireless earphone, so as to reduce uncontrollable factors such as the wearing position of the earphone and the individual difference between a loudspeaker and a noise reduction microphone, influence on the noise reduction effect of the earphone and improve the user experience.
In order to solve the above technical problem, the present invention provides a parameter adjustment method for an active noise reduction earphone, including:
when the earphone is in a wearing state, controlling a loudspeaker in the earphone to play a preset test signal;
determining a transfer function between the loudspeaker and a feedback microphone according to a test receiving signal collected by the feedback microphone in the earphone; wherein the test received signal corresponds to the predetermined test signal;
adjusting target parameters of the earphone according to the transfer function; wherein the target parameters include noise reduction parameters.
Optionally, the adjusting the target parameter of the earphone according to the transfer function includes:
and adjusting the target parameters according to the comparison result of the transfer function and a preset standard transfer function.
Optionally, the noise reduction parameters include feedback noise reduction parameters or the feedback noise reduction parameters and feedforward noise reduction parameters.
Optionally, the target parameter further includes an audio parameter.
Optionally, before controlling the speaker in the earphone to play the preset test signal, the method further includes:
acquiring a pressure value acquired by a pressure sensor; wherein the pressure sensor is arranged at the ear-entering position of the earphone;
judging whether the wearing position of the earphone is changed or not according to the pressure value;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
Optionally, before the step of controlling the speaker in the earphone to play the preset test signal is executed, the method further includes:
judging whether the pressure value is in a preset adjustable range or not;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
Optionally, the determining, according to the pressure value, whether the wearing position of the earphone changes includes:
judging whether the difference between the current pressure value and the previous pressure value is greater than a threshold value;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
Optionally, before determining whether the wearing position of the earphone is changed according to the pressure value, the method further includes:
judging whether the earphone is in the wearing state or not according to the pressure value;
and if so, executing the step of judging whether the wearing position of the earphone is changed or not according to the pressure value.
The invention also provides a parameter adjusting device of the active noise reduction earphone, which comprises:
the test playing module is used for controlling a loudspeaker in the earphone to play a preset test signal when the earphone is in a wearing state;
the determining module is used for determining a transfer function between the loudspeaker and the feedback microphone according to a test receiving signal collected by the feedback microphone in the earphone; wherein the test received signal corresponds to the predetermined test signal;
the adjusting module is used for adjusting the target parameters of the earphone according to the transfer function; wherein the target parameters include noise reduction parameters.
The present invention also provides a wireless headset, comprising: a speaker, a feedback microphone, a memory, and a processor; wherein the memory is configured to store a computer program, and the processor is configured to implement the steps of the noise reduction method for an in-ear headphone as described above when executing the computer program.
The invention provides a parameter adjusting method of an active noise reduction earphone, which comprises the following steps: when the earphone is in a wearing state, controlling a loudspeaker in the earphone to play a preset test signal; determining a transfer function between a loudspeaker and a feedback microphone according to a test receiving signal acquired by the feedback microphone in the earphone; wherein the test receiving signal corresponds to a preset test signal; adjusting target parameters of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters;
therefore, the invention can determine the actual influence of uncontrollable factors such as the wearing position of the earphone, the individual difference between the loudspeaker and the noise reduction microphone and the like on the earphone when the user actually wears the earphone by testing the transfer function between the loudspeaker and the feedback microphone when the earphone is in a wearing state; by adjusting the target-containing parameters of the earphone according to the transfer function, the uncontrollable factors such as the wearing position of the earphone and the individual difference between the loudspeaker and the noise reduction microphone can be reduced, the influence on the noise reduction effect of the earphone is reduced, the noise reduction effect of the earphone is improved, and the user experience is improved. In addition, the invention also provides a parameter adjusting device of the active noise reduction earphone and a wireless earphone, and the device and the wireless earphone also have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a parameter adjustment method for an active noise reduction earphone according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a prior art feedback active noise reduction system for a headset;
fig. 3 is a graph showing the amplitude-frequency response of an acoustic channel transfer function G of a pair of headphones worn by different users;
fig. 4 is a phase-frequency response display diagram of acoustic channel transfer function G of different users wearing a headset normally;
fig. 5 is a graph showing amplitude-frequency response of the same user to the acoustic channel transfer function G in different wearing states of an earphone;
fig. 6 is a phase-frequency response display diagram of an acoustic channel transfer function G of the same user in different wearing states of an earphone;
fig. 7 is a flowchart of another parameter adjustment method for an active noise reduction earphone according to an embodiment of the present invention;
fig. 8 is a block diagram of a parameter adjustment apparatus of an active noise reduction earphone according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a parameter adjustment method for an active noise reduction earphone according to an embodiment of the present invention. The method can comprise the following steps:
step 101: and when the earphone is in a wearing state, controlling a loudspeaker in the earphone to play a preset test signal.
The purpose of this embodiment is to determine a transfer function between the speaker and the feedback microphone by controlling the speaker of the earphone to play a preset test signal when the earphone is in a wearing state, so as to determine a transfer function between the speaker and the feedback microphone according to a test received signal corresponding to the preset test signal collected by the feedback microphone of the earphone, thereby adjusting a target parameter of the earphone according to the transfer function. As long as the above purpose can be achieved, the selection of the execution main body of the method provided in this embodiment can be set by a designer according to a practical scenario and a user requirement, for example, the execution main body may be a wireless headset (such as a TWS headset) or a wired headset, that is, a processor (such as a single chip microcomputer MCU) in the wireless headset or the wired headset may utilize a speaker and a feedback microphone which are respectively built in to achieve the purpose of this embodiment; the execution main body can be a terminal such as a smart phone which is connected with a wireless earphone in a matching way or a wired earphone in a wired way, for example, a processor of the terminal can realize the purpose of the embodiment by utilizing a loudspeaker and a feedback microphone in the earphone through the wireless or wired connection with the earphone. The present embodiment does not set any limit to this as long as the object of the present embodiment can be achieved.
Specifically, the preset test signal in this step may be a preset test signal that is required to be used when testing the transfer function between the speaker and the feedback microphone. The specific content of the test signal can be set by the designer according to the practical scenario and the user requirement, for example, the preset test signal can be a frequency sweep signal of 20Hz to 20kHz, which is not limited in this embodiment.
It should be noted that in the prior art, the noise reduction effect of the active noise reduction system in the earphone and the sound quality of the earphone are affected by uncontrollable factors such as the wearing position of the earphone and the individual difference between the speaker and the noise reduction microphone, so that the transfer function of the acoustic channel from the speaker to the feedback microphone changes correspondingly; the feedback active noise reduction system as shown in fig. 2, G is the acoustic channel transfer function from the speaker (Mic) to the noise reduction microphone, H is the noise reduction circuit response, c is the control signal, d is the ambient noise signal penetrating into the ear cup, e is the residual noise signal (called error signal) after d and c are mixed; defining the transfer function between the error signal e and the external noise signal d as the system sensitivity function s, then
Figure BDA0002313418140000051
That is, due to individual habits of users or individual differences in sizes, shapes, hardness and softness of ears, different users wear earphones differently, so that as shown in fig. 3 and 4, the transfer function G of an acoustic channel from a speaker to a feedback microphone changes; even if the same user wears the same headphone, the state (i.e., the wearing position) of wearing the headphone may be different each time, thereby causing a change in the acoustic channel transfer function G from the speaker to the feedback microphone as shown in fig. 5 and 6; the influence on the transfer function G of the acoustic channel is particularly pronounced when the earpiece is an in-ear earpiece. In addition, the speaker of the earphone and the noise reduction microphone have certain sensitivity and frequency response tolerance, and inevitably have certain difference with a reference device during design. When the wearing condition of the earphone by a user is different from the reference state in design or the frequency response of the acoustic device is relatively discrete, the response H of the noise reduction circuit deviates from an ideal value, and the noise reduction effect is poor.
Therefore, in this embodiment, after the user actually wears the earphone, the actual transfer function (i.e., the acoustic channel transfer function) between the speaker and the feedback microphone in the earphone is measured, so that the actual influence of the uncontrollable factors such as the wearing position of the earphone and the individual difference between the speaker and the noise reduction microphone on the playing of the earphone can be determined, and thus the target parameter of the earphone is adjusted according to the transfer function, and the noise reduction effect of the earphone is improved.
It can be understood that, in this step, the specific manner in which the processor controls the speaker in the earphone to play the preset test signal when the earphone is in the wearing state can be set by the designer according to the practical scene and the user requirement, for example, the processor can control the speaker in the earphone to play the preset test signal at the preset time interval when the earphone is in the wearing state; that is, the transfer function between the speaker and the feedback microphone is tested at preset time intervals, so as to adjust the target parameters of the earphone. The processor may also control the speaker in the earphone to play the preset test signal only once when it is determined that the earphone is in the wearing state, for example, the processor may control the speaker in the earphone to play the preset test signal once after determining the preset time after the earphone is in the wearing state, so as to ensure that the wearing position of the earphone worn by the user is adjusted to a position that the user is accustomed to by setting the preset time. The processor can also determine whether the wearing position of the earphone changes or not by utilizing the pressure value acquired by the pressure sensor on the earphone when the earphone is determined to be in the wearing state; therefore, after the wearing position of the earphone worn by the user is changed, namely the wearing position of the earphone is adjusted by the user, the loudspeaker in the earphone is controlled to play the preset test signal, so that the test frequency of the transfer function between the loudspeaker and the feedback microphone is reduced. The present embodiment does not set any limit to this.
Specifically, the embodiment does not limit the specific position of the pressure sensor, for example, the pressure sensor may be disposed in the in-ear position of the in-ear earphone, as long as it is ensured that the pressure sensor in the earphone can detect a corresponding pressure value when the user wears the earphone, so as to determine the wearing position of the earphone, which is not limited in any way by the embodiment.
Correspondingly, when the pressure sensor is arranged in the earphone, the processor can directly utilize the pressure value detected by the pressure sensor to determine whether the earphone is in a wearing state; or the pressure value detected by the pressure sensor and other sensors (such as an acceleration sensor) arranged in the earphone are used for detecting sensor data to determine whether the earphone is in a wearing state.
Further, when a pressure sensor is arranged in the earphone, the processor can also determine whether the wearing position of the earphone is proper or not by utilizing the pressure value collected by the pressure sensor, namely whether the target parameters of the earphone can be adjusted by the transfer function obtained by testing under the pressure value or not. For example, the processor may determine whether the pressure value acquired by the pressure sensor is within a preset adjustable range, that is, by comparing the pressure value with the preset adjustable range, it is determined whether the transfer function obtained by the test under the pressure value can adjust the target parameter of the earphone; if yes, controlling a loudspeaker in the earphone to play a preset test signal; if not, the user can be prompted to adjust the wearing position of the earphone.
Step 102: determining a transfer function between a loudspeaker and a feedback microphone according to a test receiving signal acquired by the feedback microphone in the earphone; the test receiving signal corresponds to a preset test signal.
The test received signal in this step may be a signal collected by a feedback microphone in the process of playing the preset test signal by the speaker, that is, the test received signal corresponds to the preset test signal.
Specifically, the specific setting position of the feedback microphone in the earphone in this step may be set in the same or similar manner as the feedback microphone in the feedback noise reduction earphone and the hybrid noise reduction earphone in the prior art, for example, the feedback microphone may be set in the front cavity of the earphone.
It can be understood that the purpose of this step may be to determine a transfer function (i.e., an acoustic channel transfer function) between the speaker and the feedback microphone by using a test received signal corresponding to a preset test signal collected by the feedback microphone, so as to embody an actual influence of an uncontrollable factor, such as a wearing position of the headset and an individual difference between the speaker and the noise reduction microphone, on the playing of the headset by using the transfer function.
Specifically, the specific manner in which the processor determines the transfer function between the speaker and the feedback microphone according to the test received signal collected by the feedback microphone in the earphone in this step may be set by a designer, for example, the transfer function between the speaker and the feedback microphone may be calculated by using the test received signal collected by the feedback microphone and a preset test signal played by the speaker, if the method is the same as or similar to the method for calculating the transfer function of the acoustic channel in the prior art. The present embodiment does not set any limit to this.
Step 103: adjusting target parameters of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters.
It can be understood that the purpose of this step may be to adjust target parameters including noise reduction parameters in the earphone by using the obtained transfer function between the speaker and the feedback microphone, so as to improve the noise reduction effect of the earphone.
Correspondingly, the target parameter in this step may be a preset earphone parameter that can be adjusted correspondingly according to the change of the transfer function. Specific contents of the target parameters can be set by a designer according to a practical scene and user requirements, for example, the target parameters can include noise reduction parameters, such as feedback noise reduction parameters in a feedback noise reduction earphone, feedforward noise reduction parameters in a feedforward noise reduction earphone, or feedforward noise reduction parameters and/or feedback noise reduction parameters in a mixed noise reduction earphone, so that the influence of uncontrollable factors such as the wearing position of the earphone and the individual difference between a loudspeaker and a noise reduction microphone on the noise reduction effect of the active noise reduction earphone is reduced, and the noise reduction effect of the active noise reduction earphone is improved; the target parameters may also include audio parameters of the headphone, such as Gain values, L/R Balance parameters, EQ (Equalizer) parameters, and the like, so as to reduce the influence of uncontrollable factors such as the wearing position of the headphone and the individual differences between the speaker and the noise reduction microphone on the sound quality of the headphone, so that the noise reduction and the sound quality of the headphone can both reach better levels.
It should be noted that, for the specific way of adjusting the target parameters of the earphone by the processor according to the transfer function in this step, the specific way may be set by the designer, for example, the processor may directly use the obtained transfer function to match the values of the corresponding target parameters, that is, the values of the target parameters corresponding to different transfer functions are preset; for example, the processor may search a value of a target parameter corresponding to the target parameter in a preset target parameter table according to the obtained transfer function, and adjust the target parameter by using the searched value of the target parameter; the preset target parameter table comprises values of target parameters corresponding to different transfer functions. The processor can also compare the obtained transfer function with a preset standard transfer function, and determine the value of the target parameter by using the comparison result; for example, the processor may match the value of the corresponding target parameter according to the difference between the obtained transfer function and the preset standard transfer function. The processor may also compare the obtained transfer function (current transfer function) with the last obtained transfer function (last transfer function) and use the comparison to determine the value of the target parameter. As long as the processor can determine the value of the corresponding target parameter according to the obtained transfer function, so as to adjust the target parameter of the earphone, the present embodiment does not limit this.
Correspondingly, after the processor adjusts the target parameters of the earphone according to the transfer function in this step, the earphone can play audio by using the adjusted target parameters.
In the embodiment, when the earphone is in a wearing state, the transfer function between the loudspeaker and the feedback microphone is tested, so that the actual influence of uncontrollable factors such as the wearing position of the earphone, the individual difference between the loudspeaker and the noise reduction microphone and the like on the earphone when a user actually wears the earphone can be determined; by adjusting the target-containing parameters of the earphone according to the transfer function, the uncontrollable factors such as the wearing position of the earphone and the individual difference between the loudspeaker and the noise reduction microphone can be reduced, the influence on the noise reduction effect of the earphone is reduced, the noise reduction effect of the earphone is improved, and the user experience is improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating another parameter adjustment method for an active noise reduction earphone according to an embodiment of the present invention. The method can comprise the following steps:
step 201: acquiring a first pressure value acquired by a pressure sensor according to a first preset time interval; wherein, the pressure sensor is arranged at the position of the earphone.
It is understood that the first pressure value in this step may be a pressure value collected by a pressure sensor in the earphone at a first preset time interval. The specific time setting of the first preset time interval can be set by the designer, and this embodiment does not limit this to any way
Correspondingly, the specific setting position and number of the pressure sensor in the earphone are not limited in this embodiment, for example, when the earphone is an in-ear earphone, the pressure sensor in this embodiment may be a sensor for detecting a pressure value, which is set at a position (i.e., an in-ear position) of the earphone, which is in contact with the ear of the user when the user wears the earphone, and as long as the pressure sensor can detect the pressure value between the earphone and the ear of the user when the user wears the earphone, this embodiment does not limit this.
Step 202: judging whether the earphone is in a wearing state or not according to the first pressure value; if yes, go to step 203.
It can be understood that the purpose of this step may be to determine, by the processor, whether the headset is in the wearing state by using the pressure value collected by the pressure sensor in the headset at the first preset time interval. The specific manner of judging whether the earphone is in the wearing state according to the first pressure value in the step can be set by a designer, and if the first pressure value (current first pressure value) currently acquired by the pressure sensor is larger than the wearing threshold value, whether the earphone is in the wearing state is determined; or when a plurality of first pressure values collected by the pressure sensor in a preset time period are all greater than the wearing threshold value, it may be determined whether the earphone is in a wearing state, which is not limited in this embodiment.
Correspondingly, when it is determined in this step that the earphone is not in the wearing state, the step 201 may be returned to wait for obtaining the first pressure value collected by the pressure sensor next time.
Step 203: and acquiring a second pressure value acquired by the pressure sensor according to a second preset time interval.
It is understood that the second pressure value in this step may be a pressure value collected by the pressure sensor in the earphone at a second preset time interval. The specific time setting of the second preset time interval may be set by a designer, for example, the time value may be the same as the first preset time interval, or may be different from the first preset time interval, and this embodiment does not limit this.
Step 204: judging whether the second pressure value is in a preset adjustable range or not; if not, go to step 205; if yes, go to step 206.
It can be understood that the purpose of this step may be to determine, by the processor, whether the wearing position of the earphone is appropriate by comparing the pressure value collected by the pressure sensor in the earphone at the second preset time interval with the preset adjustable range, that is, whether the target parameter of the earphone can be adjusted by the transfer function obtained by testing the earphone at the wearing position; therefore, when the second pressure value is not within the preset adjustable range, the user is prompted to wear the earphone again through step 205, and the wearing position of the earphone is adjusted.
Specifically, the specific manner of determining whether the second pressure value is within the preset adjustable range in this step may be set by a designer, for example, the processor may determine whether the second pressure value (current second pressure value) currently acquired by the pressure sensor is within the preset adjustable range; the processor can also judge whether a plurality of second pressure values acquired by the pressure sensor within a preset time period are all within a preset adjustable range; or judging whether a preset number of second pressure values in a preset adjustable range exist in a plurality of second pressure values acquired by the pressure sensor in a preset time period. The present embodiment does not set any limit to this.
Step 205: and controlling a loudspeaker in the earphone to play the re-wearing prompt tone.
It can be understood that the purpose of this step may be to control the speaker in the earphone to play a re-wearing prompt tone for the processor, so as to prompt the user to re-wear the earphone and adjust the wearing position of the earphone.
Step 206: judging whether the wearing position of the earphone is changed or not according to the second pressure value; if so, go to step 207.
It is understood that the purpose of this step may be to determine whether the wearing position of the earphone is changed, that is, whether the transfer function between the speaker and the feedback microphone needs to be tested, and adjust the target parameter of the earphone, using the pressure value collected by the pressure sensor in the earphone at the second preset time interval. The specific manner of judging whether the wearing position of the earphone is changed according to the second pressure value can be set by a designer, for example, the processor can judge whether the difference between the second pressure value (the current second pressure value) currently acquired by the pressure sensor and the second pressure value (the last second pressure value) acquired by the pressure sensor last time is greater than a threshold value; if yes, the wearing position of the earphone can be determined to be changed, so that the step 207 is entered, a transfer function from the loudspeaker to the feedback microphone is tested, and target parameters of the earphone are adjusted; if not, returning to step 201 or step 203, and waiting to acquire the first pressure value or the second pressure value acquired by the pressure sensor next time.
Step 207: and controlling a loudspeaker in the earphone to play a preset test signal.
Step 208: determining a transfer function between a loudspeaker and a feedback microphone according to a test receiving signal acquired by the feedback microphone in the earphone; the test receiving signal corresponds to a preset test signal.
Step 209: adjusting target parameters of the earphone according to the comparison result of the transfer function and a preset standard transfer function; wherein the target parameters comprise noise reduction parameters and audio parameters.
It is understood that steps 207 to 209 are similar to steps 101 to 103 and are not described herein again.
In this embodiment, when the earphone is in a wearing state, the transfer function between the loudspeaker and the feedback microphone is tested, and the transfer function is compared with a standard transfer function during earphone design, so that noise reduction parameters and audio parameters related to the earphone are adjusted, noise reduction and tone quality of the earphone can be kept at a high level, and user experience is improved.
Referring to fig. 8, fig. 8 is a block diagram illustrating a parameter adjusting apparatus of an active noise reduction earphone according to an embodiment of the present invention. The apparatus may include:
the test playing module 10 is used for controlling a loudspeaker in the earphone to play a preset test signal when the earphone is in a wearing state;
a determining module 20, configured to determine a transfer function between the speaker and the feedback microphone according to a test received signal acquired by the feedback microphone in the earphone; wherein the test receiving signal corresponds to a preset test signal;
an adjusting module 30, configured to adjust a target parameter of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters.
In this embodiment, the test playing module 10 and the determination module 20 test the transfer function between the speaker and the feedback microphone when the earphone is in a wearing state, so that the actual influence of the uncontrollable factors such as the wearing position of the earphone and the individual difference between the speaker and the noise reduction microphone on the earphone when the user actually wears the earphone can be determined; the target parameters of the earphone are adjusted through the adjusting module 30 according to the transfer function, the uncontrollable factors such as the wearing position of the earphone and the individual difference between the loudspeaker and the noise reduction microphone can be reduced, the influence on the noise reduction effect of the earphone is reduced, the noise reduction effect of the earphone is improved, and the user experience is improved.
An embodiment of the present invention further provides a wireless headset, including: a speaker, a feedback microphone, a memory, and a processor; wherein the memory is used for storing a computer program, and the processor is used for implementing the steps of the noise reduction method for the in-ear earphone provided by any one of the above embodiments when the computer program is executed.
Optionally, the wireless headset may further include a pressure sensor.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the noise reduction method for an in-ear headphone provided in the above embodiment.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the wireless headset and the computer-readable storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The parameter adjustment method and device for the active noise reduction earphone and the wireless earphone provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A parameter adjustment method for an active noise reduction earphone is characterized by comprising the following steps:
when the earphone is in a wearing state, controlling a loudspeaker in the earphone to play a preset test signal;
determining a transfer function between the loudspeaker and a feedback microphone according to a test receiving signal collected by the feedback microphone in the earphone; wherein the test received signal corresponds to the predetermined test signal;
adjusting target parameters of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters and audio parameters;
wherein the adjusting the target parameter of the headset according to the transfer function comprises:
and adjusting the target parameters according to the comparison result of the transfer function and a preset standard transfer function.
2. The method of adjusting parameters of an active noise reduction headphone according to claim 1, wherein the noise reduction parameters comprise feedback noise reduction parameters or the feedback noise reduction parameters and feedforward noise reduction parameters.
3. The method as claimed in claim 1 or 2, wherein before controlling the speaker in the earphone to play the preset test signal, the method further comprises:
acquiring a pressure value acquired by a pressure sensor; wherein the pressure sensor is arranged at the ear-entering position of the earphone;
judging whether the wearing position of the earphone is changed or not according to the pressure value;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
4. The method of claim 3, wherein before the step of controlling the speaker of the earphone to play the preset test signal, the method further comprises:
judging whether the pressure value is in a preset adjustable range or not;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
5. The method for adjusting parameters of an active noise reduction earphone according to claim 3, wherein the step of determining whether the wearing position of the earphone changes according to the pressure value comprises:
judging whether the difference between the current pressure value and the previous pressure value is greater than a threshold value;
and if so, executing the step of controlling a loudspeaker in the earphone to play a preset test signal.
6. The method for adjusting parameters of an active noise reduction earphone according to claim 3, wherein before determining whether the wearing position of the earphone is changed according to the pressure value, the method further comprises:
judging whether the earphone is in the wearing state or not according to the pressure value;
and if so, executing the step of judging whether the wearing position of the earphone is changed or not according to the pressure value.
7. A parameter adjustment device for an active noise reduction earphone, comprising:
the test playing module is used for controlling a loudspeaker in the earphone to play a preset test signal when the earphone is in a wearing state;
the determining module is used for determining a transfer function between the loudspeaker and the feedback microphone according to a test receiving signal collected by the feedback microphone in the earphone; wherein the test received signal corresponds to the predetermined test signal;
the adjusting module is used for adjusting the target parameters of the earphone according to the transfer function; wherein the target parameters comprise noise reduction parameters and audio parameters; specifically, the target parameter is adjusted according to a comparison result of the transfer function and a preset standard transfer function.
8. A wireless headset, comprising: a speaker, a feedback microphone, a memory, and a processor; wherein the memory is configured to store a computer program, and the processor is configured to implement the steps of the parameter adjustment method for an active noise reduction earphone according to any one of claims 1 to 6 when executing the computer program.
CN201911268044.1A 2019-12-11 2019-12-11 Parameter adjustment method and device for active noise reduction earphone and wireless earphone Active CN110972014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911268044.1A CN110972014B (en) 2019-12-11 2019-12-11 Parameter adjustment method and device for active noise reduction earphone and wireless earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911268044.1A CN110972014B (en) 2019-12-11 2019-12-11 Parameter adjustment method and device for active noise reduction earphone and wireless earphone

Publications (2)

Publication Number Publication Date
CN110972014A CN110972014A (en) 2020-04-07
CN110972014B true CN110972014B (en) 2022-03-01

Family

ID=70033762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911268044.1A Active CN110972014B (en) 2019-12-11 2019-12-11 Parameter adjustment method and device for active noise reduction earphone and wireless earphone

Country Status (1)

Country Link
CN (1) CN110972014B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770407A (en) * 2020-06-30 2020-10-13 歌尔科技有限公司 Earphone state detection method and device, earphone and readable storage medium
CN113038322B (en) * 2021-03-04 2023-08-01 聆感智能科技(深圳)有限公司 Method and device for enhancing environment perception by hearing
CN113259799B (en) * 2021-04-23 2023-03-03 深圳市豪恩声学股份有限公司 Blocking effect optimization method, device, equipment and storage medium
CN113225639A (en) * 2021-04-25 2021-08-06 Oppo广东移动通信有限公司 Earphone configuration method and device, terminal equipment and computer readable storage medium
CN113473280B (en) * 2021-05-17 2022-11-29 安克创新科技股份有限公司 Earphone and wearing state detection method thereof
CN113421540B (en) * 2021-07-26 2023-10-31 北京安声浩朗科技有限公司 Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
CN113630684B (en) * 2021-08-31 2023-12-08 恒玄科技(上海)股份有限公司 Earphone with active noise reduction function and noise reduction method thereof
CN114007165B (en) * 2021-10-29 2022-06-28 歌尔光学科技有限公司 Electronic equipment and far field noise elimination self-calibration method and system thereof
CN113920975B (en) * 2021-11-26 2023-06-09 歌尔科技有限公司 Noise reduction parameter setting method and device, earphone equipment and storage medium
CN114071304B (en) * 2021-11-29 2023-04-25 歌尔科技有限公司 Active noise reduction method and device for earphone, earphone and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018523417A (en) * 2015-08-11 2018-08-16 チンタオ ゴーアテック テクノロジー カンパニー リミテッドQingdao Goertek Technology Co., Ltd. Method for improving noise reduction amount of feedback type active noise reduction headphones and active noise reduction headphones
CN109346055A (en) * 2018-11-23 2019-02-15 安克创新科技股份有限公司 Active denoising method, device, earphone and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9747887B2 (en) * 2016-01-12 2017-08-29 Bose Corporation Systems and methods of active noise reduction in headphones
CN106231470B (en) * 2016-09-06 2019-09-27 歌尔科技有限公司 A kind of method and active noise reduction earphone shortening the active noise reduction earphone development cycle
CN106254990B (en) * 2016-09-12 2019-03-26 歌尔股份有限公司 Earphone noise-reduction method and noise cancelling headphone
US10586521B2 (en) * 2016-10-31 2020-03-10 Cirrus Logic, Inc. Ear interface detection
CN108260069A (en) * 2018-01-23 2018-07-06 歌尔股份有限公司 The debugging system and method for a kind of noise cancelling headphone
CN109327757B (en) * 2018-09-30 2020-10-02 歌尔科技有限公司 Dual-microphone noise reduction earphone and sound processing method and device thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018523417A (en) * 2015-08-11 2018-08-16 チンタオ ゴーアテック テクノロジー カンパニー リミテッドQingdao Goertek Technology Co., Ltd. Method for improving noise reduction amount of feedback type active noise reduction headphones and active noise reduction headphones
CN109346055A (en) * 2018-11-23 2019-02-15 安克创新科技股份有限公司 Active denoising method, device, earphone and computer storage medium

Also Published As

Publication number Publication date
CN110972014A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110972014B (en) Parameter adjustment method and device for active noise reduction earphone and wireless earphone
US11882397B2 (en) Noise reduction method and apparatus for microphone array of earphone, earphone and TWS earphone
JP6096993B1 (en) Earphone sound effect compensation method, apparatus, and earphone
CN109688498B (en) Volume adjusting method, earphone and storage medium
US10284943B2 (en) Method and apparatus for adjusting sound field of an earphone and a terminal
US20100142719A1 (en) Acoustic apparatus and method of controlling an acoustic apparatus
CN112954115B (en) Volume adjusting method and device, electronic equipment and storage medium
WO2021103260A1 (en) Control method for headphones and headphones
WO2017143714A1 (en) Earphones having automatic volume adjustment and method for automatic volume adjustment of earphones
TW201814691A (en) Audio system and control method
WO2022252781A1 (en) Noise reduction control method, electronic device, and computer-readable storage apparatus
CN111541966B (en) Uplink noise reduction method and device of wireless earphone and wireless earphone
CN111666061A (en) Method for controlling volume of digital earphone, electronic terminal and digital earphone
WO2023178869A1 (en) Earbud wearing detection method, earbud and storage medium
KR101659410B1 (en) Sound optimization device and method about combination of personal smart device and earphones
US11736872B2 (en) Hearing aid having a sensor
JP6873549B2 (en) Audio equipment and computer readable programs
CN108432216B (en) Volume adjustment method and device and electronic equipment
CN115412803A (en) Audio signal compensation method and device, earphone and storage medium
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
US11010126B1 (en) Headset, control module and method for automatic adjustment of volume of headset, and storage medium
TWI746001B (en) Head-mounted apparatus and stereo effect controlling method thereof
CN114071307A (en) Earphone volume adjusting method, device, equipment and medium
US20200403591A1 (en) Electronic device and equalizer adjustment method thereof for adjusting gain settings of an equalizer according to the volume of the output signal
CN114125625B (en) Noise reduction adjustment method, earphone and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant