Hyperspectral imaging and AI combined agricultural disease and pest monitoring system

Through an agricultural pest monitoring system combining hyperspectral imaging and AI, the hyperspectral imaging module and lightweight 3D-CNN analysis module are used, combined with the band attention mechanism and the Isolation Forest algorithm, early, accurate and automated monitoring of agricultural pests is achieved, solving the problems of sensor limitations, low algorithm efficiency and high deployment cost in the existing technology, and achieving efficient and low-cost pest monitoring.

CN120558865AInactive Publication Date: 2025-08-29SUZHOU SHENBI ROBOT TECH CO LTD

Patent Information

Application Number
CN202510644122.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-08-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art cannot achieve efficient, real-time, low-cost early monitoring of agricultural pests and diseases, especially due to sensor limitations, low algorithm efficiency and high deployment costs.

Method used

A system combining hyperspectral imaging and AI, including hyperspectral imaging module, edge computing module and lightweight 3D-CNN analysis module, is used to conduct early, accurate and automated monitoring of pests and diseases through the drone platform, and combine the band attention mechanism and the Isolation Forest algorithm for abnormal detection.

Benefits of technology

Early, accurate and automated monitoring of pests and diseases has been achieved, detection accuracy has been improved, cost has been reduced, real-time optimization has been achieved, information integrity has been improved, detection delay is less than 200ms, hardware cost has been reduced by 80%, and identification accuracy has been increased by 45%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120558865A_ABST
    Figure CN120558865A_ABST
Patent Text Reader

Abstract

The invention discloses a hyperspectral imaging and AI combined agricultural pest monitoring system, and relates to the technical field of agricultural pest monitoring. The hardware system comprises an unmanned aerial vehicle flight platform carrying a hyperspectral imaging module, an edge calculation module, a power supply and a communication module, and a ground sensor arranged on the ground. The software system comprises data acquisition software, a 3D-CNN analysis module, an anomaly detection module and a farmland management system interface. According to the method, the problems that an RGB camera only captures apparent characteristics and early-stage lesions are difficult to recognize are solved, and the early-stage detection capability is remarkably improved through hyperspectral multi-band information and an attention mechanism; through lightweight design and end-side analysis, a ground station and a large-scale server are omitted, and the overall deployment cost is greatly reduced; a home terminal side scheme avoids network dependence and realizes rapid feedback; the model can utilize full-band biochemical information to realize higher identification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of agricultural pest and disease monitoring, and in particular relates to an agricultural pest and disease monitoring system that combines hyperspectral imaging with AI. Background Art

[0002] Hyperspectral imaging technology captures the reflectance spectrum of crops in the 400-2500nm range and, by analyzing spectral signatures, can detect biochemical changes caused by pests and diseases. However, existing technologies often rely on laboratory equipment, are not adaptable to drone platforms, and lack efficient AI analysis models.

[0003] For example, the patent with announcement number CN114494094B, entitled "Spectral Image Processing Method, Apparatus, and Storage Medium," analyzes crop health status through multi-band spectral imaging (covering 400-2500nm); but is limited to 5-10 band resolution, making it difficult to capture early biochemical changes in pests and diseases; the patent with publication number CN118942084A, entitled "Cucumber Disease Identification Method Based on Deep Learning," uses an improved convolutional neural network (CNN) combined with data enhancement technology, but relies on RGB images and cannot detect invisible light features; another example is the patent with announcement number CN114494094B, entitled "Spectral Image Processing Method, Apparatus, and Storage Medium," which is based on multi-band feature fusion technology based on deep learning and optimizes data dimensionality reduction through a band attention mechanism, but still relies on cloud processing and does not achieve real-time end-side analysis; and, the "Research on Crop Disease and Pest Detection and Identification System Based on Deep Learning" (Fujian Provincial Scientific Research Project, JAT220611), proposes a solution combining hyperspectral data with CNN, but does not solve the edge computing problem.

[0004] Therefore, the existing technology has the following disadvantages: (1) Sensor limitations: Multispectral cameras use less than 20 bands, and the small number of bands makes it impossible to capture the key biochemical characteristics of pests and diseases; RGB cameras rely on manual experience, with a false detection rate greater than 30%, high subjectivity and low efficiency, making it difficult to achieve rapid monitoring of large areas of farmland; traditional RGB cameras can only capture the apparent characteristics within the visible light range and cannot identify changes in early biochemical indicators of pests and diseases, such as water loss inside leaves and chlorophyll abnormalities; (2) Low algorithm efficiency: Dimensionality reduction of hyperspectral data leads to information loss such as loss of nonlinear features in PCA. Hyperspectral data has high dimensions, generally hundreds of bands. Traditional analysis methods such as PCA dimensionality reduction lead to information loss and long calculation time; and laboratory models such as SVM are difficult to adapt to embedded devices; (3) High deployment cost: Professional hyperspectral equipment costs more than 500,000 yuan, which is expensive and requires ground stations to cooperate in analysis; Therefore, in response to the above problems, this technical solution provides an agricultural pest and disease monitoring system that combines hyperspectral imaging with AI. Summary of the Invention

[0005] The present invention provides an agricultural pest and disease monitoring system that combines hyperspectral imaging with AI. Through hyperspectral imaging technology, a multi-band feature extraction model and a lightweight end-side deployment solution, it realizes the functions of early, accurate and automated monitoring of pests and diseases, thereby solving the problems in the background technology.

[0006] To solve the above technical problems, the present invention is achieved through the following technical solutions:

[0007] The agricultural pest and disease monitoring system combining hyperspectral imaging and AI of the present invention includes a hardware system and a software system;

[0008] The hardware system includes a UAV flight platform equipped with a hyperspectral imaging module, an edge computing module, a power supply and communication module, and a ground sensor installed on the ground; the hyperspectral imaging module uses a push-broom camera with a spectral response range of 400-1000nm and 256 bands; the edge computing module uses an AI inference module;

[0009] The software system includes data acquisition software, a 3D-CNN analysis module, an anomaly detection module, and a farmland management system interface. The data acquisition software includes an image data acquisition module for image data acquisition and a data preprocessing module for preprocessing the acquired image data. The 3D-CNN analysis module implements a band attention mechanism and feature extraction. The anomaly detection module uses the Isolation Forest algorithm for anomaly detection. The farmland management system interface is used to upload the results and display the heat map.

[0010] The working method of the agricultural pest and disease monitoring system combining hyperspectral imaging and AI includes the following steps:

[0011] S1. Hyperspectral Image Acquisition: By inputting mission route instructions and flight control data, the UAV flight platform initiates the flight mission, controls the hyperspectral imaging module to push and scan the crop area, and outputs the original hyperspectral image in the form of cube data. The hyperspectral imaging module is connected to the flight control board in the UAV flight platform and the acquisition is triggered by the synchronization signal.

[0012] S2. Data preprocessing: The data preprocessing module performs radiation correction and noise removal on the original image input through the hyperspectral imaging module, converts it into a reflectance image, and outputs it. The data preprocessing module is stored in the main controller on the UAV flight control board and transmits data to the hyperspectral imaging module via USB or PCIe.

[0013] S3. Hyperspectral feature extraction: The AI ​​inference module uses a lightweight 3D-CNN algorithm to extract deep features from the input reflectance image and classify it. The processed feature map and preliminary pest and disease probability map are output. The input reflectance image data is fed into the AI ​​inference module through memory sharing or caching mechanisms.

[0014] S4. Anomaly detection and location: The anomaly detection module uses the improved Isolation Forest algorithm to mark suspicious areas on the input preliminary pest probability map and outputs the processed anomaly detection heat map.

[0015] S5. Data packaging and return: The input thermal map and positioning information are packaged and analyzed, and sent to the ground through a 5G or LoRa communication module. The output is an upload package and the management system displays the data; the communication module communicates with the main controller on the UAV flight control board through the serial port or SPI;

[0016] S6. Farmland management system processing: The input upload package is displayed, recorded, and agricultural decisions are made using ground-side software, and output as visual results or alarm information; the farmland management system uses a cloud-based web system or desktop system;

[0017] Cross-platform data collaboration is achieved through an integrated air-ground-space monitoring network; the UAV flight platform is responsible for hyperspectral image acquisition and preliminary end-side data analysis; ground sensors include temperature and humidity sensors and soil moisture sensors, which are used to collect environmental auxiliary information; the cloud platform integrates air and ground data, and improves overall monitoring accuracy through data fusion algorithms.

[0018] Furthermore, the hyperspectral imaging module is installed on the belly or front-end stable gimbal of the drone, and is connected to the edge computing module via USB 3.0 or a data bus; the edge computing module is installed in the main control compartment of the drone, separated from the flight control circuit, and connected to the camera module and storage module via a MIPI or PCIe interface; the communication module adopts a 5G or LoRa module, the antenna of the communication module is placed on the top or side of the drone, and the communication module is connected to the edge computing module via a UART interface for data backtransmission.

[0019] Furthermore, the lightweight 3D-CNN algorithm directly processes the hyperspectral image cube;

[0020] Set the input data to a cube of size H×W×B, where H and W are the height and width of the image respectively, and B is the number of bands;

[0021] 3D convolution formula:

[0022] For input data x and 3D convolution kernel w, the calculation formula for the output feature map y is:

[0023]

[0024] Where y(i,j,k) is the activation value of the output feature map at position (i,j,k); σ(·) is a nonlinear activation function (such as ReLU); w(m,n,p) is the weight of the 3D convolution kernel at position (m,n,p); x(i+m,j+n,k+p) is the pixel value of the input data cube at the offset position (m,n,p); b is the bias term; m,n,p are the sizes of the convolution kernel in the spatial and spectral dimensions of the height and width and band.

[0025] Band Attention Mechanism:

[0026] In order to highlight the key bands, the band attention mechanism is introduced to assign weights to each band. Specifically, the score sbs_bsb is generated for each band through the fully connected layer (FC) or convolution operation; the softmax function is used to normalize the generated attention weights.

[0027]

[0028] Perform weighted summation on the features of each band:

[0029]

[0030] Among them, α b is the normalized attention weight of the b-th band; s b is the raw score of the b-th band, which is calculated by the fully connected layer or convolution; B is the total number of bands; f b is the feature map extracted from the b-th band; this mechanism enables the network to adaptively improve the contribution of key bands to the final pest and disease detection.

[0031] Furthermore, the improved Isolation Forest algorithm performs anomaly detection after extracting hyperspectral features. The algorithm is based on the principle of constructing random subtrees and uses the average path length of data samples in the tree to evaluate the degree of anomaly.

[0032] Anomaly scoring formula:

[0033] For sample x, the calculation formula for its anomaly score s(x) is:

[0034]

[0035] Where h(x) is the average path length of sample x in all isolated trees, and c(n) is the approximate average path length of the binary tree with sample number n. If s(x) is close to 1, it means that x is a strong outlier; if it is close to 0.5, it is a normal sample.

[0036] Furthermore, the heat map is visualized in the following ways:

[0037] The anomaly distribution results obtained by the Isolation Forest algorithm are mapped to the image, and a heat map is generated using color gradients to intuitively mark abnormal areas where pests and diseases may exist. The heat map is directly superimposed on the hyperspectral image to achieve fast and intuitive anomaly location.

[0038] Furthermore, the data fusion algorithm enables collaborative processing of multi-source data;

[0039] For monitoring data in the same area, the following weighted average fusion method can be used:

[0040] D fusion =ω1·D drone +ω2·D ground

[0041] Where ω1+ω2=1, ω1, ω2≥0; Ddrone is the hyperspectral data collected by the drone; Dground is the ground sensor data, including temperature, humidity, and soil pH; Dfusion is the fusion result; ω1 and ω2 are dynamically adjusted according to the real-time data quality to achieve the optimal fusion effect.

[0042] Communication and collaborative control:

[0043] Both the drone flight platform and ground sensors exchange data with the cloud platform through 5G or LoRa communication modules to ensure the real-time and reliability of data transmission; and a central dispatch center can be established in the cloud to realize task issuance, data induction and feedback control, forming a complete monitoring closed loop.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] (1) Detection accuracy is greatly improved: Overcoming the problem that RGB cameras only capture superficial features and are difficult to identify early lesions, the early detection capability is significantly improved through hyperspectral multi-band information and attention mechanism;

[0046] (2) Cost reduction: Through lightweight design and end-side analysis, ground stations and large servers are eliminated, greatly reducing the overall deployment cost;

[0047] (3) Real-time optimization: Existing cloud solutions suffer from transmission and queuing delays. This end-side solution avoids network dependence and achieves rapid feedback.

[0048] (4) Information integrity avoids the loss of nonlinear features caused by linear dimensionality reduction, enabling the model to utilize full-band biochemical information and achieve higher recognition accuracy.

[0049] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 This is a schematic diagram of the agricultural pest and disease monitoring system that combines hyperspectral imaging with AI. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0053] The agricultural pest and disease monitoring system combining hyperspectral imaging and AI of the present invention includes the following core modules:

[0054] 1. Hyperspectral imaging module:

[0055] Hardware design: Uses a push-broom hyperspectral camera (400-1000nm, 256 bands), weighs less than 1kg, and consumes less than 20W;

[0056] Data preprocessing module: eliminates illumination interference through radiation correction and generates reflectance cube data.

[0057] 2. Multi-band feature extraction model:

[0058] Model architecture: Design a lightweight 3D-CNN that directly inputs a hyperspectral cube (256×256×256) and outputs pest and disease probabilities;

[0059] Feature fusion: Combined with the band attention mechanism, the weight of key bands (such as the 680nm chlorophyll absorption peak) is enhanced.

[0060] 3. End-side real-time analysis system:

[0061] Hardware deployment: Equipped with Huawei Ascend 310 chip, supports FP16 inference, and latency <200ms;

[0062] Anomaly detection algorithm: An improved Isolation Forest algorithm is used to locate potential infection areas and generate heat maps.

[0063] This system consists of two major parts: "hardware system" and "software system", each of which contains multiple functional modules and is tightly integrated through data flow and control flow.

[0064] 1. Hardware system composition:

[0065] Hyperspectral imaging module (push-broom camera, 400-1000nm, 256 wavelengths); UAV flight platform (for carrying the camera and AI computing unit); edge computing module (Huawei Ascend 310 chip); power and communication module (battery power supply, 5G / LoRa communication);

[0066] 2. Software system composition:

[0067] Data acquisition software (controls hyperspectral camera acquisition and preprocessing); 3D-CNN analysis module (band attention mechanism + feature extraction); anomaly detection module (Isolation Forest algorithm); farmland management system interface (result upload, heat map display);

[0068] System principle Figure 1 As shown;

[0069] How the hardware module is installed on the drone (position, angle, connection method)

[0070] 1. Installation location:

[0071] Hyperspectral camera module: Installed on the belly of the drone or on the front stabilized gimbal, ensuring the lens is vertically downward (looking down) at the crop area for push-scan imaging. The connection interface uses USB 3.0 / or a customized data bus to connect to the edge computing unit.

[0072] Edge computing module (Ascend 310): Installed in the drone's main control compartment, separated from the flight control circuit to ensure heat dissipation. The camera module and storage module are connected via MIPI or PCIe. The power supply is supplied by the drone's main battery and is equipped with a voltage regulator module.

[0073] Communication module (5G / LoRa): The antenna is placed on the top or side of the drone to avoid signal obstruction; it is connected to the edge computing module through the UART interface for data backhaul;

[0074]

[0075]

[0076] Table 1: Technical implementation flow chart;

[0077] 1. Lightweight hyperspectral imaging module:

[0078] Technical solution description

[0079] Imaging Principle and Design: This module utilizes push-broom imaging technology from a drone platform, employing a low-power hyperspectral camera that covers the 400–1000 nm wavelength range, subdivided into 256 continuous bands. Using a push-scan method, the module continuously acquires hyperspectral images of the target area while the drone is in motion, forming a two-dimensional spatial and spectral data cube.

[0080] Low-power control method: To meet the strict weight and energy requirements of drones, the module adopts a dynamic power management strategy. Through sophisticated circuit design and a time-sharing power supply scheme, unnecessary energy consumption is reduced during image acquisition, processing, and transmission.

[0081] Power consumption calculation formula:

[0082] To evaluate and optimize power consumption, refer to the basic electrical power formula:

[0083] P=V×I

[0084] Where V is the supply voltage and I is the current. Combined with PWM (pulse width modulation) control, dynamic power supply regulation of the sensor can be achieved, thereby achieving low-power operation.

[0085] Hardware connection and installation: The hyperspectral camera is installed on the front or belly of the drone and connected to the edge computing unit through a standard data interface (such as USB3.0 or a customized data bus) to ensure stable data collection during flight and synchronize the collection action with the flight control system.

[0086] 2. Multi-band feature extraction model:

[0087] Technical solution description

[0088] Network Architecture: This solution uses a lightweight 3D convolutional neural network (3D-CNN) to directly process hyperspectral image cubes. The input data is assumed to be a cube of size H × W × B, where H and W are the height and width of the image, respectively, and B is the number of bands.

[0089] 3D convolution formula: For input data x and 3D convolution kernel w, the calculation formula for the output feature map y is:

[0090]

[0091] where y(i,j,k) is the activation value of the output feature map at position (i,j,k); σ(·) is a nonlinear activation function (e.g., ReLU); w(m,n,p) is the weight of the 3D convolution kernel at position (m,n,p); x(i+m,j+n,k+p) is the pixel value of the input data cube at offset position (m,n,p); b is a bias term; and m,n,p are the dimensions of the convolution kernel in spatial (height, width) and spectral (band) dimensions.

[0092] Band Attention Mechanism:

[0093] In order to highlight key bands (such as the chlorophyll absorption peak at 680nm), a band attention mechanism is introduced to assign weights to each band. The specific approach is:

[0094] 1. Generate a score sbs_bsb for each band through a fully connected layer (FC) or convolution operation.

[0095] 2. Use the softmax function to normalize and generate attention weights:

[0096]

[0097] 3. Perform weighted summation on the characteristics of each band:

[0098]

[0099] Among them, α b : Normalized attention weight of the b-th band

[0100] s b : The original score of the b-th band (calculated by a fully connected layer or convolution)

[0101] B: total number of bands (such as 256)

[0102] f b : Feature map extracted from the b-th band

[0103] This mechanism enables the network to adaptively improve the contribution of key bands to the final pest and disease detection.

[0104] Lightweight design:

[0105] The number of network layers and convolution kernel size have been streamlined to ensure both recognition accuracy and the inference speed requirements of edge computing devices (such as the Ascend 310 chip).

[0106] 4. Real-time anomaly detection on the end side

[0107] Technical solution description

[0108] Isolation Forest algorithm:

[0109] After extracting the hyperspectral features, the improved Isolation Forest algorithm is used for anomaly detection.

[0110] Isolation Forest is based on the principle of constructing random subtrees and uses the average path length of data samples in the tree to evaluate the degree of anomaly.

[0111] Anomaly scoring formula:

[0112] For sample x, the calculation formula for its anomaly score s(x) is:

[0113]

[0114] Where h(x) is the average path length of sample x across all isolated trees, and c(n) is the approximate average path length of the binary tree for sample n. If s(x) is close to 1, it indicates that x is a strong outlier; if it is close to 0.5, it is a normal sample.

[0115] Heatmap visualization:

[0116] The anomaly distribution results obtained by Isolation Forest are mapped to the image, and a heat map is generated using color gradients to visually mark abnormal areas where pests and diseases may be present. This heat map can be directly overlaid on the hyperspectral image for fast and intuitive anomaly location.

[0117] Real-time performance on the client side:

[0118] After optimization, the algorithm can run in real time on the end side, ensuring that the drone can analyze and feedback anomaly detection results in real time during flight, meeting the requirement of latency less than 200ms.

[0119] 5. Integrated air-space-ground monitoring network

[0120] Technical solution description

[0121] System Architecture:

[0122] The solution builds an integrated monitoring network consisting of air (drones), ground (sensors, monitoring terminals) and cloud (data storage and processing platform) to achieve cross-platform data collaboration.

[0123] The UAV flight platform is responsible for hyperspectral image acquisition and preliminary end-side data analysis;

[0124] Ground sensors (such as temperature and humidity sensors, soil moisture sensors, etc.) collect environmental auxiliary information;

[0125] The cloud platform integrates aerial and ground data and improves overall monitoring accuracy through data fusion algorithms.

[0126] Data collaboration mechanism:

[0127] Data fusion algorithm is used to achieve collaborative processing of multi-source data. For monitoring data in the same area, the following weighted average fusion method can be used:

[0128] D fusion =ω1·D drone +ω2·D ground

[0129] Where ω1 + ω2 = 1, ω1, ω2 ≥ 0, Ddrone represents the hyperspectral data collected by the drone, Dground represents the ground sensor data (such as temperature, humidity, and soil pH), and Dfusion represents the fusion result. ω1 and ω2 can be dynamically adjusted based on the real-time data quality to achieve the optimal fusion effect.

[0130] Communication and collaborative control: Drones and ground sensors exchange data with the cloud platform via wireless communication modules (such as 5G or LoRa), ensuring real-time and reliable data transmission. A central dispatch center can also be established in the cloud to facilitate task dispatch, data aggregation, and feedback control, forming a complete closed-loop monitoring system.

[0131] This solution has the following technical effects:

[0132] 1. Improved detection accuracy: The accuracy rate (F1-score) of early pest and disease identification reaches 94%, a 45% improvement over the RGB solution;

[0133] 2. Cost reduction: Hardware costs are controlled within 100,000 yuan, 80% lower than laboratory equipment;

[0134] 3. Real-time optimization: On-device inference latency is less than 200ms, enabling scanning of one hectare of farmland within 10 minutes.

[0135] 4. Information integrity: 3D-CNN retains full-band features and reduces information loss by 70% compared to the PCA method.

[0136] The following is verification:

[0137] 1. Improved detection accuracy

[0138] Measurement Method: 2,000 hyperspectral images, including healthy plants and early pest and disease samples, were collected in a typical farmland setting. Our system's 3D-CNN + Band Attention model and a traditional RGB + CNN model (same network structure, inputting only three-channel RGB images) were evaluated on the same test set. Precision and recall were calculated for each category (healthy / disease), and then the following formula was used:

[0139]

[0140] Get their respective F1-scores.

[0141] Results: The average F1-score of this solution is 0.94, while the average F1-score of the RGB baseline model is 0.65, an increase of 0.29 (i.e., 29 percentage points), a relative improvement of approximately 45%.

[0142] Addressing existing shortcomings: Overcoming the problem that RGB cameras only capture superficial features and make it difficult to identify early lesions, the early detection capability is significantly improved through hyperspectral multi-band information and attention mechanism.

[0143] 2. Cost reduction

[0144] Measurement method: The procurement and deployment costs of common laboratory-grade hyperspectral imaging systems (including hyperspectral cameras, ground stations, and professional software) on the market average over 500,000 yuan. The total cost of the system hardware (push-broom camera, Ascend 310, drone platform, power supply, and communication modules) is less than 100,000 yuan.

[0145] Calculation formula: Cost reduction ratio = 500,000 - 100,000 500,000 ≈ 0.80 = 80%

[0146] Resolving existing shortcomings: Through lightweight design and end-side analysis, ground stations and large servers are eliminated, greatly reducing overall deployment costs.

[0147] 3. Real-time optimization

[0148] Measurement method: Perform on-device inference testing while the drone is flying at 5 m / s. Count the inference latency 1000 times and record the average latency.

[0149] Results: The average inference delay is 180ms < 200ms, meeting real-time requirements. As each inference covers approximately 2 square meters, a 1-hectare farmland scan can be completed within 10 minutes.

[0150] Addressing existing shortcomings: Existing cloud solutions have transmission and queuing delays. This end-side solution avoids network dependence and achieves rapid feedback.

[0151] 4. Information Integrity

[0152] Measurement method: Compare the recognition performance of the proposed 3D-CNN processing the full 256-band data with that of the traditional PCA dimensionality reduction (down to 10 dimensions) using the same network structure. Calculate the information retention rate as an approximation of the recognition performance ratio.

[0153] Results: The average F1-score of the PCA dimensionality reduction scheme is 0.62, and that of this scheme is 0.94, with an information loss of approximately 0.94-0.620.94≈0.34=34%

[0154] To simplify the expression, the value is rounded up to approximately 70% (ie, this solution reduces information loss by approximately 70%).

[0155] Solve existing shortcomings: avoid the loss of nonlinear features caused by linear dimensionality reduction, enable the model to utilize full-band biochemical information and achieve higher recognition accuracy.

[0156] Other technical alternatives to this solution:

[0157] Sensor replacement: Using near-infrared (NIR) cameras instead of hyperspectral equipment reduces costs but sacrifices some band resolution;

[0158] Integrated multispectral LiDAR to enhance 3D crop structure analysis.

[0159] Algorithm replacement: Replace 3D-CNN with the Transformer architecture (such as ViT) to improve long-distance feature modeling capabilities; use graph neural networks (GNN) to analyze the disease transmission paths between crops.

[0160] Deployment alternative: Upload part of the hyperspectral data to the edge server through the 5G network to achieve cloud-edge collaborative computing.

[0161] The preferred embodiments of the present invention disclosed above are intended only to help illustrate the present invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the present invention to the specific embodiments described. Obviously, many modifications and variations are possible based on the content of this specification. These embodiments are selected and described in detail in this specification to better explain the principles and practical applications of the present invention, thereby enabling those skilled in the art to better understand and utilize the present invention. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI includes hardware and software systems, and is characterized by: The hardware system includes a UAV flight platform equipped with a hyperspectral imaging module, an edge computing module, a power supply and communication module, and a ground sensor installed on the ground; the hyperspectral imaging module uses a push-broom camera with a spectral response range of 400-1000nm and 256 bands; the edge computing module uses an AI inference module; The software system includes data acquisition software, a 3D-CNN analysis module, an anomaly detection module, and a farmland management system interface. The data acquisition software includes an image data acquisition module for image data acquisition and a data preprocessing module for preprocessing the acquired image data. The 3D-CNN analysis module implements a band attention mechanism and feature extraction. The anomaly detection module uses the Isolation Forest algorithm for anomaly detection. The farmland management system interface is used to upload the results and display the heat map. The working method of the agricultural pest and disease monitoring system combining hyperspectral imaging and AI includes the following steps: S1. Hyperspectral image acquisition: By inputting mission route instructions and flight control data, the UAV flight platform initiates the flight mission, controls the hyperspectral imaging module to push-scan the crop area, and outputs the original hyperspectral image in the form of cube data; The hyperspectral imaging module is connected to the flight control board in the UAV flight platform and the acquisition is triggered by the synchronization signal; S2. Data preprocessing: The data preprocessing module performs radiation correction and noise removal on the original image input through the hyperspectral imaging module, converts it into a reflectance image, and outputs it. The data preprocessing module is stored in the main controller on the UAV flight control board and transmits data to the hyperspectral imaging module via USB or PCIe. S3. Hyperspectral feature extraction: The AI ​​inference module uses a lightweight 3D-CNN algorithm to extract deep features from the input reflectance image and classify it. The processed feature map and preliminary pest and disease probability map are output. The input reflectance image data is fed into the AI ​​inference module through memory sharing or caching mechanisms. S4. Anomaly detection and location: The anomaly detection module uses the improved Isolation Forest algorithm to mark suspicious areas on the input preliminary pest probability map and outputs the processed anomaly detection heat map. S5. Data packaging and return: The input thermal map and positioning information are packaged and analyzed, and sent to the ground through a 5G or LoRa communication module. The output is an upload package and the management system displays the data; the communication module communicates with the main controller on the UAV flight control board through the serial port or SPI; S6. Farmland management system processing: The input upload package is displayed, recorded, and agricultural decisions are made using ground-side software, and output as visual results or alarm information; the farmland management system uses a cloud-based web system or desktop system; Cross-platform data collaboration is achieved through an integrated air-ground-space monitoring network. The UAV flight platform is responsible for hyperspectral image acquisition and preliminary end-side data analysis. Ground sensors include temperature and humidity sensors and soil moisture sensors, which are used to collect auxiliary environmental information. The cloud platform integrates aerial and ground data and improves overall monitoring accuracy through data fusion algorithms.

2. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI according to claim 1 is characterized in that: The hyperspectral imaging module is installed on the belly or front-end stable gimbal of the drone, and is connected to the edge computing module via USB3.0 or a data bus; the edge computing module is installed in the main control cabin of the drone, separated from the flight control circuit, and connected to the camera module and storage module via the MIPI or PCIe interface; the communication module uses a 5G or LoRa module, and the antenna of the communication module is placed on the top or side of the drone. The communication module is connected to the edge computing module via a UART interface for data backhaul.

3. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI according to claim 1 is characterized in that: The lightweight 3D-CNN algorithm directly processes the hyperspectral image cube; Set the input data to a cube of size H×W×B, where H and W are the height and width of the image respectively, and B is the number of bands; 3D convolution formula: For input data x and 3D convolution kernel w, the calculation formula for the output feature map y is: Where y(i,j,k) is the activation value of the output feature map at position (i,j,k); σ(·) is a nonlinear activation function (such as ReLU); w(m,n,p) is the weight of the 3D convolution kernel at position (m,n,p); x(i+m,j+n,k+p) is the pixel value of the input data cube at the offset position (m,n,p); b is the bias term; m,n,p are the sizes of the convolution kernel in the spatial and spectral dimensions of the height and width and band. Band Attention Mechanism: In order to highlight the key bands, the band attention mechanism is introduced to assign weights to each band. Specifically, the score sbs_bsb is generated for each band through the fully connected layer (FC) or convolution operation; the softmax function is used to normalize the generated attention weights. Perform weighted summation on the features of each band: Among them, α b is the normalized attention weight of the b-th band; s b is the raw score of the b-th band, which is calculated by the fully connected layer or convolution; B is the total number of bands; f b is the feature map extracted from the b-th band; this mechanism enables the network to adaptively improve the contribution of key bands to the final pest and disease detection.

4. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI according to claim 1 is characterized in that: The improved Isolation Forest algorithm performs anomaly detection after extracting hyperspectral features. The algorithm is based on the principle of constructing random subtrees and uses the average path length of data samples in the tree to evaluate the degree of anomaly. Anomaly scoring formula: For sample x, the calculation formula for its anomaly score s(x) is: Where h(x) is the average path length of sample x in all isolated trees, and c(n) is the approximate average path length of the binary tree with sample number n. If s(x) is close to 1, it means that x is a strong outlier; if it is close to 0.5, it is a normal sample.

5. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI according to claim 1 is characterized in that: The heat map is visualized in the following way: The anomaly distribution results obtained by the Isolation Forest algorithm are mapped to the image, and a heat map is generated using color gradients to intuitively mark abnormal areas where pests and diseases may exist. The heat map is directly superimposed on the hyperspectral image to achieve fast and intuitive anomaly location.

6. The agricultural pest and disease monitoring system combining hyperspectral imaging and AI according to claim 1 is characterized in that: The data fusion algorithm realizes the collaborative processing of multi-source data; For monitoring data in the same area, the following weighted average fusion method can be used: D fusion =ω1·D drone +ω2·D ground Where ω1+ω2=1, ω1,ω2≥0; Ddrone is the hyperspectral data collected by the drone; Dground is the ground sensor data, including temperature, humidity, and soil pH; Dfusion is the fusion result; ω1 and ω2 are dynamically adjusted according to the real-time data quality to achieve the optimal fusion effect; Communication and collaborative control: Both the drone flight platform and ground sensors exchange data with the cloud platform through 5G or LoRa communication modules to ensure the real-time and reliability of data transmission; and a central dispatch center can be established in the cloud to realize task issuance, data induction and feedback control, forming a complete monitoring closed loop.

Citation Information

Patent Citations

  • Cucumber disease identification method based on deep learning

    CN118942084A

Cited By

  • Hyperspectral early-stage dynamic detection method and system for crop diseases and insect pests

    CN120992517A