Earphone noise reduction method and device, earphone device and computer readable storage medium

By adaptively adjusting the noise reduction parameters of the headphone device and eliminating howling events, the problem of poor noise reduction effect of active noise reduction headphones caused by differences in the wearer's ear canal is solved, and the noise reduction experience of the headphones is improved.

CN115225998BActive Publication Date: 2025-10-10GEER TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210894864.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-10-10
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

In actual use, existing active noise-cancelling headphones cannot achieve the optimal noise reduction effect due to differences in the wearer's ear canals, affecting the user experience.

Method used

By obtaining the wearing status of the headphone device, adaptively adjusting the noise reduction parameters, generating actual noise reduction parameters, and clearing howling events when they exist, the noise reduction effect is optimized.

Benefits of technology

This ensures that different wearers can all experience the optimal noise reduction effect, improving the noise reduction performance of the headphone device in actual use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115225998B_ABST
    Figure CN115225998B_ABST
Patent Text Reader

Abstract

The application discloses an earphone noise reduction method and device, earphone equipment and a computer readable storage medium, and belongs to the earphone technical field. The earphone noise reduction method comprises the following steps: acquiring the wearing state of the earphone equipment; if the wearing state of the earphone equipment is normal wearing, acquiring ideal noise reduction parameters and generating actual noise reduction parameters based on the ideal noise reduction parameters and a filter bank preset in the earphone equipment; and if there is a howling event when the earphone equipment performs noise reduction based on the actual noise reduction parameters, clearing the howling event based on the filter bank and obtaining optimal noise reduction parameters. In the actual use process of the earphone equipment, the ideal noise reduction parameters are corrected to obtain the actual noise reduction parameters, the noise reduction effect of the earphone equipment running based on the actual noise reduction parameters is improved, and the howling event existing when the earphone equipment running based on the actual noise reduction parameters is cleared, so that the noise reduction effect of the earphone equipment in actual use is further optimized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of earphones, in particular to an earphone noise reduction method and device, an earphone device and a computer readable storage medium. BACKGROUND

[0002] With the progress of science and technology, the use of earphones is increasingly diversified. However, with the increasing urban noise pollution, using ordinary earphones outdoors can only mask the noise by physical noise reduction or increasing the volume, which not only cannot effectively receive the audio signal inside the earphone, but also has a certain negative effect on the user's hearing, so users have increasingly high requirements for earphone noise elimination.

[0003] At present, earphones with active noise reduction function are very popular. Active noise reduction technology mainly uses the interference principle of sound waves to generate a secondary noise that is equal in value and opposite in phase to the original noise signal to cancel the original noise signal. However, the debugging work of ANC (Active Noise Control) algorithm is mainly completed in the laboratory using a simulated human ear, and during actual human ear wearing, due to the feedback of ear canal and other differences, the noise reduction effect cannot reach the optimal state, affecting the noise reduction experience. SUMMARY

[0004] The main purpose of the present application is to provide an earphone noise reduction method, device, earphone device and computer readable storage medium, aiming to solve the technical problem of how to improve the noise reduction effect of the earphone device in actual use.

[0005] To achieve the above-mentioned purpose, the present application provides an earphone noise reduction method, which comprises the following steps:

[0006] obtaining the wearing state of the earphone device;

[0007] if the wearing state of the earphone device is normal wearing, obtaining ideal noise reduction parameters and generating actual noise reduction parameters based on the ideal noise reduction parameters and a filter bank preset in the earphone device;

[0008] if there is a howling event when the earphone device reduces noise based on the actual noise reduction parameters, the howling event is cleared based on the filter bank to obtain optimal noise reduction parameters.

[0009] Optionally, after the step of obtaining the wearing state of the earphone device, the earphone noise reduction method further comprises:

[0010] playing a preset low-frequency audio file based on the speaker of the earphone device;

[0011] receiving the low-frequency audio file based on the feedback microphone of the earphone device and generating a low-frequency signal curve;

[0012] performing frequency domain analysis on the low-frequency signal curve to obtain a low-frequency amplitude value;

[0013] determining, according to the low-frequency amplitude value and a preset threshold, whether the wearing state of the earphone device is normal wearing.

[0014] Optionally, the ideal noise reduction parameter includes an ideal acoustic noise reduction transfer function and an original electric control transfer function.

[0015] The step of obtaining the ideal noise reduction parameter includes:

[0016] obtaining an ideal acoustic noise reduction transfer function from a loudspeaker of the earphone device to a feedback microphone of the earphone device;

[0017] obtaining an original electric control transfer function of a control circuit between the feedback microphone and the loudspeaker.

[0018] Optionally, the step of generating the actual noise reduction parameter based on the ideal noise reduction parameter and a filter group preset in the earphone device includes:

[0019] playing a preset noise-reduction audio file based on the loudspeaker;

[0020] receiving the noise-reduction audio file based on the feedback microphone and generating a noise-reduction frequency response curve;

[0021] performing frequency domain analysis on the noise-reduction frequency response curve to obtain an actual noise reduction acoustic transfer function;

[0022] generating the actual noise reduction parameter based on the actual noise reduction acoustic transfer function, the ideal acoustic noise reduction transfer function, the original electric control transfer function, and the filter group preset in the earphone device.

[0023] Optionally, the step of generating the actual noise reduction parameter based on the actual noise reduction acoustic transfer function, the ideal acoustic noise reduction transfer function, the original electric control transfer function, and the filter group preset in the earphone device includes:

[0024] generating a difference acoustic noise reduction transfer function according to the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function;

[0025] compensating the difference acoustic noise reduction transfer function by adjusting the filter group preset in the earphone device, and taking the filter parameter after compensation as the actual noise reduction parameter.

[0026] Optionally, after the step of generating the actual noise reduction parameter based on the ideal noise reduction parameter and the filter group preset in the earphone device, the earphone noise reduction method further includes:

[0027] When the headphone device performs noise reduction based on the actual noise reduction parameter, detecting whether a howling frequency band with abnormal output power occurs in the headphone device;

[0028] It is determined whether a howling event occurs in the earphone device according to the howling frequency band.

[0029] Optionally, the step of eliminating the howling event based on the filter bank and obtaining optimal noise reduction parameters includes:

[0030] adding a preset cancellation filter in the howling frequency band based on the filter group and adjusting a gain value of the cancellation filter to eliminate the howling event;

[0031] After the howling event is cleared, current filter parameters are acquired and used as optimal noise reduction parameters.

[0032] In addition, to achieve the above-mentioned object, the present invention further provides an earphone noise reduction device, the earphone noise reduction device comprising:

[0033] An acquisition module, configured to acquire a wearing status of a headphone device;

[0034] The acquisition module is further configured to acquire ideal noise reduction parameters when the headphone device is in a normal wearing state;

[0035] a noise reduction module, configured to generate actual noise reduction parameters based on the ideal noise reduction parameters and a filter group preset in the headphone device when the headphone device is in a normal wearing state;

[0036] The cancellation module is used to, when a howling event occurs when the headphone device operates based on the actual noise reduction parameters, eliminate the howling event based on the filter bank and obtain the optimal noise reduction parameters.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a headphone device, which includes: a memory, a processor, and a headphone noise reduction program stored in the memory and executable on the processor. When the headphone noise reduction program is executed by the processor, the steps of the headphone noise reduction method described above are implemented.

[0038] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a headphone noise reduction program is stored. When the headphone noise reduction program is executed by a processor, the steps of the headphone noise reduction method described above are implemented.

[0039] The present invention proposes a headphone noise reduction method, apparatus, headphone device, and computer-readable storage medium, which overcome the technical defect that existing active noise reduction headphones cannot achieve the optimal noise reduction effect during actual use. In the headphone noise reduction method provided by the present invention, the wearing state of the headphone device is first obtained; if the wearing state of the headphone device is normal wearing, the ideal noise reduction parameters are obtained and the actual noise reduction parameters are generated based on the ideal noise reduction parameters and the filter group preset in the headphone device, and adaptive noise reduction adjustment is achieved based on the different ear canals of the wearers, so that different wearers can experience the optimal noise reduction effect; if a howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the howling event is cleared based on the filter group and the optimal noise reduction parameters are obtained. By clearing the howling event that exists when the headphone device operates based on the actual noise reduction parameters, the noise reduction effect of the headphone device during actual use is further optimized. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a graph of acoustic FR curves in the ear canal when different people wear the same earphones in the earphone noise reduction method of the present invention;

[0041] Figure 2 This is a flow chart of an embodiment of a method for reducing noise in headphones according to the present invention;

[0042] Figure 3 This is a schematic structural diagram of a feedback noise reduction headphone according to an embodiment of the headphone noise reduction method of the present invention;

[0043] Figure 4 for Figure 3 Signal block diagram of the feedback noise control system of the feedback noise-canceling headphones;

[0044] Figure 5 This is a schematic diagram of the functional modules of an embodiment of the headphone noise reduction device of the present invention;

[0045] Figure 6 The figure is a schematic structural diagram of an earphone device involved in an embodiment of the present invention.

[0046] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0048] In the prior art, the debugging of active noise reduction algorithms for headphone devices is mainly done in the laboratory using simulated human ears. However, during actual wearing, due to feedback from the ear canal and other factors, the noise reduction effect does not reach the optimal state, affecting the noise reduction experience. Figure 1Wherein the horizontal coordinate is f / Hz, and the vertical coordinate is DBSPL, the figure contains three different curves 1#, 2# and 3#, which respectively correspond to the acoustic FR (Frequency Response) curves in the ear canal of three different users wearing the same earphone. Figure 1 It can be known that, in the actual use process of the earphone device, due to the difference of ear canals of different people, the noise reduction effect of the same earphone device with fixed noise reduction parameters used by different people is also different.

[0049] Therefore, the present application provides an earphone noise reduction method, which overcomes the technical defects that the existing active noise reduction earphone cannot achieve the optimal noise reduction effect in the actual use process. In the earphone noise reduction method provided by the present application, the wearing state of the earphone device is first obtained; if the wearing state of the earphone device is normal wearing, the ideal noise reduction parameter is obtained and the actual noise reduction parameter is generated based on the ideal noise reduction parameter and the filter bank preset in the earphone device, which realizes adaptive noise reduction adjustment based on the difference of the ear canals of the wearer, so that different wearers can experience the optimal noise reduction effect; if there is a howling event when the earphone device performs noise reduction based on the actual noise reduction parameter, the howling event is cleared based on the filter bank and the optimal noise reduction parameter is obtained, which further optimizes the noise reduction effect of the earphone device in the actual use process by clearing the howling event existing in the operation of the earphone device running based on the actual noise reduction parameter.

[0050] The present application provides an earphone noise reduction method, which is described with reference to Figure 2 , Figure 2 The present application provides an earphone noise reduction method, which is described with reference to

[0051] In this embodiment, the earphone noise reduction method comprises:

[0052] Step S10, obtaining the wearing state of the earphone device;

[0053] It should be noted that the execution subject of the present embodiment is the earphone device, and in the actual use process of the earphone device, that is, when the earphone device is normal and the user normally wears the earphone, the present embodiment can adaptively adjust the noise reduction parameter based on the difference of the ear canals of different users, so that the noise reduction effect can be dynamically adjusted based on the user wearing the earphone, to ensure that different users can achieve the best noise reduction effect when using the earphone. Since the present embodiment needs to adaptively adjust the noise reduction based on the difference of the ear canals of different users, the wearing state of the earphone device needs to be obtained before the adaptive noise reduction adjustment, and only when the earphone device is normal and the user normally wears the earphone, the good adaptive noise reduction adjustment effect can be ensured.

[0054] Therefore, as a feasible embodiment, after the above step S10, the earphone noise reduction method provided by the present application further comprises:

[0055] Step S11, playing a preset low-frequency audio file based on the speaker of the headphone device;

[0056] Step S12, receiving the low-frequency audio file based on the feedback microphone of the headphone device and generating a low-frequency signal curve;

[0057] Step S13, performing frequency domain analysis on the low-frequency signal curve to obtain a low-frequency amplitude value;

[0058] Step S14: determining whether the wearing state of the earphone device is normal wearing according to the low-frequency amplitude value and a preset threshold.

[0059] It should be noted that in this embodiment, a low-frequency audio file for determining the wearing status is pre-stored in the headphone device. Specifically, the low-frequency audio file is played through the speaker or loudspeaker in the headphone device for a certain period of time, and then the low-frequency audio file is received through the feedback microphone in the headphone device. A low-frequency signal curve of the low-frequency audio file when it is played in the user's ear canal can be generated. The curve is subjected to frequency domain analysis to obtain a corresponding low-frequency frequency response curve. The low-frequency amplitude value in the low-frequency frequency response curve (for example, the amplitude value corresponding to frequencies such as 20 Hz and 50 Hz) is extracted, and the amplitude value is compared with a preset threshold to determine whether there is sound leakage. If the amplitude value is not less than the preset threshold, it indicates that the headphone is worn normally. If the amplitude value is less than the preset threshold, it indicates that there is sound leakage. The preset threshold can be set according to actual conditions, for example, 100 dB SPL, and this embodiment is not limited to this.

[0060] Furthermore, as a feasible embodiment, after the above step S14, the headphone noise reduction method provided by the embodiment of the present invention further includes:

[0061] In step A20, if the wearing state of the earphone device is not normal, a wearing abnormality prompt is issued to prompt the user to put on the earphone again or replace the ear cap.

[0062] It is understandable that if the headphones are not worn properly, the adaptive adjustment conditions of this embodiment are not met. At this time, a voice prompt can be played through the speaker or a smart terminal connected to the headphones can be used to prompt the user to wear the headphones correctly or check whether the ear caps are abnormal to ensure the optimal noise reduction effect.

[0063] Step S20: If the wearing state of the earphone device is normal wearing, obtaining ideal noise reduction parameters and generating actual noise reduction parameters based on the ideal noise reduction parameters and a filter group preset in the earphone device;

[0064] In this embodiment, when the earphones are worn normally, the earphone device will start the adaptive noise reduction adjustment mode to complete the adaptive noise reduction adjustment for different users, thereby achieving the optimal noise reduction effect. First, it is necessary to obtain the ideal noise reduction parameters as the basic parameters for adaptive adjustment. The ideal noise reduction parameters are the optimal noise reduction parameters under ideal conditions obtained after the earphones are debugged in the laboratory using a simulated human ear. Specifically, you can refer to Figure 3 and Figure 4 Derived, where Figure 3 This is a schematic diagram of the structure of a feedback noise reduction headset involved in this embodiment. Figure 4 This is the signal block diagram of the feedback noise control system of the feedback noise reduction headphones. Figure 3 and Figure 4 In the figure, G is the distance from the speaker to the error microphone (i.e. Figure 3 The error microphone (Err mic) is the transfer function of the acoustic channel, H is the transfer function of the control circuit, Noise is the external noise signal, d is the noise signal that penetrates the earcup, c is the control signal, and e is the noise signal that is a mixture of d and c. When noise enters the earcup of the headphone, the error microphone will collect the noise signal, and then the control circuit will generate an equal and opposite phase signal to cancel the noise signal. The transfer function between the error signal e and the external noise d is defined as the feedback system sensitivity function:

[0065]

[0066] When S is less than 1, the band noise will be reduced, and when S is greater than 1, the band noise will be enhanced.

[0067] Due to the differences between real human ears and simulated ears, if the ideal noise reduction parameters are used, the noise reduction effect of the headphones will deteriorate during actual use by users. This is because the differences in the user's ear canal will cause the G value to change. Therefore, the H value can be adaptively adjusted through the above formula to achieve compensation, so that the noise reduction effect of the headphones can be optimized during actual use by users.

[0068] Furthermore, as a feasible embodiment, the ideal noise reduction parameters include an ideal acoustic noise reduction transfer function and an original electronic control transfer function. The step of obtaining the ideal noise reduction parameters in the above-mentioned step S20 includes:

[0069] Step S21, obtaining an ideal acoustic noise reduction transfer function from the speaker of the headphone device to the feedback microphone of the headphone device;

[0070] Step S22: obtaining an original electrical control transfer function of a control circuit between the feedback microphone and the speaker.

[0071] In this embodiment, the ideal acoustic noise reduction transfer function G0 and the original electronic control transfer function H0 are used as the basis for adjustment and adaptive adjustment is performed. The two functions respectively represent the G value and the H value after debugging is completed in the laboratory using a simulated human ear.

[0072] Furthermore, as a feasible embodiment, the step of generating actual noise reduction parameters based on the ideal noise reduction parameters and the filter group preset in the headphone device in the above-mentioned step S20 includes:

[0073] Step S23, playing a preset audio file to be noise-reduced based on the speaker;

[0074] Step S24, receiving the noise reduction audio file based on the feedback microphone and generating a noise reduction frequency response curve;

[0075] Step S25, performing frequency domain analysis on the frequency response curve to be noise reduced to obtain an actual noise reduction acoustic transfer function;

[0076] Step S26 : generating actual noise reduction parameters based on the actual noise reduction acoustic transfer function, the ideal acoustic noise reduction transfer function, the original electronically controlled transfer function, and a filter bank preset in the headphone device.

[0077] It should be noted that in this embodiment, the headphone device also pre-stores a noise reduction audio file for noise reduction testing that includes at least a primary noise reduction frequency band. This primary noise reduction frequency band is generally no higher than 2kHz, and this embodiment does not impose any limitations thereon. Specifically, by playing the noise reduction audio file through a speaker or loudspeaker in the headphone device for a certain period of time and then receiving the noise reduction audio file through a feedback microphone in the headphone device, a sound signal curve of the noise reduction audio file when played in the user's ear canal is generated. Frequency domain analysis of this curve is performed to obtain a corresponding frequency response curve, and based on this frequency response curve, an actual noise reduction acoustic transfer function G is obtained. Based on this actual noise reduction acoustic transfer function G, the ideal acoustic noise reduction transfer function G0, the original electronically controlled transfer function H0, and a pre-set filter bank in the headphone device, adaptive adjustment is performed to generate actual noise reduction parameters. Noise reduction of the headphone device is performed based on these actual noise reduction parameters to improve the noise reduction effect.

[0078] Furthermore, as a feasible embodiment, the above step S26 may specifically include:

[0079] Step S261, generating a difference acoustic noise reduction transfer function according to the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function;

[0080] Step S262: Compensating the differential acoustic noise reduction transfer function by adjusting a filter group preset in the headphone device, and using the compensated filter parameters as actual noise reduction parameters.

[0081] In this embodiment, a noise reduction chip is pre-installed in the headphone device, and a filter group with an adjustable H value is reserved in the noise reduction chip. First, a difference acoustic noise reduction transfer function ΔG is obtained by comparing the actual noise reduction acoustic transfer function G with the ideal acoustic noise reduction transfer function G0. Then, the difference acoustic noise reduction transfer function ΔG is compensated for using the filter group with an adjustable H value. Specifically, the difference in G value is compensated by correcting the current H value. The H value after compensation is recorded as the actual electronically controlled transfer function H1, which is also the actual noise reduction parameter.

[0082] Furthermore, as a feasible embodiment, after the above step S20, the headphone noise reduction method provided by the embodiment of the present invention further includes:

[0083] Step A, when the headphone device performs noise reduction based on the actual noise reduction parameter, detecting whether the headphone device has a howling frequency band with abnormal output power;

[0084] Step B: determining whether a howling event occurs in the headphone device according to the howling frequency band.

[0085] It should be noted that after completing the adaptive noise reduction adjustment, the headphone device will perform noise reduction based on the actual noise reduction parameter H1 mentioned above. During this process, since the H value has been corrected once, some audio parameters in the high-frequency band may be affected, which may cause the headphone device to produce sharp howling sounds, resulting in a poor user experience. When a howling event occurs, the output power of the speaker's corresponding howling frequency band will be abnormally high. This frequency point can be detected by the automatic howling detection module on the headphone device control circuit. If there is a howling frequency band with abnormally high output power, it is obvious that a howling event has occurred in the headphone device. If this howling frequency band does not exist, then there is no howling event in the headphone device.

[0086] Furthermore, as a feasible embodiment, after the above step B, the headphone noise reduction method provided by the embodiment of the present invention further includes:

[0087] Step A30: If no howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the process returns to step A.

[0088] It is understandable that if there is no howling event, it means that the headphone noise reduction based on the current noise reduction parameters can bring the best noise reduction effect to the current user, and there is no need to make a secondary correction to the current actual electronic control transfer function H1 value by adjusting the filter group.

[0089] Step S30: If a howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the howling event is eliminated based on the filter bank and optimal noise reduction parameters are obtained.

[0090] In this embodiment, after completing the adaptive noise reduction adjustment, the headphone device will perform noise reduction based on the above-mentioned actual noise reduction parameter H1, and at the same time start the adaptive noise reduction howling detection adjustment mode. If a howling event occurs during the operation of this mode, H1 needs to be corrected again to eliminate the howling event, thereby ensuring the noise reduction effect while avoiding the occurrence of howling events.

[0091] Furthermore, as a feasible embodiment, the step of removing the howling event based on the filter bank and obtaining the optimal noise reduction parameter in the above-mentioned step S30 includes:

[0092] Step S31, adding a preset cancellation filter in the howling frequency band based on the filter group and adjusting the gain value of the cancellation filter to eliminate the howling event;

[0093] Step S32: After the howling event is cleared, current filter parameters are acquired and used as optimal noise reduction parameters.

[0094] As an example, this embodiment can perform a secondary correction on H1 using a filter group with adjustable H values ​​reserved in the noise reduction chip. Specifically, a cancellation filter can be added to the howling frequency band generated by the howling event and the gain value can be adjusted until the howling event disappears. The cancellation filter can be a Notch filter or an adaptive filter, which is not limited in this embodiment. After the howling event is cleared, the headphone device obtains the current filter parameter H2, uses the new filter parameter H2 as the optimal noise reduction parameter, and ends the adaptive noise reduction howling detection adjustment mode.

[0095] This embodiment proposes a headphone noise reduction method that overcomes the technical defect of existing active noise reduction headphones that cannot achieve the optimal noise reduction effect during actual use. In the headphone noise reduction method provided by this embodiment, the wearing state of the headphone device is first obtained; if the wearing state of the headphone device is normal wearing, the ideal noise reduction parameters are obtained and the actual noise reduction parameters are generated based on the ideal noise reduction parameters and the filter group preset in the headphone device. Adaptive noise reduction adjustment is achieved based on the differences in the wearer's ear canal, so that different wearers can experience the optimal noise reduction effect; if a howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the howling event is cleared based on the filter group and the optimal noise reduction parameters are obtained. By clearing the howling event that exists when the headphone device operates based on the actual noise reduction parameters, the noise reduction effect of the headphone device during actual use is further optimized.

[0096] In addition, the embodiment of the present invention also provides a headphone noise reduction device, referring to Figure 5 , Figure 5Schematic diagram of functional modules of an embodiment of a headphone noise reduction device of the present invention.

[0097] In this embodiment, the headphone noise reduction device includes:

[0098] An acquisition module 10 is used to acquire a wearing status of a headphone device;

[0099] The acquisition module 10 is further configured to acquire ideal noise reduction parameters when the earphone device is in a normal wearing state;

[0100] a noise reduction module 20 configured to generate actual noise reduction parameters based on the ideal noise reduction parameters and a filter group preset in the headphone device when the headphone device is in a normal wearing state;

[0101] The cancellation module 30 is configured to, when a howling event occurs when the headphone device operates based on the actual noise reduction parameters, eliminate the howling event based on the filter bank and obtain optimal noise reduction parameters.

[0102] Optionally, the headphone noise reduction device further includes:

[0103] A playing module, configured to play a preset low-frequency audio file based on a speaker of the headphone device;

[0104] a receiving module, configured to receive the low-frequency audio file based on a feedback microphone of the headphone device and generate a low-frequency signal curve;

[0105] An analysis module, configured to perform frequency domain analysis on the low-frequency signal curve to obtain a low-frequency amplitude value;

[0106] A judgment module is used to judge whether the wearing state of the headphone device is normal wearing according to the low-frequency amplitude value and a preset threshold.

[0107] Optionally, the acquisition module 10 is further configured to acquire an ideal acoustic noise reduction transfer function from a speaker of the headphone device to a feedback microphone of the headphone device;

[0108] The acquisition module 10 is further configured to acquire an original electrical control transfer function of a control circuit between the feedback microphone and the speaker.

[0109] Optionally, the playing module is further configured to play a preset audio file to be noise-reduced based on the speaker;

[0110] The receiving module is further configured to receive the noise reduction audio file based on the feedback microphone and generate a frequency response curve for noise reduction;

[0111] The analysis module is further configured to perform frequency domain analysis on the frequency response curve to be noise reduced to obtain an actual noise reduction acoustic transfer function;

[0112] The noise reduction module 20 is further configured to generate actual noise reduction parameters based on the actual noise reduction acoustic transfer function, the ideal acoustic noise reduction transfer function, the original electronically controlled transfer function, and a filter bank preset in the headphone device.

[0113] Optionally, the noise reduction module 20 includes:

[0114] a generating unit, configured to generate a difference acoustic noise reduction transfer function according to the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function;

[0115] A compensation unit is configured to compensate for the difference acoustic noise reduction transfer function by adjusting a filter group preset in the headphone device, and use the filter parameters after compensation as actual noise reduction parameters.

[0116] Optionally, the headphone noise reduction device further includes:

[0117] a detection module, configured to detect whether a howling frequency band with abnormal output power occurs in the headphone device when the headphone device performs noise reduction based on the actual noise reduction parameter;

[0118] The determining module is further configured to determine whether a howling event occurs in the earphone device according to the howling frequency band.

[0119] Optionally, the offset module 30 includes:

[0120] a filtering unit, configured to add a preset cancellation filter in the howling frequency band based on the filter group and adjust a gain value of the cancellation filter to eliminate the howling event;

[0121] An updating unit is configured to obtain current filter parameters and use the current filter parameters as optimal noise reduction parameters after the howling event is cleared.

[0122] The expanded content of the specific implementation of the headphone noise reduction device is basically the same as that of the above-mentioned embodiments of the headphone noise reduction method. The headphone noise reduction device can achieve the same technical effects as the above-mentioned embodiments of the headphone noise reduction method, and will not be repeated here.

[0123] In addition, an embodiment of the present invention further proposes an earphone device, which includes a structural shell, a communication module, a main control module (such as a microcontroller unit MCU), a speaker, a feedback noise reduction microphone, a memory, etc. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive devices (which may be replaced, deleted, or added according to actual functions) to realize the reception and playback functions of wireless audio. Figure 6 , Figure 6 The figure is a schematic structural diagram of an earphone device involved in an embodiment of the present invention.

[0124] like Figure 6 As shown, the headphone device may further include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (RAM) memory or a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0125] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation to the headphone device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0126] like Figure 6 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a headphone noise reduction program.

[0127] exist Figure 6In the headphone device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in this embodiment can be set in the headphone device, and the headphone device calls the headphone noise reduction program stored in the memory 1005 through the processor 1001 and performs the following operations:

[0128] Get the wearing status of the headset device;

[0129] If the wearing state of the earphone device is normal wearing, obtaining ideal noise reduction parameters and generating actual noise reduction parameters based on the ideal noise reduction parameters and a filter group preset in the earphone device;

[0130] If a howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the howling event is eliminated based on the filter bank and optimal noise reduction parameters are obtained.

[0131] Furthermore, the processor 1001 may call the headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0132] Playing a preset low-frequency audio file based on the speaker of the headphone device;

[0133] Receive the low-frequency audio file based on the feedback microphone of the headphone device and generate a low-frequency signal curve;

[0134] Performing frequency domain analysis on the low-frequency signal curve to obtain a low-frequency amplitude value;

[0135] Whether the wearing state of the earphone device is normal wearing is determined according to the low-frequency amplitude value and a preset threshold.

[0136] Furthermore, the ideal noise reduction parameters include an ideal acoustic noise reduction transfer function and an original electronic control transfer function; the processor 1001 may call a headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0137] Obtaining an ideal acoustic noise reduction transfer function from a speaker of the headphone device to a feedback microphone of the headphone device;

[0138] An original electrical control transfer function of a control circuit between the feedback microphone and the speaker is obtained.

[0139] Furthermore, the processor 1001 may call the headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0140] Playing a preset audio file to be noise-reduced based on the speaker;

[0141] receiving the noise reduction audio file based on the feedback microphone and generating a frequency response curve for noise reduction;

[0142] Performing frequency domain analysis on the frequency response curve to be noise reduced to obtain an actual noise reduction acoustic transfer function;

[0143] Actual noise reduction parameters are generated based on the actual noise reduction acoustic transfer function, the ideal acoustic noise reduction transfer function, the original electronically controlled transfer function, and a filter bank preset in the headphone device.

[0144] Furthermore, the processor 1001 may call the headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0145] generating a difference acoustic noise reduction transfer function according to the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function;

[0146] The differential acoustic noise reduction transfer function is compensated by adjusting a filter group preset in the headphone device, and the filter parameters after compensation are used as actual noise reduction parameters.

[0147] Furthermore, the processor 1001 may call the headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0148] When the headphone device performs noise reduction based on the actual noise reduction parameter, detecting whether a howling frequency band with abnormal output power occurs in the headphone device;

[0149] It is determined whether a howling event occurs in the headphone device according to the howling frequency band.

[0150] Furthermore, the processor 1001 may call the headphone noise reduction program stored in the memory 1005 and perform the following operations:

[0151] adding a preset cancellation filter in the howling frequency band based on the filter group and adjusting a gain value of the cancellation filter to eliminate the howling event;

[0152] After the howling event is cleared, current filter parameters are acquired and used as optimal noise reduction parameters.

[0153] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, which is applied to a computer. The computer-readable storage medium can be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a headphone noise reduction program. When the headphone noise reduction program is executed by a processor, the steps of the headphone noise reduction method of the present invention as described above are implemented.

[0154] The various embodiments of the headphone device and the computer-readable storage medium of the present invention may refer to the various embodiments of the headphone noise reduction method of the present invention, and will not be described in detail here.

[0155] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0156] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0157] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0158] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for reducing noise in headphones, characterized in that: The headphone noise reduction method comprises the following steps: Get the wearing status of the headset device; If the wearing state of the headphone device is normal wearing, obtaining ideal noise reduction parameters, wherein the ideal noise reduction parameters include an ideal acoustic noise reduction transfer function and an original electronic control transfer function, and the ideal noise reduction parameters are optimal noise reduction parameters under an ideal state obtained after the headphone device is debugged in a laboratory using a simulated human ear; Playing a preset audio file to be reduced in noise based on the speaker of the headphone device, receiving the audio file to be reduced in noise based on the feedback microphone of the headphone device and generating a frequency response curve to be reduced in noise, and performing frequency domain analysis on the frequency response curve to be reduced in noise to obtain an actual noise reduction acoustic transfer function; generating a difference acoustic noise reduction transfer function according to the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function; Compensating the difference acoustic noise reduction transfer function by adjusting a filter group preset in the headphone device, and using the filter parameters after compensation as actual noise reduction parameters; If a howling event occurs when the headphone device performs noise reduction based on the actual noise reduction parameters, the howling event is eliminated based on the filter bank and optimal noise reduction parameters are obtained.

2. The headphone noise reduction method according to claim 1, wherein: After the step of obtaining the wearing status of the headphone device, the headphone noise reduction method further includes: Playing a preset low-frequency audio file based on the speaker of the headphone device; Receive the low-frequency audio file based on the feedback microphone of the headphone device and generate a low-frequency signal curve; Performing frequency domain analysis on the low-frequency signal curve to obtain a low-frequency amplitude value; Whether the wearing state of the earphone device is normal wearing is determined according to the low-frequency amplitude value and a preset threshold.

3. The headphone noise reduction method according to claim 1, wherein: The step of obtaining the ideal noise reduction parameters includes: Obtaining an ideal acoustic noise reduction transfer function from a speaker of the headphone device to a feedback microphone of the headphone device; An original electrical control transfer function of a control circuit between the feedback microphone and the speaker is obtained.

4. The headphone noise reduction method according to any one of claims 1 to 3, wherein: After the step of using the compensated filter parameters as actual noise reduction parameters, the headphone noise reduction method further includes: When the headphone device performs noise reduction based on the actual noise reduction parameter, detecting whether a howling frequency band with abnormal output power occurs in the headphone device; It is determined whether a howling event occurs in the headphone device according to the howling frequency band.

5. The headphone noise reduction method according to claim 4, wherein: The step of removing the howling event based on the filter group and obtaining the optimal noise reduction parameter includes: adding a preset cancellation filter in the howling frequency band based on the filter group and adjusting a gain value of the cancellation filter to eliminate the howling event; After the howling event is cleared, current filter parameters are acquired and used as optimal noise reduction parameters.

6. A headphone noise reduction device, characterized in that: The headphone noise reduction device comprises: An acquisition module, configured to acquire a wearing status of a headphone device; The acquisition module is further configured to acquire ideal noise reduction parameters when the headphone device is in a normal wearing state, wherein the ideal noise reduction parameters include an ideal acoustic noise reduction transfer function and an original electronic control transfer function, and the ideal noise reduction parameters are optimal noise reduction parameters in an ideal state obtained after the headphone device is debugged in a laboratory using a simulated human ear; a noise reduction module configured to, when the headphone device is in a normal wearing state, play a preset audio file to be reduced in noise based on a speaker of the headphone device, receive the audio file to be reduced in noise based on a feedback microphone of the headphone device and generate a frequency response curve to be reduced in noise, perform frequency domain analysis on the frequency response curve to be reduced in noise to obtain an actual noise reduction acoustic transfer function; generate a difference acoustic noise reduction transfer function based on the actual noise reduction acoustic transfer function and the ideal acoustic noise reduction transfer function; compensate for the difference acoustic noise reduction transfer function by adjusting a filter group preset in the headphone device, and use the filter parameters after compensation as the actual noise reduction parameters; The cancellation module is configured to, when a howling event occurs when the headphone device operates based on the actual noise reduction parameters, eliminate the howling event based on the filter bank and obtain optimal noise reduction parameters.

7. A headphone device, characterized in that: The headphone device includes: a memory, a processor, and a headphone noise reduction program stored in the memory and executable on the processor. When the headphone noise reduction program is executed by the processor, the steps of the headphone noise reduction method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a headphone noise reduction program, which, when executed by a processor, implements the steps of the headphone noise reduction method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Active noise reduction method and device

    CN113676804A