Active noise control method and device based on frequency dynamic tracking and storage medium
By using an active noise control method based on frequency dynamic tracking, the reference signal frequency is adjusted in real time and adaptively iteratively updated, which solves the problem of poor low-frequency line spectrum noise control effect in traditional technologies for ships, and achieves effective suppression of frequency drift and improvement of system stability.
Patent Information
- Application Number
- CN202511457323.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-13
- Publication Date
- 2026-01-02
AI Technical Summary
Traditional passive vibration isolation technology is difficult to effectively reduce low-frequency line spectrum noise of ships, especially the noise control effect of frequency drift is poor, which affects the stealth performance of ships and increases the risk of being detected by the enemy.
An active noise control method based on frequency dynamic tracking is adopted. By configuring an active noise control system containing an FxLMS algorithm unit, the reference signal frequency is adjusted in real time using a frequency correction unit and a secondary channel estimation unit. Combined with the FxLMS algorithm, adaptive iterative updates are performed to ensure the system's responsiveness to frequency shifts.
It achieves effective suppression of frequency drift noise in complex acoustic environments, improves system stability and control performance, reduces error signals, and enhances robustness and adaptive adjustment capability against frequency drift.
Smart Images

Figure CN121260137A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of active noise control technology, and in particular to an active noise control method, device and storage medium based on frequency dynamic tracking. Background Technology
[0002] With the increasing severity of low-frequency noise radiation from underwater vehicles and ships, traditional passive vibration isolation techniques are insufficient to effectively reduce low-frequency line spectrum noise caused by frequency shifts. In practical applications, ship noise exhibits distinct low-frequency line spectrum characteristics, which not only affect the ship's stealth performance but also increase the risk of detection by the enemy. Although existing passive noise reduction technologies, such as vibration isolation and sound absorption, can suppress noise to some extent, their effectiveness in suppressing low-frequency line spectrum noise is limited, especially in controlling noise that has experienced frequency drift.
[0003] Drift spectrum is a common frequency spectrum feature, characterized by the shift of specific frequency components in a signal over time. In active control line spectrum noise processing, when the system operates for extended periods, the control signal frequency may drift, leading to errors in the signal generator and causing deviations between the reference signal and the prior frequency, thus affecting the effectiveness of active control. Drift spectrum typically occurs in dynamic environments, such as underwater vehicles, mechanical equipment, or communication systems, and its causes may include vibration, motion, temperature changes, or external interference. Drift spectrum leads to unstable noise frequencies, posing challenges to noise suppression and signal processing; therefore, real-time tracking and suppression of frequency drift are necessary to improve system performance and stability.
[0004] Adaptive Notch Filtering (ANFA) and Active Noise Control (ANC) are effective methods for solving this problem. ANC generates secondary sound waves with the same amplitude but opposite phase to the noise source, utilizing the principle of coherent interference to cancel the noise. In this process, the Filtered-x Least Mean Square (FxLMS) algorithm is widely used in practical engineering due to its high efficiency and strong real-time performance. However, traditional FxLMS algorithms are mostly based on a fixed frequency assumption. When the noise source experiences frequency drift, the control performance deteriorates sharply, manifesting as increased error signals and unstable control filter weights, leading to poor control results. Therefore, it is necessary to improve existing algorithms to adapt to the actual situation of frequency shift.
[0005] Therefore, this invention proposes an active noise control method based on frequency dynamic tracking, which aims to improve the system's response to frequency offset noise in order to meet the urgent needs of underwater radiated noise control in ships and ensure effective noise suppression even in complex and variable acoustic environments. Summary of the Invention
[0006] In view of this, the present invention proposes an active noise control method, device and storage medium based on frequency dynamic tracking that can adaptively adjust according to frequency offset noise and improve the response capability to frequency offset noise.
[0007] On the one hand, the present invention provides an active noise control method based on frequency dynamic tracking, including the following: An active noise control system including an FxLMS algorithm unit is configured: the active noise control system further includes a first adaptive filter, a second adaptive filter, a frequency correction unit, a first comparison unit, a secondary channel estimation unit, a secondary channel unit, and a second comparison unit; the output terminals of the first adaptive filter and the second adaptive filter are connected to the input terminal of the first comparison unit, the output terminal of the first comparison unit is connected to the input terminal of the secondary channel unit, and the output terminal of the secondary channel unit is connected to the second comparison unit; the output terminal of the secondary channel estimation unit is connected to the FxLMS algorithm unit, the FxLMS algorithm unit acquires the output of the second receiving comparison unit, the output terminal of the FxLMS algorithm unit is also connected to the frequency correction unit, and the frequency correction unit is also connected to the input terminals of the first adaptive filter and the second adaptive filter; The reference signal is fed into the first adaptive filter and the second adaptive filter for processing. The frequency correction unit adds frequency correction weighting coefficients to the reference signal. Then, the outputs of the first adaptive filter and the second adaptive filter are summed by the first comparison unit and fed into the secondary channel unit, which generates the secondary output signal. The secondary output signal is further fed into the second comparison unit. The reference signal is also sent to the secondary channel estimation unit. After processing the reference signal, the secondary channel estimation unit obtains the filtered reference signal and sends the filtered reference signal to the FxLMS algorithm unit. The second comparison unit sends the error signal between the target narrowband noise and the secondary output signal to the FxLMS algorithm unit; the target narrowband noise is generated based on the reference signal. The FxLMS algorithm unit adaptively iteratively updates the weight coefficients of the first adaptive filter, the second adaptive filter, and the frequency correction weight coefficients of the frequency correction unit until the active noise control system converges.
[0008] Based on the above technical solutions, the preferred one is... n The reference signals at each time point are orthogonal. and , , ,in This is the initial noise frequency.
[0009] Preferably, the frequency correction unit adds frequency correction weighting coefficients to the reference signal by adjusting the reference signal using the first adaptive filter and the second adaptive filter, respectively. and Add before processing n Frequency correction weight coefficients at time The frequency correction weights are obtained. n Reference signal at time and : , .
[0010] Further optimization, let n The weight coefficients of the first adaptive filter and the second adaptive filter at time t are: The result of summing the first comparison unit It is to combine the first adaptive filter and the second adaptive filter in n The weighting coefficients at time points are synthesized from the reference signal by adding frequency-corrected weighting coefficients. The result of the secondary channel unit summing over the first comparison unit. Further processing yields the secondary output signal. : , These are the coefficients of the secondary channel unit.
[0011] Furthermore, preferably, the reference signal is also fed into a secondary channel estimation unit. The secondary channel estimation unit processes the reference signal to obtain a filtered reference signal, whereby the coefficients of the secondary channel estimation unit are set to... Then the filtered reference signal , for .
[0012] More preferably, the second comparison unit sends the error signal between the target narrowband noise and the secondary output signal to the FxLMS algorithm unit, so that the target narrowband noise is , , The discrete Fourier coefficients are the frequencies corresponding to the target narrowband noise. Random environmental noise; error signal Through Obtained.
[0013] Furthermore, the FxLMS algorithm unit adaptively iteratively updates the weight coefficients of the first adaptive filter, the second adaptive filter, and the frequency correction weight coefficients of the frequency correction unit, which makes... n The weight coefficients of the first and second adaptive filters at time +1 are: The frequency correction weighting coefficient of the frequency correction unit is The iterative formula is: , , , These are the step size factors for updating the weight coefficients and frequency correction weight coefficients of the first adaptive filter and the second adaptive filter, respectively. t For parameter items.
[0014] Further optimized step size factor for updating frequency correction weight coefficients μ 3 is proportional to the reciprocal of the parameter term, 1 / t .
[0015] On the other hand, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory, wherein when the processor executes the computer program, it implements the above-described active noise control method based on frequency dynamic tracking.
[0016] Thirdly, the present invention provides a computer-readable storage medium for storing a computer program that, when executed by a processor, implements the above-described active noise control method based on dynamic frequency tracking.
[0017] The active noise control method, device, and storage medium based on frequency dynamic tracking provided by this invention have the following advantages compared with the prior art: 1. This invention directly corrects the frequency of the reference signal before it enters the weight update stage, and adjusts the two orthogonal reference signals in real time, thereby enabling the tracking of possible frequency shifts in target noise; the orthogonal reference signals can be used to control the amplitude and phase of the secondary signal. 2. The secondary channel estimation unit is a key component for the convergence of the FxLMS algorithm unit. The model of the secondary channel estimation unit is estimated offline, and the original reference signal is filtered to generate a filtered reference signal for subsequent weight coefficient updates. This ensures that the update direction takes into account the delay and amplitude-phase characteristics of the secondary path, thus guaranteeing system stability and convergence performance. 3. The FxLMS algorithm unit uses the filtered reference signal and error signal to adjust the filter weight coefficients and frequency correction coefficients, and adjusts the magnitude of the reference frequency to make it close to the true instantaneous frequency of the target narrowband noise, driving the system to converge in the direction of minimizing the error signal, thereby achieving optimal noise cancellation. 4. Step size factor μ 3 controls the update speed and stability of the frequency correction weight coefficients, given by 1 / t The direct proportionality relationship optimizes the convergence speed of the tracking process and enhances the algorithm's robustness to frequency shift and its adaptive adjustment capability. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a block diagram of the system structure of the active noise control method, device and storage medium based on frequency dynamic tracking of the present invention; Figure 2 This is a flowchart illustrating the algorithm for introducing frequency correction in the active noise control method, device, and storage medium based on frequency dynamic tracking of the present invention. Figure 3 The acoustic wave variation results generated by the conventional adaptive notch filtering algorithm; Figure 4 The simulation results are for the active noise control method, device and storage medium based on frequency dynamic tracking of the present invention. Detailed Implementation
[0020] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0021] Traditional FxLMS algorithms are mostly based on a fixed frequency assumption. When the noise source experiences frequency drift, the control performance deteriorates sharply, manifesting as increased error signals and unstable control filter weights, ultimately leading to poor control performance. Therefore, as... Figure 1 As shown, this invention provides an active noise control method based on frequency dynamic tracking, including the following: S1: Configure an active noise control system including an FxLMS algorithm unit: The active noise control system further includes a first adaptive filter, a second adaptive filter, a frequency correction unit, a first comparison unit, a secondary channel estimation unit, a secondary channel unit, and a second comparison unit; the output terminals of the first adaptive filter and the second adaptive filter are connected to the input terminal of the first comparison unit, the output terminal of the first comparison unit is connected to the input terminal of the secondary channel unit, and the output terminal of the secondary channel unit is connected to the second comparison unit; the output terminal of the secondary channel estimation unit is connected to the FxLMS algorithm unit, the FxLMS algorithm unit acquires the output of the second receiving comparison unit, the output terminal of the FxLMS algorithm unit is also connected to the frequency correction unit, and the frequency correction unit is also connected to the input terminals of the first adaptive filter and the second adaptive filter.
[0022] like Figure 1 Combination Figure 2 As shown in the figure, the main path unit P ( Z Used to receive external noise signals d ( n Secondary channel unit S ( Z The unknown is the secondary channel unit. S ( Z The transfer function of an adaptive filter W ( Z After that, the input signal passes through an adaptive filter. W ( Z The signal is obtained after processing. y ( n Then through the secondary channel unit S ( Z Generate a secondary output signal based on external noise signal and signal. y ( n The error signal obtained e ( n The data is fed into the adaptive algorithm unit, namely the FxLMS algorithm unit of this application, to update the adaptive filter. W ( Z The weight of ).
[0023] S2: The reference signal is fed into the first adaptive filter and the second adaptive filter for processing. The frequency correction unit adds frequency correction weight coefficients to the reference signal. Then, the outputs of the first adaptive filter and the second adaptive filter are summed by the first comparison unit and fed into the secondary channel unit. The secondary channel unit generates a secondary output signal. The secondary output signal is further fed into the second comparison unit.
[0024] Among them, such as Figure 2 As shown,n Reference signal at time x ( n ) are divided into orthogonal and , , ,in The initial noise frequency is given. The adaptive filter in the figure includes a first adaptive filter. W 1 ( Z ), second adaptive filter W 2 ( Z and frequency correction unit W 3 ( Z ); First adaptive filter W 1 ( Z ), second adaptive filter W 2 ( Z ) is used to add weighting coefficients to the reference signal, let n The weight coefficients of the first adaptive filter and the second adaptive filter at time t are: Frequency correction unit W 3 ( Z This is used to add frequency correction weighting coefficients to the reference signal, that is, the first adaptive filter and the second adaptive filter respectively adjust the reference signal... and Add before processing n Frequency correction weight coefficients at time The frequency correction weights are obtained. n Reference signal at time and : , .
[0025] The first comparison unit, namely Figure 2 The first circle in the output shows the summation result. It is to combine the first adaptive filter and the second adaptive filter in n The weighting coefficients at time points are synthesized from the reference signal by adding frequency-corrected weighting coefficients. Secondary channel unit Hr ( Z The result of summing over the first comparison unit Further processing yields the secondary output signal. : , Secondary channel unit Hr ( Z The coefficient of ).
[0026] S3: Second comparison unit, i.e. Figure 2The second circle on the right is used to obtain the error signal between the target narrowband noise and the secondary output signal. e ( n The signal is fed into the FxLMS algorithm unit; the target narrowband noise is generated based on the reference signal.
[0027] Specifically, it is to make the target narrowband noise as , , The discrete Fourier coefficients are the frequencies corresponding to the target narrowband noise. Random environmental noise; error signal Through Obtained.
[0028] S4: n Reference signal at time x ( n It is also fed into the secondary channel estimation unit. Hs ( Z In the secondary channel estimation unit Hs ( Z After processing the reference signal, a filtered reference signal is obtained, and the filtered reference signal is sent into the FxLMS algorithm unit.
[0029] Specifically, let the coefficients of the secondary channel estimation unit be... Then the filtered reference signal , for , .
[0030] Secondary channel estimation unit Hs ( Z The model of the secondary channel unit is estimated offline, and the original reference signal is filtered to generate a filtered reference signal for subsequent weight coefficient update, ensuring that the update direction takes into account the delay and amplitude-phase characteristics of the secondary path.
[0031] S5: The FxLMS algorithm unit adaptively iteratively updates the weight coefficients of the first adaptive filter, the second adaptive filter, and the frequency correction weight coefficients of the frequency correction unit until the active noise control system converges.
[0032] The FxLMS algorithm unit adaptively iteratively updates the weight coefficients of the first adaptive filter, the second adaptive filter, and the frequency correction weight coefficients of the frequency correction unit, thereby making... n The weight coefficients of the first and second adaptive filters at time +1 are: The frequency correction weighting coefficient of the frequency correction unit is The iterative formula is: , , , These are the step size factors for updating the weight coefficients and frequency correction weight coefficients of the first adaptive filter and the second adaptive filter, respectively. t For parameter items.
[0033] The FxLMS algorithm unit uses the filtered reference signal and error signal to adjust the filter weight coefficients and frequency correction coefficients, and adjusts the magnitude of the reference frequency to make it approximate the true instantaneous frequency of the target narrowband noise, driving the system to converge in the direction of minimizing the error signal, thereby achieving optimal noise cancellation.
[0034] As an embodiment of this scheme, in order to verify the universality of the active noise control method based on frequency dynamic tracking of the present invention, a 1000Hz sine signal obtained from prior information under the interference of 20dB white noise was used to generate a 5Hz offset in the control, and then a 1005Hz single-frequency signal was generated from the main sound source. The following compares the noise reduction effect of the conventional adaptive notch filtering algorithm ANFA and the algorithm proposed in this invention on the error point.
[0035] like Figure 3 and Figure 4 As shown, two algorithms are used to control the sound pressure change at the error point. Figure 3 The acoustic wave changes generated by the conventional adaptive notch filtering algorithm. Figure 4 To introduce frequency correction weights The notch filter algorithm causes changes in sound waves. Introducing a frequency correction weight coefficient into the notch filter algorithm can correct the frequency, reduce the sound pressure at error points, improve the control effect, and detect changes caused by the iteration process. t The product of terms can accumulate over time, causing significant iteration errors. Therefore, a step size factor for updating the frequency correction weight coefficients needs to be set during the iteration process. μ 3 proportional to 1 / t Under these conditions, this algorithm can improve the problem of frequency shift in active control.
[0036] Step size factor μ 3 controls the update speed and stability of the frequency correction weight coefficients, given by 1 / t The direct proportionality relationship optimizes the convergence speed of the tracking process and enhances the algorithm's robustness to frequency shift and its adaptive adjustment capability.
[0037] Secondly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the processor executes the computer program, it implements the above-described active noise control method based on frequency dynamic tracking.
[0038] Thirdly, the present invention provides a computer-readable storage medium for storing a computer program that, when executed by a processor, implements the above-described active noise control method based on dynamic frequency tracking.
[0039] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method of active noise control based on frequency dynamic tracking, characterized in that, The application relates to an active noise control system comprising an FxLMS algorithm unit, and the active noise control system further comprises a first adaptive filter, a second adaptive filter, a frequency correction unit, a first comparison unit, a secondary path estimation unit, a secondary path unit and a second comparison unit; the output ends of the first adaptive filter and the second adaptive filter are connected with the input end of the first comparison unit, the output end of the first comparison unit is connected with the input end of the secondary path unit, and the output end of the secondary path unit is connected with the second comparison unit; the output end of the secondary path estimation unit is connected with the FxLMS algorithm unit, the FxLMS algorithm unit obtains the output of the second comparison unit, the output end of the FxLMS algorithm unit is further connected with the frequency correction unit, and the frequency correction unit is further connected with the input ends of the first adaptive filter and the second adaptive filter; a reference signal is sent into the first adaptive filter and the second adaptive filter for processing, the frequency correction unit adds a frequency correction weight coefficient into the reference signal, then the outputs of the first adaptive filter and the second adaptive filter are summed by the first comparison unit and sent into the secondary path unit, the secondary path unit generates a secondary output signal, and the secondary output signal is further sent into the second comparison unit; the reference signal is also sent into the secondary path estimation unit, the secondary path estimation unit processes the reference signal to obtain a filtered reference signal, and the filtered reference signal is sent into the FxLMS algorithm unit; the second comparison unit sends an error signal between a target narrow-band noise and the secondary output signal into the FxLMS algorithm unit, and the target narrow-band noise is generated based on the reference signal; the FxLMS algorithm unit adaptively and iteratively updates the weight coefficients of the first adaptive filter and the second adaptive filter and the frequency correction weight coefficient of the frequency correction unit until the active noise control system converges. The processor executes the computer program to realize the active noise control method based on frequency dynamic tracking.
2. The active noise control method based on frequency dynamic tracking according to claim 1, wherein, n The reference signal at time t is orthogonal and , , where is the initial noise frequency.
3. The active noise control method based on frequency dynamic tracking according to claim 2, wherein, The frequency correction unit adds a frequency correction weight coefficient to the reference signal. The first adaptive filter and the second adaptive filter add the frequency correction weight coefficient to the reference signal at a time point before processing the reference signal and . n The frequency correction weight coefficient is added at the time point , and a reference signal at the time point to which the frequency correction weight coefficient is added is obtained n and and : , .
4. The active noise control method based on frequency dynamic tracking according to claim 3, characterized in that, make n The weight coefficients of the first adaptive filter and the second adaptive filter at time t are: The result of summing the first comparison unit It is to combine the first adaptive filter and the second adaptive filter in n The weighting coefficients at time points are synthesized from the reference signal by adding frequency-corrected weighting coefficients. The result of the secondary channel unit summing over the first comparison unit. Further processing yields the secondary output signal. : , These are the coefficients of the secondary channel unit.
5. The active noise control method based on frequency dynamic tracking according to claim 4, characterized in that, The reference signal is also sent into a secondary channel estimation unit, which processes the reference signal to obtain a filtered reference signal, with the coefficients of the secondary channel estimation unit being then the filtered reference signal is , , . 6. The active noise control method based on frequency dynamic tracking according to claim 4, wherein, The second comparison unit sends an error signal between the target narrow-band noise and the secondary output signal into the FxLMS algorithm unit, which is to make the target narrow-band noise , , a discrete Fourier coefficient corresponding to a frequency in the target narrow-band noise, a random ambient noise; the error signal is obtained by .
7. The active noise control method based on frequency dynamic tracking according to claim 6, wherein, The FxLMS algorithm unit adaptively and iteratively updates the weight coefficients of the first adaptive filter and the second adaptive filter and the frequency correction weight coefficients of the frequency correction unit, which are n the weight coefficients of the first adaptive filter and the second adaptive filter at the time of t+1 are the frequency correction weight coefficients of the frequency correction unit are and the iteration formula is: , , , are the step factors for updating the weight coefficients and the frequency correction weight coefficients of the first adaptive filter and the second adaptive filter, respectively, t is a parameter term.
8. The active noise control method based on frequency dynamic tracking according to claim 7, wherein, Step factor for frequency correction weight coefficient update The computer program is executed by the processor to realize the active noise control method based on frequency dynamic tracking. 3 is proportional to the inverse of the parameter term 1 / t .
9. A computer device comprising a memory, a processor, and a computer program stored on the memory, wherein the computer program comprises instructions that, when executed by the processor, cause the processor to perform the method of any one of claims 1-8. 10. A computer readable storage medium for storing a computer program, characterized in that,
