Earphone noise reduction processing method and system

By deploying a microphone array in the headset and using an independent component analysis algorithm to separate the noise signal from the useful signal, and perform adaptive filtering processing, the problems of slow noise signal processing speed and poor separation effect in the existing technology are solved, and a better Efficient noise reduction effect.

CN118764772APending Publication Date: 2024-10-11MINAMI ACOUSTICS LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410971725.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When existing headphone noise reduction processing technology handles rapidly changing noise signals, the update speed and accuracy of filter parameters are limited, making it impossible to achieve real-time and efficient noise reduction. Moreover, the separation effect of noise signals and useful signals is not good, and incomplete separation often occurs. Or signal aliasing problem.

Method used

A microphone array is used to collect multi-channel headphone audio signals, and an independent component analysis algorithm is used to separate and extract the noise signal and the useful signal. The extracted noise signal is adaptively filtered, the filter parameters are dynamically adjusted, and finally the processed signal is Combine and store.

Benefits of technology

Through the combination of microphone array and independent component analysis algorithm, the separation accuracy and filtering effect of noise signals and useful signals are significantly improved, the real-time performance and accuracy of noise reduction processing are improved, and the incomplete separation and signal mixing in traditional technology are solved. overlapping problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764772A_ABST
    Figure CN118764772A_ABST
Patent Text Reader

Abstract

The invention discloses an earphone noise reduction processing method and system, and relates to the technical field of audio processing, and the method comprises the steps: deploying a microphone array on an earphone to collect multi-channel earphone audio signals; separating and extracting noise signals and useful signals by using an independent component analysis algorithm; adaptive filtering processing is carried out on the extracted noise signal, and parameters of a filter are dynamically adjusted; and recombining the processed noise signal with the useful signal, and storing in a database. The earphone audio signals are collected through the microphone array, the earphone audio signals are separated to extract useful signals and noise signals, the noise reduction processing result is more accurate, the noise signals are subjected to noise reduction processing through the self-adaptive filter, and the noise reduction processing effect is greatly improved by dynamically updating the parameters of the filter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio processing, and in particular to a method and system for reducing headphone noise. Background Art

[0002] With the rapid development of wireless communication technology and consumer electronic products, headphones have become an important device in people's daily lives. Especially in noisy environments, the demand for noise-canceling headphones has increased significantly. Traditional noise reduction technologies are mainly divided into two categories: active noise reduction (ANC) and passive noise reduction (PNC). Passive noise reduction uses the physical structure of the headphones, such as earmuffs that fit tightly to the ears, to block external noise, but the effect is limited. Active noise reduction technology uses a built-in microphone in the headphones to collect environmental noise signals in real time and generate signals with opposite phases to the noise to offset them, thereby achieving a noise reduction effect. However, the existing technology still has shortcomings when performing noise reduction processing. Although some of the existing technologies use adaptive filters, when processing rapidly changing noise signals, the update speed and accuracy of the filter parameters are limited, and real-time and efficient noise reduction cannot be achieved. There are also challenges in separating noise signals from useful signals. Problems such as incomplete separation or signal aliasing often occur, which limits the actual application effect of noise-canceling headphones in complex noise environments. Summary of the invention

[0003] In view of the problems existing in the above-mentioned existing headphone noise reduction processing method and system, the present invention is proposed.

[0004] Therefore, the problem to be solved by the present invention is that when processing rapidly changing noise signals, the update speed and accuracy of the filter parameters are limited, and real-time and efficient noise reduction cannot be achieved. There are also challenges in separating noise signals from useful signals, and incomplete separation or signal aliasing often occurs.

[0005] To solve the above technical problems, the present invention provides the following technical solutions: a headphone noise reduction processing method, which includes deploying a microphone array on the headphone to collect multi-channel headphone audio signals; using an independent component analysis algorithm to separate and extract noise signals and useful signals; performing adaptive filtering on the extracted noise signals and dynamically adjusting the filter parameters; re-merging the processed noise signals with the useful signals and storing them in a database.

[0006] As a preferred solution of the headphone noise reduction processing method described in the present invention, the deployment of a microphone array on the headphone to collect multi-channel headphone audio signals refers to selecting a microphone array to be deployed on the headphone housing according to the headphone audio collection requirements, amplifying the audio signal collected by each microphone, aligning it in time, appending timestamp information, and using an analog-to-digital converter to convert the audio signal from an analog signal to a digital signal.

[0007] As a preferred solution of the headphone noise reduction processing method of the present invention, the separation and extraction of noise signals and useful signals using an independent component analysis algorithm refers to forming the aligned audio digital signals into a signal matrix X:

[0008]

[0009] Where N is the number of microphones and T is the number of time points;

[0010] Perform decentralization and whitening on the signal matrix X:

[0011] X c =Xm,

[0012] X w =V -1 / 2 U′X c ,

[0013] Where m is the mean vector of the signal matrix X, X c is the decentralized signal matrix, X w is the signal matrix after whitening, V is the eigenvector matrix of the signal covariance matrix, U is the eigenvalue matrix of the signal covariance matrix, and U' is the transpose of the eigenvalue matrix;

[0014] Use the FastICA algorithm to perform independent component analysis on the whitened signal matrix:

[0015] S=MX w ,

[0016] Where S is the source signal matrix and M is the separation matrix;

[0017] Extract the useful signal S from the source signal matrix according to application requirements u and noise signal S n , and calculate the mixing matrix A based on the separation matrix M and the whitening signal matrix to reconstruct the extracted useful signal and noise signal:

[0018] A=X w *M′,

[0019] X r (1) = A*S1,

[0020] Where M' is the transpose of the separation matrix, S1 includes the useful signal S u and noise signal S n , X r (1) is the reconstructed signal, including the reconstructed useful signal X r (u) and the noise signal X r (n).

[0021] As a preferred solution of the headphone noise reduction processing method of the present invention, the use of the FastICA algorithm requires updating the separation matrix M, and the specific updating steps include:

[0022] Define the initial separation matrix M0;

[0023] Iteratively update the separation matrix:

[0024] M k+1 =X w *g(M' k X w )-b*M k ,

[0025] Among them, M k+1 is the separation matrix updated in the k+1th iteration, M' k is the separation matrix M updated for the kth time k is the transpose of , g is the nonlinear factor, b is the correction factor;

[0026] After orthogonalization, the updated separation matrix is ​​obtained:

[0027] M k+1 =M k+1 (M' k+1 M k+1 ) -1 / 2 .

[0028] As a preferred solution of the headphone noise reduction processing method of the present invention, wherein: the adaptive filtering processing of the extracted noise signal and the dynamic adjustment of the filter parameters refer to the extracted noise signal X r (n) performing adaptive filtering processing, including:

[0029] Define the initial coefficient ω of the adaptive filter i (0), calculate the adaptive filter output for each noise signal:

[0030]

[0031] Where L is the number of adaptive filters, ω i (0) is the initial coefficient of the i-th adaptive filter;

[0032] Calculate the error signal e(n):

[0033] e(n)=d(n)-y(n),

[0034] Where d(n) is the expected signal, which represents the signal under ideal conditions;

[0035] Construct the secondary path transfer function:

[0036]

[0037] Where z is the input data, P is the secondary path filter order, q p is the p-th order filter coefficient of the secondary path, Q(z) is the output of the secondary path;

[0038] The noise signal X r (n) is input into the secondary path to obtain the noise signal output Q(n), and the adaptive filter coefficients are updated based on the secondary path output:

[0039] ω i (k+1)=ω i (k)+2μe(n)Q(ni),

[0040] where ω i (k) is the coefficient of the kth update of the i-th adaptive filter, μ is the step size factor, and Q(ni) is the secondary path noise signal output;

[0041] Use the updated adaptive filter coefficients to update the adaptive filter and re-extract the noise signal X r (n) The noise signal after noise reduction is obtained by processing.

[0042] As a preferred solution of the headphone noise reduction processing method described in the present invention, wherein: the re-merging of the processed noise signal with the useful signal refers to aligning and merging the filtered noise signal and the useful signal according to timestamp information to form a complete headphone audio digital signal, and converting the audio digital signal into an audio analog signal through a digital-to-analog converter for playback through the headphone.

[0043] As a preferred solution of the headphone noise reduction processing method described in the present invention, the storage in the database refers to storing the audio analog signal after the noise reduction processing and the merger in the database, and implementing security protection measures. The database will back up the stored data in the cloud, regularly perform security and integrity checks on the stored data and the backup data, and synchronously store the test results in the database.

[0044] Another object of the present invention is to provide a headphone noise reduction processing system, which comprises:

[0045] The audio acquisition module is used to deploy a microphone array to collect and process the headphone audio signal;

[0046] A signal extraction module is used to analyze the collected headphone audio signal and extract useful signals and noise signals;

[0047] A noise reduction processing module, used for performing noise reduction processing on the extracted noise signal using an adaptive filter;

[0048] The merging and storing module is used to merge the noise signal and the useful signal after the noise reduction process, and store and protect the merged audio signal.

[0049] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of the above-mentioned headphone noise reduction processing method when executing the computer program.

[0050] A computer-readable storage medium stores a computer program, which implements the steps of the headphone noise reduction processing method when executed by a processor.

[0051] The beneficial effects of the present invention are as follows: the present invention collects headphone audio signals through a microphone array, separates the headphone audio signals to extract useful signals and noise signals, making the noise reduction processing result more accurate, uses an adaptive filter to perform noise reduction processing on the noise signal, and dynamically updates the filter parameters to greatly improve the effect of the noise reduction processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] 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 only 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.

[0053] Figure 1 The figure is a flowchart of a method for reducing headphone noise.

[0054] Figure 2 This is a structural diagram of the headphone noise reduction processing system. DETAILED DESCRIPTION

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0056] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0057] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.

[0058] Example 1

[0059] Reference Figure 1 , which is the first embodiment of the present invention, and provides a method for reducing headphone noise. The method for reducing headphone noise includes:

[0060] S1. Deploy a microphone array on the headset to collect multi-channel headset audio signals;

[0061] Specifically, deploying a microphone array on the headset to collect multi-channel headphone audio signals means selecting a microphone array to be deployed on the headset housing according to the headphone audio collection requirements, amplifying the audio signal collected by each microphone, aligning it in time, attaching timestamp information, and using an analog-to-digital converter to convert the audio signal from an analog signal to a digital signal.

[0062] By deploying a microphone array on the headset, multi-channel audio signals can be collected in all directions. The microphone array can capture sound information from different directions, significantly improving the capture accuracy of noise signals and the ability to locate spatial sound sources. This design can effectively improve the accuracy of noise reduction processing and enhance user experience. Amplifying the audio signals collected by each microphone can increase the strength of the signal, making it have a higher signal-to-noise ratio in the subsequent processing process. Amplification can reduce the impact of external interference on the signal and ensure the quality and stability of the audio signal. By time-aligning the collected audio signals, the synchronization of multi-channel signals on the time axis can be ensured. This operation avoids signal processing errors caused by time deviations and ensures the accuracy and consistency of subsequent processing and analysis. Adding timestamp information to the audio signal can provide a time reference for subsequent signal processing and analysis, which helps to synchronize and analyze the time during the processing process and improve the accuracy of signal processing.

[0063] S2, use independent component analysis algorithm to separate and extract noise signals and useful signals;

[0064] Specifically, using the independent component analysis algorithm to separate and extract the noise signal and the useful signal means forming the aligned audio digital signal into a signal matrix X:

[0065]

[0066] Where N is the number of microphones and T is the number of time points;

[0067] Perform decentralization and whitening on the signal matrix X:

[0068] X c =Xm,

[0069] X w =V -1 / 2 U′X c ,

[0070] Where m is the mean vector of the signal matrix X, X c is the decentralized signal matrix, X w is the signal matrix after whitening, V is the eigenvector matrix of the signal covariance matrix, U is the eigenvalue matrix of the signal covariance matrix, and U' is the transpose of the eigenvalue matrix;

[0071] Use the FastICA algorithm to perform independent component analysis on the whitened signal matrix:

[0072] S=MX w ,

[0073] Where S is the source signal matrix and M is the separation matrix;

[0074] Extract the useful signal S from the source signal matrix according to application requirements u and noise signal S n , assuming that the jth column in the source signal matrix is ​​the useful signal and the ith column is the noise signal:

[0075] S u =S[:,j],S n =S[:,i],

[0076] The mixing matrix A is calculated based on the separation matrix M and the whitening signal matrix to reconstruct the extracted useful signal and noise signal:

[0077] A=X w *M′,

[0078] X r (1) = A*S1,

[0079] Where M' is the transpose of the separation matrix, S1 includes the useful signal S u and noise signal S n , X r (1) is the reconstructed signal, including the reconstructed useful signal X r (u) and the noise signal X r (n).

[0080] By using the independent component analysis (ICA) algorithm, noise signals and useful signals can be efficiently separated. ICA can effectively process mixed signals by maximizing the independence between signals, solving the problem of incomplete signal separation in traditional noise reduction technology. The aligned audio digital signals are composed into a signal matrix X, which can systematically process multi-channel audio signals and improve the efficiency and accuracy of signal processing. The signal matrix is ​​decentralized and whitened to eliminate the mean and correlation in the signal, making the signal more independent, which is beneficial to subsequent ICA processing. By decentralization, the mean of the signal is adjusted to zero to eliminate the The DC component makes the signal more concentrated at its center, improving the independence and processing effect of the signal. Through whitening processing, the covariance matrix of the signal is transformed into a unit matrix, eliminating the correlation between signals, making the signal have the same variance in all directions, further improving the independence of the signal, and contributing to the efficient operation of the ICA algorithm. The FastICA algorithm is a fast independent component analysis algorithm that solves independent components through an iterative method to improve the efficiency and accuracy of signal separation. The FastICA algorithm can quickly and accurately separate noise signals and useful signals, solving the problems of slow processing speed and low accuracy in traditional methods.

[0081] It should also be noted that the use of the FastICA algorithm requires updating the separation matrix M. The specific update steps include:

[0082] Define the initial separation matrix M0;

[0083] Iteratively update the separation matrix:

[0084] M k+1 =X w *g(M' k X w )-b*M k ,

[0085] Among them, M k+1 is the separation matrix updated in the k+1th iteration, M' k is the separation matrix M updated for the kth time k is the transpose of , g is the nonlinear factor, b is the correction factor, which can be determined by simulation of historical data;

[0086] After orthogonalization, the updated separation matrix is ​​obtained:

[0087] M k+1 =M k+1 (M' k+1 M k+1 ) -1 / 2 .

[0088] Defining the initial separation matrix is ​​the first step of the FastICA algorithm. A reasonable initial matrix can speed up the convergence of the algorithm and reduce the number of iterations. By selecting a suitable initial value, the algorithm can quickly approach the global optimal solution in the initial stage and improve the overall efficiency. By iteratively updating the separation matrix, the separation effect can be gradually optimized, so that the independent components in the mixed signal can be separated. After each iterative update, the separation matrix is ​​closer to the optimal state, thereby improving the accuracy and effect of signal separation. Selecting a suitable nonlinear factor g can significantly improve the separation effect of the FastICA algorithm. Different nonlinear functions are suitable for different types of signals, which can enhance the independence of signals and reduce noise interference. The correction factor b is used to adjust the update amplitude of the separation matrix to ensure the stability and rapid convergence of the algorithm. Through the simulation and optimization of historical data, the optimal correction factor can be selected so that each update can effectively approach the optimal solution and avoid falling into the local optimum. The orthogonalization process orthogonalizes the separation matrix so that the column vectors of the matrix are mutually orthogonal and maintain independence.

[0089] S3, performing adaptive filtering on the extracted noise signal and dynamically adjusting the filter parameters;

[0090] Specifically, the extracted noise signal is subjected to adaptive filtering, and the filter parameters are dynamically adjusted to adjust the extracted noise signal X r (n) performing adaptive filtering processing, including:

[0091] Define the initial coefficient ω of the adaptive filter i (0), calculate the adaptive filter output for each noise signal:

[0092]

[0093] Where L is the number of adaptive filters, ω i (0) is the initial coefficient of the i-th adaptive filter;

[0094] Calculate the error signal e(n):

[0095] e(n)=d(n)-y(n),

[0096] Where d(n) is the expected signal, which represents the signal under ideal conditions;

[0097] Construct the secondary path transfer function:

[0098]

[0099] Where z is the input data, P is the secondary path filter order, q p is the p-th order filter level of the secondary path, which is set by the staff, and Q(z) is the output of the secondary path;

[0100] The noise signal X r (n) is input into the secondary path to obtain the noise signal output Q(n), and the adaptive filter coefficients are updated based on the secondary path output:

[0101] ω i (k+1)=ω i (k)+2μe(n)Q(ni),

[0102] where ω i (k) is the coefficient of the kth update of the i-th adaptive filter, μ is the step size factor, which generally ranges from 0.001≤μ≤0.01, and Q(ni) is the secondary path noise signal output;

[0103] Use the updated adaptive filter coefficients to update the adaptive filter and re-extract the noise signal X r (n) The noise signal after noise reduction is obtained by processing.

[0104] Defining the initial coefficients of the adaptive filter is the starting point of the adaptive filtering process. Reasonable initial coefficients can speed up the convergence of the filter, reduce the error in the initial stage, and ensure that the filter quickly enters a stable state. By calculating the output of the adaptive filter, the filtered noise signal can be obtained in real time, which can ensure that each noise signal is properly processed, thereby improving the performance and stability of the entire noise reduction system. The calculated error signal can quantify the difference between the current filter output and the expected signal, providing a basis for updating the filter coefficients. This method can effectively reduce the noise signal, so that the system can maintain a good noise reduction effect in different environments. Constructing the secondary path transfer function can simulate the actual noise propagation path and ensure that the adaptive filter accurately offsets the noise. This step can significantly improve the performance of the system in a complex noise environment and make the noise reduction effect more stable and effective. The adaptive filter coefficients are updated at the secondary path output so that the filter can dynamically adapt to the changing noise environment. This ensures that the filter can maintain the best noise reduction effect in different noise environments and significantly improve the overall performance of the system. The extracted noise signal is reprocessed using the updated adaptive filter coefficients to obtain the noise signal after noise reduction processing. This step ensures that the filter always maintains the best state during the processing process and significantly improves the noise reduction effect.

[0105] S4, re-merge the processed noise signal with the useful signal and store them in a database;

[0106] Specifically, re-merging the processed noise signal with the useful signal means aligning and merging the filtered noise signal and the useful signal according to timestamp information to form a complete headphone audio digital signal, and converting the audio digital signal into an audio analog signal through a digital-to-analog converter for playback through headphones.

[0107] Attaching timestamp information to each signal sampling point can ensure the precise alignment of noise signals and useful signals in time. This operation is particularly critical for multi-channel signal processing, which helps to avoid signal distortion caused by time deviation and improve the accuracy of signal processing. Re-merging the filtered noise signal with the useful signal can form a complete audio signal to ensure the integrity and coherence of the signal. Aligning the merged signal with the timestamp information can accurately restore the original audio content and ensure the noise reduction effect. Using a digital-to-analog converter (DAC) to convert the processed audio digital signal into an audio analog signal can ensure high accuracy and low distortion of the signal conversion. The high-quality conversion capability of the DAC helps to maintain the original sound quality of the audio signal and provide high-fidelity audio output.

[0108] Furthermore, storing in a database means storing the audio analog signal after noise reduction processing and merger in the database, and implementing security protection measures. The database will back up the stored data in the cloud, regularly perform security and integrity checks on the stored data and backup data, and synchronously store the test results in the database.

[0109] Storing the audio analog signal after noise reduction processing and merging in the database can ensure the long-term preservation and efficient management of audio data. Through structured database storage, users can easily retrieve and analyze audio data, improving the efficiency and quality of data management. By backing up the stored data to the cloud, data can be protected off-site to prevent local data loss or damage. Cloud backup is highly scalable and reliable, ensuring that data can be quickly restored in the event of a disaster. By implementing a series of security protection measures, data can be effectively prevented from being accessed, tampered with, and destroyed by unauthorized means, ensuring data security and privacy. Common security measures include data encryption, access control, and identity authentication. Regular security and integrity testing of stored data and backup data can timely discover and repair security vulnerabilities, ensure data consistency and accuracy, and store the test results synchronously in the database to provide a basis for subsequent data auditing and analysis.

[0110] Example 2

[0111] Reference Figure 2 , which is a second embodiment of the present invention, and which is different from the previous embodiment, provides a headphone noise reduction processing system, which includes:

[0112] The audio acquisition module is used to deploy a microphone array to collect and process the headphone audio signal;

[0113] A signal extraction module is used to analyze the collected headphone audio signal and extract useful signals and noise signals;

[0114] A noise reduction processing module, used for performing noise reduction processing on the extracted noise signal using an adaptive filter;

[0115] The merging and storing module is used to merge the noise signal and the useful signal after the noise reduction process, and store and protect the merged audio signal.

[0116] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the 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 for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0120] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for reducing noise in headphones. Features: include, A microphone array is deployed on the headset to collect multi-channel headset audio signals; Use independent component analysis algorithm to separate and extract noise signals and useful signals; Adaptively filter the extracted noise signal and dynamically adjust the filter parameters; The processed noise signal is recombined with the useful signal and stored in the database.

2. The headphone noise reduction processing method according to claim 1, Features: The deployment of a microphone array on the earphone to collect multi-channel earphone audio signals refers to selecting a microphone array to be deployed on the earphone housing according to the earphone audio collection requirements, amplifying the audio signal collected by each microphone, aligning it in time, adding timestamp information, and using an analog-to-digital converter to convert the audio signal from an analog signal to a digital signal.

3. The headphone noise reduction processing method according to claim 2, Features: The use of the independent component analysis algorithm to separate and extract the noise signal and the useful signal refers to forming the aligned audio digital signal into a signal matrix X: Where N is the number of microphones and T is the number of time points; Perform decentralization and whitening on the signal matrix X: X c =X-m, X w =V -1 / 2U′X c , Where m is the mean vector of the signal matrix X, X c is the decentralized signal matrix, X w is the signal matrix after whitening, V is the eigenvector matrix of the signal covariance matrix, U is the eigenvalue matrix of the signal covariance matrix, and U' is the transpose of the eigenvalue matrix; Use the FastICA algorithm to perform independent component analysis on the whitened signal matrix: S=MX w , Where S is the source signal matrix and M is the separation matrix; Extract the useful signal S from the source signal matrix according to application requirements u and noise signal S n , and calculate the mixing matrix A based on the separation matrix M and the whitening signal matrix to reconstruct the extracted useful signal and noise signal: A=X w *M′, X r (1)=A*S 1 , Where M' is the transpose of the separation matrix, S 1 Including the useful signal S u and noise signal S n , X r (1) is the reconstructed signal, including the reconstructed useful signal X r (u) and the noise signal X r (n).

4. The headphone noise reduction processing method according to claim 3, Features: The use of the FastICA algorithm requires updating the separation matrix M, and the specific updating steps include: Define the initial separation matrix M 0 ; Iteratively update the separation matrix: M k+1 =X w *g(M’ k X w )-b*M k , Among them, M k+1 is the separation matrix updated in the k+1th iteration, M' k is the separation matrix M updated for the kth time k is the transpose of , g is the nonlinear factor, b is the correction factor; After orthogonalization, the updated separation matrix is ​​obtained: M k+1 =M k+1 (M’ k+1 M k+1 ) -1 / 2 。 5. The headphone noise reduction processing method according to claim 4, Features: The adaptive filtering of the extracted noise signal and the dynamic adjustment of the filter parameters refer to the adaptive filtering of the extracted noise signal X r (n) performing adaptive filtering processing, including: Define the initial coefficient ω of the adaptive filter i (0), calculate the adaptive filter output for each noise signal: Where L is the number of adaptive filters, ω i (0) is the initial coefficient of the i-th adaptive filter; Calculate the error signal e(n): e(n)=d(n)-y(n), Where d(n) is the expected signal, which represents the signal under ideal conditions; Construct the secondary path transfer function: Where z is the input data, P is the secondary path filter order, q p is the p-th order filter coefficient of the secondary path, Q(z) is the output of the secondary path; The noise signal X r (n) is input into the secondary path to obtain the noise signal output Q(n), and the adaptive filter coefficients are updated based on the secondary path output: oh i (k+1)=ω i (k)+2μe(n)Q(ni), where ω i (k) is the coefficient of the kth update of the i-th adaptive filter, μ is the step size factor, and Q(ni) is the secondary path noise signal output; Use the updated adaptive filter coefficients to update the adaptive filter and re-extract the noise signal X r (n) The noise signal after noise reduction is obtained by processing.

6. The headphone noise reduction processing method according to claim 5, Features: The said re-merging of the processed noise signal with the useful signal refers to aligning and merging the filtered noise signal and the useful signal according to the timestamp information to form a complete headphone audio digital signal, and converting the audio digital signal into an audio analog signal through a digital-to-analog converter for playback through the headphone.

7. The headphone noise reduction processing method according to claim 6, Features: The storing in the database means storing the audio analog signal after noise reduction processing and merger in the database, and implementing security protection measures. The database will back up the stored data in the cloud, regularly perform security and integrity checks on the stored data and backup data, and synchronously store the test results in the database.

8. An earphone noise reduction processing system according to any one of claims 1 to 7, Features: include, The audio acquisition module is used to deploy a microphone array to collect and process the headphone audio signal; A signal extraction module is used to analyze the collected headphone audio signal and extract useful signals and noise signals; A noise reduction processing module, used for performing noise reduction processing on the extracted noise signal using an adaptive filter; The merging and storing module is used to merge the noise signal and the useful signal after the noise reduction process, and store and protect the merged audio signal.

9. A computer device, include: A memory and a processor; the memory stores a computer program, wherein the processor implements the steps of the headphone noise reduction processing method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the steps of the headphone noise reduction processing method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Signal quality optimization method, device, equipment and medium for intelligent brain-controlled headset

    CN119743697A

  • Wireless audio and sound effect processing method and system

    CN119993186A

  • A wireless audio sound effect processing method and system

    CN119993186B