An active noise reduction method and system based on improved recurrent neural network

By using gated cyclic units in the active noise reduction method to build a deep neural network to process noise signals with strong time correlation and generate anti-noise signals, it solves the difficulty of expressing the accuracy and time correlation of traditional methods in nonlinear processing. problem, achieving a more efficient noise cancellation effect.

CN115171642BActive Publication Date: 2024-10-29SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202210795721.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-07
Publication Date
2024-10-29
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

Traditional active noise reduction methods have low accuracy when dealing with nonlinear factors, and it is difficult to express the time correlation of noise signals, which is greatly affected by hardware equipment.

Method used

The gated recurrent unit (GRU) is used to replace the hidden units in the traditional recurrent neural network, a deep neural network is constructed, the noise signal with strong time correlation is processed through the forgetting gate and the memory gate, and the destructive interference principle is used to generate an anti-noise signal.

Benefits of technology

It improves the time correlation processing and training efficiency of noise signals, solves the nonlinear distortion problem, and achieves a more accurate noise elimination effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115171642B_ABST
    Figure CN115171642B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of active noise reduction, and provides an active noise reduction method and system based on an improved recurrent neural network, the method comprising obtaining signal data to be noise reduced; filtering and controlling the noise signal based on the signal data to be noise reduced and a trained improved recurrent neural network model to generate a filtered signal; wherein the construction process of the improved recurrent neural network model is: using a gated recurrent unit to replace the tanh function in the hidden unit in the traditional recurrent neural network to form a gated RNN network, and using a forget gate and a memory gate to process the noise signal with time correlation; simulating the filtered signal through a secondary path model to obtain an anti-noise signal; according to the principle of destructive interference, the noise signal is eliminated according to the anti-noise signal to obtain a denoised signal. Not only the time correlation of the signal is guaranteed, but also the training efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of active noise reduction, and in particular relates to an active noise reduction method and system based on an improved recurrent neural network. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the development of science and technology and industry, people's quality of life has been continuously improved, and noise pollution has also arisen, gradually becoming an important factor affecting people's quality of life and physical and mental health. Studies have shown that mild noise can make people anxious and affect sleep quality; if you are in a noise environment above 85 decibels for a long time, it will affect your hearing, and noise above 120 decibels can cause hearing loss. At the same time, noise can also increase the secretion of cortisol in the human body, leading to an increase in the incidence of diseases such as hypertension, heart disease and gastric ulcers. Therefore, effective control of noise has received more and more attention, and how to quickly and effectively control noise is a hot spot and difficulty in current research.

[0004] At present, noise control is mainly divided into two types: passive noise reduction and active noise reduction. Passive noise reduction mostly uses physical methods to control noise signals from three aspects: noise generation, propagation and reception. However, this method has poor noise reduction effect on low-frequency noise. Active noise reduction method is based on the principle of destructive interference. It cancels out noise signals by generating anti-noise signals with the same amplitude and opposite phase as the noise signal, which makes up for the poor noise reduction effect of passive noise reduction method on low-frequency noise.

[0005] The inventors found that most traditional active noise reduction methods use linear filters as controllers, and use adaptive algorithms to update filter coefficients in real time to generate anti-noise signals to minimize the sound pressure value of the observation point. However, in reality, the effect of traditional linear systems will be affected by the nonlinear distortion problems of speakers and other devices. At present, active noise reduction methods based on signal processing use adaptive filtering algorithms to update filter coefficients and generate anti-noise signals. Such methods are not accurate enough to represent nonlinear factors in reality, and the hardware devices such as speakers and microphones in the system have a more obvious impact on the system effect. In addition, traditional neural network methods represented by active noise reduction methods based on BP feedforward neural networks can control noise signals, but it is difficult to represent the time correlation of noise signals. Summary of the invention

[0006] In order to solve at least one technical problem in the above-mentioned background technology, the present invention provides an active noise reduction method and system based on an improved recurrent neural network, which uses a gated recurrent unit (GRU) to replace the hidden unit in the traditional recurrent neural network (RNN) as the core algorithm for controlling multi-frequency noise, replacing the traditional linear filter algorithm. In addition, the expression ability of the network is improved by increasing the number of hidden layers, forming a deep neural network, and actively controlling the noise signal.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides an active noise reduction method based on an improved recurrent neural network, comprising the following steps:

[0009] Acquire signal data to be denoised;

[0010] Based on the signal data to be denoised and the trained improved recurrent neural network model, the noise signal is filtered and controlled to generate a filtered signal;

[0011] The construction process of the improved recurrent neural network model is as follows: a gated recurrent unit is used to replace the tanh function in the hidden unit of the traditional recurrent neural network to form a gated RNN network, and a forget gate and a memory gate are used to process the noise signal with time correlation;

[0012] The filtered signal is simulated by a secondary path model to obtain a noise-resistant signal;

[0013] According to the principle of destructive interference, the noise signal is eliminated according to the anti-noise signal to obtain the denoised signal.

[0014] As an optional implementation, the training process of the improved recurrent neural network model includes:

[0015] Use simulated noise signals with different signal-to-noise ratios as noise sources for training;

[0016] The error signal is obtained, the loss function is calculated according to the error signal, and feedback is given to the improved recurrent neural network model until the network loss function is minimized and reaches a convergence state.

[0017] As an optional implementation manner, the principle of destructive interference is based on the characteristic that the anti-noise signal and the noise signal have the same amplitude and opposite phase.

[0018] As an optional implementation, after obtaining the denoised signal, the method further includes evaluating the noise reduction effect of the system by using the sound pressure difference before and after the noise reduction.

[0019] As an optional implementation, after acquiring the data of the signal to be denoised, a simulation is performed through a main path model to obtain the signal to be denoised containing main noise.

[0020] As an optional implementation, the primary path model is a nonlinear model, and the secondary path model is a linear model.

[0021] A second aspect of the present invention provides an active noise reduction system based on an improved recurrent neural network, comprising:

[0022] A data acquisition module, used to acquire the signal data to be denoised;

[0023] A filtering control module is used to filter and control the noise signal based on the signal data to be denoised and the trained improved recurrent neural network model to generate a filtered signal;

[0024] The construction process of the improved recurrent neural network model is as follows: a gated recurrent unit is used to replace the tanh function in the hidden unit of the traditional recurrent neural network to form a gated RNN network, and a forget gate and a memory gate are used to process the noise signal with time correlation;

[0025] An anti-noise signal generating module, used for simulating the filtered signal through a secondary path model to obtain an anti-noise signal;

[0026] The noise elimination module is used to eliminate the noise signal according to the anti-noise signal based on the principle of destructive interference to obtain a denoised signal.

[0027] A third aspect of the present invention provides a computer-readable storage medium.

[0028] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the active noise reduction method based on an improved recurrent neural network as described above.

[0029] A fourth aspect of the present invention provides a computer device.

[0030] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the active noise reduction method based on an improved recurrent neural network as described above are implemented.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The present invention applies deep learning knowledge to the field of active noise reduction, and adopts gated recurrent units to replace the tanh function in the hidden units in the traditional recurrent neural network to form a gated RNN network. At the same time, forget gates and memory gates are used to process noise signals with time correlation; the input noise signal is filtered and controlled, which not only ensures the time correlation of the signal, but also improves the training efficiency.

[0033] The present invention obtains the main noise through the main path simulation model to filter the main noise, and at the same time simulates the filtered signal through the secondary path model to obtain an anti-noise signal, and finally generates an anti-noise signal (Anti-noise) with the same amplitude and opposite phase as the main noise by the filter controller, thereby achieving the purpose of completely eliminating the main noise. The nonlinear distortion problem in the traditional signal processing method and the problem that the traditional nonlinear method cannot well learn the time correlation of the noise signal are solved.

[0034] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0036] Figure 1 This is a flow chart of an active noise reduction method based on an improved recurrent neural network according to Embodiment 1 of the present invention;

[0037] Figure 2 This is a general flow chart of an active noise reduction method of an RNN network with a GRU according to an embodiment of the present invention;

[0038] Figure 3 This is a diagram of the internal structure of a GRU according to the first embodiment of the present invention;

[0039] Figure 4 This is a diagram of the RNN network structure with GRU according to the first embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0041] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0042] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0043] As mentioned in the background technology, the technical problems existing in the existing active noise reduction methods, the present invention uses GRU units to replace the Tanh units in the hidden layer of the RNN network to form a modified RNN network, which is used as the core algorithm of filtering control to filter and control the noise signal, obtain an anti-noise signal, and eliminate the noise signal according to the principle of destructive interference. Applying the knowledge of deep learning to the field of active noise reduction not only improves the noise reduction effect and training efficiency, but also solves the problem of nonlinear distortion in traditional signal processing methods and the problem that traditional nonlinear methods cannot learn the time correlation of noise signals well. In order to overcome the shortcomings of traditional active noise reduction methods, the present invention provides a gating method for active noise reduction, filters the primary noise, and generates an anti-noise signal (Anti-noise) with the same amplitude and opposite phase as the primary noise by the filtering controller, so as to achieve the purpose of completely eliminating the primary noise.

[0044] Embodiment 1

[0045] like Figure 1-Figure 2 As shown, this embodiment provides an active noise reduction method based on an improved recurrent neural network, comprising the following steps:

[0046] Step 1: Obtain noise signal data x(n);

[0047] As one or more embodiments, in step 1, the noise signal data x(n) is an analog sinusoidal signal;

[0048] It is understandable that the specific simulated sinusoidal signal can be set according to the actual needs of those skilled in the art; for example, the noise signal is simulated as a sinusoidal signal of 200 Hz and 300 Hz, and the sampling frequency is 2000 Hz.

[0049] Step 2: Simulate the noise signal x(n) through the main path model to obtain the main noise d(n);

[0050] As one or more embodiments, the main path model in the signal propagation process is designed to be a nonlinear model;

[0051] Assuming that the main path is a nonlinear function, the noise signal x(n) is simulated through the main path model to obtain the expression of the main noise d(n):

[0052] d(n)=f[x(n),p(n)]

[0053] d(n)=0.05x(n)-0.001x(n-1)+0.001x(n-2)+0.8x(n-3)+0.6x(n-4)-0.2x(n-5)-0.5x(n-6)-0.7x(n-7)+0.4x(n-8)-0.05x(n-9)+0.5x 3

[0054] Step 3: Train the improved recurrent neural network model according to the noise signal, use the trained improved recurrent neural network model to filter and control the noise signal, and generate a filtered signal u(n);

[0055] The calculation formula of u(n) is:

[0056] u(n)=V·GRU(x n ,u n-1 )

[0057] The main body of the improved neural network model is a recurrent neural network (RNN);

[0058] The construction process of the improved neural network model is as follows: a gated recurrent unit (GRU) is used to replace the tanh function in the hidden unit of the traditional recurrent neural network (RNN), thereby forming a gated RNN network, which retains the RNN network's ability to process time series signals, solves the gradient vanishing and gradient exploding problems, and improves processing efficiency;

[0059] like Figure 4 As shown in the RNN network structure diagram with GRU, in this embodiment, the improved recurrent neural network model is used as the core algorithm for controlling multi-frequency noise, replacing the traditional linear filter algorithm, and using Figure 3 The GRU with forget gate and memory gate shown in the figure processes the noise signal with time correlation, which not only ensures the time correlation of the signal but also improves the training efficiency.

[0060] The training process of the neural network model includes: using simulated noise signals under different signal-to-noise ratios as noise sources for training; obtaining an error signal e(n), calculating a loss function based on the error signal, and providing feedback to the neural network model until the network loss function is minimized and reaches a convergence state.

[0061] As one or more embodiments, calculating the loss function according to the error signal includes:

[0062] When the reference signal is a noise signal, the loss function is the mean square value of the error signal, and its formula is as follows:

[0063]

[0064] Where m is the signal length, e(n) is the error signal at the error microphone;

[0065] Step 4: Pass the filtered signal u(n) through the secondary path model to obtain the noise-resistant signal y(n);

[0066] As one or more embodiments, the secondary path model in the signal propagation process is designed to be a linear model;

[0067] Assuming that the secondary path is a linear function, the filtered signal u(n) passes through the secondary path model to obtain the noise-resistant signal y(n), which is expressed as:

[0068] y(n)=0.9u(n-1)+0.7u(n-2)-0.2u(n-3)-0.4u(n-4)-0.2u(n-5)+0.3u(n-6)=0.1u(n-7)+0.05u(n-8)

[0069] Step 5: Since the anti-noise signal and the noise signal have the same amplitude and opposite phase, according to the principle of destructive interference, the noise signal is eliminated according to the anti-noise signal;

[0070] Step 6: Use the sound pressure difference before and after noise reduction to evaluate the noise reduction effect of the system.

[0071] The evaluation formula is:

[0072] R = SPL (d (n)) - SPL (e (n))

[0073] Where R is the sound pressure to be reduced; SPL is the sound pressure level calculation formula, d(n) is the output signal obtained by simulating the noise signal x(n) through the main path model, and e(n) is the error signal at the error microphone;

[0074] SPL is the sound pressure level calculation formula, specifically:

[0075]

[0076] Where p(n) is the sound pressure measurement value at the specified position; p ref is the reference sound pressure. For air, p ref Generally it is 20μPa.

[0077] Embodiment 2

[0078] This embodiment provides an active noise reduction system based on an improved recurrent neural network, including:

[0079] The data acquisition module is configured to: acquire the signal data to be denoised;

[0080] The filtering control module is configured to: perform filtering control on the noise signal based on the signal data to be denoised and the trained improved recurrent neural network model to generate a filtered signal;

[0081] The construction process of the improved recurrent neural network model is as follows: a gated recurrent unit is used to replace the tanh function in the hidden unit of the traditional recurrent neural network to form a gated RNN network, and a forget gate and a memory gate are used to process the noise signal with time correlation;

[0082] The anti-noise signal generating module is configured to: obtain the anti-noise signal by simulating the filtered signal through the secondary path model;

[0083] The noise elimination module is configured to: according to the principle of destructive interference, eliminate the noise signal according to the anti-noise signal to obtain a denoised signal.

[0084] The residual noise measurement module is configured to: set an error microphone at a control position to measure the residual noise.

[0085] The training process of the improved recurrent neural network model includes:

[0086] Use simulated noise signals with different signal-to-noise ratios as noise sources for training;

[0087] The error signal is obtained, the loss function is calculated according to the error signal, and feedback is given to the improved recurrent neural network model until the network loss function is minimized and reaches a convergence state.

[0088] Embodiment 3

[0089] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the active noise reduction method based on an improved recurrent neural network as described above are implemented.

[0090] Embodiment 4

[0091] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the active noise reduction method based on an improved recurrent neural network as described above are implemented.

[0092] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0093] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0097] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An active noise reduction method based on an improved recurrent neural network, characterized in that: The steps include: Acquire signal data to be denoised; Based on the signal data to be denoised and the trained improved recurrent neural network model, the noise signal is filtered and controlled to generate a filtered signal; The construction process of the improved recurrent neural network model is as follows: a gated recurrent unit is used to replace the tanh function in the hidden unit of the traditional recurrent neural network to form a gated RNN network, and a forget gate and a memory gate are used to process the noise signal with time correlation; The filtered signal is simulated by a secondary path model to obtain a noise-resistant signal; According to the principle of destructive interference, the noise signal is eliminated according to the anti-noise signal to obtain the denoised signal.

2. The active noise reduction method based on an improved recurrent neural network as claimed in claim 1, characterized in that: The training process of the improved recurrent neural network model includes: Use simulated noise signals with different signal-to-noise ratios as noise sources for training; The error signal is obtained, the loss function is calculated according to the error signal, and feedback is given to the improved recurrent neural network model until the network loss function is minimized and reaches a convergence state.

3. The active noise reduction method based on an improved recurrent neural network as claimed in claim 1, characterized in that: The principle of destructive interference is based on the fact that the anti-noise signal and the noise signal have the same amplitude and opposite phase.

4. The active noise reduction method based on an improved recurrent neural network according to claim 1, characterized in that: After obtaining the denoised signal, the noise reduction effect of the system is evaluated by using the sound pressure difference before and after the noise reduction.

5. The active noise reduction method based on an improved recurrent neural network as claimed in claim 1, characterized in that: After obtaining the data of the signal to be denoised, the signal to be denoised containing the main noise is simulated through the main path model.

6. The active noise reduction method based on an improved recurrent neural network as claimed in claim 5, characterized in that: The primary path model is a nonlinear model, and the secondary path model is a linear model.

7. An active noise reduction system based on an improved recurrent neural network, characterized in that: include: A data acquisition module, used to acquire the signal data to be denoised; A filtering control module is used to filter and control the noise signal based on the signal data to be denoised and the trained improved recurrent neural network model to generate a filtered signal; The construction process of the improved recurrent neural network model is as follows: a gated recurrent unit is used to replace the tanh function in the hidden unit of the traditional recurrent neural network to form a gated RNN network, and a forget gate and a memory gate are used to process the noise signal with time correlation; An anti-noise signal generating module, used for simulating the filtered signal through a secondary path model to obtain an anti-noise signal; The noise elimination module is used to eliminate the noise signal according to the anti-noise signal based on the principle of destructive interference to obtain a denoised signal.

8. The active noise reduction method based on an improved recurrent neural network according to claim 1, characterized in that: The training process of the improved recurrent neural network model includes: Use simulated noise signals with different signal-to-noise ratios as noise sources for training; The error signal is obtained, the loss function is calculated according to the error signal, and feedback is given to the improved recurrent neural network model until the network loss function is minimized and reaches a convergence state.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of an active noise reduction method based on an improved recurrent neural network as described in any one of claims 1 to 7 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the active noise reduction method based on an improved recurrent neural network as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Nonlinear active noise control method, system and device

    CN121438791A