Noise reduction method and device, electronic equipment and noise reduction system

文档序号:1044748 发布日期:2020-10-09 浏览:10次 中文

阅读说明:本技术 一种降噪方法、装置、电子设备和降噪系统 (Noise reduction method and device, electronic equipment and noise reduction system ) 是由 王忠双 张影 于 2020-07-06 设计创作,主要内容包括:本申请提供一种降噪方法、装置、电子设备和降噪系统,该方法包括:获取环境音频信号;对环境音频信号进行反相处理,得到初始反相环境音频信号;基于反相音频增益对初始反相环境音频信号进行加权处理,得到反相环境音频信号;其中,反相音频增益是基于系统参数从预设反相音频增益信息中得到的;将反相环境音频信号发送至功放驱动,以便喇叭输出反相环境音频信号。本申请环境音频信号在进行反相处理后,对得到的初始反相环境音频信号基于系统参数对应的反相音频增益进行加权处理,消除了不同的设备的一致性差异,使校正后的设备性能一致,提高设备的降噪效果,不仅给使用者带来良好的使用环境,还降低了使用者通话时对于周边人员干扰。(The application provides a noise reduction method, a noise reduction device, electronic equipment and a noise reduction system, wherein the method comprises the following steps: acquiring an environmental audio signal; carrying out phase reversal processing on the environment audio signal to obtain an initial phase reversal environment audio signal; weighting the initial inverse environment audio signal based on the inverse audio gain to obtain an inverse environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on the system parameters; and sending the reverse-phase environment audio signal to a power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal. According to the method and the device, after the environment audio signals are subjected to phase reversal processing, weighting processing is carried out on the obtained initial phase reversal environment audio signals based on the phase reversal audio gains corresponding to the system parameters, the consistency difference of different devices is eliminated, the performance of the corrected devices is consistent, the noise reduction effect of the devices is improved, a good use environment is brought to a user, and interference to surrounding personnel during conversation of the user is reduced.)

1. A method of noise reduction, comprising:

acquiring an environmental audio signal;

carrying out phase reversal processing on the environment audio signal to obtain an initial phase reversal environment audio signal;

weighting the initial reversed-phase environment audio signal based on the reversed-phase audio gain to obtain a reversed-phase environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on system parameters;

and sending the reverse-phase environment audio signal to a power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal.

2. The noise reduction method according to claim 1, further comprising:

receiving a noise reduction instruction;

and executing the step of acquiring the environmental audio signal based on the noise reduction instruction.

3. The method of reducing noise according to claim 2, wherein after receiving the noise reduction instruction, the method further comprises:

and sending a prompting instruction to a prompting device so as to prompt the user.

4. The noise reduction method according to claim 1, further comprising:

and sending a pairing instruction to a target earphone so as to realize pairing connection with the target earphone.

5. The noise reduction method according to claim 4, wherein after sending the inverse ambient audio signal to a power amplifier driver so that a speaker outputs the inverse ambient audio signal, the method further comprises:

receiving an adjusting instruction of the target earphone, wherein the adjusting instruction comprises distance information;

determining the signal amplitude corresponding to the distance information according to the adjusting instruction;

and determining a new reverse-phase environment audio signal according to the signal amplitude, and sending the new reverse-phase environment audio signal to the power amplifier driver.

6. The noise reduction method according to claim 5, wherein the determining the signal amplitude corresponding to the distance information according to the adjustment instruction comprises:

and determining a distance range corresponding to the distance information, and determining the corresponding signal amplitude based on the distance range.

7. The method of reducing noise according to claim 6, wherein the determining a distance range corresponding to the distance information and determining the corresponding signal amplitude based on the distance range comprises:

judging whether the distance information is greater than a first preset distance according to the adjusting instruction;

if the signal amplitude is larger than the first preset distance, determining the signal amplitude as a first signal amplitude;

if the distance information is not greater than the first preset distance, judging whether the distance information is smaller than a second preset threshold value;

if the signal amplitude is smaller than the second preset threshold, determining that the signal amplitude is a second signal amplitude;

and if the signal amplitude is not smaller than the second preset threshold, determining that the signal amplitude is a third signal amplitude.

8. A noise reducing device, comprising:

the environment audio signal acquisition module is used for acquiring an environment audio signal;

the inverse-phase environment audio signal obtaining module is used for carrying out inverse-phase processing on the environment audio signal to obtain an initial inverse-phase environment audio signal;

the weighting processing module is used for weighting the initial reversed-phase environment audio signal based on the reversed-phase audio gain to obtain a reversed-phase environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on system parameters of the loudspeaker;

and the reverse-phase environment audio signal sending module is used for sending the reverse-phase environment audio signal to the power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal.

9. An electronic device, comprising:

a memory for storing a computer program;

a processor for implementing the steps of the noise reduction method according to any of claims 1 to 7 when executing the computer program.

10. A noise reduction system, comprising:

the electronic device of claim 9, wherein the electronic device is a battery pack;

a target earphone connected with the battery box.

Technical Field

The present application relates to the field of noise reduction technologies, and in particular, to a noise reduction method, a noise reduction apparatus, an electronic device, and a noise reduction system.

Background

It is now difficult to have a quiet office or learning environment that can interfere with the user's communication in the presence of noise in the surrounding environment. In order to actively cancel noise, the related art employs active noise cancellation for noise reduction. The principle is as follows: all heard sounds are sound waves, all having a certain spectral composition. If a sound wave can be found, the frequency spectrum of which is equal to the amplitude of the noise to be eliminated and the phase of which is just opposite, the noise can be completely cancelled out by the superposition of the two. The key is how to get the sound that cancels the noise. The method actually adopted is as follows: starting from the noise, the microphone is used for monitoring the noise, and then a reverse sound wave is generated through an electronic circuit and played through a loudspeaker. However, the difference of performance parameters of different devices may cause the difference of noise reduction, and the noise reduction effect is poor.

Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.

Disclosure of Invention

The application aims to provide a noise reduction method, a noise reduction device, an electronic device and a noise reduction system, which can improve the noise reduction effect. The specific scheme is as follows:

the application provides a noise reduction method, which comprises the following steps:

acquiring an environmental audio signal;

carrying out phase reversal processing on the environment audio signal to obtain an initial phase reversal environment audio signal;

weighting the initial reversed-phase environment audio signal based on the reversed-phase audio gain to obtain a reversed-phase environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on system parameters;

and sending the reverse-phase environment audio signal to a power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal.

Preferably, the method further comprises the following steps:

receiving a noise reduction instruction;

and executing the step of acquiring the environmental audio signal based on the noise reduction instruction.

Preferably, after receiving the noise reduction instruction, the method further includes:

and sending a prompting instruction to a prompting device so as to prompt the user.

Preferably, the method further comprises the following steps:

and sending a pairing instruction to a target earphone so as to realize pairing connection with the target earphone.

Preferably, the sending the reverse-phase environment audio signal to a power amplifier driver so that a speaker outputs the reverse-phase environment audio signal further includes:

receiving an adjusting instruction of the target earphone, wherein the adjusting instruction comprises distance information;

determining the signal amplitude corresponding to the distance information according to the adjusting instruction;

and determining a new reverse-phase environment audio signal according to the signal amplitude, and sending the new reverse-phase environment audio signal to the power amplifier driver.

Preferably, the determining the signal amplitude corresponding to the distance information according to the adjustment instruction includes:

and determining a distance range corresponding to the distance information, and determining the corresponding signal amplitude based on the distance range.

Preferably, the determining a distance range corresponding to the distance information and determining the corresponding signal amplitude based on the distance range includes:

judging whether the distance information is greater than a first preset distance according to the adjusting instruction;

if the signal amplitude is larger than the first preset distance, determining the signal amplitude as a first signal amplitude;

if the distance information is not greater than the first preset distance, judging whether the distance information is smaller than a second preset threshold value;

if the signal amplitude is smaller than the second preset threshold, determining that the signal amplitude is a second signal amplitude;

and if the signal amplitude is not smaller than the second preset threshold, determining that the signal amplitude is a third signal amplitude.

The application provides a noise reduction device, includes:

the environment audio signal acquisition module is used for acquiring an environment audio signal;

the inverse-phase environment audio signal obtaining module is used for carrying out inverse-phase processing on the environment audio signal to obtain an initial inverse-phase environment audio signal;

the weighting processing module is used for weighting the initial reversed-phase environment audio signal based on the reversed-phase audio gain to obtain a reversed-phase environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on system parameters;

and the reverse-phase environment audio signal sending module is used for sending the reverse-phase environment audio signal to the power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal.

The application provides an electronic device, including:

a memory for storing a computer program;

a processor for implementing the steps of the noise reduction method as described above when executing the computer program.

The application provides a noise reduction system, including:

according to the electronic equipment, the electronic equipment is the battery box;

a target earphone connected with the battery box.

The application provides a noise reduction method, comprising: acquiring an environmental audio signal; carrying out phase reversal processing on the environment audio signal to obtain an initial phase reversal environment audio signal; weighting the initial inverse environment audio signal based on the inverse audio gain to obtain an inverse environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on the system parameters; and sending the reverse-phase environment audio signal to a power amplifier drive so that the loudspeaker outputs the reverse-phase environment audio signal.

Therefore, after the environment audio signals are subjected to phase reversal processing, weighting processing is carried out on the obtained initial phase reversal environment audio signals based on the phase reversal audio gain corresponding to the system parameters, consistency differences of different devices are eliminated, the performance of the corrected devices is consistent, the noise reduction effect of the devices is improved, a good use environment is brought to a user, and interference to surrounding personnel during conversation of the user is reduced.

This application still provides a noise reduction device, electronic equipment and noise reduction system simultaneously, all has above-mentioned beneficial effect, no longer gives unnecessary details here.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

Fig. 1 is a flowchart of a noise reduction method according to an embodiment of the present application;

fig. 2 is a schematic diagram of an ambient audio signal 1 according to an embodiment of the present disclosure;

fig. 3 is a schematic diagram of an inverse ambient audio signal 2 according to an embodiment of the present application;

fig. 4 is a schematic diagram of a noise-reduced ambient sound 3 according to an embodiment of the present disclosure;

fig. 5 is a schematic structural diagram of a noise reduction apparatus according to an embodiment of the present disclosure;

fig. 6 is a schematic structural diagram of a battery pack according to an embodiment of the present disclosure.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

In order to actively cancel noise, the related art employs active noise cancellation for noise reduction. The principle is as follows: all heard sounds are sound waves, all having a certain spectral composition. If a sound wave can be found, the frequency spectrum of which is equal to the amplitude of the noise to be eliminated and the phase of which is just opposite, the noise can be completely cancelled out by the superposition of the two. The key is how to get the sound that cancels the noise. The method actually adopted is as follows: starting from the noise, the microphone is used for monitoring the noise, and then a reverse sound wave is generated through an electronic circuit and played through a loudspeaker. However, the difference of performance parameters of different devices may cause the difference of noise reduction, and the noise reduction effect is poor.

Based on the above technical problem, the present embodiment provides a noise reduction method, and please refer to fig. 1 specifically, where fig. 1 is a flowchart of a noise reduction method provided in the present embodiment, and the method specifically includes:

s101, acquiring an environmental audio signal;

the noise reduction method in this embodiment is applied to a processor, and a specific environmental audio signal is an audio signal corresponding to environmental sound. The microphone collects an environment audio signal and sends the environment audio signal to the processor, so that the processor can acquire the environment audio signal.

Further, in order to reduce power consumption, noise reduction processing is performed only when needed by a user, and specifically, the noise reduction method further includes: receiving a noise reduction instruction; and executing the step of acquiring the environmental audio signal based on the noise reduction instruction.

The method for receiving the noise reduction command may be that after the key is triggered, the noise reduction command is received; or receiving a noise reduction instruction after the touch key is touched on the touch screen device; or after detecting that the user voice contains the keyword, receiving a noise reduction instruction; of course, other forms may exist, and the user may customize the setting as long as the purpose of the present embodiment can be achieved. In an implementation, when the noise reduction instruction is received, then the acquisition instruction is sent to the microphone according to the noise reduction instruction, so that the microphone acquires the ambient audio signal, and receives the ambient audio signal sent by the microphone. In another implementation, the microphone collects the environmental audio signal in real time, and when the collection instruction is received, the current environmental audio signal is sent, and the processor acquires the environmental audio signal. Therefore, in the embodiment, only after the noise reduction instruction is received, the environmental audio signal is acquired, and the noise reduction processing is performed, so that the energy consumption is saved.

Further, after receiving the noise reduction instruction, in order to prompt the user that the noise reduction processing has been started, the method further includes: and sending a prompting instruction to a prompting device so as to prompt the user.

Specifically, the prompt instruction is sent to the prompt device, specifically, a lighting instruction is sent to the indicator lamp so that the indicator lamp is conveniently turned on; the method can also be used for sending a playing instruction to the loudspeaker so that the loudspeaker can play preset sound; it is also possible to send a display instruction to the display device so as to display the preset content on the display device. Therefore, in this embodiment, the user is prompted by sending a prompt instruction to the prompting device, and the noise reduction operation has already started, so that the user can determine whether the noise reduction processing is successful according to the environment sound after noise reduction, and further determine whether to normally start noise reduction.

S102, carrying out phase reversal processing on the environment audio signal to obtain an initial phase reversal environment audio signal;

in an implementable embodiment, inverting the ambient audio signal comprises: and performing phase inversion processing on the environmental audio signals of all frequency bands.

In another implementable embodiment, inverting the ambient audio signal includes: and carrying out phase inversion processing on the environment audio signal of the sensitive frequency band of the human ear to obtain an initial phase inversion environment audio signal. Specifically, the environmental audio signal of the frequency band sensitive to the human ear is subjected to phase inversion processing, and the environmental audio signal of the frequency band insensitive to the human ear is not subjected to phase inversion processing, so that an initial phase inversion environmental audio signal is obtained. The human ear insensitive frequency band comprises 20 Hz-22 KHz including endpoint values, the human ear insensitive frequency band is less than 20Hz or more than 22KHz, and the complexity and the cost of the system can be reduced on the premise of meeting the noise reduction requirement of a user through the processing.

S103, weighting the initial phase reversal environment audio signal based on the phase reversal audio gain to obtain a phase reversal environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on the system parameters;

the present embodiment is not limited to the phase inversion processing, and the user can customize the setting as long as the purpose of the present embodiment can be achieved. It will be appreciated that the ambient audio signal and the inverted ambient audio signal are inverted and may cancel each other. Referring to fig. 2, fig. 2 is a schematic diagram of an environmental audio signal 1 according to an embodiment of the present disclosure; referring to fig. 3, fig. 3 is a schematic diagram of an inverse ambient audio signal 2 according to an embodiment of the present disclosure; referring to fig. 4, fig. 4 is a schematic diagram of a noise-reduced ambient sound 3 according to an embodiment of the present application, wherein the noise-reduced ambient sound 3 is obtained according to an ambient audio signal 1 and an inverse ambient audio signal 2.

In order to eliminate the consistency difference caused by the performance parameters of the product monomers, in this embodiment, the inverse weighting processing is performed on the environment audio signal to obtain an inverse environment audio signal. The system parameters include, but are not limited to, microphone parameters, speaker parameters (speaker unit performance), and assembly parameters. It can be understood that, in this embodiment, the inverse processing is performed first, and then the weighting processing is performed based on the inverse audio gain, where the weighting processing is performed to eliminate the performance difference of the microphone and the speaker unit and the product consistency difference caused by assembly, and the purpose of consistent product performance is achieved through production line test and correction.

Based on the principle of weighting processing of the reverse phase audio gain, in an audio shielding box, the test loudspeaker sends out audio with different frequencies (such as 20Hz, 1KHz and 10KHz) of 0dB, specifically, the 20 Hz-22 KHz continuous sine wave audio can be played in a frequency sweeping mode, so that the environment sound corresponding to the environment audio signal detected by the detection loudspeaker (simulating human ear) in the shielding box with different frequency points can be tested, if the amplitude of the normal phase audio signal detected by the simulating human ear is too large, the reverse phase audio gain (weight) of the product is increased to reduce the environment sound to be within the specification due to the too small amplitude of the environment audio signal sent by the product, and if the amplitude of the reverse phase audio signal detected by the simulating human ear is too large, the reverse phase audio gain of the product is reduced due to the too large amplitude of the reverse phase audio signal sent by the product, so that the. The corrected weight value is written in a memory to obtain preset inverse audio gain information so as to achieve the aim of consistent performance of different products.

After the phase inversion processing is carried out, weighting processing is carried out on the obtained initial phase inversion environment audio signal based on the phase inversion audio gain corresponding to the system parameters, the consistency difference is eliminated, the performance of the corrected equipment is consistent, and the noise reduction effect is improved. Further, therefore, there may be multiple inverse audio gains within the system, and the inverse audio gain may be obtained by: and reading system parameters, and matching the preset inverse audio gain information based on the system parameters to obtain the inverse audio gain.

And S104, sending the reversed phase environment audio signal to a power amplifier drive so that the loudspeaker outputs the reversed phase environment audio signal.

And sending the anti-phase environment audio signal to a power amplifier driver so that the power amplifier driver drives a loudspeaker to output the anti-phase environment audio signal to play the anti-phase environment sound, wherein the anti-phase environment sound and the environment sound are mutually offset, and the signal amplitude of the obtained noise reduction environment sound is basically 0.

Further, when using the TWS headset, the ambient noise may still affect the user if the user does not play music, and the music playing may affect the concentration of the user. Meanwhile, if the user uses the TWS headset for conversation, in an open environment such as an office, if the speaking voice is too small, the opposite party is easy to hear, the confidentiality of the voice big conversation content is poor, and the surrounding personnel are easy to interfere, in order to solve the above technical problems, in the noise reduction method provided by the present application, the method further includes: and sending a pairing instruction to the target earphone so as to realize pairing connection with the target earphone.

Wherein the target headset is a TWS headset. When the TWS earphone is matched with a TWS earphone instrument to reduce noise, the TWS earphone is connected with a host and a processor (specifically a Bluetooth chip module) of a battery box through the Bluetooth chip module. The embodiment does not limit the pairing connection mode, and the user can set the pairing connection mode in a user-defined mode, which can be a conventional bluetooth connection mode or a low-power-consumption bluetooth connection mode. Therefore, the embodiment not only brings a good use environment for the user, but also reduces the interference to peripheral personnel when the user calls and provides call privacy, and the voice of the user speaking can be collected by the battery box to reduce noise, so that the interference to the peripheral personnel when the user calls can be reduced; meanwhile, the user speaking is not easy to be heard by surrounding people, so that the communication privacy is good.

Further, send the reverse phase environment audio signal to the power amplifier drive to after loudspeaker output reverse phase environment audio signal, still include:

receiving an adjusting instruction of a target earphone, wherein the adjusting instruction comprises distance information;

determining the signal amplitude corresponding to the distance information according to the adjusting instruction;

and determining a new reverse-phase environment audio signal according to the signal amplitude, and sending the new reverse-phase environment audio signal to a power amplifier driver.

Specifically, the receiving of the adjustment instruction may be an instruction sent when the target earphone determines that the distance is greater than a preset distance or the distance is less than the preset distance, where the adjustment instruction includes distance information, and the distance information is the distance between the target earphone and the battery box. Determining the signal amplitude corresponding to the distance information according to the adjusting instruction, wherein the corresponding signal amplitude is a determined value when the distance is within a certain range, and the method is simple; the signal amplitude can also be determined in real time according to the distance, and the method has high accuracy in outputting the inverted environment audio signal. In brief, since the TWS headset itself has a noise reduction function, when the target headset is far away from the battery box, and the target headset detects that the ambient noise is increased, an adjustment instruction is sent to the battery box to increase the signal amplitude of the battery box; when the target earphone approaches the battery box, the target earphone detects the interference of the anti-phase environmental audio signal, and then sends an adjusting instruction to the battery box so that the signal amplitude of the battery box is reduced.

In an implementable embodiment, determining the signal amplitude corresponding to the distance information from the adjustment instruction comprises: and determining a weight value by using an algorithm according to each distance information, and determining the signal amplitude of the displacement according to the weight value.

In an implementable embodiment, determining the signal amplitude corresponding to the distance information from the adjustment instruction comprises: and determining a distance range corresponding to the distance information, and determining a corresponding signal amplitude based on the distance range. For example, the distance information a corresponds to a distance range a, the distance range a corresponds to a weight a, and a signal amplitude a is obtained based on the weight a, where the signal amplitude a is a product of the initial inverse environment audio signal strength and the weight a. In the embodiment, the number of the distance ranges is not set, the number of the distance ranges in the system can be 2, and a threshold value is specifically set; may be 3, two thresholds are set; the number of the threshold values can be 4, three threshold values are set, and the user can customize the setting as long as the purpose of the embodiment can be realized.

Further, for efficiently determining a new inverse ambient audio signal, specifically, determining a signal amplitude corresponding to the distance information according to the adjustment instruction, includes: judging whether the distance information is greater than a first preset distance according to the adjusting instruction; if the signal amplitude is larger than the first preset distance, determining the signal amplitude as a first signal amplitude; if the distance information is not greater than the first preset distance, judging whether the distance information is smaller than a second preset threshold value; if the signal amplitude is smaller than a second preset threshold, determining the signal amplitude as a second signal amplitude; and if the signal amplitude is not less than the second preset threshold, determining the signal amplitude as a third signal amplitude.

It can be understood that since the connection between the battery pack and the target earphone is a bluetooth connection, the distance between the two is short while securing the connection therebetween. Therefore, in the embodiment, the signal amplitude is determined by the distance, the signal amplitudes of various gradients are preset in the system, and the corresponding signal amplitudes are determined by judging the distance, so that the signal amplitude is determined more quickly, and the efficiency of determining the new anti-phase environment audio signal is improved.

Further, determining the signal amplitude as the first signal amplitude comprises: determining the amplitude of the inverted ambient audio signal, determining a corresponding weight according to the amplitude, and determining the amplitude of the first signal based on the weight.

Based on the technical scheme, after the environment audio signal is subjected to the phase reversal processing, the obtained initial phase reversal environment audio signal is subjected to weighting processing based on the phase reversal audio gain corresponding to the system parameters, the consistency difference of different devices is eliminated, the performance of the corrected devices is consistent, the noise reduction effect of the devices is improved, a good use environment is brought to a user, and the interference of the user on peripheral personnel during conversation is reduced.

Based on any of the foregoing embodiments, the present embodiment provides a specific noise reduction application scenario, including:

the noise reduction of the electronic equipment (battery box) is independently used, and the method comprises the following steps:

a1, pressing a mode button on the battery box by a user to enable a Bluetooth chip module of the battery box to receive a noise reduction command and control the battery box to enter a first noise reduction mode (an independent noise reduction mode);

b1, recognizing the noise reduction command by the Bluetooth chip module on the battery box, and controlling to light the corresponding single noise reduction mode indicating LED lamp to prompt the mode state of the user;

c1, collecting environmental audio signals by a microphone on the battery box and transmitting the environmental audio signals to the Bluetooth chip module;

d1, carrying out inverse weighting and other processing on the environment audio signal by the algorithm of a digital audio processing module and a storage unit on the Bluetooth chip module, producing an inverse environment audio signal and transmitting the inverse environment audio signal to a power amplifier driver;

e1, the power amplifier drives the loudspeaker to output an inverted environment audio signal;

f1, the opposite phase sound corresponding to the opposite phase environment audio signal is cancelled with the environment sound, so as to achieve the purpose of noise reduction.

The noise reduction is carried out by matching with a noise reduction system, and the method comprises the following steps:

a2, pressing a mode button on the battery box by a user to enable a Bluetooth chip module of the battery box to receive a noise reduction instruction and control the battery box to enter a noise reduction mode II (a cooperative noise reduction mode);

b2, the bluetooth chip module on the battery case discerns the instruction of making an uproar of falling, and the control is lighted and is corresponded mode indication LED lamp of making an uproar alone, suggestion user mode state. Meanwhile, the battery box sends a pairing instruction to realize pairing with the tws earphone.

C2, collecting environmental audio signals by a microphone on the battery box and transmitting the environmental audio signals to the Bluetooth chip module;

d2, carrying out inverse weighting and other processing on the environment audio signal by the algorithm of a digital audio processing module and a storage unit on the Bluetooth chip module, producing an inverse environment audio signal and transmitting the inverse environment audio signal to a power amplifier driver;

e2, the power amplifier drives the loudspeaker to output an inverted environment audio signal;

f2, the opposite phase sound corresponding to the opposite phase environment audio signal is cancelled with the environment sound, so as to achieve the purpose of noise reduction.

G2, when the TWS earphone of the target earphone is far away from the battery box, the TWS earphone, namely the noise reduction system, detects the increase of the ambient noise, and sends an adjusting instruction to the Bluetooth chip module of the battery box, and the Bluetooth chip module increases the noise reduction audio amplitude.

F2, when the TWS earphone of the target earphone is close to the battery box, the TWS earphone, namely the noise reduction system, detects noise reduction audio interference, and sends an instruction to the Bluetooth chip module of the battery box, and the Bluetooth chip module reduces the noise reduction audio amplitude.

Referring to fig. 5, fig. 5 is a schematic structural diagram of a noise reduction apparatus provided in an embodiment of the present application, where the noise reduction apparatus described below and the noise reduction method described above are referred to in correspondence, and the noise reduction apparatus mainly includes:

an environment audio signal obtaining module 201, configured to obtain an environment audio signal;

an inverse-phase environment audio signal obtaining module 202, configured to perform inverse-phase processing on an environment audio signal to obtain an initial inverse-phase environment audio signal;

the weighting processing module 203 is configured to perform weighting processing on the initial inverse environment audio signal based on the inverse audio gain to obtain an inverse environment audio signal; wherein the inverse audio gain is derived from preset inverse audio gain information based on the system parameters;

and the inverse environment audio signal sending module 204 is configured to send the inverse environment audio signal to the power amplifier driver, so that the loudspeaker outputs the inverse environment audio signal.

Preferably, the method further comprises the following steps:

the noise reduction instruction receiving module is used for receiving a noise reduction instruction;

and the execution module is used for executing the step of acquiring the environmental audio signal based on the noise reduction instruction.

Preferably, the method further comprises the following steps:

and the lighting instruction sending module is used for sending a prompt instruction to the prompt equipment so as to prompt a user.

Preferably, the method further comprises the following steps:

and the pairing instruction sending module is used for sending a pairing instruction to the target earphone so as to realize pairing connection with the target earphone.

Preferably, the method further comprises the following steps:

the adjusting instruction receiving module is used for receiving an adjusting instruction of the target earphone, and the adjusting instruction comprises distance information;

the signal amplitude determining module is used for determining the signal amplitude corresponding to the distance information according to the adjusting instruction;

and the signal sending module is used for determining a new reverse-phase environment audio signal according to the signal amplitude and sending the new reverse-phase environment audio signal to the power amplifier driver.

Preferably, the signal amplitude determination module includes:

and the signal amplitude determining unit is used for determining a distance range corresponding to the distance information and determining corresponding signal amplitude based on the distance range.

Preferably, the signal amplitude determination unit includes:

the first judging subunit is used for judging whether the distance information is greater than a first preset distance according to the adjusting instruction;

the first signal amplitude determining subunit is used for determining the signal amplitude as the first signal amplitude if the first signal amplitude is greater than the first preset distance;

the second judgment subunit is used for judging whether the distance information is smaller than a second preset threshold value if the distance information is not larger than the first preset distance;

the second signal amplitude determining subunit is used for determining the signal amplitude as the second signal amplitude if the second signal amplitude is smaller than a second preset threshold;

and the third signal amplitude determining subunit is used for determining the signal amplitude as the third signal amplitude if the signal amplitude is not smaller than the second preset threshold.

Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.

In the following, an electronic device provided by an embodiment of the present application is introduced, and the electronic device described below and the noise reduction method described above may be referred to correspondingly.

The present embodiment provides an electronic device, including:

a memory for storing a computer program;

a processor for implementing the steps of the noise reduction method as described above when executing the computer program.

The electronic device can be a separate device or a battery box matched with the earphone.

Since the embodiment of the electronic device portion and the embodiment of the noise reduction method portion correspond to each other, please refer to the description of the embodiment of the noise reduction method portion for the embodiment of the electronic device portion, and details are not repeated here.

In the following, a noise reduction system provided by an embodiment of the present application is introduced, and the noise reduction system described below and the method described above may be referred to correspondingly.

The present embodiment provides a noise reduction system, including:

according to the electronic equipment, the electronic equipment is the battery box;

a target earphone connected with the battery box.

In an implementation manner, please refer to fig. 6, fig. 6 is a schematic structural diagram of a battery box according to an embodiment of the present application, where the battery box specifically includes: bluetooth chip module 601, power amplifier driver 602, loudspeaker 603, microphone 604, pilot lamp 605, button 606, other functional module 607, lithium battery module 608, power management module 609, connector 610, contact 611.

The battery box can use the connector (such as Micro USB, Type-C etc.) to charge, also can be wireless charging mode or the mode that the base that charges passes through the contact connection. The MIC number and the noise reduction loudspeaker number on the battery box are not limited.

Since the embodiment of the noise reduction system portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the noise reduction system portion, which is not repeated here.

The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

The noise reduction method, the noise reduction device, the electronic device and the noise reduction system provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种光声信号降噪系统及其降噪方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!