Optical cable route detection method and device, electronic equipment and storage medium
By using specific frequency detection vibration and auxiliary signal superposition technology in fiber sensing systems, the signal-to-noise ratio and accuracy are improved, and the problem of signal-to-noise ratio reduction in long-distance vibration monitoring of fiber sensing systems is solved, achieving higher Inspection accuracy and operational efficiency.
Patent Information
- Application Number
- CN202411359681.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-03
AI Technical Summary
The existing fiber optic sensing system has a reduced signal-to-noise ratio in long-distance vibration monitoring, resulting in a decrease in detection accuracy, which is susceptible to environmental influences, a high rate of error triggering, and insufficient small signal processing accuracy.
By emitting detection vibrations of a specific frequency, scattered light is collected, auxiliary signals are generated to increase signal power, convert them to the frequency domain, search for peaks and obtain peak-to-average ratio, judge signal validity, determine optical cable routing, and improve signal-to-noise ratio and accuracy.
Effectively distinguish the detection of vibration signals from other irrelevant signals, improve the accuracy and efficiency of vibration detection, reduce the rate of error triggering, and improve the accuracy and operation efficiency of optical cable routing detection.
Smart Images

Figure CN119254321A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical fiber sensing and sensor network, and more specifically, to an optical cable route detection method, device, electronic equipment and storage medium. Background Art
[0002] The existing technology detects the route of optical cables by measuring the changes in scattered light in the optical cables to complete the detection of vibrations, thereby determining whether there is an optical cable near the vibration point and finally determining the route of the optical cable. Whether the vibration event can be accurately judged depends directly on the signal-to-noise ratio of the scattered signal. When the detection distance increases, the scattered signal will weaken, resulting in a decrease in the signal-to-noise ratio at the end of the optical fiber, thus limiting the implementation of long-distance vibration monitoring. In actual engineering scenarios, the optical cable vibration detection system is highly sensitive and is easily affected by the surrounding environment. Random noises such as phase noise and electrical noise generated by each device will also deteriorate the signal, reducing the system signal-to-noise ratio, thereby increasing the false trigger rate of the vibration sensing system. Summary of the invention
[0003] The present invention aims to overcome at least one defect of the above-mentioned prior art and provides an optical cable route detection method, device, electronic device and storage medium for improving the accuracy of vibration detection, thereby improving the accuracy of optical cable route detection.
[0004] According to a first aspect of the present application, a method for detecting an optical cable route is provided, the method comprising:
[0005] Collect scattered light generated by a vibration signal in the optical cable to be tested; the vibration signal is generated by a detection vibration emitted at a ground location point, and the vibration signal has a specific frequency;
[0006] Acquire a corresponding scattering signal according to the scattered light;
[0007] Processing the scattered signal;
[0008] Converting the processed scattered signal into the frequency domain to obtain a frequency domain signal;
[0009] Perform peak searching on the frequency domain signal according to the specific vibration frequency to obtain peak information;
[0010] Acquire a peak-to-average ratio according to the peak information and the frequency domain signal;
[0011] According to the peak-to-average ratio of the vibration signal, determining whether the corresponding vibration signal is a valid signal, and taking the ground position point of the detected vibration corresponding to the valid signal as a valid position point;
[0012] The route of the optical cable to be tested is determined according to all the valid position points.
[0013] By emitting the detection vibration with the specific frequency, the detected corresponding vibration signal can be distinguished from other irrelevant vibration signals, the vibration signal is collected through the optical cable to be tested, and an auxiliary signal is generated when the optical power is low and superimposed on the scattered light, so as to improve the processing accuracy of the analog-to-digital conversion device for small signals, and the scattered signal is obtained and processed according to the scattered light, and the processed scattered signal is converted into the frequency domain according to the duration to obtain a frequency domain signal, and more time domain information is accumulated through continuous vibration to improve the signal-to-noise ratio of the frequency domain information, thereby improving the accuracy of vibration analysis according to the frequency domain information; then the frequency domain signal with a high signal-to-noise ratio is peak-searched to obtain the peak-to-average ratio, and it is determined whether the corresponding vibration signal is a valid signal. If it is a valid signal, it indicates that the corresponding position point of the optical cable to be tested is close to the ground position point corresponding to the detection vibration. By obtaining multiple valid signals, multiple corresponding position points on the optical cable to be tested can be determined, and then the corresponding ground position point of the detection vibration can be determined as a valid position point, and the route of the optical cable to be tested is obtained according to the valid position point, which can effectively improve the accuracy of optical cable route detection.
[0014] Further, obtaining a corresponding scattering signal according to the scattered light specifically includes:
[0015] The power of the scattered light is obtained. If the power of the scattered light is less than a set value, an auxiliary signal is generated and superimposed on the scattered light. A scattered signal is obtained according to the superimposed scattered light. Otherwise, a scattered signal is directly obtained according to the scattered light.
[0016] By generating an auxiliary signal and superimposing it on the scattered light, the power of the scattered light whose power is less than the set value is increased, so that the corresponding scattered signal can be better obtained according to the scattered light.
[0017] Furthermore, the processing of the scattered signal specifically includes:
[0018] If an auxiliary signal is superimposed on the scattered light, the DC and the superimposed auxiliary signal are removed from the scattered signal and gain control is performed; otherwise, the DC is directly removed from the scattered signal and gain control is performed.
[0019] The scattered light superimposed with the auxiliary signal has higher power, can be easily processed, and can be removed according to the superimposed auxiliary signal after processing, so that the original information contained in the scattered light can be better obtained.
[0020] Further, judging whether the corresponding vibration signal is a valid signal according to the peak-to-average ratio of the vibration signal specifically includes:
[0021] The peak-to-average ratio is compared with a preset threshold value. If the peak-to-average ratio is greater than or equal to the preset threshold value, the corresponding vibration signal is used as the valid signal.
[0022] The peak-to-average ratio being higher than the preset threshold value indicates that the vibration signal detected corresponding to the peak-to-average ratio is closer to the detection vibration, so that invalid vibrations can be further screened out, thereby more accurately acquiring the detection vibration.
[0023] Furthermore, the auxiliary signal is an optical signal of a set frequency.
[0024] By superimposing an auxiliary signal on the scattered light with lower power, it can be collected by the analog-to-digital conversion device, thereby improving the detection accuracy; at the same time, the optical signal can be more conveniently removed from the scattered light according to the set frequency.
[0025] Furthermore, the set value is greater than or equal to a minimum quantization step of an analog-to-digital conversion device, and the analog-to-digital conversion device is used to obtain the corresponding scattered signal according to the scattered light.
[0026] The set value is set to be greater than or equal to the minimum quantization step of the analog-to-digital conversion device, so that the power of the scattered light can be effectively adjusted to be recognized and converted by the analog-to-digital conversion device.
[0027] Furthermore, the control method of detecting vibration includes at least Bluetooth control, WiFi control or mobile network control.
[0028] By using wireless signals to control the detection vibration, the work site can be flexibly arranged and the work efficiency can be improved.
[0029] According to a second aspect of the present application, there is provided an optical cable route detection device, the device comprising:
[0030] A vibration collection module, used to collect scattered light generated by a vibration signal in the optical cable to be tested; the vibration signal is generated by a detection vibration emitted at a ground position point, and the vibration signal has a specific frequency;
[0031] A signal acquisition module, used for acquiring a corresponding scattered signal according to the scattered light;
[0032] A signal processing module, used for processing the scattered signal;
[0033] A signal conversion module, used for converting the processed scattered signal into a frequency domain according to the duration to obtain a frequency domain signal;
[0034] A peak-finding module, used to perform peak-finding on the frequency-domain signal according to the specific frequency to obtain peak information;
[0035] A peak-to-average ratio acquisition module, used to acquire a peak-to-average ratio according to the peak information and the frequency domain signal;
[0036] An effective position point acquisition module, used for judging whether the corresponding vibration signal is a valid signal according to the peak-to-average ratio of the vibration signal, and taking the ground position point of the detected vibration corresponding to the valid signal as a valid position point;
[0037] A route acquisition module is used to determine the route of the optical cable to be tested according to all the valid position points.
[0038] According to a third aspect of the present application, an electronic device is provided, including:
[0039] a memory for storing one or more computer programs;
[0040] The processor implements the optical cable route detection method described in the first aspect when the one or more computer programs are executed by the processor.
[0041] According to a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the optical cable route detection method described in the first aspect when executed.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] 1. The present invention emits a detection vibration with a specific frequency, so that the detected corresponding vibration signal can be distinguished from other irrelevant vibration models, collects the vibration signal through the optical cable to be tested, generates an auxiliary signal when the optical power is low and superimposes it on the scattered light, improves the processing accuracy of the analog-to-digital conversion device for small signals, obtains and processes the scattered signal according to the scattered light, converts the processed scattered signal into the frequency domain according to the duration, obtains a frequency domain signal, accumulates more time domain information through continuous vibration, improves the signal-to-noise ratio of the frequency domain information, and thus improves the accuracy of vibration analysis based on the frequency domain information; then, the frequency domain signal with a high signal-to-noise ratio is peak-searched to obtain the peak-to-average ratio, and determines whether the corresponding detection vibration is a valid signal. If it is a valid signal, it indicates that the corresponding position point of the optical cable to be tested is close to the ground position point corresponding to the detection vibration. By obtaining multiple valid signals, multiple corresponding position points on the optical cable to be tested can be determined, and then the corresponding ground position point of the detection vibration can be determined as a valid position point, and the route of the optical cable to be tested is obtained according to the valid position point.
[0044] 2. The present invention can distinguish the emitted vibration signal from other irrelevant vibrations by setting a specific vibration duration and vibration frequency, thereby avoiding misjudgment, improving the accuracy and efficiency of vibration, and enhancing the accuracy and efficiency of detection.
[0045] 3. The present invention can flexibly arrange the work site and improve work efficiency by controlling vibration using wireless signals.
[0046] 4. The present invention superimposes an auxiliary signal on the scattered light whose power is less than a set value, thereby increasing the power of the scattered light so that it can be collected by an analog-to-digital conversion device, thereby improving detection accuracy. At the same time, the auxiliary signal is an optical signal of a set frequency. After the scattered light is processed, the auxiliary signal can be removed from the scattered light according to the set frequency, thereby restoring the original information in the scattered light. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0048] Figure 1 This is a schematic diagram of the structure of an electronic device provided in this embodiment.
[0049] Figure 2 A flowchart of the detection method provided in this embodiment.
[0050] Figure 3 This is a structural diagram of the detection device provided in this embodiment.
[0051] The accompanying drawings are marked with: vibration generating module 11, signal acquiring module 12, signal processing module 13, signal conversion module 14, peak finding module 15, peak-to-average ratio acquiring module 16, effective position point acquiring module 17, route acquiring module 18, electronic device 20, memory 21, processor 22, communication module 23, input / output interface 24, bus 25.
[0052] The drawings of this application are only used for illustrative purposes and should not be construed as limiting the present application. In order to better illustrate the following embodiments, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; it is understandable to those skilled in the art that some well-known structures and their descriptions in the drawings may be omitted.
[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. DETAILED DESCRIPTION
[0055] Example 1
[0056] The existing technology detects the route of optical cables by measuring the changes in scattered light in the optical cables to complete the detection of vibrations, thereby determining whether there is an optical cable near the vibration point and finally determining the route of the optical cable. Whether the vibration event can be accurately judged depends directly on the signal-to-noise ratio of the scattered signal. When the detection distance increases, the scattered signal will weaken, resulting in a decrease in the signal-to-noise ratio at the end of the optical fiber, thus limiting the implementation of long-distance vibration monitoring. In actual engineering scenarios, the optical cable vibration detection system is highly sensitive and is easily affected by the surrounding environment. Random noises such as phase noise and electrical noise generated by each device will also deteriorate the signal, reducing the system signal-to-noise ratio, thereby increasing the false trigger rate of the vibration sensing system.
[0057] In order to solve the above problems and improve the accuracy of optical cable routing detection, Figure 2 As shown, this embodiment provides a method for detecting an optical cable route, the method comprising:
[0058] S1: Collect scattered light generated by the vibration signal in the optical cable to be tested;
[0059] In this embodiment, the vibration signal is generated by a detection vibration emitted at a ground location point, and the vibration signal has a specific frequency; the detection vibration can be generated by a vibration generating device arranged on the ground or on a corresponding device on the ground. Specifically, the vibration generating device is arranged at a ground location point where the optical cable to be tested will pass, such as an optical cable well, an optical cable rack, etc.
[0060] In this embodiment, a communication unit is provided in the vibration generating device, and the communication unit is used to receive trigger information sent to the vibration generating device. After receiving the trigger information, the communication unit generates a detection vibration of a specific frequency, and the detection vibration acts on the ground or a device set on the ground, so that the optical cable can receive the detection vibration and generate corresponding scattered light; wherein, the specific vibration frequency is set according to the actual situation, and needs to be distinguished from the duration and vibration frequency of other irrelevant vibrations in the environment, so as to facilitate the extraction of the detection vibration from various vibrations.
[0061] In this embodiment, the optical cable to be tested is connected to a distributed optical fiber detection device, and the vibration signal corresponding to the detection vibration is detected by the distributed optical fiber detection device; specifically, the distributed optical fiber detection device emits a laser to the optical cable to be tested, and the laser in the optical cable to be tested is affected by the vibration signal to generate reverse scattered light. The distributed optical fiber detection device collects the scattered light generated by the vibration signal in the optical cable to be tested, and calculates the power of the obtained scattered light.
[0062] In this embodiment, the distributed optical fiber detection equipment may be an OTDR (Optical Time Domain Reflectometry) or a Φ-OTDR (Phase-sensitive Optical Time Domain Reflectometry) or other equipment;
[0063] In a preferred embodiment, the distributed optical fiber detection device can be configured as the Φ-OTDR device, which has a higher sensitivity to vibration and can better detect the vibration signal; specifically, the Φ-OTDR device emits laser pulses to the optical cable to be tested at a fixed pulse frequency, and collects the reverse Rayleigh scattering signal generated in the optical cable to be tested under the influence of the vibration signal, and the reverse Rayleigh scattering signal is analyzed by the Φ-OTDR device to obtain the power of the reverse Rayleigh scattering signal.
[0064] S2: Acquire a corresponding scattering signal according to the scattered light;
[0065] In the specific implementation process of this embodiment, since the vibration generating device that generates the detection vibration is usually set on the ground or on the corresponding ground device, the actual vibration generating position is a certain distance away from the optical cable to be tested, resulting in a certain attenuation of the detection vibration in the process of reaching the optical cable to be tested, thereby making the power of the scattered light generated in the optical cable to be tested low. When the power of the scattered light is low, it is difficult to obtain the corresponding scattered signal from the scattered light;
[0066] Therefore, specifically, the power of the scattered light is obtained. If the power of the scattered light is less than a set value, an auxiliary signal is generated and superimposed on the scattered light, and the scattered signal is obtained according to the superimposed scattered light; otherwise, the scattered signal is directly obtained according to the scattered light; wherein, preferably, the auxiliary signal and the scattered light have the same wavelength to facilitate the superposition of the auxiliary signal and the subsequent removal of the auxiliary signal.
[0067] Meanwhile, in this embodiment, the set value is greater than or equal to the minimum quantization step of the analog-to-digital conversion device, and the auxiliary signal is an optical signal of the set frequency;
[0068] Among them, the analog-to-digital conversion device is used to obtain the corresponding scattered signal based on the scattered light. In a specific implementation, the analog-to-digital conversion device can usually be arranged in a detection device connected to the optical cable to be tested, and can directly receive the scattered light in the optical cable to be tested and obtain the corresponding scattered signal; then in this embodiment, the analog-to-digital conversion device can be arranged in the distributed optical fiber detection device.
[0069] Different analog-to-digital conversion devices have different minimum quantization steps, that is, different detection accuracies. If the power of the scattered light is less than the minimum quantization step of the analog-to-digital conversion device, the scattered light will be difficult to be converted by the analog-to-digital conversion device, and it will be difficult to obtain the corresponding scattered signal. Therefore, an optical signal of the set frequency is generated and superimposed on the scattered light, so that the superimposed composite signal can exceed the minimum quantization step of the analog-to-digital conversion device, so that the analog-to-digital conversion device can obtain the scattered signal based on the superimposed scattered light.
[0070] Correspondingly, if the power of the scattered light is greater than or equal to the minimum quantization step of the analog-to-digital conversion device, the scattered light is directly collected to obtain the scattered signal.
[0071] S3: Processing the scattered signal;
[0072] In this embodiment, if the auxiliary signal is superimposed on the scattered light corresponding to the scattered signal, the DC component in the scattered signal and the superimposed auxiliary signal are removed, and the scattered signal after removing the DC component and the superimposed auxiliary signal is gain controlled to obtain the processed scattered signal; if the auxiliary signal is not superimposed on the scattered light corresponding to the scattered light, the DC component of the scattered signal is directly removed, and the scattered signal after removing the DC component is gain controlled to obtain the processed scattered signal; preferably, the gain of the scattered signal is controlled to around -15dBFs.
[0073] Specifically, in the actual application of this embodiment, the distributed optical fiber detection device will continuously collect data in the optical cable to be tested, so in fact, the distributed optical fiber detection device collects the data sequence returned from the optical cable to be tested, and performs analog-to-digital conversion on the data sequence to form a quantized data sequence. The scattered light generated by the optical cable to be tested under the influence of the vibration signal is included in the data sequence. The scattered light is consistent with other data in the data sequence, and the scattered signal formed after analog-to-digital conversion is included in the quantized data sequence.
[0074] In order to achieve better measurement and calculation, the quantized data sequence continuously collected within a certain sampling time is constructed into a quantization matrix, wherein the row of the quantization matrix corresponds to each position point on the optical cable to be measured, and the column of the quantization matrix corresponds to each time point in the sampling time;
[0075] Therefore, in this embodiment, the processing of the scattered signal is actually the processing of the quantization matrix. Specifically, the DC operation is removed for the data of each position point in the quantization matrix, that is, the data of each row, and then the data of each position point is gain controlled in the digital domain to scale the signal amplitude to around -15dBFs.
[0076] S4: converting the processed scattered signal into the frequency domain to obtain a frequency domain signal;
[0077] Since each column in the quantization matrix corresponds to each time point of the sampling time, the quantization matrix represents the time domain data of the optical cable to be tested within the sampling time. To further implement data analysis and processing, the time domain data needs to be converted into frequency domain data.
[0078] Specifically, the signal can be converted from the time domain to the frequency domain through a partial frequency multi-point DFT (Discrete Fourier Transform) operation, wherein the specific number of points is determined according to the frequency value of the laser irradiated into the optical cable to be tested; in this embodiment, the number of points of the partial frequency multi-point DFT operation is determined according to the fixed pulse frequency of the laser pulse irradiated into the optical cable to be tested, and the partial frequency multi-point DFT operation is performed on the data of each row in all the quantization matrices to obtain a frequency domain matrix.
[0079] S5: searching for a peak of the frequency domain signal according to the specific frequency to obtain peak information;
[0080] Wherein, the peak information mainly includes the peak power of the specific frequency. In this embodiment, the frequency domain signal obtained after the frequency domain conversion represents the frequency conditions of various signals in the optical cable to be tested. These signals correspond to those before the conversion, and are all caused by the influence of the optical cable to be tested, including the vibration signal caused by the influence of the detection vibration. The vibration signal has the specific frequency. If the frequency domain signal contains the vibration signal, the vibration signal can be found in the frequency domain signal through the specific frequency. Specifically, a peak search operation can be performed in the neighborhood near the specific frequency in the frequency domain signal to find the peak corresponding to the specific frequency. After the peak value is obtained, the peak power can be fitted by algorithms such as neighborhood interpolation.
[0081] Specifically, in the present embodiment, corresponding to the frequency domain matrix, each row of the frequency domain matrix represents the frequency conditions of various signals at the corresponding position points of the optical cable to be tested. In fact, the detection vibration will only affect some position points on the optical cable to be tested. In the frequency domain matrix, not every row will contain the signal of the specific frequency. Therefore, it is necessary to first search in the frequency domain matrix whether the corresponding row contains the signal of the specific frequency. In the row containing the signal of the specific frequency, peak search is performed in the neighborhood near the specific frequency to obtain the peak value of the specific frequency, and then the peak power is obtained by fitting.
[0082] S6: Obtaining a peak-to-average ratio according to the peak information and the frequency domain signal;
[0083] The peak-to-average ratio represents the ratio of the corresponding maximum instantaneous power to the average power. In this embodiment, it corresponds to the ratio of the peak power of the specific frequency to the average power at the position point. Since the optical cable to be tested will be affected by vibrations of various frequencies, corresponding peaks of various frequencies will be generated. The frequency domain information can only obtain the signal conditions at the corresponding frequencies. If the vibration is judged only by the peak conditions, the judgment result will be inaccurate. Therefore, the peak-to-average ratio is introduced to judge the vibration, the interference of redundant vibrations at other frequencies is reduced, and the accuracy of vibration judgment is effectively improved.
[0084] In this embodiment, the peak power of the corresponding position point obtained by peak searching is compared with the average power of the corresponding point to obtain the peak-to-average ratio; corresponding to the frequency domain matrix, the peak power of the corresponding row is compared with the average power of the corresponding row to obtain the peak-to-average ratio of the corresponding row.
[0085] S7: judging whether the corresponding vibration signal is a valid signal according to the peak-to-average ratio of the vibration signal, and taking the ground position point of the detected vibration corresponding to the valid signal as a valid position point;
[0086] In this embodiment, the effective signal indicates that the power of the scattered light generated by the corresponding vibration signal on the optical cable to be tested meets the preset value; it is understandable that the vibration signal generated by the detected vibration is propagated in all directions, so that not only one position point on the optical cable to be tested receives the vibration signal, but multiple position points of the optical cable to be tested will receive the vibration signal and generate the scattered light accordingly. However, as the distance between the position point on the optical cable to be tested and the ground position point for detecting vibration continues to increase, the power of the corresponding scattered light continues to decrease. When the power is reduced to a certain threshold, it indicates that the corresponding position point on the optical cable to be tested is too far away from the ground position point for detecting vibration and cannot be used to determine the position of the optical cable to be tested, indicating that the vibration signal is invalid, so it is necessary to exclude these position points that are too far away from the ground position point for detecting vibration.
[0087] Corresponding to the present embodiment, in order to improve the accuracy of the judgment, the size of the peak-to-average ratio at the corresponding position point on the optical cable to be tested can be judged to determine whether the distance between the position point and the ground position point for detecting vibration meets the requirements. Specifically, it is determined whether the peak-to-average ratio is greater than the preset threshold value. If the peak-to-average ratio is greater than the preset threshold value, it indicates that the vibration signal received by the corresponding position point is strong enough, indicating that the distance from the ground position point for detecting vibration is close enough, and the corresponding vibration signal is the valid signal. Preferably, the preset threshold value can be set to 4-5dB. If the peak-to-average ratio is greater than 4-5dB, it indicates that the vibration signal received by the corresponding position point is a valid signal.
[0088] In this embodiment, by judging the peak-to-average ratio of all corresponding position points in the frequency domain matrix, several sets of the effective signals can be finally obtained. The corresponding position points of the effective signals in each set on the optical cable to be tested are continuous, indicating that they are generated by the same detection vibration. Then, the corresponding ground position points of the detection vibration can be obtained based on the position points corresponding to the effective signals in each set, and the ground position points can be used as the effective position points.
[0089] S8: Determine the route of the optical cable to be tested according to all the valid position points;
[0090] In this embodiment, the valid position points are the ground position points for detecting vibrations. After all the valid position points are acquired, the routing direction of the optical cable to be tested can be acquired according to all the related ground position points.
[0091] Example 2
[0092] Based on the same technical concept as Example 1, Figure 3 As shown, this embodiment provides an optical cable route detection device, the device comprising:
[0093] The vibration collection module 11 is used to collect scattered light generated by the vibration signal in the optical cable to be tested; the vibration signal is generated by the detection vibration emitted at the ground position point, and the vibration signal has a specific frequency;
[0094] In this embodiment, the vibration signal is generated by a detection vibration emitted at a ground location point, and the vibration signal has a specific frequency; the detection vibration can be generated by a vibration generating device arranged on the ground or on a corresponding device on the ground. Specifically, the vibration generating device is arranged at a ground location point where the optical cable to be tested will pass, such as an optical cable well, an optical cable rack, etc.
[0095] In this embodiment, a communication unit is provided in the vibration generating device, and the communication unit is used to receive trigger information sent to the vibration generating device. After receiving the trigger information, the communication unit generates a detection vibration of a specific frequency, and the detection vibration acts on the ground or a device set on the ground, so that the optical cable can receive the detection vibration and generate corresponding scattered light; wherein, the specific vibration frequency is set according to the actual situation, and needs to be distinguished from the duration and vibration frequency of other irrelevant vibrations in the environment, so as to facilitate the extraction of the detection vibration from various vibrations.
[0096] In this embodiment, the optical cable to be tested is connected to a distributed optical fiber detection device, and the vibration signal corresponding to the detection vibration is detected by the distributed optical fiber detection device; specifically, the distributed optical fiber detection device emits a laser to the optical cable to be tested, and the laser in the optical cable to be tested is affected by the vibration signal to generate reverse scattered light. The distributed optical fiber detection device collects the scattered light generated by the vibration signal in the optical cable to be tested, and calculates the power of the obtained scattered light.
[0097] In this embodiment, the distributed optical fiber detection equipment may be an OTDR (Optical Time Domain Reflectometry) or a Φ-OTDR (Phase-sensitive Optical Time Domain Reflectometry) or other equipment;
[0098] In a preferred embodiment, the distributed optical fiber detection device can be configured as the Φ-OTDR device, which has a higher sensitivity to vibration and can better detect the vibration signal; specifically, the Φ-OTDR device emits laser pulses to the optical cable to be tested at a fixed pulse frequency, and collects the reverse Rayleigh scattering signal generated in the optical cable to be tested under the influence of the vibration signal, and the reverse Rayleigh scattering signal is analyzed by the Φ-OTDR device to obtain the power of the reverse Rayleigh scattering signal.
[0099] A signal acquisition module 12, used for acquiring a corresponding scattered signal according to the scattered light;
[0100] In the specific implementation process of this embodiment, since the vibration generating device that generates the detection vibration is usually set on the ground or on the corresponding ground device, the actual vibration generating position is a certain distance away from the optical cable to be tested, resulting in a certain attenuation of the detection vibration in the process of reaching the optical cable to be tested, thereby making the power of the scattered light generated in the optical cable to be tested low. When the power of the scattered light is low, it is difficult to obtain the corresponding scattered signal from the scattered light;
[0101] Therefore, specifically, the power of the scattered light is obtained. If the power of the scattered light is less than a set value, an auxiliary signal is generated and superimposed on the scattered light, and the scattered signal is obtained according to the superimposed scattered light; otherwise, the scattered signal is directly obtained according to the scattered light; wherein, preferably, the auxiliary signal and the scattered light have the same wavelength to facilitate the superposition of the auxiliary signal and the subsequent removal of the auxiliary signal.
[0102] Meanwhile, in this embodiment, the set value is greater than or equal to the minimum quantization step of the analog-to-digital conversion device, and the auxiliary signal is an optical signal of the set frequency;
[0103] Among them, the analog-to-digital conversion device is used to obtain the corresponding scattered signal based on the scattered light. In a specific implementation, the analog-to-digital conversion device can usually be arranged in a detection device connected to the optical cable to be tested, and can directly receive the scattered light in the optical cable to be tested and obtain the corresponding scattered signal; then in this embodiment, the analog-to-digital conversion device can be arranged in the distributed optical fiber detection device.
[0104] Different analog-to-digital conversion devices have different minimum quantization steps, that is, different detection accuracies. If the power of the scattered light is less than the minimum quantization step of the analog-to-digital conversion device, the scattered light will be difficult to be converted by the analog-to-digital conversion device, and it will be difficult to obtain the corresponding scattered signal. Therefore, an optical signal of the set frequency is generated and superimposed on the scattered light, so that the superimposed composite signal can exceed the minimum quantization step of the analog-to-digital conversion device, so that the analog-to-digital conversion device can obtain the scattered signal based on the superimposed scattered light.
[0105] Correspondingly, if the power of the scattered light is greater than or equal to the minimum quantization step of the analog-to-digital conversion device, the scattered light is directly collected to obtain the scattered signal.
[0106] A signal processing module 13, used for processing the scattered signal;
[0107] In this embodiment, if the auxiliary signal is superimposed on the scattered light corresponding to the scattered signal, the DC component in the scattered signal and the superimposed auxiliary signal are removed, and the scattered signal after removing the DC component and the superimposed auxiliary signal is gain controlled to obtain the processed scattered signal; if the auxiliary signal is not superimposed on the scattered light corresponding to the scattered light, the DC component of the scattered signal is directly removed, and the scattered signal after removing the DC component is gain controlled to obtain the processed scattered signal; preferably, the gain of the scattered signal is controlled to around -15dBFs.
[0108] Specifically, in the actual application of this embodiment, the distributed optical fiber detection device will continuously collect data in the optical cable to be tested, so in fact, the distributed optical fiber detection device collects the data sequence returned from the optical cable to be tested, and performs analog-to-digital conversion on the data sequence to form a quantized data sequence. The scattered light generated by the optical cable to be tested under the influence of the vibration signal is included in the data sequence. The scattered light is consistent with other data in the data sequence, and the scattered signal formed after analog-to-digital conversion is included in the quantized data sequence.
[0109] In order to achieve better measurement and calculation, the quantized data sequence continuously collected within a certain sampling time is constructed into a quantization matrix, wherein the row of the quantization matrix corresponds to each position point on the optical cable to be measured, and the column of the quantization matrix corresponds to each time point in the sampling time;
[0110] Therefore, in this embodiment, the processing of the scattered signal is actually the processing of the quantization matrix. Specifically, the DC operation is removed for the data of each position point in the quantization matrix, that is, the data of each row, and then the data of each position point is gain controlled in the digital domain to scale the signal amplitude to around -15dBFs.
[0111] A signal conversion module 14, used for converting the processed scattered signal into a frequency domain to obtain a frequency domain signal;
[0112] Since each column in the quantization matrix corresponds to each time point of the sampling time, the quantization matrix represents the time domain data of the optical cable to be tested within the sampling time. To further implement data analysis and processing, the time domain data needs to be converted into frequency domain data.
[0113] Specifically, the signal can be converted from the time domain to the frequency domain through a partial frequency multi-point DFT (Discrete Fourier Transform) operation, wherein the specific number of points is determined according to the frequency value of the laser irradiated into the optical cable to be tested; in this embodiment, the number of points of the partial frequency multi-point DFT operation is determined according to the fixed pulse frequency of the laser pulse irradiated into the optical cable to be tested, and the partial frequency multi-point DFT operation is performed on the data of each row in all the quantization matrices to obtain a frequency domain matrix.
[0114] A peak finding module 15, used to find the peak of the frequency domain signal according to the vibration frequency to obtain peak information;
[0115] Wherein, the peak information mainly includes the peak power of the specific frequency. In this embodiment, the frequency domain signal obtained after the frequency domain conversion represents the frequency conditions of various signals in the optical cable to be tested. These signals correspond to those before the conversion, and are all caused by the influence of the optical cable to be tested, including the vibration signal caused by the influence of the detection vibration. The vibration signal has the specific frequency. If the frequency domain signal contains the vibration signal, the vibration signal can be found in the frequency domain signal through the specific frequency. Specifically, a peak search operation can be performed in the neighborhood near the specific frequency in the frequency domain signal to find the peak corresponding to the specific frequency. After the peak value is obtained, the peak power can be fitted by algorithms such as neighborhood interpolation.
[0116] Specifically, in the present embodiment, corresponding to the frequency domain matrix, each row of the frequency domain matrix represents the frequency conditions of various signals at the corresponding position points of the optical cable to be tested. In fact, the detection vibration will only affect some position points on the optical cable to be tested. In the frequency domain matrix, not every row will contain the signal of the specific frequency. Therefore, it is necessary to first search in the frequency domain matrix whether the corresponding row contains the signal of the specific frequency. In the row containing the signal of the specific frequency, peak search is performed in the neighborhood near the specific frequency to obtain the peak value of the specific frequency, and then the peak power is obtained by fitting.
[0117] A peak-to-average ratio acquisition module 16, configured to acquire a peak-to-average ratio according to the peak information and the frequency domain signal;
[0118] The peak-to-average ratio represents the ratio of the corresponding maximum instantaneous power to the average power. In this embodiment, it corresponds to the ratio of the peak power of the specific frequency to the average power at the position point. Since the optical cable to be tested will be affected by vibrations of various frequencies, corresponding peaks of various frequencies will be generated. The frequency domain information can only obtain the signal conditions at the corresponding frequencies. If the vibration is judged only by the peak conditions, the judgment result will be inaccurate. Therefore, the peak-to-average ratio is introduced to judge the vibration, the interference of redundant vibrations at other frequencies is reduced, and the accuracy of vibration judgment is effectively improved.
[0119] In this embodiment, the peak power of the corresponding position point obtained by peak searching is compared with the average power of the corresponding point to obtain the peak-to-average ratio; corresponding to the frequency domain matrix, the peak power of the corresponding row is compared with the average power of the corresponding row to obtain the peak-to-average ratio of the corresponding row.
[0120] An effective position point acquisition module 17 is used to determine whether the corresponding vibration signal is a valid signal according to the peak-to-average ratio of the vibration signal, and take the ground position point of the detected vibration corresponding to the valid signal as a valid position point;
[0121] In this embodiment, the effective signal indicates that the power of the scattered light generated by the corresponding vibration signal on the optical cable to be tested meets the preset value; it is understandable that the vibration signal generated by the detected vibration is propagated in all directions, so that not only one position point on the optical cable to be tested receives the vibration signal, but multiple position points of the optical cable to be tested will receive the vibration signal and generate the scattered light accordingly. However, as the distance between the position point on the optical cable to be tested and the ground position point for detecting vibration continues to increase, the power of the corresponding scattered light continues to decrease. When the power is reduced to a certain threshold, it indicates that the corresponding position point on the optical cable to be tested is too far away from the ground position point for detecting vibration and cannot be used to determine the position of the optical cable to be tested, indicating that the vibration signal is invalid, so it is necessary to exclude these position points that are too far away from the ground position point for detecting vibration.
[0122] Corresponding to the present embodiment, in order to improve the accuracy of the judgment, the size of the peak-to-average ratio at the corresponding position point on the optical cable to be tested can be judged to determine whether the distance between the position point and the ground position point for detecting vibration meets the requirements. Specifically, it is determined whether the peak-to-average ratio is greater than the preset threshold value. If the peak-to-average ratio is greater than the preset threshold value, it indicates that the vibration signal received by the corresponding position point is strong enough, indicating that the distance from the ground position point for detecting vibration is close enough, and the corresponding vibration signal is the valid signal. Preferably, the preset threshold value can be set to 4-5dB. If the peak-to-average ratio is greater than 4-5dB, it indicates that the vibration signal received by the corresponding position point is a valid signal.
[0123] In this embodiment, by judging the peak-to-average ratio of all corresponding position points in the frequency domain matrix, several sets of the effective signals can be finally obtained. The corresponding position points of the effective signals in each set on the optical cable to be tested are continuous, indicating that they are generated by the same detection vibration. Then, the corresponding ground position points of the detection vibration can be obtained based on the position points corresponding to the effective signals in each set, and the ground position points can be used as the effective position points.
[0124] The route acquisition module 18 is used to determine the route of the optical cable to be tested according to all the valid position points.
[0125] In this embodiment, the valid position points are the ground position points for detecting vibrations. After all the valid position points are acquired, the routing direction of the optical cable to be tested can be acquired according to all the related ground position points.
[0126] It can be understood that the above-mentioned device embodiments and the above-mentioned method embodiments can correspond to each other, and similar descriptions of the device embodiments can refer to the method embodiments. To avoid repetition, it will not be repeated here. An optical cable route detection device provided in an embodiment of the present application can execute an optical cable route detection method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. The functional modules of the optical cable route detection device can be implemented in the form of hardware, can be implemented by instructions in the form of software, and can also be implemented by a combination of hardware and software modules.
[0127] Specifically, each step of the method embodiment of the present application can be completed by the hardware integrated logic circuit and / or software instructions in the processor. The steps of an optical cable route detection method in combination with the embodiment of the present application can be directly embodied as a hardware coding processor, or a combination of hardware and software modules in the coding processor. Optionally, the software module can be located in a random access memory, a read-only memory, a programmable read-only memory, a flash memory, an electrically erasable programmable memory, a register, and other storage media. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in combination with its hardware.
[0128] Example 3
[0129] Based on the same technical concept as that of Embodiment 1, this embodiment provides an electronic device 20, whose structure is as follows: Figure 1 shown.
[0130] like Figure 1 As shown, the electronic device 20 includes a memory 21, a processor 22, a communication module 23 and an input / output interface 24, etc. Optionally, the memory 21, the processor 22, the communication module 23 and the input / output interface 24 can be connected and communicated through a bus 25.
[0131] The memory 21 is used to store one or more computer programs and transmit the code of the computer program to the processor 22; when the one or more computer programs are executed by the processor 711, an optical cable route detection method in an embodiment of the present application is implemented.
[0132] Optionally, the electronic device 20 can be connected to a network through a communication module 23 to communicate with other devices, such as a terminal or a server, through the network to achieve data interaction. The electronic device 20 can be various forms of digital computers, such as desktop computers, servers, workstations, mainframe computers or other types of computers. The electronic device 20 can also be various forms of mobile terminals, such as smart phones, tablet computers, wearable devices (such as helmets, glasses, watches, etc.) and other similar mobile terminals.
[0133] Optionally, the electronic device 20 can be connected to the required input / output devices, such as a keyboard, a display device, etc., through the input / output interface 24. The electronic device 20 itself can have a display device, and can also be connected to other display devices through the input / output interface 24. Optionally, a storage device, such as a hard disk, can also be connected through the input / output interface 24, so that data in the electronic device 20 can be stored in the storage device, or data in the storage device can be read, and data in the storage device can also be stored in the memory 21. It can be understood that the input / output interface 24 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 24 can be a component of the electronic device 20, or it can be an external device connected to the electronic device 20 when needed.
[0134] Optionally, the memory 21 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.
[0135] Optionally, the computer program stored in the processor 711 may be divided into one or more modules, which are stored in the memory 21 and executed by the processor 22 to complete the method provided in the embodiment. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the computer program instruction segments are used to describe the execution process of the computer program in the electronic device 20.
[0136] Optionally, the processor 22 may be various general and / or special processing components with processing and computing capabilities. Some examples of the processor 22 include, but are not limited to, a central processing unit, a graphics processing unit, a digital signal processor, various special artificial intelligence computing chips, various processors running machine learning model algorithms, and may also be any appropriate controller, microcontroller, processor, etc. The processor 22 executes various methods and processes of this embodiment, illustratively, such as a method for detecting an optical cable route in an embodiment of the present application.
[0137] Optionally, the bus 25 may include a path for transmitting information. The bus 25 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. According to different functions, the bus 25 may be divided into an address bus, a data bus, a control bus, etc.
[0138] In an optional implementation, the embodiment of the present application further provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. Part or all of the computer program can be loaded and / or installed on the memory 21 of the electronic device 20. When the computer program is executed by the processor 22, one or more steps of a method for detecting an optical cable route in the embodiment of the present application can be performed.
[0139] 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, or the like.
[0140] Obviously, the above embodiments of the present application are merely examples for clearly illustrating the technical solution of the present application, and are not intended to limit the specific implementation methods of the present application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present application shall be included in the protection scope of the claims of the present application.
Claims
1. A method for detecting an optical cable route, characterized in that: The method comprises: Collect scattered light generated by a vibration signal in the optical cable to be tested; the vibration signal is generated by a detection vibration emitted at a ground location point, and the vibration signal has a specific frequency; Acquire a corresponding scattering signal according to the scattered light; Processing the scattered signal; Converting the processed scattered signal into the frequency domain to obtain a frequency domain signal; Perform peak search on the frequency domain signal according to the specific frequency to obtain peak information; Acquire a peak-to-average ratio according to the peak information and the frequency domain signal; According to the peak-to-average ratio of the vibration signal, determining whether the corresponding vibration signal is a valid signal, and taking the ground position point of the detected vibration corresponding to the valid signal as a valid position point; The route of the optical cable to be tested is determined according to all the valid position points.
2. The optical cable route detection method according to claim 1, characterized in that: The step of obtaining a corresponding scattered signal according to the scattered light specifically includes: The power of the scattered light is obtained. If the power of the scattered light is less than a set value, an auxiliary signal is generated and superimposed on the scattered light. A scattered signal is obtained according to the superimposed scattered light. Otherwise, a scattered signal is directly obtained according to the scattered light.
3. The optical cable route detection method according to claim 2, characterized in that: The processing of the scattered signal specifically includes: If an auxiliary signal is superimposed on the scattered light, the DC and the superimposed auxiliary signal are removed from the scattered signal and gain control is performed; otherwise, the DC is directly removed from the scattered signal and gain control is performed.
4. The optical cable route detection method according to claim 1, characterized in that: The determining, according to the peak-to-average ratio of the vibration signal, whether the corresponding vibration signal is a valid signal specifically includes: The peak-to-average ratio is compared with a preset threshold value. If the peak-to-average ratio is greater than or equal to the preset threshold value, the corresponding vibration signal is used as the valid signal.
5. A method for detecting an optical cable route according to claim 2 or 3, characterized in that: The auxiliary signal is an optical signal of a set frequency.
6. A method for detecting an optical cable route according to any one of claims 1 to 4, characterized in that: The set value is greater than or equal to a minimum quantization step size of an analog-to-digital conversion device; the analog-to-digital conversion device is used to obtain the corresponding scattered signal according to the scattered light.
7. The optical cable route detection method according to any one of claims 1 to 4, characterized in that: The control method of detecting vibration at least includes Bluetooth control, WiFi control or mobile network control.
8. An optical cable route detection device, characterized in that: The device comprises: A vibration collection module, used to collect scattered light generated by a vibration signal in the optical cable to be tested; the vibration signal is generated by a detection vibration emitted at a ground position point, and the vibration signal has a specific frequency; A signal acquisition module, used for acquiring a corresponding scattered signal according to the scattered light; A signal processing module, used for processing the scattered signal; A signal conversion module, used for converting the processed scattered signal into a frequency domain to obtain a frequency domain signal; A peak-finding module, used to perform peak-finding on the frequency-domain signal according to the specific frequency to obtain peak information; A peak-to-average ratio acquisition module, used to acquire a peak-to-average ratio according to the peak information and the frequency domain signal; An effective position point acquisition module, used for judging whether the corresponding vibration signal is a valid signal according to the peak-to-average ratio of the vibration signal, and taking the ground position point of the detected vibration corresponding to the valid signal as a valid position point; A route acquisition module is used to determine the route of the optical cable to be tested according to all the valid position points.
9. An electronic device, characterized in that: include: a memory for storing one or more computer programs; The processor implements the optical cable route detection method as described in any one of claims 1 to 7 when the one or more computer programs are executed by the processor.
10. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the service launch method according to any one of claims 1 to 7 when executed.
Citation Information
Cited By
Optical fiber light leakage detection method and system and optical fiber route detection method and system
CN120313878A
A method and system for optical fiber leak detection, optical fiber route detection
CN120313878B
