A gain adaptive noise reduction device and method suitable for headphones
By designing a gain adaptive noise reduction device suitable for headphones, the original noise signal collected by the microphone is used to effectively identify and analyze the signal, obtain the target gain and perform noise reduction processing, solving the problem that traditional noise reduction headphones cannot guarantee sound at the same time The problem of signal clarity and noise reduction achieves automatic and effective noise reduction effect.
Patent Information
- Application Number
- CN202410269734.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-11
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-03-11
AI Technical Summary
How to automatically and effectively reduce noise for sound signals while ensuring that users can hear the content of sound signals clearly, and solve the problem that traditional noise reduction headphones cannot simultaneously meet the clarity of sound signals and noise reduction in both gain parameter settings.
A gain adaptive noise reduction device suitable for headphones is designed. By obtaining the original noise signal collected by the microphone, effective signal recognition and characteristic analysis are performed, the target gain is obtained, and noise reduction is performed on the noise signal based on this gain. .
It realizes the automatic and effective noise reduction of sound signals while ensuring the clarity of sound signals, solving the problem that traditional noise reduction headphones cannot simultaneously meet the clarity of sound signals and noise reduction in both gain parameter settings.
Smart Images

Figure CN118102166B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio equipment, and in particular to a gain adaptive noise reduction device and method suitable for headphones. Background Art
[0002] With the accelerated pace of life and the increase in work pressure, more and more people are gradually paying attention to their personal "quiet zone" and enjoying the pleasure of having more quiet space. At the same time, noise has also attracted the attention of many researchers. Noisy environmental noise can make people feel uncomfortable, reduce people's quality of life, and affect work efficiency. Therefore, there is an urgent need for a way to effectively reduce noise. Noise-cancelling headphones were born. Traditional noise-cancelling headphones are based on passive noise control, mainly through sound absorption and sound insulation, and acoustic attenuation control of noise to reduce noise. With the substantial growth of market demand, active noise-cancelling headphones are gaining more and more attention.
[0003] When the earphone acquires a sound signal, the sound signal contains a valid sound signal and an invalid sound signal (noise signal). When a larger gain parameter is used to amplify the sound signal, both the valid sound signal and the invalid sound signal will be amplified at the same time. However, if a smaller gain parameter is used to amplify the sound signal, the user cannot hear the content contained in the sound signal clearly. Therefore, how to ensure that the user can hear the content contained in the sound signal clearly while effectively reducing the noise of the sound signal is a problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a gain adaptive noise reduction device suitable for headphones, which can ensure that the user can hear the content contained in the sound signal clearly while automatically and effectively reducing the noise of the sound signal. To achieve the above purpose, the present application provides the following solutions:
[0005] In a first aspect, the present application provides a gain adaptive noise reduction device for headphones, the device comprising an original signal acquisition module, which is used to acquire the original noise signal collected by the microphone installed on the left and right earpieces of the headphones; a noise processing module, which is used to perform effective signal recognition on the original noise signal to acquire the noise signal to be processed; a target gain acquisition module, which is used to perform feature analysis on the noise signal to be processed and acquire the target gain corresponding to the noise signal to be processed; wherein the target gain acquisition module comprises: a period acquisition module, which is used to acquire the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; a peak acquisition submodule, which is used to calculate the change of energy in adjacent windows of the noise signal to be processed based on a sliding window, and acquire the peak trend characteristics of the noise signal to be processed; a signal-to-noise ratio acquisition submodule, which is used to acquire the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal; a noise reduction signal output module, which is used to perform noise reduction processing on the noise signal to be processed based on the target gain, and output the noise reduction signal corresponding to the original noise signal.
[0006] Furthermore, the noise processing module includes: a filtering submodule, which is used to filter the original noise signal to obtain the envelope signal and the baseline signal of the original noise signal; a weight threshold submodule, which is used to obtain the weight corresponding to the baseline signal and determine the threshold using the baseline signal and the corresponding weight; a comparison submodule, which is used to determine the valid signal and the invalid signal in the original noise signal based on the size relationship between the envelope signal and the corresponding threshold; and a slope reduction submodule, which is used to reduce the absolute value of the signal slope of the invalid signal to obtain the noise signal to be processed.
[0007] Furthermore, the target gain acquisition module is further used to acquire the target gain of the noise signal to be processed based on the period of the noise signal to be processed, the peak trend characteristics, and the signal-to-noise ratio.
[0008] Furthermore, the comparison submodule includes:
[0009] A difference acquisition unit, used to acquire a difference between the envelope signal and a corresponding threshold;
[0010] The effective signal screening unit is used to determine that the signal corresponding to the positive number in the envelope signal is the effective signal when the difference is a positive number.
[0011] In a second aspect, the present invention proposes a gain adaptive noise reduction method applicable to headphones, characterized in that the method comprises the following steps:
[0012] Obtain the original noise signal collected by the microphones installed on the left and right earpieces of the headset;
[0013] Performing effective signal recognition on the original noise signal to obtain a noise signal to be processed;
[0014] Performing feature analysis on the noise signal to be processed, and obtaining a target gain corresponding to the noise signal to be processed;
[0015] The characteristic analysis of the noise signal to be processed comprises the following steps: obtaining the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; calculating the change of energy in adjacent windows of the noise signal to be processed based on the sliding window to obtain the peak trend characteristics of the noise signal to be processed; obtaining the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal;
[0016] The noise signal to be processed is subjected to noise reduction processing based on the target gain, and a noise reduction signal corresponding to the original noise signal is output.
[0017] Furthermore, the step of performing effective signal identification on the original noise signal and processing the invalid signal in the original noise signal to obtain the noise signal to be processed includes the following steps:
[0018] Filtering the original noise signal to obtain an envelope signal and a baseline signal of the original noise signal;
[0019] Obtaining a weight corresponding to the baseline signal, and determining a threshold using the baseline signal and the corresponding weight;
[0020] Determine a valid signal and an invalid signal in the original noise signal based on a magnitude relationship between the envelope signal and a corresponding threshold;
[0021] The signal slope of the invalid signal is processed to obtain the noise signal to be processed.
[0022] Further, the obtaining of the target gain corresponding to the noise signal to be processed comprises the following steps:
[0023] Based on the period of the noise signal to be processed, the peak trend characteristic, and the signal-to-noise ratio, a target gain of the noise signal to be processed is acquired.
[0024] Furthermore, determining the valid signal and the invalid signal in the original noise signal based on the size relationship between the envelope signal and the corresponding threshold comprises the following steps: obtaining the difference between the envelope signal and the corresponding threshold; when the difference is a positive number, determining that the signal corresponding to the positive number in the envelope signal is the valid signal.
[0025] In a third aspect, the present application provides a noise-cancelling headset, characterized in that it includes the device according to any one of claims 1-4.
[0026] In a fourth aspect, the present application provides a noise-cancelling headset, characterized in that it includes a processor and a memory, the memory is used to store instructions, and the instructions are used to control the processor to operate to execute the method according to any one of claims 5-7.
[0027] The beneficial effects brought about by the technical solution provided by the present application include: a controller obtains the original noise signal collected by the microphones installed on the left and right earpieces of the headset, performs effective signal recognition on the original noise signal, and obtains the noise signal to be processed; performs feature analysis on the noise signal to be processed, and obtains the target gain corresponding to the noise signal to be processed, performs noise reduction processing on the noise signal to be processed based on the target gain, and outputs the noise reduction signal corresponding to the original noise signal, so that the target gain corresponds to the feature of the noise signal to be processed, and adaptive gain processing can be performed, thereby automatically and effectively reducing the noise of the sound signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 It is a structural schematic diagram of a gain adaptive noise reduction method applicable to headphones of the present invention. DETAILED DESCRIPTION
[0030] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0031] In order to achieve the above technical effects, the overall idea of this application is as follows:
[0032] A gain adaptive noise reduction device suitable for headphones, the method comprising the following steps:
[0033] The original signal acquisition module is used to obtain the original noise signal collected by the microphones installed on the left and right earpieces of the headset
[0034] Specifically, the controller collects ambient noise in the environment through microphones on the left and right earpieces of the headset, converts the ambient noise into an ambient noise signal, and then superimposes the ambient noise signal with the music signal to form an original noise signal.
[0035] A noise processing module, which is used to perform effective signal recognition on the original noise signal to obtain a noise signal to be processed;
[0036] Specifically, the recognition of effective signals refers to the recognition of music signals from original noise signals. For the recognition of effective signals, it can be to implement the training of effective signal recognition models, respectively use the characteristics of effective signals and the characteristics of invalid signals to train the effective signal recognition models, obtain the trained effective signal recognition models, input the original noise signal into the effective signal recognition model, and obtain the effective signal in the original noise signal. Alternatively, the original noise signal can be filtered to obtain the envelope signal and the baseline signal of the original noise signal; obtain the weight corresponding to the baseline signal, and determine the threshold using the baseline signal and the corresponding weight; determine the effective signal and the invalid signal in the original noise signal based on the size relationship between the envelope signal and the corresponding threshold; process the signal slope of the invalid signal to obtain the noise signal to be processed.
[0037] A target gain acquisition module is used to perform feature analysis on the noise signal to be processed and obtain a target gain corresponding to the noise signal to be processed; wherein the target gain acquisition module includes: a period acquisition module, which is used to obtain the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; a peak acquisition submodule, which is used to calculate the change of energy in adjacent windows of the noise signal to be processed based on a sliding window, and obtain the peak trend characteristics of the noise signal to be processed; a signal-to-noise ratio acquisition submodule, which is used to obtain the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal; a noise reduction signal output module, which is used to perform noise reduction processing on the noise signal to be processed based on the target gain, and output a noise reduction signal corresponding to the original noise signal.
[0038] The controller inputs a preset target gain calculation formula according to the period, peak trend characteristics, and signal-to-noise ratio of the noise signal to be processed, obtains the target gain of the noise signal to be processed, performs noise reduction processing on the noise signal to be processed based on the target gain, and outputs a noise reduction signal corresponding to the original noise signal.
[0039] In the present application, the controller obtains the original noise signal collected by the microphones installed on the left and right earpieces of the headset, performs effective signal recognition on the original noise signal, and obtains the noise signal to be processed; performs feature analysis on the noise signal to be processed, and obtains the target gain corresponding to the noise signal to be processed, performs noise reduction processing on the noise signal to be processed based on the target gain, and outputs the noise reduction signal corresponding to the original noise signal, so that the target gain corresponds to the feature of the noise signal to be processed, and adaptive gain processing can be performed, thereby automatically and effectively reducing the noise of the sound signal.
[0040] In one embodiment of the application, the noise processing module includes:
[0041] A filtering submodule, which is used to filter the original noise signal to obtain an envelope signal and a baseline signal of the original noise signal;
[0042] The envelope signal and the baseline signal can be obtained by using a low-pass filter or a smoothing window. For example, two low-pass filters with different cutoff frequencies are used to process the original noise signal to obtain the baseline signal and the envelope signal respectively.
[0043] A weight threshold submodule, which is used to obtain the weight corresponding to the baseline signal and determine the threshold using the baseline signal and the corresponding weight;
[0044] The weight corresponding to the baseline signal is set based on empirical values, and the weight is multiplied by the baseline signal to determine the threshold.
[0045] A comparison submodule, which is used to determine the valid signal and the invalid signal in the original noise signal based on the size relationship between the envelope signal and the corresponding threshold;
[0046] Among them, the comparison submodule includes a difference acquisition unit, which is used to obtain the difference between the envelope signal and the corresponding threshold; and a valid signal screening unit, which is used to determine that the signal corresponding to the positive number in the envelope signal is a valid signal when the difference is a positive number.
[0047] The slope reduction submodule is used to reduce the absolute value of the signal slope of the invalid signal to obtain the noise signal to be processed.
[0048] Specifically, the absolute value of the slope of the invalid signal may be reduced to zero.
[0049] In the embodiment of the present application, a threshold is determined based on a baseline signal and its corresponding weight, that is, the setting of the threshold corresponds to the original noise, and then the envelope signal and the corresponding threshold are used to determine the valid signal and the invalid signal, thereby ensuring the reliability of the identification of the valid signal.
[0050] Second, as Figure 1As shown, a gain adaptive noise reduction method suitable for headphones is proposed, and the method includes the following steps:
[0051] S1, obtaining the original noise signal collected by the microphones installed on the left and right earpieces of the headset;
[0052] S2, performing effective signal recognition on the original noise signal to obtain the noise signal to be processed;
[0053] S3, performing feature analysis on the noise signal to be processed, and obtaining a target gain corresponding to the noise signal to be processed;
[0054] The method comprises the following steps: obtaining the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; calculating the change of energy in adjacent windows of the noise signal to be processed based on the sliding window to obtain the peak trend characteristics of the noise signal to be processed; obtaining the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal; and performing noise reduction processing on the noise signal to be processed based on the target gain, and outputting the noise reduction signal corresponding to the original noise signal.
[0055] S4. Perform noise reduction processing on the noise signal to be processed based on the target gain, and output a noise reduction signal corresponding to the original noise signal.
[0056] In the present application, the controller obtains the original noise signal collected by the microphones installed on the left and right earpieces of the headset, performs effective signal recognition on the original noise signal, and obtains the noise signal to be processed; performs feature analysis on the noise signal to be processed, and obtains the target gain corresponding to the noise signal to be processed, performs noise reduction processing on the noise signal to be processed based on the target gain, and outputs the noise reduction signal corresponding to the original noise signal, so that the target gain corresponds to the feature of the noise signal to be processed, and adaptive gain processing can be performed, thereby automatically and effectively reducing the noise of the sound signal.
[0057] It should be noted that the gain adaptive noise reduction method for headphones provided in the embodiments of the present application, and its corresponding technical problems, technical means and technical effects are similar in principle to those of the gain adaptive noise reduction device for headphones.
[0058] In a third aspect, the present application provides a noise-cancelling headset, characterized in that it includes the device according to any one of claims 1-4.
[0059] In a fourth aspect, the present application provides a noise-cancelling headset, characterized in that it includes a processor and a memory, the memory is used to store instructions, and the instructions are used to control the processor to operate to execute the method according to any one of claims 5-7.
[0060] It should be noted that, in this application, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0061] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A gain adaptive noise reduction device suitable for headphones, characterized in that: The device comprises: An original signal acquisition module, which is used to acquire the original noise signal collected by the microphones installed on the left and right earpieces of the headset; the original noise signal includes an environmental noise signal and a music signal; A noise processing module, which is used to perform effective signal recognition on the original noise signal to obtain a noise signal to be processed; the effective signal recognition refers to recognizing a music signal from the original noise signal; A target gain acquisition module, which is used to perform feature analysis on the noise signal to be processed and acquire a target gain corresponding to the noise signal to be processed; Wherein, the target gain acquisition module includes: A period acquisition module, which is used to acquire the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; A peak acquisition submodule, which is used to calculate the change of energy in adjacent windows of the noise signal to be processed based on the sliding window, and obtain the peak trend characteristics of the noise signal to be processed; A signal-to-noise ratio acquisition submodule, which is used to acquire the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal; The noise reduction signal output module is used to perform noise reduction processing on the noise signal to be processed based on the target gain, and output a noise reduction signal corresponding to the original noise signal.
2. The device according to claim 1, characterized in that The noise processing module comprises: A filtering submodule, which is used to filter the original noise signal to obtain an envelope signal and a baseline signal of the original noise signal; A weight threshold submodule, which is used to obtain the weight corresponding to the baseline signal and determine the threshold using the baseline signal and the corresponding weight; A comparison submodule, which is used to determine the valid signal and the invalid signal in the original noise signal based on the magnitude relationship between the envelope signal and the corresponding threshold; The slope reduction submodule is used to reduce the absolute value of the signal slope of the invalid signal to obtain the noise signal to be processed.
3. The device according to claim 1, characterized in that The target gain acquisition module is further used to acquire the target gain of the noise signal to be processed based on the period of the noise signal to be processed, the peak trend characteristics, and the signal-to-noise ratio.
4. The device according to claim 2, characterized in that The comparison submodule comprises: A difference acquisition unit, used to acquire a difference between the envelope signal and a corresponding threshold; The effective signal screening unit is used to determine that the signal corresponding to the positive number in the envelope signal is the effective signal when the difference is a positive number.
5. A gain adaptive noise reduction method suitable for headphones, characterized in that: The method comprises the following steps: Acquire the original noise signal collected by the microphones installed on the left and right earpieces of the headset; the original noise signal includes an environmental noise signal and a music signal; Performing effective signal recognition on the original noise signal to obtain a noise signal to be processed; the effective signal recognition refers to recognizing a music signal from the original noise signal; Performing feature analysis on the noise signal to be processed, and obtaining a target gain corresponding to the noise signal to be processed; The characteristic analysis of the noise signal to be processed comprises the following steps: obtaining the period of the noise signal to be processed based on the peak position and peak interval of the noise signal to be processed; calculating the change of energy in adjacent windows of the noise signal to be processed based on the sliding window to obtain the peak trend characteristics of the noise signal to be processed; obtaining the signal-to-noise ratio of the noise signal to be processed based on the relationship between the energy corresponding to each sliding window and the baseline signal of the original noise signal; The noise signal to be processed is subjected to noise reduction processing based on the target gain, and a noise reduction signal corresponding to the original noise signal is output.
6. The gain adaptive noise reduction method for headphones as claimed in claim 5, characterized in that: The step of performing effective signal identification on the original noise signal to obtain the noise signal to be processed comprises the following steps: Filtering the original noise signal to obtain an envelope signal and a baseline signal of the original noise signal; Obtaining a weight corresponding to the baseline signal, and determining a threshold using the baseline signal and the corresponding weight; Determine a valid signal and an invalid signal in the original noise signal based on a magnitude relationship between the envelope signal and a corresponding threshold; The absolute value of the signal slope of the invalid signal is reduced to obtain the noise signal to be processed.
7. The gain adaptive noise reduction method for headphones as claimed in claim 5, characterized in that: The step of obtaining a target gain corresponding to the noise signal to be processed comprises the following steps: Based on the period of the noise signal to be processed, the peak trend characteristic, and the signal-to-noise ratio, a target gain of the noise signal to be processed is acquired.
8. The gain adaptive noise reduction method for headphones as claimed in claim 6, characterized in that: The determining of valid signals and invalid signals in the original noise signal based on the magnitude relationship between the envelope signal and the corresponding threshold value comprises the following steps: Obtaining a difference between the envelope signal and a corresponding threshold; When the difference is a positive number, it is determined that the signal corresponding to the positive number in the envelope signal is the valid signal.
9. A noise-cancelling headset, characterized in that: The invention comprises the device according to any one of claims 1 to 4.
10. A noise reduction headset, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store instructions, and the instructions are used to control the processor to operate so as to execute the method according to any one of claims 5 to 8.
Citation Information
Patent Citations
Headphone gain adjustment method and device as well as electronic equipment
CN109348335A
Noise reduction processing device of earphone and headphone
KR1020140006394A