Adaptive denoising method and device for distributed optical fiber acoustic wave sensing

The denoising model optimized by adaptive filtering and self-supervised learning solves the problem of poor noise suppression in distributed fiber optic acoustic wave sensing systems, and achieves stable denoising and signal fidelity under different noise conditions.

CN123155012APending Publication Date: 2026-11-24UNIV OF SCI & TECH OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611646438.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In practical engineering deployments, the demodulated output signal of distributed fiber optic acoustic sensing systems is often superimposed with significant instrument noise components. Existing noise reduction methods lack adaptability and robustness when facing non-stationary noise and aliasing of multiple types of target signals, resulting in poor noise suppression performance.

Method used

By using adaptive filtering, the reference noise signal is dynamically matched to the actual noise component in the noisy signal. Combined with a denoising model optimized by self-supervised learning, time-frequency features are extracted and control parameters are output for adaptive denoising, thus eliminating the dependence on noisy-clean pairing labels.

Benefits of technology

It achieves stable denoising under different noise conditions, effectively suppresses the instrument's background noise while retaining the waveform and amplitude information of the effective vibration signal, and improves the adaptability and robustness of the denoising process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155012A_ABST
    Figure CN123155012A_ABST
Patent Text Reader

Abstract

This invention provides an adaptive denoising method and apparatus for distributed fiber optic acoustic sensing, mainly relating to the field of signal processing technology. The adaptive denoising method includes: acquiring a noisy signal from a fiber optic sensing channel and a reference noise signal from a vibration isolation reference channel; adaptively filtering the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal; processing the first spectral feature of the noisy signal in the time-frequency domain and the second spectral feature of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters, wherein the denoising model is obtained through adaptive optimization using a self-supervised learning method; and denoising the noisy signal according to the control parameters to obtain an adaptive denoising result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal processing technology, and more specifically, to an adaptive denoising method and apparatus for distributed fiber optic acoustic wave sensing. Background Technology

[0002] Distributed fiber optic acoustic wave sensing systems can achieve continuous distributed vibration sensing in both distance and time dimensions by coherently detecting and demodulating the phase of the backscattered Rayleigh echo from optical fibers. This can serve applications such as geophysical observation, engineering structure monitoring, pipeline safety monitoring, and perimeter security.

[0003] In realizing the concept of this invention, the inventors discovered at least the following problems in the related technology. In actual engineering deployments, the demodulated output of distributed fiber optic acoustic sensing is often not an ideal, pure vibration signal, but rather superimposed with significant instrument noise components. System noise is affected, resulting in increased noise floor, local glitches, thickened spectral floor, or decreased stability in the demodulation results. Existing commonly used denoising methods generally have limitations in their adaptability and robustness when dealing with instrument noise, non-stationary noise, and aliasing of multiple types of target signals. Summary of the Invention

[0004] In view of this, the present invention provides an adaptive noise reduction method and apparatus for distributed fiber optic acoustic sensing.

[0005] One aspect of the present invention provides an adaptive denoising method, comprising: acquiring a noisy signal from an optical fiber sensing channel and a reference noise signal from a vibration isolation reference channel; adaptively filtering the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal; processing a first spectral feature of the noisy signal in the time-frequency domain and a second spectral feature of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters, wherein the denoising model is obtained through adaptive optimization using a self-supervised learning method; and denoising the noisy signal according to the control parameters to obtain an adaptive denoising result; wherein the denoising model is obtained by processing the first spectral feature and the second spectral feature using an initial denoising model configured with a k-th weight parameter to obtain a k-th control parameter, where k≥1; The noisy signal is denoised according to the k-th control parameter to obtain the k-th denoised result. A time-frequency transformation is performed on the k-th denoised result to obtain the time-frequency energy spectrum. A smoothing constraint loss term is determined based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence. A sparse constraint loss term is determined based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain. A signal-to-noise ratio (SNR) driven loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum, where the effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on preset time frames. A self-supervised loss function is constructed based on the smoothing constraint loss term, the sparse constraint loss term, and the SNR driven loss term. The k-th weight parameter is iteratively updated through backpropagation with the goal of minimizing the self-supervised loss function to obtain the (k+1)-th weight parameter. This process is repeated until the preset convergence condition is met to obtain the denoised model.

[0006] According to an embodiment of the present invention, both the reference noise signal and the noisy signal include multiple sampling times. The sampling times of the reference noise signal and the noisy signal are the same. The actual noise component is used to indicate the distribution of the noise sample values ​​at each sampling time across multiple sampling times. Adaptive filtering is performed on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal. This includes: using the noise sample values ​​of the reference noise signal at each sampling time, adaptive filtering is performed on the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time. The filtered output signals at each sampling time are combined according to the sampling time to form the adaptive noise reference signal.

[0007] According to an embodiment of the present invention, the noisy sample values ​​of the reference noise signal at each sampling time are used to adaptively filter the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time. This includes: at the nth sampling time, constructing an input feature vector (n≥1) based on the noisy sample values ​​of the noisy signal at multiple consecutive sampling times including the nth sampling time; obtaining the filtered output signal at the nth sampling time based on the inner product of the input feature vector and the weight coefficient vector at the nth sampling time; obtaining the error signal at the nth sampling time based on the difference between the noise sample value of the reference noise signal at the nth sampling time and the filtered output signal at the nth sampling time; and updating the weight coefficient vector at the nth sampling time based on the product of the error signal at the nth sampling time, the input feature vector, and the step size factor to obtain the weight coefficient vector at the (n+1)th sampling time.

[0008] According to an embodiment of the present invention, the method further includes: a first spectral feature including the power spectrum of the noisy signal, a second spectral feature including the power spectrum of an adaptive noise reference signal, and control parameters including a gain factor and an over-subtraction factor; performing denoising processing on the noisy signal according to the control parameters to obtain an adaptive denoising result, including: scaling the power spectrum of the adaptive noise reference signal proportionally using the over-subtraction factor to obtain a scaled reference power spectrum; obtaining a target power spectrum based on the difference between the power spectrum of the noisy signal and the scaled reference power spectrum; scaling the target power spectrum according to the gain factor to obtain an enhanced power spectrum; reconstructing the time-domain signal corresponding to the noisy signal based on the enhanced power spectrum and the phase spectrum of the noisy signal to obtain a first-level denoised signal; and using the first-level denoised signal as the adaptive denoising result.

[0009] According to an embodiment of the present invention, the control parameters further include wavelet parameters; the noisy signal is denoised according to the control parameters to obtain an adaptive denoising result, and the process further includes: performing multi-level wavelet decomposition on the first-level denoised signal to obtain wavelet coefficients of each level; performing shrinkage processing on the wavelet coefficients of each level according to the wavelet parameters to obtain the shrunken wavelet coefficients of each level; performing inverse wavelet transform reconstruction on the shrunken wavelet coefficients of each level to obtain a second-level denoised signal; and using the second-level denoised signal as the adaptive denoising result.

[0010] According to an embodiment of the present invention, the above method further includes: wavelet parameters including wavelet basis type, number of decomposition levels and scale factor; performing multi-level wavelet decomposition on the first-level denoised signal to obtain wavelet coefficients of each level, including: determining the mother wavelet function according to the wavelet basis type; using the mother wavelet function, decomposing the first-level denoised signal according to the number of decomposition levels to obtain wavelet coefficients of each level.

[0011] According to an embodiment of the present invention, the wavelet coefficients of each layer are shrunk according to wavelet parameters to obtain shrunk wavelet coefficients of each layer, including: determining the shrinkage ratio of each layer wavelet coefficient according to the statistical standard deviation and scaling factor of each layer wavelet coefficient; and shrunk the wavelet coefficients of each layer according to the shrinkage ratio to obtain shrunk wavelet coefficients of each layer.

[0012] According to an embodiment of the present invention, the wavelet coefficients of each layer are shrunk according to the shrinkage ratio to obtain the shrunk wavelet coefficients of each layer, including: for each coefficient in each layer of wavelet coefficients, if the absolute value of the coefficient is less than or equal to the shrinkage ratio, the coefficient is set to zero; if the absolute value of the coefficient is greater than the shrinkage ratio, the shrunk coefficient is obtained based on the difference between the absolute value of the coefficient and the shrinkage ratio, and the sign of the coefficient.

[0013] According to an embodiment of the present invention, the signal-to-noise ratio (SNR) driving loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum, including: determining the first M frames of the time-frequency energy spectrum in the time frame sequence as the noise reference region and the remaining frames as the effective signal region, where M≥1; determining the SNR estimate based on the ratio of the average energy of the effective signal region to the average energy of the noise reference region; and constructing the SNR driving loss term based on the negative value of the SNR estimate.

[0014] Another aspect of the present invention provides an adaptive denoising device for distributed fiber optic acoustic wave sensing, comprising: an acquisition module for acquiring a noisy signal from a fiber optic sensing channel and a reference noise signal from a vibration isolation reference channel; a filtering module for adaptively filtering the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal; a first processing module for processing a first spectral feature of the noisy signal in the time-frequency domain and a second spectral feature of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters, wherein the denoising model is obtained through adaptive optimization using a self-supervised learning method; and a second processing module for denoising the noisy signal according to the control parameters to obtain an adaptive denoising result; wherein the denoising model is obtained by: using an initial denoising model configured with a k-th weight parameter to process the first spectral feature and the second spectral feature of the adaptive noise reference signal in the time-frequency domain to obtain control parameters, ... The two-spectral features are processed to obtain the k-th control parameter, k≥1; the noisy signal is denoised according to the k-th control parameter to obtain the k-th denoised result; the k-th denoised result is subjected to time-frequency transformation to obtain the time-frequency energy spectrum; the smoothing constraint loss term is determined according to the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence; the sparsity constraint loss term is determined according to the mean amplitude of the time-frequency energy spectrum in the time-frequency domain; the signal-to-noise ratio driving loss term is determined according to the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum, the effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on the preset time frame; a self-supervised loss function is constructed based on the smoothing constraint loss term, the sparsity constraint loss term, and the signal-to-noise ratio driving loss term; the k-th weight parameter is backpropagated and iteratively updated with the goal of minimizing the self-supervised loss function to obtain the (k+1)-th weight parameter; the operation is repeated until the preset convergence condition is met to obtain the denoised model.

[0015] Another aspect of the present invention provides an electronic device comprising:

[0016] One or more processors; memory for storing one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors cause the one or more processors to perform the methods described above.

[0017] Another aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed, are used to implement the method described above.

[0018] Another aspect of the present invention provides a computer program product including computer-executable instructions that, when executed, are used to implement the method described above.

[0019] According to embodiments of this disclosure, through adaptive filtering, the reference noise signal from the vibration isolation reference channel is dynamically matched to an adaptive noise reference signal corresponding to the actual noise component in the noisy signal, providing a more accurate noise floor estimate for subsequent time-frequency domain processing. Based on this, a denoising model optimized through self-supervised learning is used to extract time-frequency features from the noisy signal and the adaptive noise reference signal and output control parameters. This allows the control parameters to be adaptively determined according to the noise state of the current data segment, eliminating the dependence on noisy-clean pairing labels. Therefore, denoising based on a precisely matched noise reference and adaptively optimized control parameters can achieve stable denoising effects under different noise conditions and in different data segments, effectively suppressing the instrument's background noise while preserving the waveform shape and amplitude information of the effective vibration signal.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0021] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings.

[0022] Figure 1 An exemplary system architecture for an adaptive denoising method for distributed fiber optic acoustic sensing according to an embodiment of the present invention is shown.

[0023] Figure 2 A flowchart of an adaptive denoising method according to an embodiment of the present invention is shown.

[0024] Figure 3 A schematic diagram of the spectral subtraction parameter prediction network in the denoising model according to an embodiment of the present invention is shown.

[0025] Figure 4 A schematic diagram of a wavelet parameter prediction network in a denoising model according to another embodiment of the present invention is shown.

[0026] Figure 5 A flowchart of an adaptive denoising method according to a specific embodiment of the present invention is shown.

[0027] Figure 6 A system architecture diagram of an adaptive denoising system according to a specific embodiment of the present invention is shown.

[0028] Figure 7 A block diagram of an adaptive noise reduction apparatus according to an embodiment of the present invention is shown.

[0029] Figure 8A block diagram of an electronic device using an adaptive denoising method according to an embodiment of the present disclosure is shown. Detailed Implementation

[0030] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the invention. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the invention for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.

[0031] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0032] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0033] Distributed Acoustic Sensing (DAS) is a sensing technology based on the principle of backscattering Rayleigh scattering in optical fibers. This technology injects laser pulses into an optical fiber and detects the phase changes of the backscattered Rayleigh light to acquire vibration or acoustic signals at various locations continuously distributed along the fiber's length. DAS technology offers advantages such as high spatial resolution, long sensing distance, resistance to electromagnetic interference, and real-time monitoring, and is widely used in geophysical observation, engineering structure monitoring, and pipeline safety monitoring.

[0034] In practical engineering deployments, the demodulated output of a distributed fiber optic acoustic wave (DAS) sensing system is usually not an ideal, pure vibration signal, but rather a signal superimposed with multiple noise components. The superposition of multiple noise sources results in a higher level of noise type and complexity in the DAS signal compared to measurements from traditional sensors; at the same noise level, its signal-to-noise ratio is often lower than that recorded by a conventional detector. Furthermore, the noise frequency band of the DAS signal often overlaps with the frequency band of the effective signal, making it difficult to effectively denoise by relying solely on frequency filtering.

[0035] Various denoising methods have been proposed to address noise issues in DAS signals. While time-frequency domain filtering can suppress out-of-band noise, it is ineffective at handling noise components overlapping with the signal frequency band. For this type of noise overlapping with the signal frequency band, related techniques employ either parameterized or data-driven methods for suppression. The former relies on manually set parameters to adapt to different scenarios, while the latter, although requiring no manual parameter tuning, demands a large amount of noisy-clean paired sample data for training. Obtaining truly clean signals in DAS engineering scenarios is extremely difficult.

[0036] In view of this, embodiments of the present invention employ adaptive filtering to dynamically match the reference noise signal from the vibration isolation reference channel to an adaptive noise reference signal corresponding to the actual noise component in the noisy signal, thereby providing a more accurate noise floor estimate for subsequent time-frequency domain processing. Based on this, a denoising model optimized through self-supervised learning is used to extract time-frequency features from the noisy signal and the adaptive noise reference signal and output control parameters. This allows the control parameters to be adaptively determined according to the noise state of the current data segment, while eliminating the dependence on noisy-clean pairing labels. Thus, denoising based on a precisely matched noise reference and adaptively optimized control parameters achieves stable denoising effects under different noise conditions and on different data segments, effectively suppressing the instrument's background noise while preserving the waveform shape and amplitude information of the effective vibration signal.

[0037] Specifically, embodiments of the present invention provide an adaptive denoising method for distributed fiber optic acoustic sensing. The adaptive denoising method includes: acquiring a noisy signal from a fiber optic sensing channel and a reference noise signal from a vibration isolation reference channel; adaptively filtering the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal; processing the first spectral feature of the noisy signal in the time-frequency domain and the second spectral feature of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters, wherein the denoising model is obtained through adaptive optimization using a self-supervised learning method; and denoising the noisy signal according to the control parameters to obtain an adaptive denoising result.

[0038] Figure 1 An exemplary system architecture for an adaptive denoising method for distributed fiber optic acoustic sensing according to an embodiment of the present invention is shown. It should be noted that... Figure 1 The examples shown are merely examples of system architectures that can be applied to the embodiments of this disclosure, in order to help those skilled in the art understand the technical content of this disclosure, but do not mean that the embodiments of this disclosure cannot be used in other devices, systems, environments or scenarios.

[0039] like Figure 1As shown, the system architecture according to this embodiment may include a first sensing device 101, a second sensing device 102, a third sensing device 103, a network 104, and a signal processing device 105. The network 104 serves as a medium for providing communication links between the first sensing device 101, the second sensing device 102, the third sensing device 103, and the signal processing device 105. The network 104 may include various connection types, such as wired and / or wireless communication links.

[0040] The first sensing device 101, the second sensing device 102, and the third sensing device 103 can be various sensing devices with signal acquisition and transmission functions and support data interaction, including but not limited to distributed fiber optic acoustic wave sensor demodulators, fiber optic sensor signal acquisition devices, edge computing nodes, etc. Among them, the first sensing device 101, the second sensing device 102, and the third sensing device 103 support users initiating signal acquisition and noise reduction processing requests through a graphical interface or API interface.

[0041] The signal processing device 105 can be a server that provides various services, such as a background processing server that supports users in collecting DAS signals using the first sensing device 101, the second sensing device 102, and the third sensing device 103 (this is just an example). The background processing server can perform signal demodulation, noise estimation, parameter optimization, denoising and reconstruction, etc., on the received user requests and other data, and feed back the processing results (such as denoised vibration signal data obtained or generated according to user requests) to the sensing devices.

[0042] For example, the first sensor 101, the second sensor 102, or the third sensor 103 acquires the noisy signal and reference noise signal after DAS demodulation, and sends them to the signal processing device 105 via the network 104, such as the target transmission channel. The signal processing device 105 performs adaptive filtering on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal. It then uses a denoising model to process the time-frequency characteristics of the noisy signal and the adaptive noise reference signal to obtain control parameters. Based on these control parameters, it performs denoising on the noisy signal to obtain an adaptive denoising result. The signal processing device 105 transmits the processing result via the network 104 to the requesting sensor, such as the first sensor 101, the second sensor 102, or the third sensor 103.

[0043] It should be noted that the adaptive denoising method provided in the embodiments of the present invention can generally be executed by the signal processing device 105. Correspondingly, the adaptive denoising device provided in the embodiments of the present invention can generally be disposed within the signal processing device 105. The adaptive denoising method provided in the embodiments of the present invention can also be executed by a server or server cluster that is different from the signal processing device 105 and capable of communicating with the first sensing device 101, the second sensing device 102, the third sensing device 103, and / or the signal processing device 105. Correspondingly, the adaptive denoising device provided in the embodiments of the present invention can also be disposed within a server or server cluster that is different from the signal processing device 105 and capable of communicating with the first sensing device 101, the second sensing device 102, the third sensing device 103, and / or the signal processing device 105.

[0044] It should be understood that Figure 1 The number of sensing devices, networks, and signal processing devices shown is merely illustrative. Depending on implementation needs, any number of sensing devices, networks, and signal processing devices can be included.

[0045] It should be noted that the adaptive denoising method and apparatus for distributed fiber optic acoustic wave sensing provided by this invention can be applied to the field of signal processing technology, specifically to the field of distributed fiber optic acoustic wave sensing signal processing and adaptive denoising technology. The adaptive denoising method and apparatus for distributed fiber optic acoustic wave sensing provided by this invention can also be used in any field other than signal processing technology, such as pipeline safety monitoring, perimeter security and seismic wave observation. The application field of the adaptive denoising method and apparatus for distributed fiber optic acoustic wave sensing provided by this invention is not limited.

[0046] Figure 2 A flowchart of an adaptive denoising method according to an embodiment of the present invention is shown.

[0047] like Figure 2 As shown, the method includes operations S201 to S204.

[0048] In operation S201, the noisy signal from the fiber optic sensing channel and the reference noise signal from the vibration isolation reference channel are acquired.

[0049] In this embodiment, distributed fiber acoustic sensing (DAS) refers to using optical fiber as the sensing medium, and obtaining vibration or acoustic signals at different locations along the length of the optical fiber by injecting laser pulses into the optical fiber and detecting the phase change of the backscattered Rayleigh light.

[0050] An optical fiber sensing channel refers to the signal channel corresponding to the sensing optical fiber used in acoustic wave sensing to transmit probe light pulses and receive backscattered Rayleigh light.

[0051] Noisy signal refers to the time-domain vibration signal actually collected by the optical fiber sensing channel of the acoustic wave sensor. This signal is superimposed with the effective signal generated by the external vibration event and the instrument's background noise.

[0052] The vibration-isolated reference channel refers to the signal channel corresponding to the reference fiber segment connected to the sensing fiber and located in a physically vibration-isolated environment. This reference fiber segment does not sense external vibrations and only outputs the instrument's background noise.

[0053] The reference noise signal refers to the time-domain signal acquired from the vibration isolation reference channel. This signal mainly includes the instrument's background noise and does not include the effective signal generated by external vibration.

[0054] In this embodiment, the target sensing channel region and the reference channel region can be selected from the output data after DAS demodulation according to the distance channel position, and the time-domain signals of the corresponding channels can be extracted as the noisy signal and the reference noise signal. The noisy signal can include the time-domain sequence of a single distance channel or a set of time-domain sequences of multiple distance channels. When the noisy signal contains time-domain sequences of multiple distance channels, subsequent adaptive filtering processing can be performed independently for each sequence.

[0055] In operation S202, the noisy signal is adaptively filtered based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal.

[0056] In this embodiment, adaptive filtering refers to processing the signal using an adaptive filter. The filter's weight coefficients are automatically updated according to optimization criteria to track changes in the statistical characteristics of the input or desired signal. Because the vibration isolation reference channel and the fiber optic sensing channel are located at different distances and positions in the optical and detection links, their fiber optic transmission path lengths differ, and they are under different external environmental control conditions, their noise transfer functions may differ. The noise measured by the reference channel is not entirely identical to the actual noise in the target channel in terms of amplitude, spectral shape, and time-varying characteristics. Directly using the reference noise signal will lead to noise estimation mismatch in subsequent denoising processing. Adaptive filtering can automatically adjust the filter's transfer function based on the input-output relationship between the current noisy signal and the reference noise signal, compensating for the differences in noise transfer function caused by differences in fiber optic path distance and environmental conditions, so that the filtered output signal statistically approximates the actual noise component in the noisy signal.

[0057] It should be noted that the vibration isolation reference channel and the fiber optic sensing channel share the same instrument link. For example, both are provided with probe light and receive backscattered Rayleigh light by the same laser, the same detector and the same demodulation electronic link. Therefore, the instrument noise floor contained in both has the same source, so the reference noise signal can be used to estimate the noise floor of the target channel.

[0058] In this embodiment, for each time-series signal in the noisy signal and its corresponding reference noise time-series signal, the adaptive filter uses each time-series signal in the noisy signal as the input signal and the time-series signal of the corresponding reference noise signal as the desired signal. Through an adaptive algorithm, the filter's weight coefficients are dynamically adjusted so that the adaptive noise reference signal output by the filter gradually approximates the reference noise signal, thereby matching the adaptive noise reference signal with the actual noise components in the noisy signal. Based on the above process, the adaptive noise reference signals of all channels can be stacked to obtain an adaptive noise reference signal matrix.

[0059] In operation S203, the first spectral feature of the noisy signal in the time-frequency domain and the second spectral feature of the adaptive noise reference signal in the time-frequency domain are processed by the denoising model to obtain the control parameters. The denoising model is obtained by adaptive optimization through self-supervised learning.

[0060] The time-frequency domain refers to the signal analysis domain that maps a time-domain signal to a joint time-frequency representation through time-frequency transformation. In one example, time-frequency transformation methods may include Short-Time Fourier Transform (STFT), wavelet transform, etc.

[0061] The first spectral feature can represent the energy distribution of a noisy signal at different frequencies and times, such as the amplitude spectrum or power spectrum of the noisy signal.

[0062] The second spectral feature can represent the energy distribution of the adaptive noise reference signal at different frequencies and times, such as the amplitude spectrum or power spectrum of the adaptive noise reference signal.

[0063] In some implementations, the denoising model can be a parameter prediction model built on a deep learning network. This model can be configured to map the spectral features of the input time-frequency domain to control parameters used to control the intensity of the denoising process. These control parameters are adjustable parameters used to guide subsequent denoising operations, such as gain factors and over-subtraction factors, which determine the strength of noise suppression and the fidelity of the signal.

[0064] In this embodiment, the denoising model can be adaptively optimized using a self-supervised learning approach. Self-supervised learning refers to constructing a loss function to evaluate denoising quality by extracting constraint information from the current noisy data itself, without relying on external labeled data (such as pairs of noisy signals and their corresponding clean signals), and then using this loss function as the optimization objective to optimize the denoising model online. This approach allows the denoising model to adaptively optimize its weight parameters based on the noise state of the current data segment, without the need for pre-preparing a large number of labeled samples.

[0065] In this embodiment, time-frequency transformations are performed on the noisy signal and the adaptive noise reference signal respectively to extract their respective spectral features. By jointly representing the first spectral feature of the noisy signal and the second spectral feature of the adaptive noise reference signal, the denoising model can comprehensively acquire the distribution differences between signal components and noise components in the time-frequency domain of the noisy signal, thus forming input features. The denoising model then uses these input features for forward inference to output a control parameter vector.

[0066] In operation S204, the noisy signal is denoised according to the control parameters to obtain an adaptive denoising result.

[0067] In this embodiment, parameterized denoising operations are applied to the noisy signal based on the control parameters output by the denoising model to suppress noise components and retain effective signal components, thereby obtaining an adaptive denoising result. The adaptive denoising result represents the signal output after denoising processing, in which the instrument background noise has been effectively suppressed. Furthermore, since the control parameters are adaptively determined based on the current noise state, good denoising effects can be achieved under different noise conditions, balancing noise suppression strength and signal waveform fidelity.

[0068] Based on this, embodiments of the present invention use adaptive filtering to dynamically match the reference noise signal from the vibration isolation reference channel to an adaptive noise reference signal corresponding to the actual noise component in the noisy signal, thus providing a more accurate noise floor estimate for subsequent time-frequency domain processing. Furthermore, a denoising model optimized through self-supervised learning is used to extract time-frequency features from the noisy signal and the adaptive noise reference signal and output control parameters. This allows the control parameters to be adaptively determined according to the noise state of the current data segment, eliminating the dependence on noisy-clean pairing labels. Therefore, denoising based on a precisely matched noise reference and adaptively optimized control parameters can achieve stable denoising effects under different noise conditions and in different data segments, effectively suppressing the instrument's background noise while preserving the waveform shape and amplitude information of the effective vibration signal.

[0069] In a specific embodiment of the present invention, the noisy signal and the reference noise signal can be obtained in the following manner.

[0070] In this specific embodiment, the raw data block output after phase demodulation by DAS can be acquired first. This raw data block can be a two-dimensional data block, where one dimension represents the time sampling points and the other dimension represents the distance channels distributed along the fiber length. This two-dimensional data block can be represented as a matrix. , where Z represents the number of distance channels, T represents the number of time sampling points, and the matrix element x(z,t) represents the demodulated output value of distance channel z at time t.

[0071] Simultaneously, the sampling parameters corresponding to this acquisition task are read, including but not limited to the sampling rate and spatial sampling interval. The sampling rate, measured in Hertz (Hz), characterizes the sampling density in the time dimension and serves as the basis for dimensional conversion of the time window width and frame shift step size in subsequent time-frequency transformation. The spatial sampling interval, measured in meters (m), characterizes the spatial step size between adjacent distance channels and is used to convert the distance channel index to the actual fiber length position and to determine the number of distance channels corresponding to the target spatial window. In a preferred embodiment, the sampling rate can be configured to 20000 Hz, and the spatial sampling interval can be configured to 1 m.

[0072] Furthermore, the processing time period is determined based on actual monitoring needs or tasks. This processing time period can serve as a common time reference for subsequently constructing the noisy signal matrix and the reference noise signal matrix. In a preferred embodiment, the duration of a single continuous data block can be set from 1 second to 30 seconds to achieve a good balance between denoising effect and real-time processing. After determining the processing time period, a data segment corresponding to that time period can be extracted from the original data block. If a 10-second data block is selected, then T = 200000.

[0073] In this specific embodiment, the original data block can come from a continuously acquired data stream from the same optical fiber, or from data segments acquired in segments, or it can be directly read from the computer's internal memory or imported from an external storage device or a host computer cache. This invention does not limit the specific method of obtaining the original data block.

[0074] In this specific embodiment, a continuous distance range is selected as the target spatial window [z] in the distance dimension. s ,z e The target spatial window corresponds to the region where the vibration event to be monitored is located. Where z s The starting distance channel index of the target space window, z e This represents the end-of-range channel index of the target spatial window. The temporal signals corresponding to each range channel within the target spatial window are directly extracted from the original data block to construct a noisy signal matrix. ,in, Z s This indicates the number of range channels contained within the target space window. Each row of the noisy signal matrix S corresponds to a sampling sequence of one range channel on the time axis, i.e., one noisy signal. In digital processing, this is represented by the noisy signal of the i-th channel. Represented in the form of .

[0075] Simultaneously, a reference space window [z] corresponding to the vibration isolation reference fiber is selected in the distance dimension. r ,z r +N-1], this reference space window corresponds to a reference fiber segment that is physically isolated from the sensing fiber and does not sense external vibrations. Where z r The starting distance channel index represents the reference spatial window, N represents the total number of reference channels, and the reference fiber is a vibration-isolated fiber segment located upstream of the fiber under test along the direction of probe light propagation, sharing the same instrument link with the fiber under test, used to provide a relatively stable reference noise signal. The time-domain signals corresponding to each of the N distance channels within this reference spatial window are extracted and spatially averaged along the distance dimension to obtain the reference noise signal, which is represented in digital processing as a time-domain sequence, i.e., the reference noise sequence is represented as:

[0076] (1);

[0077] Where k represents the cyclic index variable, and r(t) represents the reference noise sequence, which can effectively suppress random fluctuations in the reference channel and provide a more stable noise basis estimate.

[0078] In this specific embodiment, the reference noise sequence r(t) is divided according to the distance channel Z of the noisy signal within the target spatial window. s By performing replication and stacking, a reference noise signal matrix D can be formed, where each row of the reference noise signal matrix D is the same reference noise sequence, thereby ensuring that each noisy timing signal in the noisy signal matrix S corresponds to a reference noise timing signal of the same source and length. In a preferred embodiment, the reference fiber length can be configured to 20m, corresponding to a reference channel number N of 20.

[0079] In this way, the noisy signal matrix S and the reference noise signal matrix D have the same size in both the channel and time dimensions, and are aligned channel by channel, providing a standardized input for subsequent adaptive filtering.

[0080] In another specific embodiment, after acquiring the noisy signal and the reference noise signal, the amplitude normalization processing can be performed on the noisy signal matrix S and the reference noise signal matrix D respectively, so that the amplitude range of the two falls into the preset range, thereby improving the dynamic range and stability of subsequent numerical calculations.

[0081] Specifically, the time-domain sequences corresponding to each noisy signal and reference noise signal in the noisy signal matrix S and the reference noise signal matrix D are normalized respectively.

[0082] Preferably, the amplitude can be mapped to a preset interval, such as [-1, 1], using a sequence-by-sequence minimum-maximum method, and the calculation is performed on the i-th sequence in the noisy signal matrix and the corresponding i-th sequence in the reference noise signal matrix, respectively. The specific calculation method is as follows:

[0083] (2);

[0084] (3);

[0085] in, This represents the noisy signal of the i-th channel after normalization. This represents the reference noise signal of the i-th channel after normalization. In this embodiment, the matrix formed by the normalized noisy signals can be denoted as the normalized noisy signal matrix, and the matrix formed by the normalized reference noise signals can be denoted as the normalized reference noise signal matrix.

[0086] In the preferred embodiment described above, a fixed scaling factor, such as multiplied by 10, may be applied to improve the dynamic range of the numerical values.

[0087] In some other embodiments, the noisy signal and the reference noise signal can also be obtained through the following methods. For example, the selection of the target spatial window can be dynamically determined based on signal activity detection. By calculating the short-time energy or variance of each distance channel, the continuous channel region exceeding a preset threshold is identified as the target spatial window. Alternatively, the reference noise signal can be obtained from a channel segment on the sensing fiber that is far from the vibration event, to suit deployment scenarios without an independent vibration isolation reference fiber. Furthermore, the vibration isolation reference channel can select multiple spatial windows to extract reference noise sequences and perform a weighted average to further improve the stability of the reference noise.

[0088] According to an embodiment of the present invention, both the reference noise signal and the noisy signal include multiple sampling times. The sampling times of the reference noise signal and the noisy signal are the same. The actual noise component is used to indicate the distribution of the noise sample values ​​at each sampling time across multiple sampling times. Adaptive filtering is performed on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal. This includes: using the noise sample values ​​of the reference noise signal at each sampling time, adaptive filtering is performed on the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time. The filtered output signals at each sampling time are combined according to the sampling time to form the adaptive noise reference signal.

[0089] In this embodiment, both the reference noise signal and the noisy signal include multiple sampling times. These signals are acquired at a fixed sampling rate (e.g., 20000Hz) to form a digital sequence with equal time intervals. Each sampling time corresponds to a discrete time point, where n = 1, 2, ..., T, where n represents the sampling time and T represents the number of time sampling points. At each sampling time, the noisy signal has one noisy sample value, and the reference noise signal has one noise sample value.

[0090] The actual noise component can be used to indicate the overall distribution of noise sample values ​​at multiple sampling times. Specifically, since the instrument background noise superimposed on the noisy signal has a specific instantaneous amplitude at each sampling time, the instantaneous amplitudes at all sampling times are arranged in chronological order, collectively forming the complete temporal distribution of the noise component. This distribution includes statistical characteristics such as the noise mean, variance, power spectral density, and its trend over time. Because the DAS instrument background noise is non-stationary, this distribution will change under different data segments, different temperature conditions, and different instrument operating states. Therefore, in subsequent adaptive filtering processing, it is necessary to track and match the temporal distribution of the actual noise component based on the reference noise signal of the current data segment.

[0091] In this embodiment, at each sampling moment, the adaptive filter performs filtering operations based on the noisy sample value at the current sampling moment and information from the previous sampling moments, using the currently configured weight coefficients, to generate the filtered output value for that moment. Simultaneously, the sample value at the same sampling moment is extracted from the reference noise signal as the desired signal. Based on the deviation between the filtered output value and the desired signal, the filter's weight coefficients are adaptively adjusted so that the filtered output at the next sampling moment can more accurately approximate the desired signal.

[0092] The above process is recursively executed at each sampling time. When the filter converges, a filtered output value is generated at each sampling time. The filtered output values ​​of all sampling times are concatenated in chronological order to form a complete time sequence signal. This time sequence signal is the adaptive noise reference signal corresponding to the current noisy signal.

[0093] In some specific implementations, the adaptive filter can perform the above processing independently for each noisy timing signal and its corresponding reference noise timing signal in the noisy signal at each sampling time. For example, for the noisy timing signal s of the i-th channel at the n-th sampling time in the noisy signal matrix S. i (n), and the reference noise timing signal r of the i-th channel at the n-th sampling time in the reference noise signal matrix D. i (n), the adaptive filter outputs the filtered output value y of the i-th channel at the n-th sampling time at each sampling time.i (n), constituting the filtered output sequence {y} of the i-th channel. i (1),y i (2),…,y i (T)}.

[0094] Based on this, embodiments of the present invention, through the aforementioned recursive processing at each sampling time, ensure that the adaptive filter can track the changes in noise statistical characteristics over time, so that the generated adaptive noise reference signal remains consistent with the actual noise component in the noisy signal in terms of power spectrum shape, amplitude distribution, and time-varying trend at each sampling time. Compared to directly using the original reference noise signal provided by the vibration isolation reference channel, the adaptive noise reference signal obtained through adaptive filtering can more accurately reflect the actual noise components contained in the noisy signal at each time, thereby reducing the risk of noise mismatch caused by amplitude scaling differences, frequency response differences, and coupling differences between the noise reference and the target channel noise in subsequent spectral subtraction processing.

[0095] According to an embodiment of the present invention, the noisy sample values ​​of the reference noise signal at each sampling time are used to adaptively filter the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time. This includes: at the nth sampling time, constructing an input feature vector (n≥1) based on the noisy sample values ​​of the noisy signal at multiple consecutive sampling times including the nth sampling time; obtaining the filtered output signal at the nth sampling time based on the inner product of the input feature vector and the weight coefficient vector at the nth sampling time; obtaining the error signal at the nth sampling time based on the difference between the noise sample value of the reference noise signal at the nth sampling time and the filtered output signal at the nth sampling time; and updating the weight coefficient vector at the nth sampling time based on the product of the error signal at the nth sampling time, the input feature vector, and the step size factor to obtain the weight coefficient vector at the (n+1)th sampling time.

[0096] In some specific implementations, the order of the adaptive filter can be determined before performing adaptive filtering. The order of the adaptive filter can represent the number of historical sampling points utilized by the filter. Subsequently, the adaptive filter order N is determined based on the adaptive filtering process. f Each sequence in the normalized noisy signal matrix and the normalized reference noise signal matrix is ​​time-aligned and pruned to a uniform length. The clipped noisy signal matrix is ​​obtained. With the clipped reference noise signal matrix This ensures that the sequences in the two matrices correspond to each other at the same length, satisfying the requirement that the lengths of the input and desired signal sequences be consistent in subsequent adaptive filtering. In a preferred embodiment, the order of the adaptive filter ranges from 2 to 64, and these parameters can be determined according to the specific application scenario.

[0097] The input feature vector is a vector formed by the noisy sampled values ​​of the noisy signal at each sampling time, including the current sampling time and a number of consecutive sampling times before the current sampling time.

[0098] In this embodiment, at the nth sampling time, based on the target noisy signal at the nth sampling time and the consecutive N samples prior to the nth sampling time... f The noisy sampled values ​​at sampling time -1 are used to construct the input feature vector at sampling time n. This is used to predict the noise component at the current time step, where the input feature vector includes the noisy sample value at the nth sampling time step and the noise samples from the (n-1)th to the nNth sampling time step. f The noisy sampled values ​​at sampling time +1, totaling N. f Each sample value. Specifically, the input feature vector of the i-th channel at the n-th sampling time is expressed as follows:

[0099] (4);

[0100] The superscript T indicates the transpose operation. This represents the sampled value of the i-th channel of the noisy signal at sampling time nj. When n=1, if nj<1 (i.e., the time index is less than the starting time), the corresponding sampled value can be zero or a boundary processing method can be used to ensure that the dimension of the input feature vector is always N. f .

[0101] The weighting coefficients are adjustable parameters of the adaptive filter, and the weighting coefficient vector can be a vector of length N. f The input feature vector is a column vector, where each element corresponds to a weight coefficient at the i-th position in the input feature vector. In this embodiment, the weight coefficient vector is continuously updated during the iteration process, and its convergence direction is the direction that makes the filtered output signal approximate the desired signal. The initial value of the weight coefficient vector can be set to zero or any value set according to prior knowledge, and it gradually converges to the optimal solution under the drive of the adaptive algorithm.

[0102] In this embodiment, the input feature vector at the nth sampling time is... The weight coefficient vector at the i-th position at the n-th sampling time Perform inner product operations, for example, multiply each sample value in the input feature vector by its corresponding weight coefficient and then sum them up to obtain the filtered output value of the i-th channel at the n-th sampling time, as shown below:

[0103] (5);

[0104] in, This represents the filtered output value of the i-th channel of the adaptive filter at the n-th sampling time, which can be used as an estimate of the component related to the reference noise signal extracted by the adaptive filter from the noisy signal.

[0105] The error signal refers to the difference between the noise sample value of the reference noise signal at the current sampling time and the filtered output signal. The noise sample value can be represented as the reference noise timing signal.

[0106] In this embodiment, the reference noise timing signal r of the i-th channel at the n-th sampling time is based on the reference noise signal. i (n) and the filtered output value of the i-th channel at the n-th sampling time The difference is used to obtain the error signal of the i-th channel at the n-th sampling time. Specifically, this error signal can be expressed as:

[0107] (6);

[0108] in, This represents the error signal of the i-th channel at the n-th sampling time. This error signal reflects the degree of difference between the adaptive noise reference signal and the reference noise at the current time. When the error signal approaches zero, it indicates that the adaptive noise reference signal and the actual noise component in the noisy signal tend to be consistent.

[0109] The step size factor can be used to control the adjustment range of the weight coefficients in each iteration. The value of this step size factor can affect the convergence speed and steady-state performance of the adaptive filter. For example, when the step size factor is large, the step size of each weight coefficient update is large, and the algorithm converges faster, but it may produce a larger steady-state error or even lead to divergence. When the step size factor is small, the algorithm converges smoothly with a small steady-state error, but the convergence speed is slower, requiring more iterations to reach the optimal solution. In a preferred embodiment of the present invention, the value range of the step size factor may include 1×10⁻⁶. -5 Up to 1×10 -1 The specific value needs to be determined based on the power level of the input signal and the order of the adaptive filter to ensure that the algorithm has sufficient tracking speed under the premise of stable convergence.

[0110] In this embodiment, the error signal of the i-th channel at the n-th sampling time is used. Input feature vector and step size factor The product of these factors is used to update the weight coefficient vector at the i-th position at the n-th sampling time, resulting in the weight coefficient vector at the i-th position at the (n+1)-th sampling time. Specifically, the weight coefficient vector at the i-th position at the (n+1)-th sampling time can be expressed as:

[0111] (7);

[0112] in, Let be the weight coefficient vector at the i-th position at the (n+1)-th sampling time. This is the step size factor. As the sampling time increases, the weight coefficient vector is iteratively updated along the direction that makes the filtered output continuously approximate the desired signal, thus causing the filter to gradually converge. Product term. It can be a vector, with dimensions equal to... and The same indicates the adjustment amount for each element in the weight coefficient vector. When When positive, the weighting coefficients are adjusted in the positive direction to increase the subsequent filter output. When the value is negative, the weighting coefficient is adjusted in the negative direction to reduce the subsequent filter output.

[0113] At the nth sampling time, after performing the above operations sequentially, the filter enters the (n+1)th sampling time and repeats the same operations. This process is repeated sampling time by time, with the weight coefficient vector evolving over time and gradually converging to the optimal solution. Once the filter converges, the filtered output signal at each sampling time is like the filtered output value of the i-th channel at the nth sampling time. In a statistical sense, it approximates the desired signal, such as the reference noise timing signal r of the i-th channel at the n-th sampling time. i (n) means that it matches the actual noise component in the noisy signal.

[0114] In this embodiment, the filtered output values ​​of the i-th channel at each sampling time are combined in chronological order to obtain the filtered output signal of the i-th channel. That is, the adaptive noise reference signal of the i-th channel. For example, the Z-value within the target space window can be... s The filtered output signals of each channel are stacked along the distance dimension to form an adaptive noise reference signal matrix Y, i.e. This is used for subsequent noise power spectrum estimation to reduce the risk of mismatch between the noise reference and the target channel noise during denoising.

[0115] Based on this, the embodiments of the present invention, through the recursive calculation of the above-described sampling time, enable the adaptive filter to automatically adjust the weight coefficients without prior knowledge of the statistical characteristics of the signal and noise, thereby achieving real-time tracking and matching of non-stationary noise and providing an accurate adaptive noise reference signal for subsequent denoising processing.

[0116] According to an embodiment of the present invention, the first spectral feature includes the power spectrum of the noisy signal, the second spectral feature includes the power spectrum of the adaptive noise reference signal, and the control parameters include a gain factor and an over-subtraction factor. The noisy signal is denoised according to the control parameters to obtain an adaptive denoising result, including: scaling the power spectrum of the adaptive noise reference signal using the over-subtraction factor to obtain a scaled reference power spectrum; obtaining a target power spectrum based on the difference between the power spectrum of the noisy signal and the scaled reference power spectrum; scaling the target power spectrum according to the gain factor to obtain an enhanced power spectrum; and reconstructing the time-domain signal corresponding to the noisy signal based on the enhanced power spectrum and the phase spectrum of the noisy signal to obtain a first-level denoised signal, which is then used as the adaptive denoising result.

[0117] The first spectral feature is used to indicate the energy intensity of the noisy time-domain signal at each time frequency point after the short-time Fourier transform, that is, the square value of the complex spectrum amplitude. The power spectrum of the noisy signal reflects the energy distribution of the noisy signal at each frequency point and time frame in the frequency domain.

[0118] The second spectral feature is used to indicate the energy intensity of the adaptive noise reference time-domain signal at each time-frequency point after short-time Fourier transform. The power spectrum of the adaptive noise reference signal reflects the energy distribution of the noise reference obtained after adaptive matching in the time-frequency domain, and is used to estimate the power level of the actual noise component in the target noisy signal.

[0119] In this embodiment, the control parameters include a gain factor and an over-subtraction factor. The gain factor is used to scale the target power spectrum after spectral subtraction to compensate for excessive signal amplitude attenuation during the subtraction process, or to further reduce residual noise. The over-subtraction factor is used to proportionally scale the power spectrum of the adaptive noise reference signal. When the over-subtraction factor is greater than 1, the scaled reference power spectrum is greater than the power spectrum of the adaptive noise reference signal, resulting in more noise than the actual estimate, thus achieving over-subtraction. When the over-subtraction factor is less than 1, the scaled reference power spectrum is less than the power spectrum of the adaptive noise reference signal, resulting in less noise than the actual estimate, thus achieving under-subtraction.

[0120] In this embodiment, the noisy signal is denoised according to control parameters to obtain an adaptive denoising result, which may include a first-stage denoising process. The first-stage denoising process involves subtracting the adaptive noise reference power spectrum (amplified by a subtraction factor) from the power spectrum of the noisy signal in the power domain, adjusting the amplitude using a gain factor, and finally reconstructing the time-domain signal by combining it with the original phase of the noisy signal. In the power domain, since noise and signal are statistically independent, the power spectrum of the noisy signal is approximately equal to the sum of the effective signal power spectrum and the noise power spectrum. Therefore, the instrument background noise in the noisy signal can be filtered out by the first-stage denoising process.

[0121] In this embodiment, the first-stage denoising process includes: scaling the power spectrum of the adaptive noise reference signal using an over-scaling factor to obtain a scaled reference power spectrum.

[0122] Specifically, let the power spectrum of the adaptive noise reference signal be... Where f represents the frequency index (f=1,2,…,F, where F is the total number of frequency points), and m represents the time frame index (m=1,2,…,M). total M total (Total number of time frames). The power spectrum is scaled proportionally using the over-subtraction factor output by the denoising model to obtain the scaled reference power spectrum. ,in, Let be the over-subtraction factor for the i-th channel.

[0123] Since there may be a slight estimation deviation between the adaptive noise reference signal and the actual noise in the noisy signal, directly subtracting the original noise power spectrum may result in residual noise. By introducing an over-subtraction factor to appropriately amplify the noise estimate, the noise floor can be suppressed more thoroughly, ensuring that the residual noise level is reduced to an acceptable range. However, if the over-subtraction factor is too large, it will lead to excessive signal subtraction, causing energy loss and waveform distortion of the effective signal. Therefore, the over-subtraction factor can be adaptively adjusted according to the current noise state. Its specific value is determined adaptively by the denoising model based on the current noise state to avoid signal distortion caused by excessive signal subtraction.

[0124] In this embodiment, the first-level denoising process further includes obtaining the target power spectrum based on the difference between the power spectrum of the noisy signal and the scaled reference power spectrum.

[0125] Specifically, let the power spectrum of the noisy signal be... Then the target power spectrum can be expressed as This target power spectrum can be used to represent an estimate of the effective signal power spectrum in a noisy signal.

[0126] In this specific embodiment, since the power spectrum is physically non-negative, the aforementioned difference can be compared with 0, and the larger of the two values ​​can be taken as the target power spectrum. Specifically, the target power spectrum... The expression is as follows:

[0127] (8);

[0128] Here, max(·, 0) represents a half-wave rectification operation, setting values ​​less than 0 to 0. This maximum value operation is used to ensure the non-negative characteristics of the power spectrum and avoid artificial artifacts in subsequent signal reconstruction.

[0129] In this embodiment, the first-stage denoising process further includes scaling the target power spectrum according to the gain factor to obtain the enhanced power spectrum.

[0130] Specifically, the target power spectrum is scaled overall using the gain factor output by the denoising model; that is, the enhanced power spectrum is obtained by amplitude compensation or further suppression of the signal power after spectral subtraction. The enhanced power spectrum The expression is as follows:

[0131] (9);

[0132] in, is the gain factor for the i-th channel, which can be used to balance noise suppression and signal amplitude preservation.

[0133] During spectral attenuation, over-attenuation and half-wave rectification may excessively attenuate the energy of the effective signal, resulting in a smaller amplitude of the reconstructed signal. Therefore, the target power spectrum can be amplified overall using a gain factor to compensate for the signal energy loss caused in the aforementioned process, restoring the amplitude of the reconstructed signal to its true level. When the value of is greater than 1, the enhanced power spectrum is amplified overall, which helps to recover the details of the over-attenuated signal, but also slightly amplifies the residual noise. When When the gain factor is equal to 1, the target power spectrum remains unchanged, and no additional amplitude adjustment is introduced. The specific value of the gain factor is adaptively determined by the denoising model based on the relative energy relationship between the current signal and noise, which can achieve an optimal balance between signal amplitude preservation and noise suppression under different noise conditions.

[0134] In this specific embodiment, the first-level denoising process further includes: reconstructing the time-domain signal corresponding to the noisy signal based on the enhanced power spectrum and the phase spectrum of the noisy signal to obtain the first-level denoised signal.

[0135] Specifically, since the power spectrum and amplitude spectrum are related by the equation that power equals the square of amplitude, the amplitude spectrum can be recovered from the power spectrum based on the enhanced power spectrum. The square root of the value is used to obtain the enhanced amplitude spectrum. Among them, the enhanced amplitude spectrum The expression is as follows:

[0136] (10).

[0137] Subsequently, the phase spectrum angle of the complex spectrum of the noisy signal is obtained. ),in This is the short-time Fourier transform complex spectrum of the noisy signal, where angle(·) represents the complex angle operation. This phase spectrum includes key timing information such as the signal's arrival time, the phase relationship of the waveform, and the propagation delay, used to determine whether the waveform shape of the reconstructed signal is correctly distributed on the time axis.

[0138] If the phase information is altered, the waveform of the reconstructed signal will be distorted. Therefore, during spectral subtraction reconstruction, the original phase spectrum of the noisy signal can be preserved to better retain key features such as the waveform's time-domain shape and arrival time. Specifically, the enhanced amplitude spectrum can be combined with the original phase spectrum of the noisy signal to obtain the reconstructed denoised complex spectrum. Specifically, the reconstructed denoised complex spectrum The expression is as follows:

[0139] (11);

[0140] Where j is the imaginary unit, This indicates that a unit complex vector is constructed using the original phase.

[0141] Denoising complex spectrum of reconstruction Performing the Inverse Short-Time Fourier Transform (ISTFT) synthesizes the time-domain segments corresponding to each time frame using the overlapping addition method, mapping the denoised complex spectrum from the time-frequency domain back to the time domain, and recovering the complete time-domain waveform, thus obtaining the first-level denoised signal in the time domain. This first-level denoised signal can represent the time-domain waveform obtained after the first-level denoising process.

[0142] In this specific embodiment, the first-stage denoising process further includes using the first-stage denoised signal as the adaptive denoising result. Specifically, in this embodiment, the first-stage denoising process can directly output the first-stage denoised signal after spectral subtraction as the final adaptive denoising result. This first-stage denoised signal can then be output to subsequent processing stages, such as storage devices or display devices, or further used as input for subsequent signal analysis (such as vibration localization, event recognition, spectrum analysis, etc.).

[0143] In one embodiment of the present invention, the first-level denoised signals of all distance channels within the target space window are stacked along the distance dimension to form a first-level denoised signal matrix. Where T'' is the number of effective time sampling points after the inverse short-time Fourier transform. In a specific implementation, since the overlapping and addition operations during the short-time Fourier transform and inverse transform may cause a difference between the effective signal length at the beginning and end boundaries and the original signal length, preferably, by selecting an appropriate window function and boundary processing strategy, T'' is kept consistent with the original sequence length T', ensuring that the output signal is time-aligned with the input signal, which facilitates subsequent channel-by-channel comparison and analysis. Each time-series signal in this first-level denoised signal matrix E corresponds one-to-one with the corresponding noisy time-series signal in the original noisy signal matrix S, that is, the noisy signal s of the i-th channel within the target space window. i (t) After spectral subtraction, the first-level denoised signal E of the i-th channel is obtained. i (t), after being stacked, form the i-th row of the first-level denoised signal matrix E, thus maintaining the spatial correspondence of the distance dimension, which is convenient for subsequent spatial domain analysis.

[0144] Based on this, embodiments of the present invention utilize two parameters, the gain factor and the over-subtraction factor, to control the aggressiveness of noise suppression and the degree of signal amplitude recovery, respectively, enabling spectral subtraction to adaptively adjust the denoising intensity according to the current noise state. Furthermore, the phase spectrum of the original noisy signal is retained and used during spectral subtraction reconstruction, avoiding the additional distortion introduced by phase processing. This allows spectral subtraction to effectively suppress instrument background noise while preserving the amplitude and phase information of the effective vibration signal to the greatest extent possible, providing high-quality first-level denoising results for subsequent refined denoising or direct engineering applications.

[0145] In some specific implementations, the power spectrum of the noisy signal and the power spectrum of the adaptive noise reference signal can be obtained in the following way. First, the normalized noisy signal matrix can be... The complex spectrum is obtained by performing a short-time Fourier transform on each sequence in the adaptive noise reference signal matrix Y. For example, the complex spectrum is obtained by performing a short-time Fourier transform on the noisy signal of the i-th channel. The complex spectrum obtained by the short-time Fourier transform Its amplitude spectrum is The squared amplitude of this complex spectrum is the power spectrum of the noisy signal. ,Right now Similarly, the filtered output signal of the i-th channel... The complex spectrum obtained by the short-time Fourier transform Its amplitude spectrum is The squared amplitude of this complex spectrum is the power spectrum of the adaptive noise reference signal. ,Right now .

[0146] In the specific implementation of the above-described short-time Fourier transform, the window length of the short-time Fourier transform is 20ms to 50ms, and the step size is 5ms to 25ms. In a specific embodiment of the present invention, when the sampling rate is 20000Hz, the window length is 25ms, and the step size is 10ms, then the number of frequency points... ,in, Given the sampling rate, the corresponding number of frequency points calculated is 500. The time window width for the Short-Time Fourier Transform (SFT) is the number of sampling points contained within each time window, obtained by multiplying the window length by the sampling rate. The SFT is performed directly on the data points of each window, ensuring the number of transform points matches the number of data points in the window, thus avoiding computational redundancy caused by zero-padding or truncation. Frame shift step size. The corresponding frame shift step size is calculated to be 200, where, and These parameters refer to the same parameter. The parameters described above can be adjusted according to the actual time-frequency resolution requirements of the signal, and these variations do not depart from the scope of protection of this invention.

[0147] After obtaining the power spectrum of the noisy signal and the adaptive noise reference power spectrum, they can be constructed as input features that the denoising model can process. In this embodiment, the amplitude spectra of the two power spectra can be stacked in the channel dimension to form a dual-channel input tensor. Through this channel-dimensional stacking method, the network only needs a single encoder to process the two inputs simultaneously, eliminating the need for a dual-branch structure to extract features separately and then fuse them, thus simplifying the network structure. Furthermore, compared to a dual-branch structure that requires two separate forward propagations or the introduction of additional feature fusion layers, channel stacking allows the network to complete feature extraction of the joint input in a single forward propagation, reducing computational redundancy and improving inference efficiency. For the input tensor after stacking the i-th channel... It can be represented as:

[0148] (12);

[0149] in, It is a channel-dimensional stacking operation that stacks the amplitude spectrum of the noisy signal. Amplitude spectrum of adaptive noise reference signal The input tensor is concatenated along the channel dimension to form a two-channel input tensor, where 2 represents two channels. This represents a three-dimensional real tensor space, which consists of 2×F×M. total It consists of 1,000 real numbers, and all its elements are real numbers.

[0150] Since the STFT spectrum of the signal is conjugate symmetric about the center frequency, only half of the frequency points need to be retained to represent all the information. Therefore, the specific formula for the total number of frequency points F is:

[0151] F= / 2+1(13).

[0152] Among them, the total number of time frames M total This can represent how many time frames the entire time-domain sequence is divided into, and the total number of time frames M. total The specific formula is:

[0153] (14);

[0154] In the above specific implementation, the input tensors of all target channels are grouped into a batch, which can then be fed into the denoising model for denoising processing.

[0155] It should be noted that this step only uses the amplitude spectrum as the network input feature of the denoising model. The spectral subtraction reconstruction in the subsequent first-level denoising process still uses the time-domain sequence to calculate the complex spectrum in order to preserve the waveform phase information.

[0156] In a preferred embodiment of the present invention, the above-mentioned denoising model can be implemented using a SpectralEnhancementNet.

[0157] Figure 3 A schematic diagram of the spectral subtraction parameter prediction network in the denoising model according to an embodiment of the present invention is shown.

[0158] like Figure 3 As shown, in this specific embodiment, the spectral subtraction parameter prediction network can adopt a structure of a two-dimensional convolutional encoder plus a fully connected regression head. Specifically, the network input is the aforementioned dual-channel short-time Fourier transform energy spectrum tensor. The encoder part sequentially passes through seven two-dimensional convolutional layers (Conv2d), each followed by a rectified linear unit (ReLU) activation function with a stride of 2 to achieve downsampling. The number of output channels in each layer increases in the following sequence: layer 1 outputs 16 channels, layer 2 outputs 32 channels, layer 3 outputs 64 channels, layer 4 outputs 128 channels, layer 5 outputs 256 channels, layer 6 outputs 512 channels, and layer 7 outputs 1024 channels. The kernel size of each convolutional layer is 3×3, and zero padding (padding=1) is used to maintain the regularity of the feature map size.

[0159] To accommodate time-frequency feature maps of different input sizes, an adaptive average pooling layer (AdaptiveAvgPool2d) is introduced at the end of the encoding process to uniformly transform the feature maps to a fixed size. , The frequency dimension of the adaptive average pooling layer output has a fixed height. The time dimension of the adaptive average pooling layer output has a fixed width. Preferably, it can be taken as... =2, =24, at this point, the encoder output is the dimension. The expression is a four-dimensional tensor, where 1024 is the number of channels, and 2 and 24 are the height of the frequency dimension and the width of the time dimension after pooling, respectively. Since the subsequent fully connected regression head requires a one-dimensional feature vector as input, this four-dimensional tensor needs to be flattened into a one-dimensional form. The flattening operation arranges all elements of each sample into a vector in order, resulting in the flattened feature vector. .

[0160] Since the flattened feature vectors are still in a high-dimensional space and contain a lot of redundant information, directly using them to output control parameters will lead to severe overfitting, and an excessively large parameter space is not conducive to network training. Therefore, dimensionality reduction can be achieved stepwise using a regression head (a sequence of fully connected layers) to gradually compress the high-dimensional features to the target dimension. The dimensionality reduction process employs a structure of alternating layers of fully connected (Linear) layers and Modified Linear Unit Activation Functions (ReLU). Each fully connected layer is responsible for projecting the input features to a lower-dimensional space through a linear transformation, while each ReLU layer introduces non-linearity, enabling the network to capture the complex interactions between features. Through stepwise dimensionality reduction, the network compresses dimensions while retaining the abstract features most helpful for predicting control parameters. The example dimensionality reduction sequence is: 1024·2·24→512·2·24→256·2·24→128·2·24→64·2·24→32·2·24→16·2·24→8·2·24→4·2·24→2·2·24→2·24→24→12→2. The final output is a two-dimensional vector, corresponding to the gain factor and the over-reduction factor, respectively.

[0161] To ensure the rationality of the network output parameters and prevent unreasonable parameter values ​​from causing spectral subtraction to fail, range constraints can be imposed on the raw values ​​of the network output in some specific implementations. Specifically, the network regression head outputs unconstrained raw real numbers (logits), whose value range is the entire real number axis. Directly using this as a control parameter may produce negative values ​​or maxima, leading to numerical anomalies in the spectral subtraction operation. Therefore, firstly, a sigmoid function mapping is applied to the raw real numbers output by the network, compressing any real number to the (0,1) interval, making it probabilistically interpretable; then, the sigmoid output result is multiplied by the corresponding scaling factor, and linearly scaled to expand it to the target numerical range. In this specific implementation, the scaling factor corresponding to the gain factor is 2, and after sigmoid mapping and scaling transformation, its value range is constrained to the [0,2] interval; the scaling factor corresponding to the oversubtraction factor is 3, and after sigmoid mapping and scaling transformation, its value range is constrained to the [0,3] interval. The above range of values ​​is determined based on the statistical characteristics of a large amount of DAS measured data, and can cover the optimal parameter range in most actual noise scenarios.

[0162] It should be noted that the spectral subtraction parameter prediction network described above is only a preferred embodiment of the present invention and is not intended to limit the implementation of the denoising model. Those skilled in the art can use other equivalent network architectures to achieve the same function, such as adjusting the number of convolutional layers, using different activation functions, changing the pooling strategy, or using attention mechanisms. These variations are all equivalent substitutions for the technical concept of the present invention and do not depart from the protection scope of the present invention.

[0163] According to an embodiment of the present invention, the control parameters further include wavelet parameters; the noisy signal is denoised according to the control parameters to obtain an adaptive denoising result, and the method further includes: performing multi-level wavelet decomposition on the first-level denoised signal to obtain wavelet coefficients of each level; performing shrinkage processing on the wavelet coefficients of each level according to the wavelet parameters to obtain the shrunken wavelet coefficients of each level; performing inverse wavelet transform reconstruction on the shrunken wavelet coefficients of each level to obtain a second-level denoised signal, and using the second-level denoised signal as the adaptive denoising result.

[0164] In another embodiment, the control parameters also include wavelet parameters. Wavelet parameters are adjustable parameters used to control the wavelet thresholding denoising operation, including wavelet basis type, number of decomposition levels, and scale factor, etc., used to determine the basis function type, decomposition depth, and scale of threshold calculation used in the wavelet transform. The wavelet parameters are adaptively output by the denoising model for the current data segment, and the projection values ​​of the signal at different scales and positions after wavelet transform are wavelet coefficients.

[0165] In this embodiment, the noisy signal is denoised according to control parameters to obtain an adaptive denoising result, and a second-level denoising process is also included. The second-level denoising process uses the first-level denoised signal obtained after the first-level denoising process as input and wavelet parameters as control parameters to further refine the suppression of residual noise components in the first-level denoised signal in the wavelet domain. This second-level denoising process can be used to filter out environmental noise in the first-level denoised signal. This environmental noise refers to non-stationary disturbances coupled into the optical fiber from the external environment, relative to the instrument's background noise, such as wind noise, mechanical vibration coupling noise, and human interference. These noises manifest as random pulses or transient spikes in the time domain and are difficult to completely remove in the time-frequency domain by simple power spectrum subtraction. Based on this, wavelet transform can expand the signal at different scales. Environmental noise in the wavelet domain manifests as relatively dispersed small-amplitude coefficients, while the energy of the effective signal is concentrated in a few large-amplitude coefficients. Therefore, it can be effectively distinguished and suppressed through threshold shrinkage processing.

[0166] In this embodiment, the second-level denoising process includes: performing multi-level wavelet decomposition on the first-level denoised signal to obtain wavelet coefficients for each level.

[0167] Wavelet decomposition decomposes a signal into components at different frequency scales layer by layer using a set of orthogonal or bioorthogonal filters. Each layer decomposes the current signal into low-frequency approximation components and high-frequency detail components. The low-frequency approximation components represent the main trend and gradual changes of the signal, while the high-frequency detail components represent abrupt changes and noise components. After multiple layers of decomposition, the signal is expanded into a set of coefficients at multiple scales, collectively referred to as wavelet coefficients at each layer.

[0168] When performing wavelet decomposition, it is necessary to determine the wavelet basis functions used and the number of decomposition levels. The wavelet basis functions determine the characteristics of the filter during the decomposition process; different basis functions have different shapes, support lengths, and regularities, suitable for signals of different forms. The number of decomposition levels determines the granularity of the signal decomposition; more levels result in finer frequency division and stronger noise discrimination capability, but also increase the computational load. In this embodiment, the wavelet basis functions and the number of decomposition levels can be specified by the wavelet parameters output by the denoising model, thus achieving adaptive selection. After obtaining the coefficients of each level through wavelet decomposition, the coefficients need to be shrunk to achieve noise suppression.

[0169] In this embodiment, the second-level denoising process further includes: shrinking the wavelet coefficients of each layer according to the wavelet parameters to obtain the shrunken wavelet coefficients of each layer.

[0170] Based on the characteristic that the energy of the effective signal is concentrated on a few coefficients with large amplitudes in the wavelet domain, while the energy of noise is dispersed on a large number of coefficients with small amplitudes, noise components can be effectively suppressed by shrinking the coefficients with small amplitudes, while retaining the large coefficients representing the effective signal. The intensity of the shrinkage process is controlled by the correlation factor in the wavelet parameters, which determines the threshold value and thus the degree to which coefficients are retained or attenuated.

[0171] In some specific implementations, the shrinkage process can employ either a soft thresholding method or a hard thresholding method. Soft thresholding sets coefficients with absolute values ​​less than or equal to the threshold to zero, and shrinks coefficients with absolute values ​​greater than the threshold by the threshold amount, ensuring a continuous transition at the threshold and preventing oscillations in the reconstructed signal. Hard thresholding sets coefficients with absolute values ​​less than or equal to the threshold to zero, while retaining coefficients greater than the threshold unchanged. In this embodiment, a soft thresholding method is preferred to obtain a smoother reconstructed signal.

[0172] In this embodiment, the second-level denoising process further includes: performing inverse wavelet transform on the shrunk wavelet coefficients of each layer to reconstruct the second-level denoised signal.

[0173] The inverse wavelet transform is the reverse process of the forward wavelet transform. It reconstructs the detail coefficients of all levels after shrinkage and the deepest approximation coefficients layer by layer upwards according to the inverse process of wavelet decomposition, and restores the time-domain signal through upsampling and filtering convolution operations. Since the noise components in the wavelet coefficients have been effectively attenuated during the forward transform-shrinkage-inverse transform process, the residual noise in the time-domain signal reconstructed by the inverse transform is further suppressed.

[0174] In this embodiment, the second-stage denoising process further includes using the second-stage denoised signal as the adaptive denoising result. Specifically, the second-stage denoised signal output after the second-stage denoising process can replace the first-stage denoised signal as the final adaptive denoising result. In this second-stage denoised signal, the instrument background noise has been significantly suppressed by the first-stage spectral subtraction, and the remaining non-stationary transient noise is further eliminated by the second-stage wavelet threshold denoising, thereby achieving a better overall noise suppression effect.

[0175] In one specific embodiment, the secondary denoised signals of all distance channels within the target space window can be stacked along the distance dimension to form a secondary denoised signal matrix. Each time-series signal U in this matrix i (t) corresponds one-to-one with the noisy time-series signal in the noisy signal matrix S, that is, the noisy signal s of the i-th channel within the target spatial window. i (t) After two stages of noise reduction, U is obtained. i (t), after being stacked, forms the i-th row of matrix U, which maintains the spatial correspondence of the distance dimension.

[0176] Based on this, embodiments of the present invention achieve layered noise suppression through a two-stage cascaded denoising architecture that combines spectral subtraction with wavelet threshold denoising. Specifically, the first-stage denoising efficiently removes broadband instrument background noise in the power domain, while the second-stage denoising finely suppresses residual non-stationary transient noise after spectral subtraction in the wavelet domain. The two stages complement each other in different mathematical domains, achieving a better balance between overall signal-to-noise ratio improvement and waveform fidelity.

[0177] According to an embodiment of the present invention, a multi-level wavelet decomposition is performed on a first-level denoised signal to obtain wavelet coefficients for each level, including: determining a mother wavelet function based on the wavelet basis type; using the mother wavelet function, decomposing the first-level denoised signal according to the number of decomposition levels to obtain wavelet coefficients for each level; and performing shrinkage processing on the wavelet coefficients for each level according to wavelet parameters to obtain shrunken wavelet coefficients for each level, including: determining the shrinkage ratio of the wavelet coefficients for each level based on the statistical standard deviation and scaling factor of the wavelet coefficients for each level; and performing shrinkage processing on the wavelet coefficients for each level according to the shrinkage ratio to obtain shrunken wavelet coefficients for each level.

[0178] In this embodiment, the wavelet parameters include wavelet basis type, number of decomposition layers, and scale factor.

[0179] Wavelet basis type (Wavelet id) refers to the type of mother wavelet function used in wavelet transform. Different wavelet bases have different shapes, support lengths, regularities, and vanishing moment orders, and are suitable for different types and forms of signals. For example, wavelet bases with tight support characteristics are suitable for processing signals with abrupt changes, while wavelet bases with higher vanishing moments are suitable for approximating smooth signals.

[0180] The number of decomposition levels (Level) is the decomposition depth of wavelet transform, that is, how many times the signal is decomposed layer by layer. It determines the fineness of the multi-scale analysis of the signal. The more levels, the more detailed the decomposition of low-frequency components.

[0181] The scaling factor (Sigma factor) is a scaling coefficient used in threshold estimation to control the shrinkage strength of wavelet coefficients at each level. A larger scaling factor results in a smaller calculated threshold and weaker denoising strength, which is beneficial for preserving details of weak signals. Conversely, a smaller scaling factor results in a larger calculated threshold and stronger denoising strength, which is beneficial for more thorough noise suppression, but may also damage the effective signal.

[0182] In this embodiment, the corresponding mother wavelet function is searched in the wavelet library based on the wavelet basis index output by the denoising model, and the decomposition filter bank and reconstruction filter bank corresponding to the mother wavelet function are obtained. The decomposition filter bank includes a decomposition low-pass filter dec. lo Decomposition of high-pass filter dec hiThis is used to decompose a signal into low-frequency approximate components and high-frequency detail components. The reconstruction filter bank includes a reconstruction low-pass filter (rec). lo and reconstructed high-pass filter rec hi It is used to reconstruct time-domain signals from wavelet coefficients.

[0183] In this embodiment, the first-level denoised signal is decomposed according to the number of decomposition levels using the mother wavelet function to obtain the wavelet coefficients of each level. The specific decomposition process includes: in the first level, the first-level denoised signal is passed through a decomposition low-pass filter (dec)... lo Decomposition of high-pass filter dec hi Then, perform double downsampling (stride=2) to obtain the first-level approximation coefficients a1 and the first-level detail coefficients d1; in the second level, repeat the same filtering and downsampling operation on a1 to obtain a2 and d2; and so on, until the third level, finally obtaining the detail coefficients {d1,d2,…,d1} for each level. Level} and the approximation coefficient a of the Level 1 Level The lengths of these coefficients are halved as the number of layers increases, reflecting the time-frequency localization characteristics of the signal at different scales.

[0184] In this embodiment, the shrinkage ratio of each layer of wavelet coefficients is determined based on the statistical standard deviation and scaling factor of each layer. The statistical standard deviation represents the statistically significant dispersion of each layer of wavelet coefficients, characterizing the fluctuation range of that layer's coefficients. The shrinkage ratio is the shrinkage threshold in the following embodiment.

[0185] In a preferred embodiment, for each level of detail coefficients, a statistic of its absolute value is first calculated. Specifically, under the assumption that the noise follows a Gaussian distribution and the signal is sparse, the statistical standard deviation of the noise is calculated. Robust estimation can be performed using the median of the absolute values ​​of the detail coefficients, as shown in the following expression:

[0186] (15);

[0187] in, This represents the median of the absolute values ​​of all high-frequency detail coefficients in this layer. Since the median is not sensitive to outliers, it can still provide a robust noise variance estimate when there are large-amplitude signal components in the wavelet coefficients. σ represents the scale factor; σ represents the statistical standard deviation of the noise, obtained by robust estimation using the median absolute value of the wavelet coefficients at this layer; c is the set of high-frequency detail coefficients at a certain layer for which threshold estimation is currently being performed. In one example, It can be used to replace the 0.6745 quantile in standard noise estimation and adjust the denoising intensity; when When σ is 0.6745, it represents the standard deviation estimate of the standard normal noise.

[0188] Subsequently, the shrinkage threshold σ is determined based on the aforementioned noise standard deviation σ, and is expressed as:

[0189] (16);

[0190] Where L is the number of elements in the current coefficient set. It is a universal threshold coefficient based on the Gaussian noise assumption. The larger the scale factor, the weaker the denoising intensity; the smaller the scale factor, the stronger the denoising intensity. Therefore, the aggressiveness of denoising can be flexibly controlled by adjusting the scale factor.

[0191] In this embodiment, the wavelet coefficients of each layer are shrunk according to the shrinkage ratio (i.e., the shrinkage threshold) to obtain the shrunk wavelet coefficients of each layer. The above-mentioned shrinkage process refers to performing a nonlinear transformation on the wavelet coefficients, setting the wavelet coefficients with amplitudes less than a certain shrinkage threshold to zero or compressing them, thereby suppressing the wavelet coefficient components corresponding to noise, while retaining the wavelet coefficient components corresponding to the effective signal.

[0192] In some implementations, a soft-thresholding method can be used to shrink each wavelet coefficient. This is because soft thresholding ensures the shrunk coefficients remain continuous near zero, thus avoiding the reconstructed signal oscillations caused by the discontinuities at the threshold point in hard thresholding. Specifically, each wavelet coefficient is evaluated. When the absolute value of the coefficient is less than or equal to the shrinkage threshold, the coefficient is set to zero, indicating that noise has been completely removed. When the absolute value of the coefficient is greater than the shrinkage threshold, the coefficient is shrunk towards zero by the threshold amount while retaining its sign, thereby preserving as much effective signal energy as possible while removing noise. Soft thresholding ensures a continuous transition of coefficients at the threshold, avoiding the reconstructed signal oscillations that may be caused by hard thresholding. Specifically, the expression for the shrunk wavelet coefficients is as follows:

[0193] (17);

[0194] in, To determine the sign of c (+1 for positive numbers, -1 for negative numbers, and 0 for zero), max(·,0) means taking the larger value between the value in parentheses and 0.

[0195] In this embodiment, based on the calculated shrinkage threshold, the high-frequency detail coefficients of each layer are subjected to soft threshold shrinkage processing to obtain the shrunken wavelet coefficients of each layer.

[0196] After the above shrinkage process, different degrees of attenuation are applied to the detail coefficients of each layer, while the approximation coefficients of the deepest layer, which represent the main trend of the signal, are usually kept unchanged to ensure that the basic shape of the signal is not destroyed.

[0197] After shrinking the wavelet coefficients at each level, the shrunken wavelet coefficients are reconstructed using inverse wavelet transform to obtain the secondary denoised signal. In a specific embodiment, inverse one-dimensional convolution (ConvTranspose1d, stride 2) can be used to perform the inverse wavelet transform, reconstructing the detail coefficients of all levels after shrinkage and the deepest approximation coefficients layer by layer upwards according to the inverse process of wavelet decomposition, restoring the time-domain signal, and obtaining the secondary denoised sequence. In this secondary denoised sequence, residual environmental noise and broadband noise floor have been further suppressed. The secondary denoised sequences of all distance channels within the target space window are stacked along the distance dimension to obtain the secondary denoised signal matrix. The secondary denoised signal matrix is ​​output as the final adaptive denoising result. This secondary denoised signal has undergone layered processing of first-level spectral subtraction denoising and second-level wavelet threshold denoising, achieving a better balance between waveform fidelity and overall signal-to-noise ratio improvement.

[0198] It should be noted that the wavelet basis type, decomposition level, and scale factor mentioned above are not fixed in advance, but are adaptively output by the wavelet parameter prediction network based on the temporal characteristics of the first-level denoised signal. This allows the wavelet denoising parameters to be adaptively adjusted according to the residual noise characteristics of the current data segment. Specifically, the wavelet basis type determines the mathematical properties of the mother wavelet function, the decomposition level controls the depth of the multi-scale decomposition, and the scale factor adjusts the shrinkage ratio of the coefficients in each level.

[0199] In a preferred embodiment of the present invention, the aforementioned wavelet parameters can be output by a wavelet parameter prediction network (WaveletDenoisingNet). Specifically, the first-level denoised sequence of each distance channel in the first-level denoised signal matrix E can be extracted separately and input into the wavelet parameter prediction network. The network performs forward inference independently on each sequence and outputs a set of wavelet parameters corresponding to that sequence. The wavelet parameter prediction network employs a structure combining a one-dimensional convolutional coding network and a fully connected regression head.

[0200] Figure 4 A schematic diagram of a wavelet parameter prediction network in a denoising model according to another embodiment of the present invention is shown.

[0201] like Figure 4As shown, the network input consists of each temporal signal in the first-level denoised sequence matrix obtained after the spectral subtraction reconstruction described above. The encoder part sequentially passes through multiple one-dimensional convolutional layers (Conv1d), each followed by a modified linear unit activation function (ReLU) and a max pooling layer (MaxPool1d) to extract multi-scale features from the one-dimensional temporal signal. The number of output channels in each layer increases in the following sequence: layer 1 outputs 16 channels, layer 2 outputs 32 channels, layer 3 outputs 64 channels, layer 4 outputs 128 channels, layer 5 outputs 256 channels, layer 6 outputs 512 channels, and layer 7 outputs 1024 channels. The convolutional kernel size is 3. The pooling window size of the pooling layer is 2, and the stride is 2, used to progressively compress the temporal dimension.

[0202] To accommodate time-domain sequences of different input lengths, an adaptive one-dimensional average pooling layer (AdaptiveAvgPool1d) is introduced at the end of the encoder to transform feature sequences of different lengths into a fixed length. Preferably, At this point, the encoded output can be represented as a dimension. The three-dimensional tensor, where 1024 is the number of channels and 73 is the fixed sequence length after pooling.

[0203] Since the subsequent fully connected regression head requires a one-dimensional feature vector as input, this three-dimensional tensor needs to be flattened into a one-dimensional form. The flattening operation arranges all elements of each sample into a vector in order, and the flattened dimension is... .

[0204] Since the flattened feature vectors are in a high-dimensional space and contain a large amount of redundant information, directly using them to output control parameters will lead to severe overfitting, and an excessively large parameter space is detrimental to network training. Therefore, it is necessary to reduce the dimensionality step by step through multiple fully connected layers to compress the feature dimensions while retaining the information most helpful for wavelet parameter prediction. The regression head adopts a structure of alternating connections between multiple fully connected layers (Linear) and Modified Linear Unit Activation Function (ReLU) to progressively compress and map the high-dimensional temporal abstract features extracted by the encoder into the control parameters required for wavelet denoising. An example dimensionality reduction sequence could be: 1024.73→1024.36→1024.12→512.12→256.12→128.12→64.12→32.12→16.12→8.12→4.12→24→12→6→3. The final output is a three-dimensional vector, corresponding to the wavelet basis index, decomposition layer number, and scale factor, respectively. The output parameters need to be constrained within a preset range by an S-function.

[0205] To prevent unreasonable network output parameters from causing wavelet denoising failure, this invention imposes constraints on the network output parameters. In a specific implementation, the wavelet basis index is an integer value, the range of which is limited by the length of a preset wavelet basis list. Through rounding and amplitude limiting operations, it is constrained to a valid index range (e.g., 0 to the preset list length minus 1), used to select the corresponding wavelet basis type from the preset wavelet basis list. The decomposition level (Level) is constrained to a preset range through rounding and amplitude limiting operations, preferably 5 to 10 levels, ensuring that the decomposition depth neither leads to insufficient noise suppression nor excessive decomposition and computational redundancy. The scaling factor is constrained to be no less than 10 through a maximum value operation. -3 This ensures the numerical stability of the threshold estimation and avoids excessive suppression of the effective signal due to an excessively small scale factor leading to an excessively large threshold or excessively strong denoising intensity.

[0206] The wavelet parameter prediction network structure described above (including the number of encoder layers, number of channels, convolution kernel size, pooling parameters, dimensionality reduction sequence, and constraint range of output parameters) is only a preferred embodiment of the present invention and is not intended to limit the implementation of the present invention. Those skilled in the art can use other equivalent network architectures to achieve the same function, such as adjusting the number of convolutional layers, using different activation functions, changing the pooling strategy, or using an attention mechanism. These variations are all equivalent substitutions for the inventive concept and do not depart from the protection scope of the present invention.

[0207] Based on this, in the embodiments of the present invention, since the statistical standard deviation of the wavelet coefficients of each layer is estimated separately and the threshold of each layer is calculated separately, the shrinkage ratio of the wavelet coefficients of each layer is differentiated. This differentiated shrinkage method makes the denoising intensity adaptive to the distribution of noise strength at each scale, avoiding the problems of under-denoising or past noise caused by a uniform shrinkage ratio. In addition, the wavelet basis type, the number of decomposition layers, and the scale factor can all be output online according to the current data characteristics, and the shrinkage threshold of each layer is determined independently according to the statistical characteristics of the coefficients of each layer. The whole process does not require noisy-clean paired labels. Compared with traditional wavelet denoising methods that fix wavelet parameters or rely on empirical parameter tuning, the above method can adaptively adjust the denoising strategy at different noise levels and different data segments. While effectively suppressing environmental noise and broadband noise floor, it retains the waveform details of the effective signal in each frequency band, so that the final denoised signal achieves a better balance between improving the signal-to-noise ratio and maintaining waveform fidelity.

[0208] According to an embodiment of the present invention, the adaptive denoising method further includes: processing the first spectral feature and the second spectral feature using an initial denoising model configured with the kth weight parameter to obtain the kth control parameter, k≥1; denoising the noisy signal according to the kth control parameter to obtain the kth denoising result; constructing a self-supervised loss function based on the energy distribution characteristics of the kth denoising result in the time-frequency domain; performing backpropagation iterative updates on the kth weight parameter with the goal of minimizing the self-supervised loss function to obtain the (k+1)th weight parameter; repeating the operation until a preset convergence condition is met to obtain the denoising model.

[0209] The initial denoising model is an untrained or pre-trained deep learning network model awaiting further optimization. In this embodiment, when denoising each data segment, online iterative updates are performed starting from the current network weights.

[0210] The k-th weight parameter represents the network weight parameter value of the initial denoising model at the k-th iteration, where k is an integer greater than or equal to 1. When k=1, the model uses the initial weight parameter, which can be randomly initialized or derived from the output value of a previous data segment.

[0211] The self-supervised optimization process of the denoising model will be described in detail below with specific steps.

[0212] In this embodiment, the first and second spectral features are processed using an initial denoising model configured with the k-th weight parameter to obtain the k-th control parameter. Specifically, the first and second spectral features of the current data segment are stacked to form an input tensor, which is then fed into the denoising model configured with the k-th weight parameter for forward inference. The model performs multi-level feature extraction and downsampling on the input tensor through an encoder, and then maps the high-dimensional features into a low-dimensional control parameter vector through a regression head, outputting the k-th control parameter. This control parameter includes, but is not limited to, the gain factor and oversubtraction factor of spectral subtraction, as well as the wavelet basis type, decomposition level, and scale factor of wavelet threshold denoising.

[0213] In this embodiment, the noisy signal is denoised according to the k-th control parameter to obtain the k-th denoised result. The k-th denoised result is the time-domain signal obtained after denoising the noisy signal according to the k-th control parameter. To evaluate the quality of this denoised result and drive network optimization, a time-frequency transformation is performed on the k-th denoised result to obtain its energy spectrum matrix in the time-frequency domain.

[0214] Specifically, adaptive spectral subtraction is performed based on the gain factor and over-subtraction factor in the k-th control parameter to obtain the first-level denoised signal. Then, wavelet thresholding is performed based on the wavelet parameters in the k-th control parameter to obtain the second-level denoised signal. The k-th denoising result is the final denoised signal matrix obtained in this iteration under the current model parameters.

[0215] In this embodiment, a self-supervised loss function is constructed based on the energy distribution characteristics of the k-th denoising result in the time-frequency domain. This self-supervised loss function is a loss function constructed using only the information of the noisy signal itself and its denoising result, without requiring paired clean labels. It is used to evaluate the quality of the denoising result and guide the iterative update of network parameters.

[0216] Specifically, real vibration signals typically exhibit localized, sparse, and continuously varying energy concentrations in the time-frequency domain, while random noise energy is diffusely distributed, drastically changing, and lacks structured time-frequency patterns. Based on this prior knowledge, multiple loss terms can be constructed to measure whether the denoising result satisfies the constraints of a real signal. Therefore, the self-supervised loss function includes multiple components that constrain the time-frequency energy distribution of the denoising result from different dimensions, collectively forming the objective function for evaluating the denoising quality.

[0217] In this embodiment, the k-th weight parameter is iteratively updated via backpropagation to obtain the (k+1)-th weight parameter, with the goal of minimizing the self-supervised loss function. Specifically, the self-supervised loss function is used as the optimization objective, the gradient of the loss function with respect to the weight parameters of the denoising model is calculated, and the gradient is propagated layer by layer to each layer of the network through the backpropagation algorithm. Then, a gradient descent optimizer is used to update the weight parameters along the negative gradient direction. For example, , where θ k Let θ represent the k-th weight parameter. k+1 Let represent the (k+1)th weight parameter, and η represent the learning rate, which controls the step size for each weight update. Represents the self-supervised loss function For the k-th weight parameter θ k The gradient of the loss function represents the direction and rate of change of the loss function under the current weights. In a preferred embodiment, an adaptive moment estimator (Adam) can be used, with a learning rate of 1×10⁻⁶. -6 ~1×10 -3 Through backpropagation iteration, the weight parameters of the denoising model are gradually adjusted in the direction that minimizes the self-supervised loss.

[0218] In this embodiment, the above operations are repeated until a preset convergence condition is met to obtain a denoising model. The preset convergence condition may be reaching a preset maximum number of iterations, the self-supervised loss function value no longer decreasing after a certain number of consecutive iterations, or the decrease in the loss function value falling below a set threshold. In a preferred embodiment, the number of iterations can range from 1 to 50. After the convergence condition is met, the current model weight parameters are the optimized denoising model parameters for the current data segment, which can be used for the final control parameter output.

[0219] It should be noted that this self-supervised optimization process is executed independently for each data segment being processed. Each data segment has its own noise statistics. The loss function is constructed and the model parameters are updated based on the denoising results of that data segment, making the model parameters specifically adapted to the noise state of that data segment. When processing the next data segment, the model parameters can be reinitialized or continue to adapt from the optimal parameters of the previous segment, thereby achieving online tracking as the noise state changes.

[0220] In one specific embodiment, during the self-supervised iterative optimization process, the current self-supervised loss value and the corresponding denoising result are recorded at each iteration. After the iteration ends, the denoising result corresponding to the iteration with the smallest self-supervised loss value is selected as the optimal output for that stage, while the corresponding control parameter vector is retained to ensure that the final output denoising result has the best quality in all iterations.

[0221] Based on this, this invention constructs a self-supervised loss function, enabling the denoising model to adaptively optimize using only the energy distribution characteristics of the noisy signal in the time-frequency domain, without the need for clean labels. The weight parameters of the denoising model are customized for the noise state of each specific data segment, allowing the model to adaptively adjust to non-stationary changes in instrument noise through parameter control. Simultaneously, this self-supervised iterative optimization framework avoids the dependence on large amounts of labeled data in traditional supervised learning, reducing engineering deployment costs.

[0222] According to an embodiment of the present invention, a self-supervised loss function is constructed based on the energy distribution characteristics of the k-th denoising result in the time-frequency domain, including: performing a time-frequency transformation on the k-th denoising result to obtain a time-frequency energy spectrum; determining a smoothing constraint loss term based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence; determining a sparsity constraint loss term based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain; determining a signal-to-noise ratio (SNR) driven loss term based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum, wherein the effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on a preset time frame; and constructing a self-supervised loss function based on the smoothing constraint loss term, the sparsity constraint loss term, and the SNR driven loss term.

[0223] The time-frequency energy spectrum is the energy distribution matrix on the time-frequency plane obtained by squaring the amplitude spectrum after the k-th denoised result undergoes a short-time Fourier transform. In this invention, it is simply referred to as the energy spectrum. In some embodiments, this energy spectrum is a two-dimensional matrix, with rows corresponding to frequencies and columns corresponding to time frames. Each element represents the signal energy intensity in that time-frequency unit. The dimensions of the energy spectrum are consistent with the square of the signal amplitude, directly corresponding to the physical meaning of the signal energy.

[0224] The output of the short-time Fourier transform is a complex spectrum. Its amplitude spectrum reflects the magnitude of the signal at each time frequency point, with units representing the signal amplitude. The energy spectrum, on the other hand, is the square of the amplitude spectrum, reflecting the energy of the signal at each time frequency point, with units consistent with the square of the amplitude. Since the signal-to-noise ratio (SNR) is essentially the ratio of signal energy to noise energy, calculating the SNR using the energy spectrum directly uses the energy ratio without additional dimensional conversion or square root calculations. This simplifies the calculation process and ensures the physical consistency of the SNR measurement.

[0225] In this embodiment, a short-time Fourier transform is performed on each time-series signal in the k-th denoising result to obtain the complex spectrum R of the denoising result. i (f,m), and by taking the modulus of the complex spectrum and squaring it, the time-frequency energy spectrum of the denoised result is obtained. All Z s The amplitude spectra of each channel are stacked along the channel dimension to form the energy spectrum tensor. Based on the energy distribution characteristics of the denoising result in the time-frequency domain reflected by the time-frequency energy spectrum, three components of the self-supervised loss function are constructed from three dimensions.

[0226] The smoothing constraint loss term is used to constrain the energy variation of the denoising result to remain continuous and smooth along the time axis, thereby suppressing non-physical artifacts and abrupt changes caused by excessive denoising. Since the real vibration signal evolves continuously along the time axis, its energy does not exhibit drastic random jumps, while the energy fluctuations caused by noise present irregular high-frequency jitter. Therefore, constraining the time-frequency energy spectrum of the denoising result to change smoothly along the time axis can effectively suppress time-domain artifacts caused by noise.

[0227] In one specific implementation, the first-order difference amplitude is calculated along the time frame direction of the time-frequency energy spectrum of the denoised result. This involves calculating the absolute value of the energy change between adjacent time frames. This difference reflects the rate of change of signal energy along the time axis; a larger difference value indicates drastic energy changes over time, while a smaller difference value indicates smooth energy changes over time. The average of the difference values ​​across all frequency points and all valid time frames yields a smoothing constraint loss term. A smaller smoothing constraint loss term indicates fewer abrupt changes in the time-frequency energy of the denoised signal over time, resulting in a more continuous and smooth signal.

[0228] The sparsity constraint loss term is used to constrain the energy distribution of the denoised result in the time-frequency domain to tend towards sparsity, thereby suppressing the broadband noise floor. Since the effective signal exhibits sparsity in the wavelet domain or time-frequency domain—that is, its energy is concentrated in a few time-frequency units—while broadband noise has its energy uniformly distributed across the entire time-frequency plane and does not possess sparsity, imposing a sparsity constraint on the time-frequency energy spectrum of the denoised result, encouraging energy concentration and suppressing diffuse energy distribution, can effectively suppress the broadband noise floor.

[0229] In one specific implementation, the time-frequency energy spectrum Q of the denoising result is... i All F×M of (f,m) total The average value of each element is taken. Since the energy spectrum itself is non-negative, its absolute value is equal to the original value, so taking the average value and taking the mean of the absolute values ​​yields the same result. The smaller the value of this sparsity constraint loss term, the more concentrated the energy distribution in the time-frequency plane; the larger the value of this sparsity constraint loss term, the more diffuse the energy distribution.

[0230] The signal-to-noise ratio (SNR) driven loss term is used to drive the SNR maximization of the denoising result, thereby optimizing noise reduction and signal fidelity without clean labels.

[0231] In one specific implementation, the effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on preset time frames. Specifically, the first few frames of the time-frequency energy spectrum in the time frame direction are divided into a noise reference region, which is assumed to contain only noise and no effective vibration signal. The remaining time frames are divided into an effective signal region, which contains the sum of effective vibration signal and residual noise. The energy mean of each region is calculated, and the ratio between the energy mean of the effective signal region and the energy mean of the noise reference region is calculated. The higher this ratio, the higher the signal-to-noise ratio of the denoising result, and the better the denoising effect. The signal-to-noise ratio driving loss term is constructed based on this ratio, such that minimizing this term is equivalent to maximizing the signal-to-noise ratio, thereby driving the denoising model to produce a denoising result with a higher signal-to-noise ratio.

[0232] In this embodiment, a self-supervised loss function is constructed based on the aforementioned smoothing constraint loss term, sparse constraint loss term, and signal-to-noise ratio (SNR) driven loss term. Specifically, the smoothing constraint loss term, sparse constraint loss term, and SNR driven loss term are weighted and summed to form the overall self-supervised loss function:

[0233] (18);

[0234] in, Represented as a smoothing constraint loss term, Represented as a sparse constraint loss term, This is represented as a signal-to-noise ratio driven loss term. , , These are the weight coefficients for the smoothing constraint loss term, the sparse constraint loss term, and the signal-to-noise ratio (SNR) driven loss term, used to adjust the relative importance of the three loss terms in the total loss. In a preferred embodiment, each weight coefficient can be set to 1, meaning the three loss terms are added together with equal weight. In another preferred embodiment, the weight coefficients can be adjusted unequally according to the specific application scenario and signal characteristics. For example, when there is a lot of impulse noise in the signal, the weight of the smoothing constraint loss term can be increased; when the base noise is prominent, the weight of the sparse constraint loss term can be increased. By minimizing this self-supervised loss function, the denoising model is driven to converge in a direction that simultaneously satisfies temporal smoothness and continuity, frequency domain sparseness and concentration, and high signal-to-noise ratio.

[0235] In another embodiment, the wavelet stage adopts the same self-supervised loss function construction method as the spectral subtraction stage, that is, the same time-frequency transformation and calculation of three loss components are performed on the second-level denoised signal matrix to drive the parameter update of the wavelet parameter prediction network.

[0236] Based on this, embodiments of the present invention construct a self-supervised loss function comprising three terms: smoothness constraint, sparsity constraint, and signal-to-noise ratio (SNR) driving force. These three losses constrain the denoising results from three dimensions: temporal continuity, frequency sparsity, and SNR, respectively, forming complementary optimization objectives that jointly drive the denoising model towards convergence in a direction that both suppresses noise and preserves signal details. The introduction of this self-supervised loss function allows the denoising model to be optimized under unlabeled data conditions, avoiding the dependence on noisy-clean paired data in traditional supervised learning and improving the engineering practicality of the solution.

[0237] According to an embodiment of the present invention, the signal-to-noise ratio (SNR) driving loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum, including: determining the first M frames of the time-frequency energy spectrum in the time frame sequence as the noise reference region and the remaining frames as the effective signal region, where M≥1; and determining the SNR estimate based on the ratio of the average energy of the effective signal region to the average energy of the noise reference region.

[0238] In this embodiment, the time-frequency energy spectrum corresponds to a signal segment at a short-time Fourier transform window position in the total number of frames in the time frame sequence. In DAS data, the time-series signals of the same distance channel can be roughly divided into intervals containing vibration signals and silent intervals containing only noise on the time axis. In most practical acquisition scenarios, the beginning of the data segment usually precedes the arrival time of the external vibration event. Therefore, this beginning part can be regarded as a noise reference area containing only the instrument's background noise and no effective signal.

[0239] Therefore, in the above signal-to-noise ratio driven loss term In the construction, the beginning part of the current data segment can be selected as the reference estimation interval for the noise basis. Specifically, the first M frames of the time-frequency energy spectrum in the time frame sequence can be determined as the noise reference region, such as frame 1 to frame M, and the remaining frames can be determined as the effective signal region, such as frame (M+1) to frame (M). total Frame. Where M represents the preset number of time frames used to determine the number of samples for estimating the average noise energy. In a preferred embodiment, M ranges from 32 to 256 frames. Its specific value can be adjusted in conjunction with the time frame length of the STFT and the total data duration. If the frame shift step size is small and the time resolution is high, more time frames are contained within the same time length, and M can be appropriately increased to ensure the noise sample size. If the frame shift step size is large, M can be appropriately decreased to avoid an excessively long time span. For example, when the frame shift step size is 10ms, M=128 corresponds to a noise reference interval of approximately 1.28 seconds, which is sufficient to obtain a stable noise power spectrum estimate and is unlikely to include sudden vibration signals.

[0240] In this embodiment, after determining the noise reference region and the effective signal region, for the timing signal of the i-th channel, the average energy of the noise reference region can be calculated separately. and the average energy of the effective signal region Among them, the average energy of the noise reference region By analyzing the time-frequency energy spectrum of the denoising results The mean value is obtained by averaging across all frequency points and time frames within the first M frames. This mean reflects the average power level of the instrument's inherent noise floor at the beginning of the current data segment. (Energy mean of the effective signal region) By analyzing the time-frequency energy spectrum of the denoising results The mean is obtained by averaging all frequency points and all time frames within the remaining time frame (M+1 frame to the last frame). This mean reflects the average power level, which includes the sum of valid signal and residual noise.

[0241] In this embodiment, the signal-to-noise ratio estimate of the i-th channel is determined based on the ratio of the average energy of the effective signal region to the average energy of the noise reference region. :

[0242] (19);

[0243] The signal-to-noise ratio estimate, expressed in decibels (dB), reflects the relative magnitude of the effective signal energy to the residual noise energy in the denoising result. When the denoising effect is good, the energy of the effective signal in the effective signal region is much higher than that of the residual noise. Significantly greater than , It is a relatively large positive value. When the denoising effect is poor, there is more noise residue in the effective signal region. and The ratio approaches 1. Approaching 0.

[0244] For all Z s The average signal-to-noise ratio (SNR) is obtained by averaging the estimated SNR values ​​of the channels. To minimize the negative value of the signal-to-noise ratio estimate, a signal-to-noise ratio driving loss term is constructed. :

[0245] (20).

[0246] Based on this, the present invention defines the first M frames as the noise reference region and the remaining frames as the effective signal region on the time-frequency energy spectrum. By reasonably setting the value of M, the signal-to-noise ratio (SNR) estimation can balance statistical reliability and physical accuracy. Furthermore, by constructing the negative values ​​of the SNR estimates as the SNR-driven loss term, minimizing this loss term drives the network parameters to converge towards maximizing the output SNR. This ensures that the goal of self-supervised learning aligns with the core requirement of improving the SNR in denoising applications.

[0247] In some implementations, after all the above denoising processes are completed, the adaptive denoising results can be correlated with the original noisy signal and output simultaneously, along with the optimal control parameters for each stage, including the optimal gain factor and over-subtraction factor for the spectral subtraction stage, and the optimal wavelet basis type, decomposition level, and scaling factor for the wavelet stage, for use in engineering diagnostics, parameter reproduction, or subsequent analysis. These parameters can be output along with the denoised signal in text or structured data format.

[0248] Figure 5 A flowchart of an adaptive denoising method according to a specific embodiment of the present invention is shown.

[0249] like Figure 5 As shown, in this specific embodiment, the adaptive denoising method includes S510~S590.

[0250] The S510 is used to acquire noisy signals.

[0251] In this specific embodiment, a two-dimensional raw data block output by the distributed fiber acoustic sensor host after phase demodulation is acquired, and the corresponding sampling parameters are read. A target spatial window is selected in the distance dimension, and the time-domain data of all distance channels within the spatial window are extracted from the raw data block to obtain a noisy signal matrix.

[0252] During operation of S520, a reference noise signal is acquired.

[0253] In this specific embodiment, a spatial window corresponding to the vibration isolation reference fiber is selected in the distance dimension. The time-domain signals of multiple reference channels within the spatial window are spatially averaged along the distance dimension to obtain a reference noise signal. The reference noise signal is then copied and stacked according to the number of channels of the noisy signal to form a reference noise signal matrix, so that each noisy timing signal corresponds to a reference noise timing signal of the same source and length.

[0254] During operation of S530, the noisy signal and the reference noise signal are normalized and time-aligned and clipped.

[0255] In this specific embodiment, the noisy signal matrix and the reference noise signal matrix are subjected to channel-by-channel amplitude normalization to ensure that their amplitude ranges fall within a preset range. Based on the filter order of the adaptive filtering process, each normalized sequence is time-aligned and pruned to ensure that they correspond to each other at the same length.

[0256] The S540 is used to perform adaptive filtering on the noisy signal to obtain the filtered output signal.

[0257] Using the noise sample values ​​of the reference noise signal at each sampling time, adaptive filtering is applied to the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time. These filtered output signals are then combined according to the sampling time to form an adaptive noise reference signal. A least mean square adaptive filtering algorithm is used, with the reference noise signal as the desired signal, to dynamically adjust the filter weight coefficients, gradually approximating the reference noise signal to the filtered output signal. This adaptive noise reference signal matches the actual noise components in the noisy signal. The resulting adaptive noise reference signal is then output for subsequent time-frequency feature extraction.

[0258] When operating the S550, short-time Fourier transforms are performed on the noisy signal and the adaptive noise reference signal respectively to construct the input tensor.

[0259] Based on the adaptive noise reference signal obtained from S540, short-time Fourier transforms are performed on the noisy signal and the adaptive noise reference signal respectively to extract their respective time-frequency domain amplitude spectrum features. The amplitude spectrum of the noisy signal and the amplitude spectrum of the adaptive noise reference signal are stacked in the channel dimension to form the input tensor of the denoising model.

[0260] When operating the S560, the first-stage denoising process of the noisy signal is performed using a spectral subtraction parameter prediction network based on the input tensor.

[0261] The input tensor is processed using a spectral subtraction parameter prediction network to output control parameters. In this embodiment, the control parameters include a gain factor and an over-subtraction factor. Based on these control parameters, the noisy signal undergoes a first-stage denoising process: in the time-frequency domain, the power spectrum of the adaptive noise reference signal is scaled using the over-subtraction factor. The scaled reference power spectrum is subtracted from the power spectrum of the noisy signal. After scaling by the gain factor, the complex spectrum is reconstructed using the original phase of the noisy signal, and the time-domain signal is recovered through an inverse short-time Fourier transform, resulting in a first-stage denoised signal.

[0262] When operating the S570, the optimal first-level denoised signal is selected by optimizing the self-supervised loss of the spectral subtraction parameter prediction network.

[0263] Based on the first-level denoised signal corresponding to the control parameters output by the spectral subtraction parameter prediction network, a time-frequency transformation is performed on the first-level denoised signal to obtain the time-frequency energy spectrum. A smoothing constraint loss term is determined based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence; a sparsity constraint loss term is determined based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain; and a signal-to-noise ratio driving loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum. A self-supervised loss function is constructed based on these three loss terms. With the goal of minimizing this loss function, the weight parameters of the spectral subtraction parameter prediction network are iteratively updated through backpropagation, enabling the network to adapt to the noise state of the current data segment. The optimal first-level denoised signal is selected for output within a preset number of iterations.

[0264] When operating the S580, a wavelet parameter prediction network is used to perform forward inference and second-level denoising on the first-level denoised signal to obtain the second-level denoised signal.

[0265] The primary denoised signal is input into a wavelet parameter prediction network, which outputs wavelet parameters, including the wavelet basis type, decomposition level, and scaling factor. A mother wavelet function is determined based on the wavelet basis type. This mother wavelet function is then used to perform multi-level wavelet decomposition on the primary denoised signal according to the decomposition level. The wavelet coefficients at each level are shrunk according to the scaling factor, and the resulting signal is then reconstructed using inverse wavelet transform to obtain the secondary denoised signal.

[0266] By operating the S590, the self-supervised loss of the wavelet parameter prediction network is optimized to obtain the final adaptive denoising result.

[0267] Based on the second-level denoised signal, a time-frequency transform is performed to obtain the time-frequency energy spectrum. The same self-supervised loss function construction method as the spectral subtraction stage (including smoothing constraint loss term, sparse constraint loss term, and signal-to-noise ratio driven loss term) is adopted. With minimizing this loss function as the objective, the weight parameters of the wavelet parameter prediction network are iteratively updated through backpropagation. The optimal second-level denoised signal is selected within a preset number of iterations as the final adaptive denoising result output.

[0268] Based on the above adaptive denoising method process, the present invention also provides a system architecture for implementing the above method.

[0269] Figure 6 A system architecture diagram of an adaptive denoising system according to a specific embodiment of the present invention is shown.

[0270] like Figure 6 As shown, the system includes a DAS demodulation host 601, a vibration isolation reference fiber 602, and a sensing fiber 603.

[0271] The DAS demodulation host 601 of the optoelectronic system is optically coupled to the sensing fiber 603 and the vibration isolation reference fiber 602, respectively. The DAS demodulation host 601 injects laser pulses into the sensing fiber 603 and receives its backscattered Rayleigh light. After coherent detection and phase demodulation, it outputs a noisy signal 604 carrying external vibration signals and instrument background noise. Simultaneously, the DAS demodulation host 601 injects laser pulses into the vibration isolation reference fiber 602 and receives its backscattered Rayleigh light. After demodulation, it outputs a reference noise signal 605 containing only the instrument background noise.

[0272] Adaptive filtering is performed on the noisy signal 604 and the reference noise signal 605. The noisy signal 604 is used as the input and the reference noise signal 605 is used as the desired signal. The filter weight coefficients are dynamically adjusted through the least mean square adaptive filtering algorithm so that the filtered output signal approximates the actual noise component in the noisy signal in terms of statistical characteristics. Thus, an adaptive noise reference signal 606 that matches the actual noise component in the noisy signal is obtained.

[0273] Time-frequency domain denoising is performed on the adaptive noise reference signal 606 and the noisy signal 604. First, short-time Fourier transforms are performed on the noisy signal 604 and the adaptive noise reference signal 606 respectively to extract their respective time-frequency domain amplitude spectrum features, which are then stacked to form an input tensor. A spectral subtraction parameter prediction network is then used to process this input tensor, outputting a gain factor and an over-subtraction factor. Based on the aforementioned control parameters, a self-supervised spectral subtraction method is performed to subtract the adaptive noise reference power spectrum amplified by the over-subtraction factor from the power spectrum of the noisy signal. After gain factor scaling and phase reconstruction, the time-domain signal is recovered through an inverse short-time Fourier transform, resulting in a first-level denoised signal 607. During the generation of the first-level denoised signal 607, the weight parameters of the spectral subtraction parameter prediction network are iteratively updated via backpropagation with the goal of minimizing the self-supervised loss function, making the network adaptable to the noise state of the current data segment.

[0274] Wavelet threshold denoising is performed on the first-level denoised signal 607. First, a wavelet parameter prediction network is used to process the first-level denoised signal 607, outputting the wavelet basis type, decomposition level, and scaling factor. The mother wavelet function is determined based on the wavelet basis type, and the first-level denoised signal is decomposed into multiple wavelet layers according to the decomposition level, obtaining the wavelet coefficients for each layer. The shrinkage ratio of each layer is determined based on the statistical standard deviation and scaling factor of the wavelet coefficients, and shrinkage processing is performed. Finally, the second-level denoised signal 608 is reconstructed through inverse wavelet transform. During the generation of the second-level denoised signal, the weight parameters of the wavelet parameter prediction network are iteratively updated via backpropagation with the goal of minimizing the self-supervised loss function, making the wavelet parameter prediction network adapt to the residual noise characteristics of the current data segment.

[0275] The secondary denoised signal 608 is output as the final adaptive denoising result. In this signal, the instrument background noise has been significantly suppressed by the first-stage spectral subtraction, and the residual non-stationary transient noise is further eliminated by the second-stage wavelet threshold denoising.

[0276] Through the above signal flow path, the noisy signal is successively processed by adaptive filtering, first-level spectral subtraction denoising, and second-level wavelet thresholding denoising, and finally outputs a denoised result in which the noise is effectively suppressed and the signal waveform is preserved.

[0277] According to an embodiment of the present invention, an adaptive noise reduction device for distributed fiber optic acoustic sensing is also provided.

[0278] Figure 7 A block diagram of an adaptive noise reduction apparatus according to an embodiment of the present invention is shown.

[0279] like Figure 7 As shown, the adaptive noise reduction device 700 includes an acquisition module 710, a filtering module 720, a first processing module 730, and a second processing module 740.

[0280] The acquisition module 710 is used to acquire the noisy signal from the fiber optic sensing channel and the reference noise signal from the vibration isolation reference channel.

[0281] The filtering module 720 is used to perform adaptive filtering on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal.

[0282] The first processing module 730 is used to process the first spectral features of the noisy signal in the time-frequency domain and the second spectral features of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters. The denoising model is obtained through adaptive optimization using a self-supervised learning method.

[0283] The second processing module 740 is used to perform denoising processing on the noisy signal according to the control parameters to obtain an adaptive denoising result.

[0284] According to an embodiment of the present invention, the filtering module 720 includes an adaptive filtering submodule.

[0285] The adaptive filtering submodule is used to adaptively filter the noisy sample values ​​of the reference noise signal at each sampling time by using the noise sample values ​​of the reference noise signal at each sampling time, so as to obtain the filtered output signal at each sampling time.

[0286] According to an embodiment of the present invention, the adaptive filtering submodule includes a construction unit, a first determination unit, a second determination unit, and an update unit.

[0287] The construction unit is used to construct the input feature vector at the nth sampling time based on the noisy sampling values ​​of the noisy signal at multiple consecutive sampling times including the nth sampling time.

[0288] The first determining unit obtains the filtered output signal at the nth sampling time based on the inner product of the input feature vector and the weight coefficient vector at the nth sampling time.

[0289] The second determining unit obtains the error signal at the nth sampling time based on the difference between the noise sampling value of the reference noise signal at the nth sampling time and the filtered output signal at the nth sampling time.

[0290] The update unit updates the weight coefficient vector at the nth sampling time based on the product of the error signal, the input feature vector, and the step size factor at the nth sampling time, to obtain the weight coefficient vector at the (n+1)th sampling time.

[0291] According to an embodiment of the present invention, the second processing module 740 includes an amplification submodule, a first determination submodule, a scaling submodule, and a first reconstruction submodule.

[0292] The amplification submodule is used to scale the power spectrum of the adaptive noise reference signal using an over-subtraction factor to obtain the scaled reference power spectrum.

[0293] The first determining submodule is used to obtain the target power spectrum based on the difference between the power spectrum of the noisy signal and the scaled reference power spectrum.

[0294] The scaling submodule is used to scale the target power spectrum according to the gain factor to obtain the enhanced power spectrum.

[0295] The first reconstruction submodule is used to reconstruct the time-domain signal corresponding to the noisy signal based on the enhanced power spectrum and the phase spectrum of the noisy signal, to obtain a first-level denoised signal, and to use the first-level denoised signal as the adaptive denoising result.

[0296] According to an embodiment of the present invention, the second processing module 740 further includes a decomposition submodule, a shrinkage submodule, and a second reconstruction submodule.

[0297] The decomposition submodule is used to perform multi-level wavelet decomposition on the first-level denoised signal to obtain the wavelet coefficients of each level.

[0298] The shrinking submodule is used to shrink the wavelet coefficients of each layer according to the wavelet parameters to obtain the shrunken wavelet coefficients of each layer.

[0299] The second reconstruction submodule is used to perform inverse wavelet transform on the wavelet coefficients of each layer after shrinkage to reconstruct the secondary denoised signal, and the secondary denoised signal is used as the adaptive denoising result.

[0300] According to an embodiment of the present invention, the decomposition submodule includes a third determining unit and a decomposition unit. The shrinking submodule includes a fourth determining unit and a shrinking unit.

[0301] The third determining unit is used to determine the mother wavelet function based on the wavelet basis type.

[0302] The decomposition unit is used to decompose the first-level denoised signal according to the number of decomposition levels using the mother wavelet function, so as to obtain the wavelet coefficients of each level.

[0303] The fourth determining unit is used to determine the shrinkage ratio of wavelet coefficients at each layer based on the statistical standard deviation and scaling factor of the wavelet coefficients at each layer.

[0304] The shrinking unit is used to shrink the wavelet coefficients of each layer according to the shrinking ratio, so as to obtain the shrunken wavelet coefficients of each layer.

[0305] According to an embodiment of the present invention, the adaptive noise reduction device further includes a third processing module, a fourth processing module, a construction module, and an update module.

[0306] The third processing module is used to process the first spectral feature and the second spectral feature using an initial denoising model configured with the kth weight parameter, to obtain the kth control parameter, where k≥1.

[0307] The fourth processing module is used to denoise the noisy signal according to the k-th control parameter to obtain the k-th denoising result.

[0308] The module is used to construct a self-supervised loss function based on the energy distribution characteristics of the k-th denoising result in the time-frequency domain.

[0309] The update module is used to perform backpropagation iterative updates on the k-th weight parameter with the goal of minimizing the self-supervised loss function, to obtain the (k+1)-th weight parameter, and repeat the above operation until the preset convergence condition is met to obtain the denoised model.

[0310] According to an embodiment of the present invention, the construction module includes a time-frequency transformation submodule, a smoothness constraint determination submodule, a sparse constraint determination submodule, a signal-to-noise ratio driven determination submodule, and a loss function construction submodule.

[0311] The time-frequency transformation submodule is used to perform time-frequency transformation on the k-th denoising result to obtain the time-frequency energy spectrum.

[0312] The smoothing constraint determination submodule is used to determine the smoothing constraint loss term based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence.

[0313] The sparse constraint determination submodule is used to determine the sparse constraint loss term based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain.

[0314] The signal-to-noise ratio (SNR) driving determination submodule is used to determine the SNR driving loss term based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum. The effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on a preset time frame.

[0315] The loss function construction submodule is used to construct a self-supervised loss function based on the smooth constraint loss term, the sparse constraint loss term, and the signal-to-noise ratio driven loss term.

[0316] According to an embodiment of the present invention, the signal-to-noise ratio driven determination submodule includes a partitioning unit, a signal-to-noise ratio estimation unit, and a loss construction unit.

[0317] The partitioning unit is used to determine the first M frames of the time-frequency energy spectrum in the time frame sequence as the noise reference area and the remaining frames as the signal effective area, where M≥1.

[0318] The signal-to-noise ratio (SNR) estimation unit is used to determine the SNR estimate based on the ratio of the average energy of the effective signal region to the average energy of the noise reference region.

[0319] The loss construction unit is used to construct the signal-to-noise ratio (SNR) driven loss term based on the negative value of the SNR estimate.

[0320] According to embodiments of the present invention, any number of modules, submodules, units, or at least some of the functions of any number of subunits can be implemented in a single module.

[0321] According to embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be divided into multiple modules for implementation.

[0322] Any one or more of the modules, submodules, units, and subunits according to embodiments of the present invention can be at least partially implemented as hardware circuits, such as field-programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems-on-a-chip, systems-on-a-substrate, systems-on-package, application-specific integrated circuits (ASICs), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuits, or implemented in software, hardware, and firmware, or in any appropriate combination of any of these three implementation methods. Alternatively, any one or more of the modules, submodules, units, and subunits according to embodiments of the present invention can be at least partially implemented as computer program modules, which can perform corresponding functions when the computer program module is run.

[0323] For example, any plurality of the acquisition module 710, filtering module 720, first processing module 730, and second processing module 740 can be combined into one module / unit / subunit, or any one of these modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functionality of one or more of these modules / units / subunits can be combined with at least part of the functionality of other modules / units / subunits and implemented in one module / unit / subunit. According to embodiments of the present invention, at least one of the acquisition module 710, filtering module 720, first processing module 730, and second processing module 740 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the acquisition module 710, the filtering module 720, the first processing module 730, and the second processing module 740 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.

[0324] It should be noted that the adaptive denoising device part in the embodiments of the present invention corresponds to the adaptive denoising method part in the embodiments of the present invention. The specific description of the adaptive denoising device part is referred to in the data processing method part, and will not be repeated here.

[0325] Figure 8 The diagram illustrates an electronic device suitable for implementing an adaptive denoising method based on distributed fiber optic acoustic sensing according to an embodiment of the present invention. Figure 8 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0326] like Figure 8 As shown, an electronic device 800 according to an embodiment of the present invention includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage portion 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0327] Random access memory (RAM) 803 stores various programs and data required for the operation of electronic device 800. Processor 801, read-only memory (ROM) 802, and RAM 803 are interconnected via bus 804. Processor 801 performs various operations of the method flow according to embodiments of the present invention by executing programs in read-only memory (ROM) 802 and / or RAM 803. It should be noted that the programs may also be stored in one or more memories other than read-only memory (ROM) 802 and RAM 803. Processor 801 may also perform various operations of the method flow according to embodiments of the present invention by executing programs stored in said one or more memories.

[0328] According to an embodiment of the present invention, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to a bus 804. The electronic device 800 may also include one or more of the following components connected to the input / output (I / O) interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the storage section 808 as needed.

[0329] According to embodiments of the present invention, the method flow according to embodiments of the present invention can be implemented as a computer software program. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by processor 801, it performs the functions defined in the system of the embodiments of the present invention. According to embodiments of the present invention, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0330] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present invention.

[0331] According to embodiments of the present invention, a computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples include, but are not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0332] For example, according to embodiments of the present invention, a computer-readable storage medium may include the read-only memory (ROM) 802 and / or random access memory (RAM) 803 described above and / or one or more memories other than read-only memory (ROM) 802 and random access memory (RAM) 803.

[0333] Embodiments of the present invention also include a computer program product comprising a computer program containing program code for performing the methods provided in the embodiments of the present invention. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the adaptive noise reduction method provided in the embodiments of the present invention.

[0334] When the computer program is executed by the processor 801, it performs the functions defined in the system / apparatus of this embodiment of the invention. According to embodiments of the invention, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0335] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 809, and / or installed from a removable medium 811. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0336] According to embodiments of the present invention, program code for executing the computer programs provided in the embodiments of the present invention can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0337] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. Those skilled in the art will understand that the features described in the various embodiments of the present invention can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention can be combined and / or combined in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or pairings fall within the scope of this invention.

[0338] The embodiments of the present invention have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of the invention. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of the invention, and all such substitutions and modifications should fall within the scope of the invention.

Claims

1. A self-adaptive denoising method based on distributed fiber optic acoustic sensing, characterized in that, The adaptive denoising method includes: Acquire the noisy signal from the fiber optic sensing channel and the reference noise signal from the vibration isolation reference channel; The noisy signal is adaptively filtered based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal. The first spectral feature of the noisy signal in the time-frequency domain and the second spectral feature of the adaptive noise reference signal in the time-frequency domain are processed using a denoising model to obtain control parameters. The denoising model is obtained through adaptive optimization using a self-supervised learning method. The noisy signal is denoised according to the control parameters to obtain an adaptive denoising result. The denoising model is obtained in the following way: The first spectral feature and the second spectral feature are processed using an initial denoising model configured with the kth weight parameter to obtain the kth control parameter, where k≥1; The noisy signal is denoised according to the kth control parameter to obtain the kth denoising result; Perform a time-frequency transformation on the k-th denoising result to obtain the time-frequency energy spectrum; The smoothing constraint loss term is determined based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence. The sparse constraint loss term is determined based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain. The signal-to-noise ratio driving loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum. The effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on a preset time frame. A self-supervised loss function is constructed based on the smoothness constraint loss term, the sparse constraint loss term, and the signal-to-noise ratio driven loss term. With the goal of minimizing the self-supervised loss function, the k-th weight parameter is backpropagated and iteratively updated to obtain the (k+1)-th weight parameter; Repeat the above operations until the preset convergence condition is met to obtain the denoising model.

2. The adaptive denoising method according to claim 1, characterized in that, Both the reference noise signal and the noisy signal include multiple sampling times. The sampling times of the reference noise signal and the noisy signal are the same. The actual noise component is used to indicate the distribution of the noise sample value at each sampling time across multiple sampling times. The step of performing adaptive filtering on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal includes: Using the noise sampling values ​​of the reference noise signal at each sampling time, the noisy sampling values ​​of the noisy signal at the same sampling time are adaptively filtered to obtain the filtered output signals at each sampling time. The filtered output signals at each sampling time are combined according to the sampling time to form the adaptive noise reference signal.

3. The adaptive denoising method according to claim 2, characterized in that, Using the noise sample values ​​of the reference noise signal at each sampling time, adaptive filtering is performed on the noisy sample values ​​of the noisy signal at the same sampling time to obtain the filtered output signal at each sampling time, including: At the nth sampling time, an input feature vector is constructed based on the noisy sampling values ​​of the noisy signal at multiple consecutive sampling times including the nth sampling time, where n≥1; The filtered output signal at the nth sampling time is obtained by using the inner product of the input feature vector and the weight coefficient vector at the nth sampling time. The error signal at the nth sampling time is obtained by the difference between the noise sample value of the reference noise signal at the nth sampling time and the filtered output signal at the nth sampling time. The weight coefficient vector at the nth sampling time is updated based on the product of the error signal at the nth sampling time, the input feature vector, and the step size factor, to obtain the weight coefficient vector at the (n+1)th sampling time.

4. The adaptive denoising method according to claim 1, characterized in that, The first spectral feature includes the power spectrum of the noisy signal, the second spectral feature includes the power spectrum of the adaptive noise reference signal, and the control parameters include a gain factor and an over-subtraction factor. The step of denoising the noisy signal according to the control parameters to obtain an adaptive denoising result includes: The power spectrum of the adaptive noise reference signal is scaled proportionally using the over-subtraction factor to obtain the scaled reference power spectrum; The target power spectrum is obtained based on the difference between the power spectrum of the noisy signal and the scaled reference power spectrum; The target power spectrum is scaled according to the gain factor to obtain the enhanced power spectrum; Based on the enhanced power spectrum and the phase spectrum of the noisy signal, the time-domain signal corresponding to the noisy signal is reconstructed to obtain a first-level denoised signal, and the first-level denoised signal is used as the adaptive denoising result.

5. The adaptive denoising method according to claim 4, characterized in that, The control parameters also include wavelet parameters; The step of denoising the noisy signal according to the control parameters to obtain an adaptive denoising result further includes: The first-level denoised signal is subjected to multi-level wavelet decomposition to obtain the wavelet coefficients of each level; The wavelet coefficients of each layer are shrunk according to the wavelet parameters to obtain the shrunk wavelet coefficients of each layer. The wavelet coefficients of each layer after shrinkage are reconstructed by inverse wavelet transform to obtain a secondary denoised signal, and the secondary denoised signal is used as the adaptive denoising result.

6. The adaptive denoising method according to claim 5, characterized in that, The wavelet parameters include wavelet basis type, number of decomposition levels, and scale factor; The step of performing multi-level wavelet decomposition on the first-level denoised signal to obtain wavelet coefficients for each level includes: Determine the mother wavelet function based on the wavelet basis type; Using the mother wavelet function, the first-level denoised signal is decomposed according to the number of decomposition levels to obtain the wavelet coefficients of each level.

7. The adaptive denoising method according to claim 6, characterized in that, The step of shrinking the wavelet coefficients of each layer according to the wavelet parameters to obtain the shrunken wavelet coefficients of each layer includes: Based on the statistical standard deviation of the wavelet coefficients of each layer and the scaling factor, determine the shrinkage ratio of the wavelet coefficients of each layer; The wavelet coefficients of each layer are shrunk according to the shrinkage ratio to obtain the shrunk wavelet coefficients of each layer.

8. The adaptive denoising method according to claim 7, characterized in that, The step of shrinking the wavelet coefficients of each layer according to the shrinkage ratio to obtain the shrunken wavelet coefficients of each layer includes: For each coefficient in the wavelet coefficients of each layer, if the absolute value of the coefficient is less than or equal to the shrinkage ratio, the coefficient is set to zero; If the absolute value of the coefficient is greater than the shrinkage ratio, the shrunken coefficient is obtained based on the difference between the absolute value of the coefficient and the shrinkage ratio, and the sign of the coefficient.

9. The adaptive denoising method according to claim 1, characterized in that, The step of determining the signal-to-noise ratio driving loss term based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum includes: The first M frames of the time-frequency energy spectrum in the time frame sequence are determined as the noise reference region, and the remaining frames are determined as the signal effective region, where M≥1; The signal-to-noise ratio estimate is determined based on the ratio of the average energy of the effective signal region to the average energy of the noise reference region. The signal-to-noise ratio driving loss term is constructed based on the negative value of the signal-to-noise ratio estimate.

10. An adaptive noise reduction device for distributed fiber optic acoustic sensing, characterized in that, The adaptive noise reduction device includes: The acquisition module is used to acquire the noisy signal from the fiber optic sensing channel and the reference noise signal from the vibration isolation reference channel; A filtering module is used to perform adaptive filtering on the noisy signal based on the reference noise signal to obtain an adaptive noise reference signal, wherein the adaptive noise reference signal matches the actual noise component in the noisy signal; The first processing module is used to process the first spectral features of the noisy signal in the time-frequency domain and the second spectral features of the adaptive noise reference signal in the time-frequency domain using a denoising model to obtain control parameters. The denoising model is obtained through adaptive optimization using a self-supervised learning method. The second processing module is used to perform denoising processing on the noisy signal according to the control parameters to obtain an adaptive denoising result. The denoising model is obtained in the following way: The first spectral feature and the second spectral feature are processed using an initial denoising model configured with the kth weight parameter to obtain the kth control parameter, where k≥1; The noisy signal is denoised according to the kth control parameter to obtain the kth denoising result; Perform a time-frequency transformation on the k-th denoising result to obtain the time-frequency energy spectrum; The smoothing constraint loss term is determined based on the statistical mean of the first-order difference amplitude of the time-frequency energy spectrum along the time frame sequence. The sparse constraint loss term is determined based on the mean amplitude of the time-frequency energy spectrum in the time-frequency domain. The signal-to-noise ratio driving loss term is determined based on the energy ratio between the effective signal region and the noise reference region of the time-frequency energy spectrum. The effective signal region and the noise reference region are obtained by dividing the time-frequency energy spectrum based on a preset time frame. A self-supervised loss function is constructed based on the smoothness constraint loss term, the sparse constraint loss term, and the signal-to-noise ratio driven loss term. With the goal of minimizing the self-supervised loss function, the k-th weight parameter is backpropagated and iteratively updated to obtain the (k+1)-th weight parameter; Repeat the above operations until the preset convergence condition is met to obtain the denoising model.