CN113132846A - Active noise reduction method and device of earphone and semi-in-ear active noise reduction earphone - Google Patents

Active noise reduction method and device of earphone and semi-in-ear active noise reduction earphone Download PDF

Info

Publication number
CN113132846A
CN113132846A CN202110393876.7A CN202110393876A CN113132846A CN 113132846 A CN113132846 A CN 113132846A CN 202110393876 A CN202110393876 A CN 202110393876A CN 113132846 A CN113132846 A CN 113132846A
Authority
CN
China
Prior art keywords
noise reduction
sound field
current
determining
vector
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
CN202110393876.7A
Other languages
Chinese (zh)
Other versions
CN113132846B (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.)
Beijing Ancsonic Technology Co ltd
Original Assignee
Beijing Ancsonic 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 Beijing Ancsonic Technology Co ltd filed Critical Beijing Ancsonic Technology Co ltd
Priority to CN202110393876.7A priority Critical patent/CN113132846B/en
Publication of CN113132846A publication Critical patent/CN113132846A/en
Application granted granted Critical
Publication of CN113132846B publication Critical patent/CN113132846B/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
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1781Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
    • G10K11/17813Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions characterised by the analysis of the acoustic paths, e.g. estimating, calibrating or testing of transfer functions or cross-terms
    • G10K11/17817Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions characterised by the analysis of the acoustic paths, e.g. estimating, calibrating or testing of transfer functions or cross-terms between the output signals and the error signals, i.e. secondary path
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K2210/00Details of active noise control [ANC] covered by G10K11/178 but not provided for in any of its subgroups
    • G10K2210/10Applications
    • G10K2210/108Communication systems, e.g. where useful sound is kept and noise is cancelled
    • G10K2210/1081Earphones, e.g. for telephones, ear protectors or headsets

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention provides an active noise reduction method and device of an earphone and a semi-in-ear active noise reduction earphone. The active noise reduction method of the earphone comprises the following steps: acquiring a first sound signal vector acquired by a microphone array arranged on an earphone, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal; determining a current noise reduction parameter according to the first acoustic signal vector; and determining a noise reduction signal according to the in-ear noise signal and the current noise reduction parameter. The technical scheme provided by the embodiment of the invention can improve the noise reduction effect of the earphone, so that the earphone has excellent wearing experience and noise reduction performance.

Description

Active noise reduction method and device of earphone and semi-in-ear active noise reduction earphone
Technical Field
The invention relates to the technical field of active noise reduction, in particular to an active noise reduction method and device of an earphone and a semi-in-ear active noise reduction earphone.
Background
In recent years, the market for headsets with active noise reduction has continued to grow, e.g. over-the-ear headsets, in-the-ear headsets. The semi-in-ear earphone which is a special one is rather popular with certain users because of the advantages of comfortable wearing, cleanness, no foreign body sensation, no stethoscope effect and the like.
However, the semi-in-ear headphone has poor sealing properties with the human ear canal, resulting in acoustic leakage and almost no implementation of passive noise reduction; if the same active noise reduction scheme as that of a common in-ear earphone is adopted, the active noise reduction effect of the semi-in-ear earphone is poor.
Disclosure of Invention
In view of this, the embodiment of the present invention provides an active noise reduction method and apparatus for an earphone, and a semi-in-ear active noise reduction earphone, which can improve the noise reduction effect of the earphone, so that the earphone has both excellent wearing experience and noise reduction performance.
According to a first aspect of the embodiments of the present invention, there is provided an active noise reduction method for a headphone, including: acquiring a first sound signal vector acquired by a microphone array arranged on an earphone, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal; determining a current noise reduction parameter according to the first acoustic signal vector; and determining a noise reduction signal according to the in-ear noise signal and the current noise reduction parameter.
In some embodiments of the present invention, the determining the current noise reduction parameter according to the first acoustic signal vector includes: determining a reference sound field base coefficient vector according to a calibration sound field base matrix corresponding to the microphone array and the first sound signal vector; determining a current sound field basis matrix corresponding to the microphone array according to the relation between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector, wherein the calibrated sound field basis coefficient vector is determined according to the calibrated sound field basis matrix and a second sound signal vector acquired by the microphone array in a pre-calibrated environment; determining a current sound field base coefficient vector under the current use environment according to the current sound field base matrix and the first sound signal vector; and determining the current noise reduction parameters according to the current sound field base coefficient vector.
In some embodiments of the present invention, the determining the current noise reduction parameter according to the current sound field basis coefficient vector includes: a. adjusting the calibrated noise reduction coefficient according to the current sound field base coefficient vector; b. determining an updated first acoustic signal vector based on the adjusted calibration noise reduction coefficient; c. determining an updated current sound field basis coefficient vector based on the current sound field basis matrix and the updated first sound signal vector; d. when the updated current sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted calibration noise reduction coefficient; e. and e, iteratively executing the steps b, c and d until the updated current sound field base coefficient vector meets the preset optimal condition, and determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
In some embodiments of the present invention, the iteratively executing steps b, c, and d until the updated current sound field basis coefficient vector satisfies a preset optimal condition, and determining the currently adjusted calibrated noise reduction coefficient as the current noise reduction coefficient includes: after the steps b, c and d are executed in the ith iteration, obtaining a current sound field base coefficient vector after 1 time of updating, a current sound field base coefficient vector after 2 times of updating, …, a current sound field base coefficient vector after i-1 times of updating and a current sound field base coefficient vector after i times of updating; judging whether the preset target function converges to the minimum value or not according to the current sound field base coefficient vector after 1 time of updating, the current sound field base coefficient vector after 2 times of updating, …, the current sound field base coefficient vector after i-1 times of updating and the current sound field base coefficient vector after i times of updating; and when the preset target function converges to the minimum value, determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
In some embodiments of the present invention, the calibrated noise reduction factor is determined in a pre-calibration environment by: a. adjusting an initial noise reduction coefficient according to the calibrated sound field base coefficient vector; b. determining an updated second acoustic signal vector based on the adjusted initial noise reduction coefficient; c. determining an updated vector of the base coefficients of the calibrated sound field based on the base matrix of the calibrated sound field and the updated vector of the second acoustic signal; d. when the updated calibration sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted initial noise reduction coefficient; e. and e, iteratively executing the steps b, c and d until the updated calibrated sound field base coefficient vector meets a preset optimal condition, and determining the currently adjusted initial noise reduction coefficient as a calibrated noise reduction coefficient.
In some embodiments of the present invention, the determining a current sound field basis matrix corresponding to the microphone array according to a relationship between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector includes: and under the condition that the complexity of the sound field where the earphone is located at present is consistent with the complexity of the sound field when the sound field base matrix is determined to be calibrated in a pre-calibration environment, determining the current sound field base matrix according to the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector.
In some embodiments of the present invention, the determining the noise reduction signal according to the in-ear noise signal and the current noise reduction parameter includes: determining an environmental noise signal transmitted to the error microphone according to the in-ear noise signal, a playing signal of a loudspeaker arranged on the earphone and a secondary acoustic path of the earphone; determining a noise reduction signal based on the ambient noise signal and the current noise reduction parameters passed to the error microphone.
According to a second aspect of the embodiments of the present invention, there is provided an active noise reduction apparatus for a headphone, including: a microphone array for acquiring a first acoustic signal vector, wherein the microphone array comprises at least one talking microphone and at least one error microphone for acquiring an in-ear noise signal; the first determining module is used for determining the current noise reduction parameter according to the first acoustic signal vector; and the second determining module is used for determining the noise reduction signal according to the in-ear noise signal and the current noise reduction parameter.
According to a third aspect of embodiments of the present invention, there is provided a semi-in-ear active noise reduction headphone comprising an active noise reduction arrangement for a headphone as described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer readable storage medium comprising computer instructions stored thereon, which, when executed by a processor, cause the processor to perform the active noise reduction method for a headset of any of the above.
According to a fifth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: a processor; a memory including computer instructions stored thereon, which when executed by the processor, cause the processor to perform the method of active noise reduction for a headset as described in any of the embodiments above.
According to the technical scheme provided by the embodiment of the invention, a first sound signal vector acquired by a microphone array arranged on an earphone is acquired, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal; determining a current noise reduction parameter according to the first acoustic signal vector; according to the in-ear noise signals and the current noise reduction parameters, the noise reduction signals are determined, and the active noise reduction parameters can be determined by combining the sound signals collected by the call microphone and the in-ear noise signals collected by the error microphone, so that the noise reduction effect of the feedback active noise reduction earphone is greatly improved, and the active noise reduction earphone has excellent wearing experience and noise reduction performance.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an earphone according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of an active noise reduction method for a headphone according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an earphone according to another embodiment of the present invention.
Fig. 4 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention.
Fig. 5 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention.
Fig. 6 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention.
Fig. 7 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention.
Fig. 8 is a block diagram of an active noise reduction apparatus of a headphone according to an embodiment of the present invention.
Fig. 9 is a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
For the sake of understanding, the related concepts and the like that may be referred to in the embodiments of the present application will be briefly described below.
An open space sound field is formed between the auricle of the user and the active noise reduction earphone. Acoustic signal vector collected by microphone array
Figure BDA0003017792540000051
The frequency components can be obtained by Fast Fourier Transform (FFT)
Figure BDA0003017792540000052
Where M is 1, 2, 3., M is the number of FFT points, and i is the number of microphones in the microphone array.
Figure BDA0003017792540000053
Can be described by the following formula (1):
Figure BDA0003017792540000054
wherein the content of the first and second substances,
Figure BDA0003017792540000055
for a soundfield basis matrix (corresponding frequency f) described by the position of the microphone array (i microphones)m). Wherein the content of the first and second substances,
Figure BDA0003017792540000056
the sound field base vector (corresponding to the frequency f) of the spatial point of the ith microphonem),φi,N(fm) The Nth order sound field base (corresponding to frequency f) of the space pointm) And represents the nth order mode shape.
It should be noted that the sound field basis matrix may be determined according to the wave equation and the boundary condition of the earphone-ear canal sound field, and is not described herein again. The acoustic field basis can be determined by various basis functions such as acoustic radiation modes, cavity modes, multipoles and the like, and a person skilled in the art can correspondingly select specific basis function types and modal orders according to a use scene.
Figure BDA0003017792540000057
The sound field basis coefficient vector (corresponding to frequency f) of the above-mentioned open spacem)。
Each frequency component is expressed by the following formula (2)
Figure BDA0003017792540000061
Multiplication by the acoustic field basis matrix psii×N(fm) Generalized inverse matrix psiD,N×i -1(fm) Obtaining the sound field base coefficient vector under the corresponding frequency
Figure BDA0003017792540000062
Figure BDA0003017792540000063
In the active noise reduction process, a microphone and other sensors are required to collect acoustic signals, however, the microphone collects information such as intensity and frequency of sound, and meanwhile loses a part of information, such as propagation relationships among different angles and different positions. Particularly, in an uneven sound field, mutual influence necessarily exists among all space points, and the information acquired by the microphone cannot be accurately reflected, so that the overall appearance of the sound field cannot be accurately restored. Therefore, according to the sound signals collected by the microphones at each space point in the sound field and the multi-order mode corresponding to each space point, the processing mode of single dimension (microphone observation) is converted into the processing mode of double dimension (microphone observation and sound field mode decomposition), so that part of information lost by the microphones is "retrieved", the sound field overall view is restored more accurately, and the precision of the active noise reduction algorithm is improved.
Fig. 1 is a schematic structural diagram of an earphone according to an embodiment of the present invention.
The headset includes a microphone array (including at least one talk microphone 110 and at least one error microphone 120), a speaker 130, and a calculation module 140.
The call microphone 110 is used to collect acoustic signals such as voice signals and noise signals. An error microphone 120 is located close to the ear canal of the user for acquiring an in-ear noise signal e. The calculation module 140 is configured to receive an acoustic signal vector (including an acoustic signal collected by the microphone array 110 and an in-ear noise signal e collected by the error microphone 120) collected by the microphone array, and determine a noise reduction coefficient W according to the acoustic signal vector; calculating a noise reduction signal y according to the in-ear noise signal e and the noise reduction coefficient W, and transmitting the noise reduction signal y to the loudspeaker 130; the speaker 130 is used for playing the noise reduction sound wave according to the received noise reduction signal y, and/or for playing the audio signal s.
Note that paths shown by broken lines in fig. 1 represent propagation paths of acoustic signals other than the circuit. Specifically, the space between the housing curved surface of the earphone and the error microphone 120 forms a primary path, and the speaker 130 itself and the space between the speaker 130 and the error microphone 120 together constitute a secondary path. The primary path and the secondary path have respective transfer functions, where the transfer function of the primary path is a transfer function of a space between a curved surface of a housing of the headphone and the error microphone, denoted as P, and the transfer function of the secondary path is a transfer function of an electro-acoustic conversion of the speaker 130 and a transfer function of an air space between a diaphragm surface of the speaker 130 and the error microphone 120, denoted as G.
Fig. 2 is a schematic flow chart of an active noise reduction method for a headphone according to an embodiment of the present invention. The method may be performed by a computer device. As shown in fig. 2, the method includes the following.
S110: the method comprises the steps of obtaining a first sound signal vector collected by a microphone array arranged on the earphone, wherein the microphone array comprises at least one call microphone and at least one error microphone used for collecting noise signals in an ear.
The earphone can be a feedback type active noise reduction earphone, wherein the communication microphone is used for collecting sound signals such as voice signals and noise signals. The error microphone is arranged at a position close to the ear canal of the user and used for collecting the noise signals in the ear. It should be understood that the microphone array may include some or all of the microphones on a feedback active noise reduction headphone. The present invention does not specifically limit the type of microphones and the number of microphones included in the microphone array.
S120: and determining the current noise reduction parameters according to the first acoustic signal vector.
Specifically, a current sound field basis coefficient vector in a current use environment may be determined according to the first acoustic signal vector and the current sound field basis matrix, and when the current sound field basis coefficient vector does not satisfy a preset optimal condition, the noise reduction coefficient W may be calibrated0Performing iterative adjustment until the updated current sound field base coefficient vector meets the preset optimal condition, and taking the updated calibration noise reduction parameter as the current noise reduction parameter W1
S130: and determining a noise reduction signal according to the current noise reduction parameter and the in-ear noise signal.
In particular, the in-ear noise signal e and the above-mentioned current noise reduction parameter W may be based on1Determining a noise reduction signal for canceling the in-ear noise signal, and playing the noise reduction signal through a speaker.
According to the technical scheme provided by the embodiment of the invention, a first sound signal vector acquired by a microphone array arranged on an earphone is acquired, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal; determining a current noise reduction parameter according to the first acoustic signal vector; according to the in-ear noise signals and the current noise reduction parameters, the noise reduction signals are determined, and the active noise reduction parameters can be determined by combining the sound signals collected by the call microphone and the in-ear noise signals collected by the error microphone, so that the noise reduction effect of the feedback active noise reduction earphone is greatly improved, and the active noise reduction earphone has excellent wearing experience and noise reduction performance.
In another embodiment of the present invention, the determining the noise reduction signal according to the in-ear noise signal and the current noise reduction parameter includes: determining an environmental noise signal transmitted to the error microphone according to the in-ear noise signal, a playing signal of a loudspeaker arranged on the earphone and a secondary acoustic path of the earphone; determining a noise reduction signal based on the ambient noise signal and the current noise reduction parameters passed to the error microphone.
Specifically, the in-ear noise signal may be used to subtract a signal that a playing signal of the speaker reaches the error microphone after being propagated through the secondary acoustic path, so as to determine an environmental noise signal transmitted to the error microphone; the noise reduction signal may then be determined from the ambient noise signal delivered at the error microphone and the current noise reduction parameters.
Fig. 3 is a schematic structural diagram of an earphone according to another embodiment of the present invention. Fig. 4 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention. The embodiment shown in fig. 4 of the present invention is extended on the basis of the embodiment shown in fig. 2 of the present invention, and the differences between the embodiment shown in fig. 4 and the embodiment shown in fig. 2 will be described in detail below with reference to fig. 3, and the same parts will not be described again.
As shown in fig. 3, the headset includes a microphone array (including at least one call microphone 110 and at least one error microphone 120), a speaker 130, a sound field basis coefficient calculation module 141, a verification module 150, an adaptation module 160 (e.g., LMS module), a noise reduction signal generation module 170, a superposition module 180, and a superposition module 190.
Note that the path shown by the broken line represents a propagation path of the acoustic signal other than the circuit. Specifically, the space between the housing curved surface of the earphone and the error microphone 120 forms a primary path, and the speaker 130 itself and the space between the speaker 130 and the error microphone 120 together constitute a secondary path. The transfer function of the primary path is P and the transfer function of the secondary path is G.
Figure BDA0003017792540000081
To pass through a circuit dieThe transfer function of the pseudo secondary path, i.e., the transfer function including the electrical-to-acoustic conversion of the speaker 130 and the transfer function in the air between the diaphragm face of the speaker 130 and the error microphone 120.
The superimposing module 180 is configured to superimpose the audio signal s to be played and the noise reduction signal y, and transmit the superimposed signal to the speaker 130 for playing. The superimposed audio signal s and noise reduction signal y reach the error microphone 120 via a secondary path, and the ambient noise signal x (not observed) reaches the error microphone 120 via a primary path, where they are superimposed at the error microphone 120 to form an in-ear noise signal (containing an audio component).
In addition, the superimposed audio signal s and the noise reduction signal y are passed through
Figure BDA0003017792540000091
The circuit reaches the overlap-and-add module 190. The overlay module 190 is for receiving the pass-through
Figure BDA0003017792540000092
The post-circuit signal is inverted and superimposed with the in-ear noise signal collected by the error microphone 120, so as to obtain an ambient noise signal (i.e., an ambient noise signal passing through the primary path), that is, xP, transmitted to the error microphone.
The noise reduction signal generation module 170 is configured to receive the restored ambient noise signal xP passing through the primary path, calculate a noise reduction signal y according to the ambient noise signal xP passing through the primary path and the noise reduction coefficient W, and transmit the noise reduction signal y to the speaker 130; the speaker 130 is used for playing the noise reduction sound wave according to the received noise reduction signal y, and/or for playing the audio signal s.
The acoustic field basis coefficient calculation module 140 is configured to calculate a first acoustic signal vector according to the first acoustic signal vector acquired based on the microphone array
Figure BDA0003017792540000093
And the known calibration sound field base matrix psii×N,0(fm) Generalized inverse matrix psiD,N×i,0 -1(fm) Calculating to obtain the reference sound field base coefficient vector under the corresponding frequency
Figure BDA0003017792540000094
See formula (2) above. The verification module 150 is used for verifying the data based on
Figure BDA0003017792540000095
Calibrating the acoustic field base matrix psi for the current applicationi×N,0(fm) Checking or correcting to determine the current sound field base matrix psi under the current use environmenti×N,1(fm). Then, the sound field basis coefficient calculation module 140 is used for calculating the first acoustic signal vector
Figure BDA0003017792540000096
And the current sound field base matrix psii×N,1(fm) Generalized inverse matrix psiD,N×i,1 -1(fm) Solving current sound field basis coefficient vector
Figure BDA0003017792540000097
The adaptive module 160 is configured to direct adjustment of the noise reduction coefficient until the updated current sound field base coefficient vector meets a preset optimal condition, and determine the current adjusted noise reduction coefficient as a final noise reduction coefficient.
Specifically, as shown in fig. 4, in the active noise reduction method for a headphone provided in the embodiment of the present invention, the step S120 may include steps S210 to S240.
S210: and determining a reference sound field base coefficient vector according to the calibrated sound field base matrix corresponding to the microphone array and the first sound signal vector.
In the embodiment of the invention, the sound field base matrix psi is calibratedi×N,0(fm) May be predetermined. In the actual use stage of the active noise reduction earphone, the microphone array collects in a real-time position to obtain a first sound signal vector
Figure BDA0003017792540000101
As shown in the following equation (3), based on the first acoustic signal vector
Figure BDA0003017792540000102
And the above-mentioned calibrated sound field base matrix psii×N,0(fm) Generalized inverse matrix psiD,N×i,0 -1(fm) The reference sound field base coefficient vector can be obtained by calculation
Figure BDA0003017792540000103
Figure BDA0003017792540000104
S220: and determining a current sound field basis matrix corresponding to the microphone array according to the relation between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector, wherein the calibrated sound field basis coefficient vector is determined according to the calibrated sound field basis matrix and a second sound signal vector acquired by the microphone array in a pre-calibrated environment.
It should be noted that the calibrating of the sound field basis coefficient vector may be completed in a pre-calibrating stage before the earphone leaves the factory. Specifically, the active noise reduction earphone can be placed in the ear canal of the artificial head so that the microphone array is located at the calibration position, and the second sound signal vector is acquired
Figure BDA0003017792540000105
Then based on the second acoustic signal vector according to the following equation (4)
Figure BDA0003017792540000106
And the known calibration sound field base matrix psii×N,0(fm) Generalized inverse matrix psiD,N×i,0 -1(fm) Solving and calibrating acoustic field base coefficient vector
Figure BDA0003017792540000107
Figure BDA0003017792540000108
Due to differences in ear canals of different users, and usersThe wearing position, angle and the like are different, so that the real-time position of the active noise reduction earphone in the actual use stage cannot be guaranteed to be the same as the calibration position in the pre-calibration stage, and the active noise reduction earphone needs to be based on the fact that
Figure BDA0003017792540000109
Calibrating the acoustic field base matrix psi for the current applicationi×N,0(fm) Checking or correcting to determine the current sound field base matrix psi under the current use environmenti×N,1(fm)。
In particular, reference sound field basis coefficient vectors may be compared
Figure BDA00030177925400001010
And calibrating the sound field basis coefficient vector
Figure BDA0003017792540000111
E.g. according to
Figure BDA0003017792540000112
And
Figure BDA0003017792540000113
whether a preset condition is met or not is judged to determine a current sound field base matrix psi corresponding to the microphone arrayi×N,1(fm). For example, when
Figure BDA0003017792540000114
And
Figure BDA0003017792540000115
when the preset condition is met, the calibrated sound field base matrix can be determined as the current sound field base matrix; when in use
Figure BDA0003017792540000116
And
Figure BDA0003017792540000117
when the preset condition is not met, the calibrated sound field base matrix can be corrected, and the current sound field base matrix is determined again.
S230: and determining a current sound field base coefficient vector under the current use environment according to the current sound field base matrix and the first sound signal vector.
In particular, the first acoustic signal vector may be based on according to equation (5)
Figure BDA0003017792540000118
And the current sound field base matrix psii×N,1(fm) Generalized inverse matrix psiD,N×i,1 -1(fm) Solving current sound field basis coefficient vector
Figure BDA0003017792540000119
Figure BDA00030177925400001110
S240: and determining the current noise reduction parameters according to the current sound field base coefficient vector.
For example, the vector of coefficients may be based on the current sound field basis
Figure BDA00030177925400001111
To the calibrated noise reduction coefficient W0And adjusting, and determining the updated noise reduction signal by adopting the adjusted calibration noise reduction coefficient. The loudspeaker plays the updated noise reduction signal, and the microphone array can acquire the updated first acoustic signal vector. Then, based on the current sound field basis matrix and the updated first acoustic signal vector, an updated current sound field basis coefficient vector is determined. When the updated current sound field base coefficient vector does not meet the preset optimal condition, the adjusted calibration noise reduction coefficient can be adjusted again; repeating the iteration process until the updated current sound field base coefficient vector meets the preset optimal condition, stopping adjustment, and determining the currently adjusted calibration noise reduction coefficient as the final noise reduction coefficient W1
It should be noted that the above iterative process may be implemented by using an adaptive algorithm, such as an LMS (Least Mean Square) algorithm, until the updated current sound field basis coefficient vector satisfies a preset optimal condition. It should be understood that the embodiments of the present application do not specifically limit the algorithm actually used.
According to the technical scheme provided by the embodiment of the invention, the position and the posture of the earphone in the auditory canal of the user can be detected in real time, when the difference between the current position and the posture of the earphone and the calibration position when the calibration sound field base matrix is determined is large, the calibration sound field base matrix can be adjusted to obtain the current sound field base matrix, and then the noise reduction coefficient is self-adapted until the updated current sound field base coefficient vector meets the preset optimal condition, and the current adjusted noise reduction coefficient is determined as the final noise reduction coefficient, namely the noise reduction parameters can be adjusted in real time according to the position and the posture of the earphone in the auditory canal of the user to meet different noise reduction requirements of different users in different use states, so that the active noise reduction earphone has excellent wearing experience and noise reduction performance. In addition, the multi-order mode corresponding to the acoustic signal is obtained by utilizing the sound field base matrix, and the information lost by the microphone is reconstructed, so that the overall appearance of the sound field can be restored more accurately, the precision of an active noise reduction algorithm is improved, and the noise reduction effect of the active noise reduction earphone is improved.
Fig. 5 is a schematic flow chart of an active noise reduction method for a headphone according to another embodiment of the present invention. The method may be performed by a computer device. The embodiment shown in fig. 5 of the present invention is extended on the basis of the embodiment shown in fig. 2 of the present invention, and the differences between the embodiment shown in fig. 5 and the embodiment shown in fig. 2 will be emphasized below, and the descriptions of the same parts will not be repeated.
As shown in fig. 5, in the active noise reduction method for a headphone provided in the embodiment of the present application, the step S120 may include steps S310 to S350.
S310: and determining a reference sound field base coefficient vector according to the calibrated sound field base matrix corresponding to the microphone array and the first sound signal vector.
S320: and when the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector does not meet the preset condition, determining the current sound field base matrix according to the nonlinear difference between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector.
In an embodiment of the invention, the predetermined condition is used to characterize that the reference sound field basis coefficient vector is linearly related to the calibrated sound field basis coefficient vector. For example, the determination can be made according to the following formula (6)
Figure BDA0003017792540000121
And scaling the sound field basis coefficient vector
Figure BDA0003017792540000122
Whether or not the correlation is linear, that is, whether or not the following expression (6) holds.
Figure BDA0003017792540000123
Wherein the content of the first and second substances,
Figure BDA0003017792540000131
represents a vector of reference sound field basis coefficients,
Figure BDA0003017792540000132
represents a vector of basis coefficients of the calibrated acoustic field,
Figure BDA0003017792540000133
denotes a predetermined deviation threshold vector, λ is a constant, fmRepresenting the frequency.
Specifically, when "≦" in the above equation (6) is not satisfied, it indicates that the structure of the sound field currently formed in the ear canal by the active noise reduction headphone is not similar to that when calibrated in advance, and therefore, the calibration sound field base matrix ψi×N,0(fm) And the current sound field base matrix is not true, and needs to be determined again.
In particular, can be according to
Figure BDA0003017792540000134
And
Figure BDA0003017792540000135
non-linear difference therebetween
Figure BDA0003017792540000136
Determining a true current sound field basis matrix psii×N,1(fm)。
S330: and when the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector meets the preset condition, determining the calibrated sound field base matrix as the current sound field base matrix.
That is, when "≦" in the above equation (6) holds, it indicates that the sound field structure currently formed in the ear canal by the active noise reduction headphone is similar to that when the calibration is performed in advance, and at this time, the calibration sound field base matrix ψ may be seti×N,0(fm) As the current sound field basis matrix.
S340: and determining a current sound field base coefficient vector under the current use environment according to the current sound field base matrix and the first sound signal vector.
In particular, the first acoustic signal vector may be based according to equation (5) above
Figure BDA0003017792540000137
And psii×N,1(fm) Generalized inverse matrix psiD,N×i,1 -1(fm) Solving current sound field basis coefficient vector
Figure BDA0003017792540000138
S350: and determining the current noise reduction parameters according to the current sound field base coefficient vector.
For example, when "≦" in the above equation (6) holds, the sound field structure of the active noise reduction earphone currently formed in the ear canal is similar to that when the pre-calibration is performed, and the sound field base matrix ψ is calibratedi×N,0(fm) Namely the current sound field base matrix. At this time, the noise reduction parameters of the current active noise reduction earphone may be consistent with the preset calibrated noise reduction parameters.
When the value is less than or equal to the preset value, the sound field structure formed by the active noise reduction earphone in the auditory canal is not similar to that in the pre-calibration process, the current sound field base matrix which is not true in the sound field is calibrated, and the current sound field base matrix and the current noise reduction parameters can be determined again.
Specifically, as shown in fig. 6, the above step S350 may include steps S351 to S355.
S351: and adjusting the calibrated noise reduction coefficient according to the current sound field base coefficient vector.
S352: and determining the updated first acoustic signal vector based on the adjusted calibration noise reduction coefficient.
S353: and determining an updated current sound field basis coefficient vector based on the current sound field basis matrix and the updated first sound signal vector.
S354: and when the updated current sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted calibration noise reduction coefficient.
S355: and (5) iteratively executing steps S352 to S354 until the updated current sound field base coefficient vector meets a preset optimal condition, and determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
In an embodiment of the present invention, whether the current sound field basis coefficient vector meets the preset optimal condition may be determined by setting an objective function. The iterative process may be implemented using an adaptive algorithm, such as an LMS (Least Mean Square) algorithm. For example, the objective function may be:
Figure BDA0003017792540000141
wherein the content of the first and second substances,
Figure BDA0003017792540000142
wherein, T represents transposition operation, E represents mathematical expectation, and k is the iterative computation times of the noise reduction parameters. It should be understood that the expression may also be in the frequency domain
Figure BDA0003017792540000143
The objective function is shown, but the present invention is not limited thereto.
In particular, the current acoustic field basis coefficient vector may be based on equations (7) and (9)
Figure BDA0003017792540000144
For the calibrated noise reduction coefficient W (0) (which can also be recorded as W)0) Adjusting to obtain W (1); determining a noise reduction signal based on W (1), and further acquiring an updated first acoustic signal vector acquired by a microphone array
Figure BDA0003017792540000145
According to the above equation (8), based on the current sound field basis matrix psii×N,1(fm) Generalized inverse matrix psiD,N×i,1 -1(fm) And an updated first acoustic signal vector
Figure BDA0003017792540000146
Determining updated current sound field basis coefficient vector
Figure BDA0003017792540000147
According to the updated current sound field base coefficient vector
Figure BDA0003017792540000151
Calculating an objective function J (1), and stopping iteration if the objective function J (1) converges to a minimum value; if the target function J (1) does not converge to the minimum value, adjusting the noise reduction parameters again according to the formula (9) to obtain W (2), determining a noise reduction signal based on W (2), and further obtaining an updated first sound signal vector collected by the microphone array
Figure BDA0003017792540000152
And so on. Repeating the iteration process until the target function corresponding to the updated current sound field base coefficient vector converges to the minimum value, and at the moment, determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient W1
Figure BDA0003017792540000153
Specifically, as shown in fig. 7, in an embodiment, the step S355 may include:
s3551: after the ith iteration executes steps S352 to S354, a current sound field basis coefficient vector after 1 time of update, a current sound field basis coefficient vector after 2 times of update, …, a current sound field basis coefficient vector after i-1 times of update, and a current sound field basis coefficient vector after i times of update are obtained.
S3552: and judging whether the preset target function converges to the minimum value or not according to the current sound field base coefficient vector after 1 time of updating, the current sound field base coefficient vector after 2 times of updating, …, the current sound field base coefficient vector after i-1 times of updating and the current sound field base coefficient vector after i times of updating.
S3553: and when the preset target function converges to the minimum value, determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
Specifically, for example, when the calculation is performed in the time domain, in the ith iteration, it may be determined whether the square of the 2-norm of the current sound field base coefficient vector converges to the minimum value according to the above-described objective function. If the judgment result is yes, the iteration is ended; and if the judgment result is negative, entering the (i +1) th iteration.
It should be noted that the above-mentioned calibrated noise reduction coefficient may be any set of coefficient values set in advance by a person; it may also be obtained by iteratively adjusting the initial noise reduction parameters, which is not specifically limited by the present invention.
Specifically, the calibrated noise reduction coefficient may be determined in a pre-calibrated environment before the earphone leaves the factory by the following steps:
s410: adjusting an initial noise reduction coefficient according to the calibrated sound field base coefficient vector;
s420: determining an updated second acoustic signal vector based on the adjusted initial noise reduction coefficient;
s430: determining an updated vector of the base coefficients of the calibrated sound field based on the base matrix of the calibrated sound field and the updated vector of the second acoustic signal;
s440: when the updated calibration sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted initial noise reduction coefficient;
s450: and iteratively executing steps S420 to S440 until the updated calibrated sound field base coefficient vector meets a preset optimal condition, and determining the currently adjusted initial noise reduction coefficient as a calibrated noise reduction coefficient.
It should be understood that steps S410 to S450 for obtaining the calibrated noise reduction coefficient are similar to steps S351 to S355, and are not described herein again.
According to the technical scheme provided by the embodiment of the invention, when the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector does not meet the preset condition, the current sound field base matrix is determined according to the nonlinear difference between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector; when the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector meets a preset condition, determining the calibrated sound field base matrix as a current sound field base matrix; the current sound field base matrix can be determined in real time according to the position and the posture of the earphone in the auditory canal of the user, and then active noise reduction parameters are adjusted in a self-adaptive mode, so that different noise reduction requirements of different users in different use states can be met, and the active noise reduction earphone has excellent wearing experience and noise reduction performance.
In an embodiment of the present invention, the determining a current sound field basis matrix corresponding to the microphone array according to a relationship between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector includes: and under the condition that the complexity of the sound field where the active noise reduction earphone is located at present is consistent with the complexity of the sound field when the sound field base matrix is determined to be calibrated in a pre-calibration environment, determining the current sound field base matrix according to the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector.
It should be noted that the sound field complexity N when the speaker participates (playing the audio signal s and/or the noise reduction signal y)2Greater than the sound field complexity N when the loudspeaker is not involved (the loudspeaker is not playing audio signals and/or noise reduction signals, the earphone is only passively sound-insulating)1I.e. N2>N1
In short, when the active noise reduction earphone redetermines the current sound field basis matrix in the current use environment, it is first required to ensure that the current sound field condition is the same as the sound field condition when the calibrated sound field basis matrix is determined, so as to ensure the accuracy of the active noise reduction algorithm. For example, if the calibration sound field basis matrix is determined in the pre-calibration environment, the speaker does not participate, and therefore, when the current sound field basis matrix is re-determined in the current usage environment, the determination needs to be performed when the speaker does not participate.
Specifically, when the loudspeaker is not participated in, the circuit W between the error microphone and the loudspeaker is disconnected and the secondary path G is meaningless, the earphone in the pre-calibration stage is based on the acquired second sound signal vector and the known calibration sound field base matrix in the calibration noise environment
Figure BDA0003017792540000171
Solving and calibrating acoustic field base coefficient vector
Figure BDA0003017792540000172
Then, the circuit W is turned on to start active noise reduction (i.e. playing the noise reduction signal), and based on the above steps S310 to S350
Figure BDA0003017792540000173
Iteratively obtaining a calibrated noise reduction parameter W0(ii) a Earphone in actual use stage determines current sound field base matrix in actual noise environment and also when loudspeaker is not participated
Figure BDA0003017792540000174
And current sound field basis coefficient vector
Figure BDA0003017792540000175
Then, the circuit W is started to calibrate the noise reduction parameter W0Start active noise reduction and based on
Figure BDA0003017792540000176
Iterative adjustment of W0Obtaining the real-time optimal noise reduction parameter W1
When the loudspeaker only plays the audio signal s, the circuit W is open-circuited but a secondary path G exists, and the earphone in the pre-calibration stage is based on sampling in the calibration noise environmentCollected second acoustic signal vector
Figure BDA0003017792540000177
And known calibration sound field basis matrix
Figure BDA0003017792540000178
Solving and calibrating acoustic field base coefficient vector
Figure BDA0003017792540000179
Then, the circuit W is turned on to start active noise reduction (i.e. playing the noise reduction signal), and based on the above steps S310 to S350
Figure BDA00030177925400001710
Iteratively obtaining a calibrated noise reduction coefficient W0(ii) a The earphone in the actual use stage determines the current sound field base matrix in the actual noise environment and also when the loudspeaker only plays the audio signal s
Figure BDA00030177925400001711
And current sound field basis coefficient vector
Figure BDA00030177925400001712
Then, the circuit W is started to calibrate the noise reduction parameter W0Start active noise reduction and based on
Figure BDA00030177925400001713
Iterative adjustment of W0Obtaining the real-time optimal noise reduction parameter W1
When the loudspeaker plays the noise reduction signal y, the circuit W is connected and has a secondary path G, and the earphone in the pre-calibration stage is based on the known calibration sound field base matrix in the calibration noise environment
Figure BDA00030177925400001714
And a second acoustic signal vector acquired in real time under active noise reduction
Figure BDA0003017792540000181
Calculating the mark of the corresponding timeVector of fundamental coefficients of constant sound field
Figure BDA0003017792540000182
Simultaneously according to the above steps S310 to S350
Figure BDA0003017792540000183
Iteratively obtaining a calibrated noise reduction coefficient W0(ii) a The earphone in the actual use stage is in the actual noise environment, and when the loudspeaker plays the noise reduction signal y, the noise reduction signal y is in W0Performing active noise reduction to determine the current sound field base matrix
Figure BDA0003017792540000184
And current sound field basis coefficient vector
Figure BDA0003017792540000185
Then based on
Figure BDA0003017792540000186
Iterative adjustment of W0Obtaining the real-time optimal noise reduction parameter W1
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 8 is a block diagram of an active noise reduction apparatus of a headphone according to an embodiment of the present invention. As shown in fig. 8, the active noise reduction device 800 of the earphone includes:
a microphone array 810 for acquiring a first acoustic signal vector, wherein the microphone array comprises at least one talking microphone and at least one error microphone for acquiring an in-ear noise signal;
a first determining module 820, configured to determine a current noise reduction parameter according to the first acoustic signal vector;
a second determining module 830, configured to determine a noise reduction signal according to the in-ear noise signal and the current noise reduction parameter.
According to the technical scheme provided by the embodiment of the invention, a first sound signal vector acquired by a microphone array arranged on an earphone is acquired, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal; determining a current noise reduction parameter according to the first acoustic signal vector; according to the in-ear noise signals and the current noise reduction parameters, the noise reduction signals are determined, and the active noise reduction parameters can be determined by combining the sound signals collected by the call microphone and the in-ear noise signals collected by the error microphone, so that the noise reduction effect of the feedback active noise reduction earphone is greatly improved, and the active noise reduction earphone has excellent wearing experience and noise reduction performance.
In some embodiments of the present invention, the first determining module 820 is configured to determine a reference sound field basis coefficient vector according to a calibrated sound field basis matrix corresponding to the microphone array and the first acoustic signal vector; determining a current sound field basis matrix corresponding to the microphone array according to the relation between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector, wherein the calibrated sound field basis coefficient vector is determined according to the calibrated sound field basis matrix and a second sound signal vector acquired by the microphone array in a pre-calibrated environment; determining a current sound field base coefficient vector under the current use environment according to the current sound field base matrix and the first sound signal vector; and determining the current noise reduction parameters according to the current sound field base coefficient vector.
In some embodiments of the present invention, the first determining module 820 is configured to: a. adjusting the calibrated noise reduction coefficient according to the current sound field base coefficient vector; b. determining an updated first acoustic signal vector based on the adjusted calibration noise reduction coefficient; c. determining an updated current sound field basis coefficient vector based on the current sound field basis matrix and the updated first sound signal vector; d. when the updated current sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted calibration noise reduction coefficient; e. and e, iteratively executing the steps b, c and d until the updated current sound field base coefficient vector meets the preset optimal condition, and determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
In some embodiments of the present invention, the first determining module 820 is configured to: after the steps b, c and d are executed in the ith iteration, obtaining a current sound field base coefficient vector after 1 time of updating, a current sound field base coefficient vector after 2 times of updating, …, a current sound field base coefficient vector after i-1 times of updating and a current sound field base coefficient vector after i times of updating; judging whether the preset target function converges to the minimum value or not according to the current sound field base coefficient vector after 1 time of updating, the current sound field base coefficient vector after 2 times of updating, …, the current sound field base coefficient vector after i-1 times of updating and the current sound field base coefficient vector after i times of updating; and when the preset target function converges to the minimum value, determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
In some embodiments of the present invention, the calibrated noise reduction factor is determined in a pre-calibration environment by: a. adjusting an initial noise reduction coefficient according to the calibrated sound field base coefficient vector; b. determining an updated second acoustic signal vector based on the adjusted initial noise reduction coefficient; c. determining an updated vector of the base coefficients of the calibrated sound field based on the base matrix of the calibrated sound field and the updated vector of the second acoustic signal; d. when the updated calibration sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted initial noise reduction coefficient; e. and e, iteratively executing the steps b, c and d until the updated calibrated sound field base coefficient vector meets a preset optimal condition, and determining the currently adjusted initial noise reduction coefficient as a calibrated noise reduction coefficient.
In some embodiments of the present invention, the first determining module 820 is configured to determine the current sound field basis matrix according to a relationship between the reference sound field basis coefficient vector and the calibrated sound field basis coefficient vector under a condition that the complexity of the sound field where the headphones are currently located is consistent with the complexity of the sound field when the calibrated sound field basis matrix is determined in the pre-calibration environment.
In some embodiments of the present invention, the second determining module 830 is configured to determine the ambient noise signal delivered to the error microphone according to the in-ear noise signal, the playing signal of the speaker disposed on the earphone, and the secondary acoustic path of the earphone; determining a noise reduction signal based on the ambient noise signal and the current noise reduction parameters passed to the error microphone.
In another embodiment of the present invention, a semi-in-ear active noise reduction earphone is provided, including an active noise reduction device of the earphone as provided in the embodiment of fig. 8.
According to the technical scheme provided by the embodiment of the invention, the noise reduction effect of the semi-in-ear feedback active noise reduction earphone can be greatly improved, so that the active noise reduction earphone has excellent wearing experience and noise reduction performance.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
Fig. 9 is a block diagram of an electronic device 900 according to an embodiment of the invention.
Referring to fig. 9, electronic device 900 includes a processing component 910 that further includes one or more processors, and memory resources, represented by memory 920, for storing instructions, such as applications, that are executable by processing component 910. The application programs stored in memory 920 may include one or more modules that each correspond to a set of instructions. Further, the processing component 910 is configured to execute instructions to perform the active noise reduction method of the headset described above.
The electronic device 900 may also include a power component configured to perform power management for the electronic device 900, a wired or wireless network interface configured to connect the electronic device 900 to a network, and an input-output (I/O) interface. The electronic device 900 may operate based on an operating system, such as Windows Server, stored in the memory 920TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of the electronic device 900, enable the electronic device 900 to perform a method for active noise reduction for headphones.
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 invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or 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.
Each functional unit in the embodiments of the present invention 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that the combination of the features in the present application is not limited to the combination described in the claims or the combination described in the embodiments, and all the features described in the present application may be freely combined or combined in any manner unless contradictory to each other.
It should be noted that the above-mentioned embodiments are only specific examples of the present invention, and obviously, the present invention is not limited to the above-mentioned embodiments, and many similar variations exist. All modifications which would occur to one skilled in the art and which are, therefore, directly derived or suggested from the disclosure herein are deemed to be within the scope of the present invention.
It should be understood that the terms such as first, second, etc. used in the embodiments of the present invention are only used for clearly describing the technical solutions of the embodiments of the present invention, and are not used to limit the protection scope of the present invention.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An active noise reduction method for a headphone, comprising:
acquiring a first sound signal vector acquired by a microphone array arranged on the earphone, wherein the microphone array comprises at least one call microphone and at least one error microphone for acquiring an in-ear noise signal;
determining a current noise reduction parameter according to the first acoustic signal vector;
and determining a noise reduction signal according to the in-ear noise signal and the current noise reduction parameter.
2. The method of claim 1, wherein determining current noise reduction parameters from the first acoustic signal vector comprises:
determining a reference sound field base coefficient vector according to the calibrated sound field base matrix corresponding to the microphone array and the first sound signal vector;
determining a current sound field basis matrix corresponding to the microphone array according to the relation between the reference sound field basis coefficient vector and a calibrated sound field basis coefficient vector, wherein the calibrated sound field basis coefficient vector is determined according to the calibrated sound field basis matrix and a second sound signal vector acquired by the microphone array in a pre-calibrated environment;
determining a current sound field base coefficient vector under the current use environment according to the current sound field base matrix and the first sound signal vector;
and determining the current noise reduction parameters according to the current sound field base coefficient vector.
3. The method of claim 2, wherein determining the current noise reduction parameters according to the current soundfield basis coefficient vector comprises:
a. adjusting the calibrated noise reduction coefficient according to the current sound field base coefficient vector;
b. determining an updated first acoustic signal vector based on the adjusted calibration noise reduction coefficient;
c. determining an updated current sound field basis coefficient vector based on the current sound field basis matrix and the updated first acoustic signal vector;
d. when the updated current sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted calibration noise reduction coefficient;
e. and c, iteratively executing the steps b, c and d until the updated current sound field base coefficient vector meets the preset optimal condition, and determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
4. The method according to claim 3, wherein the iteratively executing steps b, c, d until the updated current sound field basis coefficient vector satisfies the preset optimal condition, and determining the current adjusted calibrated noise reduction coefficient as the current noise reduction coefficient comprises:
after the steps b, c and d are executed in the ith iteration, obtaining a current sound field base coefficient vector after 1 time of updating, a current sound field base coefficient vector after 2 times of updating, …, a current sound field base coefficient vector after i-1 times of updating and a current sound field base coefficient vector after i times of updating;
judging whether a preset target function converges to a minimum value or not according to the current sound field base coefficient vector after 1-time updating, the current sound field base coefficient vector after 2-time updating, …, the current sound field base coefficient vector after i-1-time updating and the current sound field base coefficient vector after i-time updating;
and when the preset target function converges to the minimum value, determining the currently adjusted calibration noise reduction coefficient as the current noise reduction coefficient.
5. A method according to claim 3, wherein the calibrated noise reduction factor is determined in the pre-calibration environment by:
a. adjusting an initial noise reduction coefficient according to the calibrated acoustic field basis coefficient vector;
b. determining an updated second acoustic signal vector based on the adjusted initial noise reduction coefficient;
c. determining an updated calibrated sound field basis coefficient vector based on the calibrated sound field basis matrix and the updated second acoustic signal vector;
d. when the updated calibration sound field base coefficient vector does not meet the preset optimal condition, adjusting the adjusted initial noise reduction coefficient;
e. and c, iteratively executing the steps b, c and d until the updated calibration sound field base coefficient vector meets the preset optimal condition, and determining the current adjusted initial noise reduction coefficient as the calibration noise reduction coefficient.
6. The method of claim 2, wherein determining a current soundfield basis matrix corresponding to the microphone array according to a relationship between the reference soundfield basis coefficient vector and a calibrated soundfield basis coefficient vector comprises:
and under the condition that the complexity of the sound field where the earphone is located at present is consistent with the complexity of the sound field when the calibrated sound field base matrix is determined in the pre-calibration environment, determining the current sound field base matrix according to the relation between the reference sound field base coefficient vector and the calibrated sound field base coefficient vector.
7. The method according to any of claims 1 to 6, wherein said determining a noise reduction signal from said in-ear noise signal and said current noise reduction parameter comprises:
determining an ambient noise signal transmitted to the error microphone according to the in-ear noise signal, a playing signal of a loudspeaker arranged on the earphone and a secondary acoustic path of the earphone;
and determining the noise reduction signal according to the environment noise signal transferred to the error microphone and the current noise reduction parameter.
8. An active noise reduction device for a headphone, comprising:
a microphone array for acquiring a first acoustic signal vector, wherein the microphone array comprises at least one talking microphone and at least one error microphone for acquiring an in-ear noise signal;
a first determining module, configured to determine a current noise reduction parameter according to the first acoustic signal vector;
and the second determining module is used for determining a noise reduction signal according to the in-ear noise signal and the current noise reduction parameter.
9. A semi-in-ear active noise reducing headphone, characterized in that it comprises the active noise reducing means of the headphone according to claim 8.
10. An electronic device, comprising:
a processor;
a memory comprising computer instructions stored thereon that, when executed by the processor, cause the processor to perform the method of active noise reduction for a headset of any of claims 1-7.
CN202110393876.7A 2021-04-13 2021-04-13 Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone Active CN113132846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110393876.7A CN113132846B (en) 2021-04-13 2021-04-13 Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110393876.7A CN113132846B (en) 2021-04-13 2021-04-13 Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone

Publications (2)

Publication Number Publication Date
CN113132846A true CN113132846A (en) 2021-07-16
CN113132846B CN113132846B (en) 2024-05-10

Family

ID=76775949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110393876.7A Active CN113132846B (en) 2021-04-13 2021-04-13 Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone

Country Status (1)

Country Link
CN (1) CN113132846B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114708884A (en) * 2022-04-22 2022-07-05 歌尔股份有限公司 Sound signal processing method and device, audio equipment and storage medium
CN114708884B (en) * 2022-04-22 2024-05-31 歌尔股份有限公司 Sound signal processing method and device, audio equipment and storage medium

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2138007A2 (en) * 2007-03-19 2009-12-30 Sennheiser Electronic GmbH & Co. KG Headset
US20140044275A1 (en) * 2012-08-13 2014-02-13 Apple Inc. Active noise control with compensation for error sensing at the eardrum
US20160196819A1 (en) * 2013-07-28 2016-07-07 Lightspeed Aviation, Inc. System and method for adaptive active noise reduction
US20180190260A1 (en) * 2017-01-05 2018-07-05 Harman Becker Automotive Systems Gmbh Active noise reduction earphones
CN108429950A (en) * 2018-03-22 2018-08-21 恒玄科技(上海)有限公司 The high-efficient noise-reducing earphone and noise reduction system of low-power consumption
CN108600894A (en) * 2018-07-11 2018-09-28 重庆传乐音响科技有限公司 A kind of earphone adaptive active noise control system and method
CN108847250A (en) * 2018-07-11 2018-11-20 会听声学科技(北京)有限公司 A kind of orientation noise-reduction method, system and earphone
CN109314814A (en) * 2018-09-11 2019-02-05 深圳市汇顶科技股份有限公司 Active denoising method and earphone
CN109741727A (en) * 2019-01-07 2019-05-10 哈尔滨工业大学(深圳) Active noise reduction earphone, noise-reduction method and storage medium based on Active noise control algorithm
CN110933554A (en) * 2019-12-13 2020-03-27 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN110972014A (en) * 2019-12-11 2020-04-07 歌尔智能科技有限公司 Parameter adjustment method and device for active noise reduction earphone and wireless earphone
CN110996209A (en) * 2019-12-13 2020-04-10 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN111193977A (en) * 2019-12-13 2020-05-22 恒玄科技(上海)股份有限公司 Noise reduction method of earphone, self-adaptive FIR filter, noise removal filter bank and earphone
CN111800688A (en) * 2020-03-24 2020-10-20 深圳市豪恩声学股份有限公司 Active noise reduction method and device, electronic equipment and storage medium
CN111800687A (en) * 2020-03-24 2020-10-20 深圳市豪恩声学股份有限公司 Active noise reduction method and device, electronic equipment and storage medium
CN111836147A (en) * 2019-04-16 2020-10-27 华为技术有限公司 Noise reduction device and method
CN111883095A (en) * 2020-04-27 2020-11-03 珠海市杰理科技股份有限公司 Active noise reduction method, device and system and related equipment
CN111935589A (en) * 2020-09-28 2020-11-13 深圳市汇顶科技股份有限公司 Active noise reduction method and device, electronic equipment and chip
CN112399301A (en) * 2020-11-18 2021-02-23 维沃移动通信有限公司 Earphone and noise reduction method

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2138007A2 (en) * 2007-03-19 2009-12-30 Sennheiser Electronic GmbH & Co. KG Headset
US20140044275A1 (en) * 2012-08-13 2014-02-13 Apple Inc. Active noise control with compensation for error sensing at the eardrum
US20160196819A1 (en) * 2013-07-28 2016-07-07 Lightspeed Aviation, Inc. System and method for adaptive active noise reduction
US20180190260A1 (en) * 2017-01-05 2018-07-05 Harman Becker Automotive Systems Gmbh Active noise reduction earphones
CN108429950A (en) * 2018-03-22 2018-08-21 恒玄科技(上海)有限公司 The high-efficient noise-reducing earphone and noise reduction system of low-power consumption
CN108600894A (en) * 2018-07-11 2018-09-28 重庆传乐音响科技有限公司 A kind of earphone adaptive active noise control system and method
CN108847250A (en) * 2018-07-11 2018-11-20 会听声学科技(北京)有限公司 A kind of orientation noise-reduction method, system and earphone
CN109314814A (en) * 2018-09-11 2019-02-05 深圳市汇顶科技股份有限公司 Active denoising method and earphone
CN109741727A (en) * 2019-01-07 2019-05-10 哈尔滨工业大学(深圳) Active noise reduction earphone, noise-reduction method and storage medium based on Active noise control algorithm
CN111836147A (en) * 2019-04-16 2020-10-27 华为技术有限公司 Noise reduction device and method
CN110972014A (en) * 2019-12-11 2020-04-07 歌尔智能科技有限公司 Parameter adjustment method and device for active noise reduction earphone and wireless earphone
CN110933554A (en) * 2019-12-13 2020-03-27 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN110996209A (en) * 2019-12-13 2020-04-10 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN111193977A (en) * 2019-12-13 2020-05-22 恒玄科技(上海)股份有限公司 Noise reduction method of earphone, self-adaptive FIR filter, noise removal filter bank and earphone
CN111800688A (en) * 2020-03-24 2020-10-20 深圳市豪恩声学股份有限公司 Active noise reduction method and device, electronic equipment and storage medium
CN111800687A (en) * 2020-03-24 2020-10-20 深圳市豪恩声学股份有限公司 Active noise reduction method and device, electronic equipment and storage medium
CN111883095A (en) * 2020-04-27 2020-11-03 珠海市杰理科技股份有限公司 Active noise reduction method, device and system and related equipment
CN111935589A (en) * 2020-09-28 2020-11-13 深圳市汇顶科技股份有限公司 Active noise reduction method and device, electronic equipment and chip
CN112399301A (en) * 2020-11-18 2021-02-23 维沃移动通信有限公司 Earphone and noise reduction method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AMS公司: "为何半入耳式和封闭式耳机越来越多采用anc技术", 《电子产品世界》, 21 May 2020 (2020-05-21) *
B RESHMA: "active noise cancellation for in-ear headphones implemented fpga", 《2017 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS》, 11 February 2018 (2018-02-11) *
黄悠然: "基于dsp的自适应有源降噪耳罩研究与实现", 《中国优秀硕士论文全文数据库工程科技II辑》, 15 July 2020 (2020-07-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114708884A (en) * 2022-04-22 2022-07-05 歌尔股份有限公司 Sound signal processing method and device, audio equipment and storage medium
CN114708884B (en) * 2022-04-22 2024-05-31 歌尔股份有限公司 Sound signal processing method and device, audio equipment and storage medium

Also Published As

Publication number Publication date
CN113132846B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN111935589B (en) Active noise reduction method and device, electronic equipment and chip
JP6538728B2 (en) System and method for improving the performance of audio transducers based on the detection of transducer status
EP2202998B1 (en) A device for and a method of processing audio data
US9473858B2 (en) Hearing device
CN110996203B (en) Earphone noise reduction method, device and system and wireless earphone
JP2009194769A (en) Apparatus and method for correcting ear canal resonance
TW201804816A (en) Method, system for self-tuning active noise cancellation and headset apparatus
CN113574593B (en) Tuning method, manufacturing method, computer-readable storage medium, and tuning system
CN113115157B (en) Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone
WO2022048334A1 (en) Testing method and apparatus, earphones, and readable storage medium
CN113421540B (en) Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
CN113409755B (en) Active noise reduction method and device and active noise reduction earphone
WO2019086298A1 (en) Method for determining a response function of a noise cancellation enabled audio device
CN113409754B (en) Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
US11264004B2 (en) Parallel noise cancellation filters
CN113132847B (en) Noise reduction parameter determining method and device of active noise reduction earphone and active noise reduction method
CN113299265A (en) Active noise reduction method and device and active noise reduction earphone
CN116567477A (en) Partial HRTF compensation or prediction for in-ear microphone arrays
CN113132846B (en) Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone
US20220141569A1 (en) Multi-mic earphone design and assembly
CN113132848A (en) Filter design method and device and in-ear active noise reduction earphone
US20230292063A1 (en) Apparatus and method for speech enhancement and feedback cancellation using a neural network
US11985485B2 (en) Method of fitting a hearing aid gain and a hearing aid fitting system
US20190289378A1 (en) Method and device for suppression of microphone squeal and cable noise
JP2023153700A (en) Acoustic system and earphone

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