Variable dispensing control method and system based on xml high-dimensional prescription chart

By using a variable-drug administration control method based on XML high-dimensional prescription charts, the problems of single data dimension and slow dynamic response in traditional variable-drug administration technology are solved. This enables precise drug administration and effective drug adhesion during high-speed drone flight, improving the accuracy and safety of drug administration.

CN123137380APending Publication Date: 2026-11-20INST OF AGRI ECONOMICS & INFORMATION TECH NINGXIA ACAD OF AGRI & FORESTRY SCI (NINGXIA AGRI SCI & TECH LIBRARY)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611214473.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-11
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Traditional variable-rate application techniques face challenges when dealing with complex field information, such as limited data dimensions, low efficiency in prescription map parsing, and slow dynamic control response. This results in drones being unable to accurately and in real-time match application nodes during high-speed flight, affecting application accuracy and safety.

Method used

A variable-rate application control method based on XML high-dimensional prescription charts is adopted. By constructing an XML high-dimensional prescription chart, spatial low-latency anchoring is achieved using hash mapping. Combined with affine transformation and feedforward compensation correction, the target application rate is quickly parsed and converted into control signals for the spraying actuator.

Benefits of technology

It enables precise application of pesticides by drones during high-speed flight, reduces pesticide waste in non-target areas, ensures the consistency of droplet size and efficient and precise deposition of pesticides in the target area, and reduces the coefficient of variation in pesticide distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137380A_ABST
    Figure CN123137380A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of agricultural aviation pesticide application control, in particular to a variable pesticide application control method and system based on an XML high-dimension prescription chart, which comprises constructing an XML high-dimension prescription chart; anchoring the current position of a plant protection unmanned aerial vehicle (UAV) to a sub-node based on the current spatial coordinate information of the plant protection UAV and the boundary plane coordinate information of a characteristic grid; analyzing the anchored sub-node, extracting the reference pesticide application amount recorded in the corresponding sub-node and taking it as a target reference pesticide application amount, and feeding forwardly compensating and correcting the target reference pesticide application amount based on the real-time horizontal flight speed of the plant protection UAV to obtain a target pesticide application amount; and converting the target pesticide application amount into a water pump control signal used for adjusting the real-time pesticide spraying amount of a spraying execution mechanism at the plant protection UAV, so that spatial low-delay anchoring can be realized and the spraying efficiency of the UAV can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of agricultural aerial spraying control technology, and more specifically, to a variable spraying control method and system based on XML high-dimensional prescription charts. Background Technology

[0002] Variable-rate pesticide application technology is an important component of precision agriculture. Its core lies in obtaining and analyzing field information to rationally adjust the amount and method of pesticide application, thereby achieving optimal pest control and reducing pesticide drift. Existing variable-rate pesticide application control is mainly divided into pressure regulation method and PWM-based control method.

[0003] Traditional variable-rate spraying techniques often face challenges when dealing with complex field information, including limited data dimensionality, low efficiency in prescription map parsing, and slow dynamic control response. Existing variable-rate spraying systems lack efficient high-dimensional chart data structures and anchoring parsing methods when dealing with massive amounts of field grid data, making it difficult for drones to accurately and in real-time match application nodes during high-speed flight. Furthermore, when converting prescription map data into control signals for the underlying spraying actuators, the constantly changing pesticide volume and response delays can cause dynamic stability issues for the drone platform, severely impacting the accuracy and safety of application. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides a variable-based drug application control method and system based on XML high-dimensional prescription charts, which can achieve low-latency spatial anchoring and improve the spraying efficiency of UAVs.

[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution: A variable-rate pesticide application control method based on XML high-dimensional prescription maps is used to control the real-time pesticide application rate of agricultural drones when spraying pesticides on a target work area. The target work area consists of multiple feature grids, with different feature grids having the same or different baseline pesticide application rates. This includes... Construct an XML high-dimensional prescription map; wherein the XML high-dimensional prescription map has multiple child nodes that correspond one-to-one with the multiple feature grids, and each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid; Based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid, the current position of the agricultural drone is anchored to the child nodes. The anchored sub-nodes are parsed, and the baseline application rate recorded in the corresponding sub-nodes is extracted and used as the target baseline application rate. The target baseline application rate is then corrected by feedforward compensation based on the real-time horizontal flight speed of the agricultural drone to obtain the target application rate. The target pesticide application rate is converted into a water pump control signal used to adjust the real-time pesticide application rate of the spraying actuators at the agricultural drone.

[0006] Preferably, the construction of the XML high-dimensional prescription map specifically includes, The target operation area is divided into multiple feature grids, and the boundary plane coordinate information and baseline application rate information of each feature grid are obtained at least. Construct a high-dimensional XML prescription map with multiple child nodes; wherein each child node corresponds one-to-one with the multiple feature grids, and each child node is used to record at least the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid.

[0007] The planar coordinate information of the feature grid can include, for example, boundary coordinate information (the latitude and longitude coordinates of the four vertices of the feature grid).

[0008] Preferably, each child node is identified by the row and column codes of its corresponding feature grid. The row and column codes are obtained by selecting any feature grid as the reference grid from the plurality of feature grids and numbering them according to an integer sequence. Correspondingly, the anchoring of the current position of the agricultural drone with its child nodes based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature mesh includes: Establish the affine transformation matrix between the spatial coordinates of the agricultural drone and the row and column encoding of the feature grid; The current spatial coordinate information of the agricultural drone is converted into affine row and column encoding based on the affine transformation matrix; Based on the matching between affine row and column encoding and the row and column encoding of each feature grid, the current position of the agricultural drone is anchored to the child nodes.

[0009] Preferably, the affine transformation matrix can be constructed based on the center coordinates and size of the reference grid. Specifically, the affine transformation matrix can be expressed as follows: ; Where i and j represent the affine row information and affine column information in the affine row-column encoding, respectively. and For the planar coordinates of the agricultural drone, and The planar coordinates of the reference grid; The yaw rotation angle of the characteristic grid coordinate system of the target operation area relative to geographic true north; and These are the horizontal dimensions (row direction) and vertical dimensions (column direction) of the feature grid, respectively. This is the floor function.

[0010] In this invention, a constant-time algorithm O(1) can be used to perform a matching operation between the hash value of the affine row and column encoding and the hash value between the row and column encoding of each feature grid, thereby completing the matching between the affine row and column encoding and the row and column encoding of each feature grid.

[0011] Preferably, the feedforward compensation correction is performed based on the following formula. ; in, This indicates the target dosage (specifically converted into control signals for the actuator, such as PWM duty cycle). Target baseline dosage; This indicates the real-time horizontal flight speed of the agricultural drone, obtained through the onboard positioning system. The preset standard operating flight speed, corresponding to the target baseline dosage; This is a preset system inertia feedforward compensation coefficient, used to compensate for pipeline fluid delay and solenoid valve mechanical response delay; This represents the rate of change of the drone's real-time horizontal flight speed (i.e., the drone's horizontal flight acceleration).

[0012] Preferably, the variable-dose application control method of the present invention may also include, for example, the following steps. The sub-nodes corresponding to the feature grid that the agricultural drone is about to enter are analyzed, and the corresponding baseline application rate is read and used as the preset target application rate. The pre-set pesticide application rate is calculated based on the preset target benchmark and converted into a preset water pump control signal that can be executed by the spraying actuator at the plant protection drone. When the distance between the agricultural drone and the boundary between the feature grid corresponding to the anchored sub-node and the feature grid it is about to enter reaches a preset distance, the spraying actuator at the agricultural drone is controlled to adjust the real-time spraying amount using a preset water pump control signal.

[0013] Preferably, the preset target dosage can be calculated based on, for example, the following formula: ; in, For the target dosage, To preset the target dosage, For compensation amount; Compensation amount It can be calculated and obtained based on formulas such as the following. ; in, The feature mesh corresponding to the currently anchored child node The corresponding baseline dosage, For the feature grid to be entered The baseline application rate corresponding to the feature grid immediately preceding the flight path. To compensate for the gain coefficient, which is dimensionless, the range of values ​​can be, for example, the specific value can be determined based on the response characteristic calibration test of the spraying actuator in advance; The preset threshold for dosage variation is given in units of... This is used to avoid ineffective compensation triggered by minor fluctuations; a typical value could be... .

[0014] Preferably, the preset distance can be calculated based on, for example, the following formula: ; in, For the real-time horizontal flight speed of agricultural drones, This is a preset advance time; Among them, advance time It can be calculated and obtained based on, for example, the following formula. ; in, The preset mechanical response delay time, This is a preset safety margin time.

[0015] This invention also provides a variable-drug administration control system based on XML high-dimensional prescription charts, which is used to implement the above-mentioned variable-drug administration control method based on XML high-dimensional prescription charts, including: The prescription map algorithm processing module is used to construct a high-dimensional XML prescription map. The high-dimensional XML prescription map has multiple child nodes that correspond one-to-one with the multiple feature grids. Each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid. The spatial index anchoring module is used to anchor the current position of the agricultural drone to its child nodes based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid. The control signal generation module is used to parse the anchored sub-nodes, extract the baseline application amount recorded in the corresponding sub-nodes and use it as the target baseline application amount, perform feedforward compensation correction on the target baseline application amount based on the real-time horizontal flight speed of the plant protection drone to obtain the target application amount, and convert the target application amount into a water pump control signal for adjusting the real-time spraying amount of the spraying actuator at the plant protection drone. The variable spraying execution module is used to control the spraying execution mechanism according to the control signal to perform variable pesticide application.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention innovatively introduces an XML high-dimensional graph anchoring algorithm based on hash mapping. Compared to traditional traversal search, this algorithm achieves low-latency spatial anchoring when the UAV traverses the grid at high speed. Combined with a boundary smoothing pre-reading algorithm, the system changes the PWM duty cycle the instant it enters different pest areas, minimizing ineffective spraying in non-target areas and achieving significant savings in pesticide and flow rate.

[0017] This invention directly couples rapid XML prescription parsing with the underlying diaphragm pump control. During operations involving drastic flow rate changes, the spraying pipeline maintains a constant and ideal static pressure. This ensures consistent droplet size across all flow rates, preventing gravity dripping loss due to excessively large droplets and evaporation and wind drift due to excessively small droplets, significantly improving the effective adhesion of the pesticide solution to the target crop surface.

[0018] The algorithm module of this invention not only anchors the space but also introduces dynamic speed feedforward compensation calculation. Combined with a stable underlying atomization mechanism, it ensures the on-demand distribution of high deposition in severely diseased areas and low deposition in lightly diseased areas. Field trials have demonstrated that this method effectively reduces the coefficient of variation of droplet coverage density in the target area, ensuring efficient and precise control of crop diseases and pests. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the overall process of the variable drug administration control method based on XML high-dimensional prescription charts in this embodiment.

[0020] Figure 2 This is a schematic diagram of XML high-dimensional prescription map data with relative index primary keys in this embodiment.

[0021] Figure 3 This is a tree structure diagram of a high-dimensional prescription chart with a relative indexed primary key in XML in this embodiment.

[0022] Figure 4 This is a comparison response diagram of PWM values ​​based on XML anchoring analysis in this embodiment. Detailed Implementation

[0023] To further understand the content of this invention, the invention will be described in detail with reference to the embodiments. It should be understood that the embodiments are merely illustrative and not limiting of the invention.

[0024] This invention discloses a variable-rate pesticide application control method and system based on a high-dimensional XML prescription chart, aiming to solve the problems faced by traditional variable-rate pesticide application techniques when processing complex field information, such as single data dimension, low prescription chart parsing efficiency, and slow dynamic control response. The method acquires information on pests and diseases in the field operation area, classifies the pest and disease information into different levels, and grids the operation area according to the pest and disease information. It constructs a high-dimensional XML chart with spatial coordinates as the primary key and pest and disease severity and target pesticide application rate as attributes. During flight, a grid index is generated through coordinate affine transformation. The XML data nodes are quickly anchored using the real-time spatial coordinates of the UAV, the target pesticide application rate of the data nodes is extracted, and converted into a PWM duty cycle signal to control spraying. Combined with the UAV's flight status, the prescription pesticide application rate is feedforward compensated and converted into a PWM signal. The optimal PID control parameter set for the water pump is then issued for dynamic closed-loop adjustment, thereby achieving precise pesticide application.

[0025] This method not only achieves a low-latency, rapid response of the application flow rate to the grid boundary, reducing waste of pesticide in non-target areas, but also maintains constant pipeline pressure through PWM modulation, ensuring the consistency of spray droplet size. This method optimizes the precise deposition and adhesion performance of pesticide in the target area, avoids redundant spraying, and achieves precise control while significantly reducing the coefficient of variation in pesticide distribution.

[0026] like Figure 1 As shown, see Figure 1 In one specific embodiment, this disclosure proposes a variable application control method based on XML high-dimensional prescription maps, used to control the real-time spraying amount of agricultural drones when spraying pesticides on a target work area; wherein the target work area is composed of multiple feature grids, and different feature grids have the same or different baseline application amounts; it includes, Construct an XML high-dimensional prescription map; wherein the XML high-dimensional prescription map has multiple child nodes that correspond one-to-one with the multiple feature grids, and each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid; Based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid, the current position of the agricultural drone is anchored to the child nodes. The anchored sub-nodes are parsed, and the baseline application rate recorded in the corresponding sub-nodes is extracted and used as the target baseline application rate. The target baseline application rate is then corrected by feedforward compensation based on the real-time horizontal flight speed of the agricultural drone to obtain the target application rate. The target pesticide application rate is converted into a water pump control signal used to adjust the real-time pesticide application rate of the spraying actuators at the agricultural drone.

[0027] In this disclosure, discrete sampling information of the target operation area is first processed by spatial interpolation and gridding to generate a high-dimensional XML prescription chart anchored by spatial index. Subsequently, during UAV spraying operations, the row and column indices of the UAV in the grid matrix are calculated in real time through affine transformation, and the corresponding XML data nodes are quickly anchored in O(1) time complexity using a hash mapping mechanism. After extracting the baseline spraying amount of the current feature grid from the corresponding XML data node, feedforward compensation correction is performed in combination with the real-time flight speed of the UAV, and finally a PWM duty cycle control signal is generated to drive the spraying actuator. The variable spraying control method based on XML high-dimensional prescription chart anchoring in this embodiment realizes low-latency data parsing and control conversion from high-dimensional prescription data to the underlying actuator, effectively solving the defects of single data dimension, low parsing efficiency and slow dynamic response in traditional variable spraying. While ensuring constant pipeline pressure and droplet particle size consistency, it significantly improves the spraying accuracy and real-time performance in high-speed flight operation scenarios.

[0028] Seen in Figure 2 The construction of the XML high-dimensional prescription map specifically includes, The target operation area is divided into multiple feature grids, and the boundary plane coordinate information and baseline application rate information of each feature grid are obtained at least. Construct a high-dimensional XML prescription map with multiple child nodes; wherein each child node corresponds one-to-one with the multiple feature grids, and each child node is used to record at least the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid.

[0029] The planar coordinate information of the feature grid can include, for example, boundary coordinate information (the latitude and longitude coordinates of the four vertices of the feature grid).

[0030] Specifically, in the above process, multiple sampling points can be set at the target operation area, and the boundary plane coordinate information of the target operation area (latitude and longitude coordinates of the four vertices), the plane coordinate information (latitude and longitude coordinates) of each sampling point, and the pest and disease severity information can be obtained. Then, the target operation area can be divided into, for example, 27×27 feature grids according to predetermined rules (e.g., fixed length and width dimensions). After division, the boundary plane coordinate information of each feature grid can be obtained based on simple mathematical calculations. At the same time, the pest and disease severity information at any point in the target operation area can be inferred based on, for example, a GIS spatial interpolation algorithm (which can extend discrete sampling data into continuously distributed data). The corresponding baseline pesticide application rate can be set based on the pest and disease severity information at each feature grid (the baseline pesticide application rate corresponds to the pest and disease severity, and the corresponding standard pesticide application rate value can be pre-calibrated for different pest and disease severity levels according to plant protection expert systems, field trial calibration, or agronomic standards and specifications). Understandably, each child node can also be used to record pest and disease severity information, which can be categorized by labels such as "not occurring," "mild," "moderate," and "severe." It is worth noting that XML high-dimensional prescription diagrams, as a commonly used form of prescription diagram representation, are well-known to those skilled in the art in their construction. The illustrative descriptions provided here are merely introductory descriptions of XML high-dimensional prescription diagrams, not restrictive ones.

[0031] Reference Figure 3 As a further example, when constructing an XML high-dimensional prescription map, a tree-like hierarchical structure can be built using XML (Extensible Markup Language). The root node in this hierarchical structure can be used to represent the target work area, and the child nodes derived from the root node can be used to represent the feature grid.

[0032] Based on the above, the multi-dimensional attribute information of the corresponding feature grid can be structurally encapsulated in each child node. That is, each child node contains information such as the boundary plane coordinates, pest and disease severity, and target baseline application rate of the corresponding feature grid. These represent multiple dimensions of information such as the latitude and longitude coordinate range, pest and disease severity level, and preset baseline application rate of the feature grid. This can expand the two-dimensional mapping between the spatial location and application rate of the traditional prescription map into high-dimensional structured data of spatial location and multi-dimensional attributes, thereby solving the problem that the data dimensions on which existing variable application operations are based are relatively simple.

[0033] In this disclosure, each child node is identified by the row and column codes of its corresponding feature grid. The row and column codes are obtained by selecting any feature grid as the reference grid from the plurality of feature grids and numbering it according to an integer sequence. Correspondingly, the anchoring of the current position of the agricultural drone with its child nodes based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature mesh includes: Establish the affine transformation matrix between the spatial coordinates of the agricultural drone and the row and column encoding of the feature grid; The current spatial coordinate information of the agricultural drone is converted into affine row and column encoding based on the affine transformation matrix; Based on the matching between affine row and column encoding and the row and column encoding of each feature grid, the current position of the agricultural drone is anchored to the child nodes.

[0034] As an explanation, the statement in this disclosure that "each child node uses the row and column code of the corresponding feature grid as its child node identifier" means that: any feature grid can be selected from the plurality of feature grids as a reference grid (preferably a feature grid located at a corner), and then each reference grid is numbered in an integer sequence (e.g., -1 to the left, -1 up, +1 down, +1 to the right) starting from the reference grid (e.g., row 0, column 0) to obtain the row and column numbers of each reference grid, thereby constructing the corresponding row and column codes; specifically, the row and column numbers of the reference grids can be concatenated into a unique string, which can be used as the child node identifier of the corresponding feature grid; for example, the child node identifier of the feature grid located in row 2, column 3 can be "2_3".

[0035] Based on the above, a one-to-one mapping between feature grids and child nodes can be achieved using row and column distribution information. This provides data structure-level support for subsequent matching. Specifically, the child node identifier of a factor node is the row and column code of its corresponding feature grid. After obtaining the affine row and column information of the agricultural drone based on the affine transformation matrix, the affine row and column code of the agricultural drone can be obtained based on the same concatenation rules, thus enabling rapid data matching without the need for additional index tables or mapping relationship maintenance, simplifying the query logic from a data structure perspective. Furthermore, since XML is a plain text format, it can be seamlessly migrated between different operating systems and hardware platforms, exhibiting good platform portability and self-descriptive properties. It is easy for airborne embedded systems to parse, and its tree structure is naturally suitable for expressing the two-dimensional spatial relationships of grid matrices. The tagged data structure has good self-descriptive properties, making it easy for developers to understand and maintain.

[0036] In this disclosure, the affine transformation matrix can be constructed based on the center coordinates and size of the reference grid. Specifically, the affine transformation matrix can be expressed as follows: ; Where i and j represent the affine row information and affine column information in the affine row-column encoding, respectively. and For the planar coordinates of the agricultural drone, and The planar coordinates of the reference grid; The yaw rotation angle of the characteristic grid coordinate system of the target operation area relative to geographic true north; and These are the horizontal dimensions (row direction) and vertical dimensions (column direction) of the feature grid, respectively. This is the floor function.

[0037] Understandably, during the pesticide application operation of agricultural drones, the current global positioning coordinates output by the RTK-GPS module can be read in real time at a high-frequency sampling rate (e.g., reading RTK-GPS positioning data at a frequency of 50Hz). This allows the acquisition of the current spatial coordinate information of the agricultural drone. By using a preset affine transformation matrix, the affine row and column information corresponding to the current position of the agricultural drone can be quickly calculated. By concatenating the affine row and column information according to the same rules, the affine row and column codes can be obtained, thus enabling the next step of matching.

[0038] The center coordinates of the reference grid can be obtained by averaging the latitude and longitude coordinates of the four vertices of the reference grid.

[0039] In this disclosure, a constant-time algorithm O(1) can be used to perform a matching operation between the hash value of the affine row and column encoding and the hash value between the row and column encoding of each feature grid, thereby completing the matching between the affine row and column encoding and the row and column encoding of each feature grid.

[0040] Specifically, a hash table structure can be established between the row and column codes of each feature grid and each child node, and the lookup operation on the hash table structure can be performed with a constant time complexity algorithm of O(1). This means that when performing a lookup operation on the row and column codes of each feature grid, it is not necessary to traverse the tree structure of XML, and the time of a single lookup operation is independent of the total number of feature grids. It can be understood that the lookup operation performed on the hash value based on the affine row and column codes in the hash table structure is the matching action. When the hash value of the row and column codes of the corresponding matching feature grid is found, the current position of the agricultural drone can be associated with the corresponding child node, thereby completing the anchoring action.

[0041] Traditional prescription map parsing typically requires traversing a grid list or performing spatial range queries, with time complexity algorithms generally employing O(n) or O(log n). This causes query time to increase accordingly with the number of grids. In this disclosure, by directly concatenating row and column numbers into an identification string and performing hash matching on the identification string, the query time is always equal to the time of one hash calculation, and is completely independent of the total number of grids contained in the prescription map. Even if the prescription map density increases significantly, the matching and anchoring speed remains unchanged, thus facilitating high-precision operations in densely gridded work scenarios. Traditional traversal methods may produce query delays of tens or even hundreds of milliseconds when the number of grids is large, causing control signals to lag behind the flight position. In contrast, this disclosure uses hash matching to read the UAV's positioning in real time at a high-frequency sampling rate, enabling direct anchoring of the target work position, thereby ensuring timely processing of real-time positioning data during high-speed flight. In this disclosure, the feature grid and the affine row and column information of the agricultural UAV are concatenated according to the same rules, and a query keyword is generated by calculating a hash value. No additional index files or mapping tables need to be maintained, which eliminates intermediate conversion steps and reduces system complexity and error probability.

[0042] In this disclosure, the feedforward compensation correction is performed based on the following formula. ; in, This indicates the target dosage (specifically converted into control signals for the actuator, such as PWM duty cycle). Target baseline dosage; This indicates the real-time horizontal flight speed of the agricultural drone, obtained through the onboard positioning system. The preset standard operating flight speed, corresponding to the target baseline dosage; This is a preset system inertia feedforward compensation coefficient, used to compensate for pipeline fluid delay and solenoid valve mechanical response delay; This represents the rate of change of the drone's real-time horizontal flight speed (i.e., the drone's horizontal flight acceleration).

[0043] It is understandable that the flight speed of the drone is a key variable affecting the actual amount of pesticide applied per unit area. Specifically, when the speed changes, if the pesticide flow rate remains unchanged, the amount of pesticide applied per unit area will fluctuate. In order to ensure that the amount of pesticide applied per unit area remains accurate when the drone accelerates or decelerates, this disclosure can read the real-time horizontal flight speed of the flight controller through the onboard positioning system and make dynamic quantitative adjustments using a feedforward compensation correction formula. This can convert the corrected amount of pesticide applied into a control signal that can be recognized by the spraying actuator (the actuator used to perform the spraying action in the plant protection drone, such as an electric diaphragm pump or other motor-driven water pump), thereby enabling variable pesticide application.

[0044] Based on the above, the extracted target baseline application rate can be dynamically adjusted in conjunction with the real-time flight status (real-time horizontal flight speed) of the agricultural drone. This allows the target application rate to be increased (i.e., the flow rate to be increased) when the drone's real-time flight speed increases, in order to ensure that the application rate per unit area still meets the prescription setting value; conversely, the target application rate to be decreased (i.e., the flow rate to be decreased) when the drone's real-time flight speed decreases, in order to avoid over-application per unit area. Furthermore, since the feedforward compensation correction is pre-calculated based on the current flight status, rather than waiting for flow rate deviations to occur before feedback correction, it can eliminate uneven application distribution caused by flight speed fluctuations. The higher the speed, the greater the increase in the baseline application rate; the lower the speed, the greater the decrease, thus achieving a constant output of application rate per unit area.

[0045] Understandably, when the spraying actuator is a motor pump such as an electric diaphragm pump built into the agricultural drone, the target application rate can be converted into a PWM duty cycle signal. Specifically, when the drone's real-time horizontal flight speed increases, the PWM duty cycle for spraying the feature grid corresponding to the currently anchored sub-node can be increased synchronously; when the drone's real-time flight speed decreases, the PWM duty cycle for spraying the feature grid corresponding to the currently anchored sub-node can be decreased synchronously.

[0046] Furthermore, the variable-drug administration control method disclosed herein can also include, for example, the following steps: The sub-nodes corresponding to the feature grid that the agricultural drone is about to enter are analyzed, and the corresponding baseline application rate is read and used as the preset target application rate. The pre-set pesticide application rate is calculated based on the preset target benchmark and converted into a preset water pump control signal that can be executed by the spraying actuator at the plant protection drone. When the distance between the agricultural drone and the boundary between the feature grid corresponding to the anchored sub-node and the feature grid it is about to enter reaches a preset distance, the spraying actuator at the agricultural drone is controlled to adjust the real-time spraying amount using a preset water pump control signal.

[0047] Based on the above-mentioned smooth transition processing, when the real-time positioning coordinates approach the physical boundary between the current anchored feature grid and the adjacent feature grid, the child nodes corresponding to the adjacent feature grids can be analyzed in advance, and the mechanical response delay time of the spraying actuator (including the high-frequency solenoid valve) can be pre-compensated. This allows the UAV to complete the seamless and delay-free switching of the pesticide application flow rate the instant it crosses the feature grid. This hysteresis compensation mechanism that introduces pre-analysis of adjacent feature grids can solve the problem of pesticide application response lag caused by the mechanical inertia of the spraying actuators such as diaphragm pumps and pipeline pressure when the agricultural drone crosses the feature grid boundary.

[0048] In practical implementation, a running cache area can be set in the memory space of the airborne controller of the plant protection drone. This running cache area can store the prescription data (parsed and extracted from the corresponding child nodes) of the current feature grid and up to 8 adjacent feature grids during the drone's flight along the flight path. This enables the rapid calculation and acquisition of the preset target pesticide application amount, the corresponding preset water pump control signal, and whether the preset distance has been reached.

[0049] Understandably, based on the drone's current heading angle and the known flight path planning file, the next feature grid that the agricultural drone will enter can be determined. For example, if the flight path is a straight line going back and forth, the adjacent grid is the feature grid that is immediately next to the flight path in the forward direction. If the flight path includes a turn, the first feature grid on the first straight line segment after the turn is pre-analyzed before entering the turn segment.

[0050] In this disclosure, the preset target dosage can be calculated based on, for example, the following formula: ; in, For the target dosage, To preset the target dosage, For compensation amount; Compensation amount It can be calculated and obtained based on formulas such as the following. ; in, The feature mesh corresponding to the currently anchored child node The corresponding baseline dosage, For the feature grid to be entered The baseline application rate corresponding to the feature grid immediately preceding the flight path. The gain compensation coefficient is dimensionless and can take values ​​ranging from, for example, The specific value can be determined based on the response characteristic calibration test conducted in advance on the spraying actuator; The preset threshold for dosage variation is given in units of... This is used to avoid ineffective compensation triggered by minor fluctuations; a typical value could be... .

[0051] Based on the above, the compensation amount can be predetermined. Overlay Above this, the preset target dosage of pesticide is achieved. Pre-generated.

[0052] Understandably, when When this occurs, it indicates that the dosage needs to be increased in advance (moving from a low-dosage area to a high-dosage area); when When the spraying mechanism is a motorized pump such as an electric diaphragm pump integrated into the agricultural drone, the target spraying amount should be preset. The signal can be pre-loaded into the PWM mapping module of the onboard controller of the agricultural drone, converted into a corresponding PWM duty cycle signal, and sent to the spraying actuator in advance when the trigger condition is met. When the drone actually crosses the physical boundary of the feature grid, the anchored child nodes can be updated. At this time, the baseline application rate of the updated anchored feature grid can be adjusted based on, for example, the speed compensation module. Recalculate At the same time, compensation amount It can also be recalculated and updated after being reset to zero; specifically, the adjacent feature grid data involved in the above pre-analysis process can be stored in the ring buffer of the airborne controller. This buffer can be updated using, for example, a first-in-first-out strategy. Whenever the agricultural drone enters a new feature grid, it can automatically store the data of the feature grid and related feature grids into the tail of the buffer and remove the data of expired grids from the head of the buffer, ensuring that the cached data always covers the prescription information of the current grid and several feature grids in front.

[0053] In this disclosure, the preset distance can be calculated based on, for example, the following formula: ; in, For the real-time horizontal flight speed of agricultural drones, This is a preset advance time; Among them, advance time It can be calculated and obtained based on, for example, the following formula. ; in, The preset mechanical response delay time, This is a preset safety margin time.

[0054] Understandably, the mechanical response delay time This refers to the time required from the time the airborne controller sends a PWM signal to the time when the diaphragm pump actually reaches the target flow rate, measured in milliseconds. This parameter can be calibrated through a step response test, for example, for a diaphragm pump (such as the Hobbywing 5L brushless water pump). Approximately For systems containing pipeline pressure buffers, May be extended to Safety margin time Used to compensate for uncertainties such as flight speed fluctuations and GPS positioning errors, a typical value is... For example, in low-delay systems, diaphragm pumps are directly driven. ,but For high-delay systems, including long pipelines and pressure regulating valves, ,but .

[0055] It is understandable that the distance between the agricultural drone and the physical boundary can be calculated in real time based on the heading angle, real-time position, and endpoint coordinates of the physical boundary. Specifically, the linear equation of the physical boundary can be constructed based on the two-point equation of a straight line. Based on the linear equation and the real-time position, the vertical distance between the current position of the agricultural drone and the physical boundary can be obtained. The distance between the agricultural drone and the physical boundary can be obtained by performing a trigonometric function transformation based on the heading angle. This will not be elaborated here.

[0056] In one specific embodiment, this disclosure also proposes a variable-drug administration control system based on XML high-dimensional prescription maps, which includes: The prescription map algorithm processing module is used to construct a high-dimensional XML prescription map. The high-dimensional XML prescription map has multiple child nodes that correspond one-to-one with the multiple feature grids. Each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid. The spatial index anchoring module is used to anchor the current position of the agricultural drone to its child nodes based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid. The control signal generation module is used to parse the anchored sub-nodes, extract the baseline application amount recorded in the corresponding sub-nodes and use it as the target baseline application amount, perform feedforward compensation correction on the target baseline application amount based on the real-time horizontal flight speed of the plant protection drone to obtain the target application amount, and convert the target application amount into a water pump control signal for adjusting the real-time spraying amount of the spraying actuator at the plant protection drone. The variable spraying execution module is used to control the spraying execution mechanism according to the control signal to perform variable pesticide application.

[0057] In this disclosure, the prescription map algorithm processing module is responsible for transforming raw field information into structured XML high-dimensional prescription data. Specifically, it generates an XML high-dimensional prescription map with spatial index as the anchor key by spatial interpolation and gridding of discrete sampling information of the target operation area. The spatial index anchoring module is responsible for high-frequency real-time positioning and data node matching, and uses a hash mapping mechanism to ensure low-latency access to prescription data during high-speed flight. The control signal generation module dynamically calculates and outputs a PWM control signal after feedforward compensation based on the baseline application rate and flight state parameters extracted by anchoring. The variable spraying execution module is responsible for converting the control signal into the physical action of the spraying actuator to complete the variable spraying operation. The modules communicate with each other through standardized data interfaces, and each module is functionally independent and has a clear responsibility, which makes the system highly scalable and maintainable. It can adapt to the application needs of different operation area sizes and the complexity of pest and disease distribution, ensuring high reliability and high real-time performance of the entire link from high-dimensional prescription data to physical spraying.

[0058] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention innovatively introduces an XML high-dimensional graph anchoring algorithm based on hash mapping. Compared to traditional traversal search, this algorithm achieves low-latency spatial anchoring when the UAV traverses the grid at high speed. Combined with a boundary smoothing pre-reading algorithm, the system changes the PWM duty cycle the instant it enters different pest areas, minimizing ineffective spraying in non-target areas and achieving significant savings in pesticide and flow rate.

[0059] This invention directly couples rapid XML prescription parsing with the underlying diaphragm pump control. During operations involving drastic flow rate changes, the spraying pipeline maintains a constant and ideal static pressure. This ensures consistent droplet size across all flow rates, preventing gravity dripping loss due to excessively large droplets and evaporation and wind drift due to excessively small droplets, significantly improving the effective adhesion of the pesticide solution to the target crop surface.

[0060] The algorithm module of this invention not only anchors the space but also introduces dynamic speed feedforward compensation calculation. Combined with a stable underlying atomization mechanism, it ensures the on-demand distribution of high deposition in severely diseased areas and low deposition in lightly diseased areas. Field trials have demonstrated that this method effectively reduces the coefficient of variation of droplet coverage density in the target area, ensuring efficient and precise control of crop diseases and pests.

[0061] It is readily understood that those skilled in the art can combine, split, or reorganize the embodiments provided in this application to obtain other embodiments, all of which do not exceed the protection scope of this application.

[0062] The present invention and its embodiments have been described above illustratively. This description is not restrictive, and the embodiments shown are only part of the embodiments of the present invention. The actual structure is not limited thereto. Therefore, if those skilled in the art are inspired by this description and design similar structures and embodiments without departing from the spirit of the present invention, they should all fall within the protection scope of the present invention.

Claims

1. A variable-based pesticide application control method based on XML high-dimensional prescription charts is used to control the real-time spraying amount of agricultural drones when spraying pesticides on target work areas; wherein, The target operating area is composed of multiple feature grids, and different feature grids have the same or different baseline application rates; It includes: Construct an XML high-dimensional prescription chart; wherein the XML high-dimensional prescription chart has multiple child nodes that correspond one-to-one with the multiple feature grids, and each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid; Based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid, the current position of the agricultural drone is anchored to the child nodes. The anchored sub-nodes are parsed, and the baseline application rate recorded in the corresponding sub-nodes is extracted and used as the target baseline application rate. The target baseline application rate is then corrected by feedforward compensation based on the real-time horizontal flight speed of the agricultural drone to obtain the target application rate. The target pesticide application rate is converted into a water pump control signal used to adjust the real-time pesticide application rate of the spraying actuators at the agricultural drone.

2. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 1, wherein, The construction of the high-dimensional XML prescription chart specifically includes: The target operation area is divided into multiple feature grids, and the boundary plane coordinate information and baseline application rate information of each feature grid are obtained at least. Construct a high-dimensional XML prescription map with multiple child nodes; wherein each child node corresponds one-to-one with the multiple feature grids, and each child node is used to record at least the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid.

3. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 2, wherein, Each child node is identified by the row and column codes of its corresponding feature grid. The row and column codes are obtained by selecting any feature grid from the plurality of feature grids as a reference grid and then numbering them sequentially using integers. The anchoring of the agricultural drone's current position to the child nodes based on its current spatial coordinates and the boundary plane coordinates of the feature grids includes: Establish the affine transformation matrix between the spatial coordinates of the agricultural drone and the row and column encoding of the feature grid; The current spatial coordinate information of the agricultural drone is converted into affine row and column encoding based on the affine transformation matrix; Based on the matching between affine row and column encoding and the row and column encoding of each feature grid, the current position of the agricultural drone is anchored to the child nodes.

4. The variable-based drug administration control method based on XML high-dimensional prescription charts according to claim 3, wherein the affine transformation matrix is ​​constructed based on the center coordinates and size of the reference grid, and the affine transformation matrix is ​​expressed as follows: ; in, i and j represent the affine row information and affine column information in the affine row-column encoding, respectively. and For the planar coordinates of the agricultural drone, and The planar coordinates of the reference grid; The yaw rotation angle of the characteristic grid coordinate system of the target operation area relative to geographic true north; and These are the horizontal and vertical dimensions of the feature grid, respectively; This is the floor function.

5. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 4, wherein, A constant-time algorithm O(1) is used to perform a matching operation between the hash value of the affine row and column encoding and the hash value of the row and column encoding of each feature grid, thus completing the matching between the affine row and column encoding and the row and column encoding of each feature grid.

6. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 1, wherein, Feedforward compensation correction is performed based on the following formula: ; in, Indicates the target dosage; Target baseline dosage; This indicates the real-time horizontal flight speed of the agricultural drone, obtained through the airborne positioning system. The preset standard operating flight speed, corresponding to the target baseline dosage; This is a preset system inertia feedforward compensation coefficient, used to compensate for pipeline fluid delay and solenoid valve mechanical response delay; This represents the rate of change of the real-time horizontal flight speed of the drone.

7. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 1 further includes: The sub-nodes corresponding to the feature grid that the agricultural drone is about to enter are analyzed, and the corresponding baseline application rate is read and used as the preset target application rate. The pre-set pesticide application rate is calculated based on the preset target benchmark and converted into a preset water pump control signal that can be executed by the spraying actuator at the plant protection drone. When the distance between the agricultural drone and the boundary between the feature grid corresponding to the anchored sub-node and the feature grid it is about to enter reaches a preset distance, the spraying actuator at the agricultural drone is controlled to adjust the real-time spraying amount using a preset water pump control signal.

8. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 7, wherein, The preset target dosage is calculated based on the following formula. ; in, For the target dosage, To preset the target dosage, For compensation amount; Compensation amount Calculated based on the following formula, ; in, The feature mesh corresponding to the currently anchored child node The corresponding baseline dosage, For the feature grid to be entered The corresponding baseline dosage, The gain coefficient is dimensionless and its specific value can be determined based on the response characteristic calibration test of the spraying actuator beforehand. The preset threshold for dosage variation is given in units of... This is used to avoid invalid compensation being triggered by minor fluctuations.

9. The variable-based medication control method based on XML high-dimensional prescription charts according to claim 7, wherein, The preset distance is calculated based on the following formula: ; in, For the real-time horizontal flight speed of agricultural drones, This is a preset advance time; Among them, advance time Calculated based on the following formula ; in, The preset mechanical response delay time, This is a preset safety margin time.

10. A variable-dose administration control system based on XML high-dimensional prescription charts, used to implement the variable-dose administration control method based on XML high-dimensional prescription charts as described in any one of claims 1-9, comprising: The prescription map algorithm processing module is used to construct a high-dimensional XML prescription map. The high-dimensional XML prescription map has multiple child nodes that correspond one-to-one with the multiple feature grids. Each child node has a unique child node identifier and is used to record the boundary plane coordinate information and the baseline dosage information of the corresponding feature grid. The spatial index anchoring module is used to anchor the current position of the agricultural drone to its child nodes based on the current spatial coordinate information of the agricultural drone and the boundary plane coordinate information of the feature grid. The control signal generation module is used to parse the anchored sub-nodes, extract the baseline application amount recorded in the corresponding sub-nodes and use it as the target baseline application amount, perform feedforward compensation correction on the target baseline application amount based on the real-time horizontal flight speed of the plant protection drone to obtain the target application amount, and convert the target application amount into a water pump control signal for adjusting the real-time spraying amount of the spraying actuator at the plant protection drone. The variable spraying execution module is used to control the spraying execution mechanism according to the control signal to perform variable pesticide application.