A method and system for optical fiber leak detection, optical fiber route detection
Patent Information
- Application Number
- CN202510523500.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2045-04-24
AI Technical Summary
但在实际工程场景下,光纤内传输信号的波长、功率以及光纤的直径可能均会有所差异,现有的在线对纤系统大部分采用固定损耗调制、固定阈值方式实现对光纤进行匹配或查找的功能,很难同时适用于上述差异的配置场景;因为不同的光纤属性各有差异,故使用固定损耗调制、固定阈值方式对光纤进行弯曲处理产生的漏光信号无法达到精准预期,为漏光检测器的检测性能带来很大挑战,而现有的漏光检测器性能如今还不能很好适用上述差异场景:如果增加光纤的弯曲程度,从而增加光纤的漏光损耗可以使得漏光检测正常进行,但可能会中断光纤中的传输业务;如果保持光纤预设定的弯曲程度,确保光纤的漏光损耗在不影响光纤正常传输业务的合理范围内,则此时漏光检测器所接收到的漏光信号非常微弱,使得漏光检测无法正常进行
[0021]根据本申请的第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现上述第一方面所述的一种光纤漏光检测的方法或上述第二方面所述的一种光纤路由检测方法。
Smart Images

Figure CN120313878B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of signal detection technology, and more specifically, to a method and system for detecting fiber optic light leakage and fiber optic route detection. Background Technology
[0002] In existing technologies, online fiber-to-fiber systems are used to quickly and accurately detect and match fiber optic routes in computer rooms. These systems include components such as fiber clamps, fiber bending units, and light leakage detectors. The fiber clamps, through appropriate mechanical structure design, can apply a predetermined bending pattern to the fiber. The fiber bending unit clamps the fiber and applies fixed structural pressure to bend it, causing some optical signals to escape. The light leakage detector collects the light signals emitted by the fiber bending unit and determines the fiber optic route information by detecting the characteristics of the leakage signals. However, in real-world engineering scenarios, the wavelength, power, and diameter of the signal transmitted within an optical fiber may vary. Most existing online fiber pairing systems use fixed-loss modulation and fixed thresholds to match or locate fibers, making it difficult to simultaneously adapt to these varying configurations. Because different optical fibers have different properties, the leakage signal generated by bending the fiber using fixed-loss modulation and fixed thresholds cannot achieve the expected accuracy, posing a significant challenge to the detection performance of leakage detectors. Current leakage detectors are not well-suited to these varying scenarios: increasing the fiber's bending degree to increase leakage loss allows for normal leakage detection but may interrupt transmission services within the fiber; maintaining a preset bending degree ensures leakage loss remains within a reasonable range that does not affect normal transmission services, resulting in a very weak leakage signal received by the leakage detector, making normal leakage detection impossible.
[0003] Furthermore, based on the demands of real-world application scenarios, it is essential to ensure that the implementation cost of the light leakage detection unit is sufficiently low. Generally, low cost implies relatively low processing performance, and a carefully designed algorithm is needed to balance high signal detection performance with low data processing performance. Currently available fiber optic pairing instruments or online pairing systems struggle to achieve this balance. Therefore, necessary improvements are required to the light leakage detection methods in fiber optic pairing instruments or online pairing systems, as well as fiber optic route detection methods based on fiber optic light leakage detection. Summary of the Invention
[0004] The present invention aims to overcome at least one of the defects (deficiencies) of the prior art and provide a method and system for optical fiber leakage detection and optical fiber routing detection, so as to achieve low-cost and accurate detection of leakage characteristics and routing in optical fibers and improve the applicability of scenarios.
[0005] According to a first aspect of this application, a method for detecting optical fiber leakage is provided, the method comprising: The leakage light signal generated after the fiber under test is clamped is acquired. The clamping operation is performed using a fiber clamp with several preset vibration modes, so that the fiber under test is bent to generate the leakage light signal and vibrates based on the preset vibration modes. The light leakage signal is processed to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode; A preset threshold T is set, and the effective vibration mode corresponding to the optical fiber under test is selected based on the threshold T, the vibration amplitude estimate and the noise floor amplitude estimate corresponding to each vibration mode. Acquire a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
[0006] Understandably, by setting multiple vibration modes in the fiber clamp to influence the leakage signal of the fiber under test, the influence of the fiber under test under a certain vibration mode can generate an effective leakage signal, which can be quickly detected by the leakage detector. This avoids the situation where the fiber under test is bent at a preset degree of curvature, but the leakage signal is weak due to different properties of the fiber under test such as wavelength and power, and the leakage detector cannot detect the leakage signal normally. Presetting multiple vibration modes to process the fiber under test can adapt to different fiber properties, so it can be applied to solve various fiber leakage signal detection anomalies, thus improving the applicability of the whole method.
[0007] Optionally, processing the light leakage signal to obtain the predicted vibration amplitude and the predicted noise floor amplitude for each vibration mode includes: The light leakage signal is converted into an electrical signal, and the electrical signal is amplified and then converted into a digital signal by analog-to-digital conversion. The digital signal is time-domain framed according to a preset overlap ratio to obtain segmented data frames; Obtain the bit value corresponding to the valid position of the data frame, and obtain a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the valid position; The amplitude of the low-bit-width frequency points of the time-domain subsequence is calculated to obtain the neighborhood spectrum amplitude corresponding to the vibration mode; Based on the neighborhood spectral amplitude of each vibration mode, obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode.
[0008] Understandably, obtaining the predicted vibration amplitude and noise floor amplitude for each vibration mode allows us to assess the effects of different vibration modes on the fiber under test. By comparing these effects, we can determine which vibration mode has the best impact on the leakage signal of this type of fiber. This allows us to select the vibration mode that can effectively adjust the leakage signal to a level that can be detected by the leakage detector. Subsequently, we can use this vibration mode to clamp the fiber of this type, improving the efficiency of leakage signal detection. Furthermore, by converting the leakage signal into a digital signal and performing mathematical processing, we can quantify the effect of each vibration mode, making the comparison process clearer and more accurate.
[0009] Optionally, obtaining the bit value corresponding to the valid position of the data frame, and obtaining a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the valid position, includes: Traverse all valid bits of the data frame and obtain the bit value A corresponding to the highest valid bit position of the data frame; The quantization error and signal-to-noise ratio of the analog-to-digital conversion are obtained, and the bit value B corresponding to the lowest valid position is obtained based on the quantization error and the signal-to-noise ratio. The expected least significant position corresponding to the number of bits C is obtained based on the bit value B corresponding to the optional least significant position. The bit value D of the valid position of the data frame is obtained based on the bit value A corresponding to the highest valid position, the bit value B corresponding to the optional lowest valid position, and the bit value C corresponding to the expected lowest valid position; The data frame is truncated according to the bit value D of the valid position of the data frame to obtain a time-domain subsequence that is no greater than the preset data length.
[0010] Understandably, obtaining the number of significant bits in a data frame, and using the most significant bit, optional least significant bit, and expected significant bit to assist in obtaining the number of significant bits, can be applied to data frames with varying significant bits. Furthermore, flexibly obtaining these varying significant bits improves the accuracy of the acquisition. Obtaining the significant bits of the data frame reduces the impact of errors on subsequent processing, and focusing on processing the significant bits avoids unnecessary processing of other irrelevant data, thereby improving the overall processing speed.
[0011] Optionally, obtaining the vibration amplitude estimate and noise floor estimate corresponding to each vibration mode based on the neighborhood spectral amplitude of each vibration mode includes: Obtain the global maximum amplitude P of the neighborhood spectrum amplitude of the vibration mode, and obtain the left frequency amplitude P1 and the right frequency amplitude P2 of the global maximum amplitude P; Obtain the local maximum amplitude Pm between the left frequency point amplitude P1 and the right frequency point amplitude P2; The vibration amplitude estimate is the sum of the local maximum amplitude Pm and the global maximum amplitude P; the noise floor amplitude estimate is the average of the vibration amplitude estimates corresponding to other preset vibration modes, excluding the vibration mode corresponding to the current noise floor amplitude estimate.
[0012] Understandably, obtaining the vibration amplitude estimate and noise floor amplitude estimate by using the global maximum amplitude P, the left frequency amplitude P1, and the right frequency amplitude P2 helps to accurately identify the components and distribution of the amplitude under the vibration mode. It also effectively distinguishes between signals truly obtained from vibration and background noise, thus making the subsequent predictions more accurate and reliable. Both the vibration amplitude estimate and the noise floor amplitude estimate are obtained through mathematical relationships. Furthermore, the noise floor amplitude estimate is based on the average of the vibration amplitude estimates for other preset vibration modes, excluding the current noise floor amplitude estimate. This allows for estimation of the noise floor amplitude based on global information, encompassing global information and avoiding discrepancies in the estimated values, facilitating subsequent comparisons.
[0013] Optionally, selecting the effective vibration mode corresponding to the optical fiber under test based on the threshold value T, the estimated vibration amplitude value and the estimated noise floor value corresponding to each vibration mode includes: If the estimated noise floor amplitude is less than the threshold value T, and the estimated vibration amplitude is greater than the threshold value T, then the vibration modes corresponding to the estimated vibration amplitude and the estimated noise floor amplitude are selected as the effective vibration modes corresponding to the optical fiber under test.
[0014] Understandably, by comparing the threshold value T with the predicted noise level and the predicted vibration amplitude, a suitable vibration mode is found. In this vibration mode, the predicted vibration amplitude exceeds the preset threshold, indicating that the light leakage signal of this vibration mode can be detected by the light leakage detector. However, the predicted noise level does not exceed the predicted noise level, indicating that the noise generated in this vibration mode is small enough that the light leakage detector cannot detect the noise, thereby improving the performance of the light leakage detector.
[0015] Optionally, processing the light leakage signal further includes: A composite signal is obtained by combining a fixed RMS amplitude random noise with the light leakage signal, and then the composite signal is processed.
[0016] Understandably, adding random noise to the leak light signal before synthesis and processing can prevent the signal from being weakened by directly eliminating excessively small signals in the leak light signal during subsequent processing, thereby further increasing the signal detection sensitivity of the leak light detector.
[0017] According to a second aspect of this application, a fiber optic route detection method is provided, the method comprising: The fiber optic leakage detection method described in the first aspect above is used to obtain a new leakage signal in the fiber under test. The new light leakage signal is analyzed to obtain the analysis results, and the routing direction of the optical fiber under test is obtained based on the analysis results.
[0018] According to a third aspect of this application, an optical fiber leakage detection system is provided, the system comprising: The light leakage signal acquisition module is used to acquire the light leakage signal generated after the fiber under test is clamped. The clamping operation is performed using a fiber clamp with several preset vibration modes, so that the fiber under test is bent to generate the light leakage signal and vibrates based on the preset vibration modes. The estimation module is used to process the light leakage signal to obtain the vibration amplitude estimation value and the noise floor amplitude estimation value corresponding to each vibration mode. The selection module is used to preset a threshold T, and select the effective vibration mode corresponding to the optical fiber under test based on the threshold T, the vibration amplitude estimate and the noise floor amplitude estimate corresponding to each vibration mode. The detection module is used to acquire a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
[0019] According to a fourth aspect of this application, an optical fiber routing detection system is provided, the system comprising: The acquisition module is used to acquire a new leakage signal of the optical fiber under test using the optical fiber leakage detection method described in the first aspect above. The routing detection module is used to analyze the new light leakage signal to obtain the analysis results, and to obtain the routing of the optical fiber under test based on the analysis results.
[0020] According to a fifth aspect of this application, an electronic device is provided, comprising: Memory, used to store one or more computer programs; A processor, when the one or more computer programs are executed by the processor, implements the fiber optic leakage detection method described in the first aspect or the fiber optic routing detection method described in the second aspect.
[0021] According to a sixth aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the fiber optic leakage detection method described in the first aspect or the fiber optic routing detection method described in the second aspect.
[0022] Based on any of the above aspects, embodiments of this application provide a fiber optic leakage detection and fiber optic route detection method and system. The method acquires the leakage signal generated after a fiber under test is clamped. The clamping operation utilizes a fiber clamp with preset vibration modes to bend the fiber under test, generating the leakage signal and causing vibration based on the preset vibration modes. The leakage signal is processed to obtain a predicted vibration amplitude and a predicted noise floor amplitude for each vibration mode. A preset threshold T is set, and the method is based on the threshold T, the predicted vibration amplitude for each vibration mode, and the predicted noise floor amplitude. The invention estimates and selects the effective vibration mode corresponding to the optical fiber under test; it acquires a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode; the invention provides a fiber clamping device that can be configured with multiple vibration modes, combined with an optimized design of a leakage light detector, to provide a trade-off between leakage light detection performance and cost, and can adapt to the differentiated leakage light detection of optical power, fiber diameter and wavelength in actual engineering scenarios, thereby realizing low-cost and accurate detection of leakage light characteristics in optical fibers and accurate detection of optical fiber routes, and improving the applicability of scenarios. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of a fiber optic light leakage detection method provided in this embodiment.
[0025] Figure 2 This embodiment provides a method for obtaining the estimated vibration amplitude and the estimated noise floor amplitude. Figure 1 .
[0026] Figure 3 This embodiment provides a flowchart of a method for obtaining a time-domain subsequence.
[0027] Figure 4 This embodiment provides a method for obtaining the estimated vibration amplitude and the estimated noise floor amplitude. Figure 2 .
[0028] Figure 5 This is a flowchart of a fiber optic route detection method provided in this embodiment.
[0029] Figure 6 This is a schematic diagram of the functional modules of an optical fiber leakage detection system provided in this embodiment.
[0030] Figure 7 This is a schematic diagram of the functional modules of an optical fiber routing detection system provided in this embodiment.
[0031] Figure 8 This embodiment provides a schematic diagram of the electronic device. Detailed Implementation
[0032] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the scope of this application. To better illustrate the following embodiments, some components in the drawings may be omitted, enlarged, or reduced, and do not represent the actual dimensions of the product; it is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0033] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0034] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0035] In the existing field of optical fiber technology, fiber pairing systems are typically used to distinguish, match, or locate corresponding optical fibers. These systems usually include key components such as fiber clamping devices and light leakage detectors. Each component in a fiber pairing system needs to work together. For example, the fiber clamping device bends and fixes the fiber under test to form a preset bend. At the bend, the fiber under test will emit light signals, generating leakage signals. The light leakage detector collects and detects these leakage signals and, based on the preset leakage signal characteristics of each fiber, locates the corresponding fiber. In existing technologies, fiber clamping devices typically have multiple preset bending angles. The bending degree of the optical fiber can be selected by the operator to control its bending. This bending must be performed without affecting the fiber's normal operation. Excessive bending will result in excessive light signal leakage, affecting normal fiber transmission. However, different types of optical fibers have variations in wavelength, power, and thickness. Therefore, at the same bending degree, different types of fibers will exhibit different levels of light signal leakage. Consequently, some types of fibers may not leak enough light at the maximum bending degree required for normal transmission, making it impossible for the leakage detector to measure the leakage signal correctly and thus failing to properly identify the corresponding fiber. Therefore, necessary improvements to the leakage detection method are required.
[0036] This embodiment provides a technical solution that can solve the above problems. The specific implementation of this application will be described in detail below with reference to the accompanying drawings.
[0037] like Figure 1 As shown, this embodiment provides a fiber optic leakage detection method, which may include the following steps: S100. Obtain the leakage light signal generated after the fiber under test is clamped, wherein the clamping operation is performed using a fiber clamper with preset vibration modes, so that the fiber under test bends to generate the leakage light signal and vibrates based on the preset vibration modes. In this embodiment, the fiber clamp applies a predetermined degree of bending to the optical fiber through an appropriate mechanical structure design, thereby causing the optical fiber under test to generate a leakage signal at the bend. In this application, the fiber clamp is modified so that it can generate vibration when bending the optical fiber under test. Understandably, based on the working principle of the fiber system and the scenario preset, the goal is to achieve low-cost and accurate detection of leakage characteristics while minimizing optical fiber leakage loss, thereby improving scenario applicability. The core point is to improve the cost-effectiveness of leakage detection. In this application, the fiber clamp can apply vibration at an appropriate frequency to the optical fiber under test, so that the leakage signal can be more easily detected by the leakage detector without increasing the degree of bending, thereby improving the detection performance of the leakage detector.
[0038] In this embodiment, the fiber clamp can be set to different vibration modes, each corresponding to a different vibration frequency, so that a suitable vibration frequency can be selected for clamping the fiber under test. Preferably, the fiber clamp is set to three vibration modes, and each vibration mode has a corresponding vibration frequency F0, F1, and F2. Preferably, based on historical testing experience and industry data references, the frequency point corresponding to each vibration frequency needs to be greater than 8Hz, that is, F0, F1, and F2 all need to be greater than 8Hz. It is understood that F0, F1, and F2 can be set based on gradients to better obtain the effect of different vibration frequencies on the fiber under test, and facilitate the quick finding of the optimal vibration frequency.
[0039] Preferably, there can be no more than three vibration modes. The frequency settings of the vibration modes follow the relevant rules mentioned above, which will not be listed here.
[0040] Preferably, multiple fiber clamps can be used to clamp the fiber under test simultaneously, and different fiber clamps can be set with different vibration modes and use different vibration frequencies. This allows for the simultaneous acquisition of the estimated values of multiple vibration modes, enabling the rapid selection of the effective vibration mode for processing and improving the engineering efficiency of the fiber system.
[0041] S200. Process the light leakage signal to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode. In this embodiment, the fiber under test is clamped by a fiber clamper. At the bend of the fiber under test, light signals will escape, and the light leakage detector will collect and detect the light leakage signals. Preferably, the photodiode (PD) in the light leakage detector is sensitive to light signals and can capture the escaped light signals. The vibration amplitude and noise floor amplitude of each vibration mode are estimated, and the enhancement effect of the light leakage signal under the vibration mode can be obtained based on the estimated values of these two values, thereby providing necessary reference data for selecting the best vibration mode.
[0042] Specifically, such as Figure 2 As shown, the process of processing the light leakage signal to obtain the predicted vibration amplitude and the predicted noise floor amplitude for each vibration mode specifically includes the following steps: S210. The light leakage signal is converted into an electrical signal, and the electrical signal is amplified and then converted into a digital signal by analog-to-digital conversion. In this embodiment, after the photosensitive surface of the PD (Photodiode) receives the light leakage signal, it converts the light leakage signal into an electrical signal for easy processing. Then, the electrical signal is amplified by the conditioning circuit. The amplified electrical signal is input to the ADC (Analog-to-Digital Converter) device for analog-to-digital conversion to obtain a digital signal. The ADC (Analog-to-Digital Converter) device is a related conversion device for analog-to-digital conversion, which can convert analog signals into digital signals. In this embodiment, the electrical signal is an analog signal.
[0043] S220. The digital signal is time-domain framed according to a preset overlap ratio to obtain segmented data frames; Understandably, time-domain framing is an important technique in digital signal processing, mainly used to divide continuous time-based signals into multiple short segments for processing and analysis. In this embodiment, the collected light leakage signal has the collection time, and performing time-domain framing on it can process the light leakage signal frame by frame, reducing the complexity of processing.
[0044] Preferably, the overlap ratio is set to 50%; the frame length is calculated according to the following formula: Frame length >= ( ) in, The sampling rate of the ADC (Analog-to-Digital Converter) device is a power of 2 for the frame length.
[0045] Preferably, in order to improve the frequency resolution of the time-domain to frequency-domain conversion and reduce the impact of quantization error on the signal, it is necessary to select the largest possible data frame length in actual operation. In this embodiment, a frame duration of 2 seconds is used. In view of the differences in wavelength, optical power and fiber diameter configuration of optical fibers in engineering scenarios mentioned in the background technology, this application also supports a larger frame duration to improve the performance gain of the time-domain to frequency-domain conversion and further optimize the signal detection sensitivity.
[0046] S230. Obtain the bit value corresponding to the valid position of the data frame, and obtain a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the valid position. In this embodiment, obtaining the temporal subsequence from the data frame enables centralized processing of the effective data of the data frame. Since the collected light leakage signal may contain noise errors, processing the entire data frame may waste a lot of computing resources.
[0047] Preferably, the data length is preset to 4 bits, and the size of the extracted time-domain subsequence is no more than 4 bits; the effective data of the data frame is acquired using the DAGC (Digital Automatic Gain Control) algorithm, which is a signal processing technology widely used in electronic circuits and communication systems.
[0048] Specifically, such as Figure 3 As shown, obtaining the bit value corresponding to the valid position of the data frame, and obtaining a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the valid position, includes the following steps: S231. Traverse all valid bits of the data frame and obtain the bit value A corresponding to the highest valid bit position of the data frame; In this embodiment, the valid bits of the data frame are traversed, and invalid bits of the data group are removed. Preferably, if the data frame uses binary to record data, then in the data frame, data "1" is a valid bit and data "0" is an invalid bit. Each data has a corresponding bit value in the data frame. For example, in the data frame "1011", the data "0" has a bit value of 2 in the data frame because it is in the second position. Obtaining the position of the most valid bit of the data frame can encompass all valid data and avoid data omission.
[0049] S232. Obtain the quantization error and signal-to-noise ratio of the analog-to-digital conversion, and obtain the bit value B corresponding to the lowest valid position based on the quantization error and the signal-to-noise ratio. In this embodiment, the quantization error and signal-to-noise ratio (SNR) are recorded after the conversion in the analog-to-digital converter. Based on the quantization error and SNR, the data affected by the error can be obtained. The data affected by the error is removed, and the least significant bit is selected, thereby minimizing the impact of the error on the data as much as possible.
[0050] S233. Obtain the bit value C corresponding to the expected least significant position based on the bit value B corresponding to the optional least significant position. In this embodiment, the selectable least significant bit is the approximate position of the significant bit obtained based on the quantization error and signal-to-noise ratio. Further error analysis is required to obtain the expected least significant bit.
[0051] Preferably, C = B - 1.
[0052] S234. Obtain the bit value D of the valid position of the data frame based on the bit value A corresponding to the highest valid position, the bit value B corresponding to the optional lowest valid position, and the bit value C corresponding to the expected lowest valid position; S235. Based on the bit value D of the effective position of the data frame, the data frame is truncated to obtain a time-domain subsequence not greater than a preset data length.
[0053] In this embodiment, since the selected time-domain subsequence is specified to be no more than 4 bits, the selected data should be as effective and reliable as possible, and should encompass as much information as possible; preferably, the selection of the time-domain subsequence follows the rules in the table below: Obtain the bit value D of the effective position of the data frame based on the obtained A, B, and C, and extract a time-domain subsequence of no more than 4 bits based on D.
[0054] Preferably, in order to improve the spectral leakage of the time-domain subsequence after time-domain framing and conversion to the frequency domain, a windowing operation is performed on the time-domain subsequence. The windowing type is either Kaiser window or Hanning window. Preferably, the order is set to 15 and the coefficients are 4 bits. The multiplication operation required for filtering calculation is converted into an addition operation, and the output results are all normalized to 4 bits.
[0055] S240. Calculate the amplitude of the low-bit-width frequency points of the time-domain subsequence to obtain the neighborhood spectrum amplitude corresponding to the vibration mode; In this embodiment, the amplitude of the low-bit-width frequency points is calculated for the time-domain subsequence obtained for each vibration mode. Preferably, for the frequencies F0, F1, and F2 corresponding to the three vibration modes set above, the spectral amplitudes of the F0 neighborhood, F1 neighborhood, and F2 neighborhood are calculated. The neighborhood is defined as the set of frequencies included after a frequency offset of + / -2Hz, with one frequency point added to the left and right. Preferably, in this example, the Görtzel algorithm is used to calculate the amplitude of the low-bit-width frequency points. The Görtzel algorithm is a highly efficient digital signal processing algorithm that achieves fast and accurate analysis of specific frequency components by optimizing the calculation process. Its unique algorithmic characteristics give it broad application prospects in multiple fields, providing strong support for the development of signal processing technology.
[0056] Preferably, when using the GOERTZEL algorithm for time-frequency conversion, based on the DAGC (Digital Automatic Gain Control) algorithm and windowed data processing, the corresponding input data bit width is 4 bits. Therefore, the corresponding phase rotation factor bit width is also set to 4 bits, and the corresponding multiplication operation is converted into an addition operation. At the same time, the corresponding complex amplitude calculation operation is approximated by taking the sum of the absolute values of the real and imaginary parts, which further reduces the computational requirements based on calculating only a portion of the frequency domain data.
[0057] S250. Based on the neighborhood spectrum amplitude of each vibration mode, obtain the vibration amplitude estimate and the noise floor amplitude estimate corresponding to each vibration mode.
[0058] Specifically, such as Figure 4 As shown, the step of obtaining the vibration amplitude estimate and noise floor estimate corresponding to each vibration mode based on the neighborhood spectral amplitude of each vibration mode includes the following steps: S251. Obtain the global maximum amplitude P in the neighborhood spectrum amplitude of the vibration mode, and obtain the left frequency amplitude P1 and the right frequency amplitude P2 of the global maximum amplitude P. S252. Obtain the local maximum amplitude Pm between the left frequency point amplitude P1 and the right frequency point amplitude P2; S253, the vibration amplitude estimate is the sum of the local maximum amplitude Pm and the global maximum amplitude P; the noise floor amplitude estimate is the average of the vibration amplitude estimates corresponding to other preset vibration modes, excluding the vibration mode corresponding to the current noise floor amplitude estimate.
[0059] For example, for the frequencies F0, F1, and F2 corresponding to the three vibration modes set above, the estimated vibration amplitude is as follows: The estimated vibration amplitude Pest0 corresponding to F0 is: Pest0 = P0 + Pm0 The estimated vibration amplitude Pest1 corresponding to F1 is: Pest1 = P1 + Pm1 The estimated vibration amplitude Pest2 corresponding to F2 is: Pest2 = P2 + Pm2 Among them, P0, Pm0, P1, Pm1, P2, and Pm2 are obtained according to the above steps.
[0060] The noise floor amplitude estimate is the average of the vibration amplitude estimates corresponding to other preset vibration modes, excluding the vibration mode corresponding to the current noise floor amplitude estimate.
[0061] In this embodiment, the noise floor amplitude estimate is the average of the vibration amplitude estimates of other vibration modes besides this vibration mode. The estimation of the noise floor amplitude needs to take into account the estimation of the vibration amplitude of other vibration modes, so as to take into account the received noise floor problem globally.
[0062] For example, the estimated vibration amplitude and the estimated noise floor amplitude for the frequencies F0, F1, and F2 corresponding to the three vibration modes defined above are shown in the table below: S300, a preset threshold T is set, and based on the threshold T, the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode are selected to effectively detect the optical fiber under test; Specifically, the step of selecting the vibration mode for effective detection of the optical fiber under test based on the threshold T, the predicted vibration amplitude value for each vibration mode, and the predicted noise floor amplitude value includes: If the estimated noise floor amplitude is less than the threshold value T, and the estimated vibration amplitude is greater than the threshold value T, then the vibration mode corresponding to the estimated vibration amplitude and the estimated noise floor amplitude is selected as the effective vibration mode corresponding to the optical fiber under test.
[0063] In this embodiment, the predicted noise floor amplitude is less than the threshold T, indicating that the error generated under this vibration mode is small and has little impact on the leakage signal detected by the leakage detector. Furthermore, the predicted vibration amplitude is greater than the threshold T, indicating that this vibration mode can maximize the enhancement of the leakage signal. This allows the leakage detector to effectively detect the leakage signal to distinguish and locate the fiber under test while ensuring the degree of bending for normal transmission. Therefore, compared to other vibration modes, this vibration mode has a better processing effect on the fiber under test, and thus this vibration mode is selected as the vibration mode for subsequent detection.
[0064] S400. Obtain a new leakage light signal from the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
[0065] Understandably, by selecting the corresponding effective vibration mode in the fiber clamp and performing the fiber clamping operation, the fiber under test can generate an effective leakage signal for measurement by the leakage detector, thereby obtaining an effective leakage signal, which is convenient for subsequent analysis and use of the leakage signal.
[0066] Specifically, the processing of the light leakage signal further includes: A composite signal is obtained by combining a fixed RMS (Root Mean Square amplitude) random noise with the light leakage signal, and then the composite signal is processed.
[0067] In this embodiment, a fixed RMS (Root Mean Square amplitude) random noise is generated by a random noise generator. Adding noise to the leakage signal can prevent some weak leakage signals from being eliminated or filtered out. For example, in order to make full use of the quantization error characteristics of the ADC (Analog-to-Digital Converter) device, assuming that the minimum quantization level of the ADC (Analog-to-Digital Converter) device is L, an RMS (Root Mean Square amplitude) level of approximately L is added before the ADC (Analog-to-Digital Converter) device, which is generated by the random noise generator. This avoids the leakage signals that are less than the minimum quantization level L being directly eliminated, and further increases the signal detection sensitivity.
[0068] like Figure 5 As shown in the figure, this application embodiment also provides a fiber optic route detection method, the method including the following steps: S510. Obtain a new leakage signal of the optical fiber under test using the optical fiber leakage detection method described above. S520. Analyze the new light leakage signal to obtain the analysis result, and obtain the routing direction of the optical fiber under test based on the analysis result.
[0069] Understandably, the aforementioned fiber optic leakage detection method can detect valid leakage signals, and the detection of fiber optic routing can be achieved by analyzing the detected valid leakage signals. Understandably, for multiple buried optical fibers under a marker point, without specific fiber installation location information, it is difficult to know the specific routing of a single fiber. The existing technology involves using a fiber splicer to detect leakage signals on multiple buried optical fibers under a marker point. By comparing the obtained leakage signals with the fiber information to be matched, it can be determined whether the fiber passes through the marker point. Performing previous leakage detection on multiple marker points allows for the aggregation and acquisition of the fiber routing. Preferably, because the specific type and attributes of the optical fibers under the marker point cannot be extracted, each optical fiber under the marker point needs to complete the selection of an effective vibration mode in fiber optic leakage detection during fiber optic routing detection. This ensures that the leakage signal generated by each optical fiber is effectively measurable by the leakage detector, improving the efficiency and reliability of fiber optic routing detection.
[0070] like Figure 6 As shown in the illustration, this application also provides an optical fiber leakage detection system. Optionally, the system may include: The system comprises a light leakage signal acquisition module 611, a prediction module 612, a selection module 613, and a detection module 614, wherein: The light leakage signal acquisition module 611 is used to acquire the light leakage signal generated after the fiber under test is clamped. The fiber clamping operation is performed using a fiber clamp with several preset vibration modes, so that the fiber under test is bent to generate the light leakage signal and vibrates based on the preset vibration modes. In this embodiment, the light leakage signal acquisition module 611 can be used to perform... Figure 1 For a detailed description of step S100, the module 611 for acquiring the light leakage signal can be found in the description of step S100.
[0071] The estimation module 612 is used to process the light leakage signal to obtain the vibration amplitude estimate and the noise floor amplitude estimate corresponding to each vibration mode. In this embodiment, the estimation module 612 can be used to perform... Figure 1 For a detailed description of the estimation module 612, please refer to the description of step S200 shown.
[0072] The selection module 613 is used to preset a threshold T and select the effective vibration mode corresponding to the optical fiber under test based on the threshold T, the vibration amplitude estimate and the noise floor amplitude estimate corresponding to each vibration mode. In this embodiment, the selection module 613 can be used to perform... Figure 1 For a detailed description of the selection module 613, please refer to the description of step S300 shown.
[0073] The detection module 614 is used to acquire a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
[0074] In this embodiment, the detection module 614 can be used to perform... Figure 1 For a detailed description of the detection module 614, please refer to the description of step S400 shown.
[0075] like Figure 7 As shown in the illustration, this application also provides a routing light leakage detection system. Optionally, the system may include: The acquisition module 711 and the route detection module 712 include: The acquisition module 711 is used to acquire a new leakage signal of the optical fiber under test using the optical fiber leakage detection method described above. In this embodiment, the acquisition module 711 can be used to perform... Figure 5 For a detailed description of the acquisition module 711, please refer to the description of step S510 shown.
[0076] The routing detection module 712 is used to analyze the new light leakage signal to obtain the analysis result, and obtain the routing of the optical fiber under test based on the analysis result.
[0077] In this embodiment, the route detection module 712 can be used to perform... Figure 5 For a detailed description of the route detection module 712 shown in step S520, please refer to the description of step S520.
[0078] This application also provides an electronic device, the structure of which is as follows: Figure 8 As shown, the electronic device includes a memory 811, a processor 812, a communication module 813, and an input / output interface 814, etc. Optionally, the memory 811, the processor 812, the communication module 813, and the input / output interface 814 can be connected and communicate with each other through a bus 815.
[0079] The memory 811 is used to store one or more computer programs and to transfer the code of the computer programs to the processor 812; when the one or more computer programs are executed by the processor 812, a fiber optic leakage detection method or a fiber optic routing detection method in the embodiments of this application are implemented.
[0080] Optionally, the electronic device can be connected to a network via communication module 813 to communicate with other devices, such as terminals or servers, and to interact with data. The electronic device can be various forms of digital computers, exemplarily such as desktop computers, servers, workbenches, mainframes, or other types of computers. The electronic device can also be various forms of mobile terminals, exemplarily such as smartphones, tablets, wearable devices (such as helmets, glasses, watches, etc.), and other similar mobile terminals.
[0081] Optionally, the electronic device can connect to desired input / output devices, such as a keyboard or display device, via the input / output interface 814. The electronic device itself may have a display device, and other display devices can also be connected externally via the input / output interface 814. Optionally, a storage device, such as a hard disk, can also be connected via the input / output interface 814 to store data from the electronic device, read data from the storage device, or store data from the storage device in the memory 811. It is understood that the input / output interface 814 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 814 can be a component of the electronic device or an external device connected to the electronic device when needed.
[0082] Optionally, the memory 811 may be a volatile memory and / or a non-volatile memory. The volatile memory may be a random access memory, etc., and the non-volatile memory may be a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, or a flash memory, etc.
[0083] Optionally, the computer program stored in the processor 812 can be divided into one or more modules, which are stored in the memory 811 and executed by the processor 812 to perform the method provided in this embodiment. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device.
[0084] Optionally, the processor 812 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 812 include, but are not limited to, a central processing unit, a graphics processing unit, a digital signal processor, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, and can also be any suitable controller, microcontroller, processor, etc. The processor 812 executes the various methods and processes of this embodiment, exemplarily, such as a fiber optic leakage detection method or a fiber optic route detection method according to embodiments of this application.
[0085] Optionally, the bus 815 may include a path for transmitting information. The bus 815 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Depending on its function, the bus 815 may be divided into an address bus, a data bus, a control bus, etc.
[0086] In an optional implementation, this application embodiment also provides a computer storage medium storing a computer program thereon. When executed by a computer, the computer program enables the computer to perform the methods described in the above-described method embodiments. Part or all of the computer program can be loaded and / or installed on the memory 811 of an electronic device. When the computer program is executed by the processor 812, one or more steps of a fiber optic leakage detection method or a fiber optic routing detection method according to embodiments of this application can be performed.
[0087] Optionally, the computer-readable storage medium may be a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc.
[0088] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the technical solution of the present invention, and are not intended to limit the specific implementation of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present invention should be included within the protection scope of the claims of the present invention.
Claims
1. A method for detecting optical fiber leakage, characterized in that, The method includes: The leakage light signal generated after the fiber under test is clamped is acquired. The clamping operation is performed using a fiber clamp with several preset vibration modes, so that the fiber under test is bent to generate the leakage light signal and vibrates based on the preset vibration modes. The light leakage signal is processed to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode. The processing of the light leakage signal to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode includes: converting the light leakage signal into an electrical signal, amplifying the electrical signal, and performing analog-to-digital conversion to obtain a digital signal; performing time-domain framing on the digital signal according to a preset overlap ratio to obtain segmented data frames; obtaining the bit value corresponding to the effective position of the data frame, and obtaining a time-domain subsequence not exceeding a preset data length based on the bit value corresponding to the effective position; calculating the amplitude of the low-bit-width frequency points of the time-domain subsequence to obtain the neighborhood spectrum amplitude corresponding to the vibration mode; and calculating the amplitude of the vibration mode based on each vibration mode. The method involves obtaining the vibration amplitude estimate and noise floor estimate corresponding to each vibration mode based on the neighborhood spectrum amplitude of each vibration mode. This includes: obtaining the global maximum amplitude P of the neighborhood spectrum amplitude of the vibration mode, and obtaining the left frequency amplitude P1 and right frequency amplitude P2 of the global maximum amplitude P; obtaining the local maximum amplitude Pm between the left frequency amplitude P1 and the right frequency amplitude P2; the vibration amplitude estimate is the sum of the local maximum amplitude Pm and the global maximum amplitude P; and the noise floor estimate is the average of the vibration amplitude estimates corresponding to other preset vibration modes, excluding the vibration mode corresponding to the current noise floor estimate. A preset threshold T is set, and the effective vibration mode corresponding to the optical fiber under test is selected based on the threshold T, the estimated vibration amplitude, and the estimated noise floor amplitude for each vibration mode. The step of selecting the effective vibration mode corresponding to the optical fiber under test based on the threshold T, the estimated vibration amplitude, and the estimated noise floor amplitude for each vibration mode includes: if the estimated noise floor amplitude is less than the threshold T, and the estimated vibration amplitude is greater than the threshold T, then the vibration mode corresponding to the estimated vibration amplitude and the estimated noise floor amplitude is selected as the effective vibration mode corresponding to the optical fiber under test. Acquire a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
2. The fiber optic leakage detection method according to claim 1, characterized in that, The step of obtaining the bit value corresponding to the valid position of the data frame, and obtaining a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the valid position, includes: Traverse all valid bits of the data frame and obtain the bit value A corresponding to the highest valid bit position of the data frame; The quantization error and signal-to-noise ratio of the analog-to-digital conversion are obtained, and the bit value B corresponding to the lowest valid position is obtained based on the quantization error and the signal-to-noise ratio. Obtain the expected least significant position corresponding to the number of bits C based on the bit value B corresponding to the optional least significant position; The bit value D of the valid position of the data frame is obtained based on the bit value A corresponding to the highest valid position, the bit value B corresponding to the optional lowest valid position, and the bit value C corresponding to the expected lowest valid position; The data frame is truncated according to the bit value D of the valid position of the data frame to obtain a time-domain subsequence that is no greater than the preset data length.
3. A method for detecting optical fiber leakage according to any one of claims 1 to 2, characterized in that, The processing of the light leakage signal further includes: A composite signal is obtained by combining a fixed RMS amplitude random noise with the light leakage signal, and then the composite signal is processed.
4. A method for detecting fiber optic routes, characterized in that, The method includes: The fiber optic leakage detection method according to any one of claims 1-3 is used to obtain a new leakage signal in the fiber under test. The new light leakage signal is analyzed to obtain the analysis results, and the routing direction of the optical fiber under test is obtained based on the analysis results.
5. A fiber optic light leakage detection system, characterized in that, The system includes: The light leakage signal acquisition module is used to acquire the light leakage signal generated after the fiber under test is clamped. The clamping operation is performed using a fiber clamp with several preset vibration modes, so that the fiber under test is bent to generate the light leakage signal and vibrates based on the preset vibration modes. The estimation module is used to process the light leakage signal to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode. The processing of the light leakage signal to obtain the vibration amplitude estimate and noise floor amplitude estimate corresponding to each vibration mode includes: converting the light leakage signal into an electrical signal, amplifying the electrical signal, and performing analog-to-digital conversion to obtain a digital signal; performing time-domain framing on the digital signal according to a preset overlap ratio to obtain segmented data frames; obtaining the bit value corresponding to the effective position of the data frame, and obtaining a time-domain subsequence not greater than a preset data length based on the bit value corresponding to the effective position; calculating the amplitude of the low-bit-width frequency points of the time-domain subsequence to obtain the neighborhood spectrum amplitude corresponding to the vibration mode; and calculating the amplitude of the vibration amplitude corresponding to each vibration mode. The method involves obtaining the vibration amplitude estimate and noise floor estimate corresponding to each vibration mode based on the neighborhood spectral amplitude of the vibration mode. This includes: obtaining the global maximum amplitude P of the neighborhood spectral amplitude of the vibration mode, and obtaining the left frequency amplitude P1 and right frequency amplitude P2 of the global maximum amplitude P; obtaining the local maximum amplitude Pm between the left frequency amplitude P1 and the right frequency amplitude P2; the vibration amplitude estimate is the sum of the local maximum amplitude Pm and the global maximum amplitude P; and the noise floor estimate is the average of the vibration amplitude estimates corresponding to other preset vibration modes, excluding the vibration mode corresponding to the current noise floor estimate. The selection module is used to preset a threshold value T, and select the effective vibration mode corresponding to the optical fiber under test based on the threshold value T, the estimated vibration amplitude value and the estimated noise floor value corresponding to each vibration mode; wherein, the step of selecting the effective vibration mode corresponding to the optical fiber under test based on the threshold value T, the estimated vibration amplitude value and the estimated noise floor value corresponding to each vibration mode includes: if the estimated noise floor value is less than the threshold value T, and the estimated vibration amplitude value is greater than the threshold value T, then the vibration mode corresponding to the estimated vibration amplitude value and the estimated noise floor value is selected as the effective vibration mode corresponding to the optical fiber under test; The detection module is used to acquire a new leakage light signal of the optical fiber under test, wherein the new leakage light signal is generated by the fiber clamping device after clamping the optical fiber under test based on the effective vibration mode.
6. The fiber optic leakage detection system according to claim 5, characterized in that, The prediction module also includes: Traverse all valid bits of the data frame and obtain the bit value A corresponding to the highest valid bit position of the data frame; The quantization error and signal-to-noise ratio of the analog-to-digital conversion are obtained, and the bit value B corresponding to the lowest valid position is obtained based on the quantization error and the signal-to-noise ratio. Obtain the expected least significant position corresponding to the number of bits C based on the bit value B corresponding to the optional least significant position; The bit value D of the valid position of the data frame is obtained based on the bit value A corresponding to the highest valid position, the bit value B corresponding to the optional lowest valid position, and the bit value C corresponding to the expected lowest valid position; The data frame is truncated according to the bit value D of the valid position of the data frame to obtain a time-domain subsequence that is no greater than the preset data length.
7. An electronic device, characterized in that, include: Memory, used to store one or more computer programs; A processor, when the one or more computer programs are executed by the processor, implements a fiber optic leakage detection method as described in any one of claims 1-3 or a fiber optic routing detection method as described in claim 4.
8. A computer-readable storage medium storing computer instructions that cause a processor to execute and implement a fiber optic leakage detection method as described in any one of claims 1-3 or a fiber optic routing detection method as described in claim 4.
Citation Information
Patent Citations
Optical cable route detection method and device, electronic equipment and storage medium
CN119254321A
Fiber clamping assembly and electric fiber clamping device
CN222050519U