Noise Cancellation Method, Headset, Apparatus, Storage Medium, and Computer Program Product
Abstract
A noise cancellation method includes: determining a plurality of groups of target noise cancellation parameters that are in a one-to-one correspondence with a plurality of first speakers of a headset; generating, based on the plurality of groups of target noise cancellation parameters, a plurality of groups of target inverse phase noise that are in a one-to-one correspondence with the plurality of first speakers, where a frequency band of each target inverse phase noise in the plurality of groups of target inverse phase noise covers a sound-making frequency band of the plurality of first speakers; and performing noise cancellation through the plurality of first speakers by using the plurality of groups of target inverse phase noise.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A noise method comprising:
determining a plurality of groups of target noise cancellation parameters that are in a one-to-one correspondence with a plurality of first speakers of a headset; generating, based on the plurality of groups of target noise cancellation parameters, a plurality of groups of target inverse phase noise that are in a one-to-one correspondence with the plurality of first speakers, wherein a frequency band of each target inverse phase noise in the plurality of groups of target inverse phase noise covers a sound-making frequency band of the plurality of first speakers; and performing noise cancellation through the plurality of first speakers by using the plurality of groups of target inverse phase noise.
2 . The method of claim 1 , wherein the plurality of groups of target noise cancellation parameters comprise k th -frame filter coefficients of a plurality of feedforward (FF) filters of the headset, wherein the plurality of FF filters are in a one-to-one correspondence with the plurality of first speakers, wherein k is an integer greater than or equal to 1, and wherein determining the plurality of groups of target noise cancellation parameters comprises:
determining, when k is equal to 1, initial filter coefficients of the plurality of FF filters as the k th -frame filter coefficients of the plurality of FF filters; or determining, when k is equal to 1, the k th -frame filter coefficients of the plurality of FF filters based on an initial noise canceling level and a first mapping relationship between a noise canceling level and an FF filter coefficient; or determining, when k is greater than 1, the k th -frame filter coefficients of the plurality of FF filters based on a first (k−1) th -frame reference signal from at least one reference microphone of the headset, a (k−1) th -frame error signal from an error microphone of the headset, and a target noise canceling level.
3 . The method of claim 2 , wherein determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, and the target noise canceling level comprises:
determining (k−1) th -frame filter coefficients of a plurality of secondary paths (SPs) based on the target noise canceling level and a second mapping relationship between the noise canceling level and a filter coefficient of an SP, wherein the plurality of SPs are paths from the plurality of first speakers to the error microphone; and
determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, and the (k−1) th -frame filter coefficients of the plurality of SPs.
4 . The method of claim 3 , wherein determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, and the (k−1) th -frame filter coefficients of the plurality of SPs comprises determining a k th -frame filter coefficient of a target FF filter by using one of the plurality of FF filters as the target FF filter based on the following operations until a k th -frame filter coefficient of each FF filter is determined:
determining, when the target FF filter is a first FF filter, the k th -frame filter coefficient of the target FF filter based on a second (k−1) th -frame reference signal from a target reference microphone, the (k−1) th -frame error signal, and a (k−1) th -frame filter coefficient of a target SP, wherein the target reference microphone is a corresponds to the target FF filter, and wherein the target SP is a path from a first speaker corresponding to the target FF filter to the error microphone; or
determining, when the target FF filter is a non-first FF filter, the k th -frame filter coefficient of the target FF filter based on the second (k−1) th -frame reference signal, the (k−1) th -frame error signal, the (k−1) th -frame filter coefficients of the plurality of SPs, and k th -frame frequency response information and (k−1) th -frame frequency response information of each FF filter before the target FF filter.
5 . The method of claim 3 , wherein determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, and the (k−1) th -frame filter coefficients of the plurality of SPs comprises determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, the (k−1) th -frame filter coefficients of the plurality of SPs, and (k−1) th -frame filter coefficients of a plurality of feedback (FB) filters of the headset, and wherein the plurality of FB filters are in a one-to-one correspondence with the plurality of first speakers.
6 . The method of claim 5 , wherein determining the k th -frame filter coefficients of the plurality of FF filters based on the first (k−1) th -frame reference signal, the (k−1) th -frame error signal, the (k−1) th -frame filter coefficients of the plurality of SPs, and the (k−1) th -frame filter coefficients of the plurality of FB filters comprises determining a k th -frame filter coefficient of a target FF filter by using one of the plurality of FF filters as the target FF filter based on the following operations until a k th -frame filter coefficient of each FF filter is determined:
determining, when the target FF filter is a first FF filter, the k th -frame filter coefficient of the target FF filter based on a second (k−1) th -frame reference signal from a target reference microphone, the (k−1) th -frame error signal, the (k−1) th -frame filter coefficients of the plurality of SPs, and the (k−1) th -frame filter coefficients of the plurality of FB filters, wherein the target reference microphone corresponds to the target FF filter; or
determining, when the target FF filter is a non-first FF filter, the k th -frame filter coefficient of the target FF filter based on the second (k−1) th -frame reference signal, the (k−1) th -frame error signal, the (k−1) th -frame filter coefficients of the plurality of SPs, the (k−1) th -frame filter coefficients of the plurality of FB filters, and k th -frame frequency response information and (k−1) th -frame frequency response information of each FF filter before the target FF filter.
7 . The method of claim 1 , wherein the plurality of groups of target noise cancellation parameters further comprise k th -frame filter coefficients of a plurality of feedback (FB) filters of the headset, wherein the plurality of FB filters are in the one-to-one correspondence with the plurality of first speakers, wherein k is an integer greater than or equal to 1, and wherein determining the plurality of groups of target noise cancellation parameters comprises:
determining, when k is equal to 1, initial filter coefficients of the plurality of FB filters as the k th -frame filter coefficients of the plurality of FB filters; or determining, when k is equal to 1, the k th -frame filter coefficients of the plurality of FB filters based on an initial noise canceling level and a first mapping relationship between a noise canceling level and an FB filter coefficient; or determining, when k is greater than 1, the k th -frame filter coefficients of the plurality of FB filters based on a target noise canceling level.
8 . The method of claim 7 , wherein the determining the k th -frame filter coefficients of the plurality of FB filters based on the target noise canceling level comprises determining a k th -frame filter coefficient of a target FB filter by using one of the plurality of FB filters as the target FB filter based on the following operations until a k th -frame filter coefficient of each FB filter is determined:
determining, when the target FB filter is a first-type FB filter, the k th -frame filter coefficient of the target FB filter based on the target noise canceling level and the first mapping relationship; or determining, when the target FB filter is a second-type FB filter, the k th -frame filter coefficient of the target FB filter based on the (k−1) th -frame error signal, a (k−1) th -frame filter coefficient of the target FB filter, and the target noise canceling level.
9 . The method of claim 8 , wherein determining the k th -frame filter coefficient of the target FB filter based on the (k−1) th -frame error signal, the (k−1) th -frame filter coefficient of the target FB filter, and the target noise canceling level comprises:
determining a (k−1) th -frame filter coefficient of a target secondary path (SP) based on the target noise canceling level and a second mapping relationship between the noise canceling level and a filter coefficient of the SP, wherein the target SP is a path from a first speaker corresponding to the target FB filter to an error microphone of the headset; and
determining the k th -frame filter coefficient of the target FB filter based on the (k−1) th -frame error signal, the (k−1) th -frame filter coefficient of the target FB filter, and the (k−1) th -frame filter coefficient of the target SP.
10 . The method of claim 8 , wherein a first sound-making frequency band of a first speaker corresponding to the first-type FB filter is higher than a second sound-making frequency band of the first speaker corresponding to the second-type FB filter.
11 . The method of claim 2 , further comprising:
determining a (k−1) th -frame noise canceling level; obtaining noise canceling levels in m frames before a (k−1) th frame, wherein m is greater than or equal to 1 and less than k−1; and determining the target noise canceling level based on the (k−1) th -frame noise canceling level and the noise canceling levels in the m frames.
12 . The method of claim 11 , wherein determining the (k−1) th -frame noise canceling level comprises determining, when no valid downlink signal exists and an environment is not quiet in the (k−1) th frame, the (k−1) th -frame noise canceling level based on reference filter coefficients of the plurality of FF filters and a second mapping relationship between the noise canceling level and frequency response information of an FF filter, wherein when k is equal to 2, the reference filter coefficients are initial filter coefficients of the corresponding FF filters, when k is greater than 2, the reference filter coefficients are filter coefficients that are of the corresponding FF filters and that meet a convergence stability condition last time before a k th frame, or when k is greater than 2, the reference filter coefficients are (k−1) th -frame filter coefficients of the corresponding FF filters.
13 . The method of claim 12 , wherein determining the (k−1) th -frame noise canceling level based on reference filter coefficients of the plurality of FF filters and the second mapping relationship comprises:
determining reference frequency response information of the plurality of FF filters based on the reference filter coefficients of the plurality of FF filters;
determining, based on the second mapping relationship, noise canceling levels matching the reference frequency response information to obtain a plurality of reference noise canceling levels; and
determining the (k−1) th -frame noise canceling level based on the plurality of reference noise canceling levels.
14 . The method of claim 13 , wherein determining the (k−1) th -frame noise canceling level based on the plurality of reference noise canceling levels comprises:
determining the (k−1) th -frame noise canceling level based on an average value of the plurality of reference noise canceling levels; or
determining the (k−1) th -frame noise canceling level based on a reference noise canceling level with a largest quantity in the plurality of reference noise canceling levels.
15 . The method of claim 11 , wherein determining the (k−1) th -frame noise canceling level comprises determining, when a valid downlink signal exists in the (k−1) th frame, the (k−1) th -frame noise canceling level based on the (k−1) th -frame valid downlink signal, the first (k−1) th -frame reference signal, and the (k−1) th -frame error signal.
16 . The method of claim 2 , wherein a filter coefficient of each FF filter comprises at least one biquad filter coefficient and one gain.
17 . A headset comprising:
a reference microphone; an error microphones; a plurality of first speakers; and one or more noise cancellation processors configured to:
determine a plurality of groups of target noise cancellation parameters that are in a one-to-one correspondence with the plurality of first speakers;
generate, based on the plurality of groups of target noise cancellation parameters, a plurality of groups of target inverse phase noise that are in a one-to-one correspondence with the plurality of first speakers, wherein a frequency band of each target inverse phase noise in the plurality of groups of target inverse phase noise covers a sound-making frequency band of the plurality of first speakers; and
perform noise cancellation through the plurality of first speakers by using the plurality of groups of target inverse phase noise.
18 . The headset of claim 17 , wherein the plurality of first speakers comprise two first speakers formed by one dual diaphragm loudspeaker; or wherein the plurality of first speakers comprise a plurality of speakers with a separate loudspeaker.
19 . The headset of claim 17 , wherein the headset further comprises at least one second speaker, and wherein the at least one second speaker does not participate in noise cancellation.
20 . A non-transitory computer-readable storage medium storing a computer program, wherein when the computer program is executed by one or more processors of an apparatus, the computer program causes the apparatus to:
determine a plurality of groups of target noise cancellation parameters that are in a one-to-one correspondence with a plurality of first speakers; generate, based on the plurality of groups of target noise cancellation parameters, a plurality of groups of target inverse phase noise that are in a one-to-one correspondence with the plurality of first speakers, wherein a frequency band of each target inverse phase noise in the plurality of groups of target inverse phase noise covers a sound-making frequency band of the plurality of first speakers; and perform noise cancellation through the plurality of first speakers by using the plurality of groups of target inverse phase noise.Join the waitlist — get patent alerts
Track US2025287136A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.