Apparatus and Method for The Detection of Wood Boring Pests

SA523442619B1Active Publication Date: 2025-01-28ZEID BASSAM SINOKROT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA523442619
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2025-01-28
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

Existing methods for detecting red palm weevil infestations are labor-intensive, costly, invasive, and provide delayed results, relying on expert operators or specialized equipment, making them impractical for widespread deployment.

Method used

An automated portable device with a needle system and piezoelectric speaker records acoustic emissions within trees, using a deep learning model to analyze sound signatures for early detection of red palm weevil infestations.

Benefits of technology

Enables real-time, automatic, and cost-effective detection of red palm weevil infestations across multiple trees, reducing labor and equipment costs while providing immediate results.

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

Abstract

An apparatus is used to detect insect infestations within a tree. The apparatus is used to insert a needle of a microphone housing within the tree. The microphone housing includes a microphone coupled to the needle. The microphone monitors an audio window. Within the audio window a plurality of overlapping audio sub-windows are detected. A mel spectrogram is calculated from the plurality of overlapping audio sub-windows where the mel spectrogram includes a matrix of features. A neural network determines if each of the plurality of overlapping sub-audio windows includes an indication of an insect being present and determines if the indications of an insect being present of the plurality of overlapping audio sub-windows indicates that the tree has an insect infestation. Fig 1.An apparatus is used to detect insect infestations within a tree. The apparatus is used to insert a needle of a microphone housing within the tree. The microphone housing includes a microphone coupled to th
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Device and method for detecting wood-boring pests<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <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"> The present invention relates to the field of agroforestry, and in particular to the field of tree monitoring to monitor and detect the presence of harmful insects in trees.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The red palm weevil (RPW) is a major invasive pest affecting nearly 40 palm species worldwide, including date, oil, and coconut palms. The pest is extremely difficult to detect in the early stages of an infestation, and infected trees show few externally visible signs of infection. Once an infestation occurs, it is too late to save the affected tree. RPW has been detected in more than 60 countries and causes significant economic losses in those countries. Significant economic investment is required to prevent and control RPW infestations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Several techniques have been used to detect RPW outbreaks at an early stage. Stethoscopes have been used to listen for spoken RPW sounds, but this approach is labor- and time-intensive and requires highly experienced human operators. Fixed sensors have been attached to individual trees; however, this approach is expensive and highly invasive because it requires drilling a hole in each tree, and outbreak results are only available after 3–5 days of monitoring.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">One prior art document, U.S. Patent No. 6,512,339, describes the use of stethoscopes to listen to spoken RPW sounds. However, this approach is labor- and time-intensive and requires highly experienced human operators. Furthermore, the effectiveness of this method is limited by the variability in the acoustic signals produced by RPW and the difficulty of distinguishing these signals from background noise. Another prior art document, U.S. Patent No. 7,156,299, describes fixed sensors attached to individual trees. This method is also highly invasive, as it requires drilling a hole in each tree to insert the sensor. The high cost of the sensors and the need for continuous monitoring also make this method impractical for widespread deployment. European Patent No. 2,098,376 describes a method involving the chemical analysis of volatile organic compounds (VOCs) emitted by infested trees. While this method can provide early detection, it requires expensive equipment and trained personnel to collect and analyze samples.<h2 style=";text-align:left;direction:ltr">In addition, environmental factors can affect the accuracy of VOC analysis.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> These state-of-the-art methods and systems for detecting RPW outbreaks have various problems, including high labor and time requirements, high costs, invasiveness, delayed results, and reliance on expert operators or specialized equipment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Therefore, an improved method and device for real-time automatic detection of RPW outbreaks at an early stage is needed to overcome the shortcomings of the prior art.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This background information is provided to disclose information that the applicant believes is potentially relevant to the present invention. It is not necessarily intended, nor should any admission be construed, that any of the foregoing information constitutes prior art to the present invention.<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">The objective of the embodiments of the present invention is to provide an automated portable device for early detection of red palm weevil (RPW) infestations in palm trees by detecting RPW sound signatures. Embodiments include a device comprising a housing and needle system that enables a speaker to monitor sound within trees. The sound recordings are evaluated using a deep learning model trained to detect RPWs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to embodiments of the present invention, a device is provided for monitoring sounds from within a tree. The device includes a speaker housing including a needle coupled to a piezoelectric speaker to record a sound detected by the needle as it is inserted into the tree. The device also includes a processing unit coupled to the speaker housing. The processing unit includes a processor and memory for storing computer-readable instructions that, when executed by the processor, cause the processor to execute a method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method first involves inserting a speaker housing needle into the tree. The method proceeds to monitor, using the speaker and an audio interval, and detects, within the audio interval, a set of overlapping audio subintervals. The method then computes a slope spectrogram from the set of overlapping audio subintervals, where the slope spectrogram comprises a matrix of features. A trained neural network is used to determine, based on the slope spectrogram, that the tree has an insect infestation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other embodiments, the device includes a Global Positioning System (GPS) module or other positioning mechanism coupled to a processing unit. The processing unit receives location information from the GPS module or other positioning mechanism and appends the location information to the tree information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other models, the needle is 40 mm long and 3 mm thick.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other models, the mileage spectrogram uses a 32-mile range.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In other embodiments, the audio interval is 2.5 seconds long and each set of overlapping audio sub-intervals is 30 milliseconds long, overlapping the previous sub-interval by 20 milliseconds.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other embodiments, the signal of an insect is identified using a convolutional neural network (CNN).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other embodiments, a CNN includes a combination of two-dimensional (2D) convolution, one-dimensional convolution, maximum value across an interval, flat, or dense layers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other embodiments, determining the indication that the tree has an insect infestation includes determining, using the neural network, whether each set of overlapping audio sub-intervals includes an indication of an insect presence, and determining that a number of insect presence indicators exceeds a predetermined threshold value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other embodiments, determining that a tree has an insect infestation involves a recurrent neural network (RNN) receiving the slant spectrogram and determining that the tree has an insect infestation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The embodiments described above are described in conjunction with aspects of the present invention and can be implemented based on them. Those skilled in the art will be able to appreciate that embodiments can be implemented in conjunction with the aspect in which they are described but can also be implemented with other embodiments of that aspect. Where embodiments are mutually exclusive or incompatible with each other, this will be apparent to those skilled in the art. Some embodiments may be described with respect to one aspect but may also be applicable to other aspects, as will be apparent to those skilled in the art.<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"> Additional features and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the attached drawings, wherein:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 provides a block diagram of a device for detecting insect infestations in a tree, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 shows a schematic of a smartphone-based device for detecting insect infestations in a tree, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 illustrates the components of a speaker housing, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4a and Figure 4b illustrate a piezoelectric loudspeaker for use with a loudspeaker housing, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 5A to 5D illustrate components of an external loudspeaker housing, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 illustrates a method for using a device to detect an insect infestation in a tree, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 illustrates how to extract audio intervals from recorded audio, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 illustrates how sub-sound intervals are extracted from a sound interval, according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 illustrates how to generate a propensity spectrogram for the input of a convolutional neural network (CNN), according to one embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It will be noted that in all attached drawings, similar features are identified by similar reference numbers.<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">Embodiments of the present invention provide an automated portable device for early detection of insect infestations, such as those caused by red palm weevils (RPW), in palm trees. Detection is achieved by recording the acoustic or auditory emissions emitted by the insects while they are within the tree and evaluating the sound using a deep learning neural network (NN) and machine learning techniques. Embodiments include a device that includes a housing and needle system to enable a speaker to monitor sound within the trees. The audio recordings are evaluated using a deep learning model trained to detect RPWs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiments enable early detection of RPW at all larval developmental stages using a device such as a portable processing unit with an attached speaker housing. The speaker housing includes a needle for insertion into a tree and a housing containing a speaker. In embodiments, a piezoelectric speaker may be used. The processing unit may use a standard smartphone coupled to the speaker housing via standard interfaces and running applications to receive, digitize, and analyze the recorded audio using a deep learning algorithm. The smartphone application may also provide a user interface to allow the operator to conduct the test and review the results.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 provides a block diagram of a device 100 for detecting insect infestations in a tree, according to one embodiment. The detector 100 includes three main components, any or all of which may be powered by a battery 120. The battery 120 may be any suitable battery known in the art, such as a rechargeable lithium-ion battery. The battery 120 may be internal to the processing unit 102, external to the processing unit 102 and the speaker housing 112, or multiple batteries may be used inside or outside the processing unit 102 and the speaker housing 112. The speaker housing 112 includes a speaker 114 and a needle 116 for insertion into a tree or other target for analysis. A pre-amplifier 118 receives the audio signal from the speaker 114 and amplifies it to levels sufficient for transmission to the processing unit 102. The processing unit 102 in embodiments may be a smartphone, tablet, laptop computer, or similar portable electronic device.<h2 style=";text-align:left;direction:ltr">An application program is loaded into memory 106 and contains instructions, which cause the processor 104 to perform the method described herein, including the functions of real-time audio monitoring, RPW detection, geotagging, uploading relevant audio files, and data classification. The processing unit 102 also includes a user interface 108 through which the user can enter commands and configuration information via an input screen, keyboard, speaker, mouse, trackpad, etc. The user interface 108 also provides user feedback via a screen, speaker, haptic (vibration) device, etc. The processing unit 102 may also include a network interface 110 to allow for communications via wireless or wired means to external devices, servers, etc. In embodiments, the amplifier housing 112, the processing unit 102, the preamplifier 118, and the battery 120 may be included in one or more physically separate housings.<h2 style=";text-align:left;direction:ltr">The amplifier housing 112, the processing unit 102, the pre-amplifier 118, and the battery 120 may also be combined into a single housing, be removablely attached to each other, or be connected via connectors or cables. In particular, the battery 120 may be removablely attached to the processing unit 102, and the pre-amplifier 118 and the amplifier housing 112 may be a physically separate unit coupled to both the processing unit 102 and the battery 120 via a wireless communication cable.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 illustrates a schematic of a smartphone-based device for detecting insect infestations in a tree, according to one embodiment. The processing unit 102 in this embodiment is a smartphone 102 comprising a processor, memory, user interface 108, and network interfaces. The smartphone loads an application from memory containing instructions for performing the methods described herein. The smartphone also includes a rechargeable battery, but is also coupled to an external battery 120, coupled to the advanced amplifier 118, which may provide additional power to the smartphone. The smartphone is physically connected to the advanced amplifier 118 using clamps 202. The advanced amplifier 118 has a similar width and height to have a footprint similar to that of a smartphone. The advanced amplifier 118 and the smartphone processing unit 102 are connected via cable 206. The advanced amplifier 118 also includes electronic components, such as a battery 120, and interfaces for connecting the amplifier housing 112 to the device 100. The electronic components included with the advanced amplifier 118 may also include any or all of a power switch, a USB or other connector for charging the battery 120, a headphone jack, and indicator lights.<h2 style=";text-align:left;direction:ltr">The indicator lights can be used to indicate the status of the device, the speaker housing 112, or the battery 120 itself, such as the amount of charge remaining in the battery 120.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The loudspeaker housing 112 includes a copper needle 116 and a housing portion 114 that includes a loudspeaker. In embodiments, the copper needle 116 is 40 mm long and 3 mm thick and is mounted within the housing 114 shown in Figures 5A to 5D. In other embodiments, an 80 mm long needle 116 may be used. Vibrations from RPW sounds or acoustic emissions from within the tree are picked up through the needle by a piezoelectric loudspeaker within the housing 114.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 2 may be designed such that the electrical components of the device 100 are protected within a rugged enclosure and can be used to amplify very faint sounds picked up by the speaker with very low self-distortion and power consumption. The analog amplified audio is transmitted to the audio input of a smartphone (e.g., an Apple Lightning port) for digital signal processing and AI detection in a mobile application running on the processing unit 102. The amplified audio may be digitized by the electronic circuitry either before or after transmission to the processing unit 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 illustrates the components of a loudspeaker housing 112, according to one embodiment. The needle 116 may be made of copper and ideally will have a high impulse constant to enhance sound transmission. In embodiments, the needle 116 may be between 6 cm and 10 cm long and between 2.5 mm and 4 mm in diameter, depending on the size and type of tree, plant, or structure to be monitored and the characteristics of the sounds to be measured. The housing 114 is shaped like a three-sided prism, with the needle 116 extending from the top of the prism. The housing 114 may have a two-part structure: a prism-shaped housing 302 and a housing cover 310. In embodiments, the height of the prism-shaped housing 302 may be between 5 cm and 8 cm. The exact dimensions of the prism-shaped housing 302 may vary and can be customized according to the size and type of tree, plant, or structure to be monitored and the characteristics of the sounds to be measured. The prism-shaped housing 302 includes a loudspeaker, such as a piezoelectric loudspeaker, which is attached to the housing cover 310 and may be secured with fasteners such as hex nuts. The combination of the prism-shaped housing 302 and the housing cover 310 may form a sealed chamber 308 to enhance sound conduction through the loudspeaker housing 112.<h2 style=";text-align:left;direction:ltr">The needle 116 may be mounted within the speaker housing 112 via threads 306 and a metal cylinder 304 that provides additional support for the needle 116. In embodiments, a variety of different needles 116 of varying dimensions and materials may be used, with the most suitable needle mounted within the speaker housing 114 prior to insertion into a tree or other target to be monitored.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In embodiments, with the housing cover 310 removed, the needle 116 can be inserted through the base of the prism-shaped housing 302 and secured in place. The housing cover 310 can then be secured to the prism-shaped housing 302 using additional screws.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4a and Figure 4b illustrate a piezoelectric loudspeaker 400 integrated into a prism-shaped housing 302, according to one embodiment. Figure 4a is a cross-sectional view of a piezoelectric loudspeaker 400 that can be mounted within the base of the prism-shaped housing 302. The loudspeaker 400 has a transducer membrane 402 comprising a piezoelectric layer 410 laminated to a metal layer 408. The piezoelectric layer 410 is provided with a conductive electrode layer 418 on the surface not in contact with the metal layer 408. Electrical conductors 412 and 414 are electrically connected to the conductive layer 418 and the metal layer 408, respectively, and these layers provide that the conductors 412 and 414 are in electrical contact with the entire top and bottom surfaces of the piezoelectric layer 410, respectively. By this device, the total electrical signal produced by the piezoelectric layer 410 over the entire surface is recorded when the transducer membrane 402 vibrates. Preferably, the electrical conductors 412 and 414 are connected to a given layer by soldering or another bonding method that allows electrical contact between the layer and the conductor.<h2 style=";text-align:left;direction:ltr">The other ends of connectors 412 and 414 are connected to an audio recording circuit, such as a preamplifier. Connectors 412 and 414 may be connected to a 116 cable, which may be a coaxial cable.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, the transformer membrane 402 includes an insulating layer 406, e.g., a polymeric material such as epoxy or the like, and an electrically conductive protective layer 404 in electrical contact with the metal layer 408 and thus also the conductor 414, but not with the conductor 412. The conductor 412 is then insulated from the protective layer 404 using a suitable insulating arrangement, e.g., the conductor 412 is provided with an insulating jacket. As shown in Figure 4a, the insulating layer 406 also surrounds at least the outer perimeter of the piezoelectric layer 410, but preferably also the metal layer 408, where the protective layer 404 can substantially surround the entire transformer membrane 402 without short-circuiting the piezoelectric layer 410. The protective layer 404 reduces the susceptibility to interference from electromagnetic waves of the loudspeaker 400.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As shown in Figure 4b, the transducer diaphragm 402 has a basically triangular shape, which has been found to provide significantly improved audio pickup / reception.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 5A to 5D illustrate components of an external loudspeaker housing, according to one embodiment. Figure 5A illustrates the housing cover 310 with an extruded surface to provide sufficient clearance to avoid physical contact with the loudspeaker 400. Figure 5B illustrates the inner surface of the housing cover 310. Figure 5C illustrates a prism-shaped housing 302 formed to refract incoming sound waves and reduce picked-up background noise. Placing the loudspeaker 400 in the prism-shaped housing 302 in this manner, along with the needle 116, provides unidirectional sound pickup. Figure 5D illustrates the loudspeaker 400 positioned within the base of the prism-shaped housing 302. The loudspeaker 400 is mounted on the edges of the prism-shaped housing 302, which allows only three points of contact with the transducer diaphragm. Thus, the loudspeaker 400 hangs freely in the center of the prism-shaped housing base 302, allowing it to pick up vibrations primarily from the direction of the tree.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To use the device to monitor trees for early signs of infestation, the processing unit 102 is loaded with the monitoring application, and the device 100 is assembled, including the processing unit 102, the speaker housing 112, the preamplifier 118, and the battery 120. (Note that in some embodiments, the battery 120 may be optional.) A needle 116, appropriate for the tree to be monitored, is mounted inside the speaker housing 112. For vibrations to be transmitted through the palm tissue, the needle 116 must be inserted into the base of a branch or into the tree bark. The branch must be succulent and firmly attached to the tree, and the needle 116 must not be inserted through a portion of the palm tree trunk covered with fibers or other suitable location. If necessary, the "hair" at the insertion point may be removed, and the needle 116 may then be inserted into the branch tissue after a cool-down period of approximately 15 seconds. The speaker housing 114 must not come into contact with any recurrent palm hairs or any foreign objects. The closer the needle is to the heart of the tree (the base of the branch), the larger the detection radius. For some tree species, multiple measurements should be taken at a distance of approximately 40 cm from the base of the tree.<h2 style=";text-align:left;direction:ltr">Alternatively, multiple measurements can be taken to locate a potential infestation within the same tree. In other tree species, a single measurement at the top of the trunk may be sufficient.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 illustrates method 600 for using a device to detect insect infestations in a tree, according to one embodiment. Once the needle 116 is inserted into a tree at a location, method 600 can be used to obtain an audio sample and analyze it for infestations. The audio information is continuously recorded and digitized. In step 602, the preceding 2.5-second audio interval is recorded as an audio interval. Step 602 is repeated every 0.5 seconds, resulting in overlapping audio intervals of 2.5 seconds each. Recordings can be made using a sampling rate of 44.1 kHz. The process of step 602 is further described in relation to Figure 7 below. In step 604, each 2.5-second audio interval is divided into 248 subintervals, each 30 ms long, with each subinterval overlapping by 20 ms, as detailed in Figure 8 below. In step 606, each subinterval is used as an input to calculate a slant spectrogram from the data, resulting in a matrix of features with dimensions 248 × 32 (248 subintervals in 32 slant bands).<h2 style=";text-align:left;direction:ltr">As is well known in the art, the pitch spectrogram provides a power spectrum shaped by psychoacoustic principles. In embodiments, other psychoacoustic analysis techniques may also be used. In step 608, the features in each pitch band are then normalized with the mean and standard deviation acquired from the training process. In step 610, the pitch spectrogram is used as input to a convolutional neural network (CNN) for deep learning detection. The trained CNN, which may include a combination of functions including 2-dimensional (2D), 1-dimensional (1D), cross-interval maximum value, flat, or dense layers, receives the extracted pitch spectrogram as input for classification. In step 612, for each 2.5-second interval of data, the CNN outputs a numerical value between 0 and 1, giving the probability that the 2.5-second sample contains RPW sounds. In the models, 0 means complete certainty that there are no RPW sounds, while 1 means complete certainty that the 2.5-second sample contains RPW sounds.<h2 style=";text-align:left;direction:ltr">In models, the resulting numerical value is compared with a numerical value, such as 0.75. If the numerical value is less than the threshold value, the sound interval is determined to contain no RPW sounds, and vice versa. In step 614, post-processing of the results occurs. Each 2.5-second interval is processed in real time and provides an indication of RPW sounds within the tree. However, to accurately mark a tree as infested, multiple intervals may need to be processed. In models, the sum of positive detections (sound intervals likely to contain RPW sounds) in a 30- to 50-second period (including 60 to 100 sound intervals) can be compared with a fixed threshold value. If there are more than 45 positive detections in that period (out of 100), the tree is marked as infested. If the sum is between 35 and 45, it is marked as suspicious, and post-testing may be required.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In embodiments, a recurrent neural network (RNN) may be used to implement steps 610, 612, and 614. The RNN may receive the slope spectrogram outputs from step 608 for approximately 60 to 100 audio intervals and analyze them to determine whether the tree is infested.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In embodiments, external vibrations resulting from movement of the device, needle, or cables, sounds generated by inserting a needle 116 into a tree, and other anomalies may cause erroneous or inaccurate sonic readings. Method 600 may track the sound energy over time to detect anomalies and reset the algorithm state (e.g., reset the number of positive subintervals to 0) to prevent detection errors. Method 600 may then rerun, aggregate the 2.5-second sound intervals, or discard the sound intervals to obtain accurate results.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In models, the CNN undergoes a machine learning training process before deploying the new deep learning model for detection at step 610. The training process consists of feeding a dataset of recordings containing RPW sounds, which are labeled as positive, and recordings without RPW sounds, which are labeled as negative, into a neural network learning scheme. In models, the robustness of the neural network model can be increased by introducing L2 regularization and dropout mechanisms during the training process. The trained neural network is then tested with test recordings to assess the quality of the results. This process is continuously iterated through new recordings, neural network architectures, and feature extraction mechanisms until sufficiently accurate and robust results are obtained.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 illustrates how sound intervals are extracted from the recorded sound as in step 602, according to one embodiment. Speaker 400 records the sound received from the needle 116. Every 0.5 second, 2.5 seconds of sound 702 are captured as sound interval 706a, 706b, 706c, etc. At time 704a, a 2.5 second interval 706c is captured. At time 704b, a 2.5 second interval 706b is captured. At time 704c, a 2.5 second interval 706c is captured.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 8 illustrates how audio subintervals are extracted from an audio interval, according to one embodiment. The audio intervals recorded in step 602 are divided into subintervals 802a, 802b, ... of 30 ms each in step 604. The 2.5-second interval 706a is divided into 248 subintervals of 30 ms each, with each subinterval overlapping the preceding interval by 20 ms. Therefore, the 248 subintervals are spaced 10 ms apart in time. In embodiments, the length of each subinterval, the overlap between successive subintervals, and the number of subintervals may be varied without deviating from the instructions contained herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 illustrates how a psychoacoustic analysis technique, such as a slope spectrogram, is used to generate input for a convolutional neural network (CNN), according to one embodiment. At step 606, each of the 248 30-ms sub-intervals is used to compute a slope spectrogram for each of the 32 slope bands. In embodiments, other psychoacoustic techniques, including slope-frequency cepstral coefficients, perceptual wavelet packets, gammatone cepstral coefficients, perceptual linear prediction coefficients, auditory saliency maps, and multiscale spectrotemporal modulations, may be used in place of a slope spectrogram.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In embodiments, the processing unit 102 includes a global positioning system (GPS) module that records the position of the device 100. This may be used to determine the location of each tested tree. The location of each tree may be logged, annotated on a map, appended to a data log for that tree, or otherwise recorded. The infestation history of each tree may also be recorded. Providing the GPS location of analyzed and infested trees may be a vital feature when implementing a usable system that provides the user with an overview of a particular area or location.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It will be appreciated that although specific embodiments of the technology are described herein for illustrative purposes, various modifications may be made without departing from the scope of the technology. Accordingly, the specification and drawings should be considered merely illustrative of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the present invention. In particular, within the scope of the technology is the provision of a computing software product or program element, or a program storage or memory device such as a magnetic or optical wire, tape, disk, or the like, for storing machine-readable signals to control the operation of a computer according to the method of the technology and / or for structuring some or all of its components according to the system of the technology.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The actions associated with the method described in this document may be executed as coded instructions in a software product. In other words, the software product is a computer-readable medium on which the code to execute the method is recorded when the software product is loaded into memory and executed on the microprocessor of the wireless communication device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, each operation of the method can be executed on any computing device, such as a personal computer, server, PDA, or the like, and according to one or more or parts of one or more program elements, modules, or objects created in any programming language, such as C++, Java, or the like. In addition, each operation, or the file, object, or the like for which each operation is executed, can be executed by special-purpose hardware or a circuit module designed for that purpose.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">From the descriptions of the foregoing embodiments, the present invention may be implemented using hardware alone or using software and the necessary universal hardware platform. Based on these understandings, the technical solution of the present invention may be embodied in the form of a software product. The software product may be stored in a non-volatile or non-transitory storage medium, which could be a compact disk read-only memory (CD-ROM), a Universal Serial Bus (USB) flash disk, or a removable hard disk. The software product includes a number of instructions that enable a computer (personal computer, server, or network device) to implement the methods provided in embodiments of the present invention. For example, such implementation may correspond to an emulation of logic operations as described herein. The software product may additionally or alternatively include a number of instructions that enable a computer to perform operations to initialize or program a digital logic device in accordance with embodiments of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Although the present invention has been described with reference to specific features and embodiments thereof, it is clear that various modifications and combinations thereof may be made without departing from the invention. Accordingly, the specification and drawings should be considered merely illustrative of the invention as defined in the appended claims, and are intended to cover any and all modifications, variations, combinations, or equivalents falling within the scope of the present invention.

Claims

Protections 1. A device for monitoring sounds from within a tree, wherein the device includes: a microphone housing including a needle coupled to a speaker, wherein the speaker records a sound detected by the needle as it is inserted within the tree; and a processing unit coupled to the microphone housing, wherein the processing unit includes a processor and a memory, wherein the memory stores computer-readable instructions which, when executed by the processor, cause the processor to: record, with the speaker, a sound interval; detect, within the sound interval, a plurality of overlapping sound subintervals; compute a slope spectrogram from the plurality of overlapping sound subintervals, wherein the slope spectrogram includes an array of features; determine, using a neural network, whether each plurality of overlapping sound subintervals includes an insect indicator; and determine that the number of insect indicators in the plurality of overlapping sound subintervals indicates that the tree has an insect infestation. 2.The apparatus according to claim 1, further comprising a modular global positioning system (GPS) module coupled to a processing unit, wherein the processing unit receives position information from the modular global positioning system (GPS) module or other positioning mechanism and appends the position information to the tree information.

3. The apparatus according to claim 1, wherein the needle is 40 mm long and 3 mm thick.

4. The apparatus according to claim 1, wherein the slant spectrogram uses a 32-slant band.

5. The apparatus according to claim 1, wherein the sound interval is 2.5 seconds long and each set of overlapping sound sub-intervals is 30 milliseconds long, overlapping the preceding sub-interval by 20 milliseconds.

6. The apparatus according to claim 1, wherein an insect presence indicator is determined using a convolutional neural network (CNN). 7.The apparatus according to claim 6, wherein a convolution neural network (CNN) comprises a combination of two-dimensional (2D) convolution, one-dimensional convolution, maximum value across an interval, flat or dense layers.

8. The apparatus according to claim 1, wherein determining that the tree is infested with insects comprises a recurrent neural network (RNN) receiving the slope spectrogram and determining that the tree is infested with insects.

9. A method for detecting an insect infestation within a tree, wherein the method comprises: inserting a microphone housing needle into the tree, wherein the microphone housing comprises a speaker coupled to the needle; recording, with the speaker, an audio interval; detecting, within the audio sample, a plurality of overlapping audio subintervals; calculating a slope spectrogram from the plurality of overlapping audio subintervals, wherein the slope spectrogram comprises an array of features; and determining, using the neural network, based on the slope spectrogram that the tree has an insect infestation. 10.The method according to claim 9, further comprising reading the location information from a typical global positioning system (GPS) module and appending the location information to the tree information.

11. The method according to claim 9, wherein the needle is 40 mm long and 3 mm thick.

12. The method according to claim 9, wherein the slant spectrogram uses a 32-slant band.

13. The method according to claim 9, wherein the sound interval is 2.5 seconds long and each set of overlapping sound subintervals is 30 ms long, overlapping the preceding subinterval by 20 ms.

14. The method according to claim 9, wherein an insect presence indicator is determined using a convolutional neural network (CNN).

15. The method according to claim 14, wherein a convolution neural network (CNN) comprises a combination of two-dimensional (2D) convolution, one-dimensional convolution, maximum value over an interval, flat or dense layers. 16.The method according to claim 9, wherein determining that the tree is infested with insects comprises a recurrent neural network (RNN) that receives the spectrogram of the slope and determines that the tree is infested with insects.