Red Palm Weevil Detection by Applying Machine Learning to Signals Detected With Fiber Optic Distributed Acoustic Sensing

SA522440618B1Active Publication Date: 2025-03-05KING ABDULLAH UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522440618
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-03-05
Estimated Expiration
2041-03-09

AI Technical Summary

Technical Problem

Current methods for detecting red palm weevil infestation in palm trees are inefficient, costly, and prone to false alarms due to ambient noise interference, and existing acoustic sensors require invasive drilling and labor-intensive monitoring.

Method used

A fiber optic distributed acoustic sensing (DAS) system using a neural network to process Rayleigh-filtered signals from optical fibers wrapped around trees, distinguishing between red palm weevil sounds and ambient noise with minimal infrastructure investment.

Benefits of technology

Provides non-stop, cost-effective monitoring of large areas with reduced false alarms by accurately detecting red palm weevil larvae without invasive drilling, while simultaneously monitoring ambient temperatures.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

A fiber optic distributed acoustic sensing (DAS) system (500) for detecting a red palm weevil (RPW) includes an optical fiber (100) configured to be wrapped around a tree and a DAS box (502) connected to the optical fiber (100). The DAS box (502) includes a processing unit (530) that is configured to receive a filtered Rayleigh signal (520) reflected by the optical fiber (100), and run the filtered Rayleigh signal (520) through a neural network system (1100, 1500) to determine a presence of the RPW in the tree. Fig 5.
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiments of the subject matter disclosed in this application generally relate to a system and method using fiber optic distributed acoustic sensing to detect red palm weevils, and in particular, to an improved system that processes data recorded using fiber optic distributed acoustic sensing using a machine learning algorithm to separate true RPW signals from ambient noise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The red palm weevil (RPW) (Rhynchophorus ferrugineus) is a palm weevil native to tropical Asia. In recent decades, it has spread to many regions worldwide, including North Africa, the Middle East, and the Mediterranean. This pest has wiped out many palm plantations in various countries, making it a very serious problem. In the Gulf and Middle East, millions of dollars are spent annually just to remove infested palm trees. The cost of treating infested palm trees can be even higher. Furthermore, by 2023, the cost of controlling the red palm weevil and losing profits is estimated to be in the millions of dollars in Italy, Spain, and France.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The problem with this pest is that, although technologies are available to cure palm trees infested with RPW, detecting the presence of an RPW threat at an early stage (the first two to three weeks of the weevil's larval stage) is challenging. This is because by the time a palm tree shows visible signs of damage, such as a drooping canopy, the RPW infestation is already well advanced and the time needed to save the tree has passed. As a result, governments in many countries are committed to developing a reliable and effective early detection approach to address this problem.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Several methods have been developed to address this serious threat. For example, trained dogs are used to sniff out gases emitted by infected palm trees during fermentation. Unfortunately, sensing such gases is not a highly selective process because its effectiveness is affected by the presence of other volatile products. Alternatively, infected trees are inspected using computed tomography (CT) scanning. However, this technique is inefficient because it is slow and expensive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The first detectable signs of an infested tree arise from the noises emitted by the weevil larvae as they feed inside the tree trunk. Therefore, the most promising early detection methods rely on the use of acoustic sensors. More specifically, current methods that use acoustic sensors primarily insert an acoustic probe, such as a microphone, into a hole drilled in a palm trunk. The probe then records the sound emitted by the weevils in real time. The audio is recorded on a computer connected to the acoustic probe. The differences between methods that use acoustic sensors lie primarily in the signal processing techniques implemented to process the recorded audio. However, all of these methods require on-site monitoring.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Disadvantages of the above-mentioned acoustic methods include damage to the tree due to the hole drilled in the trunk to insert the acoustic probe, the labor required to drill each tree, the impact of the hole on palm growth, and the potential for other insects to establish nests in the holes drilled in the trunk. Furthermore, providing an acoustic sensor with a wireless interface to each tree to provide continuous monitoring significantly increases the cost of the entire RPW monitoring system, given that a red palm grove can contain thousands of these trees.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A more advanced solution is proposed in [2], International Patent Application No. PCT / EB 2020 / 057865, filed on August 21, 2020, and assigned to the agent of the present application (the full contents of which are incorporated herein by reference). According to this application, optical fibers 100 may be distributed along one or more trees 110 as illustrated in Figure 1. More specifically, when a group of trees is monitored, a distributed acoustic sensor (DAS) box 120 is connected to the single optical fiber 110, and the fiber extends to the group of trees 110-II, where I is any integer equal to or greater than one. The same optical fiber 110 may be wrapped around each tree 110-II, for example, from the ground up to a height of approximately 1 m on the tree trunk, where the probability of finding an RPW larva is highest. However, other heights may be used. Between the trees, the fiber optic cable can be laid either on the ground or buried in the soil, depending on environmental conditions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This RPW detection technology may still face challenges during the feasibility phase of actual plantations. This is because there may be numerous noise sources within and around an RPW-infested tree that could trigger false alarms. For example, other insects, including armored scales and borers, generate sounds that may interfere with RPW sounds. Additionally, acoustic and mechanical vibrations produced by birds, drilling, watering, etc., can also be captured by a DAS system. These noise sources can generate false alarms, a major drawback of any sensor system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Therefore, a new DAS system is needed that can not only detect the presence of RPW larvae, but also distinguish between RPW sound and ambient sound, with minimal infrastructure investment and support, to reduce the number of false alarms.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to one embodiment, there is a fiber optic distributed acoustic sensor (DAS) system for detecting red palm weevil (RPW), the DAS system comprising an optical fiber configured to be wrapped around a tree and a DAS box connected to the optical fiber. The DAS box includes a processing unit configured to receive a Rayleigh-filtered signal reflected by the optical fiber and run the Rayleigh-filtered signal through a neural network system to determine the presence of RPW in the tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to another embodiment, there is a method for detecting red palm weevil using a fiber optic DAS system and the method includes transmitting a modulated signal through an optical fiber that is wrapped around a tree, receiving at a DAS box, which is connected to the optical fiber, a reflected Rayleigh signal, which is a reflection of the modulated signal by the optical fiber, filtering the reflected Rayleigh signal using a fiber Bragg grating configured to receive and filter the reflected Rayleigh signal to create a filtered Rayleigh signal, and processing the filtered Rayleigh signal using a neural network system to determine the presence of RPW in the tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to yet another embodiment, there is a DAS box for detecting red palm weevil and the DAS box includes a light source configured to generate continuous wave light, an optical modulator configured to modulate the amplitude of the continuous wave light emitted by the light source to generate modulated light, a rotator configured to receive the modulated light and inject the modulated light into an optical fiber, a processing unit configured to receive a Rayleigh-filtered signal reflected by the optical fiber, and a fully connected artificial neural network (ANN) or convolutional neural network (CNN) system configured to process the Rayleigh-filtered signal to determine the presence of RPW in the tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For a more complete understanding of the present invention, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a schematic diagram of a distributed acoustic sensor system used to monitor a tree;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a schematic diagram of a distributed acoustic sensor box configured to transmit a modulated optical signal to an optical fiber;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 3a to 3b illustrate various applications of the distributed acoustic sensor system;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 shows a configuration of the distributed acoustic sensor system that is used to evaluate the effect of ambient noise on the recorded Rayleigh signal;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a schematic diagram of a distributed acoustic sensor box configured to apply convolutional neural network processing to distinguish between signals associated with RPW larvae and signals associated with ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 shows the Rayleigh trace recorded by the distributed acoustic sensor box;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 7a and 7b show the sound spectra generated by RPW larvae;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 8a and 8b show the signals recorded by the distributed acoustic sensor box for infested trees when different diameter fiber optic sheaths were used and there was no ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 9a and 9b show the signals recorded by the distributed acoustic sensor box for infested trees when using different diameter fiber optic sheaths with simulated wind-generated noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 10a and 10b show the signals recorded by the distributed acoustic sensor box for infested trees when using different diameter fiber optic sheaths with simulated bird noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 schematically illustrates an artificial neural network configuration used with the distributed acoustic sensor box;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 12a and 12b show the accuracy / loss of the artificial neural network and confusion matrix, respectively, when using a temporal dataset without ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 13a and 13b show the accuracy / loss of the artificial neural network and the confusion matrix, respectively, when using a spectral dataset without ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 14 shows the performance of the artificial neural network for different environmental conditions;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 15 schematically illustrates a convolutional neural network configuration used with the distributed acoustic sensor box;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 16a and 16b show the accuracy / loss of the convolutional neural network and the confusion matrix, respectively, when using a temporal dataset without ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 17a and 17b show the accuracy / loss of the convolutional neural network and the confusion matrix, respectively, when using a spectral dataset without ambient noise;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 18 shows the performance of the convolutional neural network for different environmental conditions; and<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 19 is a flowchart of a method for determining when a tree is infected based on a DAS box and a convolutional neural network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following description of embodiments refers to the accompanying figures. Identical reference numbers in different figures refer to the same or identical elements. The following detailed description does not limit the invention. Instead, the scope of the invention is determined by the appended claims. The following embodiments are discussed, for simplicity, in relation to a DAS system equipped with a machine learning algorithm used to separate noise generated by RPW larvae from ambient noise. However, the embodiments discussed below are not limited to identifying the presence of RPW larvae, or to using a machine learning algorithm, but can be used to detect other organisms.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A reference throughout the description to "an embodiment" or "an embodiment" means that a particular feature, structure, or property described in relation to an embodiment is included in at least one embodiment of the subject matter being disclosed. Therefore, the occurrence of the phrases "in an embodiment" or "in an embodiment" in different places in the specification does not necessarily refer to the same embodiment. Furthermore, the specified features, structures, or properties may be combined in any suitable manner in one or more embodiments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to one embodiment, a fiber optic DAS is programmed to run a machine algorithm to separate environmental noise from RPW noise. Before discussing the new system, the possible components of a DAS box in an application are presented. The basic operating concept of a fiber optic DAS is based on the use of a coherent laser source (narrow linewidth) to fire optical pulses into the optical fiber. As a light pulse propagates along the optical fiber, it can be scattered while within the optical fiber, creating a background pulse that propagates in the opposite direction along the optical fiber relative to the original light pulse. The background pulse can be Rayleigh scattering when the interaction between the initial light pulse and the optical fiber is elastic, and / or Stokes Raman and / or anti-Stokes Raman when the interaction is inelastic. The backscattered pulses (Rayleigh, Stokes Raman or anti-Stokes Raman) propagate back along the optical fiber and are received at the fiber input port of the DAS box for storage and processing.<h2 style=";text-align:left;direction:ltr">By monitoring the temporal intensity evolution of the recorded backscattered pulses, it is possible to (1) remove a portion of the signal associated with ambient noise and (2) accurately calculate the position along the optical fiber that was exposed to the audio signal and determine its frequency. Based on these responses, a processing part of the DAS system can be configured to determine whether an RPW is present in the tree. For simplicity, the backscattered pulses are considered Rayleigh pulses below. However, the model discussed herein applies to any backscattered pulse.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this regard, Figure 2 illustrates a fiber optic DAS system 200 capable of measuring the stress exerted on an optical fiber by changes in pressure, temperature, and / or acoustic noise. The system 200 contains two main components: a DAS box 120 and an optical fiber 100, which is connected to the DAS box 120. The DAS box 120 includes all the electronics for generating an optical beam, transmitting the optical beam to the optical fiber, receiving light reflected from the optical fiber, and processing the reflected light to detect RPW. More specifically, the DAS box 120 includes a light source 202 configured to generate continuous wave (CW) light 204 that is coherent. For example, the light source 202 may be a laser or a light-emitting diode. The CW light 204 is converted into optical pulses 206 by an optical modulator 208. The optical modulator 208 is connected to a function generator 210. The function generator 210, which can be controlled by a computing device 211, is configured to generate a mathematical function that is applied to the modulator to modulate the light 204.<h2 style=";text-align:left;direction:ltr">For example, Figure 2 illustrates the modulator 208 applying a rectangular pulse 209 to the light 204, to obtain the optical pulses 206 (or modulated light). Other pulse shapes 209 may be used. The computing device 211 is also connected to an input / output module 213, which is capable of communicating, for example, wirelessly or wired with a smartphone, personal computer, or other electronic device to send messages and also to receive instructions / commands.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the system 200 includes an amplifier 212 to amplify the modulated light 206 before it is emitted through a rotator 214 into the optical fiber 100. Figure 2 schematically illustrates the optical fiber 100 being routed to the tree array 110-I. The rotator 214 may, for example, be a three- or four-port optical device designed such that light entering any port exits the next port. This means that if light enters a first port 214A, it is emitted from a second port 214B. However, if some of the emitted light 216 is reflected back to the rotator 214, it does not exit the first port 214A, but rather a third port 214C. This makes it possible to direct the Rayleigh-reflected signal 222, after arriving at the rotator 214, toward a photodetector 224, rather than being transmitted toward the amplifier 212.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As the optical pulse 216 propagates along the fiber 100, the Rayleigh signal 222 is backscattered from the trees 110-I. In the backward direction, the Rayleigh signal is recorded by the photodetector 224 and then sampled using an analog-to-digital converter (ADC) 226. Digital signal processing (DSP) 228 can be used to filter the RPW sounds in the frequency domain and precisely locate the affected palm trees 110-I using, for example, a time-domain signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The optical fiber 100 may be a single-mode fiber (SMF). At the fiber input port, successive backscattered Rayleigh traces are recorded in the time domain. Each Rayleigh trace has a speckle-like profile due to the coherent interference of the signals reflected by the scattering centers during the duration of the injected pulse. In the absence of interferences along the optical fiber—that is, no refractive index perturbation—the recorded Rayleigh traces are perfectly matched. If an acoustic signal is applied at a location along the fiber, such as the sound of a weevil larva, the effective refractive index of the fiber changes at that location. Consequently, interference can be sensed by observing the intensity fluctuations of its corresponding spot in the recorded traces.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By monitoring the intensity evolution of the recorded Rayleigh signals 222, one can precisely know the position along the optical fiber 100 that was exposed to the acoustic signal emitted by the RPW, and thus determine the location of the RPW. For the purpose of early detection of RPW, the system 200 shown in Figure 2 is superior to existing acoustic sensors in the literature for at least one of the following reasons: 1) it will provide non-stop monitoring of palm trees at a relatively low price; 2) the sensing length of a typical fiber optic DAS is approximately 10 km, which can cover a large farm area; 3) using an optical converter and time-division multiplexing (TDM), multiple fibers can be connected to the same DAS box, if monitoring of large farm areas is required; 4) invasive sensing is not required because the optical fiber will be wrapped externally around the palm trees; and 5) the optical fiber used for acoustic sensing can simultaneously monitor ambient temperatures, with an accuracy of less than 0.1°C, which is very important for controlling farm fires, another major problem around the world.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, all elements of the system 200, except for the optical fiber 100, may be housed in a single housing 240. This means that all optical components such as lasers, photodetectors, etc., are assembled inside a DAS box, for example, in a master control station, while only the optical fiber 100 is wrapped around the palm trees 110-I in the form of an optical network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The optical fiber 100 may be wrapped around the tree trunk 110-I itself, as shown in Figure 1, or protected by a covering layer as shown in Figures 3A and 3B. More specifically, Figure 3A shows that the optical fiber 100 is completely surrounded by a filler material 310, such as cotton or a similar fiber material, and an outer protective layer 312. This optical fiber assembly 300 may include an outer protective layer 312 designed to completely surround the filler material and the optical fiber. The outer protective layer 312 may be made of a rigid material (e.g., a steel pipe or tube, a plastic tube) or a flexible material (e.g., a flexible metal or plastic tube, etc.). In one embodiment, the outer protective layer 312 is rigid for one portion of the optical fiber and flexible for another portion of the optical fiber.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, as shown in Figure 3B, the fiber optic assembly 300 comprises a first portion 302 that is fully buried in the ground 301 and a second portion 304 that is wrapped around the tree trunk 231 110-I. The first portion 302 may be designed to be rigid, while the second portion 304 may be designed to be flexible to allow it to be wrapped around the tree trunk. The purpose of the filler material and outer protective layer 312 is to protect the fiber optic 100 from mechanical or thermal damage during its deployment in the field. In this regard, note that on a farm, heavy equipment is moved around trees for various agricultural operations. In one application, the depth D1 to which the first portion 302 is buried in the ground is between 0.5 and 2 meters. The height H1 at which the fiber optic assembly is wrapped around the trunk 231 is approximately 0.5 to 3 meters for optimum efficiency, as weevil larvae tend to attack the trunk at these heights. The length of the optical fibers 100 contained in Part 304 ranges from 1 to 10 meters. Other numbers may be used for the parameters discussed in this application.<h2 style=";text-align:left;direction:ltr">However, one or more segments of optical fiber may be exposed directly to the surroundings, at desired locations among trees, to be able to detect ambient temperature and humidity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The DAS 200 system may not be equipped to separate RPW larval noise from environmental noise. Thus, the DAS 200 system was modified and used in the laboratory to detect real RPW larvae in a palm tree while artificially generating ambient noise. Figure 4 illustrates the complete configuration of this model. The optical and electronic components of the DAS 200 system are assembled in a DAS box 120. The light output from the DAS box 120 is launched into the single-mode fiber (SMF) 100, and the fiber is wrapped around the tree trunk 110. Inside the tree trunk 110, a loudspeaker 410 is positioned, continuously playing an eating sound similar to that produced by 12-day-old weevil larvae. At a distance of approximately 1 m from the tree 110, a fan 420 is provided to blow air toward the optical fiber 100 and the tree 110, simulating the wind in a real palm tree plantation. Another speaker, 430, was installed farther away from the tree, 110, to simulate bird sounds. The wind and bird sounds create ambient noise, which is recorded by the fiber optics, 100, along with the sound generated by the RPW.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The DAS box includes a fiber optic verification system 100, which is designed using phase-sensitive optical time-domain reflectometry (φ-OTDR) [1]. In this embodiment, the system 500 shown in Figure 5 is used and includes the DAS box 502 and the fiber optics 100. The DAS box 502 is configured such that a narrow-linewidth laser generates continuous wave (CW) light 204 with a linewidth of 100 Hz and an optical power of 40 mW. The laser light 204 is then converted into optical pulses 206 using an acousto-optic modulator (AOM) 208, which produces the pulses 206 with a width of 50 ns and a repetition rate of 5 kHz. The selected pulse width gives the DAS system 500 a spatial resolution of 5 meters. The power of the optical pulses 206 is amplified using an erbium-doped fiber amplifier (EDFA) 212, while its output light 213 is launched through a rotator 214 into the SMF 100 approximately 2 km long. At a distance of approximately 1 km from the SMF input port, a 5 m section of fiber is wrapped around the tree trunk 110.<h2 style=";text-align:left;direction:ltr">The backscattered signal 222 from the SMF is amplified by another EDFA 512 and then transmitted to a second rotator 514. The signal is then transmitted to a fiber Bragg grating (FBG) 510, which discards amplified spontaneous emission (ASE) noise. The filtered Rayleigh signal 520 is detected by a photodetector (PD) 522 and sampled by a digitizer 524 at a sampling rate of 200 MHz. The sampled Rayleigh signals 528 are then recorded as 1-second intervals (5,000 traces per interval) and stored in a memory device 526. A processing unit 530, such as a microprocessor, may be connected to the elements discussed herein to coordinate their actions. While Figure 5 illustrates the processing unit 530 as part of the DAS box 502, in one embodiment the processing unit may be outside the DAS box, for example, being a remote server that performs the computations required by the DAS box.<h2 style=";text-align:left;direction:ltr">This model uses two separate standard 100' and 100' SMFs, protected by two different sheaths of 900 µm diameter (referred to as "JKT1") and 5 mm diameter (referred to as "JKT2"), respectively. In one embodiment, the thicknesses of JKT1 and JKT2 can vary by + / - 20% and still achieve the same effect. Note that only one SMF is necessary to detect the presence of RPW. Optical fibers with the JKT1 or JKT2 configuration are used as alternatives to determine which is most suitable for detecting RPW larvae.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 shows an example of a Rayleigh trace 600 recorded by a fiber optic DAS system 500 under ideal conditions, i.e., no ambient noise. The high-power signal 602 present at the beginning of the SMF corresponds to the Fresnel reflection from the front face of the SMF. In this ideal scenario, when there is no refractive index perturbation along the SMF, the shape of the Rayleigh trace 600 remains constant in the time domain for all spatial points along the entire fiber. Therefore, the differences between subsequent time Rayleigh traces and an initial reference signal are ideally zero. In contrast, the presence of caterpillar sound within a tree trunk can modify the fiber's refractive index at the tree location, resulting in a change in the corresponding time Rayleigh signal 610 at the tree location only. By applying the standard differential method and a fast Fourier transform (FFT) to the time Rayleigh traces, the location of the affected tree and the frequencies of caterpillar sound can be determined, respectively.<h2 style=";text-align:left;direction:ltr">However, when ambient noise is present, in addition to the Rayleigh signal corresponding to the tree location, many other signals 620 appear, as shown in Figure 6, which can obscure the generated larval signal or produce false alarms.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Possible methods are now being discussed to mitigate environmental noise, such as wind and bird sounds, which can degrade the performance of a fiber optic DAS system when detecting RPW. One proposed noise reduction technique includes applying a spectral bandpass filter to reduce the noise level within the recorded signals, as well as experimenting with different fiber optic sheaths that may be vibrated by wind.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">First, the spectral components of real caterpillar sound are explored. Specifically, a commercial audio recorder is implanted inside the trunk of an already infested tree, next to approximately 12-day-old caterpillars, and the noise they produce is recorded, as shown in Figures 7a and 7b. The age of the caterpillars can be controlled through an artificial infestation process, which is conducted in a secure research facility to prevent the spread of RPW to other healthy trees. The caterpillars were observed to produce sound almost continuously while chewing the tree trunk. Figures 7a and 7b show two representative examples of caterpillar sound power spectra, each corresponding to a recording interval of 0.5 seconds. From the recordings in the figures, it is reasonable to assume that the majority of the optical power of caterpillar sound has frequencies below 800 Hz. In addition, it is also important to eliminate low-frequency vibration components below 200 Hz to cancel out the inevitable mechanical vibrations in the laboratory and wind-induced tree swaying.<h2 style=";text-align:left;direction:ltr">Therefore, for measurements performed with the configuration shown in Figures 4 and 5, a [200 Hz-800 Hz] bandpass filter is applied to the transient vibration data collected using the fiber optic DAS, to enhance the system's signal-to-noise ratio (SNR).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Next, the configuration shown in Figure 4 was used with the fan 420 and the noise amplifier 430 turned off, while only the larval sound from the amplifier 410 implanted within the tree trunk 110 was retained. Figures 8a and 8b show representative examples of the standard differential time domain signals 800 and 810 recorded using the DAS 500, followed by the application of a bandpass filter [200 Hz–800 Hz], when the SMF 100 was used with the JKT1 and JKT2 configurations, respectively. The two fibers accurately locate the affected tree at a distance of approximately 1 km from the fiber input ports. Other noise signals, which sometimes appear at the beginning of the SMFs, are the result of reflection off the front face of the fiber.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Next, the amplifiers 410 and 430 are turned off, and only the fan 420 is turned on to determine the effect of wind on the SMF 100. Wind is the primary noise source in open-air farms, especially because the fiber 100 is wrapped around the three-stranded trunk, meaning the fiber is directly exposed to the wind. Even with a bandpass filter [200 Hz–800 Hz] applied, the SMF 100 with JKT1 is affected by the wind, producing transient vibrations, such as those shown in Figure 9a. Low-frequency vibrations, caused by tree sway due to wind, can be eliminated by filtering frequencies below 200 Hz. However, when the wind blows directly onto the fiber 100, it causes the fiber to vibrate at frequencies that depend on the thickness and material of the fiber sheath. As shown in Figure 9a, the SMF with JKT1, which has a relatively small diameter (900 μm), produces 900 vibration signals, which are caused by wind, and these signals may resemble those generated by caterpillars. This behavior may confuse machine learning algorithms when distinguishing healthy trees from infected ones.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">However, when using a DAS 502 box with an SMF having a JKT2 configuration, since JKT2 is relatively thick (5 mm in diameter), the fiber rarely generates vibration frequencies in the range [200 Hz–800 Hz] due to wind, as shown by the recorded signal 910 in Figure 9b. Comparing the fibers with the two different sheaths in terms of wind noise attenuation helps determine the appropriate fiber optic cable for use in real farms. Furthermore, compared to the JKT1 configuration, JKT2 has the additional advantage of being durable enough to withstand the harsh environmental conditions of farming, and the SMF inside JKT2 cannot be easily broken by, for example, farmers stepping on the fiber.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Next, the effect of bird noise on the optical fiber was investigated. Specifically, the larvae speaker 410 and the fan 420 were turned off, while the external speaker 430 was operated continuously to generate bird sounds at a volume level roughly equal to that found in the farms. It is observed that the two SMFs with JKT1 and JKT2 cannot "hear" the bird sounds, as shown in Figures 10a and 10b, respectively. This is because the air between the speaker 430 and the optical fiber sheaths significantly attenuates the vibration energy of the bird sounds.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on these observations, machine learning methods trained through supervised learning are now being implemented in the DAS 502 to distinguish between infected and healthy trees. Machine learning can detect patterns associated with caterpillar sound while simultaneously handling the large amount of data generated by the DAS 502. In this model, the classification efficiencies of healthy and infected trees are compared when using time and frequency domain data as separate inputs to neural networks, which are designed using artificial neural network (ANN) and fully connected convolutional neural network (CNN) architectures. Given the aforementioned advantages of SMF with JKT2, this configuration was used to classify healthy and infected trees using machine learning methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">First, we discuss how to organize and label the time-domain and frequency-domain data for the ANN. As previously discussed, a 5-meter section of fiber 100 is wrapped around the tree, while the DAS box samples the data at 200 MHz. Therefore, given the flight time within the sensor system 502, the fiber section around the tree is represented by 10 spatial points. Each point has a digitizer reading time of 1 second, which means 5,000 time-domain readings per reading period because the pulse repetition rate is 5 kHz. Since the digital bandpass filter typically distorts a short interval at the beginning of the time-domain signal, the first 250 time-domain readings per spatial point are discarded. Therefore, the temporal data collected in each experiment are organized as a vector of length 47,500 (concatenating 4,750 time-domain readings × 10 spatial points). In contrast, by applying the FFT to the time-domain data for each spatial point, 2.375 frequency components are obtained. Thus, the spectral data for each experiment are organized as a vector of length 23.750 (concatenating 2.375 frequency components × 10 spatial points).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The data are labeled as "infested" or "healthy" trees based on the SNR value of the acoustic signal at the tree location. In this model, SNR is defined as the ratio of the root-mean-square (RMS) value of the time-domain signal at the tree location to the time-domain value of a 5-meter reference fiber section. The ability of machine learning algorithms to classify infested and healthy trees is evaluated in two cases: with and without wind. In the first case, in the presence of no wind, only the speaker 410 inside the tree trunk is turned on, while the external speaker 430 and the fan 420 are turned off, generating signals corresponding to an infested tree. If the SNR is > 2 dB, which is the minimum acceptable SNR for the DAS system, the system records and labels the signal as "infested." 2,000 examples of infested signals are collected in this model, with the volume of the larvae speaker 410 set at various values ​​below and above the level at which a human can hear the larvae sound in acceptable environmental noise. In contrast, another 2,000 samples of "healthy" signals are recorded when the 410 larvae amplifier and fan are turned off.<h2 style=";text-align:left;direction:ltr">Examples of "healthy" signals are recorded regardless of whether the SNR value is above or below the 2 dB threshold.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Next, it is desirable to label the data when wind is present. Thus, at this stage, the larvae amplifier 410 and the fan 420 are operated simultaneously to record examples of "infected" signals. An additional 2,000 distinct samples are recorded when the SNR values ​​exceed the 2 dB threshold. The larvae amplifier 410 is then turned off while the fan 420 continues to operate to record another 2,000 samples, regardless of SNR values, corresponding to a healthy tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ANN models used to handle time and frequency domain data have a similar structure 1100, which is illustrated in Figure 11. This structure includes one input layer 1110, two hidden layers 1120 and 1130, and one output layer 1140. The number of nodes 1112 in the input layer 1110 corresponds to the number of elements in the data vectors, i.e., 47,500 and 23,750 for time and frequency domain data, respectively. Additionally, the first hidden layer 1120 contains 500 nodes, and the second hidden layer 1130 contains 50 nodes. The number of nodes was determined through repeated experiments to maximize classification accuracy. At the end of the fully connected ANN system, there is an output layer 1140 with a single node for binary classification (infected or healthy). For the activation functions in each layer, this model used the rectified linear unit (ReLU) for the hidden layers and the exponential function for the output layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When wind is ignored (fan 420 off), the collected temporal / spectral data is split into 60% (2,400 examples) training, 20% (800 examples) validation, and 20% (800 examples) test datasets. In this scenario, Figure 12a shows the evolution of the training / validation accuracy and loss over epochs when using temporal data, while Figure 13a shows the same for spectral data. At the end of the training runs, the 1200 and 1300 validation accuracies were found to be 82.0% and 99.8%, respectively, for the time and frequency domain data. When using temporal data as in Figure 12a, the final validation accuracy is lower than that of the 1210 training run, indicating that the model cannot be generalized. In contrast, as shown in Figure 13a for the spectral data, the validation accuracy of 1300 completely overlaps with the training accuracy of 1310, confirming that the ANN model learns features well, rather than just remembering the input data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the training and validation processes, the testing datasets are used to estimate the performance of the two models. Figures 12b and 13b illustrate the confusion matrices using time-domain and frequency-domain data, respectively. Generally, a confusion matrix includes four main indicators, denoted true negatives (TN), false negatives (FN), false positives (FP), and true positives (TP), which compare the actual target values ​​to those predicted by the machine learning model. Besides these, some other important performance indicators (precision, accuracy, recall, and false alarms) are also included in the confusion matrix and are defined as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As shown in the confusion matrices in Figures 12b and 13b, the temporal data provided an overall classification accuracy of 83.6%, while the spectral data achieved 99.3%. The performance parameters of the ANN without wind are summarized in the table shown in Figure 14, rows 2 and 3. To achieve high discrimination accuracy between infested and healthy trees, the ANN with spectral caterpillar sound data was found to be the best. This is because the caterpillar chewing sound can be transformed within a 1-second recording window, making it difficult for the ANN model to learn from a limited dataset. However, the temporal transformed audio signals produce similar spectra, facilitating classification using frequency domain data. Given these observations, it was decided to rely on the spectral components with the ANN for this model to analyze the next, more complex scenario, when wind influence is considered.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The spectral data collected during fan 420 operation was divided as follows: 60% (2,400 examples) for training, 20% (800 examples) for validation, and 20% (800 examples) for testing datasets. After training and validation, the spectral testing dataset is used to examine the performance of the trained model. For this scenario, the third row of the table in Figure 14 summarizes the ANN performance results. The ANN model achieves an overall classification accuracy of 99.6%, slightly higher than that achieved when wind is ignored. The precision, recall, and false alarm rates also show slight improvements over the no-wind box. These results indicate that the ANN model can fully learn the spectral pattern of caterpillar sound in both no-wind and wind-induced scenarios, while small wind-induced disturbances slightly increase the model's robustness and generalization ability.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A more complex case combines two spectral datasets, with and without wind as a noise source. This makes sense because the wind blows intermittently in real plantations. Therefore, the two datasets were combined to produce a total of 8,000 examples of infected and healthy trees. The entire dataset was also split into 60% (4,800 examples) for training, 20% (1,600 examples) for validation, and 20% (1,600 examples) for testing. When using the combined data, the classification accuracy, precision, recall, and false alarm rates are improved, as shown in the fourth row of the table in Figure 14, compared to those for the previous two cases. These results indicate that the performance of the ANN model has been enhanced due to the larger quantity and greater diversity of training data. Therefore, one can conclude that the ANN model performs very well when using the combined spectral data for the more realistic scenario on plantations; however, the ANN model performs relatively poorly with the temporal input data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">CNNs are common deep neural network architectures designed to be spatially invariant. In other words, they are insensitive to feature location, which would be effective in handling temporal larvae sound that changes in the time domain. Additionally, compared to fully connected ANNs, CNNs have relatively fewer training parameters, making training CNNs easier and more efficient on the same amount of datasets. Since CNNs have proven highly effective at image classification, the temporal and spectral data were arranged into two-dimensional arrays. Specifically, the time and frequency domain instances were arranged as 10 (spatial points) × 4.750 (temporal readings) and 10 (spatial points) × 2.375 (spectral components), respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this regard, Figure 15 illustrates the architecture of a CNN system 1500 used to handle temporal and spectral input data separately. System 1500 contains an input layer 1502, two pairs of convolutional and max-pooling layers 1510 and 1520, a flat layer 1530, a fully connected layer 1540, and an output layer 1550. The first convolutional layer 1512 uses a ReLU activation function and includes 32 filters of size 3 × 50 and stride 1 × 25, while the second convolutional layer 1522 uses a ReLU activation function and includes 64 filters of size (3 × 5) and stride (1 × 5). The max-pooling layers 1514 and 1524 have the same pool size of 2 × 2 and stride 2 × 2. Following the flat layer 1530, the fully connected layer 1540 uses a ReLU activation function and consists of 50 nodes. Similar to the ANN 1100, the output layer 1550 of the CNN 1500 also contains a single node with an exponential activation function for the purpose of binary classification (healthy or infected).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Now, considering the labeling and data segmentation of the 1500 CNN system, the same techniques and data quantities were adopted as for the 1100 fully connected ANN. For the ideal scenario of no wind (i.e., the 420 fan is off), Figures 16a and 17a show the evolution of the training / validation accuracy and loss over time for the temporal and spectral data, respectively. After completing the training cycles, validation accuracy values ​​of 100% for the time domain data and 99.5% for the frequency domain data are obtained, as shown in Figures 1600 and 1700, respectively. In addition, the confusion matrices using the temporal and spectral test datasets are shown in Figures 16b and 17b, respectively. The results of the confusion matrices show that the 1500 CNN system performs excellently on the temporal data, with an accuracy of 100.0%, while the performance on the spectral data is slightly lower, at 99.3%. When comparing these results with the results shown in Figures 12a to 13b for the ANN initialization, the CNN initialization significantly improves the classification efficiency in the time domain.<h2 style=";text-align:left;direction:ltr">This confirms the two major advantages of the CNN model over the fully connected ANN model mentioned above: the spatial invariance of the CNN and fewer training parameters. These results indicate that using the CNN will provide real-time detection of RPW, without the need to apply FFT to the time-domain data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The table in Figure 18 summarizes the performance of the CNN when using temporal and spectral data for the cases of (1) no wind, (2) wind, or (3) a combination of both scenarios. As can be seen from the table, the CNN model performed superiorly in all cases, with a minimum classification accuracy of 98.3%. Considering that time-domain data is easier to process than spectral data, which requires an additional FFT step, one model prefers using the CNN model and time-domain data for RPW detection. For this application, the CNN model with temporal data achieved 99.7% accuracy, 99.5% precision, 99.9% recall, and 0.5% false alarm, as shown in the third row of the table in Figure 18. The high accuracy and low false alarm values ​​confirm the reliability of the CNN model in classifying healthy and diseased trees. On the other hand, the high recall value represents the great ability and sensitivity of the CNN model to separate the “infected” signals from a mixed “healthy” and “infected” group.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one implementation, the DAS box 502 shown in Figure 5 stores the recorded data from the SMF 100 in memory 526 and uses the processing unit 530 to implement an ANN or CNN model. Thus, the system 1500 shown in Figure 15 can be implemented in the processing unit 530 and stored in memory 526 to determine whether the recorded signal is related to RPW or ambient noise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A method for detecting RPW in a fiber optic DAS system 500 is now discussed in relation to Figure 19. The method includes the step 1900 of transmitting a modulated signal through an optical fiber that is wrapped around a tree, the step 1902 of receiving at the DAS box, which is connected to the optical fiber, a reflected Rayleigh signal, which is a reflection of the modulated signal by the optical fiber, the step 1904 of filtering the reflected Rayleigh signal using a fiber Bragg network configured to receive and filter the reflected Rayleigh signal to create a filtered Rayleigh signal, and the step 1906 of processing the filtered Rayleigh signal using a convolutional neural network (CNN) system to determine the presence of an RPW in the tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method may also include a step of modulating the amplitude of continuous wave light emitted by a light source to create the modulated signal, and / or a step of recording the intensity of the Rayleigh-filtered signal using a photodetector, and a digitization step using a digitizer to record the intensity. In one implementation, the CNN system has an input layer, first and second convolutional layers, first and second pooling layers, a flat layer, a fully connected layer, and an output layer. The first and second convolutional layers each use a rectified linear unit (ReLU) activation function. The fully connected layer uses a ReLU activation function. The output layer uses an exponential activation function. In one implementation, the fiber optic sheath has a diameter of approximately 5 mm. The method may further include a step of applying a Fourier transform to the Rayleigh-filtered signal to obtain a frequency spectrum, and a step of using the frequency spectrum with the CNN system to detect the presence of an RPW.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The disclosed embodiments provide an optical DAS system for monitoring tree infestation and using a neural network to distinguish between actual caterpillars that have emitted sound and ambient noise. It should be understood that this description is not intended to limit the invention. Rather, the embodiments are intended to cover alternatives, modifications, and equivalents, which are included in the intent and scope of the invention as defined by the appended claims. Also, in the detailed description of the embodiments, numerous special details are presented to provide a comprehensive understanding of the invention contained in the claims. However, a person skilled in the art may recognize that various embodiments can be practiced without such special details.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although features and elements of the present embodiments are described in certain combinations, each feature or element may be used alone without the other features and elements of the embodiments or in various combinations with or without the other features and elements disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This written description uses examples of the subject matter disclosed to enable anyone skilled in the art to apply it, including the preparation and use of any apparatus or systems and the implementation of any methods included in the application. The patentable scope of the subject matter is limited by the claims and may include other examples that occur to those skilled in the art. These other examples are intended to fall within the scope of the claims.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> the reviewer<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> [1] Bao, X.; Zhou, D.P.; Baker, C.; Chen, L. Recent development in the distributed fiber optic acoustic and ultrasonic detection. Journal of Lightwave Technology 2016, 35, 3256–3267.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> [2] International Patent Application PCT / IB2020 / 057865.