OTDR signal adaptive filtering device and method for optical cable monitoring
By detrending the OTDR signal and identifying the noise type, and adaptively selecting the filtering strategy, the problem of uneven noise processing in different fiber optic regions of the OTDR is solved, achieving optimal noise suppression and event protection in the all-fiber link, and improving the signal-to-noise ratio and detection accuracy.
Patent Information
- Application Number
- CN202611350879.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-02
AI Technical Summary
Existing OTDR signal processing methods fail to effectively distinguish between different types of noise, resulting in poor filtering performance in different areas of the fiber optic link. Near-end impulse noise cannot be suppressed, and far-end noise floor remains severely, limiting the dynamic range and event detection accuracy of OTDR.
Noise types are identified by the variance-mean power law relationship after detrending processing, filter strategies are adaptively selected, fiber optic links are processed in segments, filters are matched according to noise types, and an event protection mechanism is combined to ensure that critical events are not smoothed out.
It achieves optimal noise suppression and event protection across the entire fiber optic link range, improves the signal-to-noise ratio, protects event edges, and is suitable for OTDR devices with different sampling rates and pulse widths.
Smart Images

Figure CN122835689B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of optical fiber measurement and optical cable monitoring technology, and particularly relates to a signal processing method for an optical time domain reflectometer (OTDR) using a direct detection method, specifically an adaptive filtering device and method for OTDR signals used in optical cable monitoring. Background Technology
[0002] Traditional OTDRs reduce noise and improve the signal-to-noise ratio through multiple averaging and fixed-parameter filtering (such as moving average and wavelet filtering). However, the noise received by an OTDR is not a stationary signal. Its main noise sources include: 1. Thermal noise: originates from the thermal motion of the photodetector and amplification circuit. Its intensity is constant throughout the fiber optic link, and it becomes dominant when the signal is weak at the far end. 2. Shot noise: It originates from the randomness of photon arrival, and its variance is proportional to the first power of the signal power. It has a significant impact when the signal strength is moderate in the middle section. 3. Relative Intensity Noise (RIN): It originates from the interference between spontaneous emission and coherent optical field within the laser cavity. Its variance is proportional to the square of the signal power and it exhibits multiplicative noise. It produces severe high-frequency pulse spikes when the signal is strong near the end.
[0003] The three types of noise mentioned above differ fundamentally in their physical characteristics and statistical distribution: 1. The thermal noise is additive white Gaussian noise, and its optimal filter is large-window moving average; 2. Shot noise is approximately Gaussian distributed, and its optimal linear filter is Gaussian filtering, and the optimal window size is related to the signal-to-noise ratio; 3. RIN is multiplicative noise, which manifests as pulse spikes. Its optimal filter is a nonlinear filter such as a median filter (which has the best suppression capability for pulse noise and can protect the signal edges).
[0004] However, existing OTDR signal processing methods do not distinguish the physical differences between the aforementioned noise types, typically applying the same filtering algorithm and fixed parameters (such as uniformly using moving average or wavelet filtering) for all distances. This approach leads to the following core problems: Proximal end (RIN dominant): The multiplicative impulse characteristics of RIN cannot be effectively suppressed by moving average or Gaussian filtering. Instead, the large window smoothing causes the reflection peak to be broadened and small loss events to be blurred, resulting in "over-filtering". Far end (thermal noise dominant): Thermal noise requires a large window moving average to be effectively suppressed, but fixed small window parameters lead to "insufficient filtering", and the noise floor is severely residual, which limits the dynamic range and event detection accuracy of OTDR. Summary of the Invention
[0005] To address the problem of poor filtering performance with fixed parameters due to the non-stationary distribution of noise along optical fibers, this invention provides an adaptive filtering device and method for OTDR signals used in optical cable monitoring. It identifies the physical type of noise distributed along the optical fiber by using the variance-mean power law relationship after detrending processing, automatically divides the fiber into multiple segments, and selects filters that match the physical characteristics of each noise type for different segments. Simultaneously, an event protection mechanism ensures that critical events are not smoothed, thereby achieving optimal noise suppression and event protection across the entire optical fiber link.
[0006] According to one aspect of the present invention, an OTDR signal adaptive filtering device for optical cable monitoring is provided, comprising: an envelope estimation module for acquiring a backscattered Rayleigh signal trajectory distributed along the length of an optical fiber and estimating the envelope of the signal trajectory; a detrending processing module for dividing the signal trajectory by the envelope to obtain a detrended residual signal; a noise type identification module for segmenting the residual signal along the optical fiber distance direction, calculating the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determining the dominant noise type of each segment based on the power law exponent; a filter selection module for selecting a matching filtering strategy for each segment according to the dominant noise type of each segment; and a filtering execution module for performing segmented adaptive filtering on the signal trajectory according to the filtering strategy of each segment.
[0007] As a further technical solution, the noise type identification module determines the dominant noise type of each segment based on the comparison results between the power law exponent and multiple preset thresholds, wherein the multiple preset thresholds are determined based on the theoretical power law exponents corresponding to relative intensity noise, shot noise and thermal noise respectively.
[0008] As a further technical solution, the plurality of preset thresholds include a first threshold and a second threshold; the first threshold is based on the arithmetic midpoint between the theoretical power law exponent of relative intensity noise and the theoretical power law exponent of shot noise; the second threshold is based on the arithmetic midpoint between the theoretical power law exponent of shot noise and the theoretical power law exponent of thermal noise; when the power law exponent is greater than or equal to the first threshold, the dominant noise type is determined to be relative intensity noise; when the power law exponent is less than the first threshold but greater than or equal to the second threshold, the dominant noise type is determined to be shot noise; when the power law exponent is less than the second threshold, the dominant noise type is determined to be thermal noise; when the power law exponent does not meet any of the above conditions, a default filtering strategy is adopted.
[0009] As a further technical solution, when the dominant noise type is relative intensity noise, the filtering strategy selected by the filter selection module includes a median filter; when the dominant noise type is shot noise, the filtering strategy selected by the filter selection module includes a Gaussian filter, and the filtering window of the Gaussian filter is adaptively adjusted according to the local mean of the signal trajectory; when the dominant noise type is thermal noise, the filtering strategy selected by the filter selection module includes a moving average filter.
[0010] According to one aspect of the present invention, an adaptive filtering method for OTDR signals used in optical fiber monitoring is provided, comprising: acquiring a backscattered Rayleigh signal trajectory distributed along the length of an optical fiber, and estimating the envelope of the signal trajectory; dividing the signal trajectory by the envelope to obtain a de-stressed residual signal; segmenting the residual signal along the optical fiber distance direction, calculating the power-law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determining the dominant noise type of each segment based on the power-law exponent; selecting a matching filtering strategy for each segment according to the dominant noise type of each segment; and performing segmented adaptive filtering on the signal trajectory according to the filtering strategy for each segment.
[0011] As a further technical solution, the dominant noise type of each segment is determined based on the comparison results between the power law exponent and multiple preset thresholds, wherein the multiple preset thresholds are determined based on the theoretical power law exponents corresponding to relative intensity noise, shot noise and thermal noise respectively.
[0012] As a further technical solution, the multiple preset thresholds include a first threshold and a second threshold; the first threshold is based on the arithmetic midpoint between the theoretical power law exponent of relative intensity noise and the theoretical power law exponent of shot noise; the second threshold is based on the arithmetic midpoint between the theoretical power law exponent of shot noise and the theoretical power law exponent of thermal noise; when the power law exponent is greater than or equal to the first threshold, the dominant noise type is determined to be relative intensity noise; when the power law exponent is less than the first threshold but greater than or equal to the second threshold, the dominant noise type is determined to be shot noise; when the power law exponent is less than the second threshold, the dominant noise type is determined to be thermal noise; when the power law exponent does not meet any of the above conditions, a default filtering strategy is adopted.
[0013] According to one aspect of the present invention, an optical time-domain reflectometer (OTDR) is provided, comprising: a pulse transmitting module for transmitting probe light pulses to an optical fiber under test; an optical receiving module for receiving backscattered Rayleigh light signals returned by the optical fiber under test and converting them into electrical signals; an analog-to-digital converter module for converting the electrical signals into digital signals to form a signal trajectory distributed along the length of the optical fiber; and an OTDR signal adaptive filtering device for optical cable monitoring, wherein the OTDR signal adaptive filtering device receives the signal trajectory and outputs a filtered signal trajectory.
[0014] According to one aspect of the present invention, an optical cable monitoring system is provided, comprising: a sensing optical fiber laid along the optical cable to be monitored; an optical time domain reflectometer connected to the sensing optical fiber for transmitting probe light pulses into the sensing optical fiber and receiving the returned back Rayleigh scattering light signal to generate a signal trajectory distributed along the length of the optical fiber; a signal processing device for receiving the signal trajectory and processing the signal trajectory using the OTDR signal adaptive filtering method for optical cable monitoring, and outputting a filtered signal trajectory; and a monitoring terminal for receiving and displaying the filtered signal trajectory, and / or outputting optical fiber status information based on the filtered signal trajectory.
[0015] According to one aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the OTDR signal adaptive filtering method for optical cable monitoring.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. Accurate noise type identification: Based on the variance-mean power law relationship of the detrended signal, it can accurately distinguish the RIN, shot noise and thermal noise-dominated regions along the fiber optic distance, providing a physical basis for the selection of subsequent filtering strategies.
[0017] 2. Improve the signal-to-noise ratio of the entire link: Compared with the existing technology that uses fixed parameters, the method of the present invention can effectively suppress the noise floor by applying strong filtering at the far end according to the spatial distribution of noise type, and suppress pulse spikes by using median filtering at the near end.
[0018] 3. Protect event edges: Through the built-in event protection mechanism, signal change regions are identified before filtering and the filtering window is forcibly reduced in these regions, avoiding the loss of event information caused by excessive smoothing.
[0019] 4. No additional hardware required: This method does not require any changes to the existing hardware structure of the OTDR and can be directly upgraded as firmware or software algorithm.
[0020] 5. Wide range of applications: This method does not depend on specific OTDR hardware parameters and can be applied to OTDR devices with different sampling rates and pulse widths. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 A structural block diagram of an OTDR signal adaptive filtering device for optical cable monitoring provided in an embodiment of the present invention; Figure 2 A flowchart illustrating an adaptive filtering method for OTDR signals used in optical cable monitoring, provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of segmented adaptive filtering provided in an embodiment of the present invention. Detailed Implementation
[0023] It should be noted that: In optical fiber monitoring systems, 1625nm wavelength OTDRs are commonly used for online monitoring to avoid affecting the normal transmission of service signals. The method of this invention is not limited to this wavelength and can be applied to various direct detection OTDR systems.
[0024] This invention addresses the poor filtering performance of fixed parameters in existing technologies due to the non-stationary distribution of noise along optical fibers. It provides an OTDR signal processing device and method that can adaptively select filtering strategies and parameters based on the type and intensity of noise distributed along the optical fiber, thereby achieving optimal noise suppression and event protection across the entire optical fiber link.
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. In addition, the technical features of the various embodiments or individual embodiments provided by the present invention can be arbitrarily combined to form new technical solutions. Such combinations are not bound by the order of steps and / or structural composition patterns, but must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0026] This invention provides an adaptive filtering device and method for OTDR signals used in optical cable monitoring. The core of this method is to perform detrending processing on the OTDR signal, and use the power law exponent between the local variance of the residual signal after detrending and the local mean of the original signal to identify the dominant noise type (relative intensity noise RIN, shot noise, or thermal noise) of each segment along the fiber optic distance. Then, according to the noise type of different segments, a filtering strategy matching its physical characteristics is selected for segmented adaptive filtering, thereby achieving optimal noise suppression and event protection across the entire optical fiber link.
[0027] The core physical basis of this invention is as follows:
[0028] (1) Physical model of OTDR signal The noisy signal received by an OTDR can be represented as the superposition of an ideal signal and various types of noise: , in, For an ideal signal, , , These are thermal noise, shot noise, and relative intensity noise, respectively. α is the incident light power, which is the initial optical pulse power injected into the optical fiber by the OTDR device. α is the attenuation coefficient of the optical fiber, representing the power loss per unit length (e.g., 1 km) when the optical signal propagates in the optical fiber.
[0029] Envelope estimation of the OTDR measurement signal yields E(z) as an estimate of the ideal signal, then: .
[0030] Detrending processing involves dividing the original signal by its envelope E(z): , Therefore, the residual signal after detrending fluctuates around 1, and its fluctuation characteristics are determined by the noise superimposed on the signal.
[0031] (2) The three types of noise exhibit different physical origins in the detrended signal (as shown in Table 1).
[0032] Table 1. Variance expressions of three types of noise in the original signal and their physical sources. .
[0033] After the signal is descaled, the variances of the above three types of noise become: 1. Thermal noise: The variance is a constant. After trend removal, the variance becomes That is, it is inversely proportional to the square of E(z).
[0034] 2. Shot noise: The variance is After trend removal, the variance becomes That is, it is inversely proportional to E(z). q is the electron charge ( B is the equivalent noise bandwidth of the photodetector (unit: Hz).
[0035] 3. RIN noise: The variance is After trend removal, the variance becomes , is a constant and is independent of E(z). RIN is the relative intensity noise figure, which represents the noise power density per unit bandwidth and per square of the signal power.
[0036] Therefore, after detrending the OTDR signal, the local variance of the residual signal... The local mean μ of the original signal (proportional to) In a double logarithmic coordinate system, the power-law relationship is satisfied. The correspondence between the power-law exponent k and the dominant noise type is shown in Table 2.
[0037] Table 2. Correspondence between power-law exponent k and dominant noise type .
[0038] This invention provides an adaptive filtering device for OTDR signals used in optical cable monitoring, such as... Figure 1As shown, it includes: an envelope estimation module for acquiring the backscattered Rayleigh signal trajectory distributed along the fiber length and estimating the envelope of the signal trajectory; a detrending processing module for dividing the signal trajectory by the envelope to obtain the detrended residual signal; a noise type identification module for segmenting the residual signal along the fiber distance direction, calculating the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determining the dominant noise type of each segment based on the power law exponent; a filter selection module for selecting a matching filtering strategy for each segment based on the dominant noise type of each segment; and a filtering execution module for performing segmented adaptive filtering on the signal trajectory according to the filtering strategy of each segment.
[0039] like Figure 2 As shown, the device described in this embodiment of the invention executes the following process during implementation:
[0040] (1) Envelope estimation module Obtain the backscattered Rayleigh signal trajectory P(z) distributed along the fiber length and align it with the distance axis.
[0041] Since the OTDR signal attenuates exponentially along the optical fiber, its envelope E(z) is estimated using a piecewise exponential fitting method: the optical fiber is divided into several segments, and the logarithm of the signal in each segment is taken before linear fitting. Substitute the fitting parameters a and b into the exponential function The envelope estimate of this segment is obtained, and adjacent segments are smoothly spliced together. 'a' is the slope of the fitted line, corresponding to -α (the negative value of the fiber attenuation coefficient) in OTDR envelope estimation, with units of dB / km. 'b' is the intercept of the fitted line, corresponding to lnP(0) (the logarithmic power of the signal at the fiber start end).
[0042] (2) Detrending processing module Detrending is performed in this manner: The residual signal that fluctuates around 1 is obtained, and its fluctuation characteristics directly reflect the physical source of the noise.
[0043] For example, those skilled in the art can further identify signal abrupt change regions and establish event protection zones before filtering. Within the event protection zone, the filtering window is reduced to a predetermined protection window, preferably 3-5 sampling points, to prevent event edges from being excessively smoothed. This event protection mechanism is not a necessary technical feature of the present invention, and those skilled in the art can choose whether to adopt it based on actual application needs; both are implementations of the present invention.
[0044] Preferably, the device described in this embodiment of the invention further includes: an event protection module (3). Before performing segmented adaptive filtering, event points in the signal trajectory are detected and a protection mechanism is established. The accurate detection and location of event points is a conventional technology of OTDR and is not the core objective of this invention; this invention only needs to identify and protect the areas where the signal undergoes abrupt changes, without needing to accurately distinguish what type of event the area belongs to.
[0045] The execution flow of the event protection module is as follows: (3.1) Calculate the first-order difference gradient of the original trajectory: .
[0046] (3.2) Set adaptive threshold ,in This is a scaling factor, the value of which is related to the signal-to-noise ratio and dynamic range of the signal, with a preferred range of 3 to 50. The location is marked as a candidate event point. This represents the "median" operator, which takes the middle value after sorting all the values within the parentheses in ascending order.
[0047] (3.3) The candidate event points and their preceding and following points are... Each sampling point (preferably 5 to 15) is marked as an "event protection zone".
[0048] (3.4) When fitting the piecewise power law, the data points within the event protection zone are not included in the fitting to avoid the contamination of the k value estimation by the abrupt change signal.
[0049] (4) Noise type identification module (4.1) Calculation of local statistics: The detrended signal is calculated point by point using the sliding window method. Local unbiased sample variance and the local mean of the original signal The preferred range for the half-width L of the sliding window is 3 to 30 sampling points.
[0050] (4.2) Piecewise Power-Law Fitting: The optical fiber is divided into several continuous segments along the distance. The length of each segment is set according to the system's sampling rate, preferably within the range of 1000~10000 sampling points. For the data points within each segment... Perform a double log-linear fit, and the fitting slope k is the power law exponent of the segment.
[0051] (4.3) Noise type determination: Determine the dominant noise type of the segment based on the power law exponent k obtained from the fitting.
[0052] (4.4) Spatial continuity correction: Median filtering (window size 3~5 segments) is applied to the classification results to eliminate isolated abnormal classifications caused by statistical fluctuations and obtain the noise type distribution that changes continuously along the distance.
[0053] (5) Filter selection module like Figure 3 As shown, select the corresponding filter and parameters according to the dominant noise type of different segments.
[0054] (5.1) RIN Dominant Region Filtering strategy: Median filtering (window size preferably 3 to 7 sampling points) to suppress RIN multiplicative pulse spikes while protecting signal edges.
[0055] Optionally, wavelet soft thresholding can be cascaded after median filtering to further suppress residual stationary noise, but this invention is not limited thereto. Those skilled in the art can choose to use median filtering alone or adopt a cascaded structure according to actual noise reduction needs and computing resources, both of which are embodiments of this invention.
[0056] (5.2) Shot noise dominance region Filtering strategy: Gaussian filtering, with window size adaptively adjusted according to signal strength. Where K is a proportionality coefficient (preferred range is 50~150). The minimum window is selected (within a range of 3 to 5), and μ(z) is the local mean of the original signal.
[0057] (5.3) Thermal noise dominance zone Filtering strategy: moving average (window size preferably 15~21), morphological filtering can be added if necessary.
[0058] For segments where the fitted k value deviates significantly from the theoretical expected range (e.g., k ≥ 0.5 or k ≤ -2.5), the default strategy can be used, such as median filtering, with an example window size of 3 to 7. The purpose of setting this fault tolerance mechanism is to ensure the engineering stability of the algorithm under extreme conditions.
[0059] (6) Filter execution module Perform filtering using the above strategy and output the filtered OTDR trajectory. .
[0060] Based on the same inventive concept as the aforementioned device embodiments, this embodiment of the invention also provides an adaptive filtering method for OTDR signals used for optical cable monitoring.
[0061] It should be noted that the specific values in this embodiment (such as a segment length of 5000 points, a half-window width of 25 points, and a scaling factor of 100) are preferred examples, and their selectable range has been limited in the aforementioned device embodiments. The selection of the above specific values follows the following principles: (1) each parameter takes into account both statistical stability and spatial resolution within its selectable range; (2) the values of window parameters match the sampling resolution and typical event width of the OTDR system; and (3) the values of scaling parameters achieve a balance between detection sensitivity and false positive rate. Those skilled in the art can adjust the parameters within the range disclosed in this invention according to the sampling rate, signal-to-noise ratio, and spatial resolution requirements of the actual system, and all can achieve the expected technical effects.
[0062] The execution flow of the method described in this embodiment is as follows: Step 1: Signal acquisition and preprocessing.
[0063] The device emits light pulses and collects the returned backscattered signals to obtain the original OTDR trajectory P(z). To improve stability, it can continuously collect data 100 times and perform a preliminary averaging.
[0064] Step 2: Signal envelope estimation and detrending processing.
[0065] (2.1) Signal envelope estimation The signal envelope is estimated using a piecewise exponential fitting method. The effective section of the optical fiber is divided into several segments, with 5000 sampling points (corresponding to 5km) per segment, and the values ranging from 1000 to 10000. A linear fit is then performed on the logarithm of the signal within each segment. The fitted exponential curve This is the envelope estimate of the segment. Adjacent segments are then smoothly spliced using linear interpolation.
[0066] (2.2) Detrending Processing The signal after the trend has changed fluctuates around 1.
[0067] Step 3: Event protection.
[0068] Set adaptive threshold Where β is a scaling factor, the value of which is related to the signal-to-noise ratio and dynamic range of the signal, preferably ranging from 3 to 50, and 30 is used in this embodiment (this value is valid under specific signal conditions in this embodiment, and can be adjusted according to signal quality in actual applications). The location is marked as a candidate event point, and the points before and after it are expanded. Each sampling point is designated as an event protection zone. Set the value to 10 (range 5~15). When performing piecewise power-law fitting, data points within the event protection zone are not included in the fitting process.
[0069] Step 4: Noise type identification based on power-law relationship.
[0070] (4.1) Calculation of local statistics Using the sliding window method, with a half-window width L=25 (range 3~30) and a total window M=51 sampling points, local statistics are calculated.
[0071] calculate Local unbiased sample variance: , , calculate Local mean: .
[0072] (4.2) Piecewise power-law fitting and noise type determination The optical fiber is divided into several continuous segments along the distance, each segment containing m = 5000 sampling points (m ranges from 1000 to 10000). For each data point within a segment... Perform double log-linear fitting: , After obtaining the power-law exponent k, determine according to the rules shown in Table 3: Table 3 Rules for Determining the Power Law Exponent .
[0073] Median filtering is applied to the classification results (with a window size of 3 to 5 segments) to eliminate isolated outlier classifications.
[0074] Step 5: Segmented adaptive filtering.
[0075] (1) RIN dominant region Median filtering (window 5, value range 3~7). Within the event protection zone, the filtering window is reduced to the minimum protection window (3 in this embodiment, value range 3~5).
[0076] Optionally, wavelet soft thresholding can be further cascaded after median filtering. Wavelet soft thresholding is a process of decomposing a signal into multiple scales, applying thresholding to the detail coefficients of each scale to suppress residual noise, and then reconstructing the signal. Those skilled in the art can select appropriate wavelet bases and decomposition levels according to signal characteristics, and this invention does not impose any limitations on this.
[0077] (2) Shot noise dominance region Gaussian filtering, adaptive window The proportionality coefficient K is set to 100 (range 50~150), and the minimum window... Set the value to 3 (range 3~5). Within the event protection zone, the filter window is reduced to the minimum protection window (in this embodiment, the value is 3, range 3~5).
[0078] (3) Thermal noise dominance zone Moving average (window 17, value range 15~21). Within the event protection zone, the filter window is reduced to the minimum protection window (3 in this embodiment, value range 3~5).
[0079] For cases where k ≥ 0.5 or k ≤ -2.5, median filtering (window 5, value range 3~7) is used. Within the event protection zone, the filtering window is reduced to the minimum protection window (3 in this embodiment, value range 3~5).
[0080] Step 6: Output Results
[0081] Perform filtering according to the above strategy, and output... .
[0082] Based on the same inventive concept as any of the foregoing embodiments, this embodiment of the invention also provides an optical time domain reflectometer (OTDR). The OTDR includes a pulse transmission module, an optical receiving module, an analog-to-digital conversion module, and the aforementioned signal processing equipment (i.e., the OTDR signal adaptive filtering equipment for optical cable monitoring). The connection relationships of each module are as follows: Pulse emission module: Used to emit probe light pulses to the optical fiber under test. The pulse emission module includes a laser and a driving unit. The laser and driving unit generate electrical pulses corresponding to the optical pulses required for OTDR measurement and convert the electrical pulses into optical pulse signals without distortion, which are then output to the optical fiber under test.
[0083] Optical receiving module: Used to receive the backscattered Rayleigh light signal returned by the optical fiber under test and convert it into an electrical signal. The optical receiving module includes a photodetector and a preamplifier circuit, which converts the received weak backscattered light signal into a processable analog electrical signal.
[0084] Analog-to-digital converter (ADC): This module converts the electrical signal into a digital signal, forming a signal trajectory distributed along the length of the optical fiber. The ADC samples and quantizes the analog electrical signal at a predetermined sampling rate to obtain digitized OTDR trajectory data.
[0085] Signal processing device: This device receives the signal trajectory and processes the signal trajectory according to the functions of each module described in the aforementioned device embodiment, and outputs the filtered signal trajectory.
[0086] The workflow of an OTDR system is as follows: A pulse transmitting module transmits probe light pulses to the optical fiber under test; an optical receiving module receives the backscattered Rayleigh light signal returned by the optical fiber under test and converts it into an analog electrical signal; an analog-to-digital conversion module converts the analog electrical signal into a digital signal, forming a signal trajectory distributed along the length of the optical fiber, and transmits it to a signal processing device; the signal processing device performs adaptive filtering on the signal trajectory, including: estimating the envelope of the signal trajectory; dividing the signal trajectory by the envelope to obtain the detrended residual signal; calculating the power-law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determining the dominant noise type of each segment based on the power-law exponent; selecting a matching filtering strategy based on the dominant noise type of each segment; performing segmented adaptive filtering on the signal trajectory according to the filtering strategy for each segment, and outputting the filtered signal trajectory.
[0087] The filtered signal trajectory can be used for subsequent applications such as fiber optic condition assessment, event detection and localization, and attenuation analysis.
[0088] As an alternative, the signal processing device can be implemented entirely by an FPGA, or entirely by a DSP, or by an ARM processor in conjunction with a hardware accelerator; all of these are implementations of the present invention.
[0089] Based on the same inventive concept as any of the foregoing embodiments, this invention also provides an optical cable monitoring system. This optical cable monitoring system includes a sensing optical fiber, an optical time domain reflectometer (OTDR), a signal processing device, and a monitoring terminal. The functions and data flows of each component are as follows:
[0090] Sensing fiber: Lay along the optical cable to be monitored, serving as both a sensing element and a transmission medium. External disturbances (such as fiber bending, breakage, and connector loss) will change the back Rayleigh scattering characteristics at various points along the fiber.
[0091] Optical Time Domain Reflectometer (OTDR): Connected to one or both ends of the sensing fiber, it is used to emit probe light pulses into the sensing fiber and receive the returned backscattered Rayleigh light signal, generating a signal trajectory distributed along the length of the fiber. The OTDR can perform measurements periodically according to a preset measurement plan, or it can be triggered by a monitoring terminal to perform measurements on demand.
[0092] Signal processing device: Used to receive the signal trajectory, process the signal trajectory using the OTDR signal adaptive filtering method described in the aforementioned method embodiments, and output the filtered signal trajectory. The signal processing device can be integrated inside the OTDR or can be an external processing device independent of the OTDR (such as an edge computing gateway, server, etc.).
[0093] Monitoring terminal: Used to receive and display the filtered signal trajectory, and / or output fiber optic status information based on the filtered signal trajectory. The monitoring terminal can be a local display device, a server in a remote monitoring center, or a mobile terminal of maintenance personnel.
[0094] The complete workflow of the fiber optic monitoring system is as follows: A sensing fiber is laid along the optical cable to be monitored to sense changes in the physical state of the fiber optic link in real time. An OTDR is connected to the sensing fiber, emits probe light pulses into the sensing fiber, receives the returned backscattered Rayleigh light signal, and generates a signal trajectory distributed along the length of the fiber. A signal processing device receives the signal trajectory and performs the following filtering processing: estimates the envelope of the signal trajectory, divides the signal trajectory by the envelope to obtain the detrended residual signal, calculates the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, determines the dominant noise type of each segment based on the power law exponent, selects a matching filtering strategy based on the dominant noise type of each segment, performs segmented adaptive filtering on the signal trajectory according to the filtering strategy of each segment, and outputs the filtered signal trajectory. A monitoring terminal receives and displays the filtered signal trajectory, and / or outputs fiber optic status information based on the filtered signal trajectory.
[0095] Specifically, the monitoring terminal can perform one or more of the following functions: display the filtered OTDR trajectory curve in real time, allowing maintenance personnel to intuitively view the loss distribution along the optical fiber; automatically detect event points (such as joints, bends, breaks, etc.) in the filtered trajectory, and calculate the event location and loss value; compare the current filtered trajectory with the historical trajectory to determine the trend of optical fiber link status changes; and automatically issue alarm information to notify maintenance personnel to handle abnormal events in a timely manner.
[0096] As an alternative, the sensing fiber can be directly used from the spare fiber in the communication optical cable to be monitored, without the need for additional fiber optic cabling.
[0097] Based on the same inventive concept as any of the foregoing embodiments, this embodiment of the invention also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program, which, when executed by a processor (such as a DSP, ARM, FPGA, CPU, etc.), implements the steps of the adaptive filtering method for OTDR signals for optical cable monitoring described in the foregoing method embodiments. When the processor runs the computer program, it sequentially performs the following processes:
[0098] Acquire the backscattered Rayleigh signal trajectory distributed along the fiber length and estimate the envelope of the signal trajectory; divide the signal trajectory by the envelope to obtain the de-stressed residual signal; segment the residual signal along the fiber distance direction, calculate the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determine the dominant noise type of each segment based on the power law exponent; select a matching filtering strategy for each segment based on the dominant noise type of each segment; perform segmented adaptive filtering on the signal trajectory according to the filtering strategy for each segment; output the filtered signal trajectory.
[0099] The computer-readable storage medium can be any medium capable of storing computer programs, including but not limited to: read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, solid-state drive (SSD), hard disk drive (HDD), optical disc (CD-ROM, DVD), magneto-optical disc, magnetic tape, etc.
[0100] The computer program may exist in the form of source code, object code, executable file, or intermediate code. The computer program may run entirely on a single processor or run distributed across multiple processors.
[0101] The specific parameters in the above embodiments are preferred examples and are not intended to limit the invention. Those skilled in the art, based on the core idea of the invention—namely, identifying noise types and matching corresponding filters piecewise through the detrended variance-mean power law relationship—can make equivalent substitutions or modifications in the following aspects, all of which fall within the scope of protection of the invention: 1. Envelope estimation methods: In addition to piecewise exponential fitting, sliding window smoothing, low-pass filtering, polynomial fitting, etc. can also be used; 2. Segmentation method: In addition to segmenting into segments of equal length, adaptive segmentation based on the rate of change of the k value can also be used; 3. RIN area filter: In addition to median filtering, bilateral filtering, morphological filtering, etc. can also be used; wavelet soft thresholding can also be further cascaded. 4. Shot noise region filter: In addition to Gaussian filtering, adaptive Wiener filtering, Savitzky-Golay filtering, etc. can also be used; 5. Thermal noise zone filter: In addition to moving average, FIR low-pass filtering, wavelet soft thresholding, etc. can also be used; 6. Event protection mechanism: In addition to gradient detection, other signal change detection methods can be used; in addition to narrowing the window, edge-preserving filtering, weighted filtering, etc. can also be used.
[0102] The terms “comprising” and “having”, and any variations thereof, in the specification, claims, and accompanying drawings of this invention are intended to cover a non-exclusive inclusion, such as a process, method, system, product, or apparatus that includes a series of steps or units, not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention.
Claims
1. An adaptive filtering device for OTDR signals used in optical cable monitoring, characterized in that, include: An envelope estimation module is used to acquire the backscattered Rayleigh signal trajectory distributed along the length of the optical fiber and estimate the envelope of the signal trajectory. The detrending processing module is used to divide the signal trajectory by the envelope to obtain the detrended residual signal; The noise type identification module is used to segment the residual signal along the fiber distance direction, calculate the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory, and determine the dominant noise type of each segment based on the power law exponent. The filter selection module is used to select a matching filtering strategy for each segment based on the dominant noise type of each segment. The filtering execution module is used to perform segmented adaptive filtering on the signal trajectory according to the filtering strategy of each segment; Specifically, when the dominant noise type is relative intensity noise, the filtering strategy selected by the filter selection module includes a median filter; when the dominant noise type is shot noise, the filtering strategy selected by the filter selection module includes a Gaussian filter, and the filtering window of the Gaussian filter is adaptively adjusted according to the local mean of the signal trajectory; when the dominant noise type is thermal noise, the filtering strategy selected by the filter selection module includes a moving average filter.
2. The OTDR signal adaptive filtering device for optical cable monitoring according to claim 1, characterized in that, The noise type identification module determines the dominant noise type of each segment based on the comparison results between the power law exponent and multiple preset thresholds, wherein the multiple preset thresholds are determined based on the theoretical power law exponents corresponding to relative intensity noise, shot noise and thermal noise respectively.
3. The OTDR signal adaptive filtering device for optical cable monitoring according to claim 2, characterized in that, The plurality of preset thresholds includes a first threshold and a second threshold; The first threshold is based on the arithmetic midpoint between the theoretical power law exponent of relative intensity noise and the theoretical power law exponent of shot noise. The second threshold is based on the arithmetic midpoint between the theoretical power-law exponent of shot noise and the theoretical power-law exponent of thermal noise. When the power law exponent is greater than or equal to the first threshold, the dominant noise type is determined to be relative intensity noise; When the power law exponent is less than the first threshold and greater than or equal to the second threshold, the dominant noise type is determined to be shot noise. When the power law exponent is less than the second threshold, the dominant noise type is determined to be thermal noise. When the power law exponent deviates from the theoretically expected range, a default filtering strategy is adopted.
4. An adaptive filtering method for OTDR signals used in optical cable monitoring, characterized in that, include: Acquire the backscattered Rayleigh signal trajectory distributed along the length of the optical fiber, and estimate the envelope of the signal trajectory; Divide the signal trajectory by the envelope to obtain the detrended residual signal; The residual signal is segmented along the fiber optic distance direction, and the power law exponent between the local variance of the residual signal in each segment and the local mean of the signal trajectory is calculated. The dominant noise type of each segment is determined based on the power law exponent. Based on the dominant noise type of each segment, select a matching filtering strategy for each segment; The signal trajectory is subjected to segmented adaptive filtering according to the filtering strategy of each segment; Specifically, when the dominant noise type is relative intensity noise, the filtering strategy selected by the filter selection module includes a median filter; when the dominant noise type is shot noise, the filtering strategy selected by the filter selection module includes a Gaussian filter, and the filtering window of the Gaussian filter is adaptively adjusted according to the local mean of the signal trajectory; when the dominant noise type is thermal noise, the filtering strategy selected by the filter selection module includes a moving average filter.
5. The adaptive filtering method for OTDR signals for optical cable monitoring according to claim 4, characterized in that, The dominant noise type of each segment is determined based on the comparison results between the power law exponent and multiple preset thresholds, wherein the multiple preset thresholds are determined based on the theoretical power law exponents corresponding to relative intensity noise, shot noise and thermal noise respectively.
6. The adaptive filtering method for OTDR signals for optical cable monitoring according to claim 5, characterized in that, The plurality of preset thresholds includes a first threshold and a second threshold; The first threshold is based on the arithmetic midpoint between the theoretical power law exponent of relative intensity noise and the theoretical power law exponent of shot noise. The second threshold is based on the arithmetic midpoint between the theoretical power-law exponent of shot noise and the theoretical power-law exponent of thermal noise. When the power law exponent is greater than or equal to the first threshold, the dominant noise type is determined to be relative intensity noise; When the power law exponent is less than the first threshold and greater than or equal to the second threshold, the dominant noise type is determined to be shot noise. When the power law exponent is less than the second threshold, the dominant noise type is determined to be thermal noise. When the power law exponent deviates from the theoretically expected range, a default filtering strategy is adopted.
7. An optical time-domain reflectometer, characterized in that, include: The pulse transmission module is used to transmit probe light pulses to the optical fiber under test. An optical receiving module is used to receive the backscattered Rayleigh light signal returned by the optical fiber under test and convert it into an electrical signal. An analog-to-digital converter module is used to convert the electrical signal into a digital signal, forming a signal trajectory distributed along the length of the optical fiber; And an OTDR signal adaptive filtering device for optical cable monitoring as described in any one of claims 1 to 3, wherein the OTDR signal adaptive filtering device receives the signal trajectory and outputs the filtered signal trajectory.
8. An optical fiber monitoring system, characterized in that, include: The sensing fiber optic cable is laid along the optical cable to be monitored. An optical time domain reflectometer, connected to the sensing fiber, is used to transmit probe light pulses into the sensing fiber and receive the returned back Rayleigh scattered light signal, generating a signal trajectory distributed along the length of the fiber. A signal processing device is configured to receive the signal trajectory and process the signal trajectory using the OTDR signal adaptive filtering method for optical cable monitoring as described in any one of claims 4 to 6, and output the filtered signal trajectory. A monitoring terminal is used to receive and display the filtered signal trajectory, and / or output fiber optic status information based on the filtered signal trajectory.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the OTDR signal adaptive filtering method for optical cable monitoring as described in any one of claims 4 to 6.
Citation Information
Patent Citations
Ethylene detection filtering simulation method based on TDLAS technology
CN112949017A
Polarized lightwave reflectometry method (POTDR)
US20040046955A1
