APPARATUS AND METHOD FOR THE DETECTION OF WOOD BORING PESTS
20230329212 · 2023-10-19
Inventors
Cpc classification
A01M1/026
HUMAN NECESSITIES
International classification
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.
Claims
1.-18. (canceled)
19. An apparatus for monitoring sounds from within a tree, the apparatus comprising: a microphone housing including a needle coupled to a microphone, the microphone recording a sound detected by the needle while inserted within the tree; and a processing unit coupled to the microphone housing, the processing unit including a processor and a memory, the memory storing computer readable instruction that when executed by the processor cause the processor to: record, with the microphone, an audio window; detect, within the audio window, a plurality of overlapping audio sub-windows; calculate a mel spectrogram from the plurality of overlapping audio sub-windows, the mel spectrogram including a matrix of features; determining, using a neural network, if each of the plurality of overlapping sub-audio windows includes an indication of an insect being present; and determining that the number of indications of an insect being present in the plurality of overlapping audio sub-windows exceeds a predetermined threshold, and indicating that the tree has an insect infestation.
20. The apparatus of claim 19 further comprising a GPS module or other location identification mechanism coupled to the processing unit, the processing unit receiving location information from the GPS module or the other location identification mechanism and appending the location information to the tree information.
21. The apparatus of claim 19 wherein the needle is 40 mm in length and 3 mm in thickness.
22. The apparatus of claim 19 wherein the mel spectrogram utilizes 32 mel bands.
23. The apparatus of claim 19 wherein the audio window is 2.5 s long and each of the plurality of overlapping audio sub-windows is 30 ms long, overlapping the previous sub-window by 20 ms.
24. The apparatus of claim 19 wherein the indication of an insect being present is determined using a convolutional neural network (CNN).
25. The apparatus of claim 24 wherein the CNN includes a combination of 2 dimensional (2D) convolution, one dimensional convolution, maximum value over a window, flatten, or dense layers.
26. The apparatus of claim 19 wherein the determining that the tree has an insect infestation comprises a recurrent neural network (RNN) receiving the mel spectrogram and determining that the tree has an insect infestation.
27. A method of detecting insect infestations within a tree, the method comprising: inserting a needle of a microphone housing within the tree, the microphone housing including a microphone coupled to the needle; recording, with the microphone, an audio window; detecting, within the sound sample, a plurality of overlapping audio sub-windows; calculating a mel spectrogram from the plurality of overlapping audio sub-windows, the mel spectrogram including a matrix of features; determining, using the neural network, if each of the plurality of overlapping sub-audio windows includes an indication of an insect being present; and determining that the number of indications of an insect being present in the plurality of overlapping audio sub-windows exceeds a predetermined threshold, and indicating that the tree has an insect infestation.
28. The method of claim 27 further comprising reading location information from a GPS module or other location identification mechanism and appending the location information to the tree information.
29. The method of claim 27 wherein the needle is 40 mm in length and 3 mm in thickness.
30. The method of claim 27 wherein the mel spectrogram utilizes 32 mel bands.
31. The method of claim 27 wherein the audio window is 2.5 s long and each of the plurality of overlapping audio sub-windows is 30 ms long, overlapping the previous sub-window by 20 ms.
32. The method of claim 27 wherein the indication of an insect being present is determined using a convolutional neural network (CNN).
33. The method of claim 32 wherein the CNN includes a combination of 2 dimensional (2D) convolution, one dimensional convolution, maximum value over a window, flatten, or dense layers.
34. The method of claim 27 wherein the determining that the tree has an insect infestation comprises a recurrent neural network (RNN) receiving the mel spectrogram and determining that the tree has an insect infestation.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0019] Further features and advantages of the present invention will become apparent from the following detailed description, taken in combination with the appended drawings, in which:
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029] It will be noted that throughout the appended drawings, like features are identified by like reference numerals.
DETAILED DESCRIPTION
[0030] Embodiments of the present invention provide an automatic portable device for the early detection of insect infestations, such as those caused by red palm weevils (RPW) in palm trees. Detection is done by recording sound or acoustic emissions that insects make while within the tree and assessing the sound using a deep learning neural network (NN) and machine learning techniques. Embodiments include an apparatus including a housing and needle system to enable a microphone to monitor sound within trees. Sound recordings are assessed with a trained deep learning model to detect RPWs.
[0031] Embodiments enable the early detection of RPW in all stages of larvae development using an apparatus such as a portable processing unit with an attached microphone housing. The microphone housing includes a needle for insertion into a tree and a housing including a microphone. In embodiments, a piezoelectric microphone may be used. The processing unit may utilize a standard smartphone coupled to the microphone housing through standard interfaces and run applications to receive, digitize, and analyze the recorded sound using a deep learning algorithm. The smartphone application may also provide a user interface to allow an operator to conduct testing and review results.
[0032]
[0033]
[0034] Microphone housing 112 includes a brass needle 116 and the housing portion 114 which includes a microphone. In embodiments, the brass needle 116 is 40 mm in length and 3 mm in thickness and is secured within the housing 114 illustrated in
[0035] The embodiment of
[0036]
[0037] In embodiments, with the housing cap 310 removed, the needle 116 may be inserted through the base of the prism shaped housing 302 and screwed into place. The housing cap 310 may then be secured to the prism shaped housing 302 with additional screws.
[0038]
[0039] Further, the transducer membrane 402 includes an isolating layer 406, for example a polymer material such as epoxy or the like, and an electrically conducting shielding layer 404 in electrical contact with the metal layer 408 and thus also the conductor 414, but not with the conductor 412. Hence, the conductor 412 is isolated from the shielding layer 404 with a suitable isolator arrangement, e.g., the conductor 412 is provided with an isolating cover. As shown in
[0040] As is shown in
[0041]
[0042] In order to utilize the apparatus to monitor trees for early signs of infestation, the processing unit 102 is loaded with the monitoring application and the apparatus 100 including processing unit 102, microphone housing 112, preamplifier 118, and battery 120 is assembled. (Note that in some embodiments, battery 120 may be optional.) A needle 116, suitable for the tree to be monitored, is installed within the microphone housing 112. In order for vibrations to be transmitted through the palm tissue, the needle 116 should be inserted in the base of a branch or in the tree bark. The branch should be succulent and well attached to the tree and the needle 116 should not be inserted through a part of the palm tree trunk covered in fiber, or other suitable position. If necessary, “hair” at the point of insertion may be removed and then the needle 116 may be inserted into the tissue of the branch after a calm down time of approximately 15 s. Microphone housing 114 should not touch any recurring palm hair or any external objects. The closer the needle is to the core of the tree (base of the branch) the larger the detection radius will be. In some types of trees, multiple measurements should be made approximately ever 40 cm from the base of the tree. Or multiple measurements can be taken to find the possible infestation location inside the same tree. In other types of trees, only a single measurement at the crown may suffice.
[0043]
[0044] In embodiments, a recurrent neural network (RNN) may be used to implement steps 610, 612, and 614. The RNN may receive the mel spectrogram outputs from step 608 for the approximately 60 to 100 audio windows and analyze them to make a determination whether a tree is infested.
[0045] In embodiments, external vibrations caused by movement of the apparatus, needle, or cables, sounds caused by the insertion of needle 116 into a tree, and other anomalies may cause false or inaccurate sound readings. Method 600 may track the sound energy over time to detect anomalies and reset the state of the algorithm (e.g., reset the number of positive sub-windows to 0) to prevent detection errors. Method 600 may then restart, collect further 2.5s audio windows, or discarding audio windows in order to produce accurate results.
[0046] In embodiments, the CNN undergoes a machine learning training process before a new deep learning model is deployed for detection in step 610. The training process consists of feeding a dataset of recordings containing RPW sounds, labeled as positive, and recordings not containing RPW sounds, labeled as negative, into a neural network learning scheme. In embodiments, the robustness of the neural network model may be increased by introducing L2 regularization and dropout mechanisms during the training process. The trained neural network is then tested with the test recordings in order to assess the quality of results. This process is continuously iterated with new recordings, neural network architectures and feature extraction mechanisms until sufficiently accurate and robust results are obtained.
[0047]
[0048]
[0049]
[0050] In embodiments, processing unit 102 includes a global positioning system (GPS) module that records to position of the apparatus 100. This may be used to determine the location of each tree tested. The location of each tree may be recorded, annotated on a map, appended to a data record for that tree, or otherwise recorded. A history of the infestation status of each tree may also be recorded. Providing a GPS location of analyzed and infected trees can be a vital feature when implementing a usable system that provides a user with an overview of a specific area or location.
[0051] It will be appreciated that, although specific embodiments of the technology have been described herein for purposes of illustration, various modifications may be made without departing from the scope of the technology. The specification and drawings are, accordingly, to be regarded simply as an illustration of the invention as defined by the appended claims, and are contemplated to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the present invention. In particular, it is within the scope of the technology to provide a computer program product or program element, or a program storage or memory device such as a magnetic or optical wire, tape or disc, or the like, for storing signals readable by a machine, for controlling the operation of a computer according to the method of the technology and/or to structure some or all of its components in accordance with the system of the technology.
[0052] Acts associated with the method described herein can be implemented as coded instructions in a computer program product. In other words, the computer program product is a computer-readable medium upon which software code is recorded to execute the method when the computer program product is loaded into memory and executed on the microprocessor of the wireless communication device.
[0053] Further, each operation of the method may be executed on any computing device, such as a personal computer, server, PDA, or the like and pursuant to one or more, or a part of one or more, program elements, modules or objects generated from any programming language, such as C++, Java, or the like. In addition, each operation, or a file or object or the like implementing each said operation, may be executed by special purpose hardware or a circuit module designed for that purpose.
[0054] Through the descriptions of the preceding embodiments, the present invention may be implemented by using hardware only or by using software and a necessary universal hardware platform. Based on such 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 can be a compact disk read-only memory (CD-ROM), USB flash disk, or a removable hard disk. The software product includes a number of instructions that enable a computer device (personal computer, server, or network device) to execute the methods provided in the embodiments of the present invention. For example, such an execution may correspond to a simulation of the logical operations as described herein. The software product may additionally or alternatively include number of instructions that enable a computer device to execute operations for configuring or programming a digital logic apparatus in accordance with embodiments of the present invention.
[0055] Although the present invention has been described with reference to specific features and embodiments thereof, it is evident that various modifications and combinations can be made thereto without departing from the invention. The specification and drawings are, accordingly, to be regarded simply as an illustration of the invention as defined by the appended claims, and are contemplated to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the present invention.