[go: up one dir, main page]

CN110797000A - Active noise reduction method and device, intelligent sound box and storage medium - Google Patents

Active noise reduction method and device, intelligent sound box and storage medium Download PDF

Info

Publication number
CN110797000A
CN110797000A CN201911031180.9A CN201911031180A CN110797000A CN 110797000 A CN110797000 A CN 110797000A CN 201911031180 A CN201911031180 A CN 201911031180A CN 110797000 A CN110797000 A CN 110797000A
Authority
CN
China
Prior art keywords
noise signal
noise
signal
phase
ambient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911031180.9A
Other languages
Chinese (zh)
Inventor
凌华东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xingluo Intelligent Technology Co Ltd
Original Assignee
Xingluo Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xingluo Intelligent Technology Co Ltd filed Critical Xingluo Intelligent Technology Co Ltd
Priority to CN201911031180.9A priority Critical patent/CN110797000A/en
Publication of CN110797000A publication Critical patent/CN110797000A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1781Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1785Methods, e.g. algorithms; Devices
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1787General system configurations

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The invention discloses an active noise reduction method and device, an intelligent sound box and a storage medium. The invention picks up the environmental noise signal of the current noise environment; generating a first anti-noise signal neutralizing the environmental noise signal according to the environmental noise signal, and playing the first anti-noise signal; picking up a first comprehensive sound signal containing a first anti-noise signal and an environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value or not, and if so, taking the first anti-noise signal as the current anti-noise signal; if not, multiple times of adjustment are carried out based on the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively. The anti-noise signal is played to neutralize the noise signal of the current environment, the anti-noise signal is generated according to the current noise environment, and the voice signal of the user is not attenuated, so that the noise signal can be better eliminated under different noise environments.

Description

Active noise reduction method and device, intelligent sound box and storage medium
Technical Field
The invention relates to the technical field of voice processing, in particular to an active noise reduction method and device, an intelligent sound box and a storage medium.
Background
With the development of science and technology, a lot of voice interaction devices with voice recognition functions, such as intelligent sound boxes, robots and the like, appear, and the voice recognition technology is also well developed. In a quiet environment, when a user performs voice interaction with a voice interaction device, the voice interaction device can accurately recognize voice input by the user and output accurate voice response, however, in a noisy environment, noisy noise causes interference to the voice input by the user, so that the voice input by the user is effectively recognized, and even the voice interaction device cannot recognize the voice input by the user.
The existing voice interaction device generally eliminates the influence of environmental noise on voice recognition by recognizing a noise signal in a picked-up sound signal and performing attenuation processing on the noise signal to obtain a voice signal of a user in the sound signal. However, the attenuation processing algorithm is usually a fixed algorithm, and for different noise environments, the noise signal cannot be completely eliminated, and only a part of the noise signal can be eliminated. And when the attenuation intensity is stronger, the voice signal of the user is also attenuated, and the recognition of the voice of the user is influenced.
Disclosure of Invention
The invention mainly provides an active noise reduction method, which can solve the problems that the existing voice interaction equipment cannot completely eliminate noise signals in different noise environments because the algorithm for carrying out attenuation processing on the noise signals in the picked sound signals is a fixed algorithm, and the voice recognition is influenced because the voice signals of a user are attenuated when the attenuation strength is strong.
In order to solve the technical problems, the invention adopts a technical scheme that: an active noise reduction method is provided, and is applied to a voice interaction device, and the active noise reduction method comprises the following steps:
picking up an ambient noise signal of a current noise environment;
generating a first anti-noise signal that neutralizes the ambient noise signal from the ambient noise signal and playing the first anti-noise signal;
picking up a first comprehensive sound signal containing the first anti-noise signal and the environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value, and if so, taking the first anti-noise signal as the current anti-noise signal;
if not, multiple times of adjustment are carried out on the basis of the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
Preferably, the step of generating a first anti-noise signal from the ambient noise signal that neutralizes the ambient noise signal specifically comprises:
predetermining a phase relationship and an amplitude relationship between the anti-noise signal and the noise signal;
acquiring the phase and amplitude of the environmental noise signal;
determining a phase and a magnitude of the first anti-noise signal based on the phase relationship, the magnitude relationship, and the phase and magnitude of the ambient noise signal to generate a first anti-noise signal that neutralizes the ambient noise signal.
Preferably, the step of predetermining the magnitude relationship between the anti-noise signal and the noise signal specifically comprises:
picking up a first test sound signal with a preset volume played at a preset distance, and acquiring a first amplitude of the first test sound signal;
playing a second test sound signal to enable the sound pressure level of the second test sound signal transmitted to the microphone of the voice interaction device to be a preset sound pressure level, and acquiring a second amplitude value of the second test sound signal;
calculating a first ratio of the second amplitude to the first amplitude, the first ratio being a ratio of the anti-noise signal amplitude to the noise signal amplitude.
Preferably, the step of predetermining the phase relationship between the anti-noise signal and the noise signal specifically comprises:
acquiring a first phase of the first test sound signal;
adjusting a second phase of the second test sound signal and generating a third test sound signal, playing the third test sound signal so that a fourth phase of a fourth test sound signal picked up by the microphone is opposite to the first phase;
acquiring a third phase of the third test sound signal;
calculating a second ratio of the third phase to the first phase, the second ratio being a ratio of the anti-noise signal phase to the noise signal phase.
Preferably, the step of determining the preset threshold specifically includes:
picking up a quiet ambient sound signal in a quiet environment; a sound pressure level of the ambient sound signal of less than 45dB is the quiet environment;
and acquiring the volume effective value of the quiet environment sound signal, and setting the volume effective value of the quiet environment sound signal as the preset threshold.
Preferably, the step of performing multiple adjustments based on the first anti-noise signal to generate multiple modified anti-noise signals, and determining the current anti-noise signal according to the noise reduction results of the respective noise reductions of the first anti-noise signal and the multiple modified anti-noise signals specifically includes:
adjusting a plurality of times based on the first anti-noise signal to generate a plurality of modified anti-noise signals, the plurality of modified anti-noise signals being played in sequence;
sequentially picking up a plurality of integrated modified acoustic signals containing the ambient noise signal and the modified anti-noise signal;
and acquiring the minimum value of the volume effective value of the first comprehensive sound signal, the volume effective values of the plurality of comprehensive correction sound signals and the volume effective value of the environmental noise signal, and taking the first anti-noise signal/the correction anti-noise signal/the environmental noise signal corresponding to the minimum value as the current anti-noise signal.
Preferably, the step of making a plurality of adjustments based on the first anti-noise signal to generate a plurality of modified anti-noise signals comprises in particular:
adjusting the amplitude of the first anti-noise signal by a 10% increase to generate a first modified anti-noise signal;
adjusting the amplitude of the first anti-noise signal by 10% to generate a second modified anti-noise signal;
adjusting the phase of the first anti-noise signal by 10% to generate a third modified anti-noise signal;
adjusting the phase of the first anti-noise signal by a 10% reduction to generate a fourth modified anti-noise signal.
In order to solve the technical problem, the invention adopts another technical scheme that: providing an active noise reduction device comprising:
the environment noise pickup module is used for picking up an environment noise signal of the current noise environment;
a first anti-noise signal generation module for generating a first anti-noise signal that neutralizes the ambient noise signal from the ambient noise signal and playing the first anti-noise signal;
a current anti-noise signal determination module, configured to pick up a first composite sound signal including the first anti-noise signal and the ambient noise signal, determine whether a volume effective value of the first composite sound signal is smaller than a preset threshold, and if so, take the first anti-noise signal as a current anti-noise signal; if not, multiple times of adjustment are carried out on the basis of the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
In order to solve the technical problem, the invention adopts another technical scheme that: the intelligent sound box comprises a processor and a memory, wherein the processor is coupled with the memory and executes instructions to realize the active noise reduction method when in work.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a storage medium having stored thereon a computer program for execution by a processor to implement the above-described active noise reduction method.
The invention has the beneficial effects that: unlike the prior art, the present invention picks up the ambient noise signal of the current noise environment; generating a first anti-noise signal neutralizing the environmental noise signal according to the environmental noise signal, and playing the first anti-noise signal; picking up a first comprehensive sound signal containing a first anti-noise signal and an environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value or not, and if so, taking the first anti-noise signal as the current anti-noise signal; if not, multiple times of adjustment are carried out based on the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively. The active noise reduction method can better eliminate the influence of the environmental noise signal on the voice recognition.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
fig. 1 is a flowchart of an active noise reduction method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a specific implementation of step S200 in FIG. 1;
FIG. 3 is a schematic structural diagram of an active noise reduction device according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent sound box according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a storage medium according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
Example one
Fig. 1 is a flowchart of an active noise reduction method according to an embodiment of the present invention, where the active noise reduction method is applied to a voice interaction device, the voice interaction device may be an intelligent audio device or a terminal device with a voice interaction function, the voice interaction device has a microphone and a speaker, and the active noise reduction method includes step S100, step S200, step S300, and step S400.
Step S100: an ambient noise signal of the current noise environment is picked up.
Specifically, the voice interaction device picks up an ambient noise signal in a current noise environment through a microphone.
Step S200: a first anti-noise signal that neutralizes the ambient noise signal is generated from the ambient noise signal, and the first anti-noise signal is played.
Specifically, a first anti-noise signal is generated according to an ambient noise signal picked up by a microphone, and the first anti-noise signal is played through a loudspeaker to neutralize the ambient noise signal, so that the ambient noise signal is not picked up when the microphone picks up a voice signal input by a user, and the influence of the ambient noise signal on voice recognition is eliminated.
Specifically, as shown in fig. 2, the step of generating the first anti-noise signal neutralizing the ambient noise signal from the ambient noise signal specifically includes steps S201, S202, and S203.
Step S201: the phase relationship and the magnitude relationship between the anti-noise signal and the noise signal are predetermined.
Specifically, the phase relationship and magnitude relationship between the good anti-noise signal and the noise signal are predetermined before the ambient noise signal is picked up.
Specifically, the step of predetermining the magnitude relationship between the anti-noise signal and the noise signal specifically includes: picking up a first test sound signal with a preset volume played at a preset distance, and acquiring a first amplitude of the first test sound signal; playing a second test sound signal to enable the sound pressure level of the second test sound signal transmitted to the microphone of the voice interaction device to be a preset sound pressure level, and acquiring a second amplitude value of the second test sound signal; a first ratio of the second amplitude to the first amplitude is calculated, the first ratio being a ratio of the amplitude of the anti-noise signal to the amplitude of the noise signal.
Further specifically, the microphone picks up a first test sound signal of a preset volume played by a speaker at a preset distance from the voice interaction device, where the preset distance may be 0.5m, and the speaker at 0.5m plays the first test sound signal of the preset volume such that a sound pressure level of the first test sound signal measured at the microphone is 80dB, and the sound pressure level of the first test sound signal measured at the microphone decreases by 6dB for every doubling of the preset distance. The speaker of the voice interaction device plays the second test sound signal such that the sound pressure level of the second test sound signal transmitted to the microphone of the voice interaction device is 80 dB. The ratio of the second amplitude of the second test audio signal to the first amplitude of the first test audio signal is the ratio of the amplitude of the anti-noise signal to the amplitude of the noise signal.
Specifically, the step of predetermining the phase relationship between the anti-noise signal and the noise signal specifically includes: acquiring a first phase of a first test sound signal; adjusting a second phase of the second test sound signal, generating a third test sound signal, and playing the third test sound signal so that a fourth phase of a fourth test sound signal picked up by the microphone is opposite to the first phase; acquiring a third phase of a third test sound signal; a second ratio of the third phase to the first phase is calculated, the second ratio being a ratio of the phase of the anti-noise signal to the phase of the noise signal. The fourth test sound signal is a sound signal picked up by the microphone after the third test sound signal played by the loudspeaker is transmitted to the microphone.
In this embodiment, it is considered that the phase and amplitude of the sound signal are changed after the sound signal is transmitted over a distance, so that the sound signal received by the microphone is different from the sound signal played by the speaker (the phase and amplitude are different) after the sound signal is played by the speaker of the voice interaction device, and therefore, when the speaker plays the anti-noise signal with the phase opposite to that of the ambient noise signal and the amplitude is equal to that of the ambient noise signal, the anti-noise signal at the microphone and the ambient noise signal at the microphone are not in the phase opposite to that of the ambient noise signal and the amplitude of the ambient noise signal at the microphone is effectively neutralized to prevent the ambient noise signal from being picked up by the microphone as much as possible, so that the phase and amplitude relationship between the anti-noise signal and the noise signal is determined through the above steps, rather than simply setting the anti-noise signal to be in the phase opposite to that of the ambient noise signal to be picked up, The amplitudes are equal.
Step S202: the phase and amplitude of the ambient noise signal are obtained.
Specifically, the phase and amplitude thereof are acquired from the ambient noise signal.
Step S203: the phase and amplitude of the first anti-noise signal are determined based on the phase relationship, the amplitude relationship, and the phase and amplitude of the ambient noise signal to generate the first anti-noise signal that neutralizes the ambient noise signal.
Specifically, based on a predetermined phase relationship and amplitude relationship between the anti-noise signal and the noise signal, and a phase and amplitude of the ambient noise signal, a phase and amplitude of the first anti-noise signal may be determined to generate the first anti-noise signal to neutralize the ambient noise signal.
Step S300: picking up a first comprehensive sound signal containing a first anti-noise signal and an environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value or not, and if so, taking the first anti-noise signal as the current anti-noise signal;
specifically, the step of determining the preset threshold specifically includes: picking up a quiet ambient sound signal in a quiet environment; a quiet environment is defined as an environment in which the sound pressure level of the ambient sound signal is less than 45 dB; and acquiring a volume effective value of the quiet environment sound signal, and setting the volume effective value of the quiet environment sound signal as a preset threshold value.
Specifically, after the speaker plays the first anti-noise signal, the microphone picks up a first composite sound signal including the first anti-noise signal and the ambient noise signal, determines whether a volume effective value of the first composite sound signal is smaller than a preset threshold, indicates that a neutralization effect of the first anti-noise signal reaches an expected value if the volume effective value of the first composite sound signal is smaller than the preset threshold, and continues to play the first anti-noise signal for anti-noise.
Step S400: if not, multiple times of adjustment are carried out based on the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
Specifically, if the effective value of the volume of the first composite sound signal is greater than or equal to the preset threshold, it indicates that the neutralizing effect of the first anti-noise signal is not expected, and the first anti-noise signal needs to be modified to obtain an anti-noise signal with a better neutralizing effect.
Specifically, the adjusting multiple times based on the first anti-noise signal to generate multiple modified anti-noise signals, and the determining the current anti-noise signal according to the noise reduction results of the respective noise reductions of the first anti-noise signal and the multiple modified anti-noise signals specifically includes: performing a plurality of adjustments based on the first anti-noise signal to generate a plurality of modified anti-noise signals, the plurality of modified anti-noise signals being played in sequence; sequentially picking up a plurality of synthesized modified acoustic signals including an ambient noise signal and a modified anti-noise signal; and acquiring the minimum value of the volume effective value of the first comprehensive sound signal, the volume effective values of the multiple comprehensive correction sound signals and the volume effective value of the environmental noise signal, and taking the first anti-noise signal/the correction anti-noise signal/the environmental noise signal corresponding to the minimum value as the current anti-noise signal.
Preferably, the step of making a plurality of adjustments based on the first anti-noise signal to generate a plurality of modified anti-noise signals comprises in particular: adjusting the amplitude of the first anti-noise signal by 10% to generate a first modified anti-noise signal; adjusting the amplitude of the first anti-noise signal by 10% to generate a second modified anti-noise signal; adjusting the phase of the first anti-noise signal by 10% to generate a third modified anti-noise signal; the phase of the first anti-noise signal is adjusted by a 10% reduction to generate a fourth modified anti-noise signal.
Preferably, four adjustments are made based on the first anti-noise signal to generate four modified anti-noise signals, the four modified anti-noise signals are played in sequence, and sequentially picks up a first synthesized corrected sound signal including the first corrected anti-noise signal and the ambient noise signal, a second synthesized corrected sound signal including the second corrected anti-noise signal and the ambient noise signal, a third synthesized corrected sound signal including the third corrected anti-noise signal and the ambient noise signal, and a fourth synthesized corrected sound signal including the fourth corrected anti-noise signal and the ambient noise signal, to obtain the sound volume effective values of the first synthesized sound signal, the first synthesized corrected sound signal, the second synthesized corrected sound signal, the third synthesized corrected sound signal, the fourth synthesized corrected sound signal, and the ambient noise signal, and acquiring the minimum value of the volume effective values, and taking the first anti-noise signal/the corrected anti-noise signal/the environmental noise signal corresponding to the minimum value as the current anti-noise signal. If the effective value of the volume of the first comprehensive sound signal is minimum, taking a first anti-noise signal corresponding to the first comprehensive sound signal as a current anti-noise signal; if the effective value of the volume of the first comprehensive correction sound signal is minimum, taking the first correction anti-noise signal corresponding to the first comprehensive correction sound signal as the current anti-noise signal; and if the volume effective value of the environment noise signal is minimum, taking the environment noise signal as the current anti-noise signal.
In the embodiment of the invention, the anti-noise signal is played to neutralize the current environmental noise signal, wherein the anti-noise signal is generated according to the current noise environment, so the noise signal can be better eliminated in different noise environments, and the way of playing the anti-noise signal to eliminate the noise signal cannot attenuate the voice signal of a user. In addition, after the anti-noise signal is played, the microphone picks up the comprehensive sound signal comprising the anti-noise signal and the environmental noise signal, and judges whether the volume effective value of the comprehensive sound signal is smaller than a preset threshold value, if so, the anti-noise effect is better, and if not, the currently played anti-noise signal is adjusted to search for the anti-noise signal with better anti-noise effect.
Example two
Fig. 3 is a schematic structural diagram of an active noise reduction apparatus according to another embodiment of the present invention, which includes an ambient noise pickup module 100, a first anti-noise signal generation module 200, and a current anti-noise signal determination module 300.
The ambient noise pick-up module 100 is configured to pick up an ambient noise signal of a current noise environment.
The first anti-noise signal generation module 200 is configured to generate a first anti-noise signal that neutralizes the ambient noise signal from the ambient noise signal and play the first anti-noise signal.
The current anti-noise signal determining module 300 is configured to pick up a first composite sound signal including a first anti-noise signal and an environmental noise signal, determine whether a volume effective value of the first composite sound signal is smaller than a preset threshold, and if so, take the first anti-noise signal as the current anti-noise signal; if not, multiple times of adjustment are carried out based on the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
The specific implementation of the active noise reduction device provided by the embodiment of the present invention is the same as the specific implementation of the active noise reduction method, and the specific implementation of the active noise reduction device may refer to the description of the first embodiment, which is not described herein again.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a smart sound box according to another embodiment of the present invention, where the smart sound box includes a processor 400 and a memory 500, the processor 400 is coupled to the memory 500, and the processor 400 executes instructions to implement an active noise reduction method in any of the above embodiments when operating.
The processor 400 may also be referred to as a CPU (Central Processing Unit). Processor 400 may be an integrated circuit chip having signal processing capabilities. Processor 400 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor, but is not limited thereto.
Example four
Referring to fig. 5, fig. 5 is a schematic diagram of a storage medium according to another embodiment of the present invention, in which a computer program 600 is stored, and the computer program 600 can be executed by the processor 400 to implement the active noise reduction method in any of the above embodiments.
Alternatively, the readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may be a terminal device such as a computer, a server, a mobile phone, or a tablet.
In the invention, an environmental noise signal of the current noise environment is picked up; generating a first anti-noise signal neutralizing the environmental noise signal according to the environmental noise signal, and playing the first anti-noise signal; picking up a first comprehensive sound signal containing a first anti-noise signal and an environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value or not, and if so, taking the first anti-noise signal as the current anti-noise signal; if not, multiple times of adjustment are carried out based on the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively. The anti-noise signal is played to neutralize the noise signal of the current environment, the anti-noise signal is generated according to the current noise environment, and the voice signal of the user is not attenuated, so that the noise signal can be better eliminated under different noise environments. In addition, after playing the anti-noise signal, a composite sound signal including the anti-noise signal and the environmental noise signal is picked up by the microphone, and the anti-noise effect of the anti-noise signal is detected and adjusted to obtain the optimal anti-noise effect.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An active noise reduction method, wherein the active noise reduction method is applied to a voice interaction device, and the active noise reduction method comprises:
picking up an ambient noise signal of a current noise environment;
generating a first anti-noise signal that neutralizes the ambient noise signal from the ambient noise signal and playing the first anti-noise signal;
picking up a first comprehensive sound signal containing the first anti-noise signal and the environmental noise signal, judging whether the volume effective value of the first comprehensive sound signal is smaller than a preset threshold value, and if so, taking the first anti-noise signal as the current anti-noise signal;
if not, multiple times of adjustment are carried out on the basis of the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
2. The active noise reduction method according to claim 1, wherein the step of generating from the ambient noise signal a first anti-noise signal that neutralizes the ambient noise signal comprises in particular:
predetermining a phase relationship and an amplitude relationship between the anti-noise signal and the noise signal;
acquiring the phase and amplitude of the environmental noise signal;
determining a phase and a magnitude of the first anti-noise signal based on the phase relationship, the magnitude relationship, and the phase and magnitude of the ambient noise signal to generate a first anti-noise signal that neutralizes the ambient noise signal.
3. The active noise reduction method according to claim 2, wherein the step of predetermining the magnitude relation between the anti-noise signal and the noise signal comprises in particular:
picking up a first test sound signal with a preset volume played at a preset distance, and acquiring a first amplitude of the first test sound signal;
playing a second test sound signal to enable the sound pressure level of the second test sound signal transmitted to the microphone of the voice interaction device to be a preset sound pressure level, and acquiring a second amplitude value of the second test sound signal;
calculating a first ratio of the second amplitude to the first amplitude, the first ratio being a ratio of the anti-noise signal amplitude to the noise signal amplitude.
4. Active noise reduction method according to claim 3, characterized in that said step of predetermining the phase relation between the anti-noise signal and the noise signal comprises in particular:
acquiring a first phase of the first test sound signal;
adjusting a second phase of the second test sound signal and generating a third test sound signal, playing the third test sound signal so that a fourth phase of a fourth test sound signal picked up by the microphone is opposite to the first phase;
acquiring a third phase of the third test sound signal;
calculating a second ratio of the third phase to the first phase, the second ratio being a ratio of the anti-noise signal phase to the noise signal phase.
5. The active noise reduction method according to claim 1, wherein the step of determining the preset threshold specifically comprises:
picking up a quiet ambient sound signal in a quiet environment; a sound pressure level of the ambient sound signal of less than 45dB is the quiet environment;
and acquiring the volume effective value of the quiet environment sound signal, and setting the volume effective value of the quiet environment sound signal as the preset threshold.
6. The active noise reduction method according to claim 1, wherein the step of performing multiple adjustments based on the first anti-noise signal to generate a plurality of modified anti-noise signals, and the step of determining the current anti-noise signal according to the noise reduction results of the respective noise reductions of the first and the plurality of modified anti-noise signals comprises:
adjusting a plurality of times based on the first anti-noise signal to generate a plurality of modified anti-noise signals, the plurality of modified anti-noise signals being played in sequence;
sequentially picking up a plurality of integrated modified acoustic signals containing the ambient noise signal and the modified anti-noise signal;
and acquiring the minimum value of the volume effective value of the first comprehensive sound signal, the volume effective values of the plurality of comprehensive correction sound signals and the volume effective value of the environmental noise signal, and taking the first anti-noise signal/the correction anti-noise signal/the environmental noise signal corresponding to the minimum value as the current anti-noise signal.
7. The active noise reduction method of claim 6, wherein the step of making a plurality of adjustments based on the first anti-noise signal to generate a plurality of modified anti-noise signals specifically comprises:
adjusting the amplitude of the first anti-noise signal by a 10% increase to generate a first modified anti-noise signal;
adjusting the amplitude of the first anti-noise signal by 10% to generate a second modified anti-noise signal;
adjusting the phase of the first anti-noise signal by 10% to generate a third modified anti-noise signal;
adjusting the phase of the first anti-noise signal by a 10% reduction to generate a fourth modified anti-noise signal.
8. An active noise reduction device, comprising:
the environment noise pickup module is used for picking up an environment noise signal of the current noise environment;
a first anti-noise signal generation module for generating a first anti-noise signal that neutralizes the ambient noise signal from the ambient noise signal and playing the first anti-noise signal;
a current anti-noise signal determination module, configured to pick up a first composite sound signal including the first anti-noise signal and the ambient noise signal, determine whether a volume effective value of the first composite sound signal is smaller than a preset threshold, and if so, take the first anti-noise signal as a current anti-noise signal; if not, multiple times of adjustment are carried out on the basis of the first anti-noise signal to generate multiple corrected anti-noise signals, and the current anti-noise signal is determined according to noise reduction results of noise reduction of the first anti-noise signal and the multiple corrected anti-noise signals respectively.
9. A smart sound box comprising a processor and a memory, wherein the processor is coupled to the memory and executes instructions to implement the active noise reduction method of any one of claims 1 to 7 when in operation.
10. A storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the active noise reduction method of any one of claims 1 to 7.
CN201911031180.9A 2019-10-28 2019-10-28 Active noise reduction method and device, intelligent sound box and storage medium Pending CN110797000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911031180.9A CN110797000A (en) 2019-10-28 2019-10-28 Active noise reduction method and device, intelligent sound box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911031180.9A CN110797000A (en) 2019-10-28 2019-10-28 Active noise reduction method and device, intelligent sound box and storage medium

Publications (1)

Publication Number Publication Date
CN110797000A true CN110797000A (en) 2020-02-14

Family

ID=69441683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911031180.9A Pending CN110797000A (en) 2019-10-28 2019-10-28 Active noise reduction method and device, intelligent sound box and storage medium

Country Status (1)

Country Link
CN (1) CN110797000A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885323A (en) * 2021-02-22 2021-06-01 联想(北京)有限公司 Audio information processing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531195A (en) * 2012-07-02 2014-01-22 华为技术有限公司 Noise reduction method, equipment and system
CN105405438A (en) * 2014-09-10 2016-03-16 哈曼贝克自动系统股份有限公司 Adaptive noise control system with improved robustness
CN105489212A (en) * 2014-09-17 2016-04-13 中兴通讯股份有限公司 Downlink active noise reduction device and method, and mobile terminal
CN106409280A (en) * 2015-07-29 2017-02-15 哈曼国际工业有限公司 Active noise cancellation apparatus and method for improving voice recognition performance
CN108470562A (en) * 2017-02-23 2018-08-31 2236008安大略有限公司 The active noise controlling adjusted using variable step size
CN110033754A (en) * 2018-01-11 2019-07-19 深圳市诚壹科技有限公司 A kind of noise-reduction method, device, terminal device and computer readable storage medium
CN110111764A (en) * 2019-05-13 2019-08-09 广州小鹏汽车科技有限公司 Vehicle and its noise-reduction method and denoising device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531195A (en) * 2012-07-02 2014-01-22 华为技术有限公司 Noise reduction method, equipment and system
CN105405438A (en) * 2014-09-10 2016-03-16 哈曼贝克自动系统股份有限公司 Adaptive noise control system with improved robustness
CN105489212A (en) * 2014-09-17 2016-04-13 中兴通讯股份有限公司 Downlink active noise reduction device and method, and mobile terminal
CN106409280A (en) * 2015-07-29 2017-02-15 哈曼国际工业有限公司 Active noise cancellation apparatus and method for improving voice recognition performance
CN108470562A (en) * 2017-02-23 2018-08-31 2236008安大略有限公司 The active noise controlling adjusted using variable step size
CN110033754A (en) * 2018-01-11 2019-07-19 深圳市诚壹科技有限公司 A kind of noise-reduction method, device, terminal device and computer readable storage medium
CN110111764A (en) * 2019-05-13 2019-08-09 广州小鹏汽车科技有限公司 Vehicle and its noise-reduction method and denoising device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885323A (en) * 2021-02-22 2021-06-01 联想(北京)有限公司 Audio information processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US8233352B2 (en) Audio source localization system and method
JP5290949B2 (en) Sound processing apparatus and method
CN113170024B (en) Echo cancellation method, delay estimation method, device, storage medium and equipment
CN113630708B (en) Method and device for detecting abnormal earphone microphone, earphone kit and storage medium
CN113555030B (en) Audio signal processing method, device and equipment
US10755728B1 (en) Multichannel noise cancellation using frequency domain spectrum masking
US20120002823A1 (en) Acoustic correction apparatus, audio output apparatus, and acoustic correction method
US9754575B2 (en) Area-sound reproduction system and area-sound reproduction method
CN111988702B (en) Audio signal processing method, electronic device and storage medium
CN110797000A (en) Active noise reduction method and device, intelligent sound box and storage medium
CN110611862A (en) Microphone gain adjusting method, device, system and storage medium
CN112997249B (en) Voice processing method, device, storage medium and electronic equipment
JP5970125B2 (en) Control device, control method and program
CN115835092B (en) A method, system, computer and storage medium for suppressing audio sound reinforcement feedback
CN107197403A (en) A kind of terminal audio frequency parameter management method, apparatus and system
CN110913312B (en) Echo cancellation method and device
US20230412977A1 (en) Method and apparatus for switching main microphone, voice detection method and apparatus for microphone, microphone-loudspeaker integrated device, and readable storage medium
CN114866899B (en) Headset noise reduction method, headset device and computer readable storage medium
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
CN113473345B (en) Wearable device hearing assistance control method, device and system and readable storage medium
CN116709123A (en) Audio signal processing method, device, equipment and storage medium
CN112331192B (en) Audio data processing method, terminal device and computer readable storage medium
CN109716432B (en) Gain processing method and device, electronic equipment, signal acquisition method and system
KR102785606B1 (en) Apparatus and method for improving sound quality
CN111370017A (en) Voice enhancement method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200214

WD01 Invention patent application deemed withdrawn after publication