An unmanned aerial vehicle-based automatic water quality sampling device and system

By using an automated water quality sampling device and system based on drones, the problems of insufficient timeliness and flexibility of existing water quality monitoring technologies have been solved. This enables rapid and accurate acquisition of water quality data, meets emergency response needs, improves the real-time performance and coverage of water environment monitoring, and reduces operation and maintenance costs.

CN123155752APending Publication Date: 2026-11-24GUANGDONG PROVINCIAL HYDROLOGICAL BUREAU HUIZHOU HYDROLOGICAL BRANCH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611503335.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing water quality five-parameter monitoring technologies suffer from poor timeliness, delayed test results, easy physicochemical changes in water samples during transportation, difficulty in covering complex water areas, and low sampling frequency. Furthermore, fixed online monitoring is susceptible to water flow impact, biological attachment, and wind and wave disturbances, lacking flexibility and failing to meet the rapid response requirements for sudden pollution events.

Method used

An automated water quality sampling device based on drones is adopted, which combines a winch lifting mechanism with a multi-parameter water quality monitor to achieve rapid arrival at the target water area, stratified sampling and in-situ testing. The drone platform replaces manual entry into complex or dangerous water areas, reducing the intensity of human intervention and safety risks. The integrated multi-parameter water quality monitor improves the stability and representativeness of the test, and real-time monitoring is achieved through a data transmission module.

Benefits of technology

It enables rapid acquisition of water quality data within minutes, improving the real-time performance and accuracy of monitoring, meeting the timeliness requirements in emergency scenarios, enhancing spatial representativeness, reducing human error and equipment maintenance costs, overcoming terrain and transportation limitations, improving monitoring flexibility and coverage, and providing a reliable data foundation for dynamic analysis of the water environment and pollution source tracing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155752A_ABST
    Figure CN123155752A_ABST
Patent Text Reader

Abstract

This invention relates to the field of water quality monitoring technology, and more particularly to an automatic water quality sampling device and system based on unmanned aerial vehicles (UAVs). The UAV-based automatic water quality sampling system includes a path planning module, a flight control module, a sampling control module, a water quality detection module, a data transmission module, and a data management module. The path planning module acquires monitoring task instructions and generates an optimal set of sampling points and a planned path for the UAV. The flight control module controls the UAV to reach and hover above the target sampling points. The sampling control module collects a fixed volume of water sample into the automatic water quality sampling device. The water quality detection module performs in-situ five-parameter detection on the water sample in the automatic water quality sampling device. The data transmission module packages and encrypts the in-situ five-parameter detection results. The data management module verifies the in-situ five-parameter detection results and generates a sample delivery slip. This invention helps improve the accuracy and reliability of water quality monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of water quality monitoring technology, and in particular to an automatic water quality sampling device and system based on unmanned aerial vehicles (UAVs). Background Technology

[0002] The five water quality parameters (temperature, pH, dissolved oxygen, conductivity, and turbidity) are core indicators for evaluating the basic condition of water bodies. Among them, water temperature reflects the thermal state of the water body and its influence on dissolved oxygen, metabolic activity, and chemical reaction rates, and affects the vertical mixing process in stratified water bodies; pH characterizes the acid-base balance of the water body, reflects external disturbances such as acid rain input and industrial sewage discharge, and affects the solubility and ecotoxicity of heavy metals; dissolved oxygen measures the self-purification capacity of the water body and the living conditions of aquatic organisms, and its changes are affected by factors such as water temperature, air pressure, and water flow. An abnormal decrease often indicates organic pollution or algal decline; conductivity characterizes the ion concentration of the water body and can be used to identify industrial wastewater, agricultural non-point source pollution, or seawater intrusion; turbidity reflects the content of suspended particulate matter and changes in water transparency, and is related to soil erosion, construction disturbance, and resuspension of bottom sediment. The above indicators are highly sensitive, and anomalies usually indicate water pollution or environmental changes. Continuous monitoring can provide temporal and spatial basis for tracing pollution sources. Although they cannot fully characterize water quality levels on their own, they play a fundamental supporting role in water environment modeling, comprehensive water quality evaluation, and water resource management.

[0003] Currently, water quality five-parameter monitoring mainly adopts manual sampling and laboratory testing or portable on-site testing. This method has problems such as poor timeliness, delayed test results, easy physicochemical changes of water samples during transportation, difficulty in covering complex water areas due to terrain limitations, and low sampling frequency, making it difficult to capture instantaneous water quality changes. Another type is in-situ online monitoring, which involves fixing the sensing equipment in the water body for continuous monitoring. However, it is easily affected by water flow impact, biological attachment, and wind and wave disturbance, resulting in measurement drift. At the same time, the fixed monitoring location makes it difficult to obtain representative water layer data, and the maintenance and calibration costs are high, lacking flexibility and failing to meet the needs of rapid response to sudden pollution events. Summary of the Invention

[0004] Therefore, it is necessary for the present invention to provide an automatic water quality sampling device and system based on unmanned aerial vehicles (UAVs) to solve at least one of the above-mentioned technical problems.

[0005] To achieve the above objectives, an automatic water quality sampling device based on a drone is provided, comprising a drone and an automatic water quality sampling device that is liftably connected to the drone via a winch lifting mechanism; the automatic water quality sampling device includes a vertically hollow cylindrical body, a movable cover plate installed at the top opening of the body, a mounting clamp fixedly installed on the upper outer side of the body, a multi-parameter water quality monitor installed inside the body, a monitor limiter set on the outer periphery of the multi-parameter water quality monitor, a water intake in the bottom area of ​​the body, and a base fixedly installed at the bottom of the body.

[0006] This application discloses an automated water quality sampling device based on a drone. By combining the automated water quality sampling device with a drone and a winch lifting mechanism, the sampling unit can quickly reach the target water area and accurately collect water at different water layers. Compared with traditional manual sampling and fixed online monitoring methods, this significantly improves the mobility and spatial coverage of the sampling. Simultaneously, the tank integrates a multi-parameter water quality monitor, and its spatial position is constrained by a limiter, ensuring a stable posture during sampling and lifting. This structurally reduces measurement deviations caused by shaking or tilting, thereby improving the stability and consistency of the five water quality parameters test results. Furthermore, the combination of a movable cover and a vertically hollow tank allows for a relatively sealed water sample preservation state after the water collection process reaches the target depth, effectively reducing secondary contact between the water sample and the external environment during lifting and transportation. The device improves the authenticity and representativeness of the detection data by incorporating changes in physicochemical properties. The bottom intake and base allow for targeted water intake at different vertical levels within the water body, enhancing the ability to capture differences in water quality across stratified water bodies and compensating for the insufficient representativeness of fixed-depth monitoring. Simultaneously, the device utilizes a drone platform to replace manual entry into complex or dangerous water areas, reducing the intensity of human intervention and safety risks, and minimizing reliance on long-term immersion deployment of sensors. This reduces maintenance costs and error accumulation caused by biological adhesion, corrosion, and drift. Overall, the solution achieves an integrated process of rapid arrival, stratified sampling, in-situ monitoring, and closed storage, comprehensively improving the timeliness, accuracy, spatial representativeness, and emergency response capabilities of the five water quality parameters data. It also provides a more reliable data foundation for subsequent dynamic analysis of the water environment and pollution source tracing.

[0007] Optionally, this application also provides an unmanned aerial vehicle (UAV)-based automatic water quality sampling system, applied to an UAV-based automatic water quality sampling device, the UAV-based automatic water quality sampling system comprising: The path planning module acquires monitoring task instructions and generates the optimal set of sampling points and the UAV planning path corresponding to the monitoring task instructions by combining preset water area basic information. The flight control module controls the UAV to autonomously fly to the coordinates of each target sampling point in the optimal sampling point set according to the UAV's planned path, and controls the UAV to hover above the target sampling points through a combination of GPS positioning and visual-assisted positioning; at the same time, it collects flight altitude and environmental parameters in real time. The sampling control module drives the hoisting mechanism to lower the automatic water quality sampling device to the sampling depth corresponding to the target sampling point. Once a water sample of a preset fixed volume is collected into the automatic water quality sampling device, the hoisting mechanism is driven to rise back to its original position. The water quality testing module controls the multi-parameter water quality monitor to perform five-parameter in-situ testing on water samples from the automatic water quality sampling device, and takes the test value when the preset stable state is reached as the five-parameter in-situ test result. The data transmission module performs parameter correlation cross-validation and outlier removal on the five-parameter in-situ detection results, and generates water quality evaluation results for each sampling point; it packages and encrypts the water quality evaluation results, target sampling point coordinates and sampling time, and transmits them to the ground monitoring center in real time through a preset communication component; In the data management module, after the ground monitoring center receives the packaged and encrypted results, it verifies the packaged and encrypted results; it fills the verified packaged and encrypted results into the preset sample delivery form template to generate a sample delivery form, and then transmits the sample delivery form synchronously to the water quality laboratory system and the connected business platform through the communication interface.

[0008] This application presents an automated water quality sampling system based on unmanned aerial vehicles (UAVs). By combining automated UAV sampling with in-situ detection, it achieves rapid acquisition of water quality data within minutes, significantly improving the real-time nature of monitoring and meeting the timeliness requirements in emergency scenarios. Simultaneously, through "fixed water sample" detection and a stable data judgment mechanism, it effectively avoids measurement deviations caused by water flow and wave disturbances. Combined with multi-level data quality control, it improves the accuracy and reliability of monitoring results. Spatially, it can achieve precise sampling at multiple depths, including the surface, thermocline, and bottom layers, based on the vertical stratification characteristics of the water body, thus more comprehensively reflecting the spatial differences in water quality. This solution also leverages the mobility of the UAV platform to overcome terrain and transportation limitations, enabling rapid coverage and dynamic deployment in remote water areas and high-risk regions, improving monitoring flexibility and coverage. Furthermore, by reducing human intervention and optimizing the sensor operating environment, it reduces human error and equipment maintenance costs, and extends sensor lifespan. Moreover, by combining multi-time-point data fusion and spatiotemporal correlation analysis, it can generate multi-dimensional analysis results on water quality spatial distribution, change trends, and pollution diffusion, providing more comprehensive data support for refined water environment management and decision-making. Attached Figure Description

[0009] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a schematic diagram of the execution flow of the automatic water quality sampling system based on unmanned aerial vehicles (UAVs) of the present invention. Figure 2 This is a modular framework diagram of the automatic water quality sampling system based on unmanned aerial vehicles (UAVs) of the present invention. Figure 3 This is a schematic diagram of the automatic water quality sampling device in this invention; The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0010] The technical method of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0011] Furthermore, the accompanying drawings are merely illustrative of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor methods and / or microcontroller methods.

[0012] It should be understood that although the terms "first," "second," etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are used merely to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0013] To achieve the above objectives, please refer to Figures 1 to 3This invention provides an automatic water quality sampling device based on a drone, which is used to cooperate with a drone. The automatic water quality sampling device is connected to the drone in a lifting manner through a winch lifting mechanism. The automatic water quality sampling device includes a vertically hollow cylindrical body, a movable cover plate installed at the top opening of the body, a mounting clamp fixedly installed on the upper outer side of the body, a water quality multi-parameter monitor installed inside the body, a monitor limiter set on the outer periphery of the water quality multi-parameter monitor, a water intake in the bottom area of ​​the body, and a base fixedly installed at the bottom of the body.

[0014] The unmanned aerial vehicle (UAV)-based automatic water quality sampling device of this application includes the UAV body and the automatic water quality sampling device that works in conjunction with the UAV body. Figure 3 This is a schematic diagram of the automatic water quality sampling device of the present invention; as shown. Figure 3 As shown, the automatic water quality sampling device includes a vertically hollow cylindrical body with a movable cover at the top opening for opening and closing protection of the inside of the body. A mounting clamp is fixedly installed on the upper outer side of the body for installation, fixation, and force transmission between the device and the drone. A multi-parameter water quality monitor is installed inside the body to detect five parameters of the collected water sample: water temperature, pH, dissolved oxygen, conductivity, and turbidity. A monitor limiter is installed on the outer periphery of the multi-parameter water quality monitor for spatial limitation and protective positioning. A water intake is provided at the bottom of the body for introducing external water and exchanging water samples. A base is fixedly installed at the bottom of the body to enhance the overall structural stability.

[0015] It is worth noting that the connection between the drone and the automatic water quality sampling device is not limited to the winch lifting mechanism. In addition to the winch lifting mechanism to achieve a liftable suspension connection, a rigid telescopic connection can be achieved through an electric telescopic rod mechanism, a spatial grasping connection can be achieved through a multi-degree-of-freedom robotic arm, or a modular disassembly and assembly connection can be achieved through a quick-release buckle connection structure. Thus, the assembly method can be flexibly selected according to different water environment conditions and mission requirements.

[0016] Optionally, this application also provides an unmanned aerial vehicle (UAV)-based automatic water quality sampling system 100, applied to an UAV-based automatic water quality sampling device, the UAV-based automatic water quality sampling system 100 comprising: The path planning module 101 acquires the monitoring task instruction; and generates the optimal set of sampling points and the UAV planning path corresponding to the monitoring task instruction by combining the preset water area basic information. The flight control module 102 controls the UAV to autonomously fly to the coordinates of each target sampling point in the optimal sampling point set according to the UAV's planned path, and controls the UAV to hover above the target sampling points through a combination of GPS positioning and visual-assisted positioning; at the same time, it collects flight altitude and environmental parameters in real time. The sampling control module 103 drives the hoisting mechanism to lower the automatic water quality sampling device to the sampling depth corresponding to the target sampling point. Once the water sample reaches a preset fixed volume in the automatic water quality sampling device, the hoisting mechanism is driven to rise and return to its original position. Water quality detection module 104 controls the water quality multi-parameter monitor to perform five-parameter in-situ detection on the water sample in the automatic water quality sampling device, and takes the detection value when the preset stable state is reached as the five-parameter in-situ detection result. The data transmission module 105 performs parameter correlation cross-validation and outlier removal on the five-parameter in-situ detection results to generate water quality evaluation results for each sampling point; it packages and encrypts the water quality evaluation results, target sampling point coordinates and sampling time, and transmits them to the ground monitoring center in real time through a preset communication component. Data management module 106: After receiving the packaged and encrypted result, the ground monitoring center verifies the packaged and encrypted result; it fills the verified packaged and encrypted result into the preset sample delivery form template to generate a sample delivery form, and transmits the sample delivery form synchronously to the water quality laboratory system and the connected business platform through the communication interface.

[0017] Optionally, the UAV-based automatic water quality sampling system may also include a return-to-home planning module, which controls the UAV to plan a return-to-home path based on the current remaining power and the spatial relationship between the remaining target sampling points in the UAV's planned path; and controls the UAV to arrive at the preset parking platform according to the return-to-home path to perform container cleaning and sensor calibration.

[0018] The drone-based automated water sampling system performs the following steps: S1: Obtain monitoring task instructions; combine preset water area basic information to generate the optimal set of sampling points and the UAV planning path corresponding to the monitoring task instructions; In one embodiment of this application, during actual operation, the system first receives monitoring task instructions from the UAV ground terminal, such as specifying a river section of approximately 3km × 1km. It then retrieves GIS geographic vector data (including regional elevation models, water system connectivity maps, etc.) and historical water quality records (including average and fluctuating values ​​of water temperature, pH, DO, conductivity, and turbidity over the past 30 days) from the water area basic information database. The system divides the area into approximately 50m × 50m grids and maps the historical water quality data to each grid cell using spatial indexing, forming a weighted sampling candidate set. This set is then filtered based on constraints of at least 95% coverage and no more than 80 sampling points per task. Simultaneously, it combines historical anomaly weighting to generate the optimal sampling point set and the corresponding UAV planning path.

[0019] It is worth noting that generating the UAV planning path includes: acquiring the spatial coordinate information of each target sampling point in the optimal sampling point set, and combining the geographical obstacle distribution data and no-fly zone boundary information in the water area basic information to model the navigable space constraints of the target water area, eliminating impassable areas from the candidate path space, and forming a navigable space grid structure. Each target sampling point is used as a path node, and path weights are assigned based on the Euclidean distance between nodes and a preset energy consumption model. The energy consumption model comprehensively considers flight distance, wind speed influence coefficient (e.g., 0-6 m / s corresponds to a 0-30% correction coefficient), and payload weight parameters, calculating the cost for different path segments. Subsequently, a path search strategy based on minimum cost accumulation is used to sequentially optimize and connect the nodes, generating the initial UAV flight path. The initial UAV flight path is then smoothed and optimized by constraining the turning angle of adjacent path nodes (e.g., the maximum turning angle does not exceed 45°) and pruning redundant path nodes to reduce energy consumption fluctuations caused by frequent flight attitude adjustments, thereby generating a UAV planning path that meets energy consumption and flight stability constraints.

[0020] It is worth noting that the energy consumption model is constructed using historical flight data and experimental calibration data as the modeling foundation. The historical flight data includes records of flight distance, altitude changes, hovering time, and battery consumption under different load conditions and environmental wind speed conditions. The UAV's energy consumption is divided into three basic components: horizontal cruise energy consumption, vertical takeoff and landing energy consumption, and hovering correction energy consumption. Corresponding parameter mapping relationships are established for each component. Horizontal cruise energy consumption is related to flight distance and wind speed correction coefficients; vertical takeoff and landing energy consumption is related to load mass and altitude; and hovering energy consumption is related to environmental disturbance intensity and attitude correction frequency. During the model training phase, data from different operating conditions are normalized, and the weight coefficients of each energy consumption component are determined through weighted regression, thereby constructing the UAV's energy consumption model.

[0021] S2: Control the UAV to autonomously fly to the coordinates of each target sampling point in the optimal sampling point set according to the UAV's planned path, and control the UAV to hover above the target sampling points through a combination of GPS positioning and visual-assisted positioning; at the same time, collect flight altitude and environmental parameters in real time; In a further embodiment, after takeoff, the UAV flies point-by-point along a planned path. Upon approaching the target sampling point, it uses GPS fusion positioning for coarse-to-fine positioning, with the RTK base station differential accuracy controlled within ±2cm. Simultaneously, a visual-assisted positioning unit is activated to identify and correct feature points on the water surface boundary and shoreline. When the horizontal deviation is less than 0.3m, it enters a hovering state. The flight altitude is controlled between 8m and 15m above the water surface, and real-time data on flight altitude, wind speed, illumination, and altitude stability are transmitted back.

[0022] S3: Drive the hoisting mechanism to lower the automatic water quality sampling device to the sampling depth corresponding to the target sampling point. After collecting a water sample of a preset fixed volume into the automatic water quality sampling device, drive the hoisting mechanism to return to its original position. In a further embodiment, after the drone hovers stably, the sampling device is driven to descend by a winch motor at a speed controlled between 0.3 m / s and 0.5 m / s. The sampling depth is set according to the target water depth, for example, between 2 m and 10 m. After reaching the set depth, the device is held for about 5 seconds to fill the water, ensuring that the sampling volume reaches the standard amount of 500 mL to 1000 mL. Then, the device is retrieved at the same speed and returned to the locked position under the drone.

[0023] S4: Control the water quality multi-parameter monitor to perform five-parameter in-situ detection on the water sample in the automatic water quality sampling device, and take the detection value when the preset stable state is reached as the five-parameter in-situ detection result; In a further embodiment, the water quality multi-parameter monitor enters the detection state after sampling is completed. It continuously collects five parameter data at a frequency of 1Hz within a 30-second time window and calculates the stability threshold (such as the coefficient of variation being less than 5%). When the stability condition is met for three consecutive windows, the median of the last window is taken as the final detection result to reduce the impact of instantaneous fluctuations on the results.

[0024] S5: Perform parameter correlation cross-validation and outlier removal on the in-situ detection results of the five parameters to generate water quality evaluation results for each sampling point; package and encrypt the water quality evaluation results, target sampling point coordinates and sampling time, and transmit them to the ground monitoring center in real time through the preset communication components; In a further embodiment, the results of the five parameters are first compared with a standard threshold library. For example, dissolved oxygen below 3 mg / L or pH outside the range of 6 to 9 is marked as an anomaly. Then, a second verification is performed based on the coupling relationship between the parameters. At the same time, an outlier detection method based on Grubbs test is used to remove outliers, and a sliding window (such as the average of 5 historical sampling points) is used to replace them. Finally, the processed results, along with the sampling time and coordinates, are compressed and encrypted (such as in AES-128 format) and uploaded to the ground station.

[0025] S6: After receiving the packaged and encrypted result, the ground monitoring center verifies the packaged and encrypted result; it fills the verified packaged and encrypted result into the preset sample delivery form template to generate a sample delivery form, and transmits the sample delivery form synchronously to the water quality laboratory system and the connected business platform through the communication interface.

[0026] In a further embodiment, after receiving the data packet uploaded by the UAV, the ground monitoring center first decrypts the data packet using the AES-128 key consistent with the data transmission module, and then uses the digital signature and SHA-256 message digest carried in the data packet for integrity verification. The digital signature confirms that the data originates from the automatic water quality sampling device performing this task, and the message digest verifies whether the data has been tampered with during transmission. When the digital signature verification is successful and the recalculated message digest matches the message digest in the data packet, the decrypted data is used as the data to be verified. Subsequently, the target sampling point coordinates, sampling time, water quality evaluation results, and automatic water quality sampling device number in the data to be verified are matched for consistency, and each item is checked against the task information generated by the path planning module. Specifically, the target sampling point coordinates are allowed a positioning deviation of no more than 3 meters; the sampling time should be within 5 minutes before or after the expected execution time of the corresponding target sampling point; the automatic water quality sampling device number should be consistent with the device number bound to this monitoring task; and each set of water quality evaluation results should uniquely correspond to one target sampling point. When all the above fields meet the preset sampling association rules, the data to be verified is deemed to have passed the verification and will be used as the data source for generating the sample delivery form and synchronously uploading it to the water quality laboratory system. If any field does not meet the association requirements, the corresponding data will be marked as abnormal data and a verification log will be recorded. After the data to be verified passes the consistency verification, the data management module will automatically call the pre-established sample delivery form filling template. The sample delivery form filling template is a uniformly defined data form structure, which includes at least the following fields: sample delivery form number, task number, automatic water quality sampling device number, target sampling point coordinates, sampling time, water quality evaluation result, water sample category, and submission status. The data management module will automatically fill the corresponding data into the corresponding positions in the template according to the field mapping relationship, and generate a unique sample delivery form number based on the sampling time and task number, thus completing the generation of the electronic sample delivery form. Subsequently, the generated sample delivery form will be encapsulated in XML or JSON format and synchronously sent to the water quality laboratory system through the communication interface, and simultaneously pushed to the business platform connected to it. The communication interface can use HTTPS or MQTT message interface, and the transmission timeout is set to 30 seconds. If the business platform returns a successful reception mark, the sample delivery status will be updated to "submitted for inspection". Otherwise, it will automatically retransmit every 10 seconds according to the preset retransmission mechanism. If it fails to retransmit after 3 consecutive retransmissions, a transmission error record will be generated and an alarm message will be sent to the ground monitoring center to ensure that the sample delivery information can be synchronized to the laboratory and related business systems in a timely and complete manner.

[0027] In another embodiment, the drone is controlled to assess energy consumption based on the remaining battery power (e.g., automatically triggering return to home when it is below 25%) and the remaining path distance. At the same time, the current wind speed correction model is used to select the return path and avoid high-risk water areas. Finally, the drone is controlled to return to the parking platform along the optimized path. After landing, it automatically enters the cleaning process and performs zero-point calibration and standard liquid calibration on the water quality sensor.

[0028] In another embodiment, after receiving a monitoring task from the ground monitoring center, the amphibious UAV first plans its flight route based on the target water area and a pre-generated set of target sampling points, and then quickly reaches the target sampling area using flight mode. When it is 50-100m away from the target sampling point, it switches from flight mode to low-altitude hovering mode, and corrects the target position using GNSS positioning, inertial navigation, and visual positioning. When the positioning error is less than 2m, the amphibious UAV is controlled to slowly descend to the water surface. After landing, the UAV automatically switches to water surface navigation mode, uses its propulsion device to drive the aircraft to the target sampling point, and continuously corrects its course based on satellite positioning and an electronic compass. When the drift distance is less than 0.3m, and the roll and pitch angles are both less than 5° and remain stable for more than 5s, the current sampling environment is determined to meet the sampling conditions. Subsequently, the automatic water quality sampling device is activated, and the movable cover opens automatically, allowing water to enter the tank through the intake port at the bottom. Once the water sample reaches the preset sampling volume (e.g., 500–1000 mL), the movable cover automatically closes to create a sealed space. A multi-parameter water quality monitor, located inside the tank, simultaneously performs in-situ measurements of water temperature, pH, dissolved oxygen, conductivity, and turbidity. If the coefficients of variation for all five parameters are below their corresponding stability thresholds for three consecutive time windows, the result from the last time window is taken as the final value, and the water quality assessment is completed. After the assessment, the system associates and encapsulates the sampling point coordinates, sampling time, water quality assessment results, and device number, and uploads this information to the ground monitoring center. If there are still uncompleted target sampling points, the amphibious drone continues to navigate along the water surface or switches back to flight mode to proceed to the next target sampling point. Once all sampling tasks are completed, the amphibious drone returns to the take-off and landing area according to the planned return path, completing the entire automatic sampling mission.

[0029] Of particular importance is the combination of GPS positioning and visual-assisted positioning, which includes: The global positioning coordinates output by the UAV's GPS positioning component are obtained, and the error of the global positioning coordinates is corrected by using RTK positioning determined by the carrier phase difference between the RTK base station and the UAV. In this embodiment, the UAV's GPS positioning component continuously outputs the current global positioning coordinates information at an update frequency of approximately 1Hz. Simultaneously, the RTK base station corrects the global positioning coordinates in real time using carrier phase differential, with the correction accuracy controlled at the centimeter level (approximately ±2cm), thereby obtaining a more accurate absolute position result, which is then used for preliminary flight trajectory correction, enabling the UAV to stably approach the target sampling point area.

[0030] It is worth noting that the error correction process is as follows: The RTK base station synchronously receives the original satellite carrier phase observations and constructs a differential observation dataset containing pseudorange and carrier phase observations, with the baseline distance between the base station and the UAV mobile terminal controlled within the range of 10km to 20km. Time synchronization processing is performed on the satellite observation data from the base station and the UAV, with the time synchronization error controlled within 20ms. Joint calculations are then performed on multiple satellites (usually no fewer than 6 effective satellites). By eliminating common error terms such as ionospheric delay, tropospheric error, and satellite clock bias, the carrier phase integer ambiguity resolution result is calculated, thus forming the differential correction. After the differential calculation is completed, the differential correction is fed back to the UAV's GPS positioning results in real time, performing cycle-by-cycle error correction on the original global positioning coordinates, bringing the horizontal positioning error to the centimeter level (approximately 1cm to 3cm) and the vertical error controlled within the range of 3cm to 5cm.

[0031] The system uses a visual-assisted positioning unit to acquire images of ground features in the current area, and performs feature point extraction and matching analysis on the images to identify stable visual references in order to construct local relative poses. In a further embodiment, the visual-assisted positioning unit is activated to continuously acquire images of the water area and shoreline area below the UAV at a sampling frame rate of approximately 10fps. Stable feature points, such as shoreline inflection points, fixed buildings, or buoys, are extracted from the images. The continuous frames are matched and calculated using a feature matching algorithm to form a local pose change relationship, thereby obtaining the local relative coordinate calculation result relative to the target area.

[0032] The error correction results of global positioning coordinates are combined with the regional coordinates calculated using local relative pose to obtain fused positioning results. Based on the fused positioning results, the UAV is controlled to hover above the target sampling point.

[0033] In a further embodiment, the RTK-corrected global positioning coordinates and the locally extrapolated coordinates obtained by visual-assisted positioning are fused using a weighted fusion method (e.g., GPS / RTK weight 0.6, visual positioning weight 0.4). The weight coefficients are dynamically adjusted according to the magnitude of the deviation between the two to generate the final fused positioning result. This fused coordinate is used as the control reference to enable the UAV to hover stably above the target sampling point, with the hovering height controlled within the range of approximately 8m to 15m.

[0034] Optionally, the optimal set of sampling points corresponding to the monitoring task instruction generated in the path planning module includes: Based on the monitoring task instructions, the target water area is analyzed, and the corresponding geographical information and historical water quality data of the target water area are extracted from the basic water area information. In this embodiment, the command is semantically parsed and spatially bounded according to the target water area set in the monitoring task instruction. The specific target water area can be determined by extracting the latitude and longitude polygon boundary or the starting and ending station information of the river section. The basic geographic data and historical water quality data of the corresponding area are retrieved from the water area basic information database constructed in advance based on historical surveying and mapping information and historical water quality detection information. The historical water quality data includes the statistical values ​​and fluctuation records of water temperature, pH, dissolved oxygen, conductivity and turbidity of each sampling point in recent period.

[0035] Spatial rasterization is performed on the geographic information of water areas, and historical water quality data is mapped and aggregated into the water area raster cells generated by the spatial rasterization process to generate water area raster aggregation cells. In a further embodiment, the geographic information of the target water area is spatially rasterized, and the grid is divided according to a spatial resolution of about fifty to one hundred meters. Historical water quality data is mapped to each grid cell according to the spatial index relationship to form a water area grid aggregation cell with water quality attribute labels. Each grid cell contains characteristic parameters such as the water quality mean, variance, and frequency of anomalies within the corresponding time window.

[0036] Select water grid aggregation units that simultaneously meet the target coverage and sampling density requirements in the monitoring task instructions as a set of candidate sampling points; In a further embodiment, all grid cells are screened according to the coverage constraints and sampling density constraints set in the monitoring task instruction. For example, the coverage rate is set to be no less than 90% and the number of sampling points in a single task does not exceed a fixed upper limit, thereby obtaining a set of candidate sampling points that meet the task constraints, and the grid center point is used as the initial sampling reference position.

[0037] Based on the spatial adjacency relationship between candidate sampling points in the candidate sampling point set and the similarity of historical water quality anomaly weights, clustering is performed to generate several candidate sampling clusters. Within each candidate sampling cluster, the grid center point with the largest historical water quality anomaly weight and the best spatial representativeness is selected as the target sampling point, thereby obtaining the optimal sampling point set.

[0038] In a further embodiment, an adjacency graph structure is constructed based on the spatial adjacency relationship between candidate sampling points and the similarity of historical water quality anomaly weights. A clustering method based on similarity propagation is used to divide the candidate sampling points into multiple candidate sampling clusters. Within each sampling cluster, the historical water quality anomaly weights and spatial representativeness indicators are comprehensively calculated. The grid center point with the largest historical water quality anomaly weight and the best spatial representativeness is selected as the target sampling point, thereby forming the final optimal sampling point set.

[0039] It is worth noting that the calculation method for historical water quality anomaly weights and spatial representativeness indicators includes: using the frequency, magnitude, and duration of water quality anomaly events within a historical time window for each grid cell as basic characteristics, such as setting standard threshold ranges for water temperature, pH, dissolved oxygen, conductivity, and turbidity. When a grid cell exceeds the standard threshold range more frequently and with greater deviations within a preset statistical period, it is assigned a higher anomaly weight, thus obtaining the historical water quality anomaly weight value for each grid cell. Simultaneously, based on the spatial distance between the grid cell and the geometric center of its candidate sampling cluster, and combined with the grid cell's topological connectivity within the cluster, a comprehensive calculation is performed. Smaller distances indicate stronger spatial coverage representativeness, while higher topological connectivity indicates a stronger ability to express the structure of surrounding grids. Spatial distance and topological connectivity are calculated according to preset weights (spatial distance 0.4, topological connectivity 0.6), and the result is the spatial representativeness indicator. It is worth noting that generating the optimal set of sampling points also includes generating the sampling depth corresponding to the target sampling points. Specifically, by combining the elevation model and water stratification feature data from the basic water information, a vertical profile analysis is performed on the target grid cells. When a thermal stratification or salinity gradient is detected, the sampling depth range is determined based on the temperature or conductivity gradient changes above and below the gradient interface. For example, the sampling depth is taken as approximately 1–2 meters above the water surface above the gradient, and as approximately 1–3 meters below the gradient interface below the gradient. If no obvious stratification structure exists, an adaptive value is taken based on the percentage of water depth, for example, any depth between 30% and 70% of the water depth is taken as the sampling depth. For deep lakes / reservoirs, a three-point sampling method (surface-thermocline-bottom layer) can be used to comprehensively reflect the vertical water quality differences of the water body.

[0040] Optionally, selecting target sampling points also includes: Based on the vertical gradient distribution of temperature and conductivity within the candidate sampling cluster, water grid aggregation units with thermal or saline stratification are identified, and these water grid aggregation units are used as stratified sampling units. In this embodiment, based on the vertical temperature and conductivity profile data in the historical water quality data corresponding to each water area grid aggregation unit within the candidate sampling cluster, the gradient value is calculated through adjacent depth differences. When the absolute value of the temperature gradient exceeds... Or the conductivity gradient exceeds When the raster is marked as having stratified features, and combined with the criterion that the consistency of gradient changes in three consecutive depth layers exceeds 0.7, it is confirmed that it belongs to the thermal stratification or salt stratification raster aggregation unit, and the unit is locked as a stratified sampling unit, outputting the corresponding spatial raster ID and its vertical structural parameters (such as the maximum gradient layer depth h=6.2m).

[0041] Based on the water body vertical temperature and conductivity distribution information pre-acquired by the stratified sampling unit, the location of the abrupt change interface is determined as the location of the stratified sampling unit's interlayer interface, and candidate sampling points are set above and below the location of the stratified sampling unit's interlayer interface. In a further embodiment, a continuous interpolation profile is constructed based on historical vertical temperature and conductivity profile data from the hierarchical sampling unit (using piecewise linear interpolation with a depth resolution of 0.25m). The point of maximum gradient abrupt change in the profile is searched as a candidate location for the interlayer interface. When the rate of change of the differential gradient between adjacent depths exceeds a set abrupt change threshold (e.g., ...), ... sudden increase or sudden increase When ), the corresponding depth The location has been identified as the interface between different levels. Candidate sampling points P1, P2, P3, and P4 were set up with an initial offset distance of ±0.5m above and below, and their corresponding water depth pressure values ​​(changing at intervals of approximately 0.05 MPa) were recorded.

[0042] It is worth noting that gradient values The temperature difference between two adjacent sampling depths divided by the depth difference is used to measure the temperature change per meter of water depth; similarly... It represents the rate of change of electrical conductivity with depth, and is used to reflect the intensity of salt or dissolved ion stratification.

[0043] Calculate the gradient response intensity above and below the corresponding step layer of the candidate sampling point and the degree of deviation from the water quality feature vector. Select the candidate sampling point with the smallest deviation from the water quality feature vector and the largest gradient response intensity as the target sampling point.

[0044] In a further embodiment, the local gradients at depths P1, P2, P3, and P4 are calculated a second time. The gradient response intensity is defined as the weighted value of the normalized gradient based on temperature and conductivity (temperature 0.6: conductivity 0.4). A water layer is identified as highly sensitive when the response intensity is ≥0.75. Simultaneously, a water quality feature vector is constructed. The deviation is calculated by Euclidean distance between the vector and the historical mean vector of the region. When a point among P1, P2, P3, and P4 satisfies " When the combined condition of "and the gradient response strength is the largest" is met, the point is determined as the target sampling point; if both conditions are met, the point with a gradient response strength 0.1 or higher and a depth closer to the center of the hopping layer is selected first, and the depth of that point is output as the target sampling depth.

[0045] Optionally, selecting target sampling points also includes: If the task type code of the parsed monitoring task instruction is an emergency task, the downstream water grid aggregation unit of the target water area corresponding to the emergency task is selected from the candidate sampling cluster as the first candidate pollution source sampling unit. In this embodiment, if the monitoring task instruction is parsed as an emergency type, the water flow direction topology data (constructed based on an elevation model and a water system connectivity graph, with nodes as grid cells and edges representing the direction of water flow) is called, and the downstream tracking calculation is performed in conjunction with the target water area bounding box (accuracy of approximately ±5m) stored by the UAV. The downstream water area grid aggregation unit is used as the first candidate pollution source sampling unit. Here, downstream refers to the subsequent grid set along the propagation path in the direction of water flow. The flow velocity parameter is time-converted according to the historical average flow velocity of 0.3-1.2m / s to determine the possible pollution diffusion area.

[0046] Select grid aggregation units within the target water area corresponding to the emergency task whose local relative elevation is lower than that of the surrounding water area or which contain multiple flow inflow points as the second pollution source sampling units; In a further embodiment, an elevation model is used to calculate the local relative height difference within the target water area corresponding to the emergency mission. ,in This represents the difference between the current raster elevation and the average elevation of its 8 neighbors. The area was identified as a localized low-lying convergence zone. Simultaneously, multi-directional confluence points were identified based on the water flow direction field (generated by the D8 flow direction model, with each grid cell allowing only a single main flow direction). Specifically, a grid cell was identified as a multi-directional confluence point when it was pointed to by ≥3 neighboring grid cells. Grid aggregation units in the water area identified as localized low-lying convergence zones or containing multi-directional confluence points were selected as second-type pollution candidate units.

[0047] The grid center point with the highest historical water quality anomaly weight and the highest spatial connectivity was selected from the first candidate pollution source sampling unit and the second pollution source sampling unit, respectively, as the target sampling point corresponding to the emergency task. In a further embodiment, a directed adjacency relationship is generated based on the DEM elevation data corresponding to the water area grid aggregation unit and a preset water flow direction model. The water flow direction model uses D8 direction encoding, assigning a single main flow direction or multiple flow direction probability value to each grid center point (a threshold of 0.3 is used as a flow splitting determination condition). Subsequently, a local connected graph is constructed using the grid center points in the directed adjacency relationship as nodes and the directed adjacency relationship as edges. The adjacency distance constraint is set to 8 adjacent neighboring grids (spatial spacing ≤ 10m), and this is combined with the elevation difference... As a criterion for determining the flowability of edges, reverse slope connectivity relationships are eliminated. Then, a spatial connectivity index is calculated for each grid center point. This index is obtained by weighting the in-degree connectivity (the number of effective water flow paths pointing to the node) and the out-degree connectivity (the number of downstream nodes reachable from the node), with an in-degree weight of 0.4 and an out-degree weight of 0.6, thus obtaining the spatial connectivity of each grid center point. Subsequently, the grid center points with the highest historical water quality anomaly weight and the highest spatial connectivity are selected from the first and second candidate pollution source sampling units, respectively, as the target sampling points corresponding to the emergency task.

[0048] The target sampling points corresponding to the emergency mission are organized into a graph structure to generate an emergency sampling network, and the UAV planning path corresponding to the emergency sampling network is dynamically planned.

[0049] In a further embodiment, the target sampling points corresponding to the emergency task are selected as preferred emergency sampling points. Then, all preferred points are abstracted as graph nodes, and edge relationships are established between nodes based on water flow direction, geographical distance (≤300m connection threshold), and consistency of flow direction, forming an emergency sampling network. Based on this graph, an improved Dijkstra strategy is used to dynamically generate the UAV planning path corresponding to the emergency sampling network.

[0050] Optionally, the five-parameter in-situ detection in the water quality testing module includes: The water quality multi-parameter monitor is controlled to detect the water temperature, pH, dissolved oxygen, conductivity and turbidity of the water sample in the automatic water quality sampling device at a preset sampling frequency within a preset time window, so as to obtain the parameter data sequence of the five parameters. In this embodiment, when the multi-parameter water quality monitor starts detection, it sets a time window within the stable zone of the water sample in the tank, for example, each window is 120 seconds, and the sampling frequency is set to 2Hz (i.e., 2 data samples per second) to continuously acquire time-series data of water temperature, pH, dissolved oxygen, conductivity, and turbidity, where the unit of water temperature is... pH is a dimensionless acid-base index, and dissolved oxygen is measured in units. conductivity unit Turbidity unit The multiple sampling results within each window are organized into sequence sets according to the parameters, thereby obtaining the parameter data sequence for each parameter.

[0051] The coefficient of variation of each parameter data sequence is calculated within each time window. When the coefficients of variation of the five parameters are all less than the corresponding parameter characteristic thresholds within three consecutive time windows, the parameter data sequence is determined to have reached a stable state. Further deliberation led to a fluctuation stability analysis of the parameter sequences within each time window. The coefficient of variation (CV) was calculated using the standard deviation / mean and was used to measure the strength of data fluctuations within that window. Corresponding stability thresholds were set for the five parameters, such as water temperature ≤ 0.5%, pH ≤ 0.3%, DO ≤ 2%, conductivity ≤ 1%, and turbidity ≤ 5%. When the CV of all parameters is lower than or equal to the corresponding threshold for three consecutive time windows, the water body is considered to have entered a stable sampling stage. This indicates that the sensor readings are no longer affected by transient disturbances and can be used to represent the true water body state.

[0052] The median of the detection values ​​within the last time window of each parameter data sequence is taken as the final detection value of the corresponding parameter, and the final detection value is taken as the in-situ detection result of the five parameters. In a further embodiment, once a stable state is determined, all sampled values ​​within the most recent time window are selected as the basic data, and the discrete measured values ​​within the window are sorted. The median is then taken as the final output value. The median is used to reduce the influence of occasional anomalies, such as bubble interference or short-term electromagnetic noise, thereby obtaining a more stable in-situ detection result of the five parameters, which is then output.

[0053] If the parameter data sequence fails to reach a stable state after the preset maximum waiting time, the current parameter data sequence is marked as not fully stable, and the current parameter data sequence is uploaded to the ground monitoring center.

[0054] In a further embodiment, if the parameter data sequence still has not reached a stable state after exceeding the preset maximum waiting time, for example, if the stability condition is not met after 180 to 300 seconds, it is determined that there is a continuous disturbance or a non-uniform state of the water body in this sampling process. At this time, the original sequence data of all current time windows are encapsulated and accompanied by timestamps, sampling frequency and sensor status information, and uploaded to the ground monitoring center through the wireless communication component.

[0055] Optionally, the parameter correlation cross-validation and outlier removal performed in the data transmission module include: The final detection values ​​of each parameter in the five-parameter in-situ detection results are screened against the reasonable range of preset parameters, and the final detection values ​​that exceed the reasonable range of parameters are marked as outliers. The numerical relationship between the final detected values ​​of each parameter is detected, and the corresponding final detected values ​​that do not meet the preset five-parameter correlation rules are marked as outliers; Outliers in the original parameter data sequence were identified and removed using the Grubbs test. The mean of the sliding time window of the corresponding detection values ​​in the original parameter data sequence was used as the stable value to replace the outliers, thus obtaining the five-parameter detection set to be evaluated.

[0056] In this embodiment, the final detected values ​​of each parameter in the five-parameter in-situ detection results are compared with the preset reasonable range of parameters. The reasonable range of parameters is derived from the historical water area statistical database (extracted from many years of monitoring data according to a 95% confidence interval, for example, pH approximately). Dissolved oxygen approximately When a parameter deviates from its reasonable range by more than approximately 10% of the tolerance band, it is initially identified as an outlier. Simultaneously, the final measured values ​​of each parameter are cross-validated using the five-parameter correlation rules (e.g., the negative correlation between water temperature and dissolved oxygen (DO), and the positive correlation between conductivity and turbidity). Inconsistencies are marked as outliers and require further verification. An outlier detection method is then used to verify the parameter data sequences that have been determined to have reached a stable state. The Grubbs test is used to identify single-point extreme deviations (significance level set at 0.05, corresponding to a critical value of approximately 2.1). If outliers still exist, they are simultaneously removed. Subsequently, a sliding window time series interpolation method is used to repair outliers, and the mean of the measured values ​​from three consecutive time windows after repair is used as the stable value to replace the outliers, resulting in the five-parameter measurement set to be evaluated.

[0057] Optionally, the water quality evaluation results generated for each sampling point in the data transmission module include: The five-parameter detection sets to be evaluated are merged from the same sampling point, and the data are divided into several time points according to the sampling time of the water sample; In this embodiment, the five-parameter detection results generated at the same sampling point at different sampling times are merged. For example, the water temperature, pH, dissolved oxygen, conductivity and turbidity data collected at the same location but at different times are uniformly summarized according to the unique number of the sampling point and GPS coordinates. The data are then divided into multiple time point data sets according to the sampling time interval, with the time interval controlled within the range of 30 minutes to 2 hours.

[0058] The time-point fusion weights are determined based on the reciprocal of the coefficient of variation of the data at each time point, the environmental parameters at the time of sampling, and the time difference between the sampling time and the current time. In a further embodiment, the reciprocal of the coefficient of variation for each time point is calculated as the basic stability weight. The coefficient of variation is calculated as the ratio of the standard deviation to the mean, and the reciprocal is used to increase the weight of more stable data. Simultaneously, environmental parameters at the time of sampling, such as water temperature variation range of 0–3℃, wind speed of 0–5 m / s, and water flow velocity level, are used for correction. A time difference attenuation factor is also introduced, for example, the weight decreases by approximately 5%–10% for every hour increase, thus forming a comprehensive time-point fusion weight. The formula for the time-point fusion weight is: ; In the formula, For the first The fusion weights of the next sampling, For the first The coefficient of variation of the subsample. For the first The degree of environmental impact of the second sampling For the first The time difference between the current sample and the current time , , , For the preset adjustment coefficient, where =0.45、 =0.30、 =0.15、 =0.10.

[0059] It is worth noting that the degree of environmental impact is a normalized value of wind speed and light intensity, which is to perform dimensionless processing of wind speed and light intensity separately and then weighted and combined. For example, it can be expressed as: Degree of environmental impact = 0.6 × normalized value of wind speed + 0.4 × normalized value of light intensity; where, when the measured wind speed at a certain moment is 4 m / s (corresponding to a normalized value of 0.67) and the light intensity is 600 lx (corresponding to a normalized value of 0.50), then the degree of environmental impact is calculated as: Degree of environmental impact = 0.6 × 0.67 + 0.4 × 0.50 = 0.602.

[0060] Based on the time-point fusion weight, the data at each time point are weighted and fused to generate the water quality evaluation results for the corresponding sampling points.

[0061] In a further embodiment, data collected at different times are weighted and fused according to the fusion weight of each time point, and the weighted mean of the five water quality parameters is calculated separately to reduce the impact of short-term abnormal fluctuations. In this way, more stable and time-representative water quality evaluation results can be obtained from the sampling points.

[0062] Optionally, the UAV-based automated water sampling system further includes: Before executing the flight control module, the water quality multi-parameter monitor is calibrated at multiple points using a preset standard solution, the calibration coefficient is recorded, and this calibration coefficient is used as the pre-sampling calibration coefficient. In this embodiment, before executing the flight control module, i.e., before the UAV starts its mission, the water quality multi-parameter monitor is first removed and placed in a standard solution calibration environment for multi-point calibration. For example, three standard buffer solutions with pH=4.00, pH=7.00, and pH=9.00 are used respectively, along with a known conductivity of approximately The standard solution was used to calibrate each channel point by point, with the sampling time controlled at about 30 to 60 seconds per point, and the corresponding output correction coefficient was recorded to form the pre-sampling calibration coefficient.

[0063] When the number of consecutive samplings at the target sampling point reaches the preset calibration number, the water quality multi-parameter monitor is calibrated at multiple points using standard solution, the calibration coefficient is recorded, and the calibration coefficient at this moment is used as the calibration coefficient in the sampling. In a further embodiment, during the task execution, after the UAV completes a certain number of samplings of the target water area, such as accumulating 10 to 15 target points or working continuously for more than 2 hours, the mid-term calibration process is automatically triggered. The water quality multi-parameter monitor is recalibrated using the same standard solution, and the changes in the calibration coefficients of each parameter are recorded to form the calibration coefficients during sampling.

[0064] The calibration coefficients before and during sampling are compared. Based on the comparison results, the sensor offset is identified. When the sensor offset exceeds the preset allowable range, the detection set of the five parameters to be evaluated is automatically marked as suspicious data, and a maintenance prompt is sent to the ground monitoring center.

[0065] In a further embodiment, the calibration coefficients before sampling and the calibration coefficients during sampling are compared and analyzed. For example, the drift amplitude of each parameter channel is calculated. When the pH channel drift exceeds ±0.1, the conductivity deviation exceeds ±3%, or the dissolved oxygen error exceeds... If the sensor is significantly deviated, the corresponding five-parameter detection results will be marked as suspicious data. At the same time, a maintenance prompt will be automatically sent to the ground monitoring center via the wireless communication module, such as prompting that the sensor needs to be recalibrated or replaced, in order to ensure the reliability of subsequent water quality detection data.

[0066] Optionally, the data management module verifies the packaged encryption result, including: Decrypt the encrypted package, verify the digital signature and message digest in the decryption result, and determine the decryption result that passes the digital signature verification and has a consistent message digest as the data to be verified. In this embodiment, after receiving the data packet uploaded by the UAV, the ground monitoring center first decrypts the data using the AES-128 key consistent with the data transmission module. Simultaneously, it verifies the data by calling the digital signature information and SHA-256 message digest uploaded with the data packet. The digital signature is primarily used to confirm that the data indeed originates from the automatic water quality sampling device performing this sampling task, while the message digest is used to determine whether the data content has been tampered with during transmission. If the digital signature verification is successful and the recalculated message digest matches the message digest carried in the data packet, the data packet is considered reliable and complete, and the parsed water quality evaluation results, sampling information, and equipment information are used as subsequent verification objects. If any verification fails, the data packet is directly marked as invalid data and an anomaly log is recorded.

[0067] The consistency of the correspondence between the target sampling point coordinate field, sampling time field, water quality evaluation result field and automatic water quality sampling device number field in the data to be verified is checked. When all fields meet the preset sampling association rules, the data to be verified is determined to pass the verification.

[0068] In a further embodiment, the parsed data is sequentially read from the target sampling point coordinate field, sampling time field, water quality evaluation result field, and automatic water quality sampling device number field, and matched item by item with the task information generated by the path planning module before the start of this task. The coordinates are allowed to have a positional deviation of no more than 3 meters; the sampling time should be within 5 minutes before or after the expected arrival time of the corresponding target sampling point; the automatic water quality sampling device number should be consistent with the device number bound to this task; and each set of water quality evaluation results should uniquely correspond to one target sampling point. When all fields meet the corresponding relationship, the sampling data is determined to have passed the consistency check; otherwise, an anomaly flag is generated and manual review is required.

[0069] It is worth noting that the sampling association rules are used to ensure that each sample data can uniquely correspond to an actual sampling action. These rules mainly include four parts: spatial association, temporal association, device association, and result association. Specifically, spatial association requires that the coordinates of the target sampling point be within the allowable error range of the target sampling point corresponding to the planned path of this monitoring task; temporal association requires that the sampling time form a continuous time series according to the UAV's planned path, and that the sampling time interval between adjacent sampling points match the flight time and sampling time, without allowing time reversal or exceeding the preset execution window; device association requires that the automatic water quality sampling device number, UAV number, and task number maintain a unique binding relationship, and that device switching is not allowed during the same task; and result association requires that each set of water quality evaluation results corresponds to a unique target sampling point coordinate and sampling time, and that a one-to-one mapping relationship be established with the sample delivery slip number, thereby ensuring that the sampling data, device information, and business data remain consistent throughout the entire sampling, testing, transmission, and delivery process.

[0070] Optionally, the return route planned in the return planning module includes: Obtain the drone's current remaining battery power, the drone's current location coordinates, and the geographical location of the preset landing platform; In this embodiment, the current remaining battery power, current location coordinates, and geographical location information of the preset parking platform are acquired in real time. The battery power data is usually updated as a percentage with an update cycle of about 1 second to reflect the flight energy status. At the same time, the spatial coordinates of the current location with an accuracy of about ±2cm are obtained through GPS / RTK fusion positioning, and spatial consistency matching is performed with the fixed coordinates of the parking platform.

[0071] The accessibility of the drone's path is assessed based on the drone's current location coordinates and the geographical location of the landing platform. Combined with the spatial distribution of the remaining target sampling points, the original drone's planned path is backtracked and reconstructed, path nodes that exceed energy consumption limits are eliminated, and a set of return candidate paths is constructed. In a further embodiment, path reachability is evaluated based on the spatial Euclidean distance between the current location of the UAV and the landing platform and the current wind speed correction factor (e.g., 0-6 m / s corresponds to an energy consumption correction of 0-30%). When the base energy consumption after converting the path's Euclidean distance exceeds 85% of the current remaining power, the path is determined to be in a critical unreachable state and will no longer be considered as a preferred path in subsequent calculations. At the same time, the wind speed correction factor is linearly mapped from 0-6 m / s to an energy consumption amplification range of 1.0-1.3. When the corrected equivalent energy consumption exceeds 90% of the remaining power, it is also determined to be in an unreachable state. Based on the spatial distribution density of the remaining uncompleted sampling points (e.g., when the number of sampling points in a unit area is greater than or equal to 5, it is determined to be a high-density priority retention area), the original UAV planned path is backtracked and reconstructed. Path nodes that meet the following conditions are retained: energy consumption ratio is less than 80% of the remaining power and they are located in the high-density priority retention area. At the same time, the path reachability after the sampling task is not determined to be in a critical unreachable state or an unreachable state. Path nodes that do not have enough power to support flight to the parking platform are removed, thus forming a set of multiple feasible return candidate paths.

[0072] The path with the lowest estimated energy consumption and the least environmental impact is selected from the set of candidate return paths as the return path.

[0073] In a further embodiment, energy consumption and environmental impact assessments are performed on each path in the set of candidate return paths. The energy consumption model comprehensively considers path length, climb altitude variation, and wind speed factors. The environmental impact is calculated based on spatial propagation mapping of environmental parameters at sampled points. The comprehensive cost of each path segment is calculated, and the path with the lowest comprehensive energy consumption and the lowest environmental impact is finally selected as the return path. The UAV is then controlled to return to the preset parking platform along this path to complete the automatic landing and equipment maintenance process.

[0074] Of particular importance are the environmental impact assessment methods, which include: Extract environmental parameters collected by the UAV at the sampled target sampling points; establish a propagation mapping relationship based on the positional relationship between the sampled target sampling points and each path node in the return candidate path set; In this embodiment, environmental parameters such as wind speed and illumination at the time of sampling are first extracted from the target points already sampled by the UAV. The data sampling period is 1Hz, and the median value within a stable window is taken as the representative environmental feature for each sampling point. A propagation mapping relationship is constructed based on the spatial positional relationship between the sampled target points and each path node in the return candidate path. For example, a spatial adjacency graph structure is established with an influence radius of 100m. When a path node is within the influence range of the sampled point, a one-to-one or one-to-many mapping relationship is established. At the same time, the mapping direction is weighted and corrected by combining airflow direction information (e.g., the local airflow direction calculated by combining the UAV's real-time IMU attitude data with wind speed vector decomposition) to make the propagation direction more consistent with the actual water diffusion trend.

[0075] Based on the elevation model in the basic water information and referring to the environmental parameters of the sampled target points, the environmental parameters of the path nodes that have established a propagation mapping relationship with the sampled target points are calculated, so as to obtain the predicted environmental parameters of the path nodes. In a further embodiment, the elevation model (DEM) in the water area basic information is invoked. The terrain slope is calculated based on the elevation difference between adjacent sampling points, and a terrain undulation influence factor is constructed according to the slope change. A larger slope indicates more significant terrain undulation, thereby correcting the disturbance to the near-ground wind speed distribution and obtaining the wind speed change trend between sampling points. Simultaneously, the acquired solar altitude angle parameter is combined with the terrain shading relationship determined according to the elevation model to attenuate and correct the local illumination intensity, characterizing the illumination change trend between different sampling points. The environmental parameters of the sampled target sampling points are used as boundary input conditions, and propagation is calculated using a preset diffusion attenuation model. Within a 50m spatial propagation distance, the parameter attenuation coefficient is set to 0.85–0.95. The attenuation coefficient is dynamically corrected according to the slope of the wind speed change trend and the slope of the illumination attenuation trend to obtain the wind speed attenuation coefficient and the illumination attenuation coefficient. The wind speed attenuation coefficient and the illumination attenuation coefficient are multiplied by the known environmental parameters to obtain the predicted environmental parameters for each path node. These predicted environmental parameters include predicted wind speed values ​​and predicted illumination intensity values.

[0076] Analyze the degree of environmental impact based on predicted environmental parameters from path nodes.

[0077] In a further embodiment, the degree of environmental impact is calculated based on the predicted environmental parameters of each path node, namely the normalized values ​​of wind speed and illumination.

[0078] In another embodiment, a municipal ecological environment bureau needs to conduct monthly water quality inspections of a deep lake within its jurisdiction. Monitoring personnel issue tasks through a ground monitoring center: covering the lake's inlet area, central area, outlet area, drinking water intake, and two historical pollution risk points, totaling six sampling points; collecting two water samples at each sampling point—one from the surface (0.5m) and one from the bottom (1m below the bottom); detecting five parameters and transmitting data back in real time. The system generates the optimal flight path based on the lake's topographic map and the distribution of sampling points. After takeoff, the drone arrives at each sampling point sequentially, hovering, descending to collect samples, sealing the container, and initiating detection at each point. Taking the surface sampling in the central area as an example: after the sensor is activated, the water temperature stabilizes within 20 seconds (CV < 0.5%), pH stabilizes within 45 seconds (CV < 0.3%), DO stabilizes within 80 seconds (CV < 2%), conductivity stabilizes within 30 seconds (CV < 1%), and turbidity stabilizes within 60 seconds (CV < 5%). After the system waited for all parameters to stabilize (80 seconds), it recorded the final data. Quality control verification showed that all parameters were within reasonable ranges, and the water temperature-dissolved oxygen (DO) relationship conformed to empirical negative correlation; the data quality was marked as "excellent." After completing the testing of all 12 water samples (6 points × 2 layers), the drone returned to base. All data was transmitted back to the monitoring center in real time, and the system automatically generated a spatial distribution map of the water quality, showing that the DO in the lake center area was slightly higher than that in the inlet area, and the conductivity of the bottom layer was slightly higher than that of the surface layer, indicating that the overall water quality was good.

[0079] Therefore, the embodiments should be considered as exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of the equivalents of the application are intended to be included within the invention.

[0080] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features of the invention herein.

Claims

1. An automated water quality sampling device based on an unmanned aerial vehicle (UAV), characterized in that, For use with drones, the automatic water quality sampling device can be lifted and connected to the drone via a winch lifting mechanism; the automatic water quality sampling device includes a vertically hollow cylindrical body, a movable cover plate installed at the top opening of the body, a mounting clamp fixedly installed on the upper outer side of the body, a water quality multi-parameter monitor installed inside the body, a monitor limiter set on the outer periphery of the water quality multi-parameter monitor, a water intake in the bottom area of ​​the body, and a base fixedly installed at the bottom of the body.

2. An unmanned aerial vehicle (UAV) based automatic water quality sampling system, comprising: Applied to the UAV-based automatic water quality sampling device as described in claim 1, the UAV-based automatic water quality sampling system comprises: The path planning module acquires monitoring task instructions and generates the optimal set of sampling points and the UAV planning path corresponding to the monitoring task instructions by combining preset water area basic information. The flight control module controls the UAV to autonomously fly to the coordinates of each target sampling point in the optimal sampling point set according to the UAV's planned path, and controls the UAV to hover above the target sampling points through a combination of GPS positioning and visual-assisted positioning; at the same time, it collects flight altitude and environmental parameters in real time. The sampling control module drives the hoisting mechanism to lower the automatic water quality sampling device to the sampling depth corresponding to the target sampling point. Once a water sample of a preset fixed volume is collected into the automatic water quality sampling device, the hoisting mechanism is driven to rise back to its original position. The water quality testing module controls the multi-parameter water quality monitor to perform five-parameter in-situ testing on water samples from the automatic water quality sampling device, and takes the test value when the preset stable state is reached as the five-parameter in-situ test result. The data transmission module performs parameter correlation cross-validation and outlier removal on the five-parameter in-situ detection results, and generates water quality evaluation results for each sampling point; it packages and encrypts the water quality evaluation results, target sampling point coordinates and sampling time, and transmits them to the ground monitoring center in real time through a preset communication component; In the data management module, after the ground monitoring center receives the packaged and encrypted results, it verifies the packaged and encrypted results; it fills the verified packaged and encrypted results into the preset sample delivery form template to generate a sample delivery form, and then transmits the sample delivery form synchronously to the water quality laboratory system and the connected business platform through the communication interface.

3. The unmanned aerial vehicle based automatic water quality sampling system of claim 2, wherein, The optimal set of sampling points generated in the path planning module corresponding to the monitoring task instructions includes: Based on the monitoring task instructions, the target water area is analyzed, and the corresponding geographical information and historical water quality data of the target water area are extracted from the basic water area information. Spatial rasterization is performed on the geographic information of water areas, and historical water quality data is mapped and aggregated into the water area raster cells generated by the spatial rasterization process to generate water area raster aggregation cells. Select water grid aggregation units that simultaneously meet the target coverage and sampling density requirements in the monitoring task instructions as a set of candidate sampling points; Based on the spatial adjacency relationship between candidate sampling points in the candidate sampling point set and the similarity of historical water quality anomaly weights, clustering is performed to generate several candidate sampling clusters. Within each candidate sampling cluster, the grid center point with the largest historical water quality anomaly weight and the best spatial representativeness is selected as the target sampling point, thereby obtaining the optimal sampling point set.

4. The unmanned aerial vehicle based automatic water quality sampling system of claim 3, wherein, Selecting target sampling points also includes: Based on the vertical gradient distribution of temperature and conductivity within the candidate sampling cluster, water grid aggregation units with thermal or saline stratification are identified, and these water grid aggregation units are used as stratified sampling units. Based on the water body vertical temperature and conductivity distribution information pre-acquired by the stratified sampling unit, the location of the abrupt change interface is determined as the location of the stratified sampling unit's interlayer interface, and candidate sampling points are set above and below the location of the stratified sampling unit's interlayer interface. Calculate the gradient response intensity above and below the corresponding step layer of the candidate sampling point and the degree of deviation from the water quality feature vector. Select the candidate sampling point with the smallest deviation from the water quality feature vector and the largest gradient response intensity as the target sampling point.

5. The UAV-based automatic water sampling system of claim 3, wherein, Selecting target sampling points also includes: If the task type code of the parsed monitoring task instruction is an emergency task, the downstream water grid aggregation unit of the target water area corresponding to the emergency task is selected from the candidate sampling cluster as the first candidate pollution source sampling unit. Select grid aggregation units within the target water area corresponding to the emergency task whose local relative elevation is lower than that of the surrounding water area or which contain multiple flow inflow points as the second pollution source sampling units; The grid center point with the highest historical water quality anomaly weight and the highest spatial connectivity was selected from the first candidate pollution source sampling unit and the second pollution source sampling unit, respectively, as the target sampling point corresponding to the emergency task. The target sampling points corresponding to the emergency mission are organized into a graph structure to generate an emergency sampling network, and the UAV planning path corresponding to the emergency sampling network is dynamically planned.

6. The UAV-based automatic water quality sampling system of claim 1, wherein, The five-parameter in-situ detection in the water quality testing module includes: The water quality multi-parameter monitor is controlled to detect the water temperature, pH, dissolved oxygen, conductivity and turbidity of the water sample in the automatic water quality sampling device at a preset sampling frequency within a preset time window, so as to obtain the parameter data sequence of the five parameters. The coefficient of variation of each parameter data sequence is calculated within each time window. When the coefficients of variation of the five parameters are all less than the corresponding parameter characteristic thresholds within three consecutive time windows, the parameter data sequence is determined to have reached a stable state. The median of the detection values ​​within the last time window of each parameter data sequence is taken as the final detection value of the corresponding parameter, and the final detection value is taken as the in-situ detection result of the five parameters. If the parameter data sequence fails to reach a stable state after the preset maximum waiting time, the current parameter data sequence is marked as not fully stable, and the current parameter data sequence is uploaded to the ground monitoring center.

7. The UAV-based automatic water sampling system of claim 1, wherein, The data transmission module performs parameter correlation cross-validation and outlier removal, including: The final detection values ​​of each parameter in the five-parameter in-situ detection results are screened against the reasonable range of preset parameters, and the final detection values ​​that exceed the reasonable range of parameters are marked as outliers. The numerical relationship between the final detected values ​​of each parameter is detected, and the corresponding final detected values ​​that do not meet the preset five-parameter correlation rules are marked as outliers; Outliers in the original parameter data sequence were identified and removed using the Grubbs test. The mean of the sliding time window of the corresponding detection values ​​in the original parameter data sequence was used as the stable value to replace the outliers, thus obtaining the five-parameter detection set to be evaluated.

8. The UAV-based automatic water quality sampling system of claim 1, wherein, The water quality assessment results generated for each sampling point in the data transmission module include: The five-parameter detection sets to be evaluated are merged from the same sampling point, and the data are divided into several time points according to the sampling time of the water sample; The time-point fusion weights are determined based on the reciprocal of the coefficient of variation of the data at each time point, the environmental parameters at the time of sampling, and the time difference between the sampling time and the current time. Based on the time-point fusion weight, the data at each time point are weighted and fused to generate the water quality evaluation results for the corresponding sampling points.

9. The drone-based automatic water quality sampling system of claim 1, wherein, The drone-based automated water sampling system also includes: Before executing the flight control module, the water quality multi-parameter monitor is calibrated at multiple points using a preset standard solution, the calibration coefficient is recorded, and this calibration coefficient is used as the pre-sampling calibration coefficient. When the number of consecutive samplings at the target sampling point reaches the preset calibration number, the water quality multi-parameter monitor is calibrated at multiple points using standard solution, the calibration coefficient is recorded, and the calibration coefficient at this moment is used as the calibration coefficient in the sampling. The calibration coefficients before and during sampling are compared. Based on the comparison results, the sensor offset is identified. When the sensor offset exceeds the preset allowable range, the detection set of the five parameters to be evaluated is automatically marked as suspicious data, and a maintenance prompt is sent to the ground monitoring center.

10. The unmanned aerial vehicle based automatic water quality sampling system of claim 1, wherein, The data management module verifies the packaged encryption results, including: Decrypt the encrypted package, verify the digital signature and message digest in the decryption result, and determine the decryption result that passes the digital signature verification and has a consistent message digest as the data to be verified. The consistency of the correspondence between the target sampling point coordinate field, sampling time field, water quality evaluation result field and automatic water quality sampling device number field in the data to be verified is checked. When all fields meet the preset sampling association rules, the data to be verified is determined to pass the verification.