Audio noise reduction method, device, equipment and storage medium based on Bluetooth headset

By using cascaded biquad filters and multivariate variational mode decomposition technology in Bluetooth headsets to adaptively optimize filter parameters, the problem of insufficient audio clarity in Bluetooth headsets in noisy environments is solved, and efficient noise cancellation is achieved. and audio enhancements to improve user experience.

CN118250600BActive Publication Date: 2024-09-13SHENZHEN HESHENGCHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410656077.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-13
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

Existing Bluetooth headsets are difficult to provide a clear audio experience in noisy environments. Physical sound isolation affects user comfort, and traditional digital noise reduction technology cannot effectively suppress background noise in complex environments.

Method used

A cascaded biquad filter based on Bluetooth headsets is used to obtain multi-dimensional sound data through a multi-microphone array, conduct multivariate variational mode decomposition and noise modeling, adaptively optimize filter parameters, dynamically eliminate noise and enhance audio signals.

Benefits of technology

The audio noise reduction effect is improved to ensure that users can enjoy a clear audio experience in changing environments and meet the demand for high-quality audio output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118250600B
    Figure CN118250600B
Patent Text Reader

Abstract

The present application relates to the technical field of audio noise reduction, and discloses an audio noise reduction method, device, equipment and storage medium based on Bluetooth headsets. The method comprises: obtaining multidimensional sound data through multiple microphone arrays in the Bluetooth headset, and performing preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data; performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics; performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and sound characteristics to obtain a target cascaded biquad filter; performing dynamic noise elimination through the target cascaded biquad filter to obtain second audio signal data; performing dynamic sound enhancement on the second audio signal data, and outputting the target audio signal data of the Bluetooth headset. The present application improves the effect of audio noise reduction by constructing a cascaded biquad filter of the Bluetooth headset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio noise reduction, and in particular to an audio noise reduction method, device, equipment and storage medium based on a Bluetooth headset. Background Art

[0002] Bluetooth headsets are widely popular due to their portability and flexibility. However, Bluetooth headsets often have difficulty providing a clear audio experience in modern environments with variable noise, especially in public places with heavy traffic and noisy voices, where noise interferes with call quality and music enjoyment. Therefore, improving the audio noise reduction capability of Bluetooth headsets has become an important research and development direction.

[0003] Many noise-cancelling headphones on the market currently rely mainly on physical sound insulation or limited digital noise reduction technology. Physical sound insulation often affects the long-term wearing comfort of users, while traditional digital noise reduction technology is limited by processing algorithms and hardware performance, and cannot fully and effectively suppress background noise in complex environments without affecting sound quality. The limitations of these technologies have led to users still facing problems such as insufficient audio clarity and excessive external interference in actual use. Summary of the invention

[0004] The present application provides an audio noise reduction method, apparatus, device and storage medium based on a Bluetooth headset, which is used to improve the effect of audio noise reduction by constructing a cascaded biquad filter of the Bluetooth headset.

[0005] In a first aspect, the present application provides an audio noise reduction method based on a Bluetooth headset, and the audio noise reduction method based on a Bluetooth headset comprises:

[0006] Acquire multi-dimensional sound data through multiple microphone arrays in the Bluetooth headset, and perform preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data;

[0007] Performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics;

[0008] Performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter;

[0009] Performing dynamic noise elimination on the multi-dimensional sound data by using the target cascaded biquad filter to obtain second audio signal data;

[0010] Dynamic sound enhancement is performed on the second audio signal data, and target audio signal data of the Bluetooth headset is output.

[0011] In a second aspect, the present application provides an audio noise reduction device based on a Bluetooth headset, the audio noise reduction device based on a Bluetooth headset comprising:

[0012] An acquisition module, used to acquire multi-dimensional sound data through a plurality of microphone arrays in a Bluetooth headset, and perform preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data;

[0013] A modeling module, used for performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics;

[0014] An optimization module, configured to perform adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter;

[0015] an elimination module, configured to perform dynamic noise elimination on the multi-dimensional sound data through the target cascaded biquad filter to obtain second audio signal data;

[0016] The enhancement module is used to perform dynamic sound enhancement on the second audio signal data and output the target audio signal data of the Bluetooth headset.

[0017] A third aspect of the present application provides an audio noise reduction device based on a Bluetooth headset, comprising: a memory and at least one processor, wherein instructions are stored in the memory; the at least one processor calls the instructions in the memory so that the audio noise reduction device based on the Bluetooth headset executes the above-mentioned audio noise reduction method based on the Bluetooth headset.

[0018] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned audio noise reduction method based on Bluetooth headsets.

[0019] In the technical solution provided by the present application, by utilizing the multi-microphone array inside the Bluetooth headset, the ambient sound can be captured in all directions, providing richer sound information. The accuracy of noise processing is improved by double filtering, and the noise of a specific frequency can be effectively weakened or eliminated while retaining the valuable signal part. The audio signal can be deconstructed into different modal components through multivariate variational modal decomposition and noise modeling, making the identification and modeling of noise more accurate. The filter parameters are optimized using noise models and sound characteristics, so that the filter can adapt to different sound environments and user needs, enhancing the flexibility and scope of application of the system. The dynamic elimination of noise by the target cascaded double second-order filter enables the headset to adjust the processing strategy in real time according to the changing environmental noise, further improving the noise reduction effect, and ensuring that users can still enjoy a clear audio experience in a changing environment. The final sound enhancement step increases the richness and depth of the audio signal through dynamic adjustment, improves the effect of audio noise reduction, and meets the user's demand for high-quality audio output. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0021] Figure 1 A schematic diagram of an embodiment of an audio noise reduction method based on a Bluetooth headset in an embodiment of the present application;

[0022] Figure 2 This is a schematic diagram of an embodiment of an audio noise reduction device based on a Bluetooth headset in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The embodiments of the present application provide an audio noise reduction method, device, equipment and storage medium based on a Bluetooth headset. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 In the embodiment of the present application, an embodiment of the audio noise reduction method based on a Bluetooth headset includes:

[0025] Step S101, acquiring multi-dimensional sound data through a plurality of microphone arrays in a Bluetooth headset, and performing preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data;

[0026] It is understandable that the execution subject of the present application can be an audio noise reduction device based on a Bluetooth headset, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0027] Specifically, the multi-microphone array in the Bluetooth headset captures sound signals from different directions to obtain multi-dimensional sound data. These sound data contain rich spatial information and can reflect the location of the sound source and the propagation path of the sound. The timestamp information of the multi-dimensional sound data is obtained to accurately align the data in time sequence and eliminate the time difference in receiving the sound signal caused by the different microphone positions. The aligned sound data is processed for sound source localization, and the spatial position of the sound source is accurately inferred using the acoustic model by calculating the time difference and intensity difference of the sound signal between different microphones. The spatial sound source data is directionally filtered through an initial cascaded double quadratic filter to obtain the first audio signal data. The filter has a specific transfer function ,in and The coefficients of the first and second order terms, respectively, define the zero position and frequency of the filter. The natural frequencies of the first and second order filters are and , and the quality factor and The settings of these parameters are related to the response characteristics of the filter, including its cutoff frequency and bandwidth. The setting of parameters enables the filter to specifically enhance the sound signal in a specific direction while weakening the noise in other directions, thus having a better suppression effect on the noise in the environment.

[0028] Step S102: performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics;

[0029] Specifically, based on the first modal decomposition number and the initial center frequency, a multivariate variational modal decomposition algorithm is used to perform frequency decomposition processing on the first audio signal data to decompose the audio signal into several modal components. The multivariate variational modal decomposition algorithm is a time-frequency analysis technique that decomposes the signal at multiple scales and allows each mode to vary within its corresponding frequency band, which can more accurately extract and separate the effective components and noise in the audio signal. The mathematical model of the multivariate variational modal decomposition algorithm is implemented by minimizing a composite objective function that contains multiple terms, where the first term is used to maintain the integrity of the signal, the second term is a regularization term for a single modal component with sparsity as the goal, and the third term is to reduce the similarity between different modal components, thereby improving the accuracy of the decomposition. In this algorithm, each modal component They are all approximate expressions of the original signal, and each component has its corresponding initial center frequency The Dirac function δ(t) is used to ensure the time-frequency locality of the decomposition. Regularization parameter and They are used to control the sparsity of modal components and the orthogonality between modes respectively. The algorithm decomposes the audio signal into multiple frequency bands, each of which corresponds to a modal component. Then the audio data of the sub-bands is analyzed to obtain detailed characteristics of the signal in each frequency band, such as band energy, band width, etc. Harmonic analysis is performed on the audio fundamental frequency data to identify the fundamental frequency and harmonic components of the audio signal. Harmonic analysis helps to reveal the sound quality and timbre of the sound. Harmonic analysis data provides important information about the spectral characteristics of the audio signal, which is used to adjust the first modal decomposition number and the initial center frequency. Through parameter adjustment, the modal decomposition process is refined so that each mode reflects the characteristics of the original signal more accurately. With the determination of the second modal decomposition number and the target center frequency, the first audio signal data is reprocessed by the multivariate variational modal decomposition algorithm to obtain a more accurate noise model and sound characteristics. This cyclic iterative process continuously optimizes the modal decomposition until a certain accuracy requirement is met.

[0030] Step S103, performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter;

[0031] Specifically, the noise model is spectrally analyzed to obtain noise spectrum data, which reveals the distribution characteristics of noise in the frequency domain, including the energy of each frequency band, which is the key information for optimizing filter parameters. Then, the noise spectrum data is pattern classified to divide the noise into multiple types, such as constant noise, interval noise or burst noise, etc. The classified noise model data helps to understand the nature and behavior pattern of noise. Feature extraction is performed on the classified noise model data to obtain noise feature data, which captures the statistical properties of noise, such as mean, standard deviation, peak value, etc. Statistical analysis and trend prediction are performed using the noise feature data to obtain noise trend data, which reflects the possibility of noise changing over time. Then, dynamic thresholds are set for the noise trend data. The dynamic threshold parameters take into account the changing trend of noise and the real-time changes of the environment, so that the filter can respond to different noise environments. According to the sound characteristics, the dynamic threshold parameters are parameter corrected to obtain the target threshold parameters. Ensure that the optimization of the filter parameters can fully consider the user's current listening environment and sound needs, such as distinguishing between human voice and music to ensure that important sound information is not filtered out. According to the adjusted and corrected target threshold parameters, the adaptive filter parameter optimization analysis is performed on the initial cascaded biquad filter to obtain the target cascaded biquad filter. This filter can more accurately adapt to the user's usage environment and personal preferences, effectively reduce noise interference, and retain valuable sound signals.

[0032] The initial cascaded biquad filter is adaptively initialized according to the target threshold parameter to obtain the initial filter parameters. The initial parameters are initialized in groups using the differential evolution algorithm. The differential evolution algorithm is a global optimization technology based on a population. It iteratively improves the solution set to achieve the optimal or sufficiently optimal solution. The algorithm finds a set of potentially effective first filter parameters in the parameter space. The performance of each group of first filter parameters is evaluated and its first fitness value is calculated. The fitness value reflects the degree of adaptation of each group of parameters to the noise reduction effect of the current noise environment. All first filter parameters are sorted and analyzed based on the fitness value to help identify excellent candidate parameters in the initial group. According to the sorting results, the parameter group is divided to obtain multiple target filter parameter groups, each of which represents a set of possible optimization directions. Then, parameter optimization analysis is performed on multiple target filter parameter groups, and the parameters in the group are optimized using the iterative search mechanism of the differential evolution algorithm to obtain multiple second filter parameters. The second fitness value of each second filter parameter is calculated separately. By comparing the second fitness values, the algorithm will solve the optimal parameters and select the parameter set that performs best under the current conditions. These parameter sets define the final form of the target filter. According to the target filter parameters, the parameters of the initial cascaded biquad filter are updated to obtain the target cascaded biquad filter.

[0033] Step S104, performing dynamic noise elimination on the multi-dimensional sound data through a target cascaded biquad filter to obtain second audio signal data;

[0034] Specifically, dynamic noise elimination is performed on multi-dimensional sound data through a target cascaded biquad filter. The target cascaded biquad filter can provide gain or suppression at different frequency points by combining multiple second-order filter units, and can dynamically adjust these effects according to the time-varying characteristics of the signal. The design of the filter is based on the noise model and sound characteristics analyzed in the previous step, which include the statistical distribution of the noise, the spectral characteristics, and the trend of change over time. In the practice of dynamic noise elimination, the parameters of the filter are adjusted in real time according to the received sound data. For example, if an increase in noise is detected, the filter can increase the suppression effect of its corresponding frequency band, and when the noise level decreases, the filtering effect can be reduced to avoid over-suppression of possible useful signals. At the same time, the cascaded biquad filter can realize complex filter curve design in the frequency domain, so as to eliminate or suppress specific parts of the noise spectrum while minimizing the impact on other parts of the audio signal. In this way, when the original multidimensional sound data flows through the target cascaded biquad filter, not only the noise component is effectively reduced, but also the dynamic range of the entire signal is optimized, and the final second audio signal data will have better sound quality and higher speech intelligibility.

[0035] Step S105: Dynamically enhance the second audio signal data and output the target audio signal data of the Bluetooth headset.

[0036] Specifically, the second audio signal data is channel separated, and each channel in the sound signal is separated so that each channel can be processed independently. The separated channel data is echo-cancelled to eliminate echoes and other possible interferences between channels. The echo-cancellation technology makes the output data of each channel clearer and more accurate by identifying and reducing reflected sound and delayed sound in the sound data. Then, the clear channel output data is sound-localized to obtain audio data with spatial localization. By analyzing the time difference and intensity difference of the sound, as well as other acoustic characteristics, the sound is localized to a specific position in three-dimensional space. The audio data with spatial localization is simulated by sound field, and the sound field in the real environment is simulated by digital signal processing technology. By simulating effects such as echo and reverberation, audio field data is created as if the sound source is in the actual environment. Then, the simulated audio field data is fine-grainedly enhanced, and the dynamic details of the audio signal are enhanced, such as improving the bass quality, increasing the high-frequency clarity, etc., so that the enhanced audio data is richer in details and fuller in sound quality. The enhanced audio data is dynamically adjusted and balanced to output the target audio signal data of the Bluetooth headset. Dynamic range adjustment involves adjusting the maximum and minimum amplitudes of the audio signal to optimize the loudness of the sound and reduce sudden jumps in the sound, while sound balance ensures that the volume of the left and right channels is balanced to ensure that users can get a unified and coherent listening experience.

[0037] The enhanced audio data is enhanced in the high frequency range to improve the clarity of speech and the high frequency details of the instrument timbre. An equalizer or a special high frequency enhancement algorithm is applied to enhance the high frequency components in the signal. The high frequency enhanced audio data is compensated in the low frequency range to obtain low frequency compensated audio data to ensure the fullness and warmth of the audio signal in the low frequency range. Low frequency compensation usually increases the amplitude of the low frequency signal to compensate for any low frequency loss that may be caused during the high frequency enhancement process to ensure the full frequency balance of the audio signal. The obtained low frequency compensated audio data is adjusted in the mid-frequency range. The mid-frequency is the main frequency domain of human voice and most musical instruments. The key to adjusting the mid-frequency range is to find a balance that ensures the natural harmony of the timbre, the separation between different audio components, and the clarity and easy recognition of the audio. The mid-frequency adjusted audio data is sound balanced to achieve volume balance and consistency of frequency response between the left and right channels. The dynamic range adjustment is combined with the sound balance to adjust the amplitude range of the audio, so that the change between the maximum and minimum volume is more natural, and to ensure that the two channels of the stereo audio signal remain synchronized in volume, preventing the reduction of the stereo effect caused by channel imbalance. Through adjustment, the original audio signal is restored and optimized to the greatest extent, so that the output audio data achieves the best balance in frequency response, dynamic range and stereo field.

[0038] In the embodiment of the present application, by utilizing the multi-microphone array inside the Bluetooth headset, the ambient sound can be captured in all directions, providing richer sound information. The accuracy of noise processing is improved by double filtering, and the noise of a specific frequency can be effectively weakened or eliminated while retaining valuable signal parts. The audio signal can be deconstructed into different modal components through multivariate variational modal decomposition and noise modeling, making the identification and modeling of noise more accurate. The filter parameters are optimized using noise models and sound characteristics, so that the filter can adapt to different sound environments and user needs, enhancing the flexibility and scope of application of the system. The dynamic elimination of noise by the target cascaded double second-order filter enables the headset to adjust the processing strategy in real time according to the changing environmental noise, further improving the noise reduction effect, and ensuring that users can still enjoy a clear audio experience in a changing environment. The final sound enhancement step increases the richness and depth of the audio signal through dynamic adjustment, improves the effect of audio noise reduction, and meets the user's demand for high-quality audio output.

[0039] In a specific embodiment, the process of executing step S101 may specifically include the following steps:

[0040] (1) Capture sound signals from different directions through multiple microphone arrays in Bluetooth headsets to obtain multi-dimensional sound data;

[0041] (2) obtaining timestamp information of the multi-dimensional sound data, and performing time alignment on the multi-dimensional sound data according to the timestamp information to obtain aligned sound data;

[0042] (3) Performing sound source localization processing on the aligned sound data to obtain spatial sound source data;

[0043] (4) Directionally filtering the spatial sound source data through an initial cascaded biquad filter to obtain first audio signal data, wherein the formula of the initial cascaded biquad filter is:

[0044] ;

[0045] in, represents the transfer function, is the first-order coefficient of the zero point, which controls the position of the zero point; is the coefficient of the second-order term at the zero point, which determines the frequency of the zero point; and are the natural frequencies of the first and second second-order filters, respectively; and are the quality factors of the first and second second-order filters, respectively.

[0046] Specifically, multiple microphone arrays in the Bluetooth headset capture sound signals from different directions to obtain multi-dimensional sound data. These data contain the intensity and frequency information of the sound, and carry the spatial positioning information of the sound. Through this information, the direction of the sound source and its relationship with the noise are analyzed. Then, in order to synchronize these signals, the timestamp information of each sound data is obtained, and the multi-dimensional sound data is time-aligned according to the timestamp. The sounds captured by different microphones will have slight differences in time due to the different distances from the sound source. Timing alignment ensures the temporal consistency of the sound signal. The aligned sound data is processed for sound source localization to obtain spatial sound source data. The spatial position of the sound source is determined by calculating the time difference and intensity difference of the sound signal between different microphones, as well as other acoustic features. After the sound source is localized, the spatial sound source data is directionally filtered using an initial cascaded biquad filter. The filter enhances or suppresses specific sounds according to the directionality of the sound, thereby achieving a noise reduction effect. The transfer function H(s) of the cascaded biquad filter defines how the filter responds to sounds of different frequencies, including the first-order coefficient and the second-order coefficient , these coefficients together determine the zero position and frequency of the filter.

[0047] In a specific embodiment, the process of executing step S102 may specifically include the following steps:

[0048] (1) Based on the first mode decomposition quantity and the initial center frequency, a multivariate variational mode decomposition algorithm is used to perform frequency decomposition processing on the first audio signal data to obtain frequency decomposition data, wherein the multivariate variational mode decomposition algorithm includes:

[0049] ;

[0050] ;

[0051] in, represents the set of modal components, represents the set of initial center frequencies, is the Dirac function, It is modal components, It is The initial center frequency, and is the regularization parameter, is the regularization term for a single modal component, is a function that measures the similarity between two modal components. represents the first audio signal data, represents the number of first mode decompositions, is the index variable, represents the time variable, is a plural unit, is the index variable, It is modal components, where ,Right now and represents different modal components;

[0052] (2) Perform frequency band analysis on the frequency decomposition data to obtain frequency band audio data;

[0053] (3) Perform energy spectrum analysis on the audio data of the frequency bands, calculate the energy distribution in each frequency band, and obtain energy spectrum data;

[0054] (4) Perform peak detection processing on the energy spectrum data to identify significant peaks in the energy spectrum data and obtain frequency data of peak markers;

[0055] (5) Extracting the fundamental frequency of the peak-marked frequency data to obtain the audio fundamental frequency data;

[0056] (6) Performing harmonic analysis on the audio fundamental frequency data to obtain harmonic analysis data;

[0057] (7) Adjusting the parameters of the first mode decomposition number and the initial center frequency according to the harmonic analysis data to obtain the second mode decomposition number and the target center frequency;

[0058] (8) Perform frequency decomposition and noise modeling on the first audio signal data according to the second mode decomposition quantity and the target center frequency to obtain a noise model and sound characteristics.

[0059] Specifically, based on the decomposition quantity of the first mode and the initial center frequency, the multivariate variational modal decomposition algorithm is used to perform frequency decomposition processing on the first audio signal data to obtain frequency decomposition data. The multivariate variational modal decomposition algorithm is a signal processing technology that decomposes complex signals into several basic functions with specific frequency characteristics through mathematical optimization methods. In this method, a composite objective function is defined, and the function consists of three parts: the first part is to measure the fitness of the signal to ensure that the decomposition process does not excessively distort the original signal; the second part is the regularization term, which encourages each modal component to have sparsity; the third part is the penalty term for the similarity between modal components, and the purpose of this term is to ensure the independence of the decomposed modes. The objective function is achieved by adjusting the set of modal components. and the corresponding center frequency set To minimize, each modal component Through the complex exponential function Expression, where represents the corresponding center frequency, j is a complex unit. The Dirac function δ(t) ensures time-frequency localization. and is a regularization parameter used to balance the sparsity and modal independence in the objective function. The optimization problem is constrained by the original signal f(t), ensuring that the superposition of all modal components can reconstruct the original signal. After the above processing, the obtained frequency decomposition data contains multiple components of different frequencies, and these decomposed modal components are easier to analyze and process. The sub-band audio data is analyzed to identify the characteristics of each band, and to clarify which bands contain useful signals and which are noise components. Harmonic analysis is performed on the fundamental frequency data of the audio signal to identify and separate the harmonic components in the audio signal, which helps to improve the sound quality and identify specific noise patterns. The obtained harmonic analysis data is used to adjust the preliminary modal decomposition parameters, including the number and center frequency of modal decomposition. The parameter adjustment is based on the understanding of the harmonic content and aims to optimize the decomposition process to more accurately match the harmonic structure of the signal. Using the updated second modal decomposition number and target center frequency, the first audio signal data is again subjected to multivariate variational modal decomposition to obtain a noise model and sound feature description. Through iterative optimization, the final noise model and sound features can more accurately describe the noise components and useful signals in the original signal, thereby providing the necessary information for subsequent noise elimination and sound enhancement. For example, assume that the surrounding noise includes human voices, music, and machine running sounds. The multivariate variational modal decomposition algorithm first analyzes the complex sound environment and separates the background noise from the useful call sound. The initial decomposition may combine the human voice and music into one mode, but after harmonic analysis, it may be found that the call sound and music have different characteristics in the spectrum. Next, adjust the decomposition parameters to distinguish between the two types of sounds and extract a more accurate noise model. Finally, the headset uses a refined noise model to dynamically adjust its filter to suppress only the background noise while retaining clear call sound.

[0060] In a specific embodiment, the process of executing step S103 may specifically include the following steps:

[0061] (1) Perform spectral analysis on the noise model to obtain noise spectrum data;

[0062] (2) Perform pattern classification on the noise spectrum data to obtain classified noise model data;

[0063] (3) Extracting features from the classified noise model data to obtain noise feature data;

[0064] (4) Perform statistical analysis on noise characteristic data and noise trend prediction to obtain noise trend data;

[0065] (5) Setting dynamic thresholds for noise trend data to obtain dynamic threshold parameters;

[0066] (6) According to the sound characteristics, the dynamic threshold parameters are calibrated to obtain the target threshold parameters;

[0067] (7) According to the target threshold parameters, the initial cascaded biquad filter is subjected to adaptive filter parameter optimization analysis to obtain the target cascaded biquad filter.

[0068] Specifically, the noise model is spectrally analyzed to understand the distribution of the noise signal in the frequency domain, including the intensity, bandwidth and position of the noise on the frequency axis. The noise spectrum data is obtained through analysis. The noise spectrum data is pattern classified to obtain the classified noise model data. The noise signal is separated into different categories, such as continuous low-frequency noise, intermittent high-frequency noise or human voice. Each category of noise may come from different environmental factors, such as traffic, crowds or mechanical equipment, and each type of noise has different interference levels and elimination methods for users. The classified noise model data is feature extracted to obtain noise feature data. Key features such as power spectrum density, peak frequency, shape and width of the spectrum are extracted from each classified noise data. After feature extraction, the noise feature data is used for statistical analysis and noise trend prediction. The historical behavior of noise is analyzed to predict its future change trend. For example, the change of noise level within one hour is analyzed to predict the possible direction of noise level in the next period of time. Statistical analysis and trend prediction help dynamic noise elimination, so that the system can respond to the current noise environment and predict and adapt to upcoming changes. Next, dynamic thresholding is performed on the noise trend data to ensure that the system's response can be adjusted based on the prediction of the noise trend. For example, if the prediction shows that the noise level will increase, the system can adjust its threshold in advance to adapt to the upcoming noisier environment. The dynamic threshold parameters are corrected based on the captured sound features. Sound features may include frequency characteristics, volume, etc. of the user's voice, which are used to further fine-tune the dynamic threshold parameters to ensure that the threshold settings can retain the user's voice and important environmental sounds while eliminating background noise. The correction process is an iterative process that requires real-time adjustment of parameters to respond to changes in the environment. The target threshold parameters are applied to the initial cascaded biquad filter to perform an optimization analysis of the adaptive filter parameters. Through optimization, a target cascaded biquad filter that can more accurately eliminate noise and retain useful signals is obtained. Based on the optimized parameters, the filter more effectively suppresses noise in specific frequency bands while retaining or even enhancing human voices and other important sound sources.

[0069] In a specific embodiment, the execution step performs adaptive filter parameter optimization analysis on the initial cascaded biquad filter according to the target threshold parameter, and the process of obtaining the target cascaded biquad filter may specifically include the following steps:

[0070] (1) According to the target threshold parameters, the initial cascaded biquad filter is adaptively initialized to obtain the initial filter parameters;

[0071] (2) Initializing the parameter population of the initial filter parameters by using a differential evolution algorithm to obtain multiple first filter parameters;

[0072] (3) calculating the first fitness value of each first filter parameter respectively, and performing sorting analysis on the plurality of first filter parameters according to the first fitness value to obtain a filter parameter sorting result;

[0073] (4) dividing the plurality of first filter parameters into parameter groups according to the filter parameter sorting result to obtain a plurality of target filter parameter groups;

[0074] (5) performing parameter optimization analysis on multiple target filter parameter groups to obtain multiple second filter parameters;

[0075] (6) calculating the second fitness value of each second filter parameter respectively, and solving the optimal parameters of the plurality of second filter parameters according to the second fitness values ​​to obtain the target filter parameters;

[0076] (7) The parameters of the initial cascaded biquad filter are updated according to the target filter parameters to obtain the target cascaded biquad filter.

[0077] Specifically, according to the target threshold parameter, the initial cascaded biquad filter is adaptively initialized to obtain the initial filter parameters. The initial filter parameters are group initialized by the differential evolution algorithm. The differential evolution algorithm is a global optimization algorithm that can search for potential optimal solutions in the parameter space. The algorithm introduces diversity in the parameter group through mutation, crossover and selection operations, and gradually iterates to find the optimal parameters to obtain multiple potential first filter parameter sets, each of which may be a candidate for improving the filter performance. In order to evaluate the effectiveness of the candidate parameter set, a first fitness value is calculated for each set of first filter parameters. The fitness value is a measure of how the parameters meet the predetermined goals, such as noise elimination efficiency and signal fidelity. Parameter sets with high fitness values ​​mean that they perform better in terms of filter performance. According to the first fitness value, all parameter sets are sorted and analyzed to determine which parameters are most likely to achieve the best noise suppression effect. According to the filter parameter sorting results, multiple first filter parameters are divided into parameter groups to obtain multiple target filter parameter groups, thereby ensuring the diversity of parameters and the exploration ability of the algorithm. Parameter optimization analysis is performed on multiple target filter parameter groups to obtain multiple second filter parameters. The optimization process takes into account the filter performance under different noise conditions, including the filter's suppression of noise in a specific frequency band and the retention of useful signals. Next, in order to refine the parameter selection, a second fitness value is calculated for the second filter parameter, which usually involves more complex evaluation criteria, such as the adaptability, dynamic response, and long-term stability of the filter. Next, the optimal parameters of multiple second filter parameters are solved according to the second fitness value to obtain the target filter parameters. The target filter parameters are applied to the initial cascaded biquad filter, and its parameter settings are updated to obtain the optimized target cascaded biquad filter. The filter will be able to adaptively adjust its performance according to the real-time noise situation, providing users with a clearer audio experience.

[0078] In a specific embodiment, the process of executing step S105 may specifically include the following steps:

[0079] (1) performing channel separation on the second audio signal data to obtain separated channel data;

[0080] (2) Perform echo cancellation on the separated channel data to obtain clear channel output data;

[0081] (3) Perform sound localization on the clear sound channel output data to obtain audio data with spatial localization;

[0082] (4) Performing sound field simulation on the audio data with spatial positioning to obtain simulated audio field data;

[0083] (5) Performing fine-grained enhancement on the simulated audio field data to obtain enhanced audio data;

[0084] (6) Perform dynamic range adjustment and sound balance on the enhanced audio data, and output the target audio signal data of the Bluetooth headset.

[0085] Specifically, the second audio signal data is subjected to channel separation to separate the channels in the stereo or surround sound signal. Echo cancellation is performed on each channel. Echo is a common problem in audio signals, which may be caused by sound reflection, especially in a closed space or when using a hands-free device. Echo cancellation technology usually involves digital signal processing algorithms, which can identify and eliminate delay and reflection components in the audio signal, thereby obtaining clearer and cleaner channel output data. Then, the clear channel output data is subjected to sound localization processing to obtain audio data with spatial localization. Sound localization technology includes an algorithm for determining the location of the sound source using the time difference and sound pressure level difference of the sound. Sound field simulation is performed on the audio data with spatial localization. Reverberation and other effects are used to simulate the sound propagation characteristics in a real environment. For example, the sound field of a cathedral or the enclosed space of a small room can be simulated, which is achieved by adjusting parameters such as reverberation time, early reflection and late reverberation. Then, in order to further improve the quality of the audio, the simulated audio field data is fine-grained enhanced. This includes using an equalizer to boost or weaken specific frequencies, using dynamic processors such as compressors and limiters to control the dynamic range of the audio, and possibly using exciters or harmonic enhancers to increase the richness and depth of the audio. The processed audio data will be more delicate in detail, the dynamic range will be more appropriate, and the overall listening experience will be fuller and more realistic. The enhanced audio data will be subjected to dynamic range adjustment and sound balance. Dynamic range adjustment ensures that the loudness of the audio signal is at an appropriate level to avoid distortion caused by excessive volume or insufficient listening caused by too low volume. Sound balance ensures that the volume of the left and right channels is consistent and maintains the balance of the stereo field. After adjustment, the final output target audio signal data will not only maintain high-definition sound quality, but also have a good sense of stereo and balance.

[0086] In a specific embodiment, the process of performing dynamic range adjustment and sound balance on the enhanced audio data and outputting the target audio signal data of the Bluetooth headset may specifically include the following steps:

[0087] (1) Performing high-frequency range enhancement adjustment on the enhanced audio data to obtain high-frequency enhanced audio data;

[0088] (2) performing low-frequency range compensation adjustment on the high-frequency enhanced audio data to obtain low-frequency compensated audio data;

[0089] (3) Adjusting the intermediate frequency range of the low-frequency compensated audio data to obtain intermediate frequency adjusted audio data;

[0090] (4) Perform sound balance on the audio data adjusted by the intermediate frequency and output the target audio signal data of the Bluetooth headset.

[0091] Specifically, the enhanced audio data is adjusted in the high frequency range to enhance the high frequency details in the audio signal, making the audio clearer and more vivid, and obtaining the high frequency enhanced audio data. The high frequency enhancement adjustment usually involves using an equalizer to enhance a specific high frequency band in the audio signal, or using special audio effects such as a stimulator to increase the brightness and presence of the high frequency content. The high frequency enhanced audio data is adjusted in the low frequency range to compensate for the imbalance that may be caused by the high frequency enhancement by increasing the low frequency components in the audio signal. This compensation can not only increase the warmth and fullness of the audio, but also help the audio maintain a certain sense of naturalness and balance. When processing low frequencies, it should not be over-enhanced to avoid the audio becoming too dull or fuzzy. Through moderate adjustment, low frequency compensated audio data is obtained. The low frequency compensated audio data is adjusted in the intermediate frequency range. The intermediate frequency usually contains most of the information of the instrument timbre and human voice, and the processing of the intermediate frequency greatly affects the overall sound quality of the audio. The adjustment of the intermediate frequency is intended to balance the audio signal, make the harmonic structure of music and sound more harmonious, and make the sound more natural and pleasant to the human ear. This may involve adjusting the gain of specific frequency bands to highlight or suppress the sound of certain instruments or the intelligibility of speech. Perform sound balance on the mid-frequency adjusted audio data to ensure the stereo sense and overall harmony of the audio. Sound balance is to adjust the relative volume and frequency response of the left and right channels of audio to achieve a balanced and harmonious auditory effect. When performing sound balance, pay attention to any factors that may cause the stereo sense to decrease and correct them.

[0092] The above describes the audio noise reduction method based on the Bluetooth headset in the embodiment of the present application. The following describes the audio noise reduction device based on the Bluetooth headset in the embodiment of the present application. Figure 2 In the embodiment of the present application, an audio noise reduction device based on a Bluetooth headset includes:

[0093] An acquisition module 201 is used to acquire multi-dimensional sound data through a plurality of microphone arrays in a Bluetooth headset, and perform preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data;

[0094] A modeling module 202, configured to perform multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound features;

[0095] An optimization module 203 is used to perform adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter;

[0096] Elimination module 204, configured to perform dynamic noise elimination on the multi-dimensional sound data through a target cascaded biquad filter to obtain second audio signal data;

[0097] The enhancement module 205 is used to perform dynamic sound enhancement on the second audio signal data and output target audio signal data of the Bluetooth headset.

[0098] Through the collaboration of the above components, by utilizing the multi-microphone array inside the Bluetooth headset, the ambient sound can be captured in all directions, providing richer sound information. The accuracy of noise processing is improved by double filtering, which can effectively weaken or eliminate noise of specific frequencies while retaining valuable signal parts. The audio signal can be deconstructed into different modal components through multivariate variational mode decomposition and noise modeling, making the identification and modeling of noise more accurate. The filter parameters are optimized using noise models and sound characteristics, so that the filter can adapt to different sound environments and user needs, enhancing the flexibility and scope of application of the system. The dynamic elimination of noise by the target cascaded biquad filter enables the headset to adjust the processing strategy in real time according to the changing environmental noise, further improving the noise reduction effect and ensuring that users can still enjoy a clear audio experience in a changing environment. The final sound enhancement step increases the richness and depth of the audio signal through dynamic adjustment, improves the effect of audio noise reduction, and meets the user's demand for high-quality audio output.

[0099] The present application also provides an audio noise reduction device based on a Bluetooth headset. The audio noise reduction device based on a Bluetooth headset includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the audio noise reduction method based on the Bluetooth headset in the above-mentioned embodiments.

[0100] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the audio noise reduction method based on Bluetooth headsets.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0103] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An audio noise reduction method based on Bluetooth headset, characterized in that: The audio noise reduction method based on Bluetooth headset includes: Acquire multi-dimensional sound data through multiple microphone arrays in the Bluetooth headset, and perform preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data; Performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics; Performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter; Performing dynamic noise elimination on the multi-dimensional sound data by using the target cascaded biquad filter to obtain second audio signal data; Dynamic sound enhancement is performed on the second audio signal data, and target audio signal data of the Bluetooth headset is output.

2. The method for audio noise reduction based on Bluetooth headset according to claim 1, characterized in that: The method of acquiring multidimensional sound data through a plurality of microphone arrays in a Bluetooth headset and performing preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data includes: Capture sound signals from different directions through multiple microphone arrays in the Bluetooth headset to obtain multi-dimensional sound data; Acquiring timestamp information of the multi-dimensional sound data, and performing time alignment on the multi-dimensional sound data according to the timestamp information to obtain aligned sound data; Performing sound source localization processing on the aligned sound data to obtain spatial sound source data; Direction filtering is performed on the spatial sound source data through an initial cascaded biquad filter to obtain first audio signal data, wherein the formula of the initial cascaded biquad filter is: ; in, represents the transfer function, is the first-order coefficient of the zero point, which controls the position of the zero point; is the coefficient of the second-order term at the zero point, which determines the frequency of the zero point; and are the natural frequencies of the first and second second-order filters, respectively; and are the quality factors of the first and second second-order filters, respectively.

3. The method for audio noise reduction based on Bluetooth headset according to claim 1, characterized in that: The performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound features includes: Based on the first mode decomposition quantity and the initial center frequency, a multivariate variational mode decomposition algorithm is used to perform frequency decomposition processing on the first audio signal data to obtain frequency decomposition data, wherein the multivariate variational mode decomposition algorithm includes: ; ; in, represents the set of modal components, represents the set of initial center frequencies, is the Dirac function, It is modal components, It is The initial center frequency, and is the regularization parameter, is the regularization term for a single modal component, is a function that measures the similarity between two modal components. represents first audio signal data, represents the number of first mode decompositions, is the index variable, represents the time variable, is a plural unit, is the index variable, It is modal components, where ,Right now and represents different modal components; Performing frequency band analysis on the frequency decomposition data to obtain audio data of frequency sub-bands; Performing energy spectrum analysis on the audio data of the frequency bands, calculating the energy distribution in each frequency band, and obtaining energy spectrum data; Performing peak detection processing on the energy spectrum data, identifying significant peaks in the energy spectrum data, and obtaining frequency data of peak marks; Extracting the fundamental frequency of the frequency data of the peak mark to obtain audio fundamental frequency data; Performing harmonic analysis on the audio fundamental frequency data to obtain harmonic analysis data; Performing parameter adjustment on the first mode decomposition quantity and the initial center frequency according to the harmonic analysis data to obtain a second mode decomposition quantity and a target center frequency; Frequency decomposition and noise modeling are performed on the first audio signal data according to the second mode decomposition quantity and the target center frequency to obtain a noise model and sound characteristics.

4. The method for audio noise reduction based on Bluetooth headset according to claim 1, characterized in that: The step of performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter comprises: Performing spectrum analysis on the noise model to obtain noise spectrum data; Performing pattern classification on the noise spectrum data to obtain classified noise model data; Extracting features from the classified noise model data to obtain noise feature data; Performing statistical analysis and noise trend prediction on the noise characteristic data to obtain noise trend data; Performing dynamic threshold setting on the noise trend data to obtain a dynamic threshold parameter; According to the sound characteristics, the dynamic threshold parameter is corrected to obtain a target threshold parameter; According to the target threshold parameter, an adaptive filter parameter optimization analysis is performed on the initial cascaded biquad filter to obtain a target cascaded biquad filter.

5. The method for audio noise reduction based on Bluetooth headset according to claim 4, characterized in that: The step of performing adaptive filter parameter optimization analysis on the initial cascaded biquad filter according to the target threshold parameter to obtain a target cascaded biquad filter comprises: According to the target threshold parameters, adaptively initializing the parameters of the initial cascaded biquad filter to obtain initial filter parameters; Initializing the parameter population of the initial filter parameters by using a differential evolution algorithm to obtain a plurality of first filter parameters; Calculating the first fitness value of each first filter parameter respectively, and sorting and analyzing the plurality of first filter parameters according to the first fitness value to obtain a filter parameter sorting result; Dividing the plurality of first filter parameters into parameter groups according to the filter parameter sorting result to obtain a plurality of target filter parameter groups; Performing parameter optimization analysis on the multiple target filter parameter groups to obtain multiple second filter parameters; Calculating the second fitness value of each second filter parameter respectively, and solving the optimal parameters of the plurality of second filter parameters according to the second fitness value to obtain target filter parameters; The parameters of the initial cascaded biquad filter are updated according to the target filter parameters to obtain a target cascaded biquad filter.

6. The method for audio noise reduction based on Bluetooth headset according to claim 1, characterized in that: The dynamically enhancing the second audio signal data and outputting the target audio signal data of the Bluetooth headset includes: performing channel separation on the second audio signal data to obtain separated channel data; Performing echo cancellation on the separated channel data to obtain clear channel output data; Performing sound localization on the clear sound channel output data to obtain audio data with spatial localization; Performing sound field simulation on the audio data with spatial localization to obtain simulated audio field data; Performing fine-grained enhancement on the simulated audio field data to obtain enhanced audio data; Dynamic range adjustment and sound balance are performed on the enhanced audio data, and target audio signal data of the Bluetooth headset is output.

7. The method for audio noise reduction based on Bluetooth headset according to claim 6, characterized in that: The step of adjusting the dynamic range and balancing the sound of the enhanced audio data and outputting the target audio signal data of the Bluetooth headset includes: Performing high-frequency range enhancement adjustment on the enhanced audio data to obtain high-frequency enhanced audio data; Performing low-frequency range compensation adjustment on the high-frequency enhanced audio data to obtain low-frequency compensated audio data; Performing intermediate frequency range adjustment on the low-frequency compensated audio data to obtain intermediate frequency adjusted audio data; The intermediate frequency-adjusted audio data is subjected to sound balancing, and target audio signal data of the Bluetooth headset is output.

8. An audio noise reduction device based on a Bluetooth headset, characterized in that: The audio noise reduction device based on Bluetooth headset includes: An acquisition module, used to acquire multi-dimensional sound data through a plurality of microphone arrays in a Bluetooth headset, and perform preliminary filtering processing through an initial cascaded biquad filter to obtain first audio signal data; A modeling module, used for performing multivariate variational mode decomposition and noise modeling on the first audio signal data to obtain a noise model and sound characteristics; An optimization module, configured to perform adaptive filter parameter optimization analysis on the initial cascaded biquad filter based on the noise model and the sound characteristics to obtain a target cascaded biquad filter; an elimination module, configured to perform dynamic noise elimination on the multi-dimensional sound data through the target cascaded biquad filter to obtain second audio signal data; The enhancement module is used to perform dynamic sound enhancement on the second audio signal data and output the target audio signal data of the Bluetooth headset.

9. An audio noise reduction device based on a Bluetooth headset, characterized in that: The Bluetooth headset-based audio noise reduction device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the Bluetooth headset-based audio noise reduction device to execute the Bluetooth headset-based audio noise reduction method according to any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the audio noise reduction method based on the Bluetooth headset as described in any one of claims 1 to 7 is implemented.