Earpiece noise reduction device and method, and electronic equipment
By using the internal noise monitoring microphone and noise processing module in the handset noise reduction device, the internal noise signal is processed based on the preset noise cancellation algorithm, which solves the interference problems of low-frequency magnetic interference and capacitive howling on the handset audio, and achieves a clearer audio output.
Patent Information
- Application Number
- CN202411997051.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-04
AI Technical Summary
In the prior art, there are problems in which low-frequency magnetic interference and capacitive howling interfere with the audio played by the earpiece.
A handset noise reduction device is provided, including an internal noise monitoring microphone, a noise processing module and a noise reference loop. The internal noise monitoring microphone is used to monitor the internal noise signal. Before the earpiece plays the audio to be played, the noise processing module performs noise cancellation processing on the audio to be played based on the preset noise cancellation algorithm. The noise reference loop is used to acquire the internal noise signal and transmit it to the noise processing module.
Through this device, the noise impact caused by low-frequency magnetic interference, idle channel noise and capacitive howling can be effectively overcome, and the audio quality of the earpiece can be improved.
Smart Images

Figure CN119767211A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio processing, and in particular to a device and method for reducing earpiece noise, and an electronic device. Background Art
[0002] At present, when mobile phones, tablets and other electronic devices make voice calls through cellular network data or WIFI networks, they usually use a microphone to pick up voice outside the electronic device body shell and use a receiver to send voice. The microphone and receiver work together to synchronously complete the voice pickup and sending to realize remote calls.
[0003] When a mobile phone or tablet is talking, the power amplifier subsystem of the RF component will usually distribute wireless data synchronously. In this scenario, the power supply subsystem that supplies power to the RF power amplifier subsystem will start. As the RF working scene or state switches (such as standby, transmission, and reception), the voltage of the power supply subsystem will continue to fluctuate, forming a power supply ripple loop. The power supply ripple loop will couple with the earpiece power supply loop at a low frequency, causing low-frequency magnetic interference (i.e., TDD interference) in the earpiece. In addition, the filter or decoupling capacitor output by the power supply subsystem is usually an X5R or X7R ceramic capacitor. Driven by the power supply ripple fluctuation, the ceramic body will periodically expand and deform, thereby driving the PCB board vibration. If these board vibrations fall within the human hearing range and have sufficient amplitude, they can be heard, which will cause the so-called "capacitor howling".
[0004] Therefore, there is a problem in the related art that low-frequency magnetic interference and capacitive howling interfere with the audio played by the earpiece. Summary of the invention
[0005] The present application provides a device and method for reducing earpiece noise, and an electronic device, so as to at least solve the problem in the related art that low-frequency magnetic interference and capacitor howling interfere with the audio played by the earpiece.
[0006] According to one aspect of an embodiment of the present application, there is provided a device for reducing earpiece noise, including:
[0007] An internal noise monitoring microphone, used to monitor an internal noise signal, wherein the internal noise signal is noise based on a circuit board structure or generated during signal transmission;
[0008] A noise processing module, used for performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm with reference to the internal noise signal before the earpiece plays the audio to be played;
[0009] The noise reference loop is used to obtain the internal noise signal from the internal noise monitoring microphone, transmit the internal noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece.
[0010] Optionally, the earpiece noise reduction device as described above further includes:
[0011] External noise monitoring microphone, used to monitor external noise signals in the environment;
[0012] The noise processing module is used to refer to the internal noise signal and the external noise signal before the earpiece plays the audio to be played, and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm;
[0013] The noise reference loop is used to obtain the internal noise signal from the internal noise monitoring microphone and the external noise signal from the external noise monitoring microphone, transmit the internal noise signal and the external noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece.
[0014] Optionally, as in the aforementioned earpiece noise reduction device, the external noise monitoring microphone comprises: a first external noise monitoring microphone and a second external noise monitoring microphone;
[0015] The first external noise monitoring microphone and the second external noise monitoring microphone are used to monitor external noise signals in at least two different environmental locations respectively.
[0016] Optionally, as in the aforementioned earpiece noise reduction device, the noise processing module includes:
[0017] A real-time inference unit, configured to input the internal noise signal and the external noise signal into a pre-trained target AI model, and infer the correlation between the internal noise signal and the external noise signal and the earpiece noise, wherein the target AI model is used to implement the noise elimination algorithm;
[0018] A noise elimination unit is used to eliminate noise from the audio to be played according to the correlation.
[0019] Optionally, as in the aforementioned earpiece noise reduction device, the internal noise signal includes: capacitive howling, low-frequency magnetic interference of the earpiece and idle channel noise.
[0020] According to another aspect of the embodiments of the present application, an electronic device is provided, comprising the earpiece noise reduction device as described in any of the aforementioned embodiments.
[0021] Optionally, the electronic device as described above:
[0022] The distance between the setting position of the internal noise monitoring microphone and the earpiece of the electronic device is within a preset distance range.
[0023] Optionally, the electronic device as described above:
[0024] The internal noise monitoring microphone is disposed near a target decoupling capacitor, wherein the target decoupling capacitor is a decoupling capacitor with the largest voltage ripple fluctuation within a preset distance range of the earpiece.
[0025] Optionally, the electronic device as described above:
[0026] The first external noise monitoring microphone is arranged on the top of the electronic device;
[0027] The second external noise monitoring microphone is arranged at the bottom of the electronic device.
[0028] According to another aspect of the embodiment of the present application, a method for reducing earpiece noise is also provided, including:
[0029] Acquire an internal noise signal, where the internal noise signal is noise based on a circuit board structure or generated during signal transmission;
[0030] Before the earpiece plays the audio to be played, refer to the internal noise signal and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm, wherein the target AI model is used to implement the noise elimination algorithm;
[0031] The audio to be played after the noise is eliminated is transmitted to the earpiece.
[0032] Optionally, as in the aforementioned method,
[0033] It also includes: monitoring external noise signals in the environment;
[0034] Before the earpiece plays the audio to be played, referring to the internal noise signal, and performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm, comprises:
[0035] Before the earpiece plays the audio to be played, the internal noise signal and the external noise signal are referred to, and noise elimination processing is performed on the audio to be played based on a preset noise elimination algorithm.
[0036] Optionally, as in the aforementioned method, the step of using the external noise signal and the internal noise signal as reference signals to perform noise elimination on the audio to be played includes:
[0037] Input the preprocessed internal noise signal and the external noise signal into the pre-trained target AI model, and infer the correlation between the internal noise signal, the external noise signal and the earpiece noise;
[0038] Noise elimination is performed on the audio to be played according to the correlation.
[0039] Optionally, as in the aforementioned method, the internal noise signal includes: capacitive howling, low-frequency magnetic interference of the earpiece and idle channel noise.
[0040] In an embodiment of the present application, an earpiece noise reduction device and method, and an electronic device are used, wherein the earpiece noise reduction device includes: an internal noise monitoring microphone, which is used to monitor an internal noise signal, and the internal noise signal is noise based on a circuit board structure or generated during signal transmission; a noise processing module, which is used to refer to the internal noise signal before the earpiece plays the audio to be played, and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm; a noise reference loop, which is used to obtain the internal noise signal from the internal noise monitoring microphone, transmit the internal noise signal to the noise processing module, and transmit the audio to be played after noise elimination to the earpiece. Since the internal noise signal is generated by power supply ripple fluctuations, and the power supply The ripple loop will also couple with the earpiece power supply loop at a low frequency, causing low-frequency magnetic interference and idle channel noise in the earpiece, as well as capacitor howling. The internal noise signal is correlated with the low-frequency magnetic interference, idle channel noise and capacitor howling, and the low-frequency magnetic interference, idle channel noise and capacitor howling will all cause noise in the audio to be played. Therefore, there is also a correlation between the internal noise signal and the noise. Based on the internal noise signal, the purpose of effectively eliminating noise from the audio to be played can be achieved, and the technical effect that the earpiece can overcome the influence of noise caused by low-frequency magnetic interference, idle channel noise and capacitor howling is achieved, thereby solving the problem of low-frequency magnetic interference, idle channel noise and capacitor howling interfering with the audio played by the earpiece in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1is a structural schematic diagram of an optional earpiece noise reduction device according to an embodiment of the present application;
[0044] Figure 2 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application;
[0045] Figure 3 is a flowchart of an optional method for reducing earpiece noise according to an embodiment of the present application;
[0046] Figure 4 is a flowchart of another optional method for reducing earpiece noise according to an embodiment of the present application;
[0047] Figure 5 is a structural block diagram of an optional earpiece noise reduction device according to an embodiment of the present application;
[0048] Figure 6 It is a structural block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0050] It is understandable that the connection relationship described in this application refers to direct or indirect connection. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components. For example, A can be directly connected to C, and C can be directly connected to B, so that A and B are connected through C. It is also understandable that the "A connects B" described in this application can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.
[0051] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0052] In the description of this application, words such as "first" and "second" are only used to distinguish different objects, and do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. In addition, the terms "including" and "including" and any variations thereof are intended to cover non-exclusive inclusions.
[0053] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0054] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
[0055] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretation:
[0056] 1. Capacitor squeal refers to the fact that in some cases, especially when using ceramic capacitors, the capacitor body will vibrate mechanically under voltage fluctuations of a specific frequency, thereby producing audible sounds. This phenomenon usually occurs when power ripple or other forms of AC signals pass through the capacitor, causing periodic expansion and contraction of the capacitor's internal materials.
[0057] 2. Low-frequency magnetic interference noise (TDD Noise, Time Division Distortion Noise), which is the switching noise introduced by different mobile phone users communicating with the base station through their respective time slots.
[0058] Figure 1 An earpiece noise reduction device provided in an embodiment of the present application includes:
[0059] The internal noise monitoring microphone 1 is used to monitor the internal noise signal. The internal noise signal is noise based on the circuit board structure or generated during signal transmission.
[0060] The noise processing module 2 is used for performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm with reference to the internal noise signal before the earpiece plays the audio to be played.
[0061] The noise reference loop 3 is used to obtain the internal noise signal from the internal noise monitoring microphone, transmit the internal noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece.
[0062] Specifically, the internal noise monitoring microphone 1 in this embodiment is a microphone located near the decoupling capacitor to be monitored where the voltage ripple fluctuation is large. The noise signal of the corresponding decoupling capacitor can be monitored through the internal noise monitoring microphone 1 and recorded as the internal noise signal. Since the decoupling capacitor generally only emits a noise signal when the voltage ripple fluctuation is large and capacitor howling occurs, the internal noise signal is correlated with the voltage ripple fluctuation. In addition, since the power ripple loop will also be coupled with the earpiece power loop at a low frequency, causing low-frequency magnetic interference of the earpiece, the low-frequency magnetic interference will generate background noise such as humming, hissing or other types of background noise. In other words, the internal noise signal includes: capacitor howling, low-frequency magnetic interference of the earpiece, and idle channel noise. It can be seen that there is a correlation between the noise to be eliminated caused by capacitor howling and low-frequency magnetic interference in the audio to be played through the earpiece and the internal noise signal. Furthermore, the noise reference loop 3 can be connected to the internal noise monitoring microphone 1 through communication, and after obtaining the internal noise signal, the internal noise signal is transmitted to the noise processing module 2, so that the noise processing module refers to the internal noise signal, and noise elimination can be achieved for the audio to be played based on the noise elimination algorithm.
[0063] As an optional embodiment, the earpiece noise reduction device as described above further includes: an external noise monitoring microphone for monitoring external noise signals in the environment; as an optional embodiment, the earpiece noise reduction device as described above, the external noise monitoring microphone includes: a first external noise monitoring microphone 4 and a second external noise monitoring microphone 5; the first external noise monitoring microphone 4 and the second external noise monitoring microphone 5 are used to monitor external noise signals in at least two different environmental locations respectively. The noise processing module 2 is used to refer to the internal noise signal and the external noise signal before the earpiece plays the audio to be played, and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm. Optionally, the real-time reasoning unit is used to input the internal noise signal and the external noise signal into a pre-trained target AI model, and infer the correlation between the internal noise signal and the external noise signal and the earpiece noise, wherein the target AI model is used to implement the noise elimination algorithm; the noise elimination unit is used to perform noise elimination on the audio to be played according to the correlation. The noise reference loop 3 is used to obtain the internal noise signal from the internal noise monitoring microphone and the external noise signal from the external noise monitoring microphone, transmit the internal noise signal and the external noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece. That is to say, the external sound in the environment will also generate noise, which will affect the earpiece. Therefore, the external noise signal in the environment is obtained by monitoring the external noise monitoring microphone. In order to collect as much noise in the environment as possible, the first external noise monitoring microphone 4 and the second external noise monitoring microphone 5 are set to monitor the external noise signals of at least two different environmental positions through the first external noise monitoring microphone 4 and the second external noise monitoring microphone 5. In this embodiment, the first external noise monitoring microphone 4 can include one or more microphones, and the second external noise monitoring microphone 5 can also include one or more microphones. In addition, the reference loop 2 can be connected to the first external noise monitoring microphone 4 and the second external noise monitoring microphone 5 through communication. After obtaining the external noise signals of at least two different environmental positions, the noise processing module 2 can refer to the internal noise signal and the external noise signal to achieve noise elimination of the audio to be played.
[0064] In an embodiment of the present application, an earpiece noise reduction device and method, and an electronic device are used, wherein the earpiece noise reduction device includes: an internal noise monitoring microphone, which is used to monitor an internal noise signal, and the internal noise signal is noise based on a circuit board structure or generated during signal transmission; a noise processing module, which is used to refer to the internal noise signal before the earpiece plays the audio to be played, and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm; a noise reference loop, which is used to obtain the internal noise signal from the internal noise monitoring microphone, transmit the internal noise signal to the noise processing module, and transmit the audio to be played after noise elimination to the earpiece. Since the internal noise signal is generated by power supply ripple fluctuations, and the power supply The ripple loop will also couple with the earpiece power supply loop at a low frequency, causing low-frequency magnetic interference and idle channel noise in the earpiece, as well as capacitor howling. The internal noise signal is correlated with the low-frequency magnetic interference, idle channel noise and capacitor howling, and the low-frequency magnetic interference, idle channel noise and capacitor howling will all cause noise in the audio to be played. Therefore, there is also a correlation between the internal noise signal and the noise. Based on the internal noise signal, the purpose of effectively eliminating noise from the audio to be played can be achieved, and the technical effect that the earpiece can overcome the influence of noise caused by low-frequency magnetic interference, idle channel noise and capacitor howling is achieved, thereby solving the problem of low-frequency magnetic interference, idle channel noise and capacitor howling interfering with the audio played by the earpiece in the related technology.
[0065] like Figure 2 As shown, according to another aspect of the embodiments of the present application, an electronic device is provided, comprising the earpiece noise reduction device as described in any of the aforementioned embodiments.
[0066] As an optional implementation, such as the aforementioned electronic device: the distance between the setting position of the internal noise monitoring microphone 1 and the earpiece of the electronic device is within a preset distance range. Specifically, since the noise signal near the earpiece will affect the audio that needs to be played by the earpiece, the distance between the setting position of the internal noise monitoring microphone 1 and the earpiece of the electronic device is within a preset distance range, and the size of the preset distance range can be set according to the distance of the actual earpiece affected. Further, the internal noise monitoring microphone is set near the target decoupling capacitor, wherein the target decoupling capacitor is a decoupling capacitor with the largest voltage ripple fluctuation within the preset distance range of the earpiece. Specifically, the PCB board can be measured for electrical signals in advance to determine the target decoupling capacitor with the largest voltage ripple fluctuation within the preset distance range of the earpiece. Then the internal noise monitoring microphone 1 is set near the target decoupling capacitor, for example, the internal noise monitoring microphone 1 is attached to the target decoupling capacitor, or the distance between the internal noise monitoring microphone 1 and the target decoupling capacitor is less than the distance upper limit (for example, 2mm, 1mm, etc.).
[0067] As an optional implementation, as in the aforementioned electronic device: the first external noise monitoring microphone is arranged at the top of the electronic device; the second external noise monitoring microphone is arranged at the bottom of the electronic device. Specifically, by setting a microphone at the top and bottom of the electronic device (i.e., the first external noise monitoring microphone and the second external noise monitoring microphone). More information about the ambient sound can be captured, including direct sound, reflected sound and reverberation. The more sound information, the more helpful it is to more accurately estimate the voice signal of the far-end speaker, thereby improving the accuracy and efficiency of the echo cancellation algorithm. In addition, when both parties can speak at the same time, the multi-microphone system can better handle the cross-interference problem. The top and bottom microphones can focus on capturing the near-end and far-end sounds respectively, so that even when two people speak at the same time, good call quality can be maintained, thereby achieving the effect of improving the duplex communication experience. At the same time, setting microphones at the top and bottom can ensure that no matter how the user holds the phone, at least one microphone can effectively capture the user's voice without being blocked by the hand. This design improves the robustness of the system and adapts to a variety of usage scenarios.
[0068] According to one aspect of an embodiment of the present application, a method for reducing earpiece noise is provided. Optionally, the resource allocation method of the embodiment of the present application can be executed by a server, or by a terminal, or by both a server and a terminal. The resource allocation method of the embodiment of the present application can also be executed by a client installed thereon when the terminal executes the resource allocation method of the embodiment of the present application.
[0069] Taking the case where the receiver noise reduction method in this embodiment is performed by a terminal as an example, Figure 3 A method for reducing earpiece noise provided in an embodiment of the present application includes the following steps:
[0070] Step S302, obtaining an internal noise signal, where the internal noise signal is noise based on the circuit board structure or generated during signal transmission;
[0071] Step S304, before the earpiece plays the audio to be played, refer to the internal noise signal and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm;
[0072] Step S306: transmitting the audio to be played after the noise is eliminated to the receiver.
[0073] The internal noise signal can be collected by the internal noise monitoring microphone 1, and the internal noise monitoring microphone 1 is a microphone arranged near the decoupling capacitor to be monitored with large voltage ripple fluctuation. The noise signal of the corresponding decoupling capacitor can be monitored by the internal noise monitoring microphone 1 and recorded as the internal noise signal.
[0074] Since the decoupling capacitor generally only emits a noise signal when the voltage ripple fluctuates greatly and generates capacitor howling, the internal noise signal is correlated with the fluctuation of the voltage ripple. In addition, since the power ripple loop will also couple with the earpiece power loop at a low frequency, low-frequency magnetic interference of the earpiece will be caused, and low-frequency magnetic interference will produce background noise such as humming, hissing or other types of noise. Furthermore, the internal noise signal includes capacitor howling, low-frequency magnetic interference of the earpiece, and idle channel noise. It can be seen that there is a correlation between the noise to be eliminated caused by capacitor howling and low-frequency magnetic interference in the audio to be played through the earpiece and the internal noise signal, and then, the noise reference loop 3 can be connected to the internal noise monitoring microphone 1 through communication, and after obtaining the internal noise signal, the internal noise signal is referenced by the noise processing module 2, and the noise elimination of the audio to be played is realized by a preset noise elimination algorithm.
[0075] As an optional implementation, as in the above method,
[0076] It also includes: monitoring external noise signals in the environment;
[0077] Before the earpiece plays the audio to be played, referring to the internal noise signal, performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm, including:
[0078] Before the earpiece plays the audio to be played, the internal noise signal and the external noise signal are referred to, and noise elimination processing is performed on the audio to be played based on a preset noise elimination algorithm.
[0079] That is to say, external sounds in the environment will also generate noise, which in turn affects the earpiece. Therefore, the external noise signal in the environment can be monitored by the external noise monitoring microphone, and after obtaining the external noise signals of at least two different environmental positions, the internal noise signal and the external noise signal are referred to, and noise elimination can be achieved for the audio to be played based on a preset noise elimination algorithm.
[0080] As an optional implementation, as in the aforementioned method, using the external noise signal and the internal noise signal as reference signals to perform noise elimination on the audio to be played includes:
[0081] The preprocessed internal noise signal and external noise signal are input into the pre-trained target AI model to infer the correlation between the internal noise signal, the external noise signal and the earpiece noise, wherein the target AI model is used to implement the noise cancellation algorithm.
[0082] Specifically, Figure 4As shown, after obtaining the internal noise signal and the external noise signal, the sound signal (i.e., the internal noise signal and the external noise signal) can be annotated first. The annotation can be done manually or using automated tools. The annotation content includes but is not limited to voice activity detection (VAD), speaker recognition, sentiment analysis, etc.
[0083] After the sound signal is labeled, a bandpass filter can be applied to remove unwanted frequency components of the sound signal, such as low-frequency noise below the human hearing range or high-frequency components above the sampling theorem limit; and some obvious noise can be initially removed, such as fixed-frequency hum or other periodic interference; the amplitude of the audio signal can be adjusted to ensure that all samples have similar energy levels for subsequent processing; and long audio streams can be split into shorter time periods for more efficient processing and analysis.
[0084] After completing the above preprocessing, the following types of feature extraction can be performed on the preprocessed sound signal: 1. Time domain features: such as zero crossing rate, energy, zero crossing rate, etc., which reflect the temporal variation characteristics of the signal; 2. Frequency domain features: such as Mel-frequency cepstral coefficients (MFCC), linear prediction coding (LPC), etc., which capture the spectral information of the signal; 3. Other advanced features: such as harmonic ratio, fundamental frequency, resonance peak, etc., which help to describe the speech signal in more detail.
[0085] After feature extraction, model training can be performed: first, you can select an algorithm suitable for noise elimination. Specifically, you can choose a suitable machine learning or deep learning algorithm according to task requirements, such as convolutional neural network (CNN), recurrent neural network (RNN), long short-term memory network (LSTM), etc.
[0086] Use the aforementioned labeled and preprocessed dataset to train the model, ensuring that the dataset is large and diverse enough to cover all possible situations. During the model training process, you can adjust the model hyperparameters through cross-validation and other methods to find the optimal configuration. And use an independent test set to evaluate the performance of the model to ensure that it has strong generalization capabilities and can perform well on unseen data. At this point, the target AI model can be obtained.
[0087] After obtaining the target AI model, real-time reasoning can be performed through the target AI model: first, the model can be deployed to the corresponding electronic device to ensure that it can run efficiently in a resource-constrained environment.
[0088] After deployment, noise cancellation can be achieved through the target AI model deployed on the electronic device: the microphone signal is used as a reference signal, and after the above processing flow, it enters the adaptive filter together with the sound signal output by the earpiece. The filter adjusts its weight according to the linear correlation between the two to optimize the filter, and simulates a signal as similar as possible to the actual interference through the optimized filter. Finally, this interference signal will be subtracted from the audio to be played, thereby achieving the purpose of eliminating plate vibration or howling.
[0089] Perform noise removal on the audio to be played according to the correlation.
[0090] After obtaining the interference signal, the analog interference signal can be subtracted from the audio to be played to obtain a digital audio signal after noise elimination. Finally, the processed digital audio signal is converted into an analog signal and output through the earpiece.
[0091] In an embodiment of the present application, the internal noise signal generated by the capacitor howling is obtained, and the internal noise signal is used as a reference signal to eliminate the noise of the audio to be played, wherein the audio to be played is the audio that needs to be sounded through the earpiece. Since the internal noise signal is generated by the power ripple fluctuation, and the power ripple loop will also be low-frequency coupled with the earpiece power loop, causing low-frequency magnetic interference of the earpiece, and then the internal noise signal is correlated with the low-frequency magnetic interference and the capacitor howling, and the low-frequency magnetic interference and the capacitor howling will both generate noise to the audio to be played, so the internal noise signal and the noise are also correlated, and then based on the internal noise signal, the purpose of effectively eliminating the noise of the audio to be played can be achieved, and the technical effect that the earpiece can overcome the influence of the noise caused by the low-frequency magnetic interference and the capacitor howling is achieved, and then the problem of low-frequency magnetic interference and capacitor howling in the related art causing interference to the audio played by the earpiece is solved.
[0092] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0093] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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 (Read-Only Memory) / RAM (Random Access Memory), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0094] According to another aspect of the embodiments of the present application, a capacitive howling elimination device for implementing the above-mentioned earpiece noise reduction method is also provided. Figure 5 is a structural block diagram of an optional earpiece noise reduction device according to an embodiment of the present application, such as Figure 5 As shown, the device may include:
[0095] The acquisition module 51 is used to acquire an internal noise signal, where the internal noise signal is noise based on the circuit board structure or generated during signal transmission.
[0096] The elimination module 52 refers to the internal noise signal before the earpiece plays the audio to be played, and performs noise elimination processing on the audio to be played based on a preset noise elimination algorithm, wherein the target AI model is used to implement the noise elimination algorithm.
[0097] The transmission module 53 is used to transmit the audio to be played after the noise is eliminated to the earpiece.
[0098] It should be noted that the acquisition module 51 in this embodiment can be used to execute the above step S302, the elimination module 52 in this embodiment can be used to execute the above step S304, and the transmission module 53 in this embodiment can be used to execute the above step S306.
[0099] The above module solves the problem of low-frequency magnetic interference and capacitor howling interfering with the audio played by the earpiece in the related art.
[0100] The device in this embodiment, in addition to the above modules, may also include a module for executing any method in any of the above embodiments of the earpiece noise reduction method.
[0101] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0102] According to another aspect of the embodiments of the present application, an electronic device for implementing the above-mentioned earpiece noise reduction method is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0103] According to another embodiment of the present application, there is also provided an electronic device, including: Figure 6 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0104] Memory 1503, used for storing computer programs;
[0105] The processor 1501 is used to implement the following steps when executing the program stored in the memory 1503:
[0106] Step S302, obtaining an internal noise signal, where the internal noise signal is noise based on a circuit board structure or generated during signal transmission;
[0107] Step S304, before the earpiece plays the audio to be played, refer to the internal noise signal and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm, wherein the target AI model is used to implement the noise elimination algorithm;
[0108] Step S306: transmitting the audio to be played after the noise is eliminated to the receiver.
[0109] Optionally, in this embodiment, the above-mentioned communication bus can be a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the above-mentioned electronic device and other devices.
[0110] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0111] As an example, the memory 1503 may include but is not limited to the acquisition module 51, elimination module 52 and transmission module 63 in the earpiece noise reduction device. In addition, it may also include but is not limited to other module units in the capacitive howling elimination device, which will not be repeated in this example.
[0112] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0113] An embodiment of the present application further provides a computer-readable storage medium, the storage medium including a stored program, wherein the method steps of the above method embodiment are executed when the program is run.
[0114] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.
[0115] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0116] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0117] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0118] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0120] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0121] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A receiver noise reduction device, characterized in that: include: An internal noise monitoring microphone, used to monitor an internal noise signal, wherein the internal noise signal is noise based on a circuit board structure or generated during signal transmission; A noise processing module, used for performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm with reference to the internal noise signal before the earpiece plays the audio to be played; The noise reference loop is used to obtain the internal noise signal from the internal noise monitoring microphone, transmit the internal noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece.
2. The earpiece noise reduction device according to claim 1, characterized in that: Also includes: External noise monitoring microphone, used to monitor external noise signals in the environment; The noise processing module is used to refer to the internal noise signal and the external noise signal before the earpiece plays the audio to be played, and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm; The noise reference loop is used to obtain the internal noise signal from the internal noise monitoring microphone and the external noise signal from the external noise monitoring microphone, transmit the internal noise signal and the external noise signal to the noise processing module, and transmit the audio to be played after the noise is eliminated to the earpiece.
3. The earpiece noise reduction device according to claim 2, characterized in that: The external noise monitoring microphone includes: a first external noise monitoring microphone and a second external noise monitoring microphone; The first external noise monitoring microphone and the second external noise monitoring microphone are used to monitor external noise signals in at least two different environmental locations respectively.
4. The earpiece noise reduction device according to claim 2, characterized in that: The noise processing module comprises: A real-time inference unit, configured to input the internal noise signal and the external noise signal into a pre-trained target AI model, and infer the correlation between the internal noise signal and the external noise signal and the earpiece noise, wherein the target AI model is used to implement the noise elimination algorithm; A noise elimination unit is used to eliminate noise from the audio to be played according to the correlation.
5. The earpiece noise reduction device according to claim 1, characterized in that: The internal noise signal includes: capacitor howling, low-frequency magnetic interference of the earpiece and idle channel noise.
6. An electronic device, characterized in that: The invention comprises the earpiece noise reduction device according to any one of claims 1 to 5.
7. The electronic device according to claim 6, characterized in that: The distance between the setting position of the internal noise monitoring microphone and the earpiece of the electronic device is within a preset distance range.
8. The electronic device according to claim 7, characterized in that: The internal noise monitoring microphone is disposed near a target decoupling capacitor, wherein the target decoupling capacitor is a decoupling capacitor with the largest voltage ripple fluctuation within a preset distance range of the earpiece.
9. The electronic device according to claim 6, characterized in that: The first external noise monitoring microphone is arranged on the top of the electronic device; The second external noise monitoring microphone is arranged at the bottom of the electronic device.
10. A method for reducing earpiece noise, characterized in that: include: Acquire an internal noise signal, where the internal noise signal is noise based on a circuit board structure or generated during signal transmission; Before the earpiece plays the audio to be played, refer to the internal noise signal and perform noise elimination processing on the audio to be played based on a preset noise elimination algorithm; The audio to be played after the noise is eliminated is transmitted to the earpiece.
11. The method according to claim 10, characterized in that It also includes: monitoring external noise signals in the environment; Before the earpiece plays the audio to be played, referring to the internal noise signal, and performing noise elimination processing on the audio to be played based on a preset noise elimination algorithm, comprises: Before the earpiece plays the audio to be played, the internal noise signal and the external noise signal are referred to, and noise elimination processing is performed on the audio to be played based on a preset noise elimination algorithm.
12. The method according to claim 11, characterized in that The method of using the external noise signal and the internal noise signal as reference signals to perform noise elimination on the audio to be played includes: Inputting the preprocessed internal noise signal and the external noise signal into a pre-trained target AI model, and inferring the correlation between the internal noise signal and the external noise signal and the earpiece noise, wherein the target AI model is used to implement the noise elimination algorithm; Noise elimination is performed on the audio to be played according to the correlation.
13. The method according to claim 10, characterized in that The internal noise signal includes: capacitor howling 、 Low RF interference and idle channel noise from the handset.