scieee AI-readable full text Open interactive document viewer

Image Edge Detection Methods in Perimeter Security Systems Using Distributed Fiber Optical Sensing

Dejdar, Petr; Záviška, Pavel; Valach, Soběslav; Münster, Petr; Horváth, Tomáš

Abstract

The aim of this paper is to evaluate detection algorithms for perimeter security systems based on phase-sensitive optical time-domain reflectometry (-OTDR). Our own designed and developed sensor system was used for the measurement. The main application of the system is in the area the perimeter fencing intrusion detection. The system is unique thanks to the developed motherboard, which contains a field-programmable gate array (FPGA) that takes care of signal processing. This allows the entire system to be integrated into a 1U rack chassis. A polygon containing two different fence types and also cable laid underground in a plastic tube was used for testing. Edge detection algorithms using the Sobel and Prewitt operators are considered for post-processing. The comparison is made based on the signal-to-noise ratio (SNR) values calculated for each event. Results of algorithms based on edge detection methods are compared with the conventional differential method commonly used in -OTDR systems.

Full text

  Citation: Dejdar, P.; Záviška, P.; Valach, S.; Münster, P.; Horváth T. Image Edge Detection Methods in Perimeter Security Systems Using Distributed Fiber Optical Sensing. Sensors 2022,22, 4573. https:// doi.org/10.3390/s22124573 Academic Editor: Nicolas Riesen Received: 9 May 2022 Accepted: 10 June 2022 Published: 17 June 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). sensors Article Image Edge Detection Methods in Perimeter Security Systems Using Distributed Fiber Optical Sensing Petr Dejdar 1,2,* , Pavel Záviška 1,2 , Sobˇeslav Valach 1, Petr Münster 1,2 and Tomáš Horváth 1,2 1Department of Telecommunications, Faculty of Electrical Engineering and Communications, Brno University of Technology, Technická 12, 61600 Brno, Czech Republic; [email protected] (P.Z.); [email protected] (S.V.); [email protected] (P.M.); [email protected].cz (T.H.) 2Czech Optical Solutions s.r.o., Vavreˇckova 5262, 76001 Zlín, Czech Republic *Correspondence: petr[email protected] Abstract: This paper aims to evaluate detection algorithms for perimeter security systems based on phase-sensitive optical time-domain reflectometry ( Φ -OTDR). Our own designed and developed sensor system was used for the measurement. The main application of the system is in the area the perimeter fencing intrusion detection. The system is unique thanks to the developed motherboard, which contains a field-programmable gate array (FPGA) that takes care of signal processing. This allows the entire system to be integrated into a 1U rack chassis. A polygon containing two different fence types and also cable laid underground in a plastic tube was used for testing. Edge detection algorithms using the Sobel and Prewitt operators are considered for post-processing. The comparison is made based on the signal-to-noise ratio (SNR) values calculated for each event. Results of algorithms based on edge detection methods are compared with the conventional differential method commonly used in Φ-OTDR systems. Keywords: edge detection; intruder detection; phase-OTDR; signal-to-noise ratio; vibration sensing 1. Introduction Currently, fiber optic sensing systems are very common in real operations. Initial costs decrease with the number of installations and the number of solutions increases. With the growing number of optical cable installations, new possibilities for using this medium for non-data applications are offered, such as the transmission of ultrastable quantities or sensing of acoustic/mechanical vibrations and temperature in the immediate vicinity of fibers. Optical fiber sensors (OFS) are now mainly used with new installations but in special cases, these can also be used on existing infrastructures and, in some cases, on fibers with active data transmission. This reduces the cost of the initial installation of optical routes, and thus a cheaper sensing system. OFS can also be used in places where common electronic sensors cannot be used because of high temperature, humidity, electromagnetic interference, etc. [ 1 ]. Furthermore, due to its size, the precision of measurement, and wide range of measurement quantities, such as temperature, pressure, or vibration [ 1 , 2 ], it is increasingly used in non-standard conditions, such as aircraft and shuttle sensors [ 3 ]. At present, it is necessary to secure various private and public facilities, such as buildings, land, airports, or various infrastructures (water, oil, or gas pipelines) against damage or intrusion. Due to their advantages, fiber optic distributed sensing systems are gaining attractivity in this area [4–8]. This article, which is an extended version of the conference paper [ 9 ], aims to present a distributed fiber optic sensing system based on Φ-OTDR , which has a sufficient spatial resolution, comparison of selected methods used for signal processing, and the results from real testbed measurement. A typical back-reflected signal from a fiber (one period of the reflected signal) from measurement by the Φ -OTDR system is shown in Figure 1a. Figure 1b shows a vibration in time. The red color represents the idle state, while the Sensors 2022,22, 4573. https://doi.org/10.3390/s22124573 https://www.mdpi.com/journal/sensors Sensors 2022,22, 4573 2 of 13 red-blue signal is a sinusoidal signal with a frequency of 70 Hz generated with a speaker. The entire experiment deals with vibrations caused by hitting a fence, an optical fiber box, and walking in a defined space at different distances from the fiber. Figure 1. ( a ) One Rayleigh scattering response from the fiber; ( b ) time measurement showing idle state (red) and vibration (blue). 2. State of the Art Fiber optic interferometers, fiber Bragg gratings (FBGs), and distributed optical sensors based on optical time-domain reflectometry (OTDR) are the most widely used in the field of optical fiber sensor systems for perimeter security. In the field of interferometers, the Michelson interferometer is used very often because of its simplicity. Authors in [ 10 ] describe perimeter security systems and signal processing algorithms for event classification. Unfortunately, it can only determine whether the perimeter has been disturbed or not, but localization is not possible. A possible solution to this problem may be the use of a zone Michelson interferometer [ 11 ], which can at least partially determine the zone where the perimeter was disturbed. Among interferometric methods for perimeter security, it is also very advantageous to use a dual Mach–Zehnder interferometer (DMZI), which is most often used to detect cutting, and manipulation with optical fibers [ 12 ] or for the classification of falling rocks, climbing, and hitting fibers [ 13 ] and other possible typical intrusion events [ 14 ]. With DMZI, there is also the possibility of event localization [ 15 ]. The setup of this interferometer can significantly increase the cost of the entire system. Another option to secure the perimeter is to use FBGs as presented in [ 16 ], where special fibers with Bragg gratings are used. Based on vibration type, the perimeter disturbance can be classified. These systems usually contain several FBGs in a series to approximately localize atypical events, as presented in [17–19]. OTDR-based sensing systems can usually determine the location of the event, and in combination with algorithms of signal processing or machine learning algorithms that are used, individual events can be classified. One option is to use a coherent optical timedomain reflectometry (C-OTDR) [ 20 ] or phase-sensitive optical time-domain reflectometry (Φ-OTDR) [21,22]. In the last decade, Φ -OTDR-based vibration sensor systems have made great progress. In addition to the improved schemes of Φ -OTDR, new signal processing methods have been designed to better detect vibrations from Rayleigh backscattering traces and improve key factors of the detection, such as the signal-to-noise ratio (SNR) and spatial resolution (SR). Early detection techniques were based on the moving averaging and moving differential method [ 23 , 24 ]. To reduce the time-domain noise and improve the SNR, wavelets are very often used in Φ -OTDR systems. Quin et al. proposed the approach utilizing the continuous wavelet transform [ 25 ] and multiscale wavelet denoising [ 26 ]. Multiscale wavelet decomposition with a simple backpropagation neural network was proposed by Sensors 2022,22, 4573 3 of 13 Wu et al. in [ 27 ]. Additionally, empirical mode decomposition (EMD) was used either alone [ 28 ] or in combination with the wavelet denoising method [ 29 ]. Curvelet-based denoising for Φ-OTDR systems was presented in [30]. Statistics in the form of the signal kurtosis method are presented in [ 31 ]. A simultaneous SNR enhancement of detection of both location and frequency information using FFT was introduced by Yue et al. in [ 32 ]. Furthermore, the correlation dimension method was proposed to improve the detection of multiple locations and solve the coherent fading problem [33]. In addition, some methods locate the perturbation information from two-dimensional (2D) images composed of Rayleigh traces, such as edge detection using Sobel operator [34], Prewitt operator [35], or 2D bilateral filtering [36]. The overall progress of Φ -OTDR systems is summarized in a recent overview [ 37 ]. Table 1 shows parameters of similar systems that have been published. External AD converters have been used for systems proposed in [ 38 – 40 ], so these systems, unlike ours, are not suitable for industrial use. These systems require a PC for data processing, however, in our system is the sampling performed by an FPGA card. Another advantage of our system is that it has been designed for the use on cables on the fence, while other systems are designed for the use on buried cables. The system was therefore designed with regard to the possible stronger disturbance caused by environmental influences. Table 1. Comparison of the Φ-OTDR system. Φ-OTDR Repetition Rate Sampling Rate Laser Line-Width Laser Power Ying [41] 50 kHz 100 MS/s 5 kHz 10 dBm Franciscangelis [38] 20 kHz 2500 MS/s 200 kHz 0 dBm Gang [42] 1 kHz – 5 kHz 13 dBm Tomboza [43] – 100 MS/s 0.075 kHz 11 dBm Filograno [44] – 200 MS/s – 13 dBm Jason [39] 20.2 kHz 1000 MS/s 0.1 kHz 16 dBm Daisuke [40] 10 kHz 1250 MS/s 1 kHz – Our system upto 20 kHz 250 MS/s <0.1 kHz 15 dBm 3. Methodology The Rayleigh backscatter measurement, known as OTDR, has been known for decades and dates back to the 1980s [ 45 – 47 ]. In telecommunications, OTDR is commonly used to measure optical path parameters. The principle of OTDR consists of sending a high-power pulse of optical radiation generated by a laser diode (LD) into the fiber under test, where a small part of the light is back-scatter from each part of the fiber. Based on knowledge of the power level of the backscattered light from the fiber and knowledge of time, the attenuation profile of the measured fiber can be evaluated. The backscattering is captured by a photo-detector (PD), stored in time series, and averaged as shown in Figure 2. LD PD Fiber core Input pulse Rayleigh backscattering Circulator Figure 2. Principle scheme of OTDR. The backscattered power PRcan be computed as: PR=PSαsWv 2, (1) Sensors 2022,22, 4573 4 of 13 where P is the power of the transmitted pulse, αs is the Rayleigh scatter loss, W is the width of the pulse, and v is the light velocity in the fiber, taken from [ 47 ] (EQ1). The parameter S describes the portion of the captured light [47]. The distance of the measured reflection ( l ) can then be determined using the formula: l=cT 2ng, (2) where c is the speed of light in a vacuum, T is the delay between sending the pulse and receiving its reflected component, and ng is the refractive index. The division by 2 is caused by the double distance traveled caused by the pulse time to the sensed place and the same time for receiving on the photo-detector. Φ -OTDR is a method, most likely based on the [ 48 ] patent. Compare to basic OTDR, Φ -OTDR does not deal primarily with fiber characteristics, but with changes measurement of local phase changes. Assuming that the internal structure of the fibers does not change, which can be assumed to be at an idle state, it is therefore possible to use Φ -OTDR to detect vibrations around the fiber. According to the review [ 37 , 49 , 50 ], it is necessary to use highly coherent radiation to generate signals, for example, using a narrow line-width laser (NLL). An optical modulator (OM) with a signal generator should be used to generate pulses. An erbiumdoped fiber amplifier (EDFA) is often used as a booster to increase the power level of the pulse. EDFAs produce amplified spontaneous emission (ASE) noise, which should, if possible, be filtered out by a filter, as stated in [ 37 ]. It is also possible to use EDFA as a pre-amplifier [ 49 ] after passing through the sensing fiber, before measuring the signal using PD. Subsequently, the signal is sampled using a data acquisition (DAQ) card and finally processed by post-processing. A typical setup is shown in Figure 3. NLL PD DAQ Fiber core Input pulse Circulator OM Filter EDFA Pulse width X Figure 3. Basic scheme of Φ-OTDR. When setting the system parameters, it is necessary to pay attention to the correct setting of the pulse period ( PP ). The pulse period should be PP≥2L/vg , where L is the length of the fiber, and vg is the group velocity of the pulse. According to the Nycquist theorem, the maximum possible measurable frequency then corresponds to: fmax ≤1 2PP ≤1 2vg 2L. (3) The pulse length then affects another parameter of Φ -OTDR, which is the spatial resolution. This can be defined as: SR =cτp 2ng, (4) where τp is the pulse duration. Another parameter is the maximum repetition rate, which can be defined as the number of pulses sent in 1 s. We can calculate this parameter as follows: fs,ac =c 2ngL. (5) The last parameter that influences the range of the system is the SNR, which is most affected by the power of the input pulse. Sensors 2022,22, 4573 5 of 13 Evaluation of Φ -OTDR is performed by the sampling of the detected signal in the photo-detector, where the system result was achieved by subtracting every two consecutive traces and computing the absolute difference. The number of periods per second corresponds to the repetition rate. SNR can be increased with DAQ properties, where it is possible to increase the sample rate and bit-resolution parameters. 4. Experimental Setup The experimental setup is shown in Figure 4. The electrical part is marked by red color, and the optical part is marked by blue color. It consists of a narrow linewidth laser that generates an optical signal followed by an isolator, which protects the laser from damage when the light is reflected back to the source. An acoustic-optical modulator (AOM) is used for signal modulation. Through the circulator, pulses are transmitted to the fiber under test (FUT). An EDFA is used to amplify the power of the pulses before they enter the circulator, which directs the optical pulses to the FUT and directs the reflected signals from the fiber to the PIN-FET diode for signal processing. Laser Isolator AOM Pulse EDFA PIN-FET FPGA card 12 VDC 5 VDC RS232 ADC FM AM Cable on wooden fence Burried cable Cable reel Cable on wire mesh fence Term Figure 4. Scheme of a perimeter monitoring system based on Φ-OTDR. The individual components are controlled by our self-designed (FPGA) card, which powers the laser, sends signals to the AOM, powers, and communicates EDFA via RS232, and contains an analog-to-digital converter (ADC) to convert the optical signal from the PIN-FET diode to electric, which is further processed. System on a Chip (SoC) is used as the main component of the acquisition unit, which combines the Acorn RISC Machine (ARM) processor system with the Cortex A53 core and the Kintex UltraScale+ FPGA series. It is a compact solution that provides support for all the required peripherals. The card is powered by a standard ATX connector and is further supplemented with power supplies for all digital circuits in levels from 0.85 V to 3.3 V and also with power management for external components. The sampling, control, and monitoring of resources are performed using full programmable power monitor from LatticeSemi. Sensors 2022,22, 4573 6 of 13 FPGA card also contains the direct digital synthesis (DDS) module (operating at a frequency of 1 GS/s) is controlled by a keying signal and is used to generate pulses. The serial peripheral interface (SPI) realizes the DDS setting (frequency, amplitude, and phase). The AXISDMA unit ensures the transfer of a selected part of the data from the AD converter to the main memory of the processor and subsequently makes the data available for supervision and further analysis at a higher level. Data flow will be already reduced in the FPGA in the operational state. For more information on the FPGA card see [51]. The sensing system was set according to the parameters in Table 2for the best SNR and optimal spatial resolution. The selected pulse length is sufficient for a test polygon that measures only 6.5 km and is described below. The pulse frequency and sampling frequency have been intentionally reduced due to memory savings and the associated huge data processing problems. Table 2. Parameters of the Φ-OTDR system. pulse width 50 ns sampling frequency 250 MHz repetition rate 1000 Hz A 12-fiber outdoor optic cable was used to test the Φ -OTDR for perimeter security. The length of the cable is 500 m and the individual fibers are spliced together so that a total length of 6000 m is created. In addition to the 6 km of optical test loop, a 500 m long launch cable was used at the beginning, as can be seen in Figure 5. Subsequently, the cable rises again to the surface and is wound on a 40-m-long wire mesh fence and then on a 40-m-long wooden fence. A loop is always formed between the columns of both fences, as can be seen in Figure 4. Fibers in the cable are spliced together at both ends so it consists of 6 fibers oriented toward and 6 fibers oriented backward. In the end, a terminator is used to suppress the Fresnel reflection. A report of the OTDR route with marked splices can be seen in Figure 2. The total length of the route is 6.5 km. The FUT is ended by an optical terminator to eliminate reflection from the fiber end. The total attenuation of FUT is 2.853 dB at 1550 nm. The average attenuation is 0.436 dB/km. The average splice attenuation is 0.153 dB, where the maximum value reaches 0.210 dB. Sensors 2022,1, 0 6 of 13 FPGA card also contains the direct digital synthesis (DDS) module (operating at a frequency of 1 GS/s) is controlled by a keying signal and is used to generate pulses. The serial peripheral interface (SPI) realizes the DDS setting (frequency, amplitude, and phase). The AXISDMA unit ensures the transfer of a selected part of the data from the AD converter to the main memory of the processor and subsequently makes the data available for supervision and further analysis at a higher level. Data flow will be already reduced in the FPGA in the operational state. For more information on the FPGA card see [51]. The sensing system was set according to the parameters in Table 2for the best SNR and optimal spatial resolution. The selected pulse length is sufficient for a test polygon that measures only 6.5 km and is described below. The pulse frequency and sampling frequency have been intentionally reduced due to memory savings and the associated huge data processing problems. Table 2. Parameters of the Φ-OTDR system. pulse width 50 ns sampling frequency 250 MHz repetition rate 1000 Hz A 12-fiber outdoor optic cable was used to test the Φ -OTDR for perimeter security. The length of the cable is 500 m and the individual fibers are spliced together so that a total length of 6000 m is created. In addition to the 6 km of optical test loop, a 500 m long launch cable was used at the beginning, as can be seen in Figure 5. Subsequently, the cable rises again to the surface and is wound on a 40-m-long wire mesh fence and then on a 40-m-long wooden fence. A loop is always formed between the columns of both fences, as can be seen in Figure 4. Fibers in the cable are spliced together at both ends so it consists of 6 fibers oriented toward and 6 fibers oriented backward. In the end, a terminator is used to suppress the Fresnel reflection. A report of the OTDR route with marked splices can be seen in Figure 2. The total length of the route is 6.5 km. The FUT is ended by an optical terminator to eliminate reflection from the fiber end. The total attenuation of FUT is 2.853 dB at 1550 nm. The average attenuation is 0.436 dB/km. The average splice attenuation is 0.153 dB, where the maximum value reaches 0.210 dB. 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 0 10 20 Distance (km) Power level (dB) Figure 5. OTDR report from the testbed. Figure 6shows the intensity of vibrations after applying the Sobel operator of size 5 × 5 (see Section 5for a detailed description of the methods). It can be seen that the intensity of vibrations, and thus the SNR, decreases with distance, which is an effect related to the decreasing power level of the pulses. In Figure 6we can also see six pairs of events that repeat periodically. Figure 5. OTDR report from the testbed. Figure 6shows the intensity of vibrations after applying the Sobel operator of size 5 × 5 (see Section 5for a detailed description of the methods). It can be seen that the intensity of vibrations, and thus the SNR, decreases with distance, which is an effect related to the decreasing power level of the pulses. In Figure 6we can also see six pairs of events that repeat periodically. Sensors 2022,22, 4573 7 of 13 Sensors 2022,1, 0 7 of 13 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 0 0.2 0.4 0.6 0.8 1 Distance (km) Normalized intensity (arb. unit) Figure 6. Detection of the walking can be recognized 12-times on the full length of 6 km. 5. Methods The goal of the signal processing methods is to detect vibrations based on the change in the Rayleigh backscattering traces. This goal can be simply achieved by subtracting every two consecutive traces and computing the absolute difference, which is usually referred to as the conventional differential (CD) method. Formally, this process can be expressed as: d(i) = |r(i+1)−r(i)|, (6) where r(i)is the i-th of the Nscattering traces, and d(i)is the i-th differential trace. Under ideal working conditions, the conventional differential method can be efficiently used because of its high sensitivity to an intruder and very inexpensive computational cost, making it suitable for real-time detection. Nevertheless, in real conditions, the performance of the Φ -OTDR system is influenced by the limiting performance of the laser source, the finite extinction ratio of the optical modulator, thermal noise in electrical components, and the sensing fiber [37]. To cope with the negative effects of the vibration detection in real conditions and at least partially eliminate the noise, the Rayleigh backscattering traces can be preprocessed by computing the moving average [23,24], such that: pµ(j) = 1 µ µ−1+j ∑ i=j r(i)for j=0, . . . , µ−1, (7) where pµ(j) denotes j -th processed trace obtained by computing the average of µ traces. From such processed traces, the vibrations (i.e., the changes of Rayleigh traces in time) can be detected via the CD method according to (6). However, even though the averaging reduces the noise, it also smoothes out the vertical edges, which are important for accurate detection. Therefore, more advanced methods that do not suffer from this disadvantage have been developed to improve the signal-to-noise ratio and thus also the detection accuracy. Well-performing and computationally inexpensive methods are the methods based on image processing [ 34 , 35 ]. The image (also called the waterfall graph) can be composed of several consecutive Rayleigh backscattering traces, e.g., as shown in Figure 7a–c, where every row of the image is one backscattering trace (see Figure 1a). Since external perturbations cause significant variation in the backscattering traces (see Figure 1b), image edge detection in the vertical direction is useful to highlight the vertical edges and smooth the pseudo-edges and differences on the horizontal axis. Figure 6. Detection of the walking can be recognized 12-times on the full length of 6 km. 5. Methods The goal of the signal processing methods is to detect vibrations based on the change in the Rayleigh backscattering traces. This goal can be simply achieved by subtracting every two consecutive traces and computing the absolute difference, which is usually referred to as the conventional differential (CD) method. Formally, this process can be expressed as: d(i) = |r(i+1)−r(i)|, (6) where r(i)is the i-th of the Nscattering traces, and d(i)is the i-th differential trace. Under ideal working conditions, the conventional differential method can be efficiently used because of its high sensitivity to an intruder and very inexpensive computational cost, making it suitable for real-time detection. Nevertheless, in real conditions, the performance of the Φ -OTDR system is influenced by the limiting performance of the laser source, the finite extinction ratio of the optical modulator, thermal noise in electrical components, and the sensing fiber [37]. To cope with the negative effects of the vibration detection in real conditions and at least partially eliminate the noise, the Rayleigh backscattering traces can be preprocessed by computing the moving average [23,24], such that: pµ(j) = 1 µ µ−1+j ∑ i=j r(i)for j=0, . . . , µ−1, (7) where pµ(j) denotes j -th processed trace obtained by computing the average of µ traces. From such processed traces, the vibrations (i.e., the changes of Rayleigh traces in time) can be detected via the CD method according to (6). However, even though the averaging reduces the noise, it also smoothes out the vertical edges, which are important for accurate detection. Therefore, more advanced methods that do not suffer from this disadvantage have been developed to improve the signal-to-noise ratio and thus also the detection accuracy. Well-performing and computationally inexpensive methods are the methods based on image processing [ 34 , 35 ]. The image (also called the waterfall graph) can be composed of several consecutive Rayleigh backscattering traces, e.g., as shown in Figure 7a–c, where every row of the image is one backscattering trace (see Figure 1a). Since external perturbations cause significant variation in the backscattering traces (see Figure 1b), image edge detection in the vertical direction is useful to highlight the vertical edges and smooth the pseudo-edges and differences on the horizontal axis. Sensors 2022,22, 4573 8 of 13 Figure 7. Images of consecutive Rayleigh backscattering traces for the three testing scenarios (walk, fence, box) and the respective images of location information using the Sobel edge detection method with the kernel of size 5 ×5 pixels. The edges in the vertical direction can be detected by convolving the image with the Sobel or Prewitt operator, both of which are first-order difference operators to estimate the image gradient. The definition of these operators for the vertical direction is: S3 y=  121 000 −1−2−1  ,P3 y=  111 000 −1−1−1  , S4 y=     2552 1221 −1−2−2−1 −2−5−5−2     ,P4 y=     3333 1111 −1−1−1−1 −3−3−3−3     , S5 y=       23632 34643 00000 −3−4−6−4−3 −2−3−6−3−2       ,P5 y=       22222 11111 00000 −1−1−1−1−1 −2−2−2−2−2       , where the upper index represents operator size and the lower index denotes the direction. The processed Rayleigh traces using the Sobel operator with the kernel size 5 × 5 are depicted in the form of waterfall graphs in Figure 7d–f. Moreover, individually processed Rayleigh traces are for illustration plotted in Figure 7g–i. Sensors 2022,22, 4573 9 of 13 6. Experiments and Results The experiments of the Φ -OTDR detection system were performed in three different scenarios. The first scenario was designed to detect outdoor walking above the cable in PVC pipe buried approx. 60 cm underground. The experiments were performed by a person of about 95 kg with a walking speed of 4.5 km/h. The walk along the fiber was realized in two ways. The first way was walking a person across the cable. The second way was a walk along the buried cable. The distance of 2 m from the buried cable is used to compare the individual methods of edge detection. In the second and third scenarios, we simulated the perturbations by a person who knocked on the wire mesh fence and the plastic fiber optic box, where the fibers were spliced. These three scenarios are further referred to as “walk”, “fence” and “box”. To identify the perturbations on the fiber, we compared several different methods. First, we computed the simple conventional differential method to serve as a reference. This method was also used together with the moving average method with three different lengths of the averaging filter ( µ∈ { 5, 10, 20 } ). Finally, we applied the Sobel and Prewitt edge detection methods with three different sizes of the convolutional kernels (3 × 3, 4 × 4 and 5 ×5). The quality of detection was measured using the signal-to-noise ratio (SNR), which is defined as the power ratio between signal (detection peak) and noise, formally: SNR =10 log10 Psignal Pnoise . (8) As presented in Figure 8a, the 12-fiber outdoor optic cable used for the detection causes 12 detected peaks of one event. However, to compute the SNR, we only exploit the first peak, which usually has the highest intensity due to the higher power level of the pulses. The level of noise Pnoise is then computed as an average noise level of the intensity curve, which is taken as the upper envelope of the individual intensities (processed Rayleigh traces). The process of computing the SNR is displayed in Figure 8a. Figure 8. Example of SNR and SR measurements. The SNR results obtained by the individual methods are displayed in Figure 9. The results show that all testing methods managed to successfully detect the vibrations in all three scenarios, nonetheless, the CD method achieved significantly worse SNR. Applying the moving average filter on the Rayleigh traces before the CD method itself seems to slightly help in cases, where the SNR obtained using the CD method is not very high (such as in the walk scenario). In this case, the improvement in SNR was approximately 5 dB. However, the averaging seems to have a negligible or even slightly negative effect on the achieved SNR in scenarios, where the perturbations were quite strong (such as knocking on the fiber box). Here, the averaging worsened the achieved SNR by approximately 1 dB.