CN115019763A - Active noise reduction method, device, equipment and medium for voice equipment - Google Patents

Active noise reduction method, device, equipment and medium for voice equipment Download PDF

Info

Publication number
CN115019763A
CN115019763A CN202210953245.0A CN202210953245A CN115019763A CN 115019763 A CN115019763 A CN 115019763A CN 202210953245 A CN202210953245 A CN 202210953245A CN 115019763 A CN115019763 A CN 115019763A
Authority
CN
China
Prior art keywords
information
noise
noise information
noise reduction
preset
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
CN202210953245.0A
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.)
Shenzhen Changfeng Imaging Equipment Co ltd
Original Assignee
Shenzhen Changfeng Imaging Equipment 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 Shenzhen Changfeng Imaging Equipment Co ltd filed Critical Shenzhen Changfeng Imaging Equipment Co ltd
Priority to CN202210953245.0A priority Critical patent/CN115019763A/en
Publication of CN115019763A publication Critical patent/CN115019763A/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
    • G10K11/17821Methods 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 characterised by the analysis of the input signals only
    • G10K11/17823Reference signals, e.g. ambient acoustic environment
    • 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
    • G10K11/17821Methods 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 characterised by the analysis of the input signals only
    • G10K11/17825Error signals
    • 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
    • G10K11/17853Methods, e.g. algorithms; Devices of the filter
    • G10K11/17854Methods, e.g. algorithms; Devices of the filter the filter being an adaptive filter
    • 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
    • G10K11/17879General system configurations using both a reference signal and an error signal

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention relates to the field of noise reduction of voice equipment, and discloses an active noise reduction method, device, equipment and medium of the voice equipment. The method comprises the steps of obtaining clean noise information by offsetting the obtained noise information and the last-moment noise reduction information, updating a filter based on a preset LMS algorithm by utilizing the clean noise information and the obtained last-moment residual noise information, receiving the updated filter according to the clean noise information, correspondingly playing noise reduction information by a loudspeaker, offsetting the noise reduction information and the external noise information to obtain new residual noise information, returning and re-executing the steps to continuously update the residual noise information until the residual noise information approaches zero to obtain clean voice information, and solving the problem that the noise in the voice cannot be effectively removed by the existing equipment.

Description

Active noise reduction method, device, equipment and medium for voice equipment
Technical Field
The present invention relates to the field of noise reduction for voice devices, and in particular, to an active noise reduction method, device, and medium for a voice device.
Background
Today, technological development is on a new and more basis, the application of head-mounted voice equipment is more and more extensive, and people use voice equipment to carry out interactive communication, when listening to activities such as music, the noise information of external environment can pass voice equipment and get into the ear, in order to reduce the influence of external noise to the user, except improving in the aspect of the physical mechanism at voice equipment, also can reduce the influence of external noise to voice equipment through voice equipment self adoption method of falling the noise voluntarily.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the existing equipment cannot effectively eliminate noise information.
A first aspect of the present invention provides an active noise reduction method for a speech device, where the speech device includes: the active noise reduction method of the voice equipment comprises the following steps:
acquiring external noise information, noise information acquired by the reference microphone and last-moment residual noise information acquired by the error microphone;
compensating the noise information to obtain clean noise information;
updating the filter based on a preset LMS algorithm by using the clean noise information and the last-moment residual noise information;
receiving the clean noise information according to the updated filter, and correspondingly playing noise reduction information by the loudspeaker;
and offsetting according to the noise reduction information and the external noise information to obtain new residual noise information, and returning and re-executing the steps.
Optionally, in a first implementation manner of the first aspect of the present invention, before the acquiring external noise information, noise information acquired by the reference microphone, last-minute residual noise information acquired by the error microphone, and last-minute noise reduction information transmitted by a preset estimation feedback path, the method further includes:
and performing off-line estimation to obtain a coefficient of a preset estimation feedforward path and a coefficient of a preset estimation feedback path.
Optionally, in a second implementation manner of the first aspect of the present invention, the speech device further includes a white noise generator, the white noise generator is configured to play white noise information, and the performing the off-line estimation to obtain the coefficient of the preset estimated feedforward path and the coefficient of the preset estimated feedback path includes:
receiving the white noise information according to the reference microphone to obtain first white noise information, obtaining second white noise information through a preset estimation feedback path according to the white noise information, and mutually offsetting the first white noise information and the second white noise information to obtain a first difference value;
receiving the white noise information according to the error microphone to obtain third white noise information, respectively obtaining fourth white noise information through a preset estimation feedforward path according to the white noise information, and mutually offsetting the third white noise information and the fourth white noise information to obtain a second difference value;
and processing the first difference value and the second difference value based on the LMS algorithm to respectively obtain a coefficient of a preset estimation feedback path and a coefficient of a preset estimation feedforward path.
Optionally, in a third implementation manner of the first aspect of the present invention, the external noise information is obtained by transmitting external noise through an acoustic path, and the noise information includes the noise reduction information and the external noise that are respectively collected by the reference microphone and played by the speaker.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the compensating the noise information to obtain clean noise information includes:
obtaining last-moment noise reduction information transmitted by the estimation feedback path;
and compensating the noise information according to the noise reduction information at the last moment, and offsetting the noise reduction information in the noise information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the updating the filter based on a preset LMS algorithm by using the clean noise information and the last-minute residual noise information includes:
obtaining calculated sound transmission information according to the external noise collected by the reference microphone through the estimation feedforward path;
and updating the filter based on a preset LMS algorithm by utilizing the calculated acoustic information and the last-moment residual noise information.
A second aspect of the present invention provides an active noise reduction apparatus for a speech device, the speech device comprising: the active noise reduction device of the voice equipment comprises an error microphone, a reference microphone, a filter and a loudspeaker, wherein the active noise reduction device of the voice equipment comprises:
the acquisition module is used for acquiring external noise information, noise information acquired by the reference microphone and last-moment residual noise information acquired by the error microphone;
the compensation module is used for compensating the noise information to obtain clean noise information;
the updating module is used for updating the filter based on a preset LMS algorithm by utilizing the clean noise information and the last-moment residual noise information;
the noise reduction module is used for receiving the clean noise information according to the updated filter, and the loudspeaker correspondingly plays the noise reduction information;
and the offset module is used for offsetting according to the noise reduction information and the external noise information to obtain new residual noise information, and returning and re-executing the steps.
A third aspect of the present invention provides an active noise reduction device for a speech device, the active noise reduction device comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the device to perform an active noise reduction method of the speech device as in any one of the above.
A fourth aspect of the present invention provides a computer-readable storage medium of a speech device, the computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the active noise reduction method of the speech device.
In the technical scheme provided by the invention, the obtained noise information and the last-moment noise reduction information are counteracted to obtain clean noise information, the clean noise information and the obtained last-moment residual noise information are utilized to update the filter based on a preset LMS algorithm, the updated filter receives the clean noise information according to the clean noise information, the loudspeaker correspondingly plays the noise reduction information, the noise reduction information and the external noise information are counteracted to obtain new residual noise information, the steps are returned and re-executed to continuously update the residual noise information until the residual noise information approaches zero to obtain clean voice information, and the problem that the noise in the voice cannot be effectively removed by the existing equipment is solved.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of an active noise reduction method for a speech device according to an embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of an active noise reduction method for a speech device according to an embodiment of the present invention;
FIG. 3 is a diagram of a third embodiment of an active noise reduction method of a speech device according to an embodiment of the present invention;
FIG. 4 is a diagram of a fourth embodiment of an active noise reduction method for a speech device according to an embodiment of the present invention;
FIG. 5 is a diagram of a fifth embodiment of an active noise reduction method of a speech device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of an active noise reduction apparatus of a speech device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an embodiment of an active noise reduction device of a speech device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an active noise reduction method, an active noise reduction system, an active noise reduction device, active noise reduction equipment and a storage medium of voice equipment.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For understanding, a detailed flow of an embodiment of the present invention is described below, with reference to fig. 1 to 5, an embodiment of an active noise reduction method for a speech device in an embodiment of the present invention includes: the active noise reduction method of the voice equipment comprises the following steps:
101. acquiring external noise information, noise information acquired by the reference microphone and last-moment residual noise information acquired by the error microphone;
in this embodiment, the external noise information is obtained by transmitting external noise through an acoustic path, and the noise information includes the noise reduction information and the external noise that are respectively collected by the reference microphone and played by the speaker, where the external noise is transmitted in the form of sound wave and then is received by the reference microphone and then is converted into computer-readable external noise data
Figure 589420DEST_PATH_IMAGE001
Figure 735231DEST_PATH_IMAGE002
For the last moment feedback data passing through the estimated feedforward path and the estimated feedback path, respectively, by
Figure 642007DEST_PATH_IMAGE003
Result, via a feedback pathThe feedback data transmitted is
Figure 593782DEST_PATH_IMAGE004
Wherein the content of the first and second substances,
Figure 269614DEST_PATH_IMAGE005
in order to obtain the noise data of the last moment,
Figure 851905DEST_PATH_IMAGE006
for de-noising data, in particular
Figure 478933DEST_PATH_IMAGE007
Before 101, it is also necessary to perform:
100. and performing off-line estimation to obtain a coefficient of a preset estimation feedforward path and a coefficient of a preset estimation feedback path.
Further, the speech device further includes a white noise generator, the white noise generator is configured to play white noise information, and step 100 may further specifically execute:
1001. receiving the white noise information according to the reference microphone to obtain first white noise information, obtaining second white noise information through a preset estimation feedback path according to the white noise information, and mutually offsetting the first white noise information and the second white noise information to obtain a first difference value;
1002. receiving the white noise information according to the error microphone to obtain third white noise information, respectively obtaining fourth white noise information through a preset estimation feedforward path according to the white noise information, and mutually offsetting the third white noise information and the fourth white noise information to obtain a second difference value;
in the 1001-1002 step, since the coefficients of the noise passing through the feedforward path and the feedback path are unknown, the acoustic path coefficient P and the feedforward path coefficient need to be preset in advance
Figure 172083DEST_PATH_IMAGE008
And feedback path coefficients
Figure 764738DEST_PATH_IMAGE009
And performing simulation in SIMULINK to perform the first round of various data calculation and acquisition, wherein the white noise generator plays white noise set as
Figure 517931DEST_PATH_IMAGE010
By white noise
Figure 868141DEST_PATH_IMAGE010
Respectively passing through the feedback path, the estimated feedback path, the feedforward path and the estimated feedforward path to obtain corresponding first white noise data
Figure 364981DEST_PATH_IMAGE011
Second white noise data
Figure 15405DEST_PATH_IMAGE012
Third white noise data
Figure 736236DEST_PATH_IMAGE013
And fourth white noise data
Figure 104901DEST_PATH_IMAGE014
By passing
Figure 874274DEST_PATH_IMAGE015
Calculate out
Figure 868951DEST_PATH_IMAGE016
And
Figure 760683DEST_PATH_IMAGE017
to obtain a first difference value
Figure 351065DEST_PATH_IMAGE018
In the same way, by
Figure 189708DEST_PATH_IMAGE019
Calculate out
Figure 549145DEST_PATH_IMAGE020
And
Figure 815041DEST_PATH_IMAGE014
the difference value of (a) to (b),
obtain a second difference value
Figure 689456DEST_PATH_IMAGE021
1003. And processing the first difference value and the second difference value based on the LMS algorithm to respectively obtain a coefficient of a preset estimation feedback path and a coefficient of a preset estimation feedforward path.
In step 1003, setting is performed
Figure 66211DEST_PATH_IMAGE022
As
Figure 280154DEST_PATH_IMAGE023
The step size of (a) is determined,
Figure 716952DEST_PATH_IMAGE024
as
Figure 78663DEST_PATH_IMAGE025
So that the corresponding weights are obtained respectively in the following two ways to update
Figure 757644DEST_PATH_IMAGE026
Coefficient sum
Figure 91673DEST_PATH_IMAGE027
Coefficient:
Figure 699372DEST_PATH_IMAGE028
Figure 486063DEST_PATH_IMAGE029
wherein when
Figure 266937DEST_PATH_IMAGE030
In the very approach to F, the frequency of the rf,
Figure 721052DEST_PATH_IMAGE031
and
Figure 234073DEST_PATH_IMAGE032
equal; when in use
Figure 508059DEST_PATH_IMAGE033
As it approaches very closely to S,
Figure 30308DEST_PATH_IMAGE034
and
Figure 840394DEST_PATH_IMAGE035
are equal.
In the first round of evaluation, since no noise passed inside, it was evaluated that
Figure 789895DEST_PATH_IMAGE036
Figure 613495DEST_PATH_IMAGE037
Figure 673855DEST_PATH_IMAGE038
And
Figure 836983DEST_PATH_IMAGE039
are all made of
0, the reference microphone collects external noise data for the first time
Figure 957386DEST_PATH_IMAGE040
While, no other noise is collected, so the intermediate noise data entering the estimated path
Figure 2702DEST_PATH_IMAGE041
Without superimposing other noise data therein and cancelling othersNoise data at once, thus obtaining initial sound transmission data
Figure 866753DEST_PATH_IMAGE042
Initial acoustic data
Figure 884387DEST_PATH_IMAGE043
Directly through the estimated feed-forward path
Figure 175691DEST_PATH_IMAGE044
Obtain an initial
Calculating transaudient data
Figure 708304DEST_PATH_IMAGE045
The external noise is passed through an acoustic path P to obtain initial noise data
Figure 874581DEST_PATH_IMAGE046
Since the speaker is not capable of playing and generating noise data in the initial state
Figure 746722DEST_PATH_IMAGE047
Counterbalanced noise reduction data, thus
Figure 208927DEST_PATH_IMAGE048
Based on LMS algorithm pair
Figure 432098DEST_PATH_IMAGE049
And
Figure 700269DEST_PATH_IMAGE050
calculating to obtain initial estimated acoustic path coefficient
Figure 692495DEST_PATH_IMAGE051
Figure 60023DEST_PATH_IMAGE052
Since the last moment of the initial estimated acoustic path coefficients is not present, the initial calculation formula is
Figure 770490DEST_PATH_IMAGE053
Intermediate noise data
Figure 576772DEST_PATH_IMAGE054
Obtaining initial last moment noise data through estimating acoustic path
Figure 423505DEST_PATH_IMAGE055
Figure 994557DEST_PATH_IMAGE056
The error microphone receives the initial last noise data to obtain initial noise reduction data, and transmits the initial noise reduction data to the loudspeaker for playing to the outside, wherein it needs to be noted that the initial noise reduction played to the outside by the loudspeaker and the second external noise pass through the acoustic path
Figure 661162DEST_PATH_IMAGE057
Carrying out the offset:
Figure 474397DEST_PATH_IMAGE058
deriving whether the noise reduction sound played by the speaker is the next external noise
And (3) concluding that the noise is counteracted, and expressing by the formula:
Figure 972374DEST_PATH_IMAGE059
102. compensating the noise information to obtain clean noise information;
further, step 102 may specifically further perform:
1021. obtaining last-moment noise reduction information transmitted by the estimation feedback path;
1022. and compensating the noise information according to the noise reduction information at the last moment, and offsetting the noise reduction information in the noise information.
In step 1021-The noise data of the last moment is received by the error microphone and is acquired by the reference microphone when being played by the loudspeaker, so that the feedback data is not played, and the intermediate noise data is obtained by overlapping the feedback data with the external noise data
Figure 212863DEST_PATH_IMAGE060
The concrete formula is
Figure 366764DEST_PATH_IMAGE061
And then the data needs to be counteracted by the feedback data of the last moment to leave the external noise data without impurities, namely the sound transmission data, and the specific formula is
Figure 718111DEST_PATH_IMAGE062
103. Updating the filter based on a preset LMS algorithm by using the clean noise information and the last-moment residual noise information;
further, step 103 may specifically further perform:
1031. obtaining calculated sound transmission information according to the external noise collected by the reference microphone through the estimation feedforward path;
in this embodiment, the concrete formula for obtaining the acoustic data is
Figure 336174DEST_PATH_IMAGE063
Details of filter updating
Is given by the formula
Figure 747563DEST_PATH_IMAGE064
Wherein, in the step (A),
Figure 388760DEST_PATH_IMAGE065
is the filter coefficient of the last moment,
Figure 42333DEST_PATH_IMAGE066
in order to be the step size,
Figure 514903DEST_PATH_IMAGE067
the residual noise data is obtained by convolution of acoustic data and filter coefficient
Figure 97194DEST_PATH_IMAGE068
1032. And updating the filter based on a preset LMS algorithm by utilizing the calculated acoustic information and the last-moment residual noise information.
104. Receiving the clean noise information according to the updated filter, and correspondingly playing noise reduction information by the loudspeaker;
in this embodiment, after the filter receives clean noise information, a noise reduction signal is correspondingly sent out, after the speaker receives the noise reduction signal, noise reduction information with a vibration frequency opposite to that of external noise information is correspondingly played, because the propagation of sound is omnidirectional, the reference microphone also collects the noise reduction information while collecting external noise, and the noise reduction information is not needed for updating the filter internally, and even influences that the noise reduction signal transmitted after updating the filter cannot achieve an expected noise reduction effect, so that the received noise reduction information needs to be cancelled separately, and therefore, when the noise reduction signal is transmitted, the noise reduction signal passes through a preset estimation feedforward path and is transmitted to obtain the last noise reduction information for being cancelled with the noise reduction information.
105. Offsetting according to the noise reduction information and the external noise information to obtain new residual noise information, returning and re-executing the steps
In step 101-105, the new residual noise information obtained is actually obtained by performing a round of updating on the previous noise data, canceling the new round of received external noise data and obtaining new residual noise data, where the new previous noise data is received by the error microphone, and the specific formula is as follows
Figure 225687DEST_PATH_IMAGE069
And go through the winnowThe acoustic device plays and offsets the newly received noise data, and the specific formula is as follows:
Figure 918837DEST_PATH_IMAGE070
wherein, in the process,
Figure 714754DEST_PATH_IMAGE071
for a new round of external noise
Figure 999105DEST_PATH_IMAGE072
And acoustic path coefficient
Figure 880473DEST_PATH_IMAGE073
Is obtained by convolution, and has the specific formula
Figure 111735DEST_PATH_IMAGE074
The noise reduction step is repeated continuously, and updated, if the new residual noise information obtained correspondingly approaches to zero, the complete noise reduction effect can be achieved, because the residual noise data is to be transmitted to human ears, the actual equipment can interfere the noise reduction effect more or less due to the conversion between electric signals and external uncontrollable factors, the ideal state can not be achieved when the residual noise information is equal to zero in the dynamic noise reduction, therefore, a noise threshold value needs to be preset in advance, the obtained residual noise data is compared and judged with the noise threshold value, if the residual noise data is greater than the preset noise threshold value, the acoustic transmission data and the residual noise data are obtained again, the noise reduction data is updated, the new residual noise data is further obtained, whether the residual noise data is greater than the noise threshold value is judged, and the steps are repeated until the residual noise data is not greater than the noise threshold value, and then, confirming that the noise reduction is successful, outputting the audio information after the noise reduction, calculating the readable data obtained by picking up the external noise and picking up and converting the external noise according to the LMS algorithm, and obtaining a corresponding path coefficient, wherein the loudspeaker generates and plays an electric signal opposite to the path coefficient according to the corresponding path coefficient so as to offset the external noise, thereby achieving the noise reduction effect and further realizing the purpose of picking up clean user audio information.
In practical application, the music information or audio information is also received by the reference microphone and the error microphone, if the music information or audio information received by the reference microphone is not eliminated, the music information or audio information can be used as another noise information disturbing the noise reduction effect, therefore, the music information or audio information also needs to pass through an estimation feedforward path and an estimation feedback path, and the obtained estimated music information or estimated audio information is used for offsetting the music information or audio information received by the reference microphone and the error microphone next time, the residual noise information needs to be extracted into an LMS algorithm to be calculated to obtain a W coefficient approaching to P, the music information or audio information played by a loudspeaker also exists in the residual noise information, the calculation of the W coefficient can be influenced, therefore, an estimation feedforward path is arranged in advance in a circuit to transmit the music information or audio information, for canceling out music information or audio information in the residual noise information to ensure that the music information or audio information does not affect the update of W and to ensure that the user can receive clean music information or audio information.
With reference to fig. 6, the active noise reduction method of the speech device in the embodiment of the present invention is described above, and an active noise reduction apparatus of the speech device in the embodiment of the present invention is described below, where an embodiment of the active noise reduction apparatus of the speech device in the embodiment of the present invention includes:
an obtaining module 201, configured to obtain external noise information, noise information acquired by the reference microphone, and last-time residual noise information acquired by the error microphone;
the compensation module 202 is configured to compensate the noise information to obtain clean noise information;
an updating module 203, configured to update the filter based on a preset LMS algorithm by using the clean noise information and the last-moment residual noise information;
a noise reduction module 204, configured to receive the clean noise information according to the updated filter, where the speaker correspondingly plays noise reduction information;
and the counteracting module 205 is configured to counteract the noise reduction information and the external noise information to obtain new residual noise information, and return to and re-execute the above steps.
In another embodiment of the active noise reduction apparatus of a speech device in the embodiments of the present invention, the active noise reduction apparatus of a speech device includes:
an obtaining module 201, configured to obtain external noise information, noise information acquired by the reference microphone, and last-time residual noise information acquired by the error microphone;
the compensation module 202 is configured to compensate the noise information to obtain clean noise information;
an updating module 203, configured to update the filter based on a preset LMS algorithm by using the clean noise information and the last-moment residual noise information;
a noise reduction module 204, configured to receive the clean noise information according to the updated filter, where the speaker correspondingly plays noise reduction information;
and the counteracting module 205 is configured to counteract the noise reduction information and the external noise information to obtain new residual noise information, and return to and re-execute the above steps.
The active noise reduction apparatus of the speech device further includes a coefficient presetting module 200, where the coefficient presetting module 200 is specifically configured to:
and performing off-line estimation to obtain a coefficient of a preset estimation feedforward path and a coefficient of a preset estimation feedback path.
Further, the coefficient presetting module 200 may further perform:
receiving the white noise information according to the reference microphone to obtain first white noise information, obtaining second white noise information through a preset estimation feedback path according to the white noise information, and mutually offsetting the first white noise information and the second white noise information to obtain a first difference value;
receiving the white noise information according to the error microphone to obtain third white noise information, respectively obtaining fourth white noise information through a preset estimation feedforward path according to the white noise information, and mutually offsetting the third white noise information and the fourth white noise information to obtain a second difference value;
and processing the first difference value and the second difference value based on the LMS algorithm to respectively obtain a coefficient of a preset estimation feedback path and a coefficient of a preset estimation feedforward path.
The compensation module 202 may further specifically perform:
obtaining last-moment noise reduction information transmitted by the estimation feedback path;
and compensating the noise information according to the noise reduction information at the last moment, and offsetting the noise reduction information in the noise information.
The updating module 203 may further specifically execute:
obtaining calculated sound transmission information according to the external noise collected by the reference microphone through the estimation feedforward path;
and updating the filter based on a preset LMS algorithm by utilizing the calculated acoustic information and the last-moment residual noise information.
Fig. 6 above describes in detail the active noise reduction apparatus of the speech device in the embodiment of the present invention from the perspective of the modular functional entity, and the active noise reduction device in the embodiment of the present invention is described in detail below from the perspective of hardware processing.
Fig. 7 is a schematic structural diagram of an active noise reduction device of a speech device according to an embodiment of the present invention, where the active noise reduction device 300 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 310 (e.g., one or more processors) and a memory 320, and one or more storage media 330 (e.g., one or more mass storage devices) storing applications 333 or data 332. Memory 320 and storage media 330 may be, among other things, transient or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instructions operating on the active noise reduction device 300. Still further, processor 310 may be configured to communicate with storage medium 330 to execute a series of instruction operations in storage medium 330 on active noise reduction device 300.
The voice device based active noise reduction device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input-output interfaces 360, and/or one or more operating systems 331, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the configuration of the active noise reduction device shown in FIG. 4 does not constitute a limitation of active noise reduction based devices, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and may also be a volatile computer readable storage medium, where instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the steps of the active noise reduction method and system for a speech device.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing 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.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. An active noise reduction method of a voice device, wherein the voice device comprises an error microphone, a reference microphone, a filter and a loudspeaker, and the active noise reduction method of the voice device comprises the following steps:
acquiring external noise information, noise information acquired by the reference microphone and last-moment residual noise information acquired by the error microphone;
compensating the noise information to obtain clean noise information;
updating the filter based on a preset LMS algorithm by using the clean noise information and the last-moment residual noise information;
receiving the clean noise information according to the updated filter, and correspondingly playing noise reduction information by the loudspeaker;
and offsetting according to the noise reduction information and the external noise information to obtain new residual noise information, and returning and re-executing the steps of obtaining the external noise information, the noise information acquired by the reference microphone and the last residual noise information acquired by the error microphone.
2. The active noise reduction method for a speech device according to claim 1, further comprising, before obtaining the external noise information, the noise information collected by the reference microphone, and the last-minute residual noise information collected by the error microphone:
off-line estimation is performed to derive coefficients for a preset estimated feedforward path and coefficients for a preset estimated feedback path.
3. The active noise reduction method of the speech device of claim 2, wherein the speech device further comprises a white noise generator for playing white noise information, and the performing the off-line estimation to derive the coefficients of the preset estimated feedforward path and the coefficients of the preset estimated feedback path comprises:
receiving the white noise information according to the reference microphone to obtain first white noise information, obtaining second white noise information through a preset estimation feedback path according to the white noise information, and mutually offsetting the first white noise information and the second white noise information to obtain a first difference value;
receiving the white noise information according to the error microphone to obtain third white noise information, respectively obtaining fourth white noise information through a preset estimation feedforward path according to the white noise information, and mutually offsetting the third white noise information and the fourth white noise information to obtain a second difference value;
and processing the first difference value and the second difference value based on the LMS algorithm to respectively obtain a coefficient of a preset estimation feedback path and a coefficient of a preset estimation feedforward path.
4. The active noise reduction method of the speech device according to claim 3, wherein the external noise information is obtained by external noise transmitted through an acoustic path, and the noise information includes the noise reduction information and the external noise respectively collected by the reference microphone and played by the speaker.
5. The active noise reduction method of the speech device according to claim 4, wherein the compensating the noise information to obtain clean noise information comprises:
obtaining last-moment noise reduction information transmitted by the estimation feedback path;
and compensating the noise information according to the noise reduction information at the last moment, and offsetting the noise reduction information in the noise information.
6. The active noise reduction method of a speech device according to claim 5, wherein said updating the filter based on a preset LMS algorithm using the clean noise information and the last-minute residual noise information comprises:
obtaining calculated sound transmission information according to the external noise acquired by the reference microphone through the estimation feedforward path;
and updating the filter based on a preset LMS algorithm by utilizing the calculated acoustic information and the last-moment residual noise information.
7. An active noise reduction apparatus of a speech device, the speech device comprising: the active noise reduction device of the voice equipment comprises an error microphone, a reference microphone, a filter and a loudspeaker, wherein the active noise reduction device of the voice equipment comprises:
the acquisition module is used for acquiring external noise information, noise information acquired by the reference microphone and last-moment residual noise information acquired by the error microphone;
the compensation module is used for compensating the noise information to obtain clean noise information;
the updating module is used for updating the filter based on a preset LMS algorithm by utilizing the clean noise information and the last-moment residual noise information;
the noise reduction module is used for receiving the clean noise information according to the updated filter, and the loudspeaker correspondingly plays the noise reduction information;
and the offset module is used for offsetting according to the noise reduction information and the external noise information to obtain new residual noise information, and returning and re-executing the steps.
8. An active noise reduction device of a speech device, comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the active noise reduction device to perform an active noise reduction method for a speech device of any of claims 1-6.
9. A computer-readable storage medium of a speech device, the computer-readable storage medium of the speech device having a computer program stored thereon, the speech device comprising: error microphone and loudspeaker, which computer programs, when executed by a processor, implement an active noise reduction method for a speech device according to any of claims 1-6.
CN202210953245.0A 2022-08-10 2022-08-10 Active noise reduction method, device, equipment and medium for voice equipment Pending CN115019763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210953245.0A CN115019763A (en) 2022-08-10 2022-08-10 Active noise reduction method, device, equipment and medium for voice equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210953245.0A CN115019763A (en) 2022-08-10 2022-08-10 Active noise reduction method, device, equipment and medium for voice equipment

Publications (1)

Publication Number Publication Date
CN115019763A true CN115019763A (en) 2022-09-06

Family

ID=83065846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210953245.0A Pending CN115019763A (en) 2022-08-10 2022-08-10 Active noise reduction method, device, equipment and medium for voice equipment

Country Status (1)

Country Link
CN (1) CN115019763A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098119A1 (en) * 2003-05-14 2007-05-03 Ian Stothers Adaptive control unit with feedback compensation
CN109741727A (en) * 2019-01-07 2019-05-10 哈尔滨工业大学(深圳) Active noise reduction earphone, noise-reduction method and storage medium based on Active noise control algorithm
CN111536587A (en) * 2020-04-24 2020-08-14 青岛海信日立空调***有限公司 Air conditioner
CN111836147A (en) * 2019-04-16 2020-10-27 华为技术有限公司 Noise reduction device and method
CN111883095A (en) * 2020-04-27 2020-11-03 珠海市杰理科技股份有限公司 Active noise reduction method, device and system and related equipment
CN112233644A (en) * 2020-11-04 2021-01-15 华北电力大学 Filtering-X least mean square active noise control method based on quaternion adaptive filter
CN112309361A (en) * 2020-10-29 2021-02-02 西安艾科特声学科技有限公司 Acoustic feedback suppression method for active noise control system
CN113920974A (en) * 2021-11-22 2022-01-11 湖南大学 Combined active noise reduction method based on inverse filtering frequency equalization

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098119A1 (en) * 2003-05-14 2007-05-03 Ian Stothers Adaptive control unit with feedback compensation
CN109741727A (en) * 2019-01-07 2019-05-10 哈尔滨工业大学(深圳) Active noise reduction earphone, noise-reduction method and storage medium based on Active noise control algorithm
CN111836147A (en) * 2019-04-16 2020-10-27 华为技术有限公司 Noise reduction device and method
CN111536587A (en) * 2020-04-24 2020-08-14 青岛海信日立空调***有限公司 Air conditioner
CN111883095A (en) * 2020-04-27 2020-11-03 珠海市杰理科技股份有限公司 Active noise reduction method, device and system and related equipment
CN112309361A (en) * 2020-10-29 2021-02-02 西安艾科特声学科技有限公司 Acoustic feedback suppression method for active noise control system
CN112233644A (en) * 2020-11-04 2021-01-15 华北电力大学 Filtering-X least mean square active noise control method based on quaternion adaptive filter
CN113920974A (en) * 2021-11-22 2022-01-11 湖南大学 Combined active noise reduction method based on inverse filtering frequency equalization

Similar Documents

Publication Publication Date Title
Gan et al. An integrated audio and active noise control headset
US20200251119A1 (en) Method and device for processing audio signal using audio filter having non-linear characterstics
TWI611704B (en) Method, system for self-tuning active noise cancellation and headset apparatus
JP5452655B2 (en) Multi-sensor voice quality improvement using voice state model
CN110996203B (en) Earphone noise reduction method, device and system and wireless earphone
CN110402540B (en) Active noise reduction method, device, chip, active control system and storage medium
CN110718205B (en) Active noise control system without secondary path and implementation method
EP1297523A1 (en) Active noise reduction system
CN101379872A (en) Hearing aid with self-adapting feedback inhibition system
CN112562624B (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
US8498429B2 (en) Acoustic correction apparatus, audio output apparatus, and acoustic correction method
Shen et al. Multi-channel wireless hybrid active noise control with fixed-adaptive control selection
CN113409755A (en) Active noise reduction method and device and active noise reduction earphone
CN107666637B (en) Self-adjusting active noise elimination method and system and earphone device
CN105356861A (en) Active noise-reduction method and system
CN111436014A (en) Filtering device and filtering method of active noise reduction earphone and active noise reduction earphone
CN115250397A (en) TWS earphone and playing method and device thereof
CN113473294A (en) Coefficient determination method and device
CN115019763A (en) Active noise reduction method, device, equipment and medium for voice equipment
WO2024093307A1 (en) Audio processing method and apparatus, electronic device, and computer-readable storage medium
Xie et al. A feedforward and feedback composite active noise reduction headset based on inverse filter frequency equalization and its DSP system implementation
US20230131827A1 (en) Method for generating active noise reduction filter, storage medium and earphone
JP2003250193A (en) Echo elimination method, device for executing the method, program and recording medium therefor
CN115209302A (en) Audio noise reduction processing method, device, equipment, medium and program product
CN113488016A (en) Coefficient determination method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220906

RJ01 Rejection of invention patent application after publication