An active noise reduction method, device and system
By adjusting the clipping suppression parameters of the ANC headphones and monitoring them in real time, the popping sound problem caused by microphone signal clipping in bumpy or short-term impact scenarios has been solved, improving the audio playback experience of the headphones in these scenarios.
Patent Information
- Application Number
- CN202210102197.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2042-01-27
AI Technical Summary
In situations involving bumps or brief impacts, ANC headphones can cause popping sounds due to microphone signal clipping, which can negatively impact the user's audio playback experience.
The noise signal is acquired by the terminal device, the clipping suppression parameter is adjusted according to the maximum amplitude of the noise signal, and the scene is judged by combining sensor data to realize clipping control and real-time monitoring for adaptive adjustment.
It effectively suppresses clipping, reduces the impact on active noise cancellation, and improves the robustness of headphones in bumpy or short-term impact scenarios.
Smart Images

Figure CN116567470B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of audio technology, and in particular to an active noise reduction method, device and system. BACKGROUND
[0002] In order to obtain a quiet and comfortable audio playing experience, more and more users choose to wear earphones with active noise control (ANC) function (hereinafter referred to as ANC earphones). ANC earphones can play sound waves opposite to external noise to cancel out the noise and achieve the effect of filtering out external noise.
[0003] However, when ANC earphones encounter a jolt scene or a short-time impact scene, the microphone signal will be clipped, and the audio playing will be accompanied by a "puff puff" explosion sound, which greatly affects the user's audio playing experience. The jolt scene includes, for example, a user running scene, a traffic tool (such as an airplane, a subway, a bus, etc.) jolt scene, an airplane landing scene, etc. The short-time impact scene includes, for example, a door opening and closing scene, a speed bump passing scene, etc. SUMMARY
[0004] The present application provides an active noise reduction method, device and system, which can effectively suppress clipping while minimizing the impact on the active noise reduction effect.
[0005] To achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an active noise reduction method is provided. The method is used for a terminal device in a jolt scene or a short-time impact scene, and the terminal device has an active noise reduction function. The method includes: the terminal device acquires a noise signal reflecting environmental noise and / or in-ear noise; and the terminal device performs clipping control on the noise signal according to a clipping suppression parameter. When the maximum amplitude of the anti-phase signal corresponding to the noise signal is a first value, the clipping suppression parameter is a first clipping suppression parameter; when the maximum amplitude of the anti-phase signal corresponding to the noise signal is a second value, the clipping suppression parameter is a second clipping suppression parameter, wherein the first clipping suppression parameter and the second clipping suppression parameter are different in clipping degree.
[0007] For example, the terminal device can compare the maximum amplitude of the anti-phase signal corresponding to the noise signal with one or more preset threshold values to evaluate the clipping level. Furthermore, the terminal device can match the corresponding clipping suppression parameter according to the determined clipping level.
[0008] The first aspect provides the scheme, the terminal device can collect noise signals, such as environmental noise and / or in-ear noise, to predict the clipping probability and the clipping degree in advance, so as to perform clipping suppression in advance. For example, the noise signal is controlled according to the prediction result to select the matching clipping suppression parameter, which effectively improves the robustness of the earphone clipping control, effectively suppresses the clipping, and maximally reduces the influence on the active noise reduction effect.
[0009] In a possible implementation, the noise signal has a corresponding relationship with the pass signal, and a change in the pass signal causes a change in the horn signal; when the maximum amplitude of the horn signal is a third value, the clipping suppression parameter is a third clipping suppression parameter; the method further includes: the terminal device performs clipping control on the subsequent noise signal according to the third clipping suppression parameter; and the third clipping suppression parameter is the clipping suppression parameter when the maximum amplitude of the horn signal is the third value. In this application, the terminal device can also monitor the clipping effect in real time, so as to adaptively adjust the clipping suppression parameter according to the real-time clipping degree and the clipping effect.
[0010] For example, the terminal device can compare the maximum amplitude of the horn signal with one or more preset threshold values to evaluate whether the clipping reaches the preset effect. Further, the terminal device can adjust the clipping suppression parameter when the clipping does not reach the preset effect, such as increasing the clipping suppression amount or reducing the clipping suppression amount.
[0011] In a possible implementation, the terminal device acquires the noise signal, including: the terminal device acquires one or more noise signals through one or more microphones. In this application, the terminal device can predict the clipping probability and the clipping degree in advance based on the one or more noise signals acquired by the one or more microphones, so as to perform clipping suppression in advance. This method can be adapted to terminal devices with various audio structures.
[0012] In a possible implementation, the terminal device acquires the noise signal, including: the terminal device acquires environmental noise through a first microphone; and the terminal device acquires in-ear noise through a second microphone. For example, the terminal device can acquire environmental noise and in-ear noise through two microphones respectively, to predict the clipping probability and the clipping degree in advance based on the environmental noise and the in-ear noise, so as to perform clipping suppression in advance.
[0013] In a possible implementation, the ambient noise has a corresponding relationship with the pass signal of the first pass, and the in-ear noise has a corresponding relationship with the pass signal of the second pass; when the maximum amplitude of the inverse signal corresponding to the ambient noise is a first value, the clipping suppression parameter of the first pass is a first clipping suppression parameter; when the maximum amplitude of the inverse signal corresponding to the ambient noise is a second value, the clipping suppression parameter of the first pass is a second clipping suppression parameter; when the maximum amplitude of the inverse signal corresponding to the in-ear noise is the first value, the clipping suppression parameter of the second pass is the first clipping suppression parameter; and when the maximum amplitude of the inverse signal corresponding to the in-ear noise is the second value, the clipping suppression parameter of the second pass is the second clipping suppression parameter. As an example, the terminal device can perform early prediction on the clipping probability and the clipping degree based on the collected ambient noise and in-ear noise, so as to comprehensively perform early clipping suppression based on the clipping suppression parameters of the passes corresponding to the ambient noise and the in-ear noise.
[0014] In a possible implementation, the terminal device is preconfigured with a corresponding relationship between the inverse signal amplitude and the clipping suppression parameter. As an example, the terminal device can determine the clipping suppression parameter of each pass based on the preconfigured corresponding relationship between the inverse signal amplitude and the clipping suppression parameter.
[0015] In a possible implementation, the terminal device is preconfigured with a corresponding relationship between the inverse signal amplitude range and the clipping suppression parameter. As an example, the terminal device can determine the clipping suppression parameter of each pass based on the preconfigured corresponding relationship between the inverse signal amplitude range and the clipping suppression parameter.
[0016] In a possible implementation, the third value is greater than a first preset evaluation threshold, and the method further includes: adjusting the first clipping suppression parameter to a third clipping suppression parameter; and / or, adjusting the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter includes a first clipping suppression amount, the second clipping suppression parameter includes a second clipping suppression amount, and the third clipping suppression parameter includes a third clipping suppression amount, the third clipping suppression amount being greater than the first clipping suppression amount, and the third clipping suppression amount being greater than the second clipping suppression amount. In this application, the terminal device can compare the maximum amplitude of the loudspeaker signal with one or more preset thresholds to evaluate whether the clipping reaches a preset effect. Furthermore, the terminal device can increase the clipping suppression amount when the maximum amplitude of the loudspeaker signal is greater than the first preset evaluation threshold.
[0017] In a possible implementation, the third value is less than the second preset evaluation threshold, and the method further includes: adjusting, by the terminal device, the first clipping suppression parameter to a third clipping suppression parameter; and / or adjusting, by the terminal device, the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter includes a first clipping suppression amount, the second clipping suppression parameter includes a second clipping suppression amount, and the third clipping suppression parameter includes a third clipping suppression amount, the third clipping suppression amount is less than the first clipping suppression amount, and the third clipping suppression amount is less than the second clipping suppression amount. In this application, the terminal device can evaluate whether the clipping achieves a preset effect by comparing the maximum amplitude of the loudspeaker signal with one or more preset thresholds. Furthermore, the terminal device can reduce the clipping suppression amount when the maximum amplitude of the loudspeaker signal is less than the second preset evaluation threshold.
[0018] In a possible implementation, the method further includes: determining that the terminal device is in a jolt scene or a short-time impact scene. By judging the scene in which the terminal device is located, clipping control in the active noise reduction process can be more accurately implemented.
[0019] In a possible implementation, the determination that the terminal device is in the jolt scene or the short-time impact scene includes: determining, according to sensor data, that the terminal device is in the jolt scene or the short-time impact scene. By judging the scene in which the terminal device is located according to the sensor data, clipping control in the active noise reduction process can be more accurately implemented.
[0020] In a possible implementation, the sensor data is collected by one or more sensors of the terminal device, or the sensor data is collected by one or more sensors of an electronic device that establishes a communication connection with the terminal device. In this application, judging the scene in which the terminal device is located according to the sensor data can be adapted to various scenes, for example, a scene in which the terminal device acquires sensor data, or a scene in which an electronic device that establishes a communication connection with the terminal device acquires sensor data.
[0021] In a possible implementation, the determination that the terminal device is in the jolt scene or the short-time impact scene includes: determining, according to a state and / or application running data of an electronic device that establishes a communication connection with the terminal device, that the terminal device is in the jolt scene or the short-time impact scene. By considering the state and / or application running data of the electronic device that establishes a communication connection with the terminal device, clipping control in the active noise reduction process can be more accurately implemented.
[0022] In a possible implementation, the first microphone is a feed-forward microphone, and the second microphone is a feedback microphone.
[0023] In a second aspect, a terminal device is provided. The terminal device is in a jolt scene or a short-time impact scene, and has an active noise reduction function. The terminal device comprises: a microphone unit configured to acquire a noise signal reflecting ambient noise and / or in-ear noise; and a clipping unit configured to perform clipping control on the noise signal according to a clipping suppression parameter. When a maximum amplitude of an inverse signal corresponding to the noise signal is a first value, the clipping suppression parameter is a first clipping suppression parameter; and when the maximum amplitude of the inverse signal corresponding to the noise signal is a second value, the clipping suppression parameter is a second clipping suppression parameter, wherein the first clipping suppression parameter and the second clipping suppression parameter are different in clipping degree.
[0024] For example, the terminal device can comprise a clipping prediction unit configured to compare the maximum amplitude of the inverse signal corresponding to the noise signal with one or more preset threshold values, and evaluate a clipping level. Further, the clipping prediction unit can be further configured to match the corresponding clipping suppression parameter according to the determined clipping level.
[0025] According to the scheme provided in the second aspect, the terminal device can predict the clipping probability and the clipping degree in advance based on the acquired noise signal, such as the ambient noise and / or the in-ear noise, so as to perform clipping suppression in advance. For example, the noise signal is clipped according to the matching clipping suppression parameter based on the prediction result, so as to effectively improve the robustness of the earphone clipping control, effectively suppress the clipping, and minimize the influence on the active noise reduction effect.
[0026] In a possible implementation, the noise signal has a corresponding relationship with a pass signal, and a change in the pass signal causes a change in a horn signal; when a maximum amplitude of the horn signal is a third value, the clipping suppression parameter is a third clipping suppression parameter; and the clipping unit is further configured to perform clipping control on a subsequent noise signal according to the third clipping suppression parameter, wherein the third clipping suppression parameter is the clipping suppression parameter when the maximum amplitude of the horn signal is the third value. In this application, the terminal device can also monitor the clipping effect in real time, so as to adaptively adjust the clipping suppression parameter according to the real-time clipping degree and the clipping effect.
[0027] For example, the terminal device can further comprise a clipping monitoring unit configured to compare the maximum amplitude of the horn signal with one or more preset threshold values, and evaluate whether the clipping achieves a preset effect. Further, the clipping monitoring unit can adjust the clipping suppression parameter when the clipping does not achieve the preset effect. For example, the clipping suppression parameter can be adjusted by increasing the clipping suppression amount or decreasing the clipping suppression amount.
[0028] In a possible implementation, the microphone unit comprises one or more microphones configured to collect one or more noise signals. In this application, the terminal device can predict the clipping probability and the clipping degree in advance based on the one or more noise signals collected by the one or more microphones, so as to perform clipping suppression in advance. The method can be adapted to terminal devices of various audio structures.
[0029] In a possible implementation, the microphone unit comprises a first microphone and a second microphone, wherein the first microphone is configured to collect ambient noise, and the second microphone is configured to collect in-ear noise. As an example, the terminal device can collect ambient noise and in-ear noise based on the two microphones respectively, and predict the clipping probability and the clipping degree in advance based on the ambient noise and the in-ear noise, so as to perform clipping suppression in advance.
[0030] In a possible implementation, the ambient noise has a corresponding relationship with the path signal of the first path, and the in-ear noise has a corresponding relationship with the path signal of the second path; when the maximum amplitude of the inverse signal corresponding to the ambient noise is a first value, the clipping suppression parameter of the first path is a first clipping suppression parameter; when the maximum amplitude of the inverse signal corresponding to the ambient noise is a second value, the clipping suppression parameter of the first path is a second clipping suppression parameter; when the maximum amplitude of the inverse signal corresponding to the in-ear noise is a first value, the clipping suppression parameter of the second path is a first clipping suppression parameter; and when the maximum amplitude of the inverse signal corresponding to the in-ear noise is a second value, the clipping suppression parameter of the second path is a second clipping suppression parameter. As an example, the terminal device can predict the clipping probability and the clipping degree in advance based on the collected ambient noise and in-ear noise, and comprehensively perform clipping suppression in advance based on the clipping suppression parameters of the paths corresponding to the ambient noise and the in-ear noise.
[0031] In a possible implementation, the terminal device is preconfigured with a corresponding relationship between the inverse signal amplitude and the clipping suppression parameter. As an example, the terminal device can determine the clipping suppression parameter of each path based on the preconfigured corresponding relationship between the inverse signal amplitude and the clipping suppression parameter.
[0032] In a possible implementation, the terminal device is preconfigured with a corresponding relationship between the inverse signal amplitude range and the clipping suppression parameter. As an example, the terminal device can determine the clipping suppression parameter of each path based on the preconfigured corresponding relationship between the inverse signal amplitude range and the clipping suppression parameter.
[0033] In one possible implementation, the third value is greater than the first preset evaluation threshold. The clipping monitoring unit is specifically used to: adjust the first clipping suppression parameter to the third clipping suppression parameter; and / or, adjust the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter includes a first clipping suppression amount, the second clipping suppression parameter includes a second clipping suppression amount, the third clipping suppression parameter includes a third clipping suppression amount, the third clipping suppression amount is greater than the first clipping suppression amount, and the third clipping suppression amount is greater than the second clipping suppression amount. In this application, the terminal device can evaluate whether the clipping has achieved the preset effect by comparing the maximum amplitude of the horn signal with one or more preset thresholds. Furthermore, the terminal device can increase the clipping suppression amount when the maximum amplitude of the horn signal is greater than the first preset evaluation threshold.
[0034] In one possible implementation, the third value is less than the second preset evaluation threshold. The clipping monitoring unit is specifically used to: adjust the first clipping suppression parameter to the third clipping suppression parameter; and / or, adjust the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter includes a first clipping suppression amount, the second clipping suppression parameter includes a second clipping suppression amount, the third clipping suppression parameter includes a third clipping suppression amount, the third clipping suppression amount is less than the first clipping suppression amount, and the third clipping suppression amount is less than the second clipping suppression amount. In this application, the terminal device can evaluate whether the clipping has achieved the preset effect by comparing the maximum amplitude of the horn signal with one or more preset thresholds. Furthermore, the terminal device can reduce the clipping suppression amount when the maximum amplitude of the horn signal is less than the second preset evaluation threshold.
[0035] In one possible implementation, the terminal device further includes a processing unit for determining whether the terminal device is in a bumpy or short-term impact scenario. By determining the scenario in which the terminal device is located, clipping control during active noise reduction can be achieved more accurately.
[0036] As an example, the processing unit can be independent of the clipping unit and clipping monitoring unit described above.
[0037] As another example, the processing unit may include the clipping unit and the clipping monitoring unit described above.
[0038] In one possible implementation, the processing unit is specifically used to determine whether the terminal device is in a bumpy or short-term impact scenario based on sensor data. By judging the scenario in which the terminal device is located based on sensor data, clipping control during active noise reduction can be achieved more accurately.
[0039] In a possible implementation, the terminal device further includes one or more sensors configured to collect sensor data. In this application, the determination of the scenario in which the terminal device is located based on the sensor data can be adapted to various scenarios, such as a scenario in which the terminal device collects the sensor data.
[0040] In a possible implementation, the terminal device further includes a transceiver configured to obtain sensor data from an electronic device that establishes a communication connection with the terminal device. The sensor data is measured by one or more sensors of the electronic device. In this application, the determination of the scenario in which the terminal device is located based on the sensor data can be adapted to various scenarios, such as a scenario in which the electronic device that establishes the communication connection with the terminal device collects the sensor data.
[0041] In a possible implementation, the terminal device further includes a transceiver configured to obtain, from an electronic device that establishes a communication connection with the terminal device, state and / or application running data of the electronic device, so as to determine that the terminal device is in a jolt scenario or a short-time impact scenario. By taking into account the state and / or application running data of the electronic device that establishes the communication connection with the terminal device, the clipping control in the active noise reduction process can be more accurately implemented.
[0042] In a possible implementation, the first microphone is a feed-forward microphone, and the second microphone is a feedback microphone.
[0043] In a third aspect, a terminal device is provided, which includes a processor, a memory, and one or more programs; wherein the one or more programs are stored in the memory, and the one or more programs include instructions that, when executed by the processor, cause the terminal device to perform the method in any possible implementation of the first aspect.
[0044] In a fourth aspect, a communication system is provided, which includes the terminal device in any possible implementation of the second aspect or the third aspect.
[0045] In a possible implementation, the communication system further includes an electronic device that establishes a communication connection with the terminal device.
[0046] In a possible implementation, the communication connection is a wired connection or a wireless connection.
[0047] In a fifth aspect, a computer-readable storage medium is provided, which stores computer program code that, when executed by a processor, implements the method in any possible implementation of the first aspect.
[0048] In a sixth aspect, a chip system is provided, which includes a processor and a memory, and the memory stores computer program code; the computer program code is executed by the processor to implement the method in any possible implementation manner of the first aspect. The chip system can be composed of a chip, or can include a chip and other discrete devices.
[0049] In a seventh aspect, a computer program product is provided, which, when running on a computer, enables implementation of the method in any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0050] Figure 1 A schematic diagram of four ANC earphones provided by embodiments of the present application;
[0051] Figure 2 A schematic diagram of a hardware structure of an ANC earphone provided by embodiments of the present application;
[0052] Figure 3 A schematic diagram of a method for controlling the amplitude of an output signal provided by embodiments of the present application;
[0053] Figure 4 A schematic diagram of another method for controlling the amplitude of an output signal provided by embodiments of the present application;
[0054] Figure 5 A structural block diagram of an ANC earphone provided by embodiments of the present application;
[0055] Figure 6 A structural block diagram of another ANC earphone provided by embodiments of the present application;
[0056] Figure 7 A flowchart of an active noise reduction method provided by embodiments of the present application;
[0057] Figure 8 A schematic diagram of the working process of a clipping prediction module provided by embodiments of the present application;
[0058] Figure 9 An example diagram of the frequency response amplitude of a clipping control filter of different clipping levels provided by embodiments of the present application;
[0059] Figure 10 A schematic diagram of a clipping adjustment function strategy logic provided by embodiments of the present application;
[0060] Figure 11 A schematic diagram of the working process of an active noise reduction filter bank provided by embodiments of the present application;
[0061] Figure 12 An example diagram of input data on which clipping control is based provided by embodiments of the present application. DETAILED DESCRIPTION
[0062] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0063] Hereinafter, the terms "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more features. In the description of the embodiments, unless otherwise specified, the meaning of "multiple" is two or more than two.
[0064] For the convenience of understanding, the following briefly introduces several terms related to the present application.
[0065] 1. Noise-reducing earphone: refers to a kind of earphone that uses a certain method to reduce noise.
[0066] For example, noise-reducing earphones can be divided into active noise-reducing earphones (also known as ANC earphones) and passive noise-reducing earphones according to their noise-reducing methods.
[0067] 2. Active noise reduction: mainly through generating an anti-phase sound wave of external noise (i.e. anti-phase noise signal, also known as anti-phase signal) to cancel external noise, thereby achieving the effect of noise reduction.
[0068] As an example, ANC earphones can achieve the effect of active noise reduction through feed-forward active noise canceling (FF-ANC). For example, the feed-forward filter of the ANC earphone can generate an anti-phase sound wave of the environmental noise outside the ANC earphone according to the collected environmental noise, and finally play the anti-phase sound wave of the environmental noise through a loudspeaker to cancel the noise, thereby achieving the effect of active noise reduction. For example, the anti-phase sound wave of the environmental noise is opposite in phase and the same in amplitude as the environmental noise.
[0069] As an example, ANC earphones can achieve the effect of active noise reduction through feedback active noise canceling (FB-ANC). For example, the ANC earphone feedback filter can generate an anti-phase sound wave of the in-ear noise collected in the user's ear canal, and finally play the anti-phase sound wave of the in-ear noise through the loudspeaker to cancel the in-ear noise, thereby achieving active noise reduction. For example, the anti-phase sound wave of the in-ear noise is opposite in phase and the same in amplitude as the in-ear noise.
[0070] As an example, ANC earphones can achieve the effect of active noise reduction by combining FF-ANC and FB-ANC. For example, the feedback filter can generate an anti-phase sound wave based on the collected environmental noise outside the ANC earphone and the collected in-ear noise in the user's ear canal, and finally play the anti-phase sound wave of the in-ear noise through the loudspeaker to cancel the in-ear noise, thereby achieving active noise reduction.
[0071] 3. Passive noise reduction earphones: mainly block external noise by surrounding the ear to form a closed space. For example, passive noise reduction earphones can block external noise through sound insulation materials such as ear covers and silicone earplugs.
[0072] 4. Clipping: refers to the effect of normal sound waveform being cut off due to the limitation of sample capacity.
[0073] Generally, during the noise reduction process of noise reduction earphones, if a large amount of low-frequency noise suddenly occurs, such as in a bumpy scene of a vehicle (such as an airplane, a subway, a bus, etc.), an airplane landing process, or a short-impact scene of opening and closing doors, passing through a speed bump, etc., the low-frequency signal will overflow, producing a "puffing" explosion sound. This explosion sound is also called clipping noise.
[0074] For example, in the process of ANC earphones reducing noise, if a large amount of low-frequency noise suddenly occurs, it will cause the anti-phase feed-forward microphone (also known as anti-phase reference microphone) signal (Anti_FF), the anti-phase feedback microphone (also known as anti-phase error microphone) signal (Anti_FB), or the mixed loudspeaker signal (also known as ToSPK signal) to clip. The clipped signal will produce a "puffing" explosion sound when played by the loudspeaker. This explosion sound is also called clipping noise.
[0075] 5. Feed-forward path (FF-ANC path): refers to the path for processing the sound signal collected by the feed-forward microphone.
[0076] 6. Feedback path (FB-ANC path): refers to the path for processing the sound signal collected by the feedback microphone.
[0077] 7. Filter: used for filtering signals.
[0078] Exemplarily, the filter can be classified into an analog filter and a digital filter according to whether the processed signal is an analog signal or a digital signal.
[0079] Exemplarily, the filter can be classified into a low-pass filter, a high-pass filter, a band-pass filter, a low shelf filter, a high shelf filter and a band-elimination filter according to a frequency band of the signal passing through.
[0080] 8. Low-pass filter: also called brick-wall filter. Used to increase or decrease the amplitude of the signal below a certain preset frequency, without processing the amplitude of the signal exceeding the certain preset frequency.
[0081] In the embodiments of the present application, the preset frequency threshold of the low-pass filter is not limited to be specifically defined, but is determined according to the specific situation.
[0082] In some cases, the low shelf filter can also be used to increase or decrease the amplitude of the signal below a certain preset frequency, without processing the amplitude of the signal exceeding the certain preset frequency.
[0083] 9. High-pass filter: used to allow the signal above a certain preset frequency to pass through, and suppress (such as attenuate) the signal below the certain preset frequency.
[0084] In the embodiments of the present application, the preset frequency threshold of the high-pass filter is not limited to be specifically defined, but is determined according to the specific situation.
[0085] 10. Band-pass filter: used to allow the signal of a certain preset frequency band to pass through, and suppress the signal outside the preset frequency band.
[0086] In the embodiments of the present application, the preset frequency band range of the band-pass filter is not limited to be specifically defined, but is determined according to the specific situation.
[0087] 11. Band-elimination filter: used to suppress the signal in a certain preset frequency band, and allow the signal outside the preset frequency band to pass through, so as to achieve the effect of hindering the signal in a certain frequency band to pass through.
[0088] In the embodiments of the present application, the preset frequency band range of the band-elimination filter is not limited to be specifically defined, but is determined according to the specific situation.
[0089] In some cases, a signal in a preset frequency band can also be inhibited by a notch filter, and a signal outside the preset frequency band is allowed to pass, so as to hinder the signal in the frequency band from passing.
[0090] Embodiments of the present application provide an active noise reduction method, which can be applied in the working process of a terminal device with ANC function.
[0091] For example, the terminal device can include, but is not limited to, an audio device, a noise reduction earphone (hereinafter referred to as ANC earphone), smart glasses, etc. As an example, the ANC earphone can include, but is not limited to, a head-mounted ANC earphone, a neck-mounted ANC earphone, or an in-ear ANC earphone, etc. The specific structure of the ANC earphone is not limited in the present application.
[0092] As an example, Figure 1 Taking the terminal device as an ANC earphone, four ANC earphone schematic diagrams are shown. Among them, Figure 1 101 in FIG. 1 shows a headband wireless earphone (HWE), Figure 1 102 in FIG. 1 shows a neckband wireless earphone (NWE), Figure 1 103 in FIG. 1 shows a true wireless stereo earphone (TWSE), Figure 1 104 in FIG. 1 shows a common wired ANC earphone. Among them, Figure 1 103 and 104 shown in FIG. 1 belong to in-ear ANC earphones.
[0093] Optionally, the ANC earphone provided by the embodiments of the present application can be wired or wireless (such as a true wireless stereo (TWS) earphone, etc.), which is not limited.
[0094] It should be noted that the present application does not limit other related functions of the ANC earphone. For example, the ANC earphone can also have a passive noise reduction function. For example, the ANC earphone can include an ear sleeve made of soundproof material, an earplug made of soundproof material, etc. for the first round of physical sound insulation. The specific implementation of the passive noise reduction function is not limited in the present application.
[0095] For example, Figure 2 , Figure 2 For example, Figure 1 Taking the headband wireless earphone (HWE) shown in FIG. 1 as an example, a hardware structure schematic diagram of an ANC earphone is shown. As shown in Figure 2As shown, ANC earphone 200 can include a speaker (also referred to as a loudspeaker) (e.g. Figure 2 micro control unit (MCU) 202, ANC chip 203, memory 204, sensor group 205, and multiple microphones.
[0096] For example, as shown, in an embodiment of the present application, the multiple microphones can include feed-forward microphones (also referred to as reference microphones) (e.g. Figure 2 Figure 2 Figure 2
[0097] In some embodiments, ANC earphone 200 can also support a talk function. For example, as shown, the multiple microphones can further include a talk microphone 208. Figure 2
[0098] The speaker is used to play audio signals (e.g. music or voice, etc.), and in ANC earphone 200, the speaker is also used to play anti-noise signals (which are used to weaken the noise signals in the user's ear canal, thereby achieving the effect of actively reducing noise).
[0099] The micro control unit (MCU) 202 is used to control the noise reduction parameters, such as determining the noise reduction parameters, writing the noise reduction parameters to ANC chip 203, modifying the noise reduction parameters stored in memory 204, etc. In an embodiment of the present application, the micro control unit (MCU) 202 is also used to control the clipping suppression parameters, such as determining the clipping suppression parameters, writing the clipping suppression parameters to ANC chip 203, modifying the clipping suppression parameters stored in memory 204, etc.
[0100] ANC chip 203 is used to reduce noise in the environment. For example, in an embodiment of the present application, ANC chip 203 can be used to process the noise signals collected by the feed-forward microphones (e.g. Figure 2 Figure 2
[0101] Memory 204 is used to store data. For example, memory 204 can be used to store instructions or data that have just been used or are used repeatedly by micro control unit 202. If micro control unit 202 needs to use the instructions or data again, it can directly call them from memory 204. This avoids repeated access and reduces the waiting time of micro control unit 202, thereby improving the efficiency of the system.
[0102] In the embodiments of the present application, the memory 204 can also be used to store noise reduction parameters (may also be referred to as ANC parameters) and clipping suppression parameters, such as noise reduction parameters and clipping suppression parameters corresponding to the feedforward path, and noise reduction parameters and clipping suppression parameters corresponding to the feedback path.
[0103] The feedforward microphones (such as 206-1 and 206-2) are used to collect ambient noise. Figure 2
[0104] The feedback microphones (such as 207-1 and 207-2) are used to collect noise signals in the user's ear canal. Therefore, the feedback microphones are usually arranged close to the user's ear in the ANC earphone, as shown in FIG. 2. Figure 2 Figure 2
[0105] The talk microphone 208 is used to collect the user's voice signal when the user is talking.
[0106] The sensor group 205 includes one or more sensors, such as a proximity light sensor 205-1, a voice pick up (VPU) sensor 205-2, a voice acceleration (VACC) sensor 205-3, etc. Among them, the proximity light sensor 205-1 is used to detect whether the ANC earphone 200 is in the ear. The VPU sensor 205-2 is used to detect the voice signal emitted by the user. For example, the VPU sensor 205-2 is a voice pick up bone (VPUB) sensor, which can collect skull vibration when the user is talking through bone conduction and convert it into sound. The VACC sensor 205-3 is used to detect the vibration generated when the user is talking.
[0107] Optionally, the ANC earphone 200 can also include other elements.
[0108] For example, if the ANC earphone 200 is a wireless earphone, the ANC earphone 200 can also include a wireless communication module 209, such as a Bluetooth module, a Wi-Fi module, etc. Figure 3 The wireless communication module 209 is shown. The wireless communication module 209 is configured to enable the ANC earphone 200 to communicate with other devices via a wireless communication technology. For example, the wireless communication module 209 can be a wireless local area networks (WLAN) (e.g., a Wi-Fi network) module, a bluetooth (BT) module, a global navigation satellite system (GNSS) module, a frequency modulation (FM) module, a near field communication (NFC) module, an infrared (IR) module, and / or the like.
[0109] The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), new radio (NR), BT, GNSS, WLAN, NFC, FM, and / or IR technology, and / or the like. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), a satellite based augmentation systems (SBAS), and / or the like.
[0110] It should be noted that, Figure 3The positions of the feed-forward microphone 206, the feedback microphone 207 and the talk microphone 208 in the ANC earphone 200 are only for example, and the specific positions of the components in the ANC earphone 200 are not limited in the application, and can be determined according to the specific product design.
[0111] It can be understood that, Figure 3 The schematic structure does not constitute a specific limitation on the ANC earphone, and in other embodiments of the application, the ANC earphone can include more or fewer components than the schematic, or combine certain components, or split certain components, or different component arrangements. For example, the ANC earphone can also include a charge management module, a power management module, etc. The components shown can be implemented in hardware, software or a combination of software and hardware.
[0112] Embodiments of the application aim to solve the problem that when the ANC earphone encounters bumps or short-time impacts, such as when the user runs, the vehicle (such as an airplane, a subway, a bus, etc.) bumps, the airplane lands, the door is opened or closed, the speed bump is passed, etc., the playing audio is accompanied by a "puffing" explosion sound due to the clipping of the microphone signal.
[0113] As a solution, a limiter can be arranged between the microphone (such as the feed-forward microphone and the feedback microphone) and the speaker of the ANC earphone, for dynamic range compression of the input signal amplitude, so as to limit the output signal amplitude within a certain range.
[0114] For example, please refer to Figure 3 , Figure 3 A schematic diagram of a method for controlling the output signal amplitude is shown. As Figure 3 shown, the limiter can adjust the output signal amplitude when it is monitored that the input signal amplitude is greater than a first preset value (such as Figure 3 shown Thr_max) or less than a second preset value (such as Figure 3 shown Thr_min), so that the output signal amplitude (such as Figure 4 Y_max) no longer changes with the input signal, thereby limiting the output signal amplitude within a certain range and reducing clipping. As Figure 4 shown, the limiter can adjust the output signal amplitude to stabilize at Y_max when it is monitored that the input signal amplitude is greater than Thr_max, and adjust the output signal amplitude to stabilize at Y_min when it is monitored that the input signal amplitude is less than Thr_min.
[0115] However, Figure 4The method mainly limits the amplitude of the time-domain signal of the output signal to reduce clipping. The method cannot adjust the specified frequency band, and for ANC earphones, clipping mainly occurs in the low frequency band, and adjustment of the full frequency band has a greater impact on active noise reduction effect.
[0116] As another solution, a clipping filter can be provided on the signal path, for example, between the microphone (such as a feed-forward microphone and a feedback microphone) and the speaker of the ANC earphone, to control the signal amplitude of the signal in the preset frequency band. For example, assuming that clipping mainly occurs in the low frequency band, the signal amplitude in the preset low frequency band can be suppressed by a high-pass filter, a low shelf filter, a notch filter, etc., so as to limit the amplitude of the output signal in the preset frequency band within a certain range.
[0117] Taking a low shelf filter as an example, please refer to Figure 4 , Figure 5 Another method for controlling the amplitude of the output signal is shown in the schematic diagram. As shown in Figure 5 , the amplitude of the signal below 100 Hz (i.e., the preset frequency band) is suppressed by the low shelf filter, and the amplitude of the output signal below 100 Hz is limited to a lower level. The signal amplitude of the frequency band other than the preset frequency band (i.e., the frequency band above 100 Hz) is not affected.
[0118] Figure 5 The method shown in can suppress the amplitude of the preset frequency band. However, in this method, once the clipping suppression parameter (such as the clipping suppression amount) of the clipping filter is fixed, the clipping suppression effect is also fixed, and the clipping suppression effect depends on whether the clipping suppression parameter matches the clipping degree, and cannot be adaptively adjusted according to the real-time clipping degree. In this method, if the clipping suppression amount is too large, it will have a greater impact on the active noise reduction of the earphone; if the clipping suppression amount is insufficient, clipping will occur.
[0119] In order to effectively suppress clipping while minimizing the impact on the active noise reduction effect, the embodiments of the present application provide an active noise reduction method, which can predict the clipping probability and the clipping degree of the earphone signal in advance, so as to perform clipping suppression in advance, and effectively improve the robustness of the earphone clipping control.
[0120] Further, in some embodiments, the active noise reduction method provided by the embodiments of the present application can also monitor the clipping effect of the earphone signal in real time, so as to adaptively adjust according to the real-time clipping degree and the clipping effect.
[0121] As an example, the active noise reduction method provided by the embodiments of the present application can be implemented based on the ANC earphone 500 shown in Figure 2 . As shown in Figure 5As shown, ANC earphone 500 can include one or more microphones, a speaker 501, a clipping prediction module 502, a clipping monitoring module 503, a clipping control module 504, and one or more ANC paths.
[0122] As an example, Figure 5 The clipping prediction module 502, the clipping monitoring module 503, and the clipping control module 504 can be located in Figure 5 a microprocessor (MCU) 202.
[0123] As an example, ANC earphone 500 can include a feed-forward microphone or a feedback microphone.
[0124] As another example, ANC earphone 500 can include both a feed-forward microphone (e.g., 507-1 as shown in Figure 6 ) and a feedback microphone (e.g., 507-2 as shown in Figure 5 ).
[0125] The feed-forward microphone 507-1 is used to collect ambient noise outside ANC earphone 500. The feedback microphone 507-2 is used to collect in-ear noise inside the user's ear canal.
[0126] Speaker 501 is used to play audio (e.g., music) and anti-phase noise. In embodiments of the present application, if ANC earphone has performed clipping processing on the input audio signal, speaker 501 is used to play the audio after clipping.
[0127] In some embodiments, in order to ensure the sound effect of the audio signal, as shown in Figure 2 , an audio EQ (Equaliser) filter (also known as an EQ equalizer) can also be used to process the audio signal. For example, the audio EQ filter can process each frequency band of the audio signal according to the actual situation (e.g., the playback mode, the playback scene, etc.), such as enhancing the audio signal of some frequencies and weakening the audio signal of some frequencies. For example, in a bass playback mode, the audio EQ filter can enhance the low frequency part (e.g., the audio signal below a preset frequency) and weaken the high frequency part (e.g., the audio signal above a first preset frequency). For specific descriptions of the audio EQ filter, please refer to the descriptions in the conventional technology, which will not be described herein.
[0128] The clipping prediction module 502 is used to determine the anti-phase signal after the ANC path according to the ambient noise collected by the feed-forward microphone 507-1 and / or the in-ear noise collected by the feedback microphone 507-2, and to predict the clipping probability and the clipping level under the current state of ANC earphone by comparing the amplitude of the anti-phase signal with the corresponding clipping threshold.
[0129] In some embodiments, for the scenario where audio is concurrent with ANC, e.g., for the scenario where the clipping prediction module 502 determines the anti-phase signal based on the mixed signal of the audio and the ambient noise, the in-ear noise, the audio signal will be mixed with the feed-forward anti-phase signal and the feedback anti-phase signal before being sent to the speaker for playing. Thus, as shown in FIG. 5, the input of the clipping prediction module 502 also includes the audio signal. Figure 5
[0130] As an example, the ANC earphone 500 can include a feed-forward path (FF-ANC path) or a feedback path (FB-ANC path).
[0131] As an example, Figure 5 The feed-forward path (FF-ANC path) and the feedback path (FB-ANC path) can be located in the ANC chip 203 as shown in FIG. 2. Figure 6
[0132] As another example, as shown in FIG. 5, the ANC earphone 500 can include both the feed-forward path (FF-ANC path) and the feedback path (FB-ANC path). The feed-forward path includes a feed-forward clipping control filter Figure 5 and a first active noise reduction filter set The feedback path includes a feedback clipping control filter and a second active noise reduction filter set
[0133] The first active noise reduction filter set 506-1 and the second active noise reduction filter set 506-2 are used for signal amplitude control of signals in a preset frequency band. Both the first active noise reduction filter set 506-1 and the second active noise reduction filter set 506-2 include one or more active noise reduction filters (such as one or more of low shelf filter, high pass filter, band pass filter, and band stop filter, etc.).
[0134] As shown in FIG. 5, the ANC earphone 500 further includes a summer 508 for calculating the speaker signal based on the outputs of the multiple ANC paths. Figure 5
[0135] The clipping monitoring module 503 is configured to monitor the amplitude of the loudspeaker signal played by the loudspeaker 501 to evaluate the clipping suppression effect. For example, if the amplitude of the suppressed loudspeaker signal is significantly different from the loudspeaker clipping threshold (e.g., greater than a preset value), it indicates that the current active noise reduction filter has insufficient suppression effect, and the clipping suppression parameter needs to be adjusted, for example, the clipping suppression amount is increased, until the amplitude of the suppressed loudspeaker signal is comparable to the loudspeaker clipping threshold (e.g., less than a preset value). Conversely, if the amplitude of the suppressed loudspeaker signal is comparable to the loudspeaker clipping threshold (e.g., less than a preset value), it indicates that the current clipping suppression amount is appropriate, and the suppression effect is good, and the current clipping suppression amount can be maintained.
[0136] The clipping control module 504 is configured to adaptively match the clipping suppression parameter according to the output of the clipping prediction module 502 and control the clipping control filter in the corresponding ANC channel to perform clipping according to the clipping suppression parameter. In addition, the clipping control module 504 can also be configured to adaptively match the clipping suppression parameter according to the output of the clipping monitoring module 503 and control the clipping control filter in the corresponding ANC channel to perform clipping according to the clipping suppression parameter.
[0137] The feedforward clipping control filter 505-1 and the feedback clipping control filter 505-2 are configured to perform signal amplitude control according to the clipping suppression parameter indicated by the clipping control module 504.
[0138] The first active noise reduction filter set 506-1 is configured to generate anti-phase noise corresponding to the ANC channel (i.e., the feedforward channel) to cancel the environmental noise outside the ANC earphone 500 collected by the feedforward microphone 507-1, thereby achieving the effect of filtering out the environmental noise.
[0139] The second active noise reduction filter set 506-2 is configured to generate anti-phase noise corresponding to the ANC channel (i.e., the feedback channel) to cancel the in-ear noise collected by the feedback microphone 507-2, thereby achieving the effect of filtering out the in-ear noise.
[0140] In some embodiments of the present application, the ANC earphone can support multiple working modes, and the multiple working modes have different noise reduction strengths.
[0141] The active noise reduction method provided by the embodiments of the present application can predict the clipping probability and the clipping degree of the ANC channel signal in advance in real time according to the collected microphone signal, the audio signal, and the loudspeaker signal after the ANC function of the terminal device, such as the ANC earphone, is turned on. At the same time, the ANC earphone can match the optimal clipping suppression parameter in real time and load it into the corresponding ANC channel, so as to perform clipping suppression in advance and effectively improve the robustness of the earphone clipping control.
[0142] Further, in some embodiments, the ANC earphone can also monitor the loudspeaker signal in real time to evaluate the clipping suppression effect. If the suppressed loudspeaker signal is still in the clipping state or at risk of clipping, the ANC earphone selects a clipping suppression parameter with a larger suppression amount for clipping suppression. If the suppressed loudspeaker signal is no longer clipped, the current clipping suppression parameter is maintained until the clipping disappears. By this method, adaptive adjustment can be made according to the real-time clipping degree and clipping effect to achieve a good and continuous clipping effect.
[0143] The ANC earphone with the structure shown in Figure 7 will be taken as an example to evaluate the clipping level based on the ambient noise collected by the feedforward microphone (such as the feedforward microphone 507-1), the in-ear noise collected by the feedback microphone (such as the feedback microphone 507-2), and the audio signal, and a specific description will be given to the active noise reduction method provided by the embodiments of the present application in combination with the drawings. Figure 7 Figure 7 The ANC earphone with the structure shown in
[0144] Please refer to Figure 8 , Figure 8 Fig. 1 shows a flowchart of an active noise reduction method provided by an embodiment of the present application. As shown in Figure 8 , the active noise reduction method provided by the embodiments of the present application can include S701-S705:
[0145] S701: The feedforward microphone 507-1 collects ambient noise. The feedback microphone 507-2 collects in-ear noise.
[0146] The ambient noise collected by the feedforward microphone 507-1 and the in-ear noise collected by the feedback microphone 507-2 are used as inputs of the clipping prediction module 502 to perform clipping level prediction.
[0147] S702: The clipping prediction module 502 determines a clipping suppression parameter according to the ambient noise, the in-ear noise, and the audio signal in combination with a preset clipping threshold.
[0148] As an example, the clipping prediction module 502 can determine a clipping level according to the ambient noise, the in-ear noise, and the audio signal in combination with a preset clipping threshold, and then match a corresponding clipping control filter and a clipping suppression parameter according to the determined clipping level.
[0149] In the embodiments of the present application, different clipping levels correspond to different clipping degrees. The clipping degree is used to reflect the proportion of the allowed feedback signal amplitude exceeding the preset clipping threshold. The preset clipping threshold refers to the preset clipping threshold of the time-domain signal.
[0150] As an example, the clipping degree can be represented by a clipping degree factor, which can allow the proportion of the allowed inverse-phase signal amplitude exceeding the preset clipping threshold. The greater the clipping factor, the greater the clipping probability and the greater the clipping degree; the smaller the clipping factor, the smaller the clipping probability and the smaller the clipping degree. Taking the proportion of the allowed inverse-phase signal amplitude exceeding the preset clipping threshold as 70% as an example, if the clipping degree factor is 80%, the clipping degree can be a clipping possibility; if the clipping degree factor is 90%, the clipping degree can be a high-probability clipping; if the clipping degree factor is 100%, the clipping degree can be a clipping occurrence.
[0151] Among them, one or more preset clipping thresholds can be pre-set in the ANC earphone, and the corresponding relationship between the one or more preset clipping thresholds and the clipping level. Exemplarily, the preset clipping threshold can include but is not limited to a feedforward path clipping threshold, a feedback path clipping threshold, and a speaker path clipping threshold. Among them, different preset clipping thresholds represent different clipping probabilities and clipping degrees. The higher the preset clipping threshold, the greater the clipping probability and the higher the clipping risk (i.e., the higher the clipping level); the lower the preset clipping threshold, the smaller the clipping probability and the lower the clipping risk (i.e., the lower the clipping level).
[0152] Exemplarily, the ANC earphone is pre-provided with a first preset threshold and a second preset threshold, and the first preset threshold and the second preset threshold correspond to a clipping level. For example, the first preset clipping threshold is greater than the second preset clipping threshold, the first preset clipping threshold corresponds to a first clipping level, and the second preset clipping threshold corresponds to a second clipping level. Among them, the clipping level is, for example, a weak clipping level and a strong clipping level, which is not limited by the present application and is determined by the specific clipping level setting.
[0153] For example, when the maximum amplitude of the inverse-phase signal corresponding to the noise signal (such as environmental noise or in-ear noise) is a first value, the clipping suppression parameter is a first clipping suppression parameter; when the maximum amplitude of the inverse-phase signal corresponding to the noise signal (such as environmental noise or in-ear noise) is a second value, the clipping suppression parameter is a second clipping suppression parameter. Among them, the first clipping suppression parameter and the second clipping suppression parameter have different clipping degrees.
[0154] As an example, the first value is greater than the first preset threshold, and the first clipping suppression parameter corresponds to the first clipping level. The second value is greater than the second preset threshold, and the second clipping suppression parameter corresponds to the second clipping level.
[0155] As a possible implementation, the clip prediction module 502 can calculate the loudspeaker signal according to the ambient noise collected by the feed-forward microphone 507-1 at S701, the in-ear noise collected by the feedback microphone 507-2 at S701, the audio signal, and in combination with the clip suppression parameters of the current ANC channels. For example, for the scenario of audio and ANC concurrency, the loudspeaker signal can be calculated according to the sum of the feed-forward feedback signal, the feedback feedback signal, and the audio signal. Further, the clip prediction module 502 determines the clip level by comparing the calculated loudspeaker signal with the loudspeaker channel clip threshold.
[0156] As another possible implementation, the clip prediction module 502 can calculate the feedback signal of the corresponding ANC channel according to the ambient noise collected by the feed-forward microphone 507-1 at S701 and the in-ear noise collected by the feedback microphone 507-2 at S701, respectively. Further, the clip prediction module 502 determines the clip level of each ANC channel by comparing the feedback signal of each ANC channel with the preset clip threshold, respectively. By predicting the clip level of each ANC channel, more precise clip level prediction can be achieved, ensuring better clip suppression effect.
[0157] As a possible structure, as shown in Figure 8 The clip prediction module 502 can include a feed-forward channel clip prediction module 502-1, a feedback channel clip prediction module 502-2, and a loudspeaker clip prediction module 502-3.
[0158] The feed-forward channel clip prediction module 502-1, the feed-forward clip control filter 505-1, and the first active noise reduction filter set 506-1 form a feed-forward channel (i.e., FF-ANC channel). The input of the feed-forward channel clip prediction module 502-1 is the ambient noise collected by the feed-forward microphone 507-1. The feedback channel clip prediction module 502-2, the feedback clip control filter 505-2, and the second active noise reduction filter set 506-2 form a feedback channel (i.e., FB-ANC channel). The input of the feedback channel clip prediction module 502-2 is the in-ear noise collected by the feedback microphone 507-2. The loudspeaker clip prediction module 502-3 and the summer 508 form a loudspeaker channel.
[0159] The feed-forward channel clip prediction module 502-1, the feed-forward clip control filter 505-1, and the first active noise reduction filter set 506-1 form a feed-forward channel (i.e., FF-ANC channel). The input of the feed-forward channel clip prediction module 502-1 is the ambient noise collected by the feed-forward microphone 507-1. The feedback channel clip prediction module 502-2, the feedback clip control filter 505-2, and the second active noise reduction filter set 506-2 form a feedback channel (i.e., FB-ANC channel). The input of the feedback channel clip prediction module 502-2 is the in-ear noise collected by the feedback microphone 507-2. The loudspeaker clip prediction module 502-3 and the summer 508 form a loudspeaker channel. Figure 8The feed-forward path clipping prediction module 502-1 is configured to predict the clipping probability and the clipping level of the signal of the feed-forward path according to the signal amplitude of the feed-forward path and the feed-forward path clipping threshold. It can be understood that, given the clipping suppression parameters of the feed-forward clipping control filter 505-1 and the first active noise reduction parameter, the feed-forward path clipping prediction module 502-1 can calculate the feedback anti-phase signal of the ambient noise collected by the feed-forward microphone 507-1 after passing through the feed-forward clipping control filter 505-1 and the feed-forward path clipping prediction module 502-1. Further, the feed-forward path clipping prediction module 502-1 can compare the maximum amplitude of the calculated feedback anti-phase signal with the feed-forward path clipping threshold to determine the feed-forward path clipping level. Different feed-forward path clipping thresholds represent different clipping probabilities and clipping levels. The higher the feed-forward path clipping threshold, the greater the clipping probability and the higher the clipping risk (i.e., the higher the clipping level); the lower the feed-forward path clipping threshold, the smaller the clipping probability and the lower the clipping risk (i.e., the lower the clipping level).
[0160] Similarly, Figure 8 The feedback path clipping prediction module 502-2 is configured to predict the clipping probability and the clipping level of the signal of the feedback path according to the signal amplitude of the feedback path and the feedback path clipping threshold. It can be understood that, given the clipping suppression parameters of the feedback clipping control filter 505-2 and the second active noise reduction parameter, the feedback path clipping prediction module 502-2 can calculate the feedback anti-phase signal of the in-ear noise collected by the feedback microphone 507-2 after passing through the feedback clipping control filter 505-2 and the feedback path clipping prediction module 502-2. Further, the feedback path clipping prediction module 502-2 can compare the maximum amplitude of the calculated feedback anti-phase signal with the feedback path clipping threshold to determine the feedback path clipping level. Different feedback path clipping thresholds represent different clipping probabilities and clipping levels. The higher the feedback path clipping threshold, the greater the clipping probability and the higher the clipping risk (i.e., the higher the clipping level); the lower the feedback path clipping threshold, the smaller the clipping probability and the lower the clipping risk (i.e., the lower the clipping level).
[0161] In some embodiments, in order to protect the audio signal from being treated as noise, the audio signal can be protected by the active noise reduction system, such as Figure 8 As shown, the audio signal can also be protected by the stimulate pathways (SP). For specific description of the SP, please refer to the description in the conventional technology, which will not be repeated here.
[0162] As shown, the audio signal can also be protected by the stimulate pathways (SP). For specific description of the SP, please refer to the description in the conventional technology, which will not be repeated here. Figure 8As shown, the speaker path includes a summer 508 and a speaker clipping prediction module 502-3. The summer 508 is used to calculate the speaker signal by combining the feedforward inverted signal, the feedback inverted signal, and the audio signal. The speaker clipping prediction module 502-3 is used to determine the speaker path clipping level by comparing the calculated speaker signal with the speaker path clipping threshold.
[0163] Considering that clipping mainly occurs in the low-frequency range for ANC headphones, after calculating the inverted signal of each ANC path, the inverted signal can be filtered by a low-frequency filter. Furthermore, by comparing the maximum amplitude of the inverted signal of each ANC path after being filtered by the low-frequency filter with the preset clipping threshold, the clipping level of each ANC path can be determined.
[0164] like Figure 8 As shown, the feedforward path clipping prediction module 502-1 passes the inverted signal of the feedforward path through a low-pass filter. The signal is filtered, and the maximum amplitude of the filtered signal is compared with the clipping threshold of the feedforward path to output the clipping level of the feedforward path. The feedback path clipping prediction module 502-2 passes the inverted signal from the feedback path through a low-pass filter. The filtering process compares the maximum amplitude of the filtered signal with the clipping threshold of the feedback path, and outputs the clipping level of the feedback path.
[0165] In some embodiments, such as Figure 9 As shown, the speaker clipping prediction module 502-3 can also pass the speaker signal through a low-pass filter. The filtering process compares the maximum amplitude of the filtered signal with the clipping threshold of the speaker path, and outputs the clipping level of the speaker path.
[0166] by Figure 9 Taking the clipping level prediction process as an example, the clipping control module 504 can adaptively match the corresponding feedforward clipping suppression parameter based on the clipping level output by the feedforward path clipping prediction module 502-1. Similarly, the clipping control module 504 can adaptively match the corresponding feedback clipping suppression parameter based on the feedback path clipping level output by the feedback path clipping prediction module 502-2.
[0167] Alternatively, for the case where the clipping prediction module 502 predicts the clipping level based on the horn signal, the clipping control module 504 can adaptively match the corresponding feedforward clipping suppression parameter and feedback clipping suppression parameter according to the determined clipping level.
[0168] It should be noted that the above method for determining clipping suppression parameters is only an example, and this application does not limit the specific method for determining clipping suppression parameters based on noise signals (such as ambient noise and / or in-ear noise).
[0169] For example, as one possible implementation, the ANC earphone can be pre-provided with a corresponding relationship between the anti-phase signal amplitude and the clipping suppression parameter. Based on this, the clipping prediction module 502 can determine the clipping suppression parameter corresponding to the specific maximum amplitude of the anti-phase signal corresponding to the environmental noise and the in-ear noise according to the above corresponding relationship.
[0170] For example, as another possible implementation, the ANC earphone can be pre-provided with a corresponding relationship between the anti-phase signal amplitude range and the clipping suppression parameter. Based on this, the clipping prediction module 502 can determine the clipping suppression parameter corresponding to the anti-phase signal amplitude range where the specific maximum amplitude of the anti-phase signal corresponding to the environmental noise and the in-ear noise is located according to the above corresponding relationship.
[0171] S703: The clipping control module 504 controls the corresponding clipping control filter to clip according to the clipping suppression parameter.
[0172] For example, the clipping control module 504 can control the clipping prediction module 502 to clip the corresponding clipping control filter according to the clipping control parameter matched by the clipping level. The clipping control parameter includes the above-mentioned clipping suppression parameter.
[0173] For example, the clipping control module 504 can load the feedforward clipping suppression parameter to the feedforward clipping control filter 505-1 in the corresponding feedforward path, so that the feedforward clipping control filter 505-1 clips the feedforward anti-phase signal according to the feedforward clipping suppression parameter. Similarly, the clipping control module 504 can load the feedback clipping suppression parameter to the feedback clipping control filter 505-2 in the feedback path, so that the feedback clipping control filter 505-2 clips the feedback anti-phase signal according to the feedback clipping suppression parameter. Figure 9 For example, the clipping control module 504 can load the feedforward clipping suppression parameter to the feedforward clipping control filter 505-1 in the corresponding feedforward path, so that the feedforward clipping control filter 505-1 clips the feedforward anti-phase signal according to the feedforward clipping suppression parameter. Similarly, the clipping control module 504 can load the feedback clipping suppression parameter to the feedback clipping control filter 505-2 in the feedback path, so that the feedback clipping control filter 505-2 clips the feedback anti-phase signal according to the feedback clipping suppression parameter.
[0174] For example, the clipping control module 504 can load the feedforward clipping suppression parameter to the feedforward clipping control filter 505-1 in the corresponding feedforward path, so that the feedforward clipping control filter 505-1 clips the feedforward anti-phase signal according to the feedforward clipping suppression parameter. Similarly, the clipping control module 504 can load the feedback clipping suppression parameter to the feedback clipping control filter 505-2 in the feedback path, so that the feedback clipping control filter 505-2 clips the feedback anti-phase signal according to the feedback clipping suppression parameter.
[0175] For example, the clipping control filter can include one or more of all-pass filter, low shelf filter, low-pass filter, high-pass filter, high shelf filter, band-pass filter, and band-stop filter, etc.
[0176] As an example, if the maximum amplitude of the anti-phase signal does not exceed the minimum clipping threshold (e.g., clipping threshold 1), the ANC earphone is not clipped and is in a normal condition. For this case, the clipping control module 504 can select a full-pass filter as the clipping control filter and does not suppress the signals in the ANC paths.
[0177] As another example, if the maximum amplitude of the anti-phase signal exceeds a certain clipping threshold (e.g., clipping threshold 2), the ANC earphone is not clipped but is at risk of clipping. For this case, the clipping control module 504 can preferentially select a low-shelf filter as the clipping control filter and perform clipping suppression in advance to prevent clipping.
[0178] As another example, if the maximum amplitude of the anti-phase signal exceeds a certain clipping threshold (e.g., clipping threshold 3), the ANC earphone is clipped. For this case, the clipping control module 504 can evaluate the clipping level according to the specific relationship between the maximum amplitude of the anti-phase signal and the clipping threshold, and select a corresponding low-shelf filter as the clipping control filter to suppress the anti-phase signal to prevent clipping.
[0179] For example, the correspondence between the clipping level and the clipping suppression parameter can be pre-set in the ANC earphone. The clipping suppression parameter is used to at least represent the clipping suppression amount and the suppression frequency band.
[0180] For example, Figure 9 , Figure 7 For example, a low-shelf filter is used to show an example of the frequency response amplitude of the clipping control filter of different clipping levels. As shown in the figure, Figure 7 wherein the clipping level 1 < the clipping level 2 < … < the clipping level n-2 < the clipping level n-1 < the clipping level n (where n is a positive integer). As shown in the figure, Figure 10 the corresponding clipping suppression amount and the suppression frequency band increase step by step as the clipping level increases.
[0181] S704: The clipping monitoring module 503 acquires the loudspeaker signal.
[0182] As an example, the loudspeaker signal is obtained by processing (e.g., superimposing) the noise signal (e.g., ambient noise and / or in-ear noise), the corresponding anti-phase signal of the noise signal (e.g., ambient noise and / or in-ear noise), and the audio signal.
[0183] S705: The clipping monitoring module 503 evaluates whether the clipping suppression achieves a preset effect according to the loudspeaker signal.
[0184] The clipping suppression achieves the preset effect means that the clipping condition is effectively suppressed.
[0185] As an example, the clipping monitoring module 503 may be pre-set with one or more evaluation thresholds for assessing the degree of clipping suppression. Different evaluation thresholds represent different degrees of clipping suppression. The clipping monitoring module 503 can determine whether the clipping suppression has achieved the preset effect by comparing the maximum amplitude of the horn signal with one or more pre-set evaluation thresholds.
[0186] It is understood that noise signals and path signals have a corresponding relationship, such as a corresponding relationship between ambient noise and feedforward path signals, and a corresponding relationship between in-ear noise and feedback path signals. Changes in path signals will cause changes in speaker signals. Therefore, in this embodiment, the speaker signal can be used to reflect the clipping suppression effect of each path. Based on this, in this embodiment, the clipping suppression effect can be evaluated by analyzing the speaker signal.
[0187] As an example, if the maximum amplitude of the horn signal is within a preset evaluation threshold range (such as between the first and second preset evaluation thresholds), it means that the horn signal is no longer clipped, and the clipping monitoring module 503 can determine that the clipping suppression has achieved the preset effect. If the maximum amplitude of the horn signal is higher than a preset evaluation threshold (such as the third preset evaluation threshold), it means that the horn signal is still in a clipped state or still has a risk of clipping; or if the maximum amplitude of the horn signal is lower than a preset evaluation threshold (such as the fourth preset evaluation threshold), it means that the degree of horn signal clipping suppression is too large, and the clipping monitoring module 503 can determine that the clipping suppression has not achieved the preset effect.
[0188] If the clipping monitoring module 503 evaluates that the clipping suppression based on the above clipping suppression parameters achieves the preset effect, such as Figure 10 As shown, the clipping control filter maintains the current clipping control parameters (including clipping suppression) for clipping. After the clipping control filter maintains these parameters for a period of time, the ANC headphones return to normal operation and no longer produce the "popping" clipping noise. Furthermore, after the ANC headphones return to normal operation, they resume directing the inverted signal corresponding to the noise signal, and no longer perform clipping suppression.
[0189] If the clipping monitoring module 503 evaluates that the clipping suppression based on the above-mentioned clipping suppression parameter does not achieve the preset effect, the ANC earphone adjusts the clipping control parameter (e.g., the clipping suppression parameter) according to the specific relationship between the maximum amplitude (e.g., the third value) of the loudspeaker signal and the one or more preset evaluation thresholds, in the manner of increasing or decreasing the clipping suppression amount, controls the corresponding clipping control filter to perform clipping according to the adjusted clipping control parameter (e.g., the clipping suppression parameter) through the clipping control module 504. For example, the ANC earphone can adjust the first clipping suppression parameter or the second clipping suppression parameter to the third clipping suppression parameter. The third clipping suppression parameter is the clipping suppression parameter when the maximum amplitude of the loudspeaker signal is the third value. As shown in Figure 10 FIG. 7, the clipping monitoring module 503 can request the clipping control module 504 to adjust the clipping suppression parameter, so as to repeatedly perform S703-S705 based on the adjusted clipping suppression parameter until the clipping suppression achieves the preset effect. Further, after the clipping suppression achieves the preset effect, the ANC earphone maintains the use of the above-mentioned clipping control parameter for a period of time until the ANC earphone returns to the normal state and no longer produces the “puffing” clipping noise. Finally, after the ANC earphone returns to the normal state, the ANC earphone restores the straight-through of the anti-phase signal corresponding to the noise signal and no longer performs clipping suppression.
[0190] For example, please refer to Figure 10 , Figure 10 FIG. 8 shows a schematic diagram of a clipping adjustment function strategy logic. As shown in Figure 5 , if the maximum amplitude of the loudspeaker signal is within a certain preset evaluation threshold interval (e.g., between the first preset evaluation threshold and the second preset evaluation threshold), the current clipping suppression amount is maintained.
[0191] As shown in Figure 11 , if the maximum amplitude (e.g., the third value) of the loudspeaker signal is higher than a certain preset evaluation threshold (e.g., the third preset evaluation threshold), the clipping control parameter is adjusted in the manner of increasing the clipping suppression amount, and the corresponding clipping control filter is controlled to perform clipping according to the adjusted clipping control parameter through the clipping control module 504. For example, the ANC earphone can adjust the first clipping suppression parameter or the second clipping suppression parameter to the third clipping suppression parameter. The first clipping suppression parameter includes the first clipping suppression amount, the second clipping suppression parameter includes the second clipping suppression amount, the third clipping suppression parameter includes the third clipping suppression amount, the third clipping suppression amount is greater than the first clipping suppression amount, and the third clipping suppression amount is greater than the second clipping suppression amount.
[0192] As shown in Figure 11As shown, if the maximum amplitude (e.g., the third value) of the speaker signal is lower than a preset evaluation threshold (e.g., the fourth preset evaluation threshold), the adjustment of the clipping control parameter in a manner of reducing the clipping suppression amount is adopted, and the clipping control module 504 controls the corresponding clipping control filter to perform clipping according to the adjusted clipping control parameter. For example, the ANC earphone can adjust the first clipping suppression parameter or the second clipping suppression parameter to the third clipping suppression parameter. The first clipping suppression parameter includes the first clipping suppression amount, the second clipping suppression parameter includes the second clipping suppression amount, and the third clipping suppression parameter includes the third clipping suppression amount. The third clipping suppression amount is less than the first clipping suppression amount, and the third clipping suppression amount is less than the second clipping suppression amount.
[0193] As an example, the clipping control module 504 can adaptively optimize the clipping suppression parameter in the corresponding ANC channel according to the actual clipping situation of each ANC channel in real time according to the evaluation result of the clipping monitoring module 503 on the clipping suppression effect.
[0194] Please refer to the following table 1, which shows a logic diagram of adaptive optimization of clipping suppression parameter. In table 1, "+" represents that clipping occurs. "-" represents that clipping does not occur.
[0195] Table 1
[0196]
[0197] Taking case 1 in table 1 as an example, clipping occurs in the feedforward channel, clipping does not occur in the feedback channel, and clipping occurs in the speaker signal output by the speaker channel. For this case, the clipping control module 504 determines that the speaker channel clipping is mainly due to the clipping of the feedforward channel, and the clipping control module 504 can adaptively adjust the clipping level of the feedforward channel (e.g., increase the clipping level of the feedforward channel), and match the optimal clipping suppression parameter (e.g., match the clipping suppression parameter with a larger suppression amount) according to the adjusted clipping level; or, the clipping control module 504 can directly adaptively adjust the clipping suppression parameter of the feedforward channel (e.g., increase the clipping suppression amount).
[0198] Taking case 5 in table 1 as an example, the feedforward channel, the feedback channel and the speaker channel do not clip. For this case, the clipping control module 504 does not adjust the current situation to avoid affecting the active noise reduction effect.
[0199] It is understood that in the active noise cancellation method provided in this application embodiment, the clipping monitoring module 503 achieves real-time monitoring of the degree and effect of clipping suppression by evaluating the speaker signal of the ANC headphones. Furthermore, the clipping control module can match optimal clipping suppression parameters to each ANC path according to the actual clipping situation, effectively improving the robustness of clipping control. Moreover, while effectively suppressing clipping, it minimizes the impact of the clipping suppression parameters on the active noise cancellation effect.
[0200] In some scenarios, such as when ANC headphones are subjected to short-term clipping during short-impact situations like opening / closing doors or going over speed bumps, the clipping time is usually relatively short, which may cause the clipping prediction module to react too slowly. In this case, the clipping monitoring module plays a more prominent role by matching appropriate clipping suppression parameters based on the specific relationship between the maximum amplitude of the speaker signal and one or more pre-set evaluation thresholds.
[0201] In some embodiments, as a possible structure, the active noise reduction filter bank in the ANC path (such as...) Figure 12 The first active noise cancellation filter bank 506-1 and the second active noise cancellation filter bank 506-2 shown can be composed of multiple cascaded active noise cancellation filters. For example, the active noise cancellation filter can include, but is not limited to, dual second-order filters.
[0202] like Figure 2 As shown, the active noise cancellation filter bank in the ANC path is composed of a first active noise cancellation filter, a second active noise cancellation filter, ..., an nth active noise cancellation filter cascaded together (n is a positive integer). Figure 2 As shown in the embodiments of this application, the active noise cancellation method can compare the output signal of each active noise cancellation filter in the active noise cancellation filter bank with the corresponding preset threshold to perform clipping judgment, evaluate the impact of each active noise cancellation filter on the input signal, and thus accurately locate the active noise cancellation filter that causes signal clipping, which helps to precisely control clipping. For example, if a certain noise cancellation filter causes signal clipping, clipping control can be performed by adjusting the gain of the noise cancellation filter.
[0203] This method allows us to understand the impact of each specific active noise reduction filter on signal clipping, which is beneficial for designing and matching filters or adjusting the corresponding filter gain in a targeted manner, thereby improving the robustness of clipping control.
[0204] Furthermore, considering that clipping noise typically occurs in specific scenarios, such as during heavy turbulence in transportation vehicles (e.g., airplanes, subways, buses), aircraft landing, door opening and closing, and driving over speed bumps, in some embodiments, to more accurately achieve clipping control during active noise reduction, such as... As shown, ANC headphones can also perform clipping control based on sensor data and / or other relevant data. For example, ANC headphones can predict the scene in which they are located based on data collected by one or more sensors and / or other relevant data, thereby performing corresponding clipping control in advance when the ANC headphones are in a high-risk clipping scenario. For example, clipping control could involve reasonably reducing a preset clipping threshold to decrease the probability of clipping occurring.
[0205] For example, other relevant data, such as the status of the electronic device (such as a smartphone) that establishes a communication connection with the ANC headset, and application running data, are not limited in this application. For example, the status of the electronic device (such as a smartphone) may be airplane mode; the application running data of the electronic device (such as a smartphone) may be sports-related applications currently running on the electronic device (such as a smartphone).
[0206] As an example, at least one of the aforementioned sensors is located in the ANC headset. For instance, the aforementioned sensors may include, but are not limited to, a voice pickup (VPU) sensor (such as...). The VPU sensor 205-2 shown), and the voice acceleration (VACC) sensor (such as...) The ANC headset uses one or more of the following sensors: VPU sensor (205-3) or vibration sensor. It is understood that when encountering bumps in transportation (such as airplanes, subways, buses, etc.), airplane landing, door opening / closing, or passing over speed bumps, the VPU sensor or VCC sensor can detect the turbulence in the sound signal, and the vibration sensor can detect the vibration of the ANC headset. Based on the data collected by one or more of the VPU sensor, VCC sensor, or vibration sensor, the ANC headset can determine that there is a risk of clipping noise emanating from the headset.
[0207] As another example, at least one of the aforementioned sensors is located in an electronic device (such as a smartphone) that establishes a communication connection with the ANC headset. For example, the aforementioned sensors may include, but are not limited to, accelerometer sensors, gyroscope sensors, vibration sensors, etc., which are not limited in this application and depend on the specific structure of the electronic device.
[0208] It should be understood that the various solutions in the embodiments of this application can be used in a reasonable combination, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained to each other in the various embodiments, without limitation.
[0209] It should also be understood that, in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0210] It can be understood that, in order to implement the functions of any one of the above embodiments, the terminal device comprises a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed in the form of hardware or computer software driving hardware depends on a specific application of the technical solution and design constraints. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0211] The embodiments of the present application can divide the terminal device into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division. In actual implementation, another division method can be used.
[0212] It should be understood that each module in the terminal device can be realized in the form of software and / or hardware, and no specific limitation is made in this regard. In other words, the electronic device is presented in the form of functional modules. The "module" herein can refer to an application specific integrated circuit (ASIC), a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0213] In an alternative, when data transmission is implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are implemented in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as digital video disk (DVD)), or semiconductor media (such as solid state disk (SSD)), etc.
[0214] The steps of the methods or algorithms described in connection with the embodiments disclosed herein can be embodied directly in hardware, in software or in a combination of the two. Software instructions can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can be a component of the processor. The processor and the storage medium can be located in an ASIC. The ASIC can be located in an electronic device. Of course, the processor and the storage medium can also be present as discrete components in a terminal device.
[0215] From the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, i.e. the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
Claims
1. An active noise reduction method, characterized by, The method is used for a terminal device in a jolt scene or a short-time impact scene, the terminal device has an active noise reduction function, and the method comprises: acquiring a noise signal, wherein the noise signal is used to reflect environmental noise and / or in-ear noise, the noise signal has a corresponding relationship with a channel signal, and a change in the channel signal causes a change in a loudspeaker signal; controlling the noise signal according to a clipping suppression parameter; wherein when a maximum amplitude of an anti-phase signal corresponding to the noise signal is a first value, the clipping suppression parameter is a first clipping suppression parameter; when the maximum amplitude of the anti-phase signal corresponding to the noise signal is a second value, the clipping suppression parameter is a second clipping suppression parameter; the first clipping suppression parameter and the second clipping suppression parameter are different in clipping degree; controlling a subsequent noise signal according to a third clipping suppression parameter; wherein when a maximum amplitude of the loudspeaker signal is a third value, the clipping suppression parameter is a third clipping suppression parameter, and the third clipping suppression parameter is a clipping suppression parameter when the maximum amplitude of the loudspeaker signal is the third value.
2. The method of claim 1, wherein, The acquiring of the noise signal comprises: collecting one or more noise signals through one or more microphones.
3. The method of claim 2, wherein, The acquiring of the noise signal comprises: collecting the environmental noise through a first microphone; collecting the in-ear noise through a second microphone.
4. The method of claim 3, wherein, The environmental noise has a corresponding relationship with a channel signal of a first channel, and the in-ear noise has a corresponding relationship with a channel signal of a second channel; when a maximum amplitude of an anti-phase signal corresponding to the environmental noise is a first value, a clipping suppression parameter of the first channel is a first clipping suppression parameter; when the maximum amplitude of the anti-phase signal corresponding to the environmental noise is a second value, the clipping suppression parameter of the first channel is a second clipping suppression parameter; when a maximum amplitude of an anti-phase signal corresponding to the in-ear noise is a first value, a clipping suppression parameter of the second channel is a first clipping suppression parameter; when the maximum amplitude of the anti-phase signal corresponding to the in-ear noise is a second value, the clipping suppression parameter of the second channel is a second clipping suppression parameter.
5. The method according to any one of claims 1-4, characterized in that, The terminal device is previously provided with a corresponding relationship between an anti-phase signal amplitude and a clipping suppression parameter.
6. The method according to any one of claims 1-4, characterized in that, The terminal device is previously provided with a corresponding relationship between an anti-phase signal amplitude range and a clipping suppression parameter.
7. The method according to any one of claims 1-4, characterized in that, The third value is greater than a first preset evaluation threshold, and the method further comprises: adjusting the first clipping suppression parameter to the third clipping suppression parameter; and / or, adjusting the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter comprises a first clipping suppression amount, the second clipping suppression parameter comprises a second clipping suppression amount, the third clipping suppression parameter comprises a third clipping suppression amount, the third clipping suppression amount is greater than the first clipping suppression amount, and the third clipping suppression amount is greater than the second clipping suppression amount.
8. The method according to any one of claims 1-4, characterized in that, The third value is less than a second preset evaluation threshold, and the method further comprises: adjusting the first clipping suppression parameter to the third clipping suppression parameter; and / or, adjust the second clipping suppression parameter to the third clipping suppression parameter; wherein the first clipping suppression parameter comprises a first clipping suppression amount, the second clipping suppression parameter comprises a second clipping suppression amount, and the third clipping suppression parameter comprises a third clipping suppression amount, the third clipping suppression amount being less than the first clipping suppression amount, and the third clipping suppression amount being less than the second clipping suppression amount.
9. The method according to any one of claims 1-4, characterized in that, The method further comprises: determining that the terminal device is in the jolt scenario or the short-time impact scenario.
10. The method of claim 9, wherein, The determining that the terminal device is in the jolt scenario or the short-time impact scenario comprises: determining, according to sensor data, that the terminal device is in the jolt scenario or the short-time impact scenario.
11. The method of claim 10, wherein, the sensor data is collected by one or more sensors of the terminal device; or the sensor data is collected by one or more sensors of an electronic device that establishes a communication connection with the terminal device.
12. The method of claim 9, wherein, The determining that the terminal device is in the jolt scenario or the short-time impact scenario comprises: determining, according to a state and / or application running data of an electronic device that establishes a communication connection with the terminal device, that the terminal device is in the jolt scenario or the short-time impact scenario.
13. The method of claim 3, wherein, The first microphone is a feed-forward microphone, and the second microphone is a feedback microphone.
14. A terminal device, comprising: The terminal device comprises: a processor, a memory, and one or more programs; wherein the one or more programs are stored in the memory and comprise instructions that, when executed by the processor, cause the terminal device to perform the method of any one of claims 1-13.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium is configured to store a computer program that, when executed on a computer, causes the computer to perform the method of any one of claims 1-13.
16. A computer program product, characterised in that, The computer-readable storage medium is configured to store a computer program that, when executed on a computer, causes the computer to perform the method of any one of claims 1-13. The computer-readable storage medium is configured to store a computer program that, when executed on a computer, causes the computer to perform the method of any one of claims 1-13.
Citation Information
Patent Citations
Active noise reduction method and device
CN113676803A
Noise reducing device
JP2000089769A