This application claims the benefit of priorities to Chinese Patent Application No. 202111101300.5, filed on Sep. 18, 2021, and Chinese Patent Application No. 202111305486.6, filed on Nov. 5, 2021, both of which are incorporated herein by reference in their entireties.
The present disclosure relates to an active noise control (ANC) method and system for a headphone.
Headphones are widely used by users to enjoy comfortable and enjoyable music listening experience in various noisy environments such as airports, subways, airplanes, restaurants, etc. However, even for the same headphone, a structure difference in each user's ear and ear canal (such as different ear canal lengths, different ear canal widths, reflections, etc.) may cause a different degree of leakage in the headphone, which can weaken an ANC effect of the headphone and affect the user's listening experience. Besides, different wearing manners of the headphone (such as different wearing tightness, different wearing directions, etc.) may also lead to a leakage in the headphone and affect the sound field of the headphone within the ear. The ANC performance of the headphone can be affected, and the user's listening experience through the headphone can be downgraded.
According to one aspect of the present disclosure, an ANC method for a headphone is disclosed. It is determined whether a music signal is played by a speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of an ambient noise signal being greater than a noise threshold, a set of noise feedforward (FF) signals is obtained based on a set of FF microphone signals acquired by a set of FF microphones of the headphone. A noise feedback (FB) signal is obtained based on a first FB microphone signal acquired by a FB microphone of the headphone. A set of leakage monitoring parameters is obtained based on the set of noise FF signals and the noise FB signal. A set of FF filter parameters for a set of FF filters to implement an ANC function in the headphone is adjusted based on the set of leakage monitoring parameters.
According to another aspect of the present disclosure, a headphone with an ANC function is disclosed. The headphone includes a speaker configured to play at least one of a music signal or an ambient noise signal. The headphone includes a set of FF microphones configured to acquire a set of FF microphone signals. The headphone further includes an FB microphone configured to acquire a first FB microphone signal responsive to the ambient noise signal being played by the speaker. The headphone further includes a set of FF filters configured to implement the ANC function in the headphone. The headphone additionally includes a processor configured to determine whether the music signal is played by the speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of the ambient noise signal being greater than a noise threshold, the processor is further configured to obtain a set of noise FF signals based on the set of FF microphone signals; obtain a noise FB signal based on the first FB microphone signal; determine a set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal; and adjust a set of FF filter parameters for the set of FF filters based on the set of leakage monitoring parameters.
According to yet another aspect of the present disclosure, an ANC system for a headphone is disclosed. The ANC system includes a memory storing code and a processor coupled to the memory. When the code is executed, the processor is configured to determine whether a music signal is played by a speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of an ambient noise signal being greater than a noise threshold, the processor is further configured to obtain a set of noise FF signals based on a set of FF microphone signals acquired by a set of FF microphones of the headphone; obtain a noise FB signal based on a first FB microphone signal acquired by an FB microphone of the headphone; determine a set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal; and adjust a set of FF filter parameters for a set of FF filters to implement an ANC function in the headphone based on the set of leakage monitoring parameters.
The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate aspects of the present disclosure and, together with the description, further serve to explain the principles of the present disclosure and to enable a person skilled in the pertinent art to make and use the present disclosure.
The present disclosure will be described with reference to the accompanying drawings.
Although specific configurations and arrangements are discussed, it should be understood that this is done for illustrative purposes only. As such, other configurations and arrangements can be used without departing from the scope of the present disclosure. Also, the present disclosure can also be employed in a variety of other applications. Functional and structural features as described in the present disclosures can be combined, adjusted, and modified with one another and in ways not specifically depicted in the drawings, such that these combinations, adjustments, and modifications are within the scope of the present disclosure.
In general, terminology may be understood at least in part from usage in context. For example, the term “one or more” as used herein, depending at least in part upon context, may be used to describe any feature, structure, or characteristic in a singular sense or may be used to describe combinations of features, structures or characteristics in a plural sense. Similarly, terms, such as “a,” “an,” or “the,” again, may be understood to convey a singular usage or to convey a plural usage, depending at least in part upon context. In addition, the term “based on” may be understood as not necessarily intended to convey an exclusive set of factors and may, instead, allow for existence of additional factors not necessarily expressly described, again, depending at least in part on context.
In an existing noise reduction design for a headphone, an audio alert can be issued to prompt a user to adjust the wearing manner of the headphone when a sound leakage is detected in the headphone. For example, the audio alert may recommend the user to wear the headphone more tightly. Then, a better noise reduction effect can be achieved if the user follows the instruction and changes the wearing manner of the headphone. However, the user may select to ignore the audio alert sometimes. Even if the user follows the instruction to adjust the wearing manner of the headphone, the headphone may not be worn by the user to a degree of tightness sufficient enough for achieving the noise reduction effect. For example, the tightness of the headphone may cause discomfort to the user who usually likes to wear the headphone loosely. In another example, the headphone may be loosened due to walking or head shaking of the user during the usage of the headphone, resulting in an increased leakage in the headphone. In either case, if the audio alert is prompted repeatedly to instruct the user to wear the headphone tightly, it can be annoying, and the user experience of the headphone is downgraded. On the other hand, if the leakage of the headphone is not corrected or compensated, the noise reduction effect of the headphone can be deteriorated, leading to a downgraded listening experience of the headphone.
Further, a transfer function of a headphone can be changed greatly due to different wearing manners of the headphone, which makes an FF noise reduction effect of the headphone unstable. In this case, the headphone mainly relies on an FB filter to reduce the noise. However, the noise reduction bandwidth of the FB filter is relatively narrow, and the FB noise reduction effect is relatively poor.
To address one or more of the issues discussed above, the present disclosure disclosed herein provides an ANC method and system that can compensate for a leakage of a headphone to achieve an improved ANC function. The listening experience of the headphone can be improved for different users (e.g., with different ear canal structures) in different usage scenarios (e.g., with different wearing manners in different environments). The ANC method and system disclosed herein are implemented based on ambient noise or played music signals to achieve the ANC function, which is insensitive to the user (e.g., without any interruption or interference to the user's usage of the headphone), thereby greatly improving the user experience of the headphone.
For example, the ANC method and system disclosed herein can utilize a music signal played by the headphone and a music FB signal obtained from an FB loop to implement the ANC function. In this case, it does not need to deliberately prompt the user to check the wearing tightness of the headphone even if the leakage is detected in the headphone. Thus, an improved ANC effect can be achieved without changing the wearing manner of the headphone. Also, by using the music signal played by the headphone for the ANC function, it has no need to play any extra audio signal designated for the ANC, so that any discomfort that may be incurred by the playing of the extra audio signal can be avoided. Thus, the listening experience of the headphone can be improved.
In another example, the ANC method and system disclosed herein can utilize an FF loop with a set of FF paths to implement the ANC function. The set of FF paths may include a set of FF microphones and a set of FF filters, respectively (e.g., each FF path may include a corresponding FF microphone and a corresponding FF filter). The set of FF paths can be treated as a set of independent FF noise reduction paths, whose FF filter configurations can be conveniently and adaptively configured for different wearing manners. This adaptive adjustment of the FF paths can solve the issue of unstable FF noise reduction effect under different headphone wearing manners. Thus, the ANC effect of the headphone can be improved, and the listening experience of the headphone can be enhanced for the user.
In some implementations, the set of FF filters in the set of FF paths can be tuned for the ANC function sequentially, and a set of leakage monitoring parameters can be determined for the set of FF filters sequentially based on the sequential tuning of the set of FF filters. Then, a set of FF filter parameters for the set of FF filters can be adjusted sequentially based on the sequential determination of the set of leakage monitoring parameters. As a result, the set of FF filters can be adaptively adjusted to appropriate ANC settings one by one to achieve the improved ANC function disclosed herein. In an exemplary scenario when the user wears the headphone but does not play any music, an improved ANC effect can also be achieved through (a) the determination of the leakage monitoring parameters based on an ambient noise signal and (b) the sequential adjustment of the FF filters based on the leakage monitoring parameters.
Through the application of the set of independent FF noise reduction paths (e.g., with the set of FF filters adjusted to the appropriate ANC settings), an ambient noise signal from an external environment can be separately acquired by the set of FF microphones and processed by the set of FF filters to generate a set of FF-filtered noise signals, respectively. The set of FF-filtered noise signals can be aggregated into a combined noise signal and played by a speaker of the headphone. For example, the combined noise signal can be an average or a sum of the set of FF-filtered noise signals, which are random noises and independent from each other. Thus, a noise floor of the ANC method and system disclosed herein can be reduced due to the aggregation operation of the noise signals. A signal-to-noise ratio (SNR) of the headphone can be effectively improved. Besides, an existing high SNR (e.g., 69 dB) requirement on the FF microphones can be lowered due to the improved SNR of the headphone, so that the cost of the headphone can be reduced.
Audio receiving unit 105 may be an antenna for wirelessly receiving an audio signal from an audio source (not shown) or an audio cable connected to the audio source for transmitting the audio signal to processor 102. The audio source may include, but not limited to, a handheld device (e.g., dumb or smart phone, tablet, etc.), a wearable device (e.g., eyeglasses, wrist watch, etc.), a radio, a music player, an electronic musical instrument, an automobile control station, a gaming console, a television set, a laptop computer, a desktop computer, a netbook computer, a media center, a set-top box, a global positioning system (GPS), or any other suitable device. In some implementations, the audio signal may include a music signal from a music source, such as a phone or a music player.
Speaker 104 may be any suitable electroacoustic transducer that converts an electrical signal (e.g., representing the audio information provided by the audio source) to a corresponding audio sound. In some implementations, speaker 104 may be configured to play audio based on the audio signal.
FB microphone 103 may be any transducer that converts an audio sound into an electrical signal (referred to as a microphone signal herein). FB microphone 103 may be disposed inside the ear canal when headphone 100 is worn by the user, and is configured to obtain an FB microphone signal based on the audio played by speaker 104. That is, by disposing FB microphone 103 inside the user's ear canal, any sound in the ear canal can be obtained by FB microphone 103, which includes the audio signal currently being played by speaker 104 and any noise that enters the ear canal (e.g., due to a loose wearing manner of the headphone).
FF microphone set 107 may include a set of FF microphones disposed on the outside of headphone 100. FF microphone set 107 may be configured to capture an ambient noise signal surrounding the outside of headphone 100 and acquire a set of FF microphone signals thereof. That is, by disposing the set of FF microphones outside headphone 100 in different locations, an ambient noise signal in the environment can be captured by the set of FF microphones from different directions to generate a set of FF microphone signals, respectively. The ambient noise signal may include any environmental noise, a music signal component leaked to the external environment when a music signal is played by speaker 104, or a combination thereof.
Processor 102 may be coupled to memory 101. In some implementations, processor 102 may be configured to perform the ANC function disclosed herein. Processor 102 may include any appropriate type of microprocessor, central processing unit (CPU), graphics processing unit (GPU), digital signal processor, or microcontroller suitable for audio processing. Processor 102 may include one or more hardware units (e.g., portion(s) of an integrated circuit) designed for use with other components or to execute part of an audio processing program. The program may be stored on a computer-readable medium, and when executed by processor 102, it may perform one or more functions disclosed herein. Processor 102 may be configured as a separate processor module dedicated to performing leakage compensation. Alternatively, processor 102 may be configured as a shared processor module for performing other functions unrelated to the ANC.
Processor 102 may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a processor executing any other type of instruction sets, or a processor that executes a combination of different instruction sets. In some implementations, processor 102 may be a special-purpose processor rather than a general-purpose processor. Processor 102 may include one or more special-purpose processing devices, such as application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), systems on a chip (SoCs), and the like.
In some implementations, processor 102 may include an ANC module 109 configured to perform the ANC function disclosed herein. ANC module 109 is described below in more detail with reference to
Memory 101 may include any appropriate type of mass storage provided to store any type of information that processor 102 may need to operate. For example, memory 101 may be a volatile or non-volatile, magnetic, semiconductor-based, tape-based, optical, removable, non-removable, or other type of storage device or tangible (i.e., non-transitory) computer-readable medium including, but not limited to, a Read-Only Memory (ROM), a flash memory, a dynamic Random Access Memory (RAM), and a static RAM. Memory 101 may be configured to store one or more computer programs that may be executed by processor 102 to perform functions disclosed herein. Memory 101 may be further configured to store information and data used by processor 102.
Referring to
The FB loop may include FB microphone 103, an amplifier 220, an analog-to-digital converter (ADC) a downsample filter 224, an FB filter 228, and a limiter 218. In some implementations, in the FB loop, the audio played by speaker 104 can be obtained by FB microphone 103 along with environmental noises in the ear canal in which FB microphone 103 is disposed. FB microphone 103 can generate an FB microphone signal including at least one of: (a) a noise FB microphone signal associated with an ambient noise signal; (b) a music FB microphone signal based on the music signal being played by speaker 104; or (c) a combination of the noise FB microphone signal and the music FB microphone signal. That is, the FB microphone signal obtained by FB microphone 103 is based on either the audio of interest (e.g., the music signal) or the noise to be reduced or removed, or a combination of both, according to some implementations. In some implementations, the FB microphone signal may be amplified (e.g., with a rate between 0-1) by amplifier 220. In some implementations, the FB microphone signal is an analog signal that can be converted by ADC 222 to a digital signal. In some implementations, the FB microphone signal can further be downsampled by downsample filter 224 to generate a downsampled FB signal, which may include at least one of a noise FB signal, a music FB signal, or a combination of both. The downsampling operation may reduce the order of the filter and thus reduce the size of the functioning circuit of the headphone, and therefore the production cost is reduced.
FB filter 228 may be operatively coupled to downsample filter 224. FB filter 228 may be any suitable digital filters, such as a finite impulse response (FIR) filter, an infinite impulse response (IIR) filter, or a combination of FIR and IIR filters. In some implementations, FB filter 228 may be configured to receive the downsampled FB signal (e.g., the noise FB signal, the music FB signal, or a combination of both) from downsample filter 224 and generate an FB-filtered signal (e.g., an FB-filtered noise signal, an FB-filtered music signal, or a combination of both). FB filter 228 may be a static filter or an adaptive filter.
Limiter 218 may be configured between FB filter 228 and an adder 212. Limiter 218 may be arranged before DAC 214 to perform the anti-saturation function to compress the amplitude of the signal, for example, by dynamic range compression (DRC) when it is above a threshold, thereby avoiding saturation of low-frequency noise, e.g., below 100 Hz. The low-frequency noise can be caused by, for example, motion (e.g., bumps on the road) and touching the microphones. The low-frequency noises can have relatively large amplitudes, which can cause saturation in the FB loop, the FF loop, or both. For example, limiter 218 may have a first signal amplitude threshold T1, a second signal amplitude threshold T2, and a third signal amplitude threshold T3, which have values from small to large, respectively, in this order. When the amplitude of the input signal of limiter 218 is between the first and third signal amplitude thresholds T1 and T3, the amplitude of the output signal of limiter 218 may be compressed to a value between the first and second signal amplitude thresholds T1 and T2. When the amplitude of the input signal of limiter 218 is above the third signal amplitude threshold T3, the amplitude of the output signal of limiter 218 may be compressed to the second signal amplitude threshold T2. When the amplitude of the input signal of limiter 218 is below the first signal amplitude threshold T1, limiter 218 may not compress the amplitude of the input signal.
In some implementations, the FB loop may optionally include an echo-cancel filter 216 and a subtracter 226 (illustrated using dashed lines in
The FF loop may include FF microphone set 107, an amplifier set 202, an ADC set 204, a downsample filter set 206, an FF filter set 208, and a limiter 209. FF microphone set 107 may include a set of FF microphones (e.g., one or more FF microphones) disposed in different locations on the outside of the headphone. Correspondingly, amplifier set 202 may include a set of amplifiers (e.g., one or more amplifiers); ADC set 204 may include a set of ADCs (e.g., one or more ADCs); downsample filter set 206 may include a set of downsample filters (e.g., one or more downsample filters); and FF filter set 208 may include a set of FF filters (e.g., one or more FF filters). The FF loop may include a set of FF paths, with each FF path including an FF microphone from FF microphone set 107, an amplifier from amplifier set 202, an ADC from ADC set 204, a downsample filter from downsample filter set 206, and an FF filter from FF filter set 208. For example, the FF loop may include an FF path as shown below in
FF filter set 208 may be operatively coupled to downsample filter set 206. FF filter set 208 may include any suitable digital filters, such as FIR filters, IIR filters, or a combination of FIR and IIR filters. Limiter 209 may have a structure like that of limiter 218, and the similar description is not repeated herein.
In some implementations, as described below in more detail with reference to
In some implementations, as described below in more detail reference to FIGS. 5-6, ANC module 109 may determine a leakage condition parameter of the headphone based on the music signal and the music FB signal. ANC module 109 may adjust an FF filter parameter for at least an FF filter in FF filter set based on the leakage condition parameter and a predetermined matching relationship between a group of reference filter parameters and a group of reference leakage condition parameters, so that an improved ANC function can be achieved.
In some implementations, a set of FF microphone signals may be obtained by FF microphone set 107 disposed outside the ear canal of the user when the headphone is worn. For example, FF microphone set 107 may generate the set of FF microphone signals based on an ambient noise signal present in the external environment. In some implementations, the set of FF microphone signals may be amplified (e.g., with a weight between 0-1) by amplifier set 202. In some implementations, the set of FF microphone signals includes a set of analog signals that can be converted by ADC set 204 to a set of digital signals. In some implementations, the set of digital signals may further be downsampled by downsample filter set 206 to generate a set of noise FF signals. This downsampling operation may reduce the order of the filter and thus reduce the size of the functioning circuit of the headphone and reduce the cost. When FF filters in FF filter set 208 are already tuned for the ANC function, FF filter set 208 may be configured to receive the set of noise FF signals from downsample filter set 206 and generate a set of FF-filtered noise signals accordingly. The set of FF-filtered noise signals generated by FF filter set 208 may be aggregated together to generate a combined noise signal through adder 212. The combined noise signal may be processed by limiter 209.
As shown in 2A, the headphone may implement the ANC function through the FF loop, the FB loop, or a combination of the FF loop and the FB loop. The activation of FF filter set 208, FB filter 228, and/or echo cancel filter 216 for the ANC function may be determined based on, for example, the actual noise reduction need, a trade-off between the ANC effect and the power consumption, or a trade-off between the ANC effect and a time duration needed to achieve the ANC function, etc. For example, when a noise level of the ambient noise signal is relatively large (e.g., greater than a noise threshold), FF filter set 208 in the FF loop may be activated. In this case, if there is no music signal played by speaker 104, and FB filter 228 is also activated, echo cancel filter 216 in the FB loop may be deactivated to save the power consumption. If there is a music signal played by speaker 104, and FB filter 228 in the FB loop is also activated, echo cancel filter 216 may be activated. That is, when the FF loop is activated for the ANC function, a residual noise signal may still exist even if the ambient noise signal is already processed by FF filters in the FF loop. In this case, the FB loop can also be activated and applied for the ANC function to further reduce or eliminate the residual noise signal, so that the ANC effect of the headphone can be further improved.
In some implementations, when the FF loop and the FB loop are activated for the ANC function, and each FF filter in FF filter set 208 is already tuned for the ANC function, a music signal from audio source 210 (which is to be played by speaker 104) may be added with the combined noise signal from the FF loop and the FB-filtered signal from the FB loop to generate a noise and music combined signal through adder 212. The combined noise signal and ambient noise that reaches the user's ear canal may be cancelled out with each other in the air to achieve the noise reduction effect. The FB-filtered signal from the FB loop can be generated as follows: (1) echo-cancelled filter 216 may be activated and configured to subtract the music FB microphone signal included in the FB microphone signal based on the music signal from audio source 210, with an output signal from echo-cancel filter 216 to be subtracted from the downsampled FB signal (e.g., the music FB signal or a combination of the music FB signal and the noise FB signal) through subtracter 226 to generate an echo-cancelled audio signal; (2) the echo-cancelled audio signal may be processed by FB filter 228 to generate the FB-filtered signal. In this case, the impact of the FB ANC on the low frequency part of the music signal can be avoided. The noise and music combined signal may be processed by DAC 214 and then played by speaker 104, so that an ANC effect can be improved in the headphone. Therefore, the listening experience of the headphone can be enhanced.
Consistent with the present disclosure, a set of FF microphone noise floor signals (as well as the set of FF-filtered noise signals) are random noises. By aggregating the set of FF-filtered noise signals (e.g., N FF-filtered noise signals) to generate the combined noise signal, a noise floor of the FF loop may increase by times of √{right arrow over (N)} whereas a signal strength of the FF loop may increase by times of N, where N denotes a total number of FF paths in the headphone. Thus, a signal-to-noise ratio (SNR) of the FF loop may increase by 20 log10√{right arrow over (N)}. Thus, an existing high SNR requirement on the FF microphones (e.g., a high SNR of 69 dB) can be lowered, and a cost of the headphone can be reduced. Also, a noise floor of the entire ANC system can also be lowered.
Consistent with the present disclosure, a frequency band of interest mentioned herein may refer to a frequency band where the noise reduction effect is unstable. For example, for a noise-cancelling headset with two earmuffs connected by a band, the earmuffs have a relatively large size, and a change in the wearing manner of the headset may be relatively large when the headset is worn by a user at different times, leading to a relatively large change in a transfer function of the headset. Thus, a low-frequency noise reduction effect of the feedforward noise reduction may be unstable. Through experiments, it is found that a frequency band with the unstable low-frequency noise reduction effect in the feedforward noise reduction is concentrated in 100-2500 Hz. Therefore, the frequency band of interest disclosed herein may be set to be 100-2500 Hz. For example, a frequency band of interest for each downsample filter in downsample filter set 206 may be configured according to actual application needs. Considering that different headphone wearing manners may cause an unstable noise reduction effect of the filters in mid-low frequencies, an exemplary frequency band of interest for each downsample filter may be set in a range of 100-2500 Hz.
Referring to
In some implementations, an FF microphone signal may be obtained by FF microphone 251 disposed outside the ear canal of the user when the headphone is worn. For example, FF microphone 251 may generate an FF microphone signal based on an ambient noise signal present in the external environment. In some implementations, the FF microphone signal may be amplified (e.g., with a weight between 0-1) by amplifier 252. In some implementations, the FF microphone signal is an analog signal that can be converted by ADC 254 to a digital signal. In some implementations, the digital signal may further be downsampled by downsample filter 256 to generate a noise FF signal. This downsampling operation may reduce the order of the filter and thus reduce the size of the functioning circuit of the headphone. FF filter 258 may be configured to generate an FF-filtered noise signal based on the noise FF signal from downsample filter 256. Then, the FF-filtered noise signal may be processed by limiter 209.
In some implementations, as described below in more detail with reference to
In some implementations, when the FF loop and the FB loop are activated for the ANC function and FF filter 258 is tuned for the ANC function, a music signal from audio source 210 (which is to be played by speaker 104) may be added with the FF-filtered noise signal from the FF loop and the FB-filtered signal from the FB loop to generate a noise and music combined signal through adder 212. The FF-filtered noise signal and the ambient noise that reaches the user's ear canal may be cancelled out with each other in the air to achieve the noise reduction effect. The FB-filtered signal from the FB loop can be generated as follows: (1) echo-cancel filter 216 may be activated and configured to subtract the music FB microphone signal included in the FB microphone signal based on the music signal from audio source 210, with an output signal from echo-cancel filter 216 to be subtracted from the downsampled FB signal through subtracter 226 to generate an echo-cancelled audio signal; (2) the echo-cancelled audio signal may be processed by FB filter 228 to generate the FB-filtered signal. In this case, the impact of the FB ANC on the low frequency part of the music signal can be avoided. The noise and music combined signal signal may be processed by DAC 214 and then played by speaker 104, so that an ANC effect can be improved in the headphone. Therefore, the listening experience of the headphone can be enhanced.
Referring to
With reference to
In some implementations, as described below in more detail with reference to FIGS. 4C-4D, ANC module 109 may determine leakage monitoring parameters for the first and second FF paths, and adjust FF filter parameters for FF filters 258a and 258b based on the leakage monitoring parameters, so that an improved ANC function can be achieved. For example, initially, FF filter 258a can be tuned, and FF filter 258b can be kept in a current state (e.g., in a current setting). In some examples, the current state can be in a default setting or a non-default current setting of FF filter 258b. A first leakage monitoring parameter for the first FF path can be determined, and a first FF filter parameter for FF filter 258a can be adjusted based on the first leakage monitoring parameter. Subsequently, FF filter 258a is kept in a tuned state (e.g., the first FF filter parameter being already adjusted based on the first leakage monitoring parameter), and FF filter 258b can be tuned next. A second leakage monitoring parameter for the second FF path can be determined, and a second FF filter parameter for FF filter 258b can be adjusted based on the second leakage monitoring parameter.
In some implementations, as described below in more detail with reference to
In the first FF path, a first FF microphone signal may be obtained by FF microphone 251a based on an ambient noise signal when the headphone is worn by the user. The first FF microphone signal may be amplified by amplifier 252a, processed by ADC 254a, and downsampled by downsample filter 256a to generate a first noise FF signal. Similarly, in the second FF path, a second FF microphone signal may be obtained by FF microphone 251b based on the ambient noise signal. The second FF microphone signal may be amplified by amplifier 252b, processed by ADC 254b, and downsampled by downsample filter 256b to generate a second noise FF signal.
When both FF filter 258a and FF filter 258b are already tuned for the ANC function, a first FF-filtered noise signal generated by FF filter 258a based on the first noise FF signal and a second. FF-filtered noise signal generated by FF filter 258b based on the second noise FF signal may be integrated into a combined noise signal through adder 282. For example, the combined noise signal may be an average or a sum of the first and second FF-filtered noise signals. Then, limiter 209 may process the combined noise signal correspondingly.
In some implementations, when (a) the FF loop and the FB loop are activated for the ANC function and (b) both FF filters 258a and 258b are already tuned, a music signal from audio source 210 (which is to be played by speaker 104) may be added with the combined noise signal from the FF loop and the FB-filtered signal from the FB loop to generate a noise and music combined signal through adder 212. The FB-filtered signal from the FB loop can be generated as follows: (1) echo-cancel filter 216 may be activated and configured to subtract the music FB microphone signal included in the FB microphone signal based on the music signal from audio source 210, with an output signal from echo-cancel filter 216 to be subtracted from the downsampled FB signal through subtracter 226 to generate an echo-cancelled audio signal; (2) the echo-cancelled audio signal may be processed by FB filter 228 to generate the FB-filtered signal. The noise and music combined signal may be processed by DAC 214 and then played by speaker 104, so that an ANC effect can be improved in the headphone. Therefore, the listening experience of the headphone can be enhanced.
Referring to
Referring to
In the first FF path, a first FF microphone signal may be obtained by FF microphone 251a based on an ambient noise signal when the headphone is worn by the user. The first FF microphone signal may be amplified by amplifier 252a, processed by ADC 254a, and downsampled by downsample filter 256a to generate a first noise FF signal. Similarly, in the second FF path, a second FF microphone signal may be obtained by FF microphone 251b based on the ambient noise signal, processed by ADC 254b, and downsampled by downsample filter 256b to generate a second noise FF signal. In the third FF path, a third FF microphone signal may be obtained by FF microphone 251c based on the ambient noise signal, processed by ADC 254c, and downsampled by downsample filter 256c to generate a third noise FF signal. In the fourth FF path, a fourth FF microphone signal may be obtained by FF microphone 251d based on the ambient noise signal, processed by ADC 254d, and downsampled by downsample filter 256d to generate a fourth noise FF signal.
FF filters 258a-258d may be tuned sequentially, and a set of leakage monitoring parameters may be determined sequentially based on the sequential tuning of the set of FF filters. A set of FF filter parameters for FF filters 258a-258d may be adjusted sequentially based on the sequential determination of the set of leakage monitoring parameters. When all of FF filters 258a-258d are already tuned, FF filter 258a may be configured to generate a first FF-filtered noise signal based on the first noise FF signal from downsample filter 256a; FF filter 258b may be configured to generate a second FF-filtered noise signal based on the second noise FF signal from downsample filter 256b; FF filter 258c may be configured to generate a third FF-filtered noise signal based on the third noise FF signal from downsample filter 256c; and FF filter 258d may be configured to generate a fourth FF-filtered noise signal based on the fourth noise FF signal from downsample filter 256d. The first, second, third, and fourth FF-filtered noise signals may be integrated into a combined noise signal.
For example, the combined noise signal may be an average of the first, second, third, and fourth FF-filtered noise signals. In another example, since the sequential tuning and adjustment of FF filters 258a-258d takes into account the overall noise reduction effect, the combined noise signal can be a sum of the first, second, third, and fourth FF-filtered noise signals (rather than an average of the first, second, third, and fourth FF-filtered noise signals).
Subsequently, the headphone of
Compared with the headphone of
With reference to
For example, referring back to
In the above equation (1), Noise_datai denotes the bandpass-filtered noise FF signal at an ith sampling time (1≤i≤I), where I denotes a total number of sampling times. The summation operation in equation (1) is summing over the total number of sampling times. Error_datai denotes the bandpass-filtered noise FB signal at the ith sampling time. * denotes a multiplication operation.
When the leakage monitoring parameter (DetVal) has a positive value, it indicates that a gain of FF filter 258 is relatively large (e.g., exceeding an expected gain). A larger absolute value of DetVal may indicate that the gain of FF filter 258 exceeds the expected gain more. When the leakage monitoring parameter (DetVal) has a negative value, it indicates that the gain of FF filter 258 is relatively small (e.g., below the expected gain). A larger absolute value of DetVal may indicate that the gain of FF filter 258 is below the expected gain more, and the gain of FF filter 258 needs to be compensated more. In some implementations, the leakage monitoring parameter (DetVal) may indicate a matching degree between a setting of FF filter 258 and a leakage condition of the headphone. If the matching degree between the setting of FF filter 258 and the leakage condition of the headphone is high, the leakage monitoring parameter (DetVal) may approach a zero value.
ANC module 109 may adjust an FF filter parameter of FF filter 258 based on the leakage monitoring parameter. For example, responsive to the leakage monitoring parameter being positive (e.g., having a positive value), ANC module 109 may reduce a gain of FF filter 258, reduce a gain of the FF path, or adjust another parameter of FF filter 258 to make the leakage monitoring parameter fall within a predetermined range. Responsive to the leakage monitoring parameter being negative (e.g., having a negative value), ANC module 109 may increase the gain of FF filter 258, increase the gain of the FF path, or adjust another parameter of FF filter 258 to make the leakage monitoring parameter fall within the predetermined range. The predetermined range for the leakage monitoring parameter can be in a range between [−α, α], where α denotes a predetermined positive threshold. In some implementations, the adjustment of the gain of FF filter 258, the gain of the FF path, or another parameter of FF filter 258 can be performed gradually with a fixed step size in real time or near real time. In some implementations, if the leakage monitoring parameter already falls within the predetermined range, there is no need to adjust the gain or another FF filter parameter of FF filter 258.
Specifically, with reference to
For example, referring back to
Next, with reference to
For example, referring back to
Subsequently, with reference to
For example, referring back to
Further, with reference to
For example, referring back to
It is contemplated that in some implementations, the FF filters in the FF loop can also be tuned separately or individually (e.g., not sequentially). A noise signal generated by the filtering of the ambient noise signal through the FF filters and a part of the ambient noise signal that reaches inside the ear canal directly can cancel out with each other in the air, with a residual noise signal after the cancellation satisfies a predetermined condition. The FF filter parameters for respective FF filters can be adjusted under different wearing manners. Each FF filter can be separately adjusted with its corresponding FF microphone facing a different direction, so that a smooth noise reduction effect can be achieved. Since each FF filter is adjusted independently, an average processing can be performed on the FF-filtered noise signals (e.g., the combined noise signal being an average of the FF-filtered noise signals), so that an overall gain of the FF loop can be an average of the gains of the FF paths to avoid an over-large overall gain.
In some implementations, during the separate tuning (or individual tuning) of the FF filters, a transfer function of a transmission path from the outside of the headphone to the inside of the ear can be determined. The transfer function can be used to represent a noise-reduction residual signal output by the FF loop. Therefore, the FF filter parameters of the corresponding FF filters can be determined based on the transfer function.
Specifically, ANC module 109 may determine a frequency response of an acoustic path between speaker 104 and FB microphone 103 based on the music signal and the music FB signal. An exemplary method for determining the frequency response of the acoustic path is illustrated below with reference to
Next, ANC module 109 may determine a leakage condition parameter that matches the frequency response of the acoustic path based on a first predetermined matching relationship between a group of reference frequency responses of the acoustic path and a group of reference leakage condition parameters. The leakage condition parameter may indicate a leakage condition of the headphone (e.g., a slight leakage, a moderate leakage, or a severe leakage, etc.). For example, ANC module 109 may determine, from the group of reference frequency responses, a reference frequency response that matches the frequency response. The reference frequency response matches the frequency response if a maximum difference between the reference frequency response and the frequency response is not greater than a predetermined matching threshold. Then, ANC module 109 may determine, from the group of reference leakage condition parameters, a reference leakage condition parameter corresponding to the reference frequency response to be the leakage condition parameter.
In some implementations, the first predetermined matching relationship between the group of reference frequency responses of the acoustic path and the group of reference leakage condition parameters may be determined during the design phase of the headphone with respect to different leakage conditions of the headphone. For example, each reference frequency response of the acoustic path may correspond to a leakage condition of the headphone, which can be described by a corresponding reference leakage condition parameter. In this case, a matching relationship between each reference frequency response and a corresponding reference leakage condition parameter can be established.
For example, the correspondence between each reference frequency response and the leakage condition (or the corresponding reference leakage condition parameter) of the headphone may be pre-measured or predetermined in the design phase in various usage scenarios corresponding to various leakage conditions of the headphone. The various usage scenarios may be determined by different wearing manners and different ear canal structures of the users (or artificial ears). For example, different wearing manners (such as different wearing tightness, different wearing directions, etc.) and different ear canal structures (such as different ear canal lengths, different ear canal widths, etc.) may have different impacts on the leakage of headphone, which correspond to different usage scenarios of the headphone.
Subsequently, ANC module 109 may adjust an FF filter parameter for at least one of the FF filters based on the leakage condition parameter and a second predetermined matching relationship between a group of reference filter parameters and a group of reference leakage condition parameters. For example, ANC module 109 may determine the leakage condition parameter to be a reference leakage condition parameter corresponding to the reference frequency response that matches the frequency response of the headphone. Then, ANC module 109 may determine, from the group of reference filter parameters, a reference filter parameter that corresponds to the reference leakage condition parameter based on the second predetermined matching relationship between the group of reference filter parameters and the group of reference leakage condition parameters. ANC module 109 may determine an FF filter parameter for at least an FF filter from the set of FF filters based on the reference filter parameter. For example, the FF filter parameter may be configured to be the reference filter parameter.
In some implementations, the correspondence between each reference filter parameter and a corresponding reference leakage condition parameter of the headphone may be pre-measured or predetermined in the design phase in various usage scenarios corresponding to various leakage conditions of the headphone. For example, in the design phase, different reference filter parameters of the FF filter can be determined under different usage scenarios of the headphone (such as the headphone being worn very loosely, loosely, tightly, or very tightly, etc.), which correspond to different leakage conditions of the headphone. For each of the reference leakage conditions, a filter parameter for the FF filter can be updated automatically or manually until ambient noise cancellation achieves a satisfactory ANC effect (e.g., until a tuner of the headphone determines that the reverse ambient noise played by speaker 104 achieves a satisfactory ambient noise cancellation experience). In this case, the updated filter parameter that achieves the satisfactory ANC effect can be determined to be a reference filter parameter for the reference leakage condition. Thus, by performing similar operations for the group of reference leakage condition parameters, a group of reference filter parameters can be determined for the group of reference leakage condition parameters, respectively, so that a matching relationship between the group of reference filter parameters and the group of reference leakage condition parameters is established.
Consistent with the present disclosure, by determining the leakage condition parameter and adjusting a setting of at least one of the FF filters based on the leakage condition parameter, an improved ANC function can be achieved. For example, even if the wearing manner of the headphone is not changed by the user (e.g., a leakage condition of the headphone is unchanged), an ANC effect of the headphone can be improved by changing the setting of at least one of the FF filters.
Filter coefficients of adaptive filter 603 can be obtained through an adaptive adjustment based on the music signal and the music FB signal and can be transformed into a frequency domain (e.g., using a fast Fourier transform (FFT)), so that a frequency response (e.g., an amplitude frequency response) of adaptive filter 603 can be obtained as the frequency response of the acoustic path from speaker 104 to FB microphone 103.
At operation 702, ANC module 109 may determine a noise level of an ambient noise signal.
At operation 704, ANC module 109 may determine whether the noise level of the ambient noise signal is greater than a first noise threshold. Responsive to the noise level of the ambient noise signal being greater than the first noise threshold, process 700 may proceed to operation 708. Otherwise, process 700 may proceed to operation 706.
At operation 706, ANC module 109 may reset ANC filters to default settings. For example, ANC module 109 may reset a set of FF filters in the headphone to a set of default settings, respectively.
At operation 708, ANC module 109 may determine whether a music signal is played by a speaker of the headphone. Responsive to the music signal being played, process 700 may proceed to operation 710. Otherwise, process 700 may proceed to operation 718.
At operation 710, ANC module 109 may determine a signal strength of the music signal in a frequency band of interest.
At operation 712, ANC module 109 may determine whether the signal strength of the music signal in the frequency band of interest is greater than a music threshold. Responsive to the signal strength of the music signal in the frequency band of interest being greater than the music threshold, process 700 may proceed to operation 714. Otherwise, process 700 may proceed to operation 716.
At operation 714, ANC module 109 may calculate a set of leakage monitoring parameters for the set of FF filters and adjust a set of FF filter parameters for the set of FF filters based on the set of leakage monitoring parameters. For example, ANC module 109 may perform operations like those described above with reference to
At operation 716, ANC module 109 may keep current settings of the ANC filters. For example, ANC module 109 may keep current settings of the set of FF filters. In some implementations, ANC module 109 may reset the set of FF filters to a set of default settings, respectively.
At operation 718, ANC module 109 may determine whether the noise level of the ambient noise signal is greater than a second noise threshold. Responsive to the noise level of the ambient noise signal being greater than the second noise threshold, process 700 may proceed to operation 720. Otherwise, process 700 may return to operation 716. The second noise threshold may be equal to or greater than the first noise threshold.
At operation 720, ANC module 109 may determine a leakage condition parameter and adjust an FF filter parameter for at least an FF filter in the set of FF filters based on the leakage condition parameter. For example, ANC module 109 may perform operations like those described above with reference to
Consistent with the present disclosure, FF loops (including FF microphones and FF filters) of a headphone can be configured according to a type of the headphone. For example, a total number of the FF microphones can be different for different types of headphones. In another example, the FF microphones may be configured at different locations for the different headphones. In yet another example, a voice microphone (e.g., a microphone used for capturing a user's voice) installed in a headphone (e.g., a semi-in-ear headphone, or an in-ear headphone) can be reused as an FF microphone when the headphone has a relatively small size.
Referring to
Referring to
At operation 1104 as illustrated in
At operation 1106 as illustrated in
At operation 1108 as illustrated in
Method 1100 proceeds to operation 1110 as illustrated in
Method 1100 proceeds to operation 1112 as illustrated in
Method 1100 proceeds to operation 1114 as illustrated in
Referring to
At operation 1118 as illustrated in
At operation 1122 as illustrated in
Method 1100 proceeds to operation 1124 as illustrated in
Method 1100 proceeds to operation 1126 as illustrated in
Method 1100 proceeds to operation 1128 as illustrated in
Method 1200 may be an exemplary implementation of operations 1108-1114 in
Referring to
Method 1200 proceeds to operation 1204, as illustrated in
Method 1200 proceeds to operation 1206, as illustrated in
Method 1200 proceeds to operation 1208, as illustrated in
Method 1200 proceeds to operation 1210, as illustrated in
Method 1200 proceeds to operation 1212, as illustrated in
Method 1200 proceeds to operation 1214, as illustrated in
Method 1200 proceeds to operation 1216, as illustrated in
Method 1200 proceeds to operation 1218, as illustrated in
Method 1200 proceeds to operation 1220, as illustrated in
Method 1200 proceeds to operation 1222, as illustrated in
Method 1200 proceeds to operation 1224, as illustrated in
Method 1200 proceeds to operation 1226, as illustrated in
Referring to
Method 1300 proceeds to operation 1304, as illustrated in
According to one aspect of the present disclosure, an ANC method for a headphone is disclosed. It is determined whether a music signal is played by a speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of an ambient noise signal being greater than a noise threshold, a set of noise FF signals is obtained based on a set of FF microphone signals acquired by a set of FF microphones of the headphone. A noise FB signal is obtained based on a first FB microphone signal acquired by a FB microphone of the headphone. A set of leakage monitoring parameters is obtained based on the set of noise FF signals and the noise FB signal. A set of FF filter parameters for a set of FF filters to implement an ANC function in the headphone is adjusted based on the set of leakage monitoring parameters.
In some implementations, the set of FF microphones includes an FF microphone configured to acquire an FF microphone signal based on the ambient noise signal. The set of noise FF signals includes a noise FF signal generated from the FF microphone signal. The set of FF filters includes an FF filter. Determining the set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal includes determining a leakage monitoring parameter based on the noise FF signal and the noise FB signal.
In some implementations, determining the leakage monitoring parameter based on the noise FF signal and the noise FB signal includes: filtering the noise FF signal using a first bandpass filter to generate a bandpass-filtered noise FF signal; filtering the noise FB signal using a second bandpass filter to generate a bandpass-filtered noise FB signal; and generating the leakage monitoring parameter based on the bandpass-filtered noise FF signal and the bandpass-filtered noise FB signal.
In some implementations, adjusting the set of FF filter parameters associated with the set of FF filters includes adjusting an FF filter parameter of the FF filter based on the leakage monitoring parameter by: responsive to the leakage monitoring parameter being positive, reducing a gain of the FF filter or adjusting another parameter of the FF filter to make the leakage monitoring parameter fall within a predetermined range; or responsive to the leakage monitoring parameter being negative, increasing the gain of the FF filter or adjusting the other parameter of the FF filter to make the leakage monitoring parameter fall within the predetermined range.
In some implementations, the set of FF filters is tuned sequentially, the set of leakage monitoring parameters is determined sequentially based on the sequential tuning of the set of FF filters, and the set of FF filter parameters for the set of FF filters is adjusted sequentially based on the sequential determination of the set of leakage monitoring parameters.
In some implementations, the set of FF microphones includes a first FF microphone configured to acquire a first FF microphone signal based on the ambient noise signal and a second FF microphone configured to acquire a second FF microphone signal based on the ambient noise signal. The set of noise FF signals includes a first noise FF signal generated from the first FF microphone signal and a second noise FF signal generated from the second FF microphone signal. The set of FF filters includes a first FF filter and a second FF filter. Obtaining the noise FB signal includes: tuning the first FF filter and keeping the second FF filter in a current state; filtering the first noise FF signal using the first FF filter to generate a first FF-filtered noise signal; acquiring, by the FB microphone of the headphone, the first FB microphone signal responsive to the FF-filtered noise signal being played by the speaker of the headphone; and generating the noise FB signal from the first FB microphone signal. Determining the set of leakage monitoring parameters includes determining a first leakage monitoring parameter based on the first noise FF signal and the noise FB signal, wherein the first leakage monitoring parameter is used to adjust a first FF filter parameter of the first FF filter.
In some implementations, responsive to the first FF filter parameter of the first FF filter is adjusted based on the first leakage monitoring parameter, obtaining the noise FB signal further includes: keeping the first FF filter in a tuned state and tuning the second FF filter; filtering the first and second noise FF signals using the first and second FF filters to generate the first FF-filtered noise signal and a second FF-filtered noise signal, respectively; aggregating the first and second FF-filtered noise signals to generate a combined noise signal; acquiring, by the FB microphone of the headphone, the first FB microphone signal responsive to the combined noise signal being played by the speaker of the headphone; and generating the noise FB signal from the first FB microphone signal Determining the set of leakage monitoring parameters further includes determining a second leakage monitoring parameter based on the second noise FF signal and the noise FB signal, wherein the second leakage monitoring parameter is used to adjust a second FF filter parameter of the second FF filter.
In some implementations, responsive to the music signal being played by the speaker and a signal strength of the music signal in a predetermined frequency band being greater than a music threshold, a second FB microphone signal is acquired by the FB microphone of the headphone responsive to the music signal being played by the speaker. A music FB signal is generated based on the second FB microphone signal. A leakage condition parameter of the headphone is determined based on the music signal and the music FB signal.
In some implementations, determining the leakage condition parameter of the headphone based on the music signal and the music FB signal includes: determining a frequency response of an acoustic path between the speaker and the FB microphone of the headphone based on the music signal and the music FB signal; and determining the leakage condition parameter of the headphone that matches the frequency response of the acoustic path based on a first predetermined matching relationship between a group of reference frequency responses of the acoustic path and a group of reference leakage condition parameters.
In some implementations, an FF filter parameter for at least one of the set of FF filters to implement the ANC function in the headphone is adjusted based on (a) the leakage condition parameter and (b) a second predetermined matching relationship between a group of reference filter parameters and a group of reference leakage condition parameters.
According to another aspect of the present disclosure, a headphone with an ANC function is disclosed. The headphone includes a speaker configured to play at least one of a music signal or an ambient noise signal. The headphone includes a set of FF microphone configured to acquire a set of FF microphone signals. The headphone further includes an FB microphone configured to acquire a first FB microphone signal responsive to the ambient noise signal being played by the speaker. The headphone further includes a set of FF filters configured to implement the ANC function in the headphone. The headphone additionally includes a processor configured to determine whether the music signal is played by the speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of the ambient noise signal being greater than a noise threshold, the processor is further configured to obtain a set of noise FF signals based on the set of FF microphone signals; obtain a noise FB signal based on the first FB microphone signal; determine a set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal; and adjust a set of FF filter parameters for the set of FF filters based on the set of leakage monitoring parameters.
In some implementations, the set of FF microphones includes an FF microphone configured to acquire an FF microphone signal based on the ambient noise signal. The set of noise FF signals includes a noise FF signal generated from the FF microphone signal. The set of FF filters includes an FF filter. To determine the set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal, the processor is further configured to determine a leakage monitoring parameter based on the noise FF signal and the noise FB signal.
In some implementations, to determine the leakage monitoring parameter based on the noise FF signal and the noise FB signal, the processor is further configured to: filter the noise FF signal using a first bandpass filter to generate a bandpass-filtered noise FF signal; filter the noise FB signal using a second bandpass filter to generate a bandpass-filtered noise FB signal; and generate the leakage monitoring parameter based on the bandpass-filtered noise FF signal and the bandpass-filtered noise FB signal.
In some implementations, to adjust the set of FF filter parameters associated with the set of FF filters, the processor is configured to adjust an FF filter parameter of the FF filter based on the leakage monitoring parameter by: responsive to the leakage monitoring parameter being positive, reducing a gain of the FF filter or adjusting another parameter of the FF filter to make the leakage monitoring parameter fall within a predetermined range; or responsive to the first leakage monitoring parameter being negative, increasing the gain of the FF filter or adjusting the other parameter of the FF filter to make the leakage monitoring parameter fall within the predetermined range.
In some implementations, the set of FF filters are tuned sequentially, the set of leakage monitoring parameters are determined sequentially based on the sequential tuning of the set of FF filters, and the set of FF filter parameters for the set of FF filters are adjusted sequentially based on the sequential determination of the set of leakage monitoring parameters.
In some implementations, the set of FF microphones includes a first FF microphone configured to acquire a first FF microphone signal based on the ambient noise signal and a second FF microphone configured to acquire a second FF microphone signal based on the ambient noise signal. The set of noise FF signals includes a first noise FF signal generated from the first FF microphone signal and a second noise FF signal generated from the second FF microphone signal. The set of FF filters includes a first FF filter and a second FF filter. To obtain the noise FB signal, the processor is further configured to: tune the first FF filter and keep the second FF filter in a current state; filter the first noise FF signal using the first FF filter to generate a first FF-filtered noise signal; and generate the noise FB signal from the first FB microphone signal that is acquired by the FB microphone of the headphone responsive to the first FF-filtered noise signal being played by the speaker of the headphone. To determine the set of leakage monitoring parameters, the processor is further configured to determine a first leakage monitoring parameter based on the first noise FF signal and the noise FB signal, where the first leakage monitoring parameter is used to adjust a first FF filter parameter of the first FF filter.
In some implementations, responsive to the first FF filter parameter of the first FF filter is adjusted based on the first leakage monitoring parameter, to obtain the noise FB signal, the processor is further configured to keep the first FF filter in a tuned state and tune the second FF filter; filter the first and second noise FF signals using the first and second FF filters to generate the first FF-filtered noise signal and a second FF-filtered noise signal, respectively; aggregate the first and second FF-filtered noise signals to generate a combined noise signal; and generate the noise FB signal from the first FB microphone signal that is acquired by the FB microphone of the headphone responsive to the combined noise signal being played by the speaker of the headphone. To determine the set of leakage monitoring parameters, the processor is further configured to determine a second leakage monitoring parameter based on the second noise FF signal and the noise FB signal, where the second leakage monitoring parameter is used to adjust a second FF filter parameter of the second FF filter.
In some implementations, the processor is further configured to: responsive to the music signal being played by the speaker and a signal strength of the music signal in a predetermined frequency band being greater than a music threshold, generate a music FB signal based on a second FB microphone signal acquired by the FB microphone of the headphone responsive to the music signal being played by the speaker; determine a leakage condition parameter of the headphone based on the music signal and the music FB signal; and adjust the set of FF filter parameters for the set of FF filters to implement the ANC function in the headphone based on the leakage condition parameter.
In some implementations, to determine the leakage condition parameter of the headphone based on the music signal and the music FB signal, the processor is further configured to: determine a frequency response of an acoustic path between the speaker and the FB microphone of the headphone based on the music signal and the music FB signal; and determine the leakage condition parameter of the headphone that matches the frequency response of the acoustic path based on a first predetermined matching relationship between a group of reference frequency responses of the acoustic path and a group of reference leakage condition parameters.
According to yet another aspect of the present disclosure, an ANC system for a headphone is disclosed. The ANC system includes a memory storing code and a processor coupled to the memory. When the code is executed, the processor is configured to determine whether a music signal is played by a speaker of the headphone. Responsive to the music signal not being played by the speaker and a noise level of an ambient noise signal being greater than a noise threshold, the processor is further configured to: obtain a set of noise FF signals based on a set of FF microphone signals acquired by a set of FF microphones of the headphone; obtain a noise FB signal based on a first FB microphone signal acquired by an FB microphone of the headphone; determine a set of leakage monitoring parameters based on the set of noise FF signals and the noise FB signal; and adjust a set of FF filter parameters for a set of FF filters to implement an ANC function in the headphone based on the set of leakage monitoring parameters.
The foregoing description of the specific implementations can be readily modified and/or adapted for various applications. Therefore, such adaptations and modifications are intended to be within the meaning and range of equivalents of the disclosed implementations, based on the teaching and guidance presented herein.
The breadth and scope of the present disclosure should not be limited by any of the above-described exemplary implementations, but should be defined only in accordance with the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
202111101300.5 | Sep 2021 | CN | national |
202111305486.6 | Nov 2021 | CN | national |